@charset "utf-8";
/* CSS Document */

/* ==========================================================
 
     !SP

========================================================== */

#gnav { margin: 70px 0 0; }

#wrapper {
    flex-direction: column-reverse;
}

main section:not(:last-child) { margin: 0 0 50px; }

h1#page_title {
    padding: 50px 0;
    font-weight: bold;
    text-align: center;
    background: #fbe7eb;
    color: #da143c;
}

/* !side
---------------------------------------------------------- */

aside nav h1 {
    position: relative;
    font-size: 1.8rem;
    padding: 15px;
    border-top: none;
    border-bottom: 2px solid #fff; 
    margin: 0;
    color: #fff;
    background: #da143c;
}

aside nav h1:before {
    position: absolute;
    content: " ";
    display: block;
    border-top: none;
    border-bottom: 2px solid #da143c;
    bottom: -4px;
    left: 0;
    width: 100%;
}

aside nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 2px solid #da143c;
}

aside nav ul li {
    width: 47%;
    font-size: 1.4rem;
    display:flex;
    align-items: center;
    border-bottom: dotted 1px #dbdbdb;
}

aside nav ul li:last-child,
aside nav ul li:nth-child(2n+1):nth-last-child(2) {
    border-bottom: none;
}

aside nav ul li:only-of-type { width: 100%; }

aside nav ul li a {
    display:block;
    width:100%;
    padding:15px 15px 15px 30px;
    position:relative;
    background: url(../images/common/icn_gray.png) no-repeat 15px center / 0.4em auto;
}

aside nav ul li a:link,
aside nav ul li a:visited {
    color: #3c3b56;
    text-decoration: none;
}

aside nav ul li a:hover,
aside nav ul li a:active { text-decoration: underline; }

/* !main
---------------------------------------------------------- */

main p + p {
    margin-top: 20px; 
}

/* !table */

table {
    width: 100%;
    border-top: 1px solid #f0f0f0;
}

table th, table td {
    display: block;
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #f0f0f0;
    border-top: none;
}

table th {
    background: #f0f0f0;
    border-bottom: 1px solid #fff;
    white-space: nowrap;
}

/* !gmaps */

.gmap {
    position: relative;
    width: 100%;    /* 左右に余白が必要なら値を変更してもOK */
    height: 0;
    padding-bottom: 56.25%;    /* padding-topでもOK */
    overflow: hidden;
}
.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    /* 必要であれば!importantを付けてください */
    height: 100%;    /* 必要であれば!importantを付けてください */
}

/* !form */

input, select, textarea {
    width: 100%;
    font-family : inherit;
    font-size : 100%;
    padding: 3px 5px;
    color: #3c3b56;
    border: 1px solid #dbdbdb;
}

textarea {
    height: 10rem;
}

form th span {
    font-size: 1rem;
    padding:2px 7px;
    margin-left: 10px;
    background: #da143c;
    color: #fff;
}

p.submit input {
    width: 100%;
    padding: 10px;
    color: #fff;
    background: #da143c;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

p.submit input:hover {
	background: #c90534;
}

p.back input {
    width: 100%;
    padding: 10px;
    color: #3c3b56;
    background: #dbdbdb;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

p.back input:hover {
	background: #ccc;
}

/* !link */

a.btn {
    display: block;
    text-align: center;
    padding: 10px;
    color: #fff;
    background: #da143c;
    border-radius: 50px;
    text-decoration: none;
}

a.btn:hover {
	background: #c90534;
}

a.link_icn {
    padding-left: 15px;
    background: url(../images/common/icn_gray.png) no-repeat left center / 0.4em auto;
}

a.link_icn:link,
a.link_icn:visited {
    color: #3c3b56;
    text-decoration: underline;
}

a.link_icn:hover,
a.link_icn:active { text-decoration: none; }

/* !ol */

main ol{
    padding-left: 1.2em;
    counter-reset: list_count;
}
main ol li {
    list-style: decimal;
    margin-bottom: 5px;
}

/* ==========================================================
     !company
========================================================== */

img.securityaction {
    width: 30%;
    max-width: 154px;
    padding-top: 10px;
}

/* ==========================================================
     !news
========================================================== */

body.news article:not(:last-child) { margin: 0 0 50px; }

body.news article h1 { margin-bottom: 5px; }

body.news article time {
    display: block;
    text-align: right;
    margin: 0 0 30px;
}
body.news article time:last-child { margin: 0; }

/* ==========================================================
     !contact
========================================================== */

body.contact #tel p {
    text-align: center;
}

body.contact input.zipcord {
    width: 8em;
    margin-bottom: 10px;
}

body.contact #tel p.tel_number {
    font-size: 2.6rem;
    font-weight: bold;
    color: #da143c;
}

body.contact #tel p.tel_number a {
    text-decoration: none;
}

input[type="submit"] {
  -webkit-appearance: none;
}

/* ==========================================================
     !link
========================================================== */

body.link section dl {
    padding: 20px 0;
    border-bottom: dotted 1px #dbdbdb;
}

body.link section dl:first-of-type { padding: 0 0 20px; }

body.link section dd { padding: 0 20px; }
body.link section dd + dd { padding: 10px 20px 0; }

body.link section dt {
    width:100%;
    font-size: 1.8rem;
    padding-left: 20px;
    margin: 0 0 5px;
    background: url(../images/common/icn_gray.png) no-repeat 5px center / 0.4em auto;
}

body.link section dd a {
    word-break: break-all;
}

body.link section dd a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f35d';
    padding-left: 7px;
}

/* ==========================================================
     !sitemap
========================================================== */

body.sitemap section li {
    padding: 20px 0;
    border-bottom: dotted 1px #dbdbdb;
}

body.sitemap section li:first-of-type { padding: 0 0 20px; }

body.sitemap section li a {
    font-size: 1.8rem;
    padding-left: 20px;
    margin: 0 0 5px;
    background: url(../images/common/icn_gray.png) no-repeat 5px center / 0.4em auto;
}

body.sitemap section li a + a { margin: 0 0 0 20px; }

body.sitemap section li p {
    margin: 0 0 5px;
    color: #da143c;
}

body.sitemap section li a:link,
body.sitemap section li a:visited {
    color: #3c3b56;
    text-decoration: none;
}

body.sitemap section li a:hover,
body.sitemap section li a:active { text-decoration: underline; }


/* ==========================================================
 
     !PC

========================================================== */

@media only print, screen and (min-width: 769px) {
    
/* !header
---------------------------------------------------------- */    

header {
    position: relative;
	height: 80px;
    z-index: 50;
    background : none;
    box-shadow: none;
	-webkit-box-shadow:  none;
	-moz-box-shadow:  none;
}

header h1 {
    width: 150px;
    margin: 15px 0 0 20px;
}

    
header div.connect { width: 540px; }
    
header div.tel,
header a.mail {
    float: left;
    width:250px;
}

header a.mail {
    margin: 22px 20px 0;
    }
    
#gnav { margin: 0; }
    
#wrapper {
    width:90%;
    max-width: 1000px;
    margin: 0 auto;
    flex-direction : row;
    justify-content: space-between;
}

/* !main
---------------------------------------------------------- */

main {
    width: 70%;
    margin: 0;
}
    
/* !table */

table th, table td {
    display: table-cell;
    width: auto;
    padding: 15px 25px;
}
    
/* !form */

input, select, textarea {
    max-width: 30rem;
    font-family : inherit;
    font-size : 100%;
    padding: 3px 5px;
}

textarea {
    max-width: 40rem;
    height: 15rem;
}
    
p.submit {
    width: 40%;
    margin: 0 auto;
}
    
p.back {
    width: 40%;
    margin: 0 auto;
}

p.submit.confirm {
    float: left;
    margin-left: 6%;
}
    
p.back {
    width: 40%;
    margin: 0 auto;
}

p.back.confirm {
    float: right;
    margin-right: 6%;
}

/* !link */
    
a.btn {
    width: 40%;
    margin: 0 auto;
}
    
/* ==========================================================
     !contact
========================================================== */

body.contact form th { width: 15em; }
    
body.contact #tel p.tel_number { font-size: 3rem; }

/* !side
---------------------------------------------------------- */

aside {
    width: 25%;
    margin: 0;
}

aside nav h1 {
    font-size: 1.6rem;
    padding: 10px 15px;
}
aside nav ul li { width: 100%;}
    
aside nav ul li:nth-child(2n+1):nth-last-child(2) {
    border-bottom: dotted 1px #dbdbdb;
}
    
}
