@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: 13.5rem;
        display: grid;
        width: 28.2rem;
        grid-template-columns: repeat(2,1fr);
    }

    .sticky_btn p {
        height: 100%;
    }

    .sticky_btn p a {
        height: 100%;
        color: #fff;
        position: relative;
        display: grid;
        /* ←重要 */
        /; grid-auto-rows: auto;
        /* ←重要 */
        /; align-content: center;
        padding-top: 4.5rem;
    }

    .sticky_btn p.recruit a {
        background: var(--theme_s_color);
        border-right: 1px solid #fff;
    }

    .sticky_btn p.contact a {
        background: var(--theme_m_color);
    }
    
    .sticky_btn p a:hover {
        opacity: .7;
    }

    .sticky_btn p a::after {
        position: absolute;
        content: "";
        mask: no-repeat 50% / contain;
        background-color: #fff;
        top: 2.5rem;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .sticky_btn p.recruit a::after {
        mask-image: url("../images/common/recruit_icon.svg");
        width: 3.4rem;
        height: 3rem;
    }

    .sticky_btn p.contact a::after {
        mask-image: url("../images/common/mail.svg");
        width: 3.2rem;
        height: 2.3rem;
    }

    .sticky_btn p a span {
        margin: 0 auto;
        line-height: 1;
    }

    .sticky_btn p a .ja {
        font-size: 2rem;
        font-weight: bold;
        letter-spacing: .08em;
        margin-bottom: 1rem;
    }

    .sticky_btn p a .en {
        font-family: "Outfit", sans-serif;
        font-size: 1.4rem;
        letter-spacing: .04em;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 769px) {
    header {
        position: relative;
        z-index: 200;
        padding: 2rem 28rem 2rem 5.4rem;
        min-height: 13.5rem;
        display: flex;
        align-items: center;
    }

    header.contact_header {
        padding: 2rem 5.4rem 2rem 5.4rem;
        min-height: 10rem;
        min-height: 10rem;
        display: flex;
        align-items: center;
    }

    header > * {
        width: 100%;
    }

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

    header ul.nav_menu > li a {
        font-size: 2rem;
        font-weight: bold;
        height: 100%;
        display: block;
    }
    
    header ul.nav_menu > li:not(.menu-item-has-children) a:hover {
            color: var(--theme_m_color);
    }

    header ul.nav_menu {
        display: flex;
        align-items: center;
        margin-right: 6.5rem;
    }

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

    header ul li:not(:last-child) {
        margin-right: 4rem;
    }

    header ul.child {
        /*はじめは非表示*/
        visibility: hidden;
        opacity: 0;
        /*アニメーション設定*/
        transition: all .3s;
        position: absolute;
        top: 5rem;
        left: 50%;
        margin-bottom: -5px;
        min-width: 200px;
        transform: translateX(-50%);
        z-index: 8;
    }
    /* サブメニューの上に透明な「橋」を作る */
    header ul.child::before {
        content: "";
        position: absolute;
        top: -2.5rem; /* 隙間の大きさに合わせて調整（例: 5remの隙間ならここを調整） */
        left: 0;
        width: 100%;
        height: 2.5rem; /* 隙間を埋める高さ */
        display: block;
        /* background: rgba(255, 0, 0, 0.2); */ /* デバッグ時はこれをつけて確認すると見やすいです */
    }
    header ul.child > li {
        margin: 0 0 1rem;
        width: 100%;
        cursor: pointer;
    }

    header ul.child > li > a {
        font-size: 1.8rem;
        color: var(--theme_m_color);
        background: var(--theme_m_color);
        border: 2px solid var(--theme_m_color);
        text-align: center;
        padding: .9rem 1rem 1.2rem 1rem;
        display: grid;
        line-height: 1.5;
        cursor: pointer;
        color: #fff;
        border-radius: 3rem;
        min-height: 6rem;
        align-items: center;
        font-weight: bold;
        min-width: 25rem;
    }

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

    .h_inner {
        justify-content: space-between;
        align-items: center;
    }

    .h_inner .logo {
        line-height: 1;
        margin: 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%;
    }
}

/***********************************
// スマホ
***********************************/
@media (max-width: 768px) {
    header {
        padding: 0;
        min-height: 10rem;
    }

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

    header > * {
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    header pushy 共通
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    .h_inner {
        padding: 2.5rem 5rem;
    }

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

    .h_inner .logo a {
        display: grid;
    }

    .h_inner .logo a img {
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    pushy内
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    #pushy ul {
        padding: 10rem 3rem;
    }

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

    #pushy ul li a {
        display: block;
    }

    #pushy.hambuger_inner02 {
        background: var(--theme_m_color);
    }

    #pushy.hambuger_inner02 .bg {
        background: var(--theme_m_color);
        height: 100%;
    }

    #pushy .h_nav_wrap {
        padding: 5rem 12rem;
    }

    #pushy ul.sp_nav_menu {
        margin-bottom: 0;
        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: 2.9rem 2rem;
        border-bottom: 1px solid #fff;
        font-weight: bold;
        font-size: 4rem;
        color: #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::before, #pushy ul.sp_nav_menu:not(.child) > li:not(.menu-item-has-children) > a::after {
        position: absolute;
        content: "";
        width: 5rem;
        height: 5rem;
        top: 0;
        bottom: 0;
        margin: auto 0;
        right: 2rem;
    }

    #pushy ul.sp_nav_menu:not(.child) > li:not(.menu-item-has-children) > a::before {
        border-radius: 100%;
        background: #fff;
    }

    #pushy ul.sp_nav_menu:not(.child) > li:not(.menu-item-has-children) > a::after {
        mask: url("../images/common/btn_arrow.svg") no-repeat 50% /2rem auto;
        background: var(--theme_m_color);
    }

    #pushy ul.sp_nav_menu li.menu-item-has-children > a::after {
        content: "＋";
        top: 50%;
        font-size: 3rem;
        font-weight: 700;
        border-radius: 2em;
        border: 1px solid #fff;
        width: 5rem;
        height: 5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        color: var(--theme_m_color);
        background: #fff;
        right: 2rem;
    }

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

    #pushy ul.child {
        display: none;
    }

    #pushy ul.sp_nav_menu ul.child {
        padding: 3.5rem 0 4rem 2.5rem;
        margin-bottom: 0;
        border-bottom: 1px solid #fff;
    }

    #pushy ul.sp_nav_menu ul.child > li {
        margin-bottom: 0.5rem;
    }

    #pushy ul.sp_nav_menu ul.child > li > a {
        position: relative;
        font-size: 3.4rem;
        color: #fff;
        padding-left: 1.5em;
        letter-spacing: .08em;
    }

    #pushy ul.sp_nav_menu ul.child > li > a::before {
        position: absolute;
        content: "";
        mask: url("../images/common/btn_arrow.svg") no-repeat 50% / 2rem auto;
        background: #fff;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto 0;
        width: 2rem;
    }

    #pushy p.recruit {
        margin-bottom: 5.5rem;
    }

    #pushy p.recruit a {
        color: #fff;
        width: 52rem;
        margin: 0 auto;
        height: 14rem;
        display: grid;
        align-content: center;
        justify-content: center;
        background: var(--theme_s_color);
        border: 1px solid #fff;
        margin-bottom: 3rem;
    }

    #pushy p.recruit a span {
        display: block;
        text-align: center;
        text-align: center;
    }

    #pushy p.recruit a .ja {
        font-size: 4rem;
        letter-spacing: .08em;
        font-weight: bold;
    }

    #pushy p.recruit a .en {
        font-size: 2.4rem;
        letter-spacing: .04em;
        font-weight: 500;
        font-family: "Outfit", sans-serif;
    }

    #pushy .btn_wrap {
        padding-bottom: 20rem;
        display: grid;
        gap: 2rem;
    }

    #pushy .btn_wrap p.btn {
    }

    #pushy .btn_wrap p.btn a {
        color: #fff;
        position: relative;
        display: table;
        margin: 0 auto;
        padding-left: 10rem;
        width: 43rem;
    }

    #pushy .btn_wrap p.btn a span {
        display: block;
    }

    #pushy .btn_wrap p.btn a .num {
        font-size: 4.4rem;
        font-weight: bold;
        line-height: 1;
    }

    #pushy .btn_wrap p.btn a .open {
        font-size: 2.6rem;
        letter-spacing: .04em;
        font-weight: 600;
    }

    #pushy .btn_wrap p.btn a .ja {
        font-size: 3.8rem;
        font-weight: bold;
    }

    #pushy .btn_wrap p.btn a .en {
        font-size: 2.6rem;
        letter-spacing: .04em;
        font-weight: 600;
        font-family: "Outfit", sans-serif;
    }

    #pushy .btn_wrap p.btn a::before , #pushy .btn_wrap p.btn a::after {
        position: absolute;
        content: "";
        top: 0;
        bottom: 0;
        margin: auto 0;
        left: 0;
        width: 6rem;
        height: 6rem;
    }

    #pushy .btn_wrap p.btn a::before {
        border-radius: 100%;
        background: #fff;
    }

    #pushy .btn_wrap p.btn a::after {
        mask: no-repeat 50% / 1.9rem auto;
        background-color: var(--theme_m_color);
    }

    #pushy .btn_wrap p.btn.tel a::before , #pushy .btn_wrap p.btn.tel a::after {
    }

    #pushy .btn_wrap p.btn.tel a::before {
    }

    #pushy .btn_wrap p.btn.tel a::after {
        mask-image: url("../images/common/tel.svg");
        mask-size: 3rem auto;
    }

    #pushy .btn_wrap p.btn.contact a::before , #pushy .btn_wrap p.btn.contact a::after {
    }

    #pushy .btn_wrap p.btn.contact a::before {
    }

    #pushy .btn_wrap p.btn.contact a::after {
        mask-image: url("../images/common/mail02.svg");
        mask-size: 3.1rem auto;
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ハンバーガー (スマホ)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    header {
        min-height: 14rem;
    }

    .h_inner {
        padding: 4.5rem 10.5rem 4.5rem 5rem;
    }

    .h_inner .logo_wrap {
        gap: 7rem;
    }

    .h_inner .logo {
        width: 41.8rem;
    }

    .logged-in header .hamburger {
        top: calc(46px - -15px);
    }

    .hamburger {
        top: 20px;
        position: fixed;
        right: 2rem;
        width: 6.3rem;
        height: 2rem;
        margin-left: auto;
        background: var(--theme_m_color);
    }

    .hamburger .c_h {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 0;
        height: 2px;
        background: #fff;
        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%;
        width: 12rem;
        height: 12rem;
        right: 1.1rem;
    }

    .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: 100px;
        width: 100%;
        padding-right: 20px;
    }

    .hambuger_inner02 .bg ul.items li a {
        color: var(--main_color);
        text-decoration: none;
        padding: 15px;
        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;
    }

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

    .hamburger.ham03 {
        top: 0;
        width: 12rem;
        height: 12rem;
        right: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--theme_m_color);
        z-index: 999;
        /*background: red;*/
    }

    .hamburger.ham03 .ham_bg {
        position: relative;
        width: 6rem;
        height: 1.5rem;
        top: -1.5rem;
    }

    .hamburger.ham03 .ham_bg::after {
        content: "MENU";
        font-weight: 500;
        font-size: 2.4rem;
        margin-top: 2.5rem;
        display: grid;
        justify-content: center;
        font-family: "Outfit", sans-serif;
        color: #fff;
    }

    #pushy .hamburger .c_h {
        background: #fff;
        height: 2px;
    }

    #pushy .hamburger.ham03 .ham_bg::after {
        color: #fff;
        content: ""
    }

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

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