/* 公開トップ（/）とサービス詳細ページ（/features/*.html）の共通スタイル。
   デザイン: docs/superpowers/specs/2026-09-16-service-homepage-design.md「デザイン仕様」（配色 C） */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f1efea;
  --surface: #ffffff;
  --ink: #16161a;
  --text: #3a3a42;
  --muted: #6b6b74;
  --accent: #d93a2b;
  --accent-hover: #b82e21;
  --accent-soft: rgba(217, 58, 43, 0.08);
  --line: rgba(22, 22, 26, 0.10);
  --line-strong: rgba(22, 22, 26, 0.3);
  --ph-a: #ecebe7;
  --ph-b: #e5e3de;
  --font-jp: 'M PLUS 1', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-latin: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --radius: 4px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 900; text-wrap: pretty; }
.phrase { display: inline-block; }
p, figure { margin: 0; }

.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon-arrow { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(1312px, calc(100% - 80px)); margin-inline: auto;
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__actions { display: flex; align-items: center; gap: 36px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); font-weight: 900; font-size: 18px; letter-spacing: 0.02em; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-size: 15px; font-weight: 700; color: var(--text);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 800; border-bottom-color: var(--accent); }
.btn-login {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.btn-login:hover { color: var(--ink); border-color: var(--ink); }
.menu-toggle { display: none; }

/* ---- ヒーロー ---- */
.hero { padding-block: 96px 120px; }
.page-hero { padding-block: 88px 104px; }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero__body { display: flex; flex-direction: column; gap: 28px; }
.page-hero .hero__body { gap: 26px; }
.hero h1 { font-size: 68px; line-height: 1.22; letter-spacing: 0.01em; }
.page-hero h1 { font-size: 52px; line-height: 1.3; letter-spacing: 0; }
.hero__eyebrow-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__sub { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.eyebrow {
  font-family: var(--font-latin); font-weight: 700; font-size: 17px;
  letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase;
}
.lead { font-size: 18px; line-height: 1.9; max-width: 560px; }
.note { font-size: 14px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 16px; font-weight: 700; color: var(--accent); }

/* ---- ストアボタン ---- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-buttons--center { justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 26px 0 20px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
}
.store-btn:hover { color: #fff; background: #2a2a30; }
.store-btn img { width: 28px; height: 28px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__small { font-size: 11px; font-weight: 700; opacity: 0.8; }
.store-btn__name { font-size: 20px; font-weight: 900; letter-spacing: 0.01em; }
.store-btn--light { background: #fff; color: var(--ink); }
.store-btn--light:hover { background: var(--bg-alt); color: var(--ink); }
/* App Store 審査中（iOS 未公開）の「近日公開」表示。リンクではないので、押せないことが見た目で分かるようにする */
.store-btn--pending {
  background: transparent; color: var(--muted);
  border: 1px dashed var(--line-strong); cursor: default;
}
.store-btn--pending img { opacity: 0.5; }
/* 濃色の帯（.cta-band）の上に置く場合は白抜きにする */
.store-btn--light.store-btn--pending {
  background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55);
}
.store-btn--light.store-btn--pending img { opacity: 0.75; }

/* ---- iOS 準備中のお知らせ（アプリ機能を紹介している節に置く） ---- */
.ios-note {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 640px; margin: 18px 0 0; padding: 12px 14px;
  background: var(--accent-soft); border: 1px solid rgba(217, 58, 43, 0.22);
  border-radius: var(--radius);
  font-size: 14px; line-height: 1.75; color: var(--text);
}
.ios-note b { color: var(--ink); font-weight: 800; }
.ios-note--center { margin-left: auto; margin-right: auto; }
/* 濃色の帯（.cta-band）の上に置く場合 */
.ios-note--onDark {
  background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); color: #fff;
}
.ios-note--onDark b { color: #fff; }

/* ---- 画像フレーム ---- */
.shot { position: relative; width: 100%; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--photo { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.shot--browser { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.shot--browser img { height: auto; object-position: top; }
.shot--browser .ratio-16-10 img { height: 100%; }
.shot__bar { height: 40px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); }
.shot__url {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--bg-alt); border-radius: 999px; padding: 5px 14px;
}
.shot--tablet { overflow: visible; background: var(--ink); border-radius: 22px; padding: 16px; box-shadow: 0 24px 48px rgba(22, 22, 26, 0.14); }
.shot__screen { overflow: hidden; border-radius: 4px; background: var(--surface); }
.shot--tablet .shot__screen img { height: auto; }
.ratio-6-5 { aspect-ratio: 6 / 5; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-10 { aspect-ratio: 16 / 10; }
.shot-ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  display: flex; align-items: flex-end; padding: 20px;
}
.shot-ph::after {
  content: attr(data-slot) "　画像準備中";
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent);
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}

/* ---- セクション共通 ---- */
.section { padding-block: 120px; }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.section-head h2 { font-size: 48px; line-height: 1.3; }
.body { font-size: 17px; line-height: 1.95; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.split--text-first > .split__text { order: -1; }
.split--end { align-items: end; }

/* ---- トップ: 3つの柱 ---- */
.pillars { padding-block: 72px 150px; }
.pillars__list { display: flex; flex-direction: column; gap: 130px; margin-top: 130px; }
.pillar { display: flex; flex-direction: column; gap: 22px; }
.pillar__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pillar__num { font-family: var(--font-latin); font-weight: 700; font-size: 64px; line-height: 0.8; color: var(--accent); }
.pillar__label { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.pillar h3 { font-size: 44px; line-height: 1.32; }
.status {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 2px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { background: var(--ink); border: 1px solid var(--ink); color: #fff; }
.status--soon { border: 1px solid var(--accent); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 8px 16px;
}

/* ---- トップ: はじめ方 ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 56px 0; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.step__num { font-family: var(--font-latin); font-weight: 700; font-size: 20px; letter-spacing: 0.14em; color: var(--accent); }
.step h3 { font-size: 24px; line-height: 1.4; }
.step p { font-size: 16px; line-height: 1.85; }

/* ---- お知らせ登録 ---- */
.notify {
  background: var(--ink); border-radius: var(--radius); padding: 64px 72px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
}
.notify__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.notify h2 { color: #fff; font-size: 40px; line-height: 1.35; }
.notify__text p:last-child { color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.9; }
.notify__form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.notify__form label { font-size: 14px; font-weight: 700; color: #fff; }
.notify__row { display: flex; gap: 12px; }
.notify__row input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 60px; padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.notify__row input[type="email"]::placeholder { color: var(--muted); }
.notify__row button {
  height: 60px; padding: 0 28px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font: inherit; font-size: 16px; font-weight: 900;
  cursor: pointer; white-space: nowrap;
}
.notify__row button:hover { background: var(--accent-hover); }
.notify__row button:disabled { opacity: 0.6; cursor: wait; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify__msg { min-height: 1.6em; font-size: 15px; font-weight: 700; }
.notify__msg.is-ok { color: #fff; }
.notify__msg.is-err { color: #ffb4a8; }

/* ---- 詳細ページ: 特徴 ---- */
.features { display: flex; flex-direction: column; gap: 140px; padding-block: 40px 140px; }
.feature { display: flex; flex-direction: column; gap: 22px; }
.feature__label { display: flex; align-items: baseline; gap: 12px; }
.feature__label b { font-family: var(--font-latin); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; color: var(--accent); }
.feature__label span { font-size: 14px; font-weight: 700; color: var(--muted); }
.feature h2 { font-size: 40px; line-height: 1.35; }
.feature__small { font-size: 14px; color: var(--muted); }
.feature__pick { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.feature__pick strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.feature-wide { display: flex; flex-direction: column; gap: 48px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 8px 0 0; }
.stat { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.stat__value { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.stat__num { font-family: var(--font-latin); font-weight: 700; font-size: 44px; line-height: 1; }
.stat__unit { font-size: 15px; font-weight: 800; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.overlap { position: relative; padding-bottom: 72px; }
.overlap__back { width: 88%; margin-left: auto; }
.overlap__front { position: absolute; left: 0; bottom: 0; width: 48%; }
.overlap--wide-front .overlap__front { width: 56%; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* ---- 詳細ページ（レンタルスペース）: スペース一覧 ----
   直前の .features が下に十分な余白を持つので、上の余白は詰める。
   カードは最大幅を決めて中央寄せ（1件だけでも片寄らない）。 */
.section.section--after-features { padding-top: 0; } /* 後ろのメディアクエリの .section より強くする */
.space-list {
  display: grid; justify-content: center; gap: 32px; margin-top: 56px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px));
}
.space-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.space-card:hover { color: var(--text); border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(22, 22, 26, 0.08); }
.space-card .shot--photo { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.space-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.space-card__body h3 { font-size: 22px; line-height: 1.4; }
.space-card__addr { font-size: 14px; line-height: 1.7; color: var(--muted); }
.space-card .text-link { margin-top: 4px; }
.space-list__note { margin-top: 40px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---- 詳細ページ: プラン ---- */
.plan-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.plan-head h2 { font-size: 44px; line-height: 1.3; margin-top: 14px; }
.plan-table-wrap { overflow-x: auto; margin-top: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.plan-table th, .plan-table td {
  padding: 20px 24px; border-top: 1px solid var(--line);
  text-align: center; vertical-align: middle; font-size: 15px; font-weight: 800; color: var(--ink);
}
.plan-table thead th, .plan-table thead td { border-top: 0; padding: 24px; }
.plan-table tbody th { text-align: left; font-weight: 700; }
.plan-name { display: block; font-size: 20px; font-weight: 900; }
.plan-kind { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.plan-table .is-featured { background: var(--accent-soft); }
.plan-table .is-featured .plan-kind { color: var(--accent); }
.mark { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column; gap: 14px;
}
.plan-card__tag { align-self: flex-start; font-size: 13px; font-weight: 800; color: #fff; background: var(--ink); border-radius: 2px; padding: 5px 12px; }
.plan-card h3 { font-size: 26px; line-height: 1.4; }
.plan-card p { font-size: 16px; line-height: 1.9; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; display: flex; flex-direction: column; gap: 20px;
}
.price-card__label { font-size: 15px; font-weight: 800; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.price__num { font-family: var(--font-latin); font-weight: 700; font-size: 88px; line-height: 1; }
.price__suffix { font-size: 22px; font-weight: 900; }

/* ---- ボタン・行動を促す帯 ---- */
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 60px; padding: 0 30px; border-radius: var(--radius); font-size: 17px; font-weight: 900; white-space: nowrap;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #2a2a30; color: #fff; }
.btn--outline { border: 1px solid var(--line-strong); color: var(--ink); font-weight: 700; padding: 0 26px; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-alt); color: var(--ink); }
.btn--outline-white { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; font-weight: 700; padding: 0 26px; }
.btn--outline-white:hover { border-color: #fff; color: #fff; }
.cta-band { background: var(--accent); padding-block: 104px; text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.cta-band h2 { color: #fff; font-size: 48px; line-height: 1.3; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 17px; line-height: 1.9; }

/* ---- フッター ---- */
.site-footer { background: var(--ink); color: #fff; padding-block: 72px 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px 64px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { width: 48px; height: 48px; }
.site-footer__tagline { font-size: 14px; line-height: 1.8; color: #9a9aa3; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 64px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #9a9aa3; }
.site-footer__col a { font-size: 15px; color: #fff; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  font-size: 13px; color: #9a9aa3;
}
.site-footer__legal { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.site-footer__legal a { color: #9a9aa3; }

/* ---- レスポンシブ ---- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 56px; }
  .page-hero h1 { font-size: 44px; }
  .hero__grid, .split { gap: 48px; }
  .site-header__actions, .site-nav { gap: 24px; }
  .pillar h3 { font-size: 36px; }
  .feature h2 { font-size: 34px; }
  .notify { padding: 56px 48px; gap: 40px; }
}

@media (max-width: 900px) {
  .site-header__inner { width: calc(100% - 36px); height: 64px; }
  .site-header__actions { gap: 4px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .btn-login { height: 36px; padding: 0 12px; font-size: 13px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 20px 12px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }

  /* ヒーローはスマホで「見出し → 画像 → ボタン」の順に並べ替える */
  .hero, .page-hero { padding-block: 40px 56px; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__body { display: contents; }
  .hero__body > * { order: 1; }
  .hero__media { order: 2; }
  /* スマホでは画像の下にまとめる。.ios-note はストアボタンの直後に置きたいので同じ order にする */
  .hero__body > .store-buttons, .hero__body > .actions, .hero__body > .hero__sub,
  .hero__body > .note, .hero__body > .ios-note { order: 3; }

  .split, .notify, .steps, .plan-cards, .pair { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 24px; }
  .split--text-first > .split__text { order: 0; }
  .pillars { padding-block: 32px 80px; }
  .pillars__list { gap: 72px; margin-top: 72px; }
  .features { gap: 72px; padding-block: 16px 80px; }
  .section { padding-block: 64px; }
  .steps { gap: 12px; margin: 28px 0; }
  .overlap { padding-bottom: 48px; }
  .notify { padding: 40px 28px; gap: 24px; }
  .cta-band { padding-block: 64px; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .eyebrow { font-size: 15px; }
  .hero h1 { font-size: 40px; line-height: 1.25; }
  .page-hero h1 { font-size: 34px; }
  .lead, .body { font-size: 15px; line-height: 1.9; }
  .section-head { gap: 10px; }
  .section-head h2 { font-size: 30px; }
  .pillar { gap: 16px; }
  .pillar__num { font-size: 48px; }
  .pillar__label { font-size: 15px; }
  .pillar h3, .feature h2 { font-size: 28px; line-height: 1.4; }
  .chips { gap: 8px; }
  .chips li { font-size: 13px; padding: 7px 12px; }
  .store-buttons { flex-direction: column; gap: 10px; }
  .store-btn { justify-content: center; height: 56px; }
  .store-btn__name { font-size: 19px; }
  .hero__sub { flex-direction: column; gap: 4px; }
  .hero__sub .text-link { align-self: center; min-height: 44px; }
  .text-link { min-height: 44px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .step { padding: 24px 22px; gap: 10px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 15px; }
  .notify { padding: 36px 24px; }
  .notify h2 { font-size: 28px; line-height: 1.4; }
  .notify__row { flex-direction: column; }
  .notify__row input[type="email"], .notify__row button { height: 52px; }
  .stats { gap: 12px; }
  .stat__num { font-size: 32px; }
  .overlap__front, .overlap--wide-front .overlap__front { width: 58%; }
  .plan-head h2 { font-size: 30px; }
  .plan-table { min-width: 0; table-layout: fixed; }
  .plan-table tbody th, .plan-table thead td { width: 30%; }
  .plan-table thead th { width: 23.33%; }
  .plan-table th, .plan-table td { padding: 14px 4px; font-size: 13px; }
  .plan-table thead th, .plan-table thead td { padding: 14px 4px; }
  .plan-name { font-size: 14px; white-space: nowrap; }
  .plan-kind { font-size: 10px; white-space: nowrap; }
  .plan-card, .price-card { padding: 28px 24px; }
  .price__num { font-size: 64px; }
  .cta-band h2 { font-size: 30px; }
  .site-footer { padding-block: 48px 32px; }
}

/* ヘッダー: ロゴ文字・ログインボタン（ログイン中は「マイページへ」）・メニューボタンを 1 行に収める。
   上の 900px 以下の値のままだと、ログイン中は幅 426px 未満でロゴ文字がボタンに重なり、360px 以下で画面外にはみ出す。
   メニューボタンは右に 10px はみ出させ、アイコンの右端を本文の左右余白（20px）にそろえる（押せる範囲 44px は画面内）。 */
@media (max-width: 430px) {
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 0; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand__name { font-size: 13px; letter-spacing: 0; }
  .btn-login { padding: 0 10px; font-size: 12px; }
  .menu-toggle { margin-right: -10px; }
}

/* それでも収まらない幅ではロゴ画像だけにする（リンク名として読み上げられるよう、文字は視覚的にだけ隠す） */
@media (max-width: 356px) {
  .brand__name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
