@charset "UTF-8";


/* header */
header > div {
    position: relative;
}

header {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 22.4px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    backface-visibility: hidden;
    width: 100%;
    -webkit-backface-visibility: hidden;
    background-color: #fff;
    height: 94px;
}

header .h_logo {
    display: flex;
    margin: 27px 0;

}

.h_logo img {
    width: 300px;
    height: 31px;
}


.container-lg {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding-left: clamp(20px, 2vw, 9999px);
    padding-right: clamp(20px, 2vw, 9999px);
    align-items: center;
}

header .gnav_menu > li > a {
    color: #222;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 0 1.5rem;
    position: relative;
    white-space: nowrap;
}

header > a:hover {

    opacity: 0.7;
    transition: .2s;
}

header .gnav_menu > li > a:hover {

    opacity: 0.7;
    transition: .2s;
}

header .gnav_menu {
    padding: 0 0 0 30px;
    margin-top: 5px;
    margin-bottom: 0;
    display: inline-flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: center;
}

header .gnav_menu > li {
    margin: 0;
    padding: 0;
    position: inherit !important;
    display: flex;
    align-items: center;
    height: 41px;
}

header .gnav_menu > li .nav-button {

    margin: 0 0 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 18px 9px;
    font-weight: bold;
    text-decoration: none;
    font-size: 2rem;
    width: 100%;
    max-width: 790px;
    background: var(--main-color);

}

header .gnav_menu > li .nav-button {
    padding: 10px 24px;
    font-size: 1.6rem;
    color: #fff;
}

/*SP Gloval Nav */
@media (max-width: 991px) {

    header {
        height: 55px;
    }

    .container-lg {
        padding-left: clamp(0px, 4vw, 20px);
        padding-right: clamp(0px, 4vw, 20px);
    }

    .h_logo img {
        width: 239px;
    }

    /* 三ボタン */
    header #gnav_btn > div > span:nth-of-type(1) {
        top: 0;
    }

    header #gnav_btn > div > span:nth-of-type(2) {
        top: calc(50% - 2px);
    }

    header #gnav_btn > div > span:nth-of-type(3) {
        bottom: 0;
    }

    .open header #gnav_btn > div > span:nth-of-type(1) {
        transform: translateY(15px) rotate(45deg);
    }

    .open header #gnav_btn > div > span:nth-of-type(2) {
        opacity: 0;
    }

    .open header #gnav_btn > div > span:nth-of-type(3) {
        transform: translateY(-15px) rotate(-45deg);
    }

    header .pc_only {
        display: none;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
    }

    header #nav .menuList li > a {
        font-size: 1.3rem;
        color: #222;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    header .gnav_menu {
        height: 100%;
        display: none;
    }

    body.open header .gnav_menu {
        display: block;
        position: relative;
        z-index: 1999;
        width: 90%;
        margin: 0 auto;
        padding: 0px 20px 50px 0;
        overflow: auto;
        height: 90vh;
    }

    header .gnav_menu a {
        text-decoration: none;
        padding: 15px 0;
        display: block;
        position: relative;
        color: #2367d4;
    }

    header .btn_link a {
        padding-top: 1rem;
    }

    header .gnav_menu a:hover {
        opacity: 0.5;
    }

    header .gnav_menu > li > a {
        font-weight: 700;
    }


}



/****************************ハンバーガーメニュー****************************/
/* 隠れている状態 */
#sp-nav {
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    top: 0;
    background: #fff;
    transition: transform 0.3s ease;
    /* transitionの指定を少し詳細に */
    transform: translateX(100%);
    z-index: 9998;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#sp-nav > ul {
    margin: 70px auto 0;
    padding-left: clamp(0px, 4vw, 30px);
    padding-right: clamp(0px, 4vw, 30px);
}


#sp-nav a {
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    padding: 25px 0;
    display: block;
    color: #222;
    border-bottom: 1px solid #ccd7d8;
    position: relative;
}

#sp-nav .sp-nav-pd01 {
    padding: 15px 0 30px 0;
}



#sp-nav .sp-nav-pd02 {
    padding: 0 0 10px 0;
}

#sp-nav .sp-nav-pd03 {
    padding: 30px 0 15px 0;
}

#sp-nav ul .sp-contact-btn {
    display: inline-flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    background: var(--main-color);
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    box-sizing: border-box;
    width: 100%;
    margin: 58px auto 6px auto;
    text-align: center;
    height: 41px;
}

.sp-contact-btn > a {

    padding: 16px 96px;
}

#sp-nav li:not(:last-child) a::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 13px;
    background-image: url(../images/common/arw_right_bl.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 4px;
    top: 34px;
}

#sp-nav li {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
}

.sp-nav-lowerBox {
    border-left: #fff 1pt solid;
}

#sp-nav li .sp-nav-lower > a {
    padding: 0 0 0 12px;
    font-weight: 500;
    font-size: 1.4rem;
}


#hamburger {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 26px;
    height: 14px;
    transition: 0.2s;
}

#hamburger.fixed {
    position: fixed;
    top: 20px;
    /* お好みで調整 */
    right: 20px;
    /* お好みで調整 */
    z-index: 10000;
    /* メニューより上に */
}

.inner_line {
    display: block;
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: #000;
    transition: 0.2s;
    z-index: 9999;
}

#line1 {
    top: 0;
}

#line2 {
    top: 6.5px;
}

#line3 {
    bottom: 0px;
}

/* 表示する状態（body.in ではなく #sp-nav.in に変更） */
#sp-nav.in {
    transform: translateX(0);
}

.line_1,
.line_2,
.line_3 {
    background: #222;
}

.line_1 {
    transform: translateY(6.5px) rotate(-45deg);
    top: 0;
}

.line_2 {
    opacity: 0;
}

.line_3 {
    transform: translateY(-6.5px) rotate(45deg);
    bottom: 0;
}

#hamburger > p {
    font-family: roboto;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    display: block;
    position: absolute;
    top: 22px;
    right: 1px;
}

@media (min-width: 992px) {
    #sp-nav {
        display: none;
    }

    #hamburger {
        display: none;
    }


}

@media (max-width: 991px) {
    #hamburger {
        display: block;
    }


}


/* =================================== 
Footer
 =================================== */

footer {
    padding-top: 50px;
    border-top: 1px solid var(--gray02);
}


footer,
#footer_conts {
    position: relative;
    margin: 0 auto;
}

footer img {
    max-width: 308.5px;
    width: 300px;
    height: 31px;
}

.footer_info_block {
    margin: 0 auto;
    padding-left: clamp(20px, 2vw, 9999px);
    padding-right: clamp(20px, 2vw, 9999px);
}

.footer_info_box {
    max-width: 1194px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

footer .container {
    min-width: 320px;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}

.footer_info_link {
    list-style: none;
    width: 480px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 40px;
    row-gap: 15px;
}

.footer_info_link a {
    color: #222;
}


.footer_info_link li a:hover {
    opacity: 0.7;
    transition: .2s;
}

.footer_info_link li {
    width: 112px;
    font-size: 1.3rem;
}

.footer_info_link li::before {
    content: "- ";
}

.footer_copy {
    font-size: 1.1rem;
    text-align: right;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .footer_info_box {
        display: block;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer_info_logo {
        text-align: center;
        margin-bottom: 30px;
    }

    #copyright-text {
        text-align: center;
    }


}

@media (max-width: 767px) {
    .footer_info_link {
        max-width: 345px;
        margin: 0 auto 40px;
        column-gap: 15px;
        justify-content: center;
        row-gap: 0;
    }

    .footer_info_logo_link img {
        width: 229px;
    }

    .footer_info_link li {
        width: 165px;
        border-bottom: 1px solid #ccd7d8;
        padding: 13px 0;
    }

    .footer_info_block {
        padding-left: clamp(0px, 4vw, 20px);
        padding-right: clamp(0px, 4vw, 20px);
    }
}
