/* ===============================
   基本設定
   =============================== */
:root {
    --color-bg: #ffffff;
    --color-text: #222222;
    --color-muted: #666666;
    --color-accent: #6f42c1;       /* メインカラー：チームカラーに変更OK */
    --color-accent-soft: #ffe5da;
    --color-border: #e5e5e5;
    --color-hero-bg: #fff7f2;

    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 固定ヘッダーぶんの余白を指定 */
    scroll-padding-top: 70px;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 70px;  /* 固定ヘッダー分 */
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

/* リンクの基本スタイル */
a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/* ページラッパ */
.page {
    min-height: 100vh;
}

/* ===============================
   ヘッダー / ヒーロー
   =============================== */

.hero {
    background: radial-gradient(circle at top left, #fff3ea, var(--color-hero-bg));
    padding: 1.5rem 1rem 2.5rem;
}

.hero-main-visual {
    width: 100%;
    min-height: 220px;
    background: radial-gradient(circle at top left, #fff3ea, var(--color-hero-bg));
}

.hero__inner {
    max-width: 960px;
    margin: 0 auto;
}

/* ブランド部 */
.hero__brand {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 1.5rem;
}

.hero__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero__tagline {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* キャッチコピー */
.hero__title {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 0 0.8rem;
}

.hero__text {
    margin: 0 0 1.4rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    text-align: center;   /* ← これを追加 */
}

/* ===============================
   ボタン共通
   =============================== */

.btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* FILHO 用 汎用ボタン（必要なら使用） */
.btn--primary {
    background: var(--color-accent);
    color: #ffffff;
}

.btn:hover,
.btn:focus-visible {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    opacity: 0.96;
}

/* ヒーローの CTA ボタン */
.hero__cta {
    width: 100%;
    max-width: 320px;
}

/* Hero 一番上の「体験 ご相談はこちら」ボタンを透明に */
.btn-hero-contact {
    background-color: transparent !important;
    color: var(--color-accent) !important;
    border: 2px solid var(--color-accent);
    box-shadow: none;
}

.btn-hero-contact:hover,
.btn-hero-contact:focus {
    background-color: var(--color-accent) !important;
    color: #ffffff !important;
}

/* 主役ボタン（体験・ご相談）用：Bootstrap .btn-primary を上書き */
.btn-primary {
    background: linear-gradient(135deg, #7c4dff, #ff80ab);
    border: none;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(124, 77, 255, 0.35);
}

/* 紫のシンプルボタン（必要な場合） */
.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: #fff;
}

.btn-purple:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
    color: #fff;
}

/* ===============================
   セクション共通
   =============================== */

.section {
    padding: 2.5rem 1rem;
}

.section:nth-of-type(odd) {
    background: #fafafa;
}

.section__inner {
    max-width: 960px;
    margin: 0 auto;
}

.section__title {
    font-size: 1.3rem;
    margin: 0 0 0.8rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 2.5rem;
    height: 3px;
    border-radius: 999px;
    background: var(--color-accent);
}

.section__lead {
    margin: 0.8rem 0 1.6rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}



/* ===============================
   グリッド（コンセプトなど）
   =============================== */

.grid {
    display: grid;
    gap: 1rem;
}

/* スマホ：1カラム。PCでだけ増やす */
.grid--concept {
    grid-template-columns: 1fr;
}

/* コンセプトカード */
.concept-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    box-shadow: var(--shadow-soft);
}

.concept-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.concept-card__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ===============================
   活動内容
   =============================== */

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    border: 1px solid var(--color-border);
}

.activity-item__title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.activity-item__meta {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.activity-item__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ===============================
   募集案内
   =============================== */

.bullet-list {
    margin: 0 0 1.5rem 1.2rem;
    padding: 0;
    font-size: 0.9rem;
}

.bullet-list li {
    margin-bottom: 0.4rem;
}

/* 説明リスト */
.definition-list {
    margin: 0;
    padding: 0;
}

.definition-list__row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--color-border);
}

.definition-list__row:last-child {
    border-bottom: none;
}

.definition-list__row dt {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.definition-list__row dd {
    margin: 0;
    font-size: 0.9rem;
}

/* 募集の CTA */
.recruit-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.recruit-cta__text {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

/* ===============================
   連絡方法
   =============================== */

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: block;
    background: #ffffff;
    padding: 1.2rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.contact-card__title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.contact-card__text {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.contact-card__note {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--color-accent-soft);
    font-size: 0.75rem;
}

.contact-card:hover,
.contact-card:focus-visible {
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

/* ===============================
   フッター
   =============================== */

.footer {
    padding: 1.5rem 1rem 2rem;
    background: #111111;
    color: #f5f5f5;
    font-size: 0.8rem;
}

.footer__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
}

.footer__pagetop {
    text-decoration: underline;
    cursor: pointer;
}

.footer__copy {
    margin: 0;
    color: #999999;
}

/* ===============================
   ヘッダーのロゴ・ナビ・アイコン
   =============================== */

.main-nav-links {
    margin-right: 1rem;
}

/* ヘッダー 左側ブランドロゴ */
.navbar-brand-logo {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    letter-spacing: 0.03em;
}

/* ヘッダーのナビリンク色（明示） */
header .navbar .nav-link {
    color: #333;
    font-weight: 500;
}

header .navbar .nav-link:hover {
    color: #0d6efd;
}

/* ページ内リンク（#top など）のホバー下線を消す */
a[href^="#"],
a[href^="#"]:hover,
a[href^="#"]:focus {
    text-decoration: none;
}

/* アイコン共通ボタン（ヘッダー右上） */
.icon-header-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #000; /* SVG の currentColor */
}

.icon-header-btn img,
.icon-header-btn svg {
    display: block;
    width: 26x;
    height: 26px;
}

.icon-header-btn:hover,
.icon-header-btn:focus-visible {
    opacity: 0.7;
}

/* ヘッダー右上アイコン同士の間隔 */
.header-icons .icon-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0px;
}

/* ===============================
   Top Carousel (Top Hero Section)
   =============================== */

.top-hero-section {
    padding-top: 0;
}

.top-carousel-wrapper {
    width: 100%;
}

/* 画面比率ベース */
.top-carousel {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

/* 画像は領域いっぱいに表示してトリミング */
.top-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* キャプション用：後からテキストを重ねるためのベース */
.top-carousel-caption {
    position: absolute;
    top: 10%;        /* 上からの位置 */
    left: 5%;        /* 左からの位置 */
    bottom: auto;    /* 下固定を解除 */
    right: auto;     /* 右固定を解除 */
    text-align: left;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.top-carousel-caption-text {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    color: #fff;
}

.top-carousel-caption-text {
    font-size: 1rem;
}

/* ドットの見た目を少し調整 */
.top-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* カルーセル下のキャッチ＆CTA部分 */
.top-hero-cta {
    padding: 2.5rem 0 2.5rem;
}

/* ナビ右側の小さい CTA ボタン（PC で少しだけ小さく） */
.nav-cta-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
}

/* ===========================
   Section visual enhancements
   =========================== */

/* 交互に使うセクション背景色 */
.section-alt {
    background-color: #f8f5ff; /* ほんのり薄いラベンダー */
}

/* 共通セクション見出し */
.section-heading {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 0.25rem;
}

/* 見出し下のサブタイトル（必要なところだけ使う） */
.section-heading-sub {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2.5rem;
}


/* 情報カード（必要に応じて使う） */
.info-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.info-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.info-card-title span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c4dff;
    background: #f1e9ff;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    margin-right: 0.5rem;
}

/* ===============================
   Heading Underline (中央統一)
   =============================== */

.heading-underline {
    text-align: center;      /* 見出し自体も中央に */
}

.heading-underline::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0.75rem auto 1.5rem;  /* 常に中央 */
    border-radius: 999px;
    background: linear-gradient(90deg, #7c4dff, #ff80ab);
}

/* ===============================
   コーチ情報
   =============================== */

.coach-label {
    font-weight: 400;
}

.coach-title {
    font-weight: 700;
    margin-bottom: 0.3rem;  /* ←ここで間隔をコントロール */
}

/* ===============================
   Instagram Embed
   =============================== */

.instagram-embed-wrapper {
    max-width: 420px;
    height: 520px;
    overflow: hidden;
    margin: 0 auto;
}

.instagram-embed-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
}

/* スマホ用調整 */
@media (max-width: 767.98px) {
    /* ロゴ＋テキストを必ず1行にする */
    .navbar-brand {
        white-space: nowrap;
    }

    .coach-info {
        display: grid;
        grid-template-columns: 4em 1fr;
        row-gap: 0.3rem;
    }

    .coach-name-en {
        font-size: 0.9rem;
        color: #666;
    }

    /* スマホだけ改行を効かせる */
    .sp-break {
        display: inline;
    }
}

/* タブレット以上 */
@media (min-width: 768px) {
    /* PCでは改行を無効化 */
    .sp-break {
        display: none;
    }

    .hero {
        padding: 2.5rem 1.5rem 3rem;
    }

    .hero-main-visual {
        min-height: 320px;
    }

    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: center;
        gap: 2rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero__cta {
        width: auto;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .grid--concept {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .activity-list {
        flex-direction: row;
        align-items: stretch;
    }

    .activity-item {
        flex: 1;
    }

    .contact-cards {
        flex-direction: row;
        align-items: stretch;
    }

    .contact-card {
        flex: 1;
    }

    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* PC 中～大 */
@media (min-width: 992px) {
    .nav-cta-btn {
        padding: 0.3rem 0.8rem;  /* 少し低く */
        font-size: 0.88rem;      /* 少しだけ小さく */
        margin-top: 6px;         /* 見た目の高さを少し下げる */
    }
}

/* PC ワイド */
@media (min-width: 1024px) {
    .hero {
        padding: 3rem 1.5rem 3.5rem;
    }

    .hero__title {
        font-size: 2.2rem;
    }
}

.school-badge {
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 600;
    padding: 0.4em 0.7em;
    border-radius: 999px;
    font-size: 0.8rem;
}