@charset "UTF-8";

/*****************************
アコーディオンメニュー
*****************************/
.mega_btn {
    position: relative;
}
.megamenu {
    overflow: hidden;
    display: none;
    position: absolute;
    top: 45px;
    left: -45px;
    background: #61b0d8;
    border-right: .5px solid #fff;
    border-left: .5px solid #fff;
    width: 200px;
    text-align: center;
}
@media screen and (max-width: 1024px) {
.megamenu {
    overflow: unset;
    display: block !important;
    position: relative;
    top: 0px;
    left: 0;
    background: #fff;
    border-right: 0px solid #fff;
    border-left: 0px solid #fff;
    width: 100%;
    text-align: left;
}
}

.megamenu_flex {
    display: flex;
}
.megamenu_txt {
    width: 50%;
    padding: 1.5rem;
    background: #EEF9FF;
    box-sizing: border-box;
}
.megamenu_img {
    width: 50%;
}
.megamenu_txt_ttl {
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    padding-left: 45px;
}
.megamenu_txt_ttl::before {
    position: absolute;
    content: "";
    top: 50%;
    left: -15px;
    background: #003C8A;
    width: 50px;
    height: 1px;
    z-index: 2;
}
.megamenu_txt_flex {
    display: flex;
}
.megamenu_txt_flex_item:nth-child(1) {
    margin-right: 30px;
}
.megamenu_item {
    padding: 1rem 1.5rem;
    border-bottom: .5px solid #fff;
}
.megamenu_item:hover{
    background: #61b0d8;
    opacity: 1;
}
.megamenu_item.nowpage{
    background: #61b0d8;
    opacity: 1;
}

.megamenu_link {
    font-size: 1.4rem;
    color: #fff;
    display: block;
}
@media screen and (max-width: 1024px) {
    .megamenu_item {
        padding: 0.5rem 1rem;
        border-bottom: 0px solid #e5e5e5;
    }
    .megamenu_item:hover{
        background:#fff;
        opacity: 1;
    }
.megamenu_item.nowpage{
    background: #fff;
    opacity: 1;
}
    .megamenu_link {
        font-size: 1.4rem;
        color: #222;
    }
    .megamenu_item a{
  background-color: #ebf4f8;
        display: inline-block;
    }
}


.megamenu_link_img {
    position: relative;
}
.megamenu_link_img::after {
    position: absolute;
    content: "";
    background: #003C8A;
    opacity: .3;
    width: 120px;
    height: 80px;
    top: 0;
    right: 40px;
}
.megamenu_link img {
    width: 200px;
    height: 80px;
    display: block;
    object-fit: contain;
}
/* .megamenu_list.flex .megamenu_item:not(:nth-child(3n)) {
    margin-right: 20px;
} */
.megamenu_list.flex .megamenu_item {
    margin-bottom: 5px;
}

.megamenu_list.flex .megamenu_link p {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
.megamenu .megamenu_list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 10px;
}
.megamenu .megamenu_list li{
 width: calc(100% / 2);
}
.megamenu .megamenu_list li a{
position: relative;
}
.megamenu .megamenu_list li a::after {
position: absolute;
content: "";
top: 50%;
left: -12px;
transform: translateY(-50%);
background: url(../images/common/btn1.webp) no-repeat center / contain;
background: url(../images/common/footer-nav-item.webp) no-repeat center / contain;
width: 10px;
height: 10px;
}
}
@media screen and (max-width: 600px) {
.megamenu .megamenu_list li{
 width: calc(100% / 1);
}
}


.navlist .megamenu_list .megamenu_item {
    padding: 3px 10px;
    border-bottom: .5px solid #fff;
    margin-right: 0px;
}

.navlist .megamenu_list .megamenu_item a {
    display: block;
    letter-spacing: 1px;
    font-size: 14px;
    border-bottom: 0px solid rgb(255, 255, 255, 0);
}