:root {
    --bg-color: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.split-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Gallery Column */
.gallery-column {
    flex: 1;
    position: relative;
}

.sticky-gallery {
    position: sticky;
    top: 140px; /* Below headers */
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 600px;
    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;
    max-width: 480px;
    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;
}

.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;
}

/* 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);
}

/* 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 */
@media (max-width: 834px) {
    .split-layout {
        flex-direction: column;
    }

    .gallery-column {
        width: 100%;
    }

    .sticky-gallery {
        position: static;
        height: auto;
        padding: 20px;
    }

    .product-image {
        height: 350px;
    }

    .config-column {
        width: 100%;
        max-width: 100%;
        padding-bottom: 40px;
    }
}

/* ====== 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); }
/* サービスのロゴ。横組みの画像なので、高さだけ決めて幅は成り行きに任せる。
   狭い画面でも小さくしすぎると「Athlink」の字が潰れるため 22px を下限にする */
.brand img { display: block; height: clamp(22px, 4.6vw, 28px); width: auto; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.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: 52px 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; color: #64748b; margin-bottom: 14px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.18; letter-spacing: -.03em; color: var(--text); }
.hero-sub { margin: 16px 0 0; max-width: 38em; color: #475569; font-size: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; padding: 14px 24px; 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); }

.device { margin-top: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 32px; 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: 34px; }

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

.main-card { position: relative; overflow: hidden; min-height: 360px; background: linear-gradient(135deg,#f8fafc 0%,#ffffff 100%); padding: 30px; 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 12px; font-size: 34px; line-height: 1.35; letter-spacing: -.02em; color: #0f172a; }
.main-card p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.9; }
.main-visual { position: absolute; right: 26px; top: 26px; bottom: 92px; width: 240px; 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: 176px; 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: 180px; padding: 14px 16px; 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: 30px; right: 30px; bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; z-index: 2; }
.main-pill { padding: 12px 14px; 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: 22px; background: linear-gradient(180deg,#f8fbff 0%,#fff 100%); display: flex; flex-direction: column; gap: 18px; }
.profile-top { display: flex; gap: 16px; align-items: flex-start; }
.avatar { width: 92px; height: 92px; 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; }
.quote { padding: 14px 16px; border-radius: 18px; background: #eff6ff; color: #1e3a8a; font-size: 13px; line-height: 1.8; }

.section { padding: 92px 0 0; text-align: center; }
.section-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.35; letter-spacing: -.02em; max-width: 12em; margin: 0 auto 20px; color: var(--text); }
.section-copy { max-width: 48em; margin: 0 auto; color: #4b5563; font-size: 17px; line-height: 2; }
.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: 16px; margin-top: 16px; }
.timeline-card { padding: 22px; 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 14px; font-size: 20px; 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 18px 18px; }
.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: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.desc { font-size: 13px; color: #64748b; line-height: 1.8; }

.support-card { padding: 22px; text-align: left; background: linear-gradient(180deg,#fff 0%,#f8fbff 100%); }
.support-title { margin: 0 0 10px; font-size: 20px; line-height: 1.5; color: var(--text); }
.support-copy { font-size: 13px; color: #64748b; line-height: 1.8; margin-bottom: 16px; }
.support-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.support-logo { height: 54px; 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: 14px; padding-top: 14px; 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) {
  .top-grid, .lower-grid, .meaning-grid { grid-template-columns: 1fr; }
  .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%; }
  .main-strip { position: relative; left: auto; right: auto; bottom: auto; margin-top: 18px; grid-template-columns: 1fr; }
  .profile-top { align-items: center; }
}

@media (max-width: 720px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .mock-body, .device-body { padding: 20px; }
  .hero-title { font-size: 42px; }
  .main-card { min-height: auto; }
  .main-card h2 { font-size: 28px; }
  .snapshot, .support-logos { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn, .ghost { width: 100%; }
}

/* ------------------------------------------------------------------
   ご案内・規約まわりの静的ページ（flow / tokushoho / privacy / terms）
   トップページとは別の body クラス（.doc-page）の中だけに効かせる
   ------------------------------------------------------------------ */
:root {
    /* 未確定の箇所を知らせる帯の色。本体の青とは別系統にして、
       「決まっていない」ことが一目で分かるようにする */
    --warm: #9a3412;
    --warm-bg: #fdf3ee;
    --warm-line: #e9c3ae;
}


body.doc-page {
  background: var(--bg-color);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.85;
}

.page-nav {
  border-bottom: 1px solid var(--border-color);
  background: var(--white);
}
.page-nav .inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-nav a { color: var(--text-secondary); text-decoration: none; font-size: 13px; }
.page-nav a:hover { color: var(--blue-bg); }
.page-nav .brand { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.page-nav .brand img { display: block; height: clamp(20px, 4.4vw, 26px); width: auto; }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 16px 80px;
}

.doc-page h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.lede { margin: 0 0 40px; color: var(--text-secondary); font-size: 15px; }

.doc-page h2 {
  margin: 44px 0 16px;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.doc-page h3 { margin: 24px 0 8px; font-size: 15px; font-weight: 700; }

.doc-page p { margin: 0 0 14px; }
.doc-page ul, ol { margin: 0 0 14px; padding-left: 1.4em; }
.doc-page li { margin-bottom: 7px; }
.doc-page li::marker { color: var(--text-secondary); }

.scroll { overflow-x: auto; margin-bottom: 18px; }
.doc-page table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc-page th, td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}
.doc-page th { font-size: 12px; color: var(--text-secondary); font-weight: 700; letter-spacing: 0.04em; }
.doc-page td.k { white-space: nowrap; font-weight: 700; width: 34%; }

.note {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.note p:last-child { margin-bottom: 0; }

.draft {
  background: var(--warm-bg);
  border: 1px solid var(--warm-line);
  border-left: 4px solid var(--warm);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--warm);
}
.draft strong { color: var(--warm); }

.doc-page mark {
  background: #fef08a;
  color: inherit;
  padding: 0 4px;
  border-radius: 3px;
}

/* 流れの4段 */
.steps { display: grid; gap: 12px; margin-bottom: 18px; }
.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 16px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px 20px;
}
.step.yours { background: #dbeafe; border-color: #bfdbfe; }
.step .n {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-bg);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.step h3 { margin: 5px 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--blue-bg);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 2px;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.two > div {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px 20px;
}
.two h3 { margin: 0 0 10px; }
.two ul { margin: 0; font-size: 14px; }

.cta {
  margin-top: 44px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.cta h2 { border: 0; margin: 0 0 8px; padding: 0; }
.cta p { color: var(--text-secondary); font-size: 14px; }
.btn-apply {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  background: var(--blue-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--white);
  font-size: 13px;
  color: var(--text-secondary);
}
.site-footer .inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--blue-bg); }

@media (max-width: 560px) {
  .two { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
}

/* 制作事例。写真を大きく、説明は短く。押せることが分かる見た目にする */
.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: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; }
.work-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--border-color); border-radius: 14px;
    background: var(--white); 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); 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; }

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

/* フッターに並ぶ案内リンク */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 16px;
}
.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-nav a:hover { color: var(--blue-bg); }
.footer-company {
    margin-bottom: 12px;
    line-height: 1.8;
}
/* フッターの頭はサービス名。会社名は「運営：」として下の行に残す。
   特定商取引法の表記はリンク先のページが受け持つ */
.footer-brand { margin: 0 0 14px; }
.footer-brand img { display: block; height: 26px; width: auto; margin: 0 auto; }
.site-footer .footer-brand img { margin: 0; }
.footer-copy { display: inline-block; margin-top: 12px; }

/* ===== ロゴに合わせた配色（比較用） =====
   ロゴの黄緑 #8CC81A は、白地に白文字を乗せるボタンには明るすぎる。
   ボタンとリンクは一段落とした緑にして、黄緑は差し色に回す */
:root {
    --border-active: #5C8A00;
    --blue-bg: #5C8A00;
    --shadow-active: 0 0 0 1px #5C8A00;
    --blue: #5C8A00;
    --blue-deep: #4A7000;
    --blue-soft: #EEF7DC;
}
