@charset "UTF-8";

/* ============================================================
   Legal Latte / Design Tokens
   ============================================================ */
:root {
    /* --- カフェラテ・パレット --- */
    --cream:    #FBF6EE;  /* ページ地色（ミルクの白さ） */
    --foam:     #FFFDF9;  /* カード地色（フォーム） */
    --milk:     #F8EDDF;  /* 面で使うミルク色 */
    --crema:    #E4CDB1;  /* 罫線・縁（クレマ） */
    --roast:    #6B4A3A;  /* 主役の茶（ロースト） */
    --espresso: #2F211C;  /* 本文（エスプレッソ） */
    --mocha:    #8A6A57;  /* 補助テキスト */
    --caramel:  #C4863F;  /* 差し色（キャラメル） */
    --berry:    #C0392B;  /* 開講中などの強調 */

    /* --- 旧クラス／既存HTMLの inline style 互換 --- */
    --latte-bg-warm:  var(--cream);
    --coffee-text:    var(--espresso);
    --coffee-accent:  var(--roast);
    --latte-foam:     var(--milk);
    --roast-brown:    var(--mocha);
    --cup-border:     var(--crema);
    --highlight:      var(--berry);

    /* --- 角丸・影・余白 --- */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 30px;
    --r-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(74, 48, 36, .06);
    --shadow-md: 0 14px 36px rgba(74, 48, 36, .10);
    --shadow-lg: 0 24px 56px rgba(74, 48, 36, .16);

    --gap: clamp(56px, 8vw, 104px);
    --wrap: 1040px;

    /* --- 書体 --- */
    --font-jp: 'Kiwi Maru', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
    --font-en: 'Marcellus', 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-jp);
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: .02em;
    color: var(--espresso);
    background-color: var(--cream);
    background-image:
        radial-gradient(120% 60% at 50% -10%, #FFFFFF 0%, rgba(255, 255, 255, 0) 62%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--roast);
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

p {
    margin: 0 0 1.2em;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 500;
}

.em {
    color: var(--roast);
    font-weight: 500;
}

:focus-visible {
    outline: 3px solid var(--caramel);
    outline-offset: 3px;
    border-radius: 4px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   レイアウト
   ============================================================ */
.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-narrow {
    max-width: 760px;
}

.section {
    padding: var(--gap) 0;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.mark {
    width: 34px;
    height: 34px;
    display: block;
    margin: 0 auto 14px;
    color: var(--crema);
}

.section-title {
    display: block;
    margin: 0;
    font-family: var(--font-en);
    font-weight: 400;
    font-size: clamp(1.55rem, 3.6vw, 2.15rem);
    line-height: 1.35;
    letter-spacing: .07em;
    color: var(--roast);
    text-align: center;
}

.section-lead {
    margin: 18px auto 0;
    max-width: 720px;
    font-size: .97rem;
    line-height: 1.95;
    color: var(--mocha);
}

.strong-lead {
    color: var(--roast);
    font-weight: 500;
    font-size: 1.02rem;
}

.block-title {
    margin: 0 0 18px;
    font-size: clamp(1.2rem, 2.4vw, 1.4rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--roast);
}

/* --- 2カラム --- */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

.split-reverse .split-media {
    order: -1;
}

.split-text p {
    font-size: .96rem;
    line-height: 2.05;
}

.split-media img,
.split-media svg {
    width: 100%;
}

.framed {
    border-radius: var(--r-lg);
    border: 6px solid var(--foam);
    box-shadow: var(--shadow-md);
}

.cups-art {
    height: auto;
    filter: drop-shadow(0 14px 30px rgba(74, 48, 36, .08));
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background-color: rgba(255, 253, 249, .86);
    border-bottom: 1px solid var(--crema);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 1.35rem;
    letter-spacing: .08em;
    color: var(--espresso);
}

.logo-mark {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    color: var(--roast);
}

.header-btn {
    display: inline-block;
    padding: 9px 20px;
    border: 1.5px solid var(--roast);
    border-radius: var(--r-pill);
    font-size: .86rem;
    font-weight: 500;
    color: var(--roast);
    background-color: transparent;
    white-space: nowrap;
}

.header-btn:hover {
    background-color: var(--roast);
    color: var(--foam);
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 10vw, 118px) 24px clamp(56px, 8vw, 96px);
    text-align: center;
    background:
        radial-gradient(58% 46% at 50% 34%, rgba(255, 253, 249, .95) 0%, rgba(255, 253, 249, 0) 72%),
        linear-gradient(180deg, var(--milk) 0%, var(--cream) 66%);
}

/* クレマの同心円（背景の署名モチーフ） */
.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1180px, 156vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, rgba(228, 205, 177, .30) 0 1px, rgba(228, 205, 177, 0) 1px 62px);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.status-board {
    display: inline-block;
    margin: 0 0 26px;
    padding: 10px 26px;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .08em;
    color: var(--foam);
    background-color: var(--roast);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transform: rotate(-1.5deg);
}

.hero-title {
    margin: 0 0 22px;
    font-size: clamp(2rem, 6.2vw, 3.35rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .01em;
    color: var(--espresso);
}

.hl {
    background-image: linear-gradient(transparent 62%, rgba(196, 134, 63, .30) 62%);
    padding: 0 .1em;
}

.hero-lead {
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 2.05;
    color: var(--mocha);
}

.hero-actions {
    margin-bottom: 44px;
}

.cta-button {
    display: inline-block;
    padding: 18px 46px;
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--foam);
    background-color: var(--roast);
    border-radius: var(--r-pill);
    box-shadow: 0 10px 26px rgba(107, 74, 58, .28);
}

.cta-button:hover {
    background-color: var(--espresso);
    color: var(--foam);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(107, 74, 58, .32);
}

.cta-note {
    margin: 14px 0 0;
    font-size: .8rem;
    color: var(--mocha);
}

.assurance {
    max-width: 620px;
    margin: 0 auto;
    padding: 22px 26px;
    text-align: left;
    font-size: .88rem;
    line-height: 1.95;
    color: var(--mocha);
    background-color: rgba(255, 253, 249, .78);
    border: 1px solid var(--crema);
    border-radius: var(--r-md);
}

.assurance-title {
    color: var(--roast);
    font-weight: 500;
    letter-spacing: .04em;
}

.assurance strong {
    color: var(--roast);
}

/* ============================================================
   One Price, All Lattes.
   ============================================================ */
.section-price {
    background-color: var(--foam);
    border-top: 1px solid var(--crema);
    border-bottom: 1px solid var(--crema);
}

/* ============================================================
   What's in "Latte"? — メニュー表（署名要素）
   ============================================================ */
.menu-list {
    max-width: 720px;
    margin: 0 auto clamp(44px, 6vw, 64px);
    padding: 0;
    list-style: none;
}

.menu-list li + li {
    margin-top: 4px;
}

.menu-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 15px 18px 15px 6px;
    border-radius: var(--r-sm);
    color: var(--espresso);
}

.menu-name {
    flex: 0 0 auto;
    font-size: 1.04rem;
    font-weight: 500;
    letter-spacing: .03em;
}

.menu-dots {
    flex: 1 1 auto;
    align-self: center;
    margin-top: 6px;
    height: 0;
    border-bottom: 2px dotted var(--crema);
}

.menu-line::after {
    content: "→";
    flex: 0 0 auto;
    color: var(--crema);
    font-size: 1.05rem;
    transition: transform .25s ease, color .25s ease;
}

.menu-line:hover {
    background-color: var(--milk);
    color: var(--roast);
}

.menu-line:hover::after {
    color: var(--roast);
    transform: translateX(5px);
}

/* --- 学習メニューのパネル --- */
.panel {
    padding: clamp(28px, 4vw, 42px);
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.panel-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.16rem;
    font-weight: 500;
    color: var(--roast);
}

.panel-note {
    margin: 0 0 30px;
    text-align: center;
    font-size: .87rem;
    color: var(--mocha);
}

.include-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.include-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 14px;
    text-align: center;
    background-color: var(--cream);
    border-radius: var(--r-md);
}

.include-icon {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
}

.include-item h4 {
    margin: 0;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--espresso);
}

/* ============================================================
   Life with Latte
   ============================================================ */
.section-life {
    background-color: var(--foam);
    border-top: 1px solid var(--crema);
    border-bottom: 1px solid var(--crema);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.schedule-item {
    padding: 34px 26px;
    text-align: center;
    background-color: var(--cream);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
}

.schedule-icon {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 16px;
}

.schedule-item h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--roast);
}

.schedule-item p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.95;
    color: var(--mocha);
}

/* ============================================================
   Schedule
   ============================================================ */
.plan-list {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.plan-item {
    overflow: hidden;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-left: 4px solid var(--crema);
    border-radius: var(--r-sm);
}

.plan-item + .plan-item {
    margin-top: 12px;
}

.plan-item.is-open {
    border-left-color: var(--caramel);
    box-shadow: var(--shadow-sm);
}

.plan-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px;
    color: inherit;
}

.plan-link::after {
    content: "→";
    flex: 0 0 auto;
    font-size: 1.05rem;
    color: var(--crema);
    transition: transform .25s ease, color .25s ease;
}

.plan-link:hover {
    background-color: var(--milk);
}

.plan-link:hover::after {
    color: var(--roast);
    transform: translateX(5px);
}

.plan-body {
    display: block;
    min-width: 0;
}

.plan-name {
    display: block;
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--espresso);
}

.plan-item.is-open .plan-name,
.plan-link:hover .plan-name {
    color: var(--roast);
}

.plan-status {
    display: block;
    margin: 0;
    font-size: .9rem;
    line-height: 1.85;
    color: var(--mocha);
}

.plan-live {
    color: var(--berry);
    font-weight: 500;
    margin-right: .35em;
}

.plan-note {
    max-width: 680px;
    margin: 26px auto 0;
    text-align: center;
    font-size: .87rem;
    line-height: 1.85;
    color: var(--mocha);
}

/* ============================================================
   Barista（講師紹介）
   ============================================================ */
.section-barista {
    background-color: var(--foam);
    border-top: 1px solid var(--crema);
    border-bottom: 1px solid var(--crema);
}

.barista {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
}

.barista-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 120px 120px var(--r-lg) var(--r-lg);
    border: 5px solid var(--cream);
    box-shadow: var(--shadow-md);
}

.barista-body p {
    font-size: .95rem;
    line-height: 2.05;
    color: var(--espresso);
}

.barista-catch {
    margin: 0 0 18px;
    padding-left: 16px;
    border-left: 3px solid var(--caramel);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--roast);
}

/* ============================================================
   Voices
   ============================================================ */
.voice-grid {
    columns: 2;
    column-gap: 22px;
}

.voice-box {
    break-inside: avoid;
    margin: 0 0 22px;
    padding: 30px 28px 26px;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
    position: relative;
}

.voice-box::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 20px;
    font-family: var(--font-en);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--crema);
}

.voice-box blockquote {
    margin: 0 0 16px;
    font-size: .93rem;
    line-height: 2;
    color: var(--espresso);
}

.voice-name {
    text-align: right;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--roast);
}

.voice-url {
    display: inline-block;
    font-size: .78rem;
    font-weight: 400;
    color: var(--mocha);
    word-break: break-all;
}

.voice-url:hover {
    color: var(--caramel);
}

/* ============================================================
   Q&A
   ============================================================ */
.qa-list {
    border-top: 1px solid var(--crema);
}

.qa-item {
    border-bottom: 1px solid var(--crema);
}

.qa-q {
    display: block;
    width: 100%;
    padding: 22px 46px 22px 4px;
    position: relative;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--espresso);
    background: none;
    border: 0;
    cursor: pointer;
    transition: color .25s ease;
}

.qa-q:hover {
    color: var(--roast);
}

.qa-q::after,
.qa-q::before {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--roast);
    transition: transform .3s ease, opacity .3s ease;
}

.qa-q::before {
    transform: translateY(-50%) rotate(90deg);
}

.qa-q::after {
    transform: translateY(-50%);
}

.qa-item.is-open .qa-q::before {
    transform: translateY(-50%) rotate(0deg);
    opacity: 0;
}

.qa-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.qa-item.is-open .qa-a {
    grid-template-rows: 1fr;
}

.qa-a-inner {
    overflow: hidden;
    font-size: .93rem;
    line-height: 2;
    color: var(--mocha);
}

.qa-item.is-open .qa-a-inner {
    padding-bottom: 24px;
}

/* ============================================================
   フッター
   ============================================================ */
footer {
    margin-top: clamp(96px, 12vw, 150px);
    padding: 0 24px 34px;
    text-align: center;
    color: #E8DED4;
    background-color: #241814;
}

.footer-cta {
    max-width: 600px;
    margin: 0 auto 54px;
    transform: translateY(-72px);
    padding: 46px 32px;
    color: var(--espresso);
    background-color: var(--foam);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.footer-cta-img {
    max-width: 190px;
    margin: 0 auto 26px;
}

.footer-cta-img img {
    border-radius: var(--r-lg);
}

.footer-cta h3 {
    margin: 0 0 16px;
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--roast);
}

.footer-cta p {
    margin: 0 0 30px;
    font-size: .92rem;
    line-height: 1.95;
    color: var(--mocha);
}

.footer-logo {
    justify-content: center;
    margin: -34px 0 24px;
    color: var(--foam);
}

.footer-logo .logo-mark {
    color: var(--crema);
}

.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 253, 249, .22);
    border-radius: var(--r-pill);
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .03em;
    color: #F3EAE1;
    background-color: rgba(255, 253, 249, .06);
}

.social-link:hover {
    color: #241814;
    background-color: #F3EAE1;
    border-color: #F3EAE1;
    transform: translateY(-2px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 253, 249, .12);
    font-size: 1rem;
}

.social-link:hover .social-icon {
    background-color: rgba(36, 24, 20, .10);
}

.social-text {
    font-size: .88rem;
}

.copyright {
    margin: 0;
    font-family: var(--font-en);
    font-size: .76rem;
    letter-spacing: .06em;
    color: rgba(232, 222, 212, .6);
}

/* ============================================================
   モーション（控えめ）
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-shown {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
    .split,
    .barista {
        grid-template-columns: 1fr;
    }

    .split-reverse .split-media {
        order: 0;
    }

    .split-media {
        max-width: 460px;
        margin: 0 auto;
    }

    .barista {
        justify-items: center;
        text-align: left;
    }

    .barista-photo {
        width: 190px;
    }

    .include-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15.5px;
    }

    .voice-grid {
        columns: 1;
    }

    .site-header {
        padding: 12px 16px;
    }

    .logo {
        font-size: 1.18rem;
    }

    .header-btn {
        padding: 8px 15px;
        font-size: .8rem;
    }

    .wrap {
        padding: 0 18px;
    }

    .cta-button {
        padding: 16px 34px;
        font-size: 1.02rem;
    }

    .menu-name {
        font-size: .98rem;
    }

    .footer-cta {
        padding: 38px 24px;
    }
}

@media (max-width: 520px) {
    .include-item {
        gap: 9px;
        padding: 20px 8px;
    }

    .include-icon {
        font-size: 1.5rem;
    }

    .include-item h4 {
        font-size: .88rem;
    }

    .menu-line {
        padding: 13px 12px 13px 4px;
    }

    .assurance {
        padding: 20px 20px;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 230px;
        justify-content: center;
    }
}

/* ============================================================
   下層ページ用（sharoushi.html ほか）— 新トークンで再調整
   ============================================================ */
.container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--gap) 24px;
}

.feature-box {
    display: flex;
    gap: 40px;
    align-items: center;
}

.latte-detail-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(56px, 8vw, 96px) 24px clamp(44px, 6vw, 72px);
    background:
        radial-gradient(58% 46% at 50% 34%, rgba(255, 253, 249, .95) 0%, rgba(255, 253, 249, 0) 72%),
        linear-gradient(180deg, var(--milk) 0%, var(--cream) 66%);
}

.latte-detail-hero .latte-detail-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;
    font-weight: 500;
    color: #FFFDF9;
    background-color: var(--roast);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
}

.latte-detail-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--espresso);
}

.latte-detail-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 2;
    color: var(--mocha);
}

.detail-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.detail-card {
    padding: 28px;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-left: 4px solid var(--roast);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.detail-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--roast);
}

.detail-card p {
    margin-top: 0;
    font-size: .93rem;
    color: var(--mocha);
}

.detail-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-card li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 17px;
    font-size: .9rem;
    line-height: 1.85;
    color: var(--espresso);
}

.detail-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .82em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--crema);
}

.detail-card li:last-child {
    margin-bottom: 0;
}

.back-link-area {
    margin-top: 40px;
    text-align: center;
}

.back-link {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    color: var(--roast);
    background-color: var(--foam);
    border: 1.5px solid var(--roast);
    border-radius: var(--r-pill);
}

.back-link:hover {
    color: var(--foam);
    background-color: var(--roast);
}

.latte-menu {
    text-align: center;
    background-color: var(--foam);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.curriculum-bg {
    padding: clamp(36px, 5vw, 52px) clamp(20px, 3vw, 34px);
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
}

.curriculum-lead {
    margin: 14px 0 32px;
    font-size: .97rem;
    color: var(--mocha);
}

.latte-list {
    display: grid;
    gap: 22px;
}

.latte-course-card {
    display: block;
    padding: 26px;
    color: inherit;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.latte-course-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.latte-course-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--crema);
}

.latte-course-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    background-color: var(--milk);
    border-radius: 50%;
}

.latte-course-header h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--roast);
}

.latte-course-header p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--mocha);
}

.latte-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.latte-service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background-color: var(--cream);
    border-radius: var(--r-md);
}

.latte-service-item span {
    font-size: 1.4rem;
    line-height: 1;
}

.latte-service-item h4 {
    margin: 0 0 4px;
    font-size: .93rem;
    font-weight: 500;
    color: var(--espresso);
}

.latte-service-item p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.6;
    color: var(--mocha);
}

.latte-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px 16px;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--espresso);
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-md);
}

.latte-link-btn:hover {
    color: var(--roast);
    background-color: var(--milk);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* --- 下層ページ：セクション帯・パネル・リスト --- */
.section-alt {
    background-color: var(--foam);
    border-top: 1px solid var(--crema);
    border-bottom: 1px solid var(--crema);
}

.section-alt .panel,
.section-alt .detail-card,
.section-alt .schedule-item {
    background-color: var(--cream);
}

.panel-heading {
    margin: 0 0 16px;
    font-size: clamp(1.16rem, 2.3vw, 1.34rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--roast);
}

.panel-text {
    margin: 0;
    font-size: .95rem;
    line-height: 2.05;
    color: var(--espresso);
}

.panel-text strong {
    color: var(--roast);
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 26px;
    font-size: .95rem;
    line-height: 1.95;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--caramel);
}

/* --- 下層ページ：ヒーローにクレマの同心円 --- */
.latte-detail-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1180px, 156vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(228, 205, 177, .30) 0 1px, rgba(228, 205, 177, 0) 1px 62px);
    pointer-events: none;
}

.latte-detail-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

/* --- 下層ページ：収録内容（メニューボード） --- */
.latte-message {
    max-width: 760px;
    margin: 0 auto clamp(32px, 4vw, 46px);
    padding: 16px 24px;
    text-align: center;
    font-size: .96rem;
    font-weight: 500;
    line-height: 1.9;
    color: var(--roast);
    background-color: var(--milk);
    border-radius: var(--r-pill);
}

.hashtag {
    color: var(--caramel);
    font-weight: 500;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-block {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 32px);
    background-color: var(--cream);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.content-block.is-wide {
    grid-column: 1 / -1;
}

.content-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--crema);
}

.content-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
    line-height: 1;
    background-color: var(--milk);
    border-radius: 50%;
}

.content-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 1.14rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--roast);
}

.content-count {
    flex: 0 0 auto;
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .03em;
    color: var(--roast);
    background-color: var(--foam);
    border: 1px solid var(--caramel);
    border-radius: var(--r-pill);
    white-space: nowrap;
}

.content-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-items li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 0;
    font-size: .94rem;
    line-height: 1.8;
    color: var(--espresso);
}

.content-items li + li {
    border-top: 1px dotted var(--crema);
}

.item-name {
    flex: 0 1 auto;
}

.item-dots {
    flex: 1 1 auto;
    align-self: center;
    margin-top: 6px;
    height: 0;
    min-width: 20px;
    border-bottom: 2px dotted var(--crema);
}

.item-meta {
    flex: 0 0 auto;
    font-size: .86rem;
    font-weight: 500;
    color: var(--roast);
    white-space: nowrap;
}

.item-notes {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.item-notes li {
    font-size: .82rem;
    line-height: 1.85;
    color: var(--mocha);
}

.bonus-note {
    max-width: 760px;
    margin: clamp(32px, 4vw, 46px) auto 0;
    padding: clamp(26px, 3vw, 36px);
    text-align: center;
    background-color: var(--foam);
    border: 1px dashed var(--caramel);
    border-radius: var(--r-lg);
}

.bonus-note p {
    margin: 0 0 10px;
    font-size: .92rem;
    line-height: 1.95;
    color: var(--mocha);
}

.bonus-lead {
    font-size: 1.04rem !important;
    font-weight: 500;
    color: var(--roast) !important;
}

.bonus-link {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 26px;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--roast);
    border: 1.5px solid var(--roast);
    border-radius: var(--r-pill);
}

.bonus-link:hover {
    color: #FFFDF9;
    background-color: var(--roast);
}

@media (max-width: 760px) {
    .contents-grid {
        grid-template-columns: 1fr;
    }

    .latte-message {
        border-radius: var(--r-lg);
    }

    .content-head {
        flex-wrap: wrap;
    }

    .content-items li {
        flex-wrap: wrap;
    }

    .item-dots {
        min-width: 12px;
    }
}

/* --- 旧FAQ（下層ページの inline onclick 用に display 切替を維持） --- */
.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-md);
}

.faq-q {
    position: relative;
    padding: 20px 46px 20px 22px;
    font-weight: 500;
    cursor: pointer;
    background-color: var(--milk);
}

.faq-q::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.4rem;
    color: var(--roast);
}

.faq-a {
    display: none;
    padding: 20px 22px;
    font-size: .93rem;
    color: var(--mocha);
    border-top: 1px solid var(--crema);
}

/* --- 旧クラス（念のため残置） --- */
.curriculum-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-left: 4px solid var(--roast);
    border-radius: var(--r-md);
}

.curriculum-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    font-size: 2.2rem;
    background-color: var(--milk);
    border-radius: 50%;
}

.tab-btn {
    padding: 12px 30px;
    font-family: inherit;
    font-weight: 500;
    color: var(--roast);
    background-color: var(--foam);
    border: 1.5px solid var(--roast);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: .25s;
}

.tab-btn:hover {
    color: var(--foam);
    background-color: var(--roast);
}

.step-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 56px;
}

.step-card {
    flex: 1;
    min-width: 240px;
    padding: 30px;
    text-align: center;
    background-color: var(--foam);
    border: 1px solid var(--crema);
    border-radius: var(--r-lg);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    font-weight: 500;
    color: var(--foam);
    background-color: var(--roast);
    border-radius: 50%;
}

.sample-area {
    margin-bottom: 72px;
    text-align: center;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.4rem;
    color: #fff;
    background-color: #241814;
    border-radius: var(--r-lg);
}

.hero-img-box {
    max-width: 420px;
    margin: 0 auto 44px;
    overflow: hidden;
    background-color: var(--foam);
    border: 6px solid var(--foam);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
    .latte-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .feature-box {
        flex-direction: column;
    }

    .step-flow {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .latte-service-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}
