:root {
    --bg-color: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    /* 読み飛ばしてよい文（日付・フッター）はこれ。#f5f5f7 の上で 3.3:1 しかない */
    --text-instruct: #3f3f46;
    /* 読んで操作してもらう文はこれ。同じ背景で 9.2:1。
       手順書の説明が --text-secondary で書かれていて、
       一番読んでほしい文が一番薄かった */
    --border-color: #d2d2d7;
    --border-active: #0071e3;
    --blue-bg: #0071e3;
    --white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.7);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --shadow-active: 0 0 0 1px #0071e3;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Navigation */
.global-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 48px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Promotional Sections */
.promo-container {
    background: #fff;
    padding-top: 48px;
    overflow-x: hidden;
}

.promo-hero {
    text-align: center;
    padding: 120px 20px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at top, #fafafa 0%, #ffffff 100%);
}

.promo-headline {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #111, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-subheadline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
}

.promo-actions {
    margin-bottom: 80px;
}

.promo-hero-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.hero-mockup-placeholder {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #f0f0f0 url('images/type_b_mockup.png') center/cover no-repeat;
}

.promo-concept {
    padding: 160px 20px;
    background: #fff;
    text-align: center;
}

.promo-text-center {
    max-width: 800px;
    margin: 0 auto;
}

.promo-text-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.promo-text-center p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.promo-features {
    padding: 120px 20px;
    background: #fafafa;
}

.feature-row {
    max-width: 1100px;
    margin: 0 auto 120px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.feature-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-visual {
    flex: 1;
}

.feature-box {
    width: 100%;
    padding-bottom: 80%;
    border-radius: 24px;
    background: #eaeaea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-box.box-1 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.feature-box.box-2 { background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); }
.feature-box.box-3 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }

.promo-transition {
    padding: 120px 20px;
    text-align: center;
    background: #fff;
}

.promo-transition h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .promo-headline { font-size: 2.5rem; }
    .promo-subheadline { font-size: 1.2rem; }
    .feature-row { flex-direction: column; gap: 40px; }
    .feature-row.reverse { flex-direction: column; }
    .promo-concept { padding: 100px 20px; }
    .promo-features { padding: 80px 20px; }
}

/* Product Header */
.product-header {
    margin-top: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.product-header.sticky-header {
    position: sticky;
    top: 48px;
    z-index: 999;
}

.product-header-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.product-price {
    font-size: 1rem;
    font-weight: 500;
}

/* Main Layout */
.main-container {
    /* 見本に幅を回すため、ここだけ広くしている。
       Type B は PC 2画面ぶんの見本なので、狭いと字が読めない */
    max-width: 1360px;
    margin: 0 auto;
    padding: 40px 20px;
}

.split-layout {
    display: flex;
    gap: 32px;
    /* flex-start だと左の列が中身の高さで止まり、見本が途中で
       貼り付かなくなって画面の外へ出ていく。行の高さいっぱいに伸ばす */
    align-items: stretch;
}

/* Gallery Column */
/* 相談欄を開いているあいだ、見本をしまうのは狭い画面だけ。
   携帯では見本が画面の上半分を占めて、入力欄が見えなくなる（2026-11-09）。
   広い画面でしまうと、入力欄が左端に残って右が丸ごと空いた（2026-11-10） */
@media (max-width: 834px) {
    .split-layout.inquiry-open .gallery-column {
        display: none;
    }
}

/* しまったあと、見本に戻るための手立て。
   相談欄の見出しの位置に置くと、開いた直後は画面の外にあって見えない。
   画面の下に貼り付けて、いつでも押せるようにする（2026-11-10） */
.preview-toggle {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.preview-toggle::before { content: "↑"; color: var(--text-secondary); }
.preview-toggle[data-state="hide"]::before { content: "↓"; }
.preview-toggle:active { transform: translateX(-50%) scale(0.98); }
.preview-toggle[hidden] { display: none; }

.gallery-column {
    flex: 1;
    position: relative;
    /* これが無いと、見本を拡大したとき中身の幅に引きずられて
       左の列ごと広がり、右の設定欄が潰れる */
    min-width: 0;
}

/* プレビュー枠。寸法は HTML のインライン指定から移した
   （スマホで縮小するには CSS 側で上書きできる必要があるため） */
/* プレビュー枠。高さは枠に合わせる。
   800px 固定にしていたため、高さ 600px の枠から 200px はみ出していた。
   中身はスクロールできるので、枠いっぱいに収めれば足りる。 */
/* 表示窓。拡大したときはここでスクロールする */
.preview-viewport {
    position: relative;
    overflow: auto;
    width: 100%;
    min-width: 0;
    /* 縮小したときに周りへ出る余白。見本が紙のように浮いて見える */
    background: var(--bg-color, #f5f5f7);
    -webkit-overflow-scrolling: touch;
}
/* 見た目どおりの大きさを持つ箱。幅が余れば中央に寄せる */
.preview-canvas {
    position: relative;
    margin: 0 auto;
}
/* 中身は JS が px で決める。左上を基準に縮める */
.product-iframe {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    display: block;
    transform-origin: top left;
}

/* 拡大・縮小。切り替えボタンの右端に小さく置く */
.zoom-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }

/* 枠の高さの切り替え。倍率（zoom）は中身の大きさ、こちらは枠そのもの */
.size-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.size-btn {
    min-width: 24px; height: 24px; padding: 0 5px;
    border: 1px solid var(--border-color); border-radius: 6px;
    background: #fff; color: var(--text-secondary);
    font-size: 11px; line-height: 1; cursor: pointer;
}
.size-btn:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.size-btn.is-on {
    background: var(--text-primary); color: #fff; border-color: var(--text-primary);
}
.zoom-btn {
    width: 24px; height: 24px; padding: 0;
    border: 1px solid var(--border-color); border-radius: 6px;
    background: #fff; color: var(--text-secondary);
    font-size: 13px; line-height: 1; cursor: pointer;
}
.zoom-btn:hover:not(:disabled) { border-color: var(--text-secondary); color: var(--text-primary); }
.zoom-btn:disabled { opacity: .35; cursor: default; }
.zoom-level {
    min-width: 38px; text-align: center;
    font-size: 11px; color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.sticky-gallery {
    position: sticky;
    top: 140px; /* Below headers */
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    display: block;          /* flex + align-items:center だと子が高さを取れない */
    overflow: hidden;        /* 角丸からはみ出さないように */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* 見本はできるだけ大きく。ただし画面の高さを超えると、上の帯に隠れて
       頭が切れる。帯のぶん（140px）と余白を引いた残りが上限 */
    height: min(760px, calc(100vh - 170px));
    transition: height 0.3s ease;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-transition {
    opacity: 1;
    transform: scale(1);
}

.fade-transition.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

/* Config Column */
.config-column {
    flex: 1;
    /* 見本側に幅を回すため、ここは狭めに固定する。
       Type B は PC 向けの組みなので、横が足りないと字が読めない */
    max-width: 420px;
    padding-bottom: 100px;
}

.config-header {
    margin-bottom: 40px;
}

.config-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.config-header .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    /* 日本語は語の切れ目で折らないため、狭い幅だと「ます。」だけが
       次の行に落ちる。文節で折る指定を入れ、効かない環境でも
       読点の位置（<wbr>）で折れるようにしてある */
    word-break: auto-phrase;
    text-wrap: pretty;
}

.config-section {
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.config-section h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.step-num {
    color: var(--text-secondary);
    font-weight: 600;
}

.step-desc {
    color: var(--text-secondary);
    font-weight: 400;
}

/* 選択したときだけ出す注記 */
.option-note {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.75;
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.color-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    width: calc(50% - 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background-color: var(--card-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    position: relative;
}

.color-card input[type="radio"] {
    display: none;
}

.color-card:hover {
    border-color: var(--text-secondary);
}

.color-card.active {
    border-color: var(--border-active);
    box-shadow: var(--shadow-active);
    background-color: var(--white);
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.swatch-silver {
    background: linear-gradient(135deg, #e3e4e5, #b8b9ba);
}

.swatch-midnight {
    background: linear-gradient(135deg, #3a3b3e, #1a1a1c);
}

.color-name {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Option Cards (Coverage) */
.coverage-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    background-color: var(--card-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.option-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.option-tags-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tag-pro {
    display: block;
    padding: 3px 0 3px 10px;
    border-left: 2px solid #0071e3;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    background: none;
    border-radius: 0;
}

.option-card input[type="radio"] {
    display: none;
}

.option-card:hover {
    border-color: var(--text-secondary);
}

.option-card.active {
    border-color: var(--border-active);
    box-shadow: var(--shadow-active);
    background-color: var(--white);
}

.option-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.option-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.option-price {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Summary Section */
.summary-section {
    background-color: var(--white);
    border-radius: 18px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.summary-details {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.summary-color {
    color: var(--text-secondary);
}

.checkout-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.total-price-display h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.btn-primary {
    background-color: var(--blue-bg);
    color: var(--white);
    border: none;
    border-radius: 980px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
}

.btn-primary:hover {
    background-color: #0077ED;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* ============================================================
   Inquiry (copy + Instagram)
   ============================================================ */
.inquiry-section {
    background-color: var(--white);
    border-radius: 18px;
    padding: 30px;
    margin-top: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.inquiry-section[hidden] { display: none; }

.inquiry-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.inquiry-lead {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.inquiry-plan {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.plan-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 7px 0;
}

.plan-row + .plan-row { border-top: 1px solid var(--border-color); }
.plan-row span { color: var(--text-secondary); font-size: 0.9rem; }
.plan-row strong { font-weight: 600; text-align: right; }

.inquiry-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-actions .btn-primary {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 980px;
    padding: 15px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
    width: 100%;
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    border-color: var(--text-secondary);
}

.btn-secondary:active { transform: scale(0.98); }

.inquiry-actions .btn-primary[aria-disabled="true"] {
    opacity: 0.55;
    cursor: default;
}

/* 送信前に了承していただくこと（2026-11-10）。
   ご依頼が確定するのはこの送信なので、ここに置いている */
.consent-box {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--white);
    padding: 16px 18px;
    margin: 28px 0 18px;
}

/* 読んでから押す順にする。先にチェックを置くと、読まずに押せてしまう */
.consent-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.97rem;
    color: var(--text-primary);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.consent-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: var(--blue-bg);
    cursor: pointer;
}

.consent-list {
    margin: 0 0 4px;
    padding-left: 1.2em;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-instruct);
}

.consent-list li { margin: 6px 0; }
.consent-list a { color: var(--blue-bg); }

.consent-foot {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* 押せない理由が分かるよう、見た目でも止める */
.inquiry-actions .btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* --- 問い合わせフォーム --- */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 4px;
}

/* display を指定すると hidden 属性が効かなくなる。
   送信後にフォームを畳めず、記入済みのまま残っていた。
   下の .field も display を持つので、個々の欄にも同じことが起きる
   （連絡先にメールを選んでもメール欄が消えなかった） */
.inquiry-form[hidden],
.inquiry-form [hidden] { display: none !important; }

/* 申し込みで伺った連絡先の確認。二度書かせないための表示 */
.contact-known {
    margin-bottom: 18px; padding: 14px 16px;
    background: var(--bg-color); border-radius: 12px;
}
.contact-known dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.contact-known dt { font-size: 0.78rem; color: var(--text-secondary); white-space: nowrap; }
.contact-known dd { margin: 0; font-size: 0.88rem; overflow-wrap: anywhere; }
.contact-known .field-hint { margin-top: 12px; }
.link-btn {
    padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
    color: var(--border-active); text-decoration: underline;
}

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

.inquiry-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.inquiry-form .req,
.inquiry-form .opt {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: 1px;
}

.inquiry-form .req { background-color: var(--blue-bg); color: var(--white); }
.inquiry-form .opt { background-color: var(--bg-color); color: var(--text-secondary); }

/* type="email" が抜けていて、メールアドレス欄だけ素のままの
   細い入力欄になっていた。種類で名指しせず、まとめて当てる */
.inquiry-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.inquiry-form textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 13px 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.inquiry-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--border-active);
    box-shadow: var(--shadow-active);
}

.inquiry-form textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

.contact-choice { display: flex; gap: 10px; }

.contact-choice .choice {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-choice .choice:has(input:checked) {
    border-color: var(--border-active);
    box-shadow: var(--shadow-active);
}

.field-hint {
    font-size: 0.78rem;
    color: var(--text-instruct);
    margin: 0;
}

/* ボット除け。人には見せない */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.inquiry-form .inquiry-actions { margin-top: 6px; }

.inquiry-form button[disabled] { opacity: 0.55; cursor: default; }

.inquiry-note a { color: var(--border-active); }

.inquiry-status {
    margin-top: 14px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.inquiry-status.is-success { color: #1a7f37; font-weight: 500; }
.inquiry-status.is-error   { color: #d93025; font-weight: 500; }

.inquiry-note {
    margin-top: 4px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .inquiry-section { padding: 22px 18px; }
    .plan-row { flex-direction: column; gap: 2px; }
    .plan-row strong { text-align: left; }
}

/* Footer */
.global-footer {
    background-color: var(--white);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
/* ページ自体が横に動いてしまっていた（スマホで300pxほど）。
   見本の帯は自前で横スクロールを持っているので、外側は止めてよい。 */
/* 念のための保険。本当の原因は .visually-hidden の飛び出しで、そちらを直してある */
html { overflow-x: clip; }

/* 狭い画面でも、左に見本・右に選択肢の横並びのまま。
   縦に積むと、選んだ結果を見るのにいちいち上へ戻ることになる。
   見本は貼り付けておき、右を送っても見えたままにする。 */
@media (max-width: 834px) {
    .split-layout {
        gap: 14px;
        align-items: stretch;   /* 見本の列を行の高さいっぱいにして、貼り付いたままにする */
    }

    .gallery-column {
        width: 46%;
        flex: 0 0 46%;
        min-width: 0;
    }

    .sticky-gallery {
        position: sticky;
        /* 上にある2つの帯（ロゴの帯55px＋「デザインプランを選択」の帯92px）の
           下に出す。72px では上端が帯に隠れて、見本の頭が切れていた */
        top: 152px;
        height: min(620px, calc(100vh - 180px));
        padding: 10px;
        border-radius: 14px;
    }


    .product-image {
        height: 350px;
    }

    .config-column {
        width: 54%;
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
        padding-bottom: 40px;
    }

    /* 右側が半分の幅になるので、文字と余白を落とす */
    /* 右の列は画面の半分しかない。見出しが2行に割れないよう、
       列の幅に合わせて字を詰める。1行に収まる上限が約4.3vw */
    .config-header h2 { font-size: clamp(1.05rem, 4.3vw, 1.6rem); line-height: 1.25; }
    /* 見出しを詰めた分、説明文がそれより大きくならないように下げる */
    .config-header .subtitle { font-size: 0.82rem; line-height: 1.75; }
    .config-header { margin-bottom: 24px; }
    /* 見出しと説明が1行に混ざると、列が狭いぶん
       「ベースと／なる色合いを」と語の途中で割れる。
       説明は行を分け、文節で折る */
    .config-section h3 { font-size: 1rem; line-height: 1.5; margin-bottom: 16px; }
    .config-section h3 .step-desc {
        display: block;
        margin-top: 2px;
        font-size: 0.78rem;
        line-height: 1.7;
        word-break: auto-phrase;
    }
    .coverage-options { gap: 10px; }
    .option-card { padding: 12px; gap: 10px; border-radius: 10px; }
    .option-card-top { flex-direction: column; align-items: flex-start; gap: 4px; }
    .option-info h4 { font-size: 0.92rem; }
    .option-info p { font-size: 0.76rem; line-height: 1.7; word-break: auto-phrase; }
    .option-price { font-size: 0.88rem; }
    .option-tags { padding-top: 10px; gap: 6px; }
    .tag-pro { font-size: 0.74rem; }
    .summary-section { padding: 18px; border-radius: 14px; }
}

/* ====== NEW PROMO DESIGN ====== */
:root {
  --bg:#f8fafc;--paper:#ffffff;--text:#0f172a;--muted:#64748b;--line:#e2e8f0;--blue:#2563eb;--blue-deep:#1d4ed8;--blue-soft:#dbeafe;--shadow:0 24px 70px rgba(15,23,42,.10);--shadow-soft:0 12px 34px rgba(15,23,42,.04);--radius:28px;--max:1180px;
}

html { scroll-behavior: smooth; }

.new-promo-main {
  background: linear-gradient(180deg,#f8fafc 0%,#fff 100%);
  color: var(--text);
  font-family: -apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic","Noto Sans JP",sans-serif;
  line-height: 1.85;
  letter-spacing: .01em;
}

.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

header.new-header {
  position: sticky; top: 0; background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); z-index: 20;
}
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.brand { font-size: 14px; font-weight: 800; color: var(--text); }
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #334155; font-size: 13px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

.new-promo-main h1, .new-promo-main h2, .new-promo-main h3, .new-promo-main p { margin: 0; }
.hero { padding: 34px 0 16px; }
.eyebrow { display: inline-block; font-size: 13px; color: #64748b; margin-bottom: 14px; }
.hero-title { font-size: clamp(30px, 3.7vw, 46px); line-height: 1.24; letter-spacing: -.03em; color: var(--text); }
.hero-sub { margin: 12px 0 0; max-width: 38em; color: #475569; font-size: 16px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 14px 0 0; padding: 0; }
.hero-facts li { display: inline-flex; align-items: baseline; gap: .45em; padding: 6px 13px 6px 11px; border: 1px solid #d7dde5; border-radius: 999px; background: #fff; color: #475569; font-size: 14px; line-height: 1.5; }
.hero-facts li::before { content: "\2713"; color: var(--blue); font-weight: 900; font-size: 12px; }
.hero-facts strong { color: var(--text); font-weight: 700; }
@media (max-width: 720px) { .hero-facts li { font-size: 13px; padding: 6px 12px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; padding: 12px 22px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; border: none; cursor: pointer; }
.ghost { display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; padding: 14px 24px; border-radius: 999px; background: #fff; color: #0f172a; text-decoration: none; font-size: 14px; font-weight: 700; border: 1px solid var(--line); }

/* 広い画面では、見本全体をもう一段縮める。
   中の値はもう詰め切っているので、zoom でまとめて小さくしている */
@media (min-width: 981px) { .device { zoom: .66; } }
.device { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.device-nav { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #eef2f7; background: #fbfdff; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.url { flex: 1; height: 34px; border-radius: 999px; background: #f1f5f9; border: 1px solid var(--line); }
.device-body { padding: 20px; }

.top-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 14px; align-items: stretch; }
.main-card, .profile-card, .timeline-card, .support-card, .section-card, .bridge, .cta { border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }

.main-card { position: relative; overflow: hidden; min-height: 268px; background: linear-gradient(135deg,#f8fafc 0%,#ffffff 100%); padding: 20px; color: #0f172a; border: 1px solid var(--line) !important; }
.main-card:before { content: ""; position: absolute; right: -28px; top: -22px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle,rgba(37,99,235,.06),rgba(37,99,235,0) 68%); }
.main-head { position: relative; z-index: 2; max-width: 52%; }
.tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #eff6ff; color: #2563eb; font-size: 11px; font-weight: 800; margin-bottom: 14px; border: 1px solid #dbeafe; }
.main-card h2 { margin: 0 0 9px; font-size: 24px; line-height: 1.35; letter-spacing: -.02em; color: #0f172a; }
.main-card p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.85; }
.main-visual { position: absolute; right: 18px; top: 18px; bottom: 72px; width: 180px; display: flex; align-items: flex-end; justify-content: flex-end; z-index: 1; }
.visual-stack { width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.visual-photo { width: 100%; height: 124px; border-radius: 26px; background: linear-gradient(180deg,#dbeafe,#eff6ff); border: 1px solid #bfdbfe; position: relative; overflow: hidden; }
.visual-photo:before { content: ""; position: absolute; left: 18px; right: 18px; bottom: 24px; height: 2px; background: rgba(37,99,235,.15); box-shadow: 0 -18px 0 rgba(37,99,235,.10), 0 -36px 0 rgba(37,99,235,.06); }
.visual-photo:after { content: ""; position: absolute; right: 18px; top: 18px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,rgba(255,255,255,.95),#bfdbfe); opacity: .85; }
.visual-stat { width: 144px; padding: 10px 12px; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; box-shadow: 0 4px 12px rgba(15,23,42,.06); }
.visual-stat strong { display: block; font-size: 13px; line-height: 1.2; }
.visual-stat span { display: block; margin-top: 6px; font-size: 11px; color: #64748b; }
.visual-lines { display: flex; gap: 8px; margin-top: 10px; }
.visual-lines i { display: block; height: 6px; border-radius: 999px; background: rgba(37,99,235,.50); }
.visual-lines i:nth-child(1) { width: 34px; }
.visual-lines i:nth-child(2) { width: 58px; background: rgba(37,99,235,.25); }
.visual-lines i:nth-child(3) { width: 26px; background: rgba(37,99,235,.12); }
.main-strip { position: absolute; left: 20px; right: 20px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; z-index: 2; }
.main-pill { padding: 9px 11px; border-radius: 18px; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; box-shadow: 0 2px 8px rgba(15,23,42,.05); }
.main-pill strong { display: block; font-size: 14px; line-height: 1.2; }
.main-pill span { display: block; margin-top: 5px; font-size: 11px; color: #64748b; }

.profile-card { padding: 16px; background: linear-gradient(180deg,#f8fbff 0%,#fff 100%); display: flex; flex-direction: column; gap: 14px; }
.profile-top { display: flex; gap: 16px; align-items: flex-start; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,#93c5fd,#2563eb); flex: 0 0 auto; box-shadow: 0 10px 24px rgba(37,99,235,.22); }
.profile-meta { flex: 1; }
.name { width: 68%; height: 13px; border-radius: 999px; background: #0f172a; margin-bottom: 9px; }
.sport { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #eff6ff; color: #2563eb; font-size: 11px; font-weight: 800; margin-bottom: 10px; }
.bio { color: #64748b; font-size: 13px; line-height: 1.85; }
.snapshot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.snap { padding: 12px; border-radius: 16px; border: 1px solid #dbeafe; background: #fff; }
.snap strong { display: block; font-size: 13px; color: #0f172a; margin-bottom: 6px; }
.snap span { display: block; font-size: 12px; color: #64748b; line-height: 1.7; }

.section { padding: 92px 0 0; text-align: center; }
/* 見出しと本文の差が3倍あり、本文が注釈のように見えていた。
   見出しを下げ、本文を上げて、間の余白を広げている */
.section-title { font-size: clamp(27px, 3.1vw, 40px); line-height: 1.45; letter-spacing: -.02em; max-width: 14em; margin: 0 auto 28px; color: var(--text); text-wrap: balance; }
/* 広い画面では1行に収める。スマホでは 720px 以下で解除する（下のメディアクエリ）。
   以前は HTML に white-space:nowrap を直書きしており、スマホで見出しが
   画面外へ伸び、ページ全体が横スクロールしていた。 */
.section-title.one-line { white-space: nowrap; max-width: none; }
/* 装飾バーの中に置いたラベルを、読み上げには残しつつ目には見せない */
/* 読み上げ用の文字。absolute なので、位置の基準になる親がないと
   ページの右端まで飛び出し、ページ全体が横に動く原因になっていた。
   基準を name に持たせて中に閉じ込める。 */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.name { position: relative; }
/* 48em（1行48文字）は日本語には長すぎる。35em（約35文字）に絞る。
   中央揃えのままなので、行が長いほど左端のギザギザが目立っていた */
/* 中央揃え。中央で組むときは1行を短く保つほど、行の長さが揃って見える。
   35em（約35文字）に絞り、各行の長さを text-wrap: balance で均す */
/* 本文の最長行が見出しより長いと、見出しが負けて見える。
   見出し 14em（40px換算で約560px）より狭い 27em（18px換算で約486px）に収める */
.section-copy { max-width: 27em; margin: 0 auto; color: #4b5563; font-size: 18px; line-height: 1.95; text-align: center; }
/* 強調の一文は、独立した段落にして単独で行を均す。
   同じ段落に混ぜると 343px と 163px のように極端に割れる */
.copy-emphasis { margin-top: .6em !important; }
/* 段落の間は <br> ではなく余白で取る。<br> は改行であって段落の区切りではない */
/* text-wrap: balance は日本語には効かない（語の区切りが無く、
   Chrome が行を均せない）。幅いっぱいまで詰めれば、
   最終行をのぞく全行が同じ長さになり、中央揃えでも揃って見える */
.section-copy p { margin: 0; }
.section-copy p + p { margin-top: 1.6em; }
.section-copy br + br, .section-copy > br { display: none; }
.section-copy strong { color: #111827; }

.meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.section-card { padding: 28px 24px; }
.no { font-size: 12px; color: var(--blue); font-weight: 800; letter-spacing: .16em; margin-bottom: 14px; }
.section-card h3 { font-size: 24px; line-height: 1.55; margin-bottom: 12px; color: var(--text); }
.section-card p { color: #4b5563; font-size: 15px; line-height: 1.9; }

.lower-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 14px; margin-top: 14px; }
.timeline-card { padding: 16px; text-align: left; }
.card-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #2563eb; margin-bottom: 12px; }
.timeline-title { margin: 0 0 10px; font-size: 16px; line-height: 1.5; color: var(--text); }
.timeline { position: relative; padding-left: 24px; }
.timeline:before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: #dbeafe; }
.point { position: relative; padding: 0 0 12px 16px; }
.point:last-child { padding-bottom: 0; }
.point:before { content: ""; position: absolute; left: -3px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 6px #eff6ff; }
.year { font-size: 13px; font-weight: 800; color: #2563eb; margin-bottom: 4px; }
.event { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 3px; }
.desc { font-size: 12px; color: #64748b; line-height: 1.75; }

.support-card { padding: 16px; text-align: left; background: linear-gradient(180deg,#fff 0%,#f8fbff 100%); }
.support-title { margin: 0 0 9px; font-size: 16px; line-height: 1.5; color: var(--text); }
.support-copy { font-size: 13px; color: #64748b; line-height: 1.8; margin-bottom: 12px; }
.support-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.support-logo { height: 40px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg,#fff,#f8fafc); display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.support-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f7; color: #94a3b8; font-size: 12px; }

.bridge, .cta { margin-top: 28px; padding: 38px 30px; text-align: center; }
.bridge { margin-top: 64px; background: linear-gradient(180deg,#f8fbff 0%,#fff 100%); }
.bridge h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.45; color: var(--text); }
.bridge p, .cta p { margin: 14px auto 0; max-width: 42em; color: #4b5563; font-size: 16px; line-height: 1.95; }
.actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

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

/* 見本の画面は、どの幅でも4枚を横一列に並べ、ゆっくり自動で流す。
   2×2 に組むと縦に大きくなりすぎるため、一列にした。
   display:contents で上段・下段の箱を透かし、4枚を直接の子にしている。
   自動送りは script.js。マウスを乗せている間と、
   動きを減らす設定の端末では止まる。 */
.device-body {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
    /* 上下だけでなく左右の端も薄く消す。
       横に流しているため、カードが枠の縁で断ち切られて
       外にはみ出して見えていた */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.device-body::-webkit-scrollbar { display: none; }
/* 自動送りが動いていないときだけ、指で送る位置を合わせる */
.device-body:not(.is-auto) { scroll-snap-type: x mandatory; }
.device-body:not(.is-auto) > * > * { scroll-snap-align: start; }
.top-grid, .lower-grid { display: contents; }
.top-grid > *, .lower-grid > * {
    flex: 0 0 min(54%, 260px);
}
/* カードが小さくなった分、中の余白と文字も詰める。
   ここは「サイトの見本」の絵なので、小さめでも成立する */
.main-card, .profile-card, .timeline-card, .support-card { padding: 14px; }
.main-card { min-height: auto; }
.main-card h2 { font-size: 16px; line-height: 1.55; }
.main-head p, .main-card p { font-size: 11px; line-height: 1.7; }
.main-pill strong, .snap strong { font-size: 12px; }
.main-pill span, .snap span { font-size: 11px; }
.timeline-title, .support-title { font-size: 14px; }
.desc, .support-copy, .bio { font-size: 11px; line-height: 1.7; }
.tag { font-size: 9px; padding: 4px 10px; }
.card-label, .sport { font-size: 10px; }
.year, .event { font-size: 12px; }
.main-head { max-width: 100%; }
.main-visual { position: relative; right: auto; top: auto; bottom: auto; width: 100%; margin-top: 18px; }
.visual-stack { align-items: stretch; }
.visual-stat { width: 100%; }
.visual-photo { height: 96px; }
/* 一番背の高いカードが帯の高さを決めてしまう。
   役割の重なるものを落として、帯を薄く保つ。
   ここは「サイトの見本」の絵なので、要素が減っても意味は通る */
.visual-stat { display: none; }    /* 写真の下の説明。写真だけで足りる */
.point:nth-child(n+3) { display: none; } /* 年表は2つ見えれば形が伝わる */
.avatar { width: 48px; height: 48px; }
.snapshot { gap: 8px; }
.snap { padding: 9px 10px; border-radius: 14px; }
/* 協賛の枠は中身が少なく、下が空いて見えるので、
   カードの残りの高さいっぱいに伸ばす */
.support-card { display: flex; flex-direction: column; }
.support-logos { flex: 1 1 auto; grid-auto-rows: 1fr; }
.support-logo { height: auto; min-height: 36px; }
/* 横一列では、いちばん背の高いカードに他が引き伸ばされ、
   下半分が白く空いて間延びしていた。
   右のプロフィールカードと中身が重なる下段の3つを外し、
   4枚の丈をそろえている */
.main-strip { display: none; }
.profile-top { align-items: center; }

@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .mock-body, .device-body { padding: 20px; }
  /* 画面幅に追従させる。42px 固定では「SNSでは伝えきれない、」が
     行内で分断され、「SNSでは伝えきれ / ない、」と割れていた */
  .hero-title { font-size: clamp(26px, 8.4vw, 42px); }
  /* 内側の余白を削って本文幅を稼ぐ。30px のままだと見出しが収まらない */
  .main-card { min-height: auto; padding: 14px; }
  /* 980px の横スライド用の指定を上書きしないよう、同じ値にそろえる */
  .main-card h2 { font-size: 16px; line-height: 1.55; }
  .snapshot, .support-logos { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn, .ghost { width: 100%; }

  /* 1行固定を解除する。狭い画面では収まらず、画面外へ伸びてしまう */
  .section-title.one-line { white-space: normal; max-width: 14em; }

  /* アバターと本文が横に並ぶと本文が潰れるので、縦に積む */
  .profile-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .avatar { width: 64px; height: 64px; }
}

/* スマホ。左右に2列を並べる幅が無い（見本137px・設定160px）ので、
   ここだけ上下に積む。ただし見本は画面の上に貼り付けたままにして、
   設定を選んでもその場で見本が変わるようにする（上に戻らせない） */
@media (max-width: 600px) {
    .main-container { padding: 16px 12px 40px; }
    .split-layout { flex-direction: column; gap: 14px; }

    /* 貼り付くのは列そのもの。中の白い箱を貼り付けても、箱と同じ高さの
       列からはみ出せないので、すぐ流れていってしまう */
    .gallery-column {
        width: 100%;
        flex: 0 0 auto;
        position: sticky;
        /* 上の2本の帯（ロゴ55px＋見出しの帯）の下に出す */
        top: 150px;
        z-index: 20;
    }
    .sticky-gallery {
        position: static;
        height: min(360px, 44vh);
        padding: 10px;
        border-radius: 14px;
    }
    .visual-switch { margin-top: 6px; }

    .config-column {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }
}

/* 狭い画面の見本枠。中身の大きさは script.js の layoutPreview が決める */
@media (max-width: 834px) {
  .sticky-gallery {
      overflow: hidden;
      display: block;
      padding: 12px;
  }
}

/* ------------------------------------------------------------------
   スマホでの見出し調整
   このファイルは「基本ルール → メディアクエリ」の順に並んでいない箇所が
   あり、前方に書いた上書きは後ろの基本ルールに負ける。ここは末尾に置く。
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
  /* 右の列は画面の半分しかないため、2.5rem でも 1.6rem でも
     「サイトの / 仕様を決める」と2行に割れていた。
     列の幅に収まる上限（約4.3vw）まで字を詰めて、1行に収める */
  .config-header h2 { font-size: clamp(1rem, 4.3vw, 1.6rem); line-height: 1.3; }
}

/* 語句のまとまりで折り返す。
   .phrase は狭いと1つずつ行に落ち、広ければ横に並んで1行になる。
   <br> で固定すると広い画面でも必ず折れてしまうため、この方式にしている */
.phrase { display: inline-block; }

/* 「（目安）」は途中で割らない */
.product-price .price-note { white-space: nowrap; }

@media (max-width: 768px) {
  /* 見出しと価格を横に並べると、どちらも語中で割れる
     （「デザインプランを / 選択」「￥35,000〜 （目 / 安）」）。
     縦に積んで、それぞれ1行に収める */
  .product-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .product-title { font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
  .product-price { font-size: 0.95rem; color: var(--text-secondary); }

  /* 38px のままだと「その歩みに合う形を」が1行に収まらない */
  .bridge h3 { font-size: clamp(21px, 6.2vw, 28px); }
  .bridge, .cta { padding: 30px 20px; }

  /* 20px だと「支えてくれる人たちとの関係も、」が 280px 必要で、
     枠の 270px にわずかに入らず、語句の途中で折れてしまう */
  .support-title { font-size: 18px; }
}

/* ------------------------------------------------------------------
   日本語の改行
   ------------------------------------------------------------------
   既定のブラウザは日本語を語の途中でも切る。句読点の禁則処理はするが
   語の区切りは見ないため、「歩みを、流れない形で残せ / る」のように
   1文字だけ次の行に落ちる。狭い画面ほど起きやすい。

   - word-break: auto-phrase … 文節を見て切る（日本語向け。lang="ja" が要る）
   - text-wrap: balance ……… 見出しの各行の長さを揃え、余り物の行を作らない
   - text-wrap: pretty ……… 本文の最終行に1語だけ残すのを避ける

   いずれも対応していないブラウザでは黙って無視され、今までと同じ挙動に
   戻るだけなので、入れて困るものではない。
   ------------------------------------------------------------------ */
/* どちらも継承する性質なので、body に一度だけ置けば全体に効く。
   セレクタを並べる方式だと、見出しに見えて実は div や span という
   箇所（プレビュー内の「競技への向き合い方が変わった時期」など）が
   毎回こぼれる。 */
:lang(ja) body { word-break: auto-phrase; }
body { text-wrap: pretty; }

/* 見出しは行の長さを揃える。pretty より balance の方が向く */
h1, h2, h3, h4,
.hero-title, .section-title, .product-title, .bridge h3,
.timeline-title, .event, .visual-stat strong {
  text-wrap: balance;
}

/* 見出しと説明文がくっついていた */
.support-card h3, .section-card h3, .timeline-card h3 { margin-bottom: 10px; }

/* ------------------------------------------------------------------
   法務ページ（プライバシーポリシー・特商法表記・利用規約）
   読ませるためのページなので、行長を抑えて字を大きめに取る
   ------------------------------------------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 100px; }

.legal-back {
  display: inline-block; margin-bottom: 28px; font-size: 0.9rem;
  color: var(--text-secondary); text-decoration: none;
}
.legal-back:hover { color: var(--border-active); }

.legal h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 700; margin: 0 0 8px; }

/* 冒頭の案内。要約ではなく最初に読む文なので、薄くしない。
   薄いままにするのは更新日（.revised）だけ */
.legal .lead { color: var(--text-instruct); margin: 0 0 12px; font-size: 0.95rem; line-height: 1.9; }
.legal .revised { color: var(--text-secondary); font-size: 0.82rem; margin: 0 0 36px; }

.legal h2 {
  font-size: 1.15rem; font-weight: 700; margin: 40px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--border-color);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }

.legal h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; }

.legal p, .legal li { line-height: 2; font-size: 0.95rem; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 10px 0; }
.legal li { margin-bottom: 6px; }

.legal table {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem;
}
.legal th, .legal td {
  border: 1px solid var(--border-color); padding: 11px 13px;
  text-align: left; vertical-align: top; line-height: 1.85;
}
.legal th { background: var(--bg-color); font-weight: 700; white-space: nowrap; width: 32%; }

.legal .table-scroll { overflow-x: auto; }

/* 事業者が埋めるべき箇所。公開前に必ず消す */
.fill {
  background: #fff3cd; color: #7a5b00; padding: 1px 7px;
  border-radius: 4px; font-weight: 600; font-size: 0.92em;
}

.legal .note {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px; margin: 18px 0; font-size: 0.88rem;
  color: var(--text-instruct); line-height: 1.9;
}

.footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: center; margin-bottom: 10px; font-size: 0.85rem;
}
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--border-active); text-decoration: underline; }

@media (max-width: 600px) {
  .legal th { width: auto; white-space: normal; }
  .legal th, .legal td { padding: 9px 10px; }
}

/* フォーム送信前の同意表示 */
.consent-note { margin: 4px 0 0; line-height: 1.85; }
.consent-note a { color: var(--border-active); }

/* ヒアリングフォーム。縦に並べる選択肢 */
.choice-list { display: flex; flex-direction: column; gap: 8px; }

.choice-list .choice {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--border-color);
    border-radius: 12px; background: var(--white);
    cursor: pointer; font-weight: 400; line-height: 1.7;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.choice-list .choice:has(input:checked) {
    border-color: var(--border-active); box-shadow: var(--shadow-active);
}

.choice-list input[type="radio"] { margin-top: 4px; flex: 0 0 auto; }

.legal .inquiry-form h2 {
    margin-top: 40px; padding-top: 22px;
    border-top: 1px solid var(--border-color);
}

.legal .inquiry-form .sec-note {
    color: var(--text-secondary); font-size: 0.88rem;
    margin: -8px 0 4px; line-height: 1.85;
}

.inquiry-form[hidden] { display: none; }

/* 送信後に出す次の案内。ここで止めずにヒアリングへ送る */
.next-step {
    margin-top: 20px; padding: 22px 20px;
    background: var(--bg-color); border-radius: 14px; text-align: center;
}
.next-step[hidden] { display: none; }
.next-step h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.next-step p { margin: 0 0 16px; font-size: 0.9rem; line-height: 1.85; color: var(--text-secondary); }
.next-step .btn-primary { display: inline-block; text-decoration: none; padding: 14px 28px; }
.next-step-note { margin: 14px 0 0 !important; font-size: 0.8rem; }
.next-step-note a { color: var(--border-active); }
.next-step h4 { margin: 26px 0 8px; font-size: 0.98rem; font-weight: 700; }

/* ご依頼内容の控え。自動返信メールを送れないため、お客様の手元に残る
   唯一の記録になる。読み上げやスクリーンショットに耐える形にしておく */
.receipt {
    margin: 0 0 8px; padding: 16px 18px; text-align: left;
    background: var(--paper, #fff);
    border: 1px solid var(--line, #e2e8f0); border-radius: 12px;
}
.receipt-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px; flex-wrap: wrap;
    padding-bottom: 10px; margin-bottom: 12px;
    border-bottom: 1px solid var(--line, #e2e8f0);
}
.receipt-head strong { font-size: 0.95rem; }
.receipt-head span { font-size: 0.8rem; color: var(--text-secondary); }
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.receipt dt { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; }
.receipt dd { margin: 0; font-size: 0.88rem; line-height: 1.7; overflow-wrap: anywhere; }
.receipt-warn {
    margin: 14px 0 0 !important; padding-top: 12px;
    border-top: 1px solid var(--line, #e2e8f0);
    font-size: 0.8rem !important; line-height: 1.7 !important;
}

/* このあと何が起きるかを先に見せる。
   次が分からないまま放り出されると、そこで止まってしまう */
.flow-ahead {
    margin: 22px 0 18px; padding: 16px 18px; text-align: left;
    border: 1px dashed var(--line, #e2e8f0); border-radius: 12px;
}
.flow-ahead > strong { display: block; margin-bottom: 10px; font-size: 0.92rem; }
.flow-ahead ol { margin: 0; padding-left: 1.3em; }
.flow-ahead li { margin-bottom: 10px; font-size: 0.86rem; line-height: 1.8; }
.flow-ahead li:last-child { margin-bottom: 0; }
.flow-ahead p { font-size: 0.86rem !important; margin-bottom: 10px !important; }
.flow-ahead a { color: var(--border-active); }

/* 選択肢の補足。見出しと説明を分けて読ませる */
.choice-list .choice > span { flex: 1; }

.choice-note {
    display: block; margin-top: 3px;
    font-size: 0.82rem; line-height: 1.75; color: var(--text-instruct);
}

.legal .field-hint code {
    background: var(--white); border: 1px solid var(--border-color);
    border-radius: 4px; padding: 1px 5px; font-size: 0.92em;
}

/* アドレス入力。.pages.dev を添えて、何になるか一目で分かるようにする */
.slug-row { display: flex; align-items: center; gap: 8px; }
.slug-row input { flex: 1; min-width: 0; }
.slug-suffix {
    color: var(--text-secondary); font-size: 0.95rem; white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 記入例。言葉だけでは伝わらない項目に添える */
.example-box {
    margin-top: 10px; padding: 12px 14px;
    background: var(--bg-color); border-radius: 10px;
    font-size: 0.85rem; line-height: 1.85; color: var(--text-secondary);
}
.example-box strong { display: block; margin-bottom: 4px; color: var(--text-primary); }
.example-box ul { margin: 0; padding-left: 1.3em; }
.example-box li { margin-bottom: 2px; }

/* 「ご連絡いただきたいこと」で、ユーザー名とリポジトリ名の形を示す。
   もとは入力欄付きの「リンクを作る箱」の一部だったが、
   GitHub の招待を廃止して組み立てる URL が無くなったため、色分けだけ残した */
.lm-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92rem !important; overflow-wrap: anywhere;
}
.lm-u { color: #0a68d8; font-weight: 700; }
.lm-r { color: #16a34a; font-weight: 700; }

@media (prefers-color-scheme: dark) {
    .lm-u { color: #6aa9f0; }
    .lm-r { color: #5cc98a; }
}

/* ══ Athlink のデザイン（2026-11-02 に Sync 版から移植） ══════════ */

/* サービスのロゴ。横組みの画像なので、高さだけ決めて幅は成り行きに任せる。
   狭い画面でも小さくしすぎると「Athlink」の字が潰れるため 22px を下限にする */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: clamp(22px, 4.6vw, 28px); width: auto; }

/* フッターは補足文つきのロゴ。英字が細いので、高さではなく幅で指定して
   小さくなりすぎないようにする。ヘッダー（26px）には使わない */
.footer-brand { margin: 0 0 18px; }
.footer-brand img { display: block; width: clamp(200px, 58vw, 260px); height: auto; margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 14px; font-size: 13px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; }
.footer-nav a:hover { color: var(--blue-bg); }

/* 制作事例。横に並べて、横スクロールで見てもらう。
   事例が増えても、ページの高さは変わらない */
.works-title { margin: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--text-secondary); text-align: left; }
.works-grid {
    display: flex; gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* カードの影が上下で切れないよう、スクロール領域に余白を持たせる */
    padding: 4px 4px 14px; margin: 0 -4px;
}
.works-grid > * { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; }
@media (min-width: 900px) { .works-grid { max-width: 760px; } }
.work-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--border-color); border-radius: 14px;
    background: var(--white, #fff); overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform .18s ease, box-shadow .18s ease;
}
a.work-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, .10); }
.work-shot { aspect-ratio: 1280 / 720; overflow: hidden; background: #0b0b0b; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
/* まだ無いものは、空の枠だと壊れて見える。そうと分かる形にしておく */
.work-shot.is-soon {
    display: grid; place-items: center;
    background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 12px, #e7edf3 12px, #e7edf3 24px);
    color: var(--text-secondary); font-size: 14px; letter-spacing: .08em;
}
.work-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.work-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--bg-color, #f5f5f7); color: var(--text-secondary); border: 1px solid var(--border-color); }
.work-body h3 { margin: 0; font-size: 16px; color: var(--text-primary); }
.work-body h3 small { font-weight: 400; font-size: 13px; color: var(--text-secondary); margin-left: 8px; }
.work-body p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.work-go { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--blue-bg); }
.work-go.is-muted { color: var(--text-secondary); font-weight: 400; }
.work-card.is-soon { opacity: .85; }

/* プレビューと切り替えを縦に積む。
   注意：.product-iframe は height:100% で親の高さを受ける作りなので、
   この箱に高さを持たせないと 150px に潰れる。
   高さが 600px 固定になるのは 835px 以上だけなので、そこだけで効かせる */
.preview-stack { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; }
/* 枠の高さから、下の切り替えぶんを引いた残りを表示窓が取る */
.preview-stack > .preview-viewport { flex: 1 1 0; min-height: 0; }

/* メインビジュアルの切り替え。申し込み項目ではなく見た目を試すものなので、
   プレビューのすぐ下に、小さく控えめに置く */
.visual-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.visual-switch-label { font-size: 11px; color: var(--text-secondary); margin-right: 4px; letter-spacing: .02em; }
.visual-pill {
    display: inline-flex; align-items: center;
    padding: 5px 12px; border: 1px solid var(--border-color); border-radius: 999px;
    background: var(--white, #fff); font-size: 12px; line-height: 1.4;
    color: var(--text-secondary); cursor: pointer; user-select: none;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.visual-pill:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.visual-pill.active { border-color: var(--blue-bg); color: var(--blue-bg); background: rgba(0, 113, 227, .06); font-weight: 600; }
/* ラジオ本体は隠す。見た目は枠の色で示す */
.visual-pill input { position: absolute; opacity: 0; width: 0; height: 0; }

/* 以前はここで場所を取らせていたが、人物写真のときに切り替えボタンと
   下の注意書きのあいだが大きく空いて見えた。素直に消す */
/* 見本の脇では、枠の高さを削らないように一行ぶんの素の文字にしておく */
#visual-note { margin: 6px 2px 0; padding: 0; background: none; font-size: 12px; line-height: 1.6; }

/* 申し込み欄のお知らせ。選んだ内容の表のすぐ下に置く */
.inquiry-note {
    margin: 12px 0 0; padding: 10px 14px;
    border-left: 3px solid var(--blue-bg, #0071e3);
    background: var(--bg-secondary, #f5f5f7);
    border-radius: 0 8px 8px 0;
    font-size: 13px; line-height: 1.8; color: var(--text-secondary);
    word-break: auto-phrase;
}

/* 最後のひと箱。見出し・一文・ボタンを、重心をそろえて一列に置く */
#cta { padding: 48px 30px; }
#cta h3 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.4; letter-spacing: -.02em; color: var(--text-primary, #1d1d1f); text-wrap: balance; }
#cta p { font-size: clamp(17px, 2.3vw, 22px); line-height: 1.9; color: var(--text-primary, #1d1d1f); max-width: 30em; margin: 0 auto; text-wrap: balance; }
#cta .actions { margin-top: 26px; }

/* 手順書（accounts.html）の「必ずこうしてください」の囲み。
   9か所で使っているのに指定が無く、ただの文章として出ていた。
   押すと取り返しのつかない操作の警告なので、ひと目で分かる必要がある */
.must {
  border: 1px solid #f0b4b4;
  border-left: 4px solid #d93025;
  border-radius: 0 12px 12px 0;
  background: #fdf3f3;
  padding: 16px 18px;
  margin: 22px 0;
  line-height: 1.9;
}
.must > strong:first-child {
  display: block; margin-bottom: 8px;
  color: #b3261e; font-size: 1.02rem;
}
.must p { margin: 10px 0 0; }
.must table { background: #fff; }

/* 手順書の画面写真。クラスを書いていたのに規則が無く、
   図が本文に貼り付き、横幅 715px のまま出ていた（スマートフォンで画面外にはみ出す） */
.shot {
  margin: 20px 0 24px;
}
.shot img {
  display: block; width: 100%; max-width: 715px; height: auto; margin: 0 auto;
  border: 1px solid var(--border-color); border-radius: 10px; background: var(--white);
}
.shot figcaption {
  margin: 8px auto 0; max-width: 715px;
  font-size: 0.85rem; line-height: 1.8; color: var(--text-instruct);
}

/* 「開かないとき」などの折りたたみ。これも規則が無く、
   押せる場所に見えていなかった */
.fold {
  border: 1px solid var(--border-color); border-radius: 10px;
  background: var(--white); margin: 18px 0; padding: 0 16px;
}
.fold > summary {
  cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 0.9rem;
}
.fold[open] > summary {
  border-bottom: 1px solid var(--border-color); margin-bottom: 12px;
}
.fold > *:last-child { margin-bottom: 14px; }

/* 法務・手順書ページの帯。中身の入れ物に余白が無く、
   ロゴが画面の左端に貼り付いていた */
header.new-header .footer-content {
  max-width: 760px; margin: 0 auto; padding: 12px 20px;
}

/* これから用意していただくものの図。
   作業の一覧ではなく、2つのサービスが何のための場所で、
   それがどこへつながるのかを描く。
   絵だけ SVG にして文字は HTML に置く。SVG に文字を入れると
   390px の画面で読めない大きさになるため */
.flowmap { margin: 22px 0 26px; }
.flowmap .fm-title {
  font-size: 1rem; font-weight: 700; margin: 0 0 14px;
  border-top: 0; padding-top: 0;
}
.flowmap ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.flowmap li {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 16px;
}
/* 矢印は箱と箱のあいだ。縦並びのときは下向き */
.flowmap li + li { margin-top: 30px; position: relative; }
.flowmap li + li::before {
  content: "↓"; position: absolute; top: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem; line-height: 1; color: var(--border-active);
}
.fm-icon { display: block; margin-bottom: 10px; }
.fm-icon svg {
  width: 40px; height: 40px; display: block;
  fill: none; stroke: var(--border-active); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.fm-head { display: block; font-size: 1rem; margin-bottom: 5px; }
.fm-body { display: block; font-size: 0.85rem; line-height: 1.8; color: var(--text-instruct); }
.fm-step {
  display: inline-block; margin-top: 10px;
  background: var(--bg-color); border-radius: 999px;
  padding: 2px 10px; font-size: 0.75rem; font-weight: 700;
  color: var(--text-instruct);
}

/* お客様の作業と当方の作業のつなぎ目。
   上の2つと同じ白。ただし全幅で、渡す瞬間だと分かるようにする */
.fm-hand {
  position: relative; margin-top: 30px;
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 16px;
}
.fm-hand::before {
  content: "↓"; position: absolute; top: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem; line-height: 1; color: var(--border-active);
}

/* 当方の作業。お客様が用意するものとは色で分ける */
.fm-after {
  position: relative; margin-top: 30px;
  background: #f0f6ff; border: 1px solid #bcd9f7;
  border-radius: 12px; padding: 16px;
}
.fm-after::before {
  content: "↓"; position: absolute; top: -26px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem; line-height: 1; color: var(--border-active);
}
.fm-after .fm-step { background: var(--white); margin: 0 0 6px; }
.fm-after .fm-head { margin-bottom: 5px; }

.fm-end {
  margin: 16px 0 0; font-size: 0.88rem; line-height: 1.9;
  color: var(--text-instruct);
}

/* 横に3つ並べられる幅があるときだけ横並びにする。
   .legal の中身は最大 720px なので、1つあたり約 210px */
@media (min-width: 760px) {
  .flowmap ol { flex-direction: row; align-items: stretch; gap: 34px; }
  .flowmap li { flex: 1 1 0; }
  /* 縦並びの矢印ぶんの余白を消す。.flowmap li より
     .flowmap li + li のほうが強いので、同じ形で打ち消す */
  .flowmap li + li { margin-top: 0; }
  .flowmap li + li::before {
    content: "→"; top: 50%; left: -29px;
    transform: translateY(-50%);
  }
}

/* 画面に出ている文字。
   これまで太字で書いていたが、こちらからの注意も太字だったため、
   「画面で探すもの」と「読んで気をつけるもの」が見分けられなかった。
   枠を付けたものを画面で探せばよい、という読み方にする */
.ui {
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.93em;
}
/* 赤い枠の中でも、白地のまま浮かせる */
.must .ui { border-color: #e4bcbc; }
/* 既にあった code も同じ見た目に寄せる */
.legal code {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: 5px; padding: 1px 6px; font-size: 0.93em;
  font-family: inherit; font-weight: 600;
}

/* よくあるご質問。
   見出しと本文が同じ太さ・同じ大きさで、質問と答えの区別がつかなかった。
   質問ごとに罫線で区切り、見出しを一段大きくする。
   箱は増やさない（このページには既に22個ある） */
.faq h3 {
  font-size: 1.06rem;
  margin: 4px 0 10px;
}
.faq h3 ~ h3 {
  margin-top: 28px; padding-top: 26px;
  border-top: 1px solid var(--border-color);
}
.faq p { margin: 0 0 10px; }
.faq > p:last-child { margin-bottom: 0; }


/* ------------------------------------------------------------------
   見本の枠の高さ（小・中・大）
   倍率を下げても枠の高さは変わらないため、携帯では画面が狭いままだった。
   枠そのものを縮められるようにした（2026-11-09）。
   「中」は従来の値なので、ここでは触らない。
------------------------------------------------------------------ */
@media (max-width: 834px) {
    .gallery-column[data-size="small"] .sticky-gallery { height: min(300px, 30vh); }
    .gallery-column[data-size="large"]  .sticky-gallery { height: min(760px, 78vh); }
}

@media (max-width: 600px) {
    .gallery-column[data-size="small"] .sticky-gallery { height: min(200px, 26vh); }
    .gallery-column[data-size="large"]  .sticky-gallery { height: min(560px, 68vh); }
}
