@charset "UTF-8"; /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PC右上固定
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 769px) {
    .logged-in .sticky_btn {
        top: var(--logged-in);
    }

    .sticky_btn {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        height: 10rem;
    }

    .sticky_btn p.contact {
        height: 100%;
    }

    .sticky_btn p.contact a {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20rem;
        background: var(--theme_m_color);
        color: #fff;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 769px) {
    header {
        position: absolute;
        z-index: 200;
        padding: 0 3.5rem 0 6.5rem;
        min-height: 14rem;
        display: flex;
        align-items: center;
        background: #fff;
        max-width: 150rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        border-radius: 7rem;
        top: 5rem;
    }

    header > * {
        width: 100%;
    }

    .h_inner {
        justify-content: space-between;
        align-items: center;
        display: grid;
        grid-template-columns: 28.5rem 1fr 7rem 33rem;
        gap: 2rem;
        height: 14rem;
    }

    .h_inner .logo {
        line-height: 1;
        margin: 0 0 0 0;
        width: var(--main_logo);
        font-size: 2em;
    }

    .h_inner .logo a {
        display: inline-block;
        line-height: 1;
        width: 100%;
    }

    .h_inner .logo a img {
        width: 100%;
    }

    header ul.nav_menu {
        height: 100%;
    }

    header ul.nav_menu > li {
        height: 100%;
    }

    header ul.nav_menu > li a {
        font-weight: 500;
        height: 100%;
        display: block;
        display: grid;
        align-items: center;
    }

    header ul li.menu-item-has-children {
    }

    header ul li:not(last-child) {
    }

    header .child {
    }

    header .child > li {
    }

    header .child > li > a {
    }

    header .child > li:hover > a {
    }

    header ul.nav_menu {
        display: flex;
        align-items: center;
        margin-left: 4rem;
        gap: 3rem;
        height: 100%;
    }

    header ul > li {
    }

    header ul li.menu-item-has-children {
        position: relative;
    }

    header ul li:not(:last-child) {
    }

    header .child {
        /*はじめは非表示*/
        /* visibility: hidden; */
        opacity: 0;
        /*アニメーション設定*/
        transition: all .3s;
        position: absolute;
        top: 16rem;
        left: 50%;
        /* margin-bottom: -5px; */
        /* min-width: 65.5rem; */
        transform: translateX(-21%);
        z-index: 8;
        background: #5ABD52;
        grid-template-columns: 14rem 1fr;
        border-radius: 1rem;
        align-items: center;
        padding: 3.5rem 4rem 3.5rem 4.5rem;
        gap: 4rem;
        display: flex;
        white-space: nowrap;
    }

    header .child::after {
        width: 37%;
        height: 20rem;
        position: absolute;
        content: "";
        top: -5rem;
        left: 0;
    }

    header .child h3.ttl {
        font-size: 2.6rem;
        color: #fff;
    }

    header .child ul.child_list {
        grid-template-columns: repeat(2 , 1fr);
        gap: 1rem 3rem;
    }

    header .child ul.child_list > li {
        margin: 0 0 5px;
        width: 100%;
        cursor: pointer;
    }

    header .child ul.child_list > li > a {
        font-size: 1.8rem;
        display: block;
        line-height: 1.5;
        cursor: pointer;
        color: #fff;
        font-size: 2rem;
        padding-left: 2rem;
        position: relative;
    }

    header .child ul.child_list > li > a::before {
        position: absolute;
        content: "";
        -webkit-mask: url("../images/common/main_arrow.svg") no-repeat center / contain;
        mask: url("../images/common/main_arrow.svg") no-repeat center / contain;
        background-color: #fff;
        top: 1rem;
        left: 0;
        width: .8rem;
        height: 1.3rem;
    }

    header .child ul.child_list > li > a:hover {
        opacity: .7;
    }

    header ul.nav_menu > li:hover > a {
        color: #5ABD52;
    }

    header .menu-item-has-children.current-menu-item > a {
        color: #5ABD52;
    }

    header .child > li:hover > a {
        color: #fff !important;
        background: var(--theme_m_color);
        opacity: 1 !important;
    }

    header .h_inner p.insta {
        width: 7rem;
    }

    header .h_inner p.insta a {
        display: block;
    }

    header .h_inner p.insta a:hover {
        opacity: .7;
    }

    header .h_inner p.insta a img {
    }

    header .h_inner .btn_wrap {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
        justify-content: space-between;
    }

    header .h_inner .btn_wrap p.btn {
    }

    header .h_inner .btn_wrap p.btn a {
        color: #fff;
        background: #5ABD52;
        width: 16rem;
        min-height: 8rem;
        display: grid;
        align-items: center;
        justify-content: center;
        padding-top: 2.5rem;
        border-radius: 4rem;
        position: relative;
        border: 2px solid #5ABD52;
        font-size: 1.8rem;
        font-weight: 500;
    }

    header .h_inner .btn_wrap p.btn a:hover {
        color: #5ABD52;
        background: #fff;
    }

    header .h_inner .btn_wrap p.btn a::before {
        position: absolute;
        content: "";
        mask : no-repeat 50% / contain;
        top: 1.2rem;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
    }

    header .h_inner .btn_wrap p.btn a:hover::before {
        background-color: #5ABD52;
    }

    header .h_inner .btn_wrap p.btn.map {
    }

    header .h_inner .btn_wrap p.btn.map a {
    }

    header .h_inner .btn_wrap p.btn.map a::before {
        mask-image: url("../images/common/icon_access.svg");
        width: 1.6rem;
        height: 2rem;
    }

    header .h_inner .btn_wrap p.btn.contact {
    }

    header .h_inner .btn_wrap p.btn.contact a {
    }

    header .h_inner .btn_wrap p.btn.contact a::before {
        mask-image : url("../images/common/icon_contact.svg");
        width: 2.2rem;
        height: 1.6rem;
    }
}

/***********************************
// スマホ
***********************************/
@media (max-width: 768px) {
    header {
        padding: 0;
        min-height: 10rem;
        position: absolute;
        z-index: 5;
        top: 0;
        left: 0;
        width: 100%;
    }

    header.contact_header {
        padding: 0;
        min-height: 10rem;
    }

    header > * {
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    header pushy 共通
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .h_inner {
        padding: 0 12rem 0 3rem;
        justify-content: space-between;
        height: 12rem;
        align-items: center;
    }

    .h_inner .logo {
        width: var(--main_logo);
    }

    .h_inner .logo a {
        display: grid;
    }

    .h_inner .logo a img {
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    pushy内
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    #pushy .p_inner {
        background: #fff;
    }

    #pushy ul {
        padding: 10rem 3rem;
    }

    #pushy ul.sp_nav_menu > li {
        padding-bottom: 0;
        margin: 0 0 3rem;
        border-bottom: 1px solid #707070;
    }

    #pushy ul li a {
        display: block;
    }

    #pushy.hambuger_inner02 {
        background: #5ABD52;
    }

    #pushy.hambuger_inner02 .bg {
        background: #5ABD52;
        height: 100%;
    }

    #pushy .h_nav_wrap {
        padding: 3.5rem 8rem 0;
    }

    #pushy ul.sp_nav_menu {
        padding: 0;
    }

    #pushy ul.sp_nav_menu > li {
        margin: 0;
        border: none;
    }

    #pushy ul.sp_nav_menu > li > a {
        position: relative;
        padding-right: 8rem;
        padding: 3.2rem 8rem 3.2rem 2rem;
        border-bottom: 1px solid #fff;
        font-weight: bold;
        font-size: 3.6rem;
        color: #fff;
    }

    /* #pushy ul.sp_nav_menu > li:last-child > a {
        border:none;
    }

    #pushy ul.sp_nav_menu > li:has(.active):last-child > a {
         border-bottom: 1px solid #fff;
    }*/
    #pushy ul.sp_nav_menu li > a::after {
        position: absolute;
        transition: .2s ease-in;
    }

    #pushy ul.sp_nav_menu:not(.child) > li:not(.menu-item-has-children) > a::after {
        content: "";
        background: url(../images/common/arrow_w.svg) no-repeat 50% /1.3rem 2.2rem;
        top: 50%;
        right: 9px;
        transform: translateY(-50%);
        width: 7rem;
        height: 7rem;
        border: 1px solid #fff;
        border-radius: 2em;
    }

    #pushy ul.sp_nav_menu li.menu-item-has-children > a::after {
        content: "＋";
        top: 50%;
        right: 1.8rem;
        font-size: 5.6rem;
        font-weight: 700;
        border-radius: 2em;
        width: 7rem;
        height: 7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
    }

    #pushy ul.sp_nav_menu li.menu-item-has-children > a.active::after {
        content: "－";
    }

    #pushy .child {
        display: none;
    }

    #pushy ul.sp_nav_menu .child_list {
        padding: 3.5rem 0 3.5rem 5.5rem;
        margin-bottom: 0;
    }

    #pushy ul.sp_nav_menu .child_list > li {
        margin-bottom: 1.6rem;
    }

    #pushy ul.sp_nav_menu .child_list > li > a {
        position: relative;
        font-size: 3.2rem;
        color: #fff;
    }

    #pushy .h_btn_wrap {
        display: flex;
        justify-content: space-between;
        width: 64rem;
        margin: 5rem auto 0;
        gap: 1rem;
    }

    #pushy .h_btn_wrap p.btn {
        width: 31rem;
    }

    #pushy .h_btn_wrap p.btn a {
        font-size: 3rem;
        color: #fff;
        font-weight: 600;
        width: 100%;
        height: 11rem;
        border-radius: 55rem;
        display: grid;
        align-items: center;
        justify-content: center;
        padding: 1rem 4rem 1rem 7rem;
        position: relative;
        border: 1px solid #fff;
    }

    #pushy .h_btn_wrap p.btn a::before {
        position: absolute;
        content: "";
        mask: no-repeat 50% / contain;
        top: 0;
        bottom: 0;
        margin: auto 0;
        background-color: #fff;
        left: 2.5rem;
    }

    #pushy .h_btn_wrap p.btn.map a::before {
        mask-image: url("../images/common/icon_access.svg");
        width: 2.8rem;
        height: 3.5rem;
    }

    #pushy .h_btn_wrap p.btn.mail a::before {
        mask-image: url("../images/common/icon_contact.svg");
        width: 3rem;
        height: 2.2rem;
    }

    #pushy .pushy_insta {
        margin-top: 4rem;
    }

    #pushy .pushy_insta .insta_btn {
    }

    #pushy .pushy_insta .insta_btn a {
        position: relative;
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 56.4rem;
        margin: 0 auto;
        padding-left: 10rem;
    }

    #pushy .pushy_insta .insta_btn a::before {
        position: absolute;
        content: "";
        background: url("../images/common/index_insta_daruma.png") no-repeat 50% / contain;
        width: 10rem;
        height: 12.5rem;
        transform: rotate(-11deg);
        top: 2rem;
        bottom: 0;
        margin: auto 0;
        left: -1rem;
    }

    #pushy .pushy_insta .insta_btn a img {
        width: 45rem;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ハンバーガー (スマホ)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .logged-in header .hamburger {
        top: calc(46px - -15px);
    }

    .hamburger {
        top: 4rem;
        position: fixed;
        right: 2rem;
        width: 6rem;
        height: 4rem;
        margin-left: auto;
    }

    .hamburger .c_h {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 0;
        height: .4rem;
        background: #5ABD52;
        width: 100%;
        display: block;
    }

    .hamburger.active .c_h {
        top: 50%;
        left: 50%;
    }

    .ham1 {
        top: 0;
    }

    .hamburger.active .ham1 {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .ham2 {
        top: 50%;
    }

    .hamburger.active .ham2 {
        opacity: 0;
    }

    .ham3 {
        top: 100%;
    }

    .hamburger.active .ham3 {
        transform: translate(-50% , -50%) rotate(45deg);
    }

    .hambuger_inner02 {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        z-index: 9999;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        height: 100%;
        width: 100%;
        background: #fff;
    }

    .hambuger_inner02.active {
        visibility: visible;
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .hambuger_inner02 .bg ul.items {
        padding-top: 20rem;
        width: 100%;
        padding-right: 4rem;
    }

    .hambuger_inner02 .bg ul.items li a {
        color: var(--main_color);
        text-decoration: none;
        padding: 3rem;
        display: block;
    }

    .hambuger_inner02 .bg ul.items li:not(:last-child) a {
        border-bottom: 1px solid #999999;
    }

    .active02 {
        display: block !important;
    }

    /* 背景色ありver */
    .logged-in header .hamburger.ham02 {
        top: 46px;
    }

    .hamburger.ham02 {
        top: 0;
        right: 0;
        width: 12rem;
        height: 12rem;
        background: #222222;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .hamburger.ham02 .ham_bg {
        position: relative;
        width: 5rem;
        height: 4rem;
    }

    .hamburger.ham02 .c_h {
        background: #fff;
    }

    .hamburger.ham03 {
        top: 0;
        right: 2rem;
        width: 8rem;
        height: 8rem;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hamburger.ham03 .ham_bg {
        position: relative;
        width: 4rem;
        height: 1rem;
    }

    .hamburger.ham03 .ham_bg::after {
        content: "MENU";
        font-size: 1.2rem;
        display: grid;
        justify-content: center;
        margin-top: 2rem;
        font-family: "Outfit", sans-serif;
        color: #5ABD52;
    }

    #pushy .hamburger.ham03 .ham_bg {
        top: 0;
    }

    #pushy .hamburger .c_h {
    }

    #pushy .hamburger.ham03 .ham_bg::after {
        content: none;
    }

    #pushy .hamburger.ham03 .c_h.ham1 {
        transform: translate(-50% , -50%) rotate(-45deg);
    }

    #pushy .hamburger.ham03 .c_h.ham3 {
        transform: translate(-50% , -50%) rotate(45deg);
    }

    /* 二本線ver */
    .logged-in header .hamburger.ham03 {
        top: 46px;
    }

    .hamburger.ham03 {
        width: 12rem;
        height: 12rem;
        right: 0;
        background: #fff;
    }

    .hamburger.ham03 .ham_bg {
        width: 5.6rem;
        height: 1.8rem;
        top: -1rem;
    }

    .hamburger.ham03 .ham_bg::after {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .hamburger.ham03 .c_h {
        height: 2px;
    }

    .hamburger.ham03 .c_h.ham1 {
    }

    .hamburger.ham03 .c_h.ham3 {
    }

    /***********************************************
スマホ　PUSHY　CTA
***********************************************/
    .lower_pushy_cta_wrap {
        display: flex;
        width: 64rem;
        justify-content: space-between;
        gap: 1rem;
        margin: 3.5rem auto 0;
    }

    .lower_pushy_cta_wrap p.btn {
        width: 31rem;
        height: 13rem;
    }

    .lower_pushy_cta_wrap p.btn a {
        display: grid;
        justify-content: center;
        color: #fff;
        /* padding: 4rem; */
        position: relative;
        text-align: center;
        align-items: flex-end;
        font-size: 2.8rem;
        border: 2px solid #fff;
        line-height: 1.2;
        height: 100%;
        padding: 2rem 0 2rem;
        border-radius: 2rem;
        font-weight: 500;
    }

    .lower_pushy_cta_wrap p.btn:first-child a {
        border-bottom-left-radius: 2rem;
    }

    .lower_pushy_cta_wrap p.btn.event a {
        background: #FF8A88;
    }

    .lower_pushy_cta_wrap p.btn.exam a {
        background: #00B8DC;
    }

    .lower_pushy_cta_wrap p.btn.payment a {
        background: #D482D0;
    }

    .lower_pushy_cta_wrap p.btn a::before {
        position: absolute;
        content: "";
        background: no-repeat 50% / contain;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 3.2rem;
        height: 3.2rem;
    }

    .lower_pushy_cta_wrap p.btn.event a::before {
        background-image: url("../images/common/icon_event.svg");
    }

    .lower_pushy_cta_wrap p.btn.exam a::before {
        background-image: url("../images/common/icon_nyushi.svg");
    }

    .lower_pushy_cta_wrap p.btn.payment a::before {
        background-image: url("../images/common/icon_nyugakukin.svg");
    }

    .lower_pushy_cta_wrap p.btn a:hover {
        opacity: .7;
    }

    /***********************************************
スマホ　ヘッダー　CTA
***********************************************/
    .lower_right_cta_wrap {
        display: flex;
        width: 24rem;
        height: 12rem;
        position: fixed;
        top: 0;
        right: 12rem;
        justify-content: flex-end;
    }
    
    .logged-in .lower_right_cta_wrap {
        top: 46px;
    }

    .lower_right_cta_wrap p.btn {
        width: 50%;
        height: 100%;
    }

    .lower_right_cta_wrap p.btn a {
        display: grid;
        justify-content: center;
        color: #fff;
        /* padding: 4rem; */
        position: relative;
        text-align: center;
        align-items: flex-end;
        font-size: 2rem;
        line-height: 1.2;
        height: 100%;
        padding: 2rem 0;
    }

    .lower_right_cta_wrap p.btn:first-child a {
        border-bottom-left-radius: 2rem;
    }

    .lower_right_cta_wrap p.btn.event a {
        background: #FF8A88;
    }

    .lower_right_cta_wrap p.btn.exam a {
        background: #00B8DC;
    }

    .lower_right_cta_wrap p.btn.payment a {
        background: #D482D0;
    }

    .lower_right_cta_wrap p.btn a::before {
        position: absolute;
        content: "";
        background: no-repeat 50% / contain;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .lower_right_cta_wrap p.btn.event a::before {
        background-image: url("../images/common/icon_event.svg");
        width: 2.8rem;
        height: 2.8rem;
    }

    .lower_right_cta_wrap p.btn.exam a::before {
        background-image: url("../images/common/icon_nyushi.svg");
        width: 2.8rem;
        height: 2.8rem;
    }

    .lower_right_cta_wrap p.btn.payment a::before {
        background-image: url("../images/common/icon_nyugakukin.svg");
        width: 2.8rem;
        height: 2.8rem;
    }

    .lower_right_cta_wrap p.btn a:hover {
        opacity: .7;
    }
}