@charset "UTF-8";


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

.l-header {
    position: fixed;
    z-index: 9999;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
}

.l-header__inner {
    position: relative;
    margin: 20px 0;
}

.head-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.c-container-maxWidth-head {
    max-width: 1350px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.container-head {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.p-logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.p-navToggle {
    z-index: 9999;
    background: #fff;

}

.p-headerBtn li {
    margin-left: 10px;
    white-space: nowrap;
    margin-bottom: 20px;
}

.p-headerBtn li a {
    background: #0B3190;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 15px;
}

.p-globalNav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

@media (min-width: 1192px) {


    .p-logo {
        margin-bottom: 0;
        align-items: flex-end;
    }

    .p-navToggle {
        display: block;
        padding-bottom: 0 !important;
    }

    .p-headerBtn {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .p-globalNav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        font-weight: 900;
        font-size: 18px;
        line-height: 1;
    }

    .p-globalNav li {
        margin-left: 1em;
    }

    .p-globalNav li a {
        line-height: 1.8;
        color: #333;
    }

    .p-globalNav li a:hover {
        color: #0B3190;
        text-decoration: none;
        opacity: 1.0;
    }

}

@media (max-width: 1191.98px) {

    .p-globalNav {
        background: #0B3190;
        border-top: 1px solid #fff;
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }

    .p-globalNav li a:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #fff;
        content: "\f054";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .p-globalNav li a {
        color: #fff;
        line-height: 3;
        display: block;
        border-bottom: 1px solid #fff;
        padding: 0 15px;
        position: relative;
    }

    .p-headerBtn {
        display: none;
    }

    .p-navToggle {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        padding: 0;
        left: 0;
    }

    .p-logo {
        margin-bottom: 20px;
    }


    .head-wrap {
        display: block;
    }

}

@media (max-width: 767.98px) {

    .p-logo {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }


}

@media (min-width: 768px) {
    .p-logo {
        flex-direction: row;
    }

    .p-logo-main {
        margin-right: 10px;
    }

    .p-logo-main02 {
        margin-right: 10px;
    }

    .p-visual__text {
        display: none;
    }
}

@media(max-width:349.98px) {
    .p-logo-main {
        width: 80%;
    }
}

/**************************** cookie notice ****************************/
.p-cookieBox {
    display: none;
    background: #000;
    width: 100%;
    color: #fff;
    position: absolute;
    top: 0;
    font-size: 12px;
    line-height: 1.3;
}

.p-cookieBox__inner {
    padding-top: 15px;
    padding-bottom: 15px;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-container-maxWidth {
    max-width: 1230px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.p-cookieBox__text {
    margin-bottom: 0;
    flex: 1;
}

.p-cookieBox__btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.p-cookieBox__btn span::before,
.p-cookieBox__btn span::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84%;
    height: 10%;
    margin: -8% 0 0 -42%;
    background: #fff;
}

.p-cookieBox__btn span::before {
    transform: rotate(-45deg);
}

.p-cookieBox__btn span::after {
    transform: rotate(45deg);
}


.p-cookieBox__text a {
    color: #fff;
    text-decoration: underline;
}

@media(max-width: 767.98px) {
    .p-cookieBox__btn {
        margin-left: 20px;
    }

    .p-cookieBox__btn {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}


@media (min-width: 768px) {
    .p-cookieBox__btn {
        width: 25px;
        height: 25px;
    }
}






/*SP Gloval Nav */

.c-hamburgerBox {
    position: absolute;
    top: 0;
    right: 15px;
}

.c-hamburger {
    width: 45px;
    height: 45px;
    padding: 0;
    position: relative;
    background: #002C83;
    border: none;
    border-radius: 0px;
    outline: none;
    cursor: pointer;
}

.c-hamburger__bar {
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}


.c-hamburger__bar:before {
    top: -8px;
}

.c-hamburger__bar,
.c-hamburger__bar:before,
.c-hamburger__bar:after {
    transition: all 0.3s;
}

.c-hamburger__bar:after {
    bottom: -8px;
}

.c-hamburger__bar,
.c-hamburger__bar:before,
.c-hamburger__bar:after {
    position: absolute;
    height: 4px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
    display: block;
    content: "";
    cursor: pointer;
}

/* 状態を制御するチェックボックス*/
.c-hamburger--check {
    display: none;
}

/* 閉じるアニメーション */
.c-hamburger__bar,
.c-hamburger__bar:before,
.c-hamburger__bar:after {
    transition: all 0.3s;
}

.is-open .c-hamburger__bar {
    background: transparent;
}

.is-open .c-hamburger__bar:before {
    transform: rotate(-45deg);
    top: 50%;
}

.is-open .c-hamburger__bar:after {
    transform: rotate(45deg);
    top: 50%;
}


@media (min-width: 1192px) {
    .d-lg-none {
        display: none !important;
    }
}

@media (max-width: 1191.98px) {
    .d-lg-none {
        display: block !important;
    }


    .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: 1192px) {
    #sp-nav {
        display: none;
    }

    #hamburger {
        display: none;
    }


}

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


}


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

.p-footerNav a {
    color: #0B3190;
    font-weight: bold;
}

.p-footer-helper {
    background: #0B3190;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.p-copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .l-footer {
        padding-top: 4rem;
    }

    .p-footerNav {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .p-footerNav__list {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        list-style: none;
        padding-left: 0;
    }

    .p-footerNav__list li {
        margin-left: 20px;
        margin-right: 20px;
    }

    .p-copyright {
        padding: 20px 0;
    }
}


@media (max-width: 767.98px) {
    .p-footerNav__list:first-child {
        border-top: 1px dotted #999999;
    }

    .p-footerNav__list {
        margin-bottom: 0;
        margin-right: -15px;
        margin-left: -15px;
    }

    .p-footerNav__list li {
        border-bottom: 1px dotted #999999;
        font-size: 14px;
        margin: 0;
    }

    .p-footerNav a {
        display: block;
        line-height: 3;
        position: relative;
        padding: 0 15px;
    }

    .p-footerNav a:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f054";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .p-footer-helper {
        padding: 10px 0;
        font-size: 12px;
    }

    .p-copyright {
        padding: 10px 0;
        font-size: 10px;
        line-height: 1.5;
    }
}
