/* ヘッダー */

/* 背景を固定 */
body.is-fixed {
    position: fixed;
    width: 100%;
    overflow: hidden;
}
.grecaptcha-badge{
    bottom: 80px !important;
}
header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1000;
    opacity: 1;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    will-change: transform, opacity;
}

/* スクロールで隠す */
header.is-hide {
    opacity: 0;
}

.header_inner {
    display: flex;
    height: 50px;
    align-items: center;
    width: 100%;
    margin: 0px auto;
    padding: 8px 20px;
    background: #fff;
}


.header_logo-box {
    width: 104px;
}

.header_logo {
    display: block;
    background-image: url("./images/common/header_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 104px;
    height: 34px;
}

/* フロートメニュー */

.mobile_menu_wrapper {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #AC0D1D;
    color: #fff;
}

.mobile_menu {
    display: flex;
    margin: 0 auto;
    width: 100%;
}

.mobile_menu__item:nth-child(1),
.mobile_menu__item:nth-child(2) {
    flex: 2;
    /* 比率を大きくして、メインのボタンとして広げる */
}

.mobile_menu__item:last-child {
    flex: 1;
    /* 他のボタンより比率を小さく設定 */
    min-width: 70px;
    /* あまりに狭くなりすぎないように最小幅を指定しておくと安心です */
}

.mobile_menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.mobile_menu__item.contact_btn {
    background: #1C1C1C;
}

.mobile_menu__item.menu_btn {
    flex-direction: column;
}

.mobile_menu__item img {
    width: auto;
    object-fit: contain;
}

.mobile_menu__item:last-child img {
    height: 28px;
}

.mobile_menu__item span {
    font-size: 16px;
    font-weight: 500;
    color: white;
    line-height: calc(16 / 16);
    font-family: "Noto Sans JP", sans-serif;
}

.mobile_menu__item.menu_btn span {
    font-size: 10px;
}

.pop-up_menu {
    transform: translate(0, 0);
    /* これを追加！ */
}

.pop-up_menu.menu-open {
    right: 0;
}

.pop-up_menu {
    position: fixed;
    background-image: url(./images/common/pop-up_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    /* 古いブラウザ用フォールバック */
    height: 100dvh;
    /* iOSなどのツールバーを考慮した高さ */
    top: 0;
    right: -100%;
    z-index: 1002;
    transition: 0.45s ease;
    padding: 20px;
}

.pop-up_menu__wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.sp-nav__list {
    display: block;
    margin: 20px 0 140px;
}

.sp-nav {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    color: #fff;
}

.sp-nav__logo {
    width: 80px;
}

.sp-nav__logo a {
    display: block;
}

.sp-nav__logo img {
    height: auto;
    display: block;
}

/* 行の共通デザイン */
.sp-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    background: transparent;
    color: inherit;
}

.sp-nav__item:not(:last-child) {
    margin-bottom: 30px;
}


/* テキスト */
.sp-nav__text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: calc(28 / 16);
}

/* アコーディオン用ボタン */
.sp-nav__item--accordion {
    border: none;
    border-bottom: 1px solid #fff;
    background: none;
    padding-right: 8px;
}

/* ＋アイコン */
.sp-nav__icon {
    display: block;
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.sp-nav__icon::before,
.sp-nav__icon::after {
    content: "";
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.35s ease;
}

.sp-nav__icon::before {
    width: 14px;
    height: 2px;
}

.sp-nav__icon::after {
    width: 2px;
    height: 14px;
}

/* 開いている時は「−」にする */
.sp-nav__accordion.is-open .sp-nav__icon::after {
    opacity: 0;
}

.sp-nav__accordion.is-open .sp-nav__item--accordion {
    border: none;
}

/* パネル部分 */
.sp-nav__panel {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition:
        max-height 0.35s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.sp-nav__accordion.is-open .sp-nav__panel {
    max-height: 400px;
    /* 中身より少し大きめならOK。気になるなら後述JSで自動にする */
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.sp-nav__panel-link {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: calc(14 / 14);
    color: #fff;
    text-decoration: none;
    text-align: left;
}

.sp-nav__panel-link:not(:last-child) {
    padding-bottom: 32px;
}

.close-button {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: fit-content;
}

.close-button img {
    width: 100%;
    max-width: 30px;
}

.close_button_text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: calc(14 / 14);
}

.header_nav-layout {
    display: none;
}


@media (min-width:768px) {

    .mobile_menu_wrapper,
    .pop-up_menu {
        display: none;
    }

    header {
        background: linear-gradient(to right, #fff 0%, #fff 1000px, rgba(255, 255, 255, 0) 380px), url("./images/common/header_inner_bg.png") repeat;
    }

    .header_inner {
        display: flex;
        align-items: center;
        background: url("./images/common/header_inner_bg.png") repeat;
        width: 100%;
        max-width: 1366px;
        min-height: 80px;
        margin: 0px auto;
        padding: 0;
    }

    .header_logo-box {
        width: 100%;
        max-width: clamp(200px, calc(314px + 50vw - 570px), 314px);
        height: 80px;
        padding: 13px 0;
        background: #fff;
        clip-path: polygon(-2px 0, 100% 0%, 85% 100%, -2px 100%);
        border: none;
        outline: none;
        overflow: hidden;
    }

    .header_logo {
        max-width: clamp(100px, calc(160px + 50vw - 570px), 160px);
        height: 54px;
        /* margin-left: clamp(30px, calc(90px + 50vw - 570px), 90px); */
        margin: auto;
        border: none;
        outline: none;
    }

    .header_nav-layout {
        display: flex;
        align-items: center;
        margin-left: clamp(15px, calc(30px + 50vw - 570px), 30px);
    }

    .header_nav-list {
        display: flex;
        align-items: flex-start;
        flex-shrink: 0;
        gap: clamp(20px, calc(38px + 50vw - 770px), 38px);
        color: #333;
    }

    .header_nav-item {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }

    .header_nav-item .nav-item_link {
        font-size: clamp(14px, calc(16px + 50vw - 570px), 16px);
        font-weight: bold;
        color: #fff;
        line-height: calc(16 / 16);
        font-family: "Noto Sans JP", sans-serif;
        text-align: center;
    }

    .header_nav-item .nav-item_link:hover {
        opacity: .7;
    }

    .arrow_span {
        display: block;
        background-image: url("./images/common/arrow_icon.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        width: 10px;
        height: 6px;
    }

    .header_nav_contact {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: 50px;
    }

    [class*="header_contact-btn"] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(100px, calc(140px + 50vw - 620px), 140px);
        max-width: 100%;
        height: 54px;
        border-radius: 6px;
        font-size: clamp(12px, calc(16px + 50vw - 620px), 16px);
        font-weight: 500;
        color: #fff;
        line-height: calc(16 / 16);
        font-family: "Noto Sans JP", sans-serif;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .header_contact-btn--recruit {
        background: #AC0D1D;
    }

    .header_contact-btn--contact {
        background: #1C1C1C;
    }

    .header_contact-btn--recruit:hover {
        background: var(--point-color);
        color: var(--main-color);
        border: 1px solid var(--main-color);
    }

    .header_contact-btn--contact:hover {
        background: var(--point-color);
        color: var(--sub-color);
        border: 1px solid var(--sub-color);
    }

    .header_nav-item.header_nav-item--has-popup .nav-item_link {
        /* pointer-events: none; */
    }

    .nav-card {
        max-width: clamp(150px, calc(215px + 50vw - 570px), 215px);
        height: clamp(80px, calc(100px + 50vw - 570px), 100px);
        pointer-events: inherit;
    }

    /* ポップアップ持ちの li をポジションの基準にする */
    .header_nav-item--has-popup {
        position: relative;
    }

    /* ポップアップ：ヘッダーの高さには影響させない */

    .header_nav-popup {
        position: absolute;
        left: 50%;
        top: 50%;
        width: max-content;
        height: clamp(152px, calc(172px + 50vw - 570px), 172px);
        padding: 15px clamp(15px, calc(30px + 50vw - 570px), 30px);
        background: rgba(255, 255, 255, 0.9);
        border-radius: 11px;
        box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.17);
        display: flex;
        justify-content: center;
        gap: clamp(10px, calc(24px + 50vw - 570px), 24px);
        z-index: 900;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 25%);
        transition:
            opacity .4s ease,
            transform .4s ease,
            visibility .4s;
    }

    /* ホバーで表示 */
    .header_nav-item--has-popup:hover .header_nav-popup {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 25%);
        pointer-events: auto;
    }

    .nav-card__thumb {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
        margin-bottom: 10px;
        transition:
            box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .nav-card:hover .nav-card__thumb {
        box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.27);
    }


    .nav-card__title {
        font-size: clamp(12px, calc(14px + 50vw - 570px), 14px);
        font-weight: bold;
        color: #1C1C1C;
        line-height: calc(32 / 14);
        font-family: "Noto Sans JP", sans-serif;
        text-align: left;
    }

}

@media (min-width: 768px) and (max-width: 1000px) {

    .header_nav-popup {
        position: absolute;
        left: 50%;
        top: 50%;
    }

    .header_nav-list {
        gap: 15px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {

    .header_nav_contact {
        flex-wrap: wrap;
        width: 100px;
        margin-left: 30px;
    }


    [class*="header_contact-btn"] {
        height: 30px;
    }
}



/* フッター */


.footer_wrapper {
    background: var(--point-color);
    display: block;
    background-image: url("./images/common/footer_inner_bg.png");
    background-size: contain;
    background-position: center center;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.footer_inner {
    width: fit-content;
    margin: 0 auto;
    padding: 40px 40px 20px;
}

.footer_block {
    display: flex;
    gap: 40px;
}

.footer_logo-box {
    width: 100%;
    max-width: 134px;
    margin-bottom: 16px;
}

.footer_logo {
    display: block;
    background-image: url("./images/common/footer_logo.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    max-width: 134px;
    height: 92px;
}

footer [class*="ui-btn"] {
    width: 153px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--point-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
    margin: 0 auto;
    position: relative;
    padding-right: 15px;
}

footer .arrow_icon {
    content: "";
    position: absolute;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    top: 50%;
    right: 8.5%;
    transform: translate(0, -50%);
}

footer .arrow_icon::after {
    content: '';
    width: 3px;
    height: 3px;
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: -1%;
    left: 0;
    right: 5%;
    bottom: 0;
    margin: auto;
}

footer .ui-btn--red {
    margin-bottom: 16px;
}

.footer_info {
    margin-bottom: 40px;
}

[class*="footer_text"] {
    font-size: 14px;
    font-weight: 400;
    color: var(--point-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
    margin-bottom: 8px;
}

.footer_text--company {
    font-weight: bold;
}

.footer_text--eigyotime {
    line-height: calc(20 / 14);
}

.footer_text--tel {
    font-size: 21px;
    font-weight: 600;
    color: var(--point-color);
    line-height: calc(21 / 21);
    font-family: var(--pinpoint-font);
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

.footer_text--tel a {
    color: var(--point-color);
}

.footer_text--tel::before {
    content: "";
    background-image: url("./images/common/footer_tel_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 21px;
    height: 21px;
}

.footer-nav {
    margin-bottom: 40px;
}

.footer-nav__top {
    margin-bottom: 20px;
}

.footer-nav__top-item {
    margin-bottom: 20px;
}

.footer-nav__top-link,
.footer-nav__block,
.footer-nav__heading {
    font-size: 14px;
    font-weight: bold;
    color: var(--point-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
}

.footer-nav__block,
.footer-nav__heading {
    margin-bottom: 20px;
}

.footer-nav__block.footer-nav__block--single {
    margin-top: 20px;
}

.footer-nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav__link {
    font-size: 14px;
    font-weight: 400;
    color: var(--point-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
}

.footer-nav__block--single,
.footer-nav__privacy {
    font-size: 14px;
    font-weight: bold;
    color: var(--point-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
}

.top_move-btn {
    display: block;
    width: 65px;
    height: 48px;
    margin: 0 auto 10px;
}

.top_move-btn img {
    width: 65px;
    height: 48px;
}

.copy_right {
    background: #fff;
    padding: 8px 0 68px;
}

.copy_right_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
    text-align: center;
}


.pc, .pc-in, .pc-inbl, .tabpc-inbl {
    display: none;
}

.pc-flex {
    display: none;
}

.sp-flex {
    display: flex;
}

.sp {
    display: block;
}

.sp-in {
    display: inline;
}

.sp-inbl {
    display: inline-block;
}


@media (min-width:768px) {

    .pc {
        display: block;
    }

    .pc-flex {
        display: flex;
    }

    .sp-flex {
        display: none;
    }

    .pc-in {
        display: inline;
    }

    .pc-inbl, .tabpc-inbl {
        display: inline-block;
    }

    .sp, .sp-in, .sp-inbl {
        display: none;
    }

    .footer_inner {
        max-width: 1120px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        padding: 40px 20px 10px;
    }

    .footer_block-box {
        max-width: 200px;
    }

    .footer_logo-box {
        margin-bottom: 12px;
    }

    .footer_info-sub {
        margin-top: 16px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-flex_box {
        display: flex;
    }


    footer [class*="ui-btn"] {
        width: clamp(200px, calc(230px + 50vw - 570px), 230px);
        height: 50px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 400;
        line-height: calc(16 / 16);
    }

    footer .arrow_icon {
        width: 20px;
        height: 20px;
    }

    footer .arrow_icon::after {
        width: 5px;
        height: 5px;
    }

    .footer_contact-btn {
        margin-left: clamp(10px, calc(20px + 50vw - 570px), 20px);
    }

    footer .ui-btn--red {
        margin-bottom: 30px;
    }

    .top_move-btn {
        margin: -40px auto 10px;
    }

    .copy_right {
        background: #fff;
        padding: 8px;
    }

}

.fadeIn {
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
    will-change: transform, opacity;
}

.fadeIn.animated {
    opacity: 1;
}

.fadeInUp {
    transform: translate3d(0, 50px, 0);
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
}

.fadeInUp.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}