.menu {
    position: relative;
    width: 100%;
    height: 50px;
    max-width: 1000px;
    margin: 0 auto;
}


.header nav ul.menu li > a {
display: block;
width: 100%;
height: 100%;
padding: 15px;
}

.menu > li > a {
    display: block;
    color: #fff;
    border-bottom: #FFF solid 5px;
}

.menu > li a:hover {
    color: #999;
    border-bottom: #b59175 solid 5px;
}

li.menu__mega div {
    visibility: hidden;
    opacity: 0;
    z-index: 10000000000;
}







li.menu__mega div {
    position:  absolute;
    top: 98px;
    left: 0;
    right: 0;
    width: 100%;
    background-color:rgba(39,77,134,0.9);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__mega:hover div {
    top: 98px;
    visibility: visible;
    opacity: 1;
    padding: 20px 0;
}



li.menu__mega ul.menu__second-level {
width: 1280px;
margin: 0 auto;
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
gap: 20px;

}


li.menu__mega ul.menu__second-level li {
/*width: 300px;*/
margin: 0;
width: 30%;
}

li.menu__mega ul.menu__second-level li a {
padding: 0;
text-align: center;
color: #FFF;
border: 1px solid #c5c5c5;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 60px;
}



li.menu__mega ul.menu__second-level li a:hover {
background: rgba(0,0,0,0.5);
}




.hamburger-demo-menulist.nav-links a {
display: flex;
align-items: center;
height: 80px;
}

.sp_menu_li {
display: none;
}








/* ウィンドウ幅が0〜959pxの場合に適用するCSS */
@media screen and ( max-width:959px )
{


/*
SPMENU*/


.header nav ul.spmenu {
display: block;
}


.spmenu {
    position: relative;
    width: 100%;
/*    height: 50px;*/
/*    max-width: 1000px;*/
    margin: 0 auto;
    margin-top: 50px;
}



.sp_menu_li {
display: block;
}



.header nav ul.spmenu a,.header nav ul.spmenu label {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.0;
    color: #000;
    padding: 21px 25px 21px 30px;
}

.header nav ul.spmenu .menu__second-level {
display: block;
}

.header nav ul.spmenu .menu__second-level a {
font-weight: normal;
font-size: 1.4rem;
padding: 15px 15px 15px 30px;
}

.toggle {
display: none;
}
.option {
position: relative;
margin-bottom: 1em;
}
label.labellist,
.content {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
transition: all 0.3s;
}
label.labellist {
display: block;
}

.content {
max-height: 0;
overflow: hidden;
}

.toggle:checked + label.labellist + .content {
max-height: 500px;
transition: all 1.5s;
}
.toggle:checked + label.labellist::before {
transform: rotate(90deg) !important;
}




 
label.labellist:after {
   content: "";
   position: absolute;
   top: calc(10px + .5em);
   left: .4em;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
   width: 5px;
   height: 5px;
   border-top: 1px solid #fff;
   border-right: 1px solid #fff;

  }
.toggle:checked + label.labellist::after {
   -webkit-transform: rotate(135deg);
   -ms-transform: rotate(135deg);
   transform: rotate(135deg);
  top: calc(10px + .4em);
  left: .5em;
}




.header nav ul {
display: block;
}



.header__contactus--list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: stretch;
margin-top: 20px;
position: relative;
}

.header__contactus--list li {
display: flex;
justify-content: flex-start;
align-items: center;
width: 100%;
border: 1px solid #c5c5c5;
line-height: 1.4;
position: relative;
margin-bottom: 10px;
text-align: center;
}
.header__contactus--list li a {
padding: 18px;
    display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
    height: 100%;
    width: 100%;
    
}



.header nav .header__contactus--list li a {
line-height: 1.2;
}


.header__contactus--list li:nth-of-type(1) strong {
display: block;
font-size: 3.4rem;
font-weight: bold;
color: #d53615;
line-height: 1.2;

}

.header__contactus--list li:nth-of-type(1) strong::before {
content: "";
display: inline-flex;
background: url("../images/icon-freedial.png");
background-size: 100%;
margin-right: 5px;
width: 41px;
height: 27px;
}



.header__contactus--list li:nth-of-type(2) strong {
display: block;
font-size: 2.0rem;
font-weight: bold;
color: #397250;
line-height: 1.8;

}

.header__contactus--list li:nth-of-type(2) strong::before {
content: "";
display: inline-flex;
background: url("../images/icon-mail.png");
background-size: 100%;
margin-right: 5px;
width: 40px;
height: 40px;
    vertical-align: middle;

}


/*

.header__contactus--list li:nth-of-type(2)::before {
    margin: auto;
    content: "";
    vertical-align: middle;
position: absolute;
    top: 0;
    bottom: 0;
right: 20px;
    width: 30px;
    height: 30px;
    border-top: 1px solid #C5C5C5;
    border-right: 1px solid #C5C5C5;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
*/







.menu__mega {
display: none;
}


.hamburger-demo-menulist.nav-links a,label.labellist {
    display: flex
;
    align-items: center;
    height: 50px;
    color: #FFF;
    padding: 0;
    padding-left: 30px;
}


.hamburger-demo-menubox .menu__second-level li a {
font-size: 12px;
padding-left: 40px;
}

    .hamburger-demo-menulist .menu__second-level li + li {
        border-top: rgba(255, 255, 255, 0.1) 1px dotted;
    }

.menu__second-level {
background: #2F5CA2;
}




}




