@charset "utf-8";
/*2026.9.11*/
/*------------------------------------------------
* パーソナルジム向けカスタムスタイル (Blueテーマ)
-------------------------------------------------*/

/************共通************/
/* 見出しあしらい（Blueテーマ） */
.s-section-title-en {
    display: block;
    font-size: 0.85rem;
    color: #3b82f6; /* tx-blueと同じ色 */
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* 英字を主役にしたセクション見出し（Stylist など） */
.s-section-title-en-lg {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.s-section-title-ja {
    display: block;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
}

/* フッタークレジット（BasicType） */
.s-footer-credit-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.s-footer-credit-link:hover {
    color: #3b82f6;
}

.s-footer-area .footer-bottom-area {
    background-color: #ffffff;
}

.s-footer-area .footer-bottom-area .tx-white-8 {
    color: #6c757d !important;
}

@media (max-width: 575.98px) {
    .s-section-title-en-lg {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }
}

/* セクション見出し下のリード：PCは中央、スマホは左揃え */
@media (max-width: 767.98px) {
    .s-recruit-section-head > p {
        text-align: left;
    }
}

/* セクション背景のバリエーション */
.s-section-white { background-color: #ffffff; }
.s-section-soft-blue {
    background-color: #e9ecef;
}

/* カードの共通デザイン */
.s-modern-card {
    border: none !important;
    background: #fff;
}

/* 角丸はボタンのみ（それ以外は直角） */
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-circle,
.rounded-pill,
.card,
.s-modern-card,
.accordion-item,
.accordion-button,
.badge,
.form-control,
.form-select {
    border-radius: 0 !important;
}

/* ボタン（rounded-pill 解除の上書き） */
.btn.rounded-pill,
a.btn.rounded-pill {
    border-radius: 50rem !important;
}

.scrolltotop.button-circle,
#back-to-top.button-circle {
    border-radius: 50% !important;
}

/* セクション見出し下の中央寄せデコレーション線 */
.custom-line-3.s-section-line-center {
    width: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

/************トップページ（Hero：左右分割レイアウト）************/
.hero-section {
    margin-top: -70px;
    min-height: 100vh;
    height: auto;
    background-color: #ffffff;
    display: block;
}

.s-hero-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.s-hero-section__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 70px clamp(1.5rem, 5vw, 3rem) 0;
    background-color: #ffffff;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.s-hero-section__copy .hero-content {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    flex: 0 1 auto;
    box-sizing: border-box;
}

.s-hero-section__eyebrow {
    color: #3b82f6;
    font-weight: 600;
}

.s-hero-section__period {
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.s-hero-section__test-note {
    color: #6c757d;
    letter-spacing: 0;
}

.s-hero-section__stat {
    line-height: 1;
    margin-top: 0.35rem;
}

/* FV 例外: 巨大数値（基本段階外・#hero のみ） */
.s-hero-section__stat-num {
    font-size: clamp(4.25rem, 10vw, 7.25rem);
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: -0.02em;
}

/* FV 例外: tx-1-5〜tx-2 相当 */
.s-hero-section__stat-unit {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #3b82f6;
    font-weight: 700;
    margin-left: 0.1em;
}

.s-hero-section__stat-label {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.s-hero-section__stat-note {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

/* FV 例外: tx-1-5〜tx-2 相当 */
.s-hero-section__title {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    color: #121518;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.s-hero-section__title-line {
    display: block;
}

.s-hero-section__title-mark {
    background: linear-gradient(transparent 58%, #dbeafe 58%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.s-hero-section__title-accent {
    color: #3b82f6;
}

.s-hero-section__title-sub {
    display: block;
    margin-top: 0.25rem;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    letter-spacing: 0.06em;
    text-align: right;
}

@media (min-width: 768px) {
    .s-hero-section__title {
        font-size: clamp(1.5rem, calc((50vw - 2 * clamp(1.5rem, 5vw, 3rem)) / 11.5), 3.25rem);
    }

    .s-hero-section__title-line {
        white-space: nowrap;
    }
}

.s-hero-section__lead {
    color: #121518;
    font-weight: 600;
    margin-bottom: 1rem;
}

.s-hero-metric {
    background-color: #e9ecef;
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
    border-radius: 0.75rem;
    padding: 0.65rem 1rem;
    min-width: 8.5rem;
}

.s-hero-section__copy .s-hero-metric {
    text-align: center;
}

.s-hero-metric__value {
    display: block;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1.2;
}

.s-hero-metric__label {
    display: block;
    color: #6c757d;
    margin-top: 0.2rem;
}

.s-hero-section__visual {
    position: relative;
    min-height: 100%;
    width: 100%;
    overflow: hidden;
}

.s-hero-section__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.15) 0%, transparent 35%);
    z-index: 1;
    pointer-events: none;
}

.s-hero-section__visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.s-hero-section__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right 28%;
    display: block;
}

.s-hero-section__location {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    background-color: rgba(59, 130, 246, 0.95);
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

@media (min-width: 768px) {
    .hero-section {
        height: 85vh;
        min-height: 85vh;
        max-height: 85vh;
    }

    .s-hero-section__inner {
        height: 100%;
        min-height: 0;
        max-height: 100%;
    }

    .s-hero-section__copy,
    .s-hero-section__visual {
        min-height: 0;
        height: 100%;
    }

    .s-hero-section__location {
        padding: 0.65rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    /* FV：スマホ（school型オーバーレイ） */
    .hero-section {
        margin-top: 0;
        min-height: 0;
    }

    .hero-section .s-hero-section__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .hero-section .s-hero-section__visual {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: min(calc(100vw * 5 / 4), 70vh);
        max-height: 70vh;
        overflow: hidden;
        background-color: #ffffff;
    }

    .hero-section .s-hero-section__visual::before {
        display: none;
    }

    .hero-section .s-hero-section__visual picture {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero-section .s-hero-section__img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: 50% 38%;
    }

    .hero-section .s-hero-section__location {
        display: none;
    }

    .hero-section .s-hero-section__title {
        position: absolute;
        top: calc(70px - 1.5em);
        left: 5%;
        right: 5%;
        z-index: 3;
        display: block;
        width: auto;
        max-width: none;
        margin-inline: 0;
        margin-bottom: 0;
        font-size: clamp(1.6rem, 7.8vw, 2.05rem);
        line-height: 1.45;
        letter-spacing: 0.02em;
        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.95),
            0 0 16px rgba(255, 255, 255, 0.85),
            0 0 28px rgba(255, 255, 255, 0.7);
    }

    .hero-section .s-hero-section__title-line {
        white-space: nowrap;
    }

    .hero-section .s-hero-section__title-mark {
        background: linear-gradient(transparent 58%, #93c5fd 58%);
    }

    .hero-section .s-hero-section__copy {
        order: 2;
        position: static;
        min-width: 0;
        background-color: #ffffff;
        padding: 1rem 0.75rem 2rem;
    }

    .hero-section .s-hero-section__copy .hero-content {
        position: static;
        width: 100%;
        margin-inline: 0;
    }

    .hero-section .s-hero-section__eyebrow {
        text-align: center;
    }

    .hero-section .s-hero-section__lead {
        text-align: center;
    }

    .hero-section .s-hero-section__copy .hero-content > ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .hero-section .s-hero-metric {
        flex: 1 1 calc(33.333% - 0.35rem);
        min-width: 0;
        padding: 0.65rem 0.5rem;
    }

    .hero-section .s-hero-metric__value {
        font-size: 1.2rem !important;
        line-height: 1.25;
        white-space: normal;
    }

    .hero-section .s-hero-metric__unit {
        font-size: 0.8rem !important;
        font-weight: 700;
    }

    .hero-section .s-hero-metric__label {
        font-size: 0.8rem !important;
        line-height: 1.35;
    }

    .hero-section .s-hero-section__actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-top: 0.25rem;
    }

    .hero-section .s-hero-section__actions .btn-custom {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .s-hero-metric {
        flex: 1 1 calc(33.333% - 0.5rem);
        min-width: 0;
        padding: 0.65rem 0.75rem;
    }

    .s-hero-section__actions .btn-custom {
        width: 100%;
        text-align: center;
    }
}

.s-hero-section__sub-link {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.45);
    padding-bottom: 0.1rem;
    font-weight: 400;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.s-hero-section__sub-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.header .header-logo img,
.header .header-logo .s-site-logo {
    height: 28px;
    width: auto;
    max-width: none;
    filter: brightness(0) invert(1);
}

.footer-top-area .s-site-logo {
    display: block;
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 1199.98px) {
    .header .header-logo img,
    .header .header-logo .s-site-logo {
        height: 24px;
    }
}

.s-header-tel-link {
    font-weight: 600;
    white-space: nowrap;
}

/* ヘッダーCTA：青背景上で白ボタンにしてコントラスト確保 */
body.homepage .header .s-header-nav-cta .btn-custom {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0d6efd;
    font-weight: 600;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

body.homepage .header .s-header-nav-cta .btn-custom:hover {
    background-color: #f0f4ff;
    border-color: #f0f4ff;
    color: #0a58ca;
}

/* スマホ・タブレット：ドロワーメニューは白背景（header-blue の上書きを解除） */
@media (max-width: 1199.98px) {
    body.homepage .header.header-blue .header-menu {
        background-color: #ffffff;
        border-left: 1px solid #e2e6ea;
    }

    body.homepage .header.header-blue .header-menu .nav .nav-item {
        border-bottom-color: #e2e6ea;
    }

    body.homepage .header.header-blue .header-menu .nav .nav-link {
        color: #121518;
    }

    body.homepage .header.header-blue .header-menu .nav .nav-link.active,
    body.homepage .header.header-blue .header-menu .nav .nav-link:hover {
        color: #0d6efd;
    }

    body.homepage .header.header-blue .header-menu .header-menu-close {
        border-top-color: #e2e6ea;
    }

    body.homepage .header.header-blue .header-menu .header-menu-close .close-btn {
        color: #121518;
    }

    body.homepage .header.header-blue .header-menu .header-menu-close .close-btn:hover {
        color: #0d6efd;
    }

    body.homepage .header.header-blue .s-header-nav-cta .btn-custom {
        background-color: #3b82f6;
        border-color: #3b82f6;
        color: #ffffff;
    }

    body.homepage .header.header-blue .s-header-nav-cta .btn-custom:hover {
        background-color: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
    }
}

/* ヘッダーナビ：折り返し防止（HOME削除分でフル表記を維持） */
@media (min-width: 1200px) {
    body.homepage .header .header-menu .nav {
        flex-wrap: nowrap;
        align-items: center;
    }

    body.homepage .header .header-menu .nav .nav-item {
        margin-left: 0.3rem;
    }

    body.homepage .header .header-menu .nav .nav-link {
        font-size: 1rem;
        white-space: nowrap;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    body.homepage .header .header-menu .nav .s-header-nav-cta .btn-custom {
        font-size: 1rem;
        white-space: nowrap;
        margin-top: 0;
    }
}

@media (min-width: 1400px) {
    body.homepage .header .header-menu .nav .nav-item {
        margin-left: 0.45rem;
    }

    body.homepage .header .header-menu .nav .nav-link {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
}

/************セクション共通（Hero以外）************/
.s-recruit-section-head {
    margin-bottom: 3rem;
}

/* --- Problems --- */
.s-recruit-problem-card {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 12px 40px rgba(18, 21, 24, 0.08);
    padding: 1.5rem 1.25rem;
    height: 100%;
}

.s-recruit-problem-card__num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.s-recruit-problem-card h3 {
    color: #121518;
}

.s-recruit-problem-card p {
    color: #6c757d;
}

/* --- Flow steps（選考フロー） --- */
.s-recruit-flow-step {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-top: 4px solid #3b82f6;
    box-shadow: 0 12px 40px rgba(18, 21, 24, 0.08);
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
}

.s-recruit-flow-step__num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.s-recruit-flow-step h3 {
    color: #121518;
    font-size: 1rem;
}

.s-recruit-flow-step p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .s-recruit-flow-timeline {
        position: relative;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .s-recruit-flow-timeline::before {
        content: '';
        position: absolute;
        left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 1.625rem);
        top: calc(var(--bs-gutter-y, 1.5rem) * 0.5 + 1.625rem);
        bottom: calc(var(--bs-gutter-y, 1.5rem) * 0.5 + 1.625rem);
        width: 2px;
        transform: translateX(-50%);
        background-color: rgba(59, 130, 246, 0.45);
        z-index: 0;
    }

    .s-recruit-flow-timeline .s-recruit-flow-step {
        display: grid;
        grid-template-columns: 3.25rem 1fr;
        column-gap: 1rem;
        align-items: start;
        height: auto;
        padding: 0 0 2rem;
        text-align: left;
        background-color: transparent;
        border: none;
        box-shadow: none;
    }

    .s-recruit-flow-timeline > [class*="col"]:last-child .s-recruit-flow-step {
        padding-bottom: 0;
    }

    .s-recruit-flow-timeline .s-recruit-flow-step__num {
        grid-row: 1 / span 2;
        width: 3.25rem;
        height: 3.25rem;
        margin-bottom: 0;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #3b82f6;
        border-radius: 50%;
        background-color: #ffffff;
        position: relative;
        z-index: 1;
    }

    .s-recruit-flow-timeline .s-recruit-flow-step h3 {
        margin-bottom: 0.35rem;
    }
}

/* --- Feature / Plan cards --- */
.s-recruit-feature-card,
.s-recruit-plan-card {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-top: 4px solid #3b82f6;
    box-shadow: 0 12px 40px rgba(18, 21, 24, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.s-recruit-feature-card__photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.s-recruit-feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s-recruit-feature-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.s-recruit-feature-card .s-icon-area,
.s-recruit-plan-card .s-icon-area {
    width: 3.25rem;
    height: 3.25rem;
    background-color: #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.s-recruit-plan-card--featured {
    border-top-width: 6px;
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2);
    position: relative;
}

.s-recruit-plan-card--featured::before {
    content: '人気No.1';
    position: absolute;
    top: 0;
    right: 1rem;
    background-color: #3b82f6;
    color: #121518;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    letter-spacing: 0.05em;
}

.s-recruit-plan-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* --- Trainer panel --- */
.s-recruit-trainer-panel {
    background-color: #ffffff;
    padding: 2rem;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 12px 40px rgba(18, 21, 24, 0.06);
}

/* --- Stats --- */
.s-recruit-stat-card {
    background-color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 24px rgba(18, 21, 24, 0.06);
    padding: 1.75rem 1rem;
    height: 100%;
    text-align: center;
}

.s-recruit-stat-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.s-recruit-stat-card__value span {
    font-size: 0.55em;
    font-weight: 700;
}

.s-recruit-stat-card__label {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* --- Before/After --- */
.s-recruit-ba-card {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    height: 100%;
}

.s-recruit-ba-card .s-style-card-img-wrap {
    position: relative;
}

.s-recruit-ba-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.s-recruit-ba-badge--before {
    background-color: #e9ecef;
    color: #121518;
}

.s-recruit-ba-badge--after {
    background-color: #3b82f6;
    color: #121518;
}

.s-recruit-ba-card .s-style-card-caption {
    padding: 1rem 1.15rem;
    background-color: #fafafa;
}

/* --- Reviews --- */
.s-recruit-review-card {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 12px 40px rgba(18, 21, 24, 0.08);
    padding: 1.75rem 1.5rem 1.25rem;
    position: relative;
}

.s-recruit-review-card__photo {
    width: 12rem;
    height: 12rem;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #3b82f6;
}

.s-recruit-review-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
}

.s-recruit-review-card__quote {
    font-size: 3rem;
    line-height: 1;
    color: #3b82f6;
    font-weight: 800;
    opacity: 0.35;
    position: absolute;
    top: 0.25rem;
    left: 1rem;
}

.s-recruit-review-card h3 {
    position: relative;
    z-index: 1;
}

.s-recruit-review-card__meta {
    font-size: 0.8rem;
    color: #3b82f6;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.s-recruit-review-card__anxiety {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    background-color: #fafafa;
    border-left: 4px solid #3b82f6;
}

.s-recruit-review-card__anxiety-label {
    flex: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    padding-top: 0.1rem;
}

.s-recruit-review-card__anxiety p {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.6;
}

.s-recruit-review-card__message {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    background-color: rgba(59, 130, 246, 0.08);
    border-left: 4px solid #3b82f6;
}

.s-recruit-review-card__message-label {
    flex: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #3b82f6;
    padding-top: 0.1rem;
}

.s-recruit-review-card__message p {
    font-size: 0.8rem;
    font-weight: 500;
    color: #121518;
    line-height: 1.6;
}

.s-recruit-review-card__timeline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d1d5db;
}

.s-recruit-review-card__timeline-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #3b82f6;
    margin-bottom: 0.65rem;
}

.s-recruit-review-card__timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.s-recruit-review-card__timeline-list li {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.2rem 0;
    font-size: 0.8rem;
}

.s-recruit-review-card__timeline-time {
    flex: none;
    width: 3.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.s-recruit-review-card__timeline-text {
    color: #6c757d;
}

/* --- FAQ --- */
#faq .accordion-item {
    border: 1px solid #d1d5db !important;
    border-left: 4px solid #3b82f6 !important;
    margin-bottom: 1rem !important;
}

#faq .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #121518;
    box-shadow: none;
}

#faq .accordion-body {
    background-color: #fafafa !important;
    border-top: 1px solid #eee;
}

/* トップページ：中身単位のスクロール表示（CSS only / FV・フッター除外） */
@keyframes homepage-scroll-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 3.5rem, 0);
    }
    35% {
        opacity: 0.2;
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@supports (animation-timeline: view()) {
    body.homepage .s-homepage-reveal {
        animation: homepage-scroll-reveal cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-timeline: view();
        animation-range: entry 0% cover 50%;
    }

    /* 同一行内で段階的に表示 */
    body.homepage .row > div:nth-child(1) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(1).s-homepage-reveal {
        animation-range: entry 0% cover 50%;
    }
    body.homepage .row > div:nth-child(2) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(2).s-homepage-reveal {
        animation-range: entry 10% cover 60%;
    }
    body.homepage .row > div:nth-child(3) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(3).s-homepage-reveal {
        animation-range: entry 20% cover 70%;
    }
    body.homepage .row > div:nth-child(4) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(4).s-homepage-reveal {
        animation-range: entry 30% cover 80%;
    }
    body.homepage .row > div:nth-child(5) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(5).s-homepage-reveal {
        animation-range: entry 15% cover 65%;
    }
    body.homepage .row > div:nth-child(6) > .s-homepage-reveal,
    body.homepage .row > div:nth-child(6).s-homepage-reveal {
        animation-range: entry 25% cover 75%;
    }
}

/* Contact以降：スクロール表示アニメーションなし */
body.homepage #contact .s-homepage-reveal,
body.homepage #legal .s-homepage-reveal {
    animation: none;
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body.homepage .s-homepage-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* コンセプトセクションの画像デコレーション */
.s-concept-image-wrapper {
    position: relative;
    padding: 20px;
}
/* 背後に薄いオレンジ系のボックスを配置しておしゃれに */
.s-concept-image-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: #e9ecef; 
    border-radius: 0;
    z-index: 0;
}
.s-concept-img {
    position: relative;
    z-index: 1;
    border-radius: 0;
}

/* スタイル事例ギャラリー */
.s-style-card {
    overflow: hidden;
    background: transparent;
}
.s-style-card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.s-style-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.s-style-card-caption {
    padding: 0.75rem 0.85rem 0.85rem;
    text-align: left;
}
.s-style-card-caption p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #7a828a;
    line-height: 1.6;
    margin-bottom: 0.15rem;
}
.s-style-card-caption p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .s-style-card-img-wrap {
        aspect-ratio: 1 / 1;
    }
}

/************スマホ用フローティングCTA（Orange版）************/
@media (max-width: 767px) {
    .s-sp-floating-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        z-index: 9999;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
        height: 56px; 
    }

    .s-sp-floating-cta a {
        flex: 1;
        display: flex;
        flex-direction: row; 
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem; 
        transition: background-color 0.3s;
    }

    .s-sp-floating-cta a i {
        font-size: 1.2rem;
    }

    /* 無料体験（主CTA：Orange塗り） */
    .s-btn-cta-web {
        background-color: #3b82f6;
        color: #ffffff !important;
    }

    /* 電話相談（副CTA：薄いOrange） */
    .s-btn-cta-tel {
        background-color: #e9ecef;
        color: #3b82f6 !important;
    }

    .s-sp-floating-cta a:active { opacity: 0.8; }

    /* 隙間調整用 */
    body { padding-bottom: 0 !important; }
    .s-footer-area { padding-bottom: 0 !important; }
    .s-footer-area > div:last-child { padding-bottom: 75px !important; }
    #back-to-top { bottom: 75px !important; }
}

@media (min-width: 768px) {
    .s-sp-floating-cta { display: none !important; }
}

/************体験申込みフォーム（#contact）************/
html {
    scroll-behavior: auto;
}

#contact,
#form-errors {
    scroll-margin-top: 70px;
}

.s-contact-form-container,
.form-control,
.form-select,
.required-badge,
.captcha-code {
    border-radius: 0 !important;
}

.s-contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid #d1d5db;
    box-shadow: 0 12px 40px rgba(27, 30, 36, 0.06);
}

.error-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.error-container .alert-heading,
.error-container .alert > p {
    text-align: center;
}

.s-contact-form-container .form-label {
    font-weight: 600;
    color: #343a40;
}

.form-group-row {
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .s-contact-form-container .form-label {
        text-align: right;
        padding-right: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .s-contact-form-container {
        padding: 1rem;
    }
}

.s-thanks-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

/************法務表記（#legal）************/
.s-legal-block + .s-legal-block {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#legal-tokusho,
#legal-privacy {
    scroll-margin-top: 5rem;
}

.s-legal-intro {
    margin: 0 0 1.5rem;
    line-height: 1.9;
    color: #6c757d;
}

.s-info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

.s-info-table th,
.s-info-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #ece7e2;
    text-align: left;
    vertical-align: top;
}

.s-info-table th {
    width: 6.5rem;
    font-weight: 600;
    color: #495057;
    background-color: #fafafa;
}

.s-legal-table th {
    width: 11rem;
}

.s-legal-scroll-box {
    max-height: 280px;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.s-legal-body {
    line-height: 1.9;
    color: #6c757d;
}

.s-legal-body h4 {
    margin: 2rem 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
}

.s-legal-body h4:first-of-type {
    margin-top: 0;
}

.s-legal-body p {
    margin: 0 0 1rem;
}

.s-legal-body ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.s-legal-body li + li {
    margin-top: 0.35rem;
}

.s-legal-body a {
    color: #343a40;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.s-legal-body a:hover {
    color: #3b82f6;
}

.s-legal-body__date {
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid #ece7e2;
    color: #adb5bd;
}

.form-check-label a {
    color: #343a40;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.form-check-label a:hover {
    color: #3b82f6;
}

.s-form-flow-note a {
    color: #343a40;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.s-form-flow-note a:hover {
    color: #3b82f6;
}

@media (max-width: 767.98px) {
    .s-legal-table tbody,
    .s-legal-table tr,
    .s-legal-table th,
    .s-legal-table td {
        display: block;
        width: 100%;
    }

    .s-legal-table th {
        border-bottom: 0;
        padding-bottom: 0.35rem;
    }

    .s-legal-table td {
        border-top: 0;
        padding-top: 0;
        padding-bottom: 1rem;
    }

    .s-legal-table td,
    .s-legal-table th {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .s-legal-scroll-box {
        max-height: 240px;
        padding: 1rem;
    }
}

/* ========== セクション見出し（school型） ========== */
body.homepage .s-recruit-v3-bg-white {
    background-color: #ffffff;
}

body.homepage .s-recruit-v3-bg-gray {
    background-color: #e9ecef;
}

body.homepage .s-recruit-v3-bg-blue {
    background-color: #dbeafe;
}

body.homepage .s-recruit-v3-section-heading {
    position: relative;
    text-align: left;
    margin-bottom: 3rem;
    padding-top: 1.5rem;
    overflow: hidden;
}

body.homepage .s-recruit-v3-section-heading::before {
    content: attr(data-en);
    position: absolute;
    top: 0;
    left: -0.04em;
    font-size: clamp(3.25rem, 9vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    color: rgba(59, 130, 246, 0.14);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

body.homepage .s-recruit-v3-bg-gray .s-recruit-v3-section-heading::before,
body.homepage .s-recruit-v3-bg-blue .s-recruit-v3-section-heading::before {
    color: rgba(59, 130, 246, 0.12);
}

body.homepage .s-recruit-v3-section-heading h2 {
    position: relative;
    margin-bottom: 0.5rem;
}

body.homepage .s-recruit-v3-section-heading h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background-color: #3b82f6;
    margin-top: 1.1rem;
}

body.homepage .s-recruit-v3-section-title-ja {
    display: block;
    position: relative;
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #3b82f6;
}

body.homepage .s-recruit-v3-section-lead {
    position: relative;
    margin: 0.85rem 0 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

body.homepage .s-recruit-v3-section-catch {
    position: relative;
    color: #121518;
    line-height: 1.4;
}

body.homepage .s-recruit-v3-section-note {
    position: relative;
    margin: 0.5rem 0 0;
    color: #6c757d;
}

/* 募集要項：見出し（左寄せ）とテーブルの左端を揃える */
body.homepage #requirements .s-contact-form-container {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body.homepage #requirements .s-info-table th,
body.homepage #requirements .s-info-table td {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    body.homepage .s-recruit-v3-section-heading::before {
        color: rgba(59, 130, 246, 0.16);
    }

    body.homepage .s-recruit-v3-bg-gray .s-recruit-v3-section-heading::before,
    body.homepage .s-recruit-v3-bg-blue .s-recruit-v3-section-heading::before {
        color: rgba(59, 130, 246, 0.14);
    }

    body.homepage .s-recruit-v3-section-title-ja {
        font-size: 1.55rem;
    }
}

@media (max-width: 575.98px) {
    body.homepage .s-recruit-v3-section-title-ja {
        font-size: 1.45rem;
    }
}
