/* /about/ の見た目(フェーズ5。2026-10-07)。正典は plans/design/assets/design/site/about-sp.dc.html(390px)と about-pc.dc.html(1440px)。
   960px 未満がスマホ版、960px 以上が PC 版。値は正典のままで、インラインの style をクラスにまとめただけ */

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

.page {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  color: #000;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.95;
  overflow: hidden;
}
/* :where で強さを0にする。ふつうに書くと .page p が単独クラス(.sign など)の margin に勝ってしまう */
:where(.page h1, .page h2, .page p) { margin: 0; }
.pc-only { display: none; }

/* ---- 柱(節の頭の唯一の飾り) ---- */
.pillar {
  border-top: 1px solid #000;
  padding-top: 8px;
  font: 300 10px/1 "Kanit", sans-serif;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* ---- 輪(画面の外周をなぞるオレンジの線) ---- */
.ring { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; z-index: 10; }

/* ---- 冒頭(スマホ) ---- */
.hero-sp { padding: 0 0 72px; }
.mark { display: flex; justify-content: center; overflow: hidden; padding: 28px 0 0; }
/* 110px 固定のまま。390px 幅では実測 430px になり左右が欠けるが、切り抜きはデザインの意図(2026-10-07 ユーザー確認) */
.mark-t { font: 300 110px/0.82 "Kanit", sans-serif; letter-spacing: -0.06em; white-space: nowrap; flex: 0 0 auto; }
.mark-t span { font-weight: 800; }
.hero-grid { display: grid; grid-template-columns: 72px 1fr; margin: 20px 0 0; }
.issue { font: 300 10px/1 "Kanit", sans-serif; letter-spacing: 0.3em; white-space: nowrap; }
.hero-grid .issue { writing-mode: vertical-rl; justify-self: center; padding-top: 4px; }
.hero-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 54% 70%; }
.hero-sp h1 { font-weight: 300; font-size: 30px; line-height: 1.5; letter-spacing: 0.04em; margin: 36px 20px 14px; }
.hero-sp .lead { margin: 0 20px; font-size: 13px; letter-spacing: 0.08em; }

/* ---- 節の共通(スマホ) ---- */
.sec { padding: 0 0 64px; }
.sec > .pillar { margin: 0 20px 16px; }
.vis { position: relative; height: 308px; }
.txt { padding: 28px 20px 0; }
.txt h2 { font-weight: 400; font-size: 22px; line-height: 1.6; letter-spacing: 0.04em; margin: 0 0 10px; }

.vis-photo { position: absolute; top: 0; width: 230px; aspect-ratio: 4 / 5; object-fit: cover; }
.vis-photo.l { left: 20px; }
/* 端末の枠は、中の画面(120/180px)に枠の太さを足した大きさ。全体の border-box だと中身が枠からはみ出して右端が切れる */
.dev { box-sizing: content-box; position: absolute; top: 40px; width: 120px; margin: 0; background: #111318; border-radius: 14px; padding: 4px; }
.dev-r { left: 202px; }
.dev > img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 10px; }

/* 01 の写真 */
.photo-how { object-position: 30% 50%; }
/* 03 の写真 */
.photo-reach { object-position: 22% 50%; }
.dev > img.top { object-position: top; }
/* 01 の画面は実機のスクリーンショット(ステータスバーを切り、橙の枠を四方に残した)。縦横比がほかの画面と違うので、画像の比のまま出す */
.dev > img.counting { aspect-ratio: 780 / 1585; }

/* 02 の凡例 */
.legend {
  position: absolute; left: 20px; top: 0; width: 230px; aspect-ratio: 4 / 5;
  background: #F4F3F1; padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.legend-t { font: 300 10px/1 "Kanit", sans-serif; letter-spacing: 0.3em; }
.legend-l { display: flex; flex-direction: column; gap: 10px; }
.legend-i { display: flex; align-items: center; gap: 14px; }
.legend-i i { display: block; width: 30px; height: 30px; border-radius: 7px; }
.legend-i span { font: 300 13px/1 "Kanit", sans-serif; letter-spacing: 0.08em; }
.lv0 { background: #E4E1DC; }
.lv1 { background: color-mix(in srgb, #FD5B12 40%, #fff); }
.lv2 { background: color-mix(in srgb, #FD5B12 58%, #fff); }
.lv3 { background: color-mix(in srgb, #FD5B12 78%, #fff); }
.lv4 { background: #FD5B12; }

/* きろくの画面の再現 */
.scr { width: 120px; height: 260px; overflow: hidden; border-radius: 10px; background: #fff; }
.mock {
  width: 390px; height: 844px; transform: scale(0.3077); transform-origin: 0 0;
  font-family: "Zen Maru Gothic", sans-serif; color: #000; line-height: 1.2;
}
.mock .hm { margin: 22px 20px 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, 24px); grid-auto-flow: column; gap: 5px; }
.hm .c { border-radius: 4px; }
.hm .l0 { --c: #E2E2E2; }
.hm .l1 { --c: color-mix(in srgb, #FD5B12 40%, #fff); }
.hm .l2 { --c: color-mix(in srgb, #FD5B12 58%, #fff); }
.hm .l3 { --c: color-mix(in srgb, #FD5B12 78%, #fff); }
.hm .l4 { --c: #FD5B12; }
.hm .c { background-color: var(--c); }
/* JS が動くときだけ、枠が画面に入りきるまで灰にしておく */
.js .hm .c { background-color: #E2E2E2; transition: background-color 0.2s linear; }
.js .dev.hm-on .hm .c { background-color: var(--c); transition-delay: var(--d, 0s); }

/* 04.REPLAY(スマホ) */
.sec-replay { padding: 0 20px 72px; }
.sec-replay > .pillar { margin: 0 0 14px; padding-top: 14px; }
.pair-img { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pair-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 40%; }
.pair-img img.mono { filter: grayscale(1); }
.vs-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 0; font: 400 12px/1 "Zen Kaku Gothic New", sans-serif; letter-spacing: 0.2em; }
.vs-row b { font: 300 18px/1 "Kanit", sans-serif; letter-spacing: 0.04em; }
.sec-replay h2 { font-weight: 400; font-size: 22px; line-height: 1.6; letter-spacing: 0.04em; margin: 18px 0 10px; }
.sec-replay .body { margin: 0 0 24px; }
.speed { background: #F4F3F1; padding: 16px 16px 14px; }
.speed-h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font: 300 10px/1 "Kanit", sans-serif; letter-spacing: 0.3em; white-space: nowrap; }
.speed svg { display: block; width: 100%; height: auto; }
.speed-f { display: flex; justify-content: space-between; font: 300 10px/1 "Kanit", sans-serif; letter-spacing: 0.3em; margin: 8px 0 0; }

/* 05.CLOSED PRACTICE(スマホ) */
.sec-closed { padding: 0 20px 72px; }
.sec-closed > .pillar { margin: 0 0 20px; }
.sec-closed h2 { font-weight: 400; font-size: 22px; line-height: 1.6; letter-spacing: 0.04em; margin: 0 0 20px; }
.closed-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.sec-closed .more { margin: 24px 0 0; font-size: 12px; }

/* 06.DUGOUT(スマホ) */
.sec-dugout { background: #F4F3F1; padding: 24px 28px 64px; }
.dugout-in > .pillar { margin: 0 -8px 48px; }
.mincho { font: 400 16px/2.3 "Zen Old Mincho", serif; letter-spacing: 0.02em; white-space: nowrap; }
.mincho + .mincho { margin: 12px 0 0; }
.sign { margin: 56px 0 0; font: 400 21px/1.5 "Zen Old Mincho", serif; white-space: nowrap; }
.sign span { font: 300 21px/1 "Kanit", sans-serif; }

/* 07.BATTER UP(スマホ) */
.sec-start { padding: 64px 20px 80px; }
.sec-start > .pillar { margin: 0 0 40px; }
.sec-start h2 { font-weight: 300; font-size: 30px; line-height: 1.4; letter-spacing: 0.04em; margin: 0 0 14px; }
.sec-start .note { margin: 0 0 28px; font-size: 12px; letter-spacing: 0.04em; }
.btn {
  display: flex; align-items: center; justify-content: space-between;
  box-sizing: content-box; height: 56px; padding: 0 20px; border: 1px solid #000; color: #000; text-decoration: none;
  font-size: 14px; letter-spacing: 0.1em;
}
.btn span:last-child { font: 300 11px/1 "Kanit", sans-serif; letter-spacing: 0.3em; white-space: nowrap; flex: 0 0 auto; }

/* フッター(スマホ) */
.foot { border-top: 1px solid #000; padding: 28px 20px 48px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.foot-in { display: contents; }
.foot .brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.foot .brand .badge { width: 24px; height: 24px; }
.foot .brand .logo { height: 15px; width: auto; }
.foot nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; font-size: 12px; letter-spacing: 0.06em; }

/* ---- 動きを減らす設定 ---- */
@media (prefers-reduced-motion: reduce) {
  .js .hm .c { background-color: var(--c); transition: none; }
}

/* =====================================================================
   PC(960px 以上)
   ===================================================================== */
@media (min-width: 960px) {
  .page { max-width: none; font-size: 15px; line-height: 2; }
  .sp-only { display: none; }
  .pc-only { display: block; }

  .pillar { font-size: 11px; padding-top: 10px; }

  /* 冒頭 */
  .hero-pc {
    max-width: 1200px; margin: 0 auto; padding: 64px 48px 120px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 0 56px;
  }
  .hero-l { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; position: relative; z-index: 1; }
  .hero-top { display: flex; flex-direction: column; gap: clamp(64px, 7vw, 104px); }
  .hero-l .mark-t { font-size: clamp(80px, 8vw, 116px); }
  .hero-l .issue { margin: 28px 0 0 4px; font-size: 11px; }
  .hero-l h1 {
    font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.5; letter-spacing: 0.03em;
    margin: 0 0 24px; white-space: nowrap;
    paint-order: stroke fill; -webkit-text-stroke: 0.16em #fff;
  }
  .hero-l .lead { font-size: clamp(14px, 1.25vw, 18px); letter-spacing: 0.08em; white-space: nowrap; }
  .toc { border-top: 1px solid #000; padding-top: 10px; }
  .toc-t { font: 300 11px/1 "Kanit", sans-serif; letter-spacing: 0.2em; margin: 0 0 18px; }
  .toc-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font: 300 12px/1 "Kanit", sans-serif; letter-spacing: 0.16em; }
  .toc-g a { display: flex; gap: 12px; color: #000; text-decoration: none; white-space: nowrap; }
  .toc-g a:hover { color: #6d2c08; }
  .toc-g b { font-weight: 800; letter-spacing: 0.04em; }

  /* 01+02、03+04 を横2列 */
  .pair {
    max-width: 1200px; margin: 0 auto; padding: 0 48px 120px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 64px; row-gap: 0;
  }
  .pair > .sec, .pair > .sec-replay {
    display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; padding: 0;
  }
  .pair .pillar { margin: 0 0 32px; padding-top: 10px; }
  .sec > .pillar { margin: 0 0 32px; }
  .vis { height: 440px; }
  .txt { display: contents; }
  .txt h2, .pair > .sec-replay h2 { font-size: 26px; margin: 8px 0 12px; }
  .vis-photo { width: 60%; height: 400px; aspect-ratio: auto; }
  .vis-photo.l { left: 0; }
  .dev { top: 40px; width: 180px; border-radius: 20px; padding: 5px; }
  .dev-r { left: auto; right: 6%; }
  .dev > img { border-radius: 15px; }
  .legend { left: 0; width: 60%; height: 400px; aspect-ratio: auto; padding: 32px; }
  .legend-t { font-size: 11px; }
  .legend-l { gap: 12px; }
  .legend-i { gap: 16px; }
  .legend-i i { width: 34px; height: 34px; border-radius: 8px; }
  .legend-i span { font-size: 14px; }
  .scr { width: 180px; height: 390px; border-radius: 15px; }
  .mock { transform: scale(0.4615); }
  .mock .sp-extra { display: none; }

  /* 04.REPLAY */
  .sec-replay .body { margin: 0; }
  .replay-vis { display: flex; flex-direction: column; }
  .score { background: #F4F3F1; padding: 14px 16px 12px; }
  .score-r { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
  .score-r div { display: flex; flex-direction: column; gap: 6px; }
  .score-r div:last-child { align-items: flex-end; }
  .score-r small { font: 400 11px/1 "Zen Kaku Gothic New", sans-serif; letter-spacing: 0.2em; }
  .score-r .n1 { font: 300 30px/1 "Kanit", sans-serif; }
  .score-r .n2 { font: 800 30px/1 "Kanit", sans-serif; }
  .score-r .vs { font: 300 18px/1 "Kanit", sans-serif; padding: 0 0 4px; }
  .score svg { display: block; width: 100%; height: 44px; margin: 10px 0 0; overflow: visible; }
  .score-f { display: flex; justify-content: center; margin: 8px 0 0; font: 300 10px/1 "Kanit", sans-serif; letter-spacing: 0.2em; white-space: nowrap; }

  /* 05 */
  .sec-closed { max-width: 1200px; margin: 0 auto; padding: 0 48px 120px; }
  .sec-closed > .pillar { margin: 0 0 40px; }
  .closed-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .sec-closed h2 { font-size: 30px; margin: 0; }
  .closed-list { gap: 14px; font-size: 17px; }
  .sec-closed .more { margin: 32px 0 0; font-size: 13px; }

  /* 06 */
  .sec-dugout { padding: 0; }
  .dugout-in { max-width: 1200px; margin: 0 auto; padding: 40px 48px 112px; }
  .dugout-in > .pillar { margin: 0 0 64px; }
  .mincho-g { display: flex; flex-direction: column; gap: 8px; font: 400 clamp(17px, 1.6vw, 22px) / 2.2 "Zen Old Mincho", serif; letter-spacing: 0.04em; text-wrap: pretty; }
  .mincho { font: inherit; letter-spacing: inherit; white-space: normal; }
  .mincho + .mincho { margin: 0; }
  .sp-br { display: none; }
  .sign { margin: 80px 0 0; font-size: clamp(24px, 2.2vw, 30px); }
  .sign span { font-size: inherit; font-weight: 300; line-height: inherit; }

  /* 07 */
  .sec-start { max-width: 1200px; margin: 0 auto; padding: 112px 48px 120px; }
  .sec-start > .pillar { margin: 0 0 48px; }
  .start-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .sec-start h2 { font-weight: 400; font-size: 30px; line-height: 1.6; margin: 0; }
  .sec-start .note { font-size: 13px; }
  .btn { height: 64px; padding: 0 24px; font-size: 15px; }

  /* フッター */
  .foot { display: block; padding: 0; }
  .foot-in { display: flex; max-width: 1200px; margin: 0 auto; padding: 32px 48px 56px; justify-content: space-between; align-items: center; gap: 24px; }
  .foot .brand { gap: 10px; }
  .foot .brand .badge { width: 28px; height: 28px; }
  .foot .brand .logo { height: 17px; }
  .foot nav { flex-direction: row; gap: 32px; font-size: 13px; align-items: center; }
}
