/* ================================================================
   CARTE — 医療AIコミュニティ（/community）

   コーポレートサイト（css/style.css）とは独立したブランドとして見せる。
   下書き（docs/carte-source/）の意匠を踏襲した方針：
     - 見出しは Inter 900 の大きな字面、字間は詰める
     - 区切りは 2px の罫線。影はほぼ使わない
     - 面は角丸 16px、ボタンだけ完全なピル型
     - 色は クリーム / 黒 + オレンジ（CTA）+ ティール（見出しラベル）
   クラスはすべて crt- 接頭辞。style.css とは競合しない。
   ================================================================ */

.crt {
    --crt-bg: #FAF9F3;
    --crt-band: #F3F1E9;
    --crt-hero-top: #F2F0E8;

    --crt-ink: #0D0D0D;
    --crt-body: #444;
    --crt-muted: #666;

    --crt-line: rgba(0, 0, 0, .1);
    --crt-line-soft: rgba(0, 0, 0, .08);

    --crt-orange: #f2380f;
    --crt-orange-dark: #C42A08;
    --crt-teal: #6CAFB7;
    --crt-teal-deep: #3E8A94;

    --crt-max: 1200px;
    --crt-pad: clamp(20px, 5vw, 32px);
    --crt-r: 16px;

    --crt-font: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* body 自身は .crt * のリセットに含まれないので、UA 既定の 8px をここで消す。
       残っていると帯や暗い面の左右にページ地色の筋が出る */
    margin: 0;

    background: var(--crt-bg);
    color: var(--crt-ink);
    font-family: var(--crt-font);
    font-size: 15px;
    line-height: 1.8;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

.crt *,
.crt *::before,
.crt *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.crt img {
    display: block;
    max-width: 100%;
}

.crt ul {
    list-style: none;
}

.crt a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.crt h1,
.crt h2,
.crt h3 {
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.4;
}

/* 本文中のリンク。ボタンやナビには効かせない */
.crt-lede a,
.crt-faq p a,
.crt-card-body a {
    color: var(--crt-teal-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.crt-lede a:hover,
.crt-faq p a:hover,
.crt-card-body a:hover {
    color: var(--crt-orange);
}

.crt ::selection {
    background: rgba(242, 56, 15, .22);
}

.crt :focus-visible {
    outline: 3px solid var(--crt-orange);
    outline-offset: 3px;
}

html:has(.crt) {
    scroll-behavior: smooth;
}

/* sticky ナビの下にアンカー先が潜り込まないように */
.crt [id] {
    scroll-margin-top: 84px;
}

.crt .skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--crt-orange);
    color: #FFF;
    padding: .75rem 1.5rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    transition: top .3s ease;
}

.crt .skip-link:focus {
    top: 0;
    outline: none;
}

/* 右上を漂う薄いティールの光。装飾のみ */
.crt-blob {
    position: fixed;
    top: -10vh;
    right: -20vw;
    width: 70vw;
    height: 70vw;
    max-width: 700px;
    max-height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 175, 183, .18), transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: crt-float 14s ease-in-out infinite;
}

/* ── レイアウト ───────────────────────────────────────────── */

.crt-wrap {
    max-width: var(--crt-max);
    margin: 0 auto;
    padding: 0 var(--crt-pad);
}

.crt-section {
    position: relative;
    z-index: 1;
    padding: clamp(60px, 8vw, 92px) 0;
}

.crt-band {
    background: var(--crt-band);
    border-top: 2px solid var(--crt-line-soft);
    border-bottom: 2px solid var(--crt-line-soft);
}

.crt-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--crt-orange);
    margin-bottom: 14px;
}

.crt-kicker--teal {
    color: var(--crt-teal-deep);
}

.crt-h2 {
    font-size: clamp(24px, 5.4vw, 32px);
    margin-bottom: 18px;
}

.crt-lede {
    font-size: 15px;
    color: var(--crt-body);
    line-height: 2;
    max-width: 72ch;
}

/* ── ナビ ─────────────────────────────────────────────────── */

.crt-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 249, 243, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}

.crt-nav[data-stuck] {
    border-bottom-color: var(--crt-line-soft);
}

.crt-nav-in {
    max-width: var(--crt-max);
    margin: 0 auto;
    padding: 14px var(--crt-pad);
    display: flex;
    align-items: center;
    gap: 16px;
}

.crt-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.crt-brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--crt-ink);
    white-space: nowrap;
}

/* CARTE だけでは何のサイトか伝わらないので、マークの隣に一言添える。
   ヒーローを過ぎたあとも sticky ナビだけで用件が分かるようにする */
.crt-brand-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--crt-ink);
    white-space: nowrap;
}

.crt-brand-by {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--crt-muted);
    white-space: nowrap;
}

.crt-brand-by img {
    height: 13px;
    width: auto;
}

.crt-brand-by:hover {
    color: var(--crt-orange);
}

/* 一言と運営表記のあいだの仕切り */
.crt-brand-tag + .crt-brand-by::before {
    content: '';
    width: 1px;
    height: 11px;
    background: var(--crt-line);
}

/* 狭い画面では折り返して 2 段になるので、運営表記を落として 1 段に収める。
   運営は Operator 節とフッターに出る */
@media (max-width: 560px) {
    .crt-brand-by {
        display: none;
    }
}

.crt-nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.crt-nav-links a:not(.crt-btn) {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--crt-ink);
}

.crt-nav-links a:not(.crt-btn):hover {
    color: var(--crt-orange);
}

/* 追加リンクは幅が苦しくなる前に落とす。本体は #why のアンカーで届く */
@media (max-width: 1040px) {
    .crt-nav-links {
        gap: 16px;
    }

    .crt-nav-links .crt-nav-extra {
        display: none;
    }
}

@media (max-width: 860px) {
    .crt-nav-links a:not(.crt-btn) {
        display: none;
    }
}

/* ── ボタン ───────────────────────────────────────────────── */

.crt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 100px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.crt-btn--primary {
    background: var(--crt-orange);
    border-color: var(--crt-orange);
    color: #FFF;
}

.crt-btn--primary:hover {
    background: var(--crt-orange-dark);
    border-color: var(--crt-orange-dark);
    color: #FFF;
    transform: translateY(-1px);
}

.crt-btn--ghost {
    border-color: var(--crt-line);
    color: var(--crt-ink);
}

.crt-btn--ghost:hover {
    border-color: var(--crt-orange);
    color: var(--crt-orange);
}

.crt-btn--lg {
    font-size: 17px;
    padding: 18px 52px;
}

/* CTA の外側に広がる輪。押せることを目立たせる */
.crt-btn--pulse {
    animation: crt-pulse 2.6s ease-out 1.6s infinite;
}

/* ── ヒーロー ─────────────────────────────────────────────── */

.crt-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, var(--crt-hero-top) 0%, var(--crt-bg) 100%);
}

/* three.js の DNA 二重らせん。WebGL が無い環境では単なる空要素。
   上下をマスクで抜いて、ヒーローの縁でらせんが直線的に切れないようにする */
.crt-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(180deg,
            transparent 0%, #000 9%, #000 76%, transparent 99%);
    mask-image: linear-gradient(180deg,
            transparent 0%, #000 9%, #000 76%, transparent 99%);
}

/* 文字の可読性を確保するための中央のベール。
   らせんは周辺だけ見せて、見出しが乗る中央は白く飛ばす */
.crt-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 76% 58% at 50% 44%,
            rgba(250, 249, 243, .95) 0%,
            rgba(250, 249, 243, .88) 34%,
            rgba(250, 249, 243, .55) 62%,
            rgba(250, 249, 243, .12) 84%,
            rgba(250, 249, 243, 0) 100%);
}

.crt-hero-in {
    position: relative;
    z-index: 2;
    max-width: var(--crt-max);
    margin: 0 auto;
    padding: clamp(56px, 9vw, 76px) var(--crt-pad) clamp(64px, 10vw, 92px);
    text-align: center;
}

.crt-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(64px, 17vw, 140px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;
    margin: 16px 0 14px;
    display: flex;
    justify-content: center;
    color: var(--crt-ink);
}

/* 1文字ずつ下から起こす。overflow で下端をマスクする */
.crt-hero-title span {
    display: inline-block;
    overflow: hidden;
    padding-bottom: .08em;
}

.crt-hero-title span > span {
    padding-bottom: 0;
    overflow: visible;
    animation: crt-letter .7s cubic-bezier(.22, 1, .36, 1) both;
}

.crt-hero-title > span:nth-child(1) > span { animation-delay: .20s; }
.crt-hero-title > span:nth-child(2) > span { animation-delay: .28s; }
.crt-hero-title > span:nth-child(3) > span { animation-delay: .36s; }
.crt-hero-title > span:nth-child(4) > span { animation-delay: .44s; }
.crt-hero-title > span:nth-child(5) > span { animation-delay: .52s; }

.crt-hero-sub {
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 900;
    letter-spacing: .06em;
    animation: crt-fade-up .8s cubic-bezier(.22, 1, .36, 1) .6s both;
}

/* 正式名称。CARTE が何の頭文字かを、見出しのすぐ下で示す */
.crt-hero-formal {
    font-family: 'Inter', sans-serif;
    font-size: clamp(10px, 2.4vw, 12px);
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.7;
    text-transform: uppercase;
    color: var(--crt-teal-deep);
    margin: 14px auto 0;
    animation: crt-fade-up .8s cubic-bezier(.22, 1, .36, 1) .66s both;
}

.crt-hero-lede {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    line-height: 1.9;
    max-width: 560px;
    margin: 24px auto 36px;
    animation: crt-fade-up .8s cubic-bezier(.22, 1, .36, 1) .72s both;
}

.crt-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: crt-fade-up .8s cubic-bezier(.22, 1, .36, 1) .84s both;
}

.crt-note {
    font-size: 12px;
    font-weight: 500;
    color: var(--crt-muted);
}

/* ── 画像まわり ───────────────────────────────────────────── */

/* 生成イラストの背景（およそ #FDF9EE）はページ地色より少し明るいので、
   罫で囲って「図版」として見せる。地続きに見せようとすると縁が浮く */
.crt-figure {
    margin: 0;
    border: 2px solid var(--crt-line);
    border-radius: var(--crt-r);
    overflow: hidden;
    background: var(--crt-bg);
}

.crt-figure img {
    width: 100%;
    height: auto;
}

/* ── テキスト＋図版の 2 カラム ─────────────────────────────── */

.crt-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

/* 図版を先に置く並び。図版が広い側の列に入るよう比率も入れ替える */
.crt-split--reverse {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.crt-split--reverse .crt-split-text {
    order: 2;
}

.crt-split-text .crt-lede + .crt-lede {
    margin-top: 16px;
}

.crt-split-cta {
    margin-top: 28px;
}

@media (max-width: 860px) {
    .crt-split {
        grid-template-columns: 1fr;
    }

    /* 縦に積むときは、どちらの並びでも文章が先に来るようにする */
    .crt-split--reverse .crt-split-text {
        order: 0;
    }
}

/* ── カードグリッド ───────────────────────────────────────── */

/* 6 枚を 3+3 で置く。auto-fit だと 1200px 幅で 4+2 になり収まりが悪い */
.crt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

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

.crt-card {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--crt-line);
    border-radius: var(--crt-r);
    background: var(--crt-bg);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.crt-card:hover {
    border-color: var(--crt-orange);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .35);
}

.crt-card-img {
    overflow: hidden;
    border-bottom: 2px solid var(--crt-line-soft);
}

.crt-card-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.crt-card:hover .crt-card-img img {
    transform: scale(1.05);
}

.crt-card-text {
    padding: 22px 24px 26px;
}

.crt-card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.crt-card-body {
    font-size: 13.5px;
    color: var(--crt-muted);
    line-height: 1.9;
    margin-top: 8px;
}

/* ── いま関わる意味 ───────────────────────────────────────── */

/* ページで唯一の暗い面。ほかの節が罫と余白で淡々と積むのに対して、
   ここだけは主張として読ませたいので地を反転させている */
.crt-edge {
    background: var(--crt-ink);
    color: #F7F5EC;
    overflow: hidden;
}

/* 地の暗さを一様にしないための、ごく淡いティールの滲み */
.crt-edge::before {
    content: '';
    position: absolute;
    top: -34%;
    right: -8%;
    width: min(620px, 76%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 175, 183, .20), transparent 68%);
    pointer-events: none;
}

.crt-edge .crt-wrap {
    position: relative;
    z-index: 1;
}

.crt-edge .crt-kicker {
    color: var(--crt-teal);
}

/* .crt h2 の字間・行間を上書きしたいので、クラス 2 つで詳細度を上げる */
.crt-edge .crt-edge-h {
    font-size: clamp(26px, 6vw, 40px);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.45;
    margin-bottom: 20px;
}

.crt-edge-lede {
    font-size: 15px;
    line-height: 2;
    color: rgba(247, 245, 236, .74);
    max-width: 62ch;
}

.crt-edge-list {
    list-style: none;
    counter-reset: crt-edge;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(24px, 3vw, 34px);
    margin-top: clamp(38px, 5vw, 54px);
    padding-top: clamp(32px, 4vw, 46px);
    border-top: 2px solid rgba(247, 245, 236, .16);
}

.crt-edge-list li {
    position: relative;
    padding-top: 32px;
}

.crt-edge-list li::before {
    counter-increment: crt-edge;
    content: counter(crt-edge, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--crt-teal);
}

.crt-edge-list h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.crt-edge-list p {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(247, 245, 236, .66);
}

/* 結び。この節で言いたいのはこの二行 */
.crt-edge-punch {
    margin-top: clamp(40px, 5vw, 56px);
    font-size: clamp(17px, 3.6vw, 23px);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.75;
}

.crt-edge-hl {
    color: var(--crt-orange);
}

.crt-edge-cta {
    margin-top: 24px;
}

/* 狭い画面では意図した改行がかえって読みにくいので流す */
@media (max-width: 640px) {

    .crt-edge-h br,
    .crt-edge-punch br {
        display: none;
    }
}

/* ── 参加までの流れ ───────────────────────────────────────── */

.crt-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    counter-reset: crt-step;
}

.crt-step {
    position: relative;
    border: 2px solid var(--crt-line);
    border-radius: var(--crt-r);
    padding: 30px 28px 32px;
    overflow: hidden;
    transition: border-color .25s ease;
}

.crt-step:hover {
    border-color: var(--crt-orange);
}

/* 右上に大きな数字を薄く敷く。並びの単調さを崩すための地紋 */
.crt-step::after {
    counter-increment: crt-step;
    content: counter(crt-step, decimal-leading-zero);
    position: absolute;
    top: -18px;
    right: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 104px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--crt-teal);
    opacity: .16;
    pointer-events: none;
}

.crt-step-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--crt-orange);
    margin-bottom: 14px;
}

.crt-step h3 {
    position: relative;
    font-size: 17px;
    margin-bottom: 10px;
}

.crt-step p {
    position: relative;
    font-size: 13.5px;
    color: var(--crt-muted);
    line-height: 1.9;
}

/* ── 参加対象 ─────────────────────────────────────────────── */

.crt-bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 16px;
    font-weight: 600;
}

.crt-bar-list li {
    border-left: 4px solid var(--crt-teal);
    padding-left: 16px;
}

.crt-lede--sm {
    margin-top: 22px;
    font-size: 13.5px;
}

/* 見出し直下に置く一行。グリッドとの間を空けて息をつがせる */
.crt-lede--head {
    margin-bottom: 34px;
}

/* ── 名称 ─────────────────────────────────────────────────── */

/* ハウスルールと同じ、節のなかの区切り */
.crt-name {
    margin-top: clamp(48px, 6vw, 76px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 2px solid var(--crt-line);
}

/* 頭文字を左に立て、意味と扱う内容を右に置く。5 行で名前の内訳が読める */
.crt-name-list {
    margin-bottom: 30px;
    border-top: 2px solid var(--crt-line-soft);
}

.crt-name-list > div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 18px;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 2px solid var(--crt-line-soft);
}

.crt-name-list dt {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--crt-orange);
}

.crt-name-list dd {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 14px;
}

/* 英単語の右端を揃えて、説明の頭を一直線にする */
.crt-name-list b {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
    min-width: 116px;
}

.crt-name-list span {
    font-size: 13.5px;
    color: var(--crt-muted);
    line-height: 1.8;
}

@media (max-width: 560px) {
    .crt-name-list > div {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0 12px;
    }

    .crt-name-list dt {
        font-size: 23px;
    }

    /* 幅が足りないと英単語と説明の折り返しが行ごとにばらつくので、
       狭い画面では説明を必ず次の行に落として頭を揃える */
    .crt-name-list dd {
        flex-direction: column;
        gap: 4px;
    }

    .crt-name-list b {
        min-width: 0;
    }
}

/* ── ハウスルール ─────────────────────────────────────────── */

.crt-rules {
    margin-top: clamp(48px, 6vw, 76px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 2px solid var(--crt-line);
}

.crt-rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    counter-reset: crt-rule;
    list-style: none;
}

.crt-rule-grid li {
    position: relative;
    padding: 20px 22px 20px 58px;
    border: 2px solid var(--crt-line-soft);
    border-radius: 12px;
    background: var(--crt-bg);
    font-size: 14px;
    color: var(--crt-body);
    line-height: 1.8;
}

.crt-rule-grid li::before {
    counter-increment: crt-rule;
    content: counter(crt-rule);
    position: absolute;
    left: 20px;
    top: 19px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--crt-orange);
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* ── 運営 ─────────────────────────────────────────────────── */

/* 5 項目を横一列の帯にする。dl の縦積みより情報が締まって見える */
.crt-facts {
    margin-top: clamp(44px, 5.5vw, 68px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0;
    border-top: 2px solid var(--crt-line);
}

.crt-facts div {
    padding: 22px 24px 24px 0;
    border-right: 1px solid var(--crt-line-soft);
}

.crt-facts div:last-child {
    border-right: 0;
}

.crt-facts div + div {
    padding-left: 24px;
}

.crt-facts dt {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--crt-teal-deep);
    margin-bottom: 10px;
}

.crt-facts dd {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--crt-ink);
    line-height: 1.6;
}

/* 補足（正式名称・招待制など）は小さく添える */
.crt-facts dd span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--crt-muted);
    line-height: 1.7;
}

.crt-facts a {
    color: var(--crt-teal-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.crt-facts a:hover {
    color: var(--crt-orange);
}

@media (max-width: 620px) {
    .crt-facts div,
    .crt-facts div + div {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--crt-line-soft);
    }

    .crt-facts div:last-child {
        border-bottom: 0;
    }
}

/* ── FAQ ──────────────────────────────────────────────────── */

.crt-faq {
    border-top: 2px solid var(--crt-line-soft);
    max-width: 860px;
}

.crt-faq details {
    border-bottom: 2px solid var(--crt-line-soft);
}

.crt-faq summary {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.crt-faq summary::-webkit-details-marker {
    display: none;
}

/* +／− のトグル。CSS だけで開閉表示を切り替える */
.crt-faq summary::after {
    content: "+";
    margin-left: auto;
    flex: none;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--crt-orange);
    transition: transform .2s ease;
}

.crt-faq details[open] summary::after {
    content: "−";
}

.crt-faq p {
    padding: 0 0 22px;
    font-size: 14px;
    color: var(--crt-body);
    line-height: 1.95;
    max-width: 68ch;
}

/* ── 申請フォーム ─────────────────────────────────────────── */

.crt-join {
    text-align: center;
}

.crt-form {
    margin: 40px auto 0;
    max-width: 720px;
    text-align: left;
    border: 2px solid var(--crt-line);
    border-radius: var(--crt-r);
    padding: clamp(24px, 4vw, 36px);
    background: var(--crt-bg);
    box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .3);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 620px) {
    .crt-form {
        grid-template-columns: 1fr;
    }
}

.crt-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.crt-field--wide {
    grid-column: 1 / -1;
}

.crt-field label {
    font-size: 13px;
    font-weight: 700;
}

.crt-req {
    color: var(--crt-orange);
    margin-left: 4px;
}

.crt-field input,
.crt-field select,
.crt-field textarea {
    font-family: inherit;
    font-size: 14.5px;
    color: var(--crt-ink);
    background: #FFF;
    border: 2px solid var(--crt-line);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color .2s ease;
}

.crt-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.8;
}

.crt-field input:focus,
.crt-field select:focus,
.crt-field textarea:focus {
    border-color: var(--crt-orange);
    outline: none;
}

.crt-field input::placeholder,
.crt-field textarea::placeholder {
    color: #A9A49A;
}

.crt-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--crt-body);
    line-height: 1.8;
}

.crt-consent input {
    margin-top: .42em;
    width: 17px;
    height: 17px;
    flex: none;
    accent-color: var(--crt-orange);
}

.crt-consent a {
    color: var(--crt-teal-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.crt-submit {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

/* ── フッター ─────────────────────────────────────────────── */

.crt-footer {
    position: relative;
    z-index: 1;
    border-top: 2px solid var(--crt-line-soft);
    background: var(--crt-bg);
}

.crt-footer-in {
    max-width: var(--crt-max);
    margin: 0 auto;
    padding: 36px var(--crt-pad);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--crt-body);
}

.crt-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crt-footer-brand strong {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--crt-ink);
}

.crt-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.crt-footer-links a:hover {
    color: var(--crt-orange);
}

.crt-footer-copy {
    width: 100%;
    padding-top: 4px;
    font-size: 12px;
    color: var(--crt-muted);
}

/* ── スクロール演出 ───────────────────────────────────────── */

/* JS が付ける。JS が動かなければ何も隠れないので本文は常に読める */
.crt [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

.crt [data-reveal][data-on] {
    animation: crt-fade-up .8s cubic-bezier(.22, 1, .36, 1) both;
}

/* ── キーフレーム ─────────────────────────────────────────── */

@keyframes crt-letter {
    from {
        opacity: 0;
        transform: translateY(110%) rotate(6deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes crt-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes crt-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 56, 15, .45);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(242, 56, 15, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242, 56, 15, 0);
    }
}

@keyframes crt-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(4vw, -3vh) scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {

    .crt *,
    .crt *::before,
    .crt *::after {
        animation: none !important;
        transition: none !important;
    }

    .crt [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
