/* CSS common Document */

header#n_header{
    top: 0;
    position: fixed;
    z-index: 9999;
    height: 70px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: all 0.2s ease;
}

header#n_header.top_header{
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
}

header#n_header.top_header{
    top: 50px;
}

header#n_header.scrolled {
    top: 0px;
    transition: all 0.2s ease;
}

.bottom_header{
    height: 70px;
}

header#n_header .inner{
    display: flex;
    justify-content: space-between;
}

header#n_header .inner .left{
    padding: 15px 30px 12px 30px;
}


header#n_header #logo{
    width: 197px;
}

header#n_header .inner .right{
    display: flex;
    height: 70px;
    align-items: center;
}

header#n_header .inner .right .right_btn{
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
}

header#n_header .inner .right .right_btn.r2 a:nth-child(1) .img{
    margin-top: -2px;
    margin-right: 4px;
}

header#n_header .inner .right .right_btn.r2 a:nth-child(1) .text{
    margin-top: 2px;
}

header#n_header .inner .right .right_btn a .text{
    letter-spacing: -0.1em;
}

header#n_header .inner .right .right_btn .sp_menu{
}

@media print, screen and (min-width: 1040px) {
    header#n_header .inner .right .right_btn a:first-child{
        margin-right: 20px;
    }
}

@media print, screen and (max-width: 1039px) {
    header#n_header .inner .right .right_btn a:first-child{
        margin-right: 15px;
    }
}

header#n_header .inner .right .right_btn .img {
    margin: 0 auto -2px auto;
}

header#n_header .inner .right .right_btn .img svg{
    width: 24px;
    height: auto;
}

header#n_header .inner .right .right_btn a .img .icon-svg, header#n_header .inner .right .right_btn a  .text{
    text-align: center;
    color: #03362E;
}

header#n_header .inner .right .right_btn a:hover .img .icon-svg, header#n_header .inner .right .right_btn a:hover .text{
    color: #008A0E;
    text-align: center;
    transition: 0.3s;
}

@media print, screen and (min-width: 1040px) {
    header#n_header .inner .right .right_btn a .text, header#n_header .inner .right .right_btn .sp_menu .text{
        font-size: 10px;
        font-weight: 500;
    }
}

@media print, screen and (max-width: 1039px) {
    header#n_header .inner .right .right_btn a .text, header#n_header .inner .right .right_btn .sp_menu .text{
        font-size: 8px;
        font-weight: 500;
    }
    
    header#n_header .inner .right .right_btn .sp_menu .text{
        margin-left: 5px;
    }
    
    header#n_header .inner .right .right_btn .img{
        margin-bottom: -1px;
    }
    
    header#n_header .inner .right .right_btn a{
        margin-left: 5px;
    }
}

header#n_header .inner .right .right_btn .sp_menu{
    cursor: pointer;
}

header#n_header .inner .right .right_btn a:nth-child(2) .text{
    padding-left: 3px;
}

header#n_header .inner .right_left{
    padding: 10px 10px 10px 10px;
    text-align: right;
}

header#n_header .inner nav ul{
    display: flex;
}

nav.main_nav > ul > li {
    padding: 10px 0 15px 0;
}

/*
nav.main_nav ul li:hover > a {
    color: #008A0E !important;
    transition: 0.2s ease-in-out;
}
*/

nav.main_nav ul li:hover > a {
    color: #008A0E !important;
}

nav.main_nav > ul > li > a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #008A0E;
    bottom: 4px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}

nav.main_nav > ul > li:hover > a::after {
    transform: scale(1, 1);
}

/* Submenu */

header#n_header .inner nav ul li{
    position: relative;
    z-index: 100;
}

header#n_header .inner nav ul li ul{
    position: absolute;
    top: 55px;
    left: 0px;
}
header#n_header .inner nav ul li ul{
    display: block;
    text-align: left;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    filter: drop-shadow(0 0 0.3rem #ccc);
}

header#n_header .inner nav ul li ul li a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/icon5_right.svg) no-repeat;
    background-position: top calc(50% - 2px) right 15px;
    display: block;
    color: #111;
    border-radius: 5px;
}
header#n_header .inner nav ul li ul li a:hover{
    background-color: #fefdde;
    opacity: 1;
    color: #111 !important;
    text-decoration: none !important;
}

header#n_header .inner nav > ul > li{
    margin-right: 30px;
}

header#n_header .inner nav > ul > li:last-child{
    margin-right: 0px;
}

header#n_header .inner nav > ul > li > a{
    color: #464646;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0px 22px 0px;
}

header#n_header .inner nav ul li ul li a{
    color: #464646;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 13px 17px 13px;
}

header#n_header .inner nav ul li:last-child a{
    padding-right: 5px;
}

header#n_header .inner nav ul li ul{
    display: none;
    width: 250px;
}

header#n_header .inner nav ul li:hover ul{
    display: block;
}

header#n_header .inner nav ul li ul li::after {
    content: "";
    margin-left: 0;
    margin-right: 0;
}

header#n_header .inner nav ul li:last-child::after {
    content: "";
    margin-left: 0;
    margin-right: 0;
}

@media print, screen and (min-width: 1040px) {
    .sp_menu{
        display: none;
    }
}

@media print, screen and (max-width: 1039px) {
    header#n_header #logo{
        width: 140px;
        margin: 5px 0 0 -10px;
    }
    
    header#n_header .inner .left{
        padding: 16px 0px 12px 30px;
    }

    header#n_header .right_left{
        display: none;
    }

    .sp_menu{
        margin-left: 16px;
    }
    
    .sp_menu .text{
        text-align: center;
    }
    
    header#n_header .inner .right .right_btn{
        margin-left: 20px;
        margin-right: 15px;
        display: flex;
    }
}

.mWrap .inner{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    display:flex;
    flex-flow: column;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
}

@media print, screen and (min-width: 600px) {
    .mWrap.scrolled{
        margin-top: 50px;
    }
    
    .mWrap {
        margin-top: 0px;
        position: fixed;
        z-index: 9999;
        top: 80px;
        right: 0;
        background-color: #fff;
        overflow-y: auto;
        max-height: 100% !important;
        width: 400px;
        margin-right: -600px;
        transition : .3s;
        border: 1px solid #E6E6E6;
        border-right:none;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}

@media print, screen and (max-width: 599px) {
    .mWrap.scrolled{
        margin-top: 50px;
    }

    .mWrap {
        margin-top: 0px;
        position: fixed;
        z-index: 9999;
        top: 70px;
        border-top: 1px solid #E6E6E6;
        right: 0;
        height: 100%;
        background-color: #fff;
        overflow-y: auto;
        max-height: 100% !important;
        width: 100%;
        margin-right: -600px;
        transition : .3s;
    }
}

.menu_box ul li{
    font-size: 15px;
    font-weight: 500;
    background-repeat: repeat-x;
    border-bottom: 1px solid #E6E6E6;
}

.menu_box ul li.mi1 .menu_ac{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon1.svg) no-repeat;
    background-position: left 16px top calc(50% + 1px);
}

.menu_box ul li.mi2 a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon2.svg) no-repeat;
    background-position: left 11px top 50%;
}

.menu_box ul li.mi3 a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon3.svg) no-repeat;
    background-position: left 16px top calc(50% + 1px);
}

.menu_box ul li.mi4 a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon4.svg) no-repeat;
    background-position: left 19px top 50%;
}

.menu_box ul li.mi5 a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon5.svg) no-repeat;
    background-position: left 18px top 50%;
}


.menu_box ul li:last-child{
    border: none;
}

.menu_box ul li a{
    text-decoration: none;
    display: block;
    color: #000;
    padding: 30px 30px 30px 30px;
}

.menu_box ul li .menu_ac div{
    text-decoration: none;
    display: block;
    color: #000;
    padding: 22px 15px 22px 55px;
    background: url("https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon_open.svg") no-repeat;
    background-size: 24px;
    background-position: top 50% right 15px;
    cursor: pointer;
}

.menu_box ul li .menu_ac.open div{
    background: url("https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon_close.svg") no-repeat;
    background-size: 24px;
    background-position: top 50% right 15px;
}


.menu_box ul li .menu_ac:hover, .menu_box ul li .menu_ac.open{
   background-color: #FFFCDE; 
}

.menu_box > ul > li > ul > li > a{
    background: url("https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/icon5_right.svg") no-repeat;
    background-size: 15px;
    background-position: top 50% right 20px;
    padding: 22px 15px 22px 55px !important;
}

.menu_box > ul > li > ul > li:first-child > a{
    border-top: 1px solid #E6E6E6;
}

.menu_box > ul > li > ul > li > a:hover{
    background-color: #FFFCDE;
}

.menu_box > ul > li > a{

    padding: 22px 15px 22px 55px;
}

.menu_box > ul > li > a > div{
    background: url("https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/icon5_right.svg") no-repeat;
    background-size: 15px;
    background-position: top 50% right 5px;
}

.menu_box > ul > li > a:hover{
    background-color: #FFFCDE;
}

.menu_box ul li ul{
    display: none;
}


.spmenu_btn_img{
  position: relative;
  width: 24px;
  height: 18px !important;
  transition: 0.3s;
  margin: 3px 0 7px 8px !important;
}

.spmenu_btn_img::before,
.spmenu_btn_img::after,
.spmenu_btn_img span {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  background: #03362E;
  transition: 0.3s;
}

.spmenu_btn_img span {
  top: 50%;
  transform: translateY(-50%);
}

.spmenu_btn_img::before {
  top: 0;
}

.spmenu_btn_img::after {
  bottom: 0;
}

/* ↓ ハンバーガーが × に変化する状態 */

.sp_menu.menu_open .spmenu_btn_img::before {
  transform: rotate(45deg);
  top: 10px;
}

.sp_menu.menu_open .spmenu_btn_img::after {
  transform: rotate(-45deg);
  bottom: 6px;
}

.sp_menu.menu_open .spmenu_btn_img span {
  opacity: 0;
}

header#n_header .inner .right .right_btn .sp_menu:hover{
    color: #008A0E;
    transition: 0.3s;
}

#spmenu_btn:hover .spmenu_btn_img::before,
#spmenu_btn:hover .spmenu_btn_img::after,
#spmenu_btn:hover .spmenu_btn_img span {
  background: #008A0E;
}

footer#n_footer{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/back.jpg);
    font-size: 15px;
    position: relative;
    z-index: 0;
}

@media print, screen and (min-width: 640px) {
    footer#n_footer #footer_logo .sp_logo{
        display: none;
    }
    
    footer#n_footer #footer_logo{
        width: 236px;
        margin: 0 auto 40px auto;
    }
}

@media print, screen and (max-width: 639px) {
    footer#n_footer #footer_logo .pc_logo{
        display: none;
    }
    
    footer#n_footer #footer_logo{
        width: 120px;
        margin: 0 auto 30px auto;
    }
}

@media print, screen and (min-width: 640px) {
    footer#n_footer .footer_inner{
        padding: 40px 30px 40px 30px;
    }
}

@media print, screen and (max-width: 639px) {
    footer#n_footer .footer_inner{
        padding: 30px 20px 30px 20px;
    }
}

footer#n_footer #copyright{
    color: #fff;
    text-align: center;
    padding: 10px;
    background-color: #111;
}

@media print, screen and (min-width: 960px) {
    footer#n_footer .footer_inner .footer_box{
        display: flex;
        max-width: 1120px;
        margin: 0 auto 0 auto;
    }
    
    footer#n_footer .footer_inner .footer_box .left{
        position: relative;
        padding: 30px;
        width: 50%;
        background-color: #fff;
        margin-right: 30px;
        border-radius: 8px;
    }
}

@media print, screen and (max-width: 959px) {
    
    footer#n_footer .footer_inner .footer_box .left{
        position: relative;
        padding: 30px;
        background-color: #fff;
        margin: 0 0 20px 0;
        border-radius: 8px;
    }
}



footer#n_footer .footer_inner .footer_box .left .title{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto 0 auto;
    background-color: #03362E;
    width: 160px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 5px 5px 8px 5px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

footer#n_footer .footer_inner .footer_box .left .tel{
    font-size: 40px;
    font-weight: 600;
    font-family: "Jost", sans-serif;
    margin-top: 50px;
    text-align: center;
    color: #03362E;
    margin-bottom: 5px;
    line-height: 1em;
}

footer#n_footer .footer_inner .footer_box .left .tel div{
    display: inline-block;
    padding: 0 0 0 40px;
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/footer_icon2.svg) no-repeat;
    background-position: top 3px left 0;
}

@media print, screen and (max-width: 639px) {
    footer#n_footer .footer_inner .footer_box .left .tel{
        font-size: 32px;
    }
    
    footer#n_footer .footer_inner .footer_box .left .tel div{
        display: inline-block;
        padding: 0 0 0 40px;
        background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/footer_icon2.svg) no-repeat;
        background-position: top 0 left 0;
    }
}

footer#n_footer .footer_inner .footer_box .left .info{
    display: flex;
    justify-content: center;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1em;
}

footer#n_footer .footer_inner .footer_box .left .info .info_left{
    padding: 2px 0px 5px 0px;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #BAEBA9;
}

footer#n_footer .footer_inner .footer_box .left .info .info_right{
    padding: 2px 0px 5px 0px;
}

@media print, screen and (min-width: 640px) {
    footer#n_footer .footer_inner .footer_box .left nav ul{
        display: flex;
    }

    footer#n_footer .footer_inner .footer_box .left nav ul li{
        width: 50%;
        margin-right: 10px;
        background-color: #FFFCDE;
    }

    footer#n_footer .footer_inner .footer_box .left nav ul li:last-child{
        margin-right: 0;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li .img img{
        width: 40px;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li .img{
        width: 40px;
        height: 40px;
        border-radius: 100px;
        margin: 0 auto 10px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li a{
        display: block;
        padding: 30px 0 30px 0;
    }
}

@media print, screen and (max-width: 639px) {
    footer#n_footer .footer_inner .footer_box .left nav ul{
        display: flex;
        flex-wrap: wrap;
    }

    footer#n_footer .footer_inner .footer_box .left nav ul li:nth-child(1){
         width: calc(50% - 5px);
        background-color: #FFFCDE;
        margin-right: 10px;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li:nth-child(2), footer#n_footer .footer_inner .footer_box .left nav ul li:nth-child(3){
        width: calc(50% - 5px);
        background-color: #FFFCDE;
    }

    footer#n_footer .footer_inner .footer_box .left nav ul li:last-child{
        margin-right: 0;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li .img img{
        width: 40px;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li .img{
        width: 40px;
        height: 40px;
        margin: 0 auto 0px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    footer#n_footer .footer_inner .footer_box .left nav ul li a{
        display: block;
        padding: 25px 0 20px 0;
    }
}

footer#n_footer .footer_inner .footer_box .left nav ul li .text{
    font-weight: 500;
    text-align: center;
    line-height: 1.3em;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer#n_footer .footer_inner .footer_box .left nav ul li a:hover{
    background-color: #FFEF3B;
    transition: 0.2s ease-in-out;
}

@media print, screen and (min-width: 960px) {
    footer#n_footer .footer_inner .footer_box .right{
        width: 50%;
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
    }
}

@media print, screen and (max-width: 959px) {
    footer#n_footer .footer_inner .footer_box .right{
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
    }
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_top li a{
    display: block;
    padding: 20px 20px 20px 70px;
    border-bottom: 1px solid #E6E6E6;
    font-weight: 500;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_top li:nth-child(1) a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon1.svg),url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/icon5_right.svg);
    background-repeat: no-repeat,no-repeat;
    background-position: top 18px left 30px, top 25px right 30px;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_top li:nth-child(2) a{
    background: url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/menu_icon4.svg),url(https://d2w53g1q050m78.cloudfront.net/nomudakejp/uploads/common/img/icon5_right.svg);
    background-repeat: no-repeat,no-repeat;
    background-position: top 18px left 30px, top 25px right 30px;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_top li a:hover{
    background-color: #FFFCDE;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom{
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a{
    display: flex;
    align-items: center;
    padding: 10px 25px 10px 25px;
    font-weight: 500;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a .img{
    margin-top: 2px;
}


footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li{
    width: 50%;
    line-height: 1.3em;
}

@media print, screen and (max-width: 639px) {
   footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a{
       font-size: 12px;
       letter-spacing: -0.1em;
       padding:10px 10px 10px 15px !important;
    }
    
   footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li:nth-child(2n) a{
       padding:10px 10px 10px 0px !important;
    }

   footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a .img{
        display: none !important;
    }
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a:hover{
    color: #008A0E;
    transition: 0.2s ease-in-out;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a:hover svg path{
    fill: #008A0E;
    transition: 0.2s ease-in-out;
}

footer#n_footer .footer_inner .footer_box .right .footer_nav_right_bottom li a .text{
    margin-left: 10px;
}

footer#n_footer .footer_inner .footer_box .right .sns_area{
    margin: 20px 25px 25px 25px;
    background-color: #F0FFF4;
    padding: 30px 0 30px 0;
    border-radius: 8px;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_inner{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_left{
    font-weight: 400;
    font-family: "Balthazar";
    font-size: 18px;
    color: #03362E;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_right ul{
    margin-left: 15px;
    display: flex;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_right ul li{
    width: 40px;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_right ul li{
    margin-right: 15px;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_right ul li:last-child{
    margin-right: 0;
}

footer#n_footer .footer_inner .footer_box .right .sns_area .sns_area_right ul li a:hover{
    transition: 0.2s ease-in-out;
    opacity: 0.7;
}
