/* ==========================================================================
   WatchMe ホームページ
   1. 色・文字などの基本設定   2. 共通部品   3. ヘッダー   4. 冒頭
   5. 各セクション             6. フッター   7. 動き      8. 画面幅ごとの調整
   ========================================================================== */

/* 1. 基本設定 ------------------------------------------------------------- */
:root {
  --blue: #1d5fc4;        /* 基調の青 */
  --blue-dark: #174c9e;
  --navy: #0f2747;        /* 見出し・濃い背景 */
  --ink: #1b2b3f;         /* 本文 */
  --muted: #52637a;       /* 補足の文字 */
  --line: #dbe4ef;
  --pale: #f4f8fd;        /* 薄い青の背景 */
  --pale-strong: #e6effb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 39, 71, .05), 0 12px 32px -12px rgba(15, 39, 71, .16);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }

:focus-visible {
  outline: 3px solid #6aa3f0;
  outline-offset: 3px;
  border-radius: 4px;
}

/* 2. 共通部品 ------------------------------------------------------------- */
.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* 見出しを文節の途中で改行させない */
.ph { display: inline-block; }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
}
.skip:focus { top: 12px; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { border-color: #b9cdea; color: var(--blue); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); background: var(--pale); }

.section { padding-block: 104px; }
.tinted { background: var(--pale); }

.section-head { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: .01em; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 17px; }

.note {
  margin-top: 32px;
  padding-left: 14px;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}

/* 3. ヘッダー ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(15, 39, 71, .4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--blue); }
.brand-mark path {
  fill: none;
  stroke: var(--white);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 500; }
.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  transition: background-color .2s, color .2s;
}
.site-nav a:hover { background: var(--pale); color: var(--blue); }
.site-nav .nav-contact {
  margin-left: 8px;
  padding-inline: 18px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 700;
}
.site-nav .nav-contact:hover { background: var(--blue); color: var(--white); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 4. 冒頭 ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 480px at 88% 0%, #dfeafa 0%, rgba(223, 234, 250, 0) 70%),
    linear-gradient(180deg, #f6f9fe 0%, var(--white) 100%);
  padding-block: 72px 104px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 5px 14px 5px 12px;
  border: 1px solid #c9dbf3;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 13.5px;
  font-weight: 700;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

h1 { font-size: clamp(31px, 4.3vw, 52px); line-height: 1.42; letter-spacing: .01em; }
h1 .accent { color: var(--blue); }
.lead { margin-top: 26px; max-width: 34em; color: var(--muted); font-size: 17px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual {
  padding: 28px;
  border: 1px solid #dce7f5;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hv-home { padding: 18px 16px 16px; border-radius: 14px; background: var(--pale); }
.hv-house { display: block; width: min(100%, 300px); height: auto; margin-inline: auto; }
.hv-signal circle { fill: var(--blue); }
.hv-signal .hv-ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: .45; }

.hv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.hv-chips li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px 4px 8px;
  border: 1px solid #d3e0f1;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.hv-chips .icon { width: 18px; height: 18px; }
.hv-chips .is-active { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 700; }

.hv-log { margin-top: 22px; }
.hv-log li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.hv-log li:last-child { padding-bottom: 0; }
.hv-log li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--pale-strong);
}
.hv-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border: 2px solid #a9c4ea;
  border-radius: 50%;
  background: var(--white);
}
.is-done .hv-mark { border-color: var(--blue); background: var(--blue); color: var(--white); }
.hv-mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.hv-log b { display: block; color: var(--navy); font-size: 15px; line-height: 1.6; }
.hv-log span:not(.hv-mark) { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-visual figcaption {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* 5. 各セクション --------------------------------------------------------- */

/* 課題 */
.burden {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.burden li {
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.burden-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--pale-strong);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.burden h3, .steps h3, .roadmap h3 { font-size: 19px; }
.burden p, .steps p, .roadmap p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.85; }

/* サービス：3つの手順 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 48px;
}
.steps li {
  position: relative;
  padding: 28px 28px 30px;
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #8fb2e6;
  border-right: 2px solid #8fb2e6;
  transform: translateY(-50%) rotate(45deg);
}
.step-num {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
}

/* サービス：踏まえること */
.basis { margin-top: 56px; }
.basis-title { font-size: 18px; }
.basis-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 22px;
  padding-top: 26px;
  border-top: 1px solid #cfdcee;
}
.basis-list li { display: flex; gap: 14px; }
.basis-list .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px #d3e0f1;
}
.basis-list b { display: block; color: var(--navy); font-size: 16px; line-height: 1.6; }
.basis-list p { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* 利用場面 */
.scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.scene {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.scene:hover { border-color: #b9cdea; box-shadow: var(--shadow); transform: translateY(-3px); }
.scene-head { display: flex; align-items: center; gap: 16px; }
.scene-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pale-strong);
  color: var(--blue);
}
.scene-icon .icon { width: 28px; height: 28px; }
.scene-label { color: var(--blue); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.scene h3 { font-size: 18px; line-height: 1.5; }
.scene dl { margin-top: 22px; }
.scene dl > div { padding-block: 14px; border-top: 1px solid var(--line); }
.scene dl > div:last-child { padding-bottom: 0; }
.scene dt { color: var(--navy); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.scene dd { margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* 大切にすること */
.principles { background: var(--navy); color: var(--white); }
.principles h2, .principles h3 { color: var(--white); }
.principles .eyebrow { color: #9cc0f5; }
.principles-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}
.principle-list li { padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.principle-list li:first-child { padding-top: 0; border-top: 0; }
.principle-list li:last-child { padding-bottom: 0; }
.principle-list h3 { font-size: 19px; }
.principle-list p { margin-top: 8px; color: #cfdcee; font-size: 15.5px; }

/* 開発状況 */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.roadmap li { position: relative; padding-top: 34px; }
.roadmap li::before {            /* 横線 */
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: -24px;
  height: 2px;
  background: var(--line);
}
.roadmap li:last-child::before { right: 0; }
.roadmap li::after {             /* 丸 */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 3px solid #b7c9e2;
  border-radius: 50%;
  background: var(--white);
}
.roadmap .is-done::before { background: var(--blue); }
.roadmap .is-done::after { border-color: var(--blue); background: var(--blue); }
.roadmap .is-current::after { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(29, 95, 196, .16); }
.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.is-done .badge { background: var(--blue); color: var(--white); }
.is-current .badge { background: var(--pale-strong); color: var(--blue-dark); }

/* チーム・お問い合わせ */
.team-body p { color: var(--ink); }
.pending-box,
.contact-card {
  border: 1px dashed #a9c0e2;
  border-radius: var(--radius);
  background: var(--white);
}
.pending-box { margin-top: 24px; padding: 18px 22px; color: var(--muted) !important; font-size: 15px; }
.members { display: grid; gap: 16px; margin-top: 24px; }
.members li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.members b { display: block; color: var(--navy); font-size: 17px; }
.members span { color: var(--blue); font-size: 14px; font-weight: 700; }
.members p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.contact-card { padding: 32px; background: var(--pale); }
.contact-card h3 { font-size: 19px; }
.contact-card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.contact-card .btn { margin-top: 20px; }

/* 6. フッター ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; max-width: 30em; line-height: 1.8; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: 4px 4px; }
.footer-nav a, .footer-bottom a { padding: 8px 10px; border-radius: 8px; transition: color .2s; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-bottom small { font-size: 13px; }
.footer-bottom a { margin-right: -10px; }

/* 7. 動き ----------------------------------------------------------------- */
/* 「動きを減らす」設定のときは、ここにある動きをすべて使いません。 */
@media (prefers-reduced-motion: no-preference) {
  /* スクロールで表示 */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .scenes [data-reveal]:nth-child(2) { transition-delay: .1s; }
  .js .scenes [data-reveal]:nth-child(3) { transition-delay: .2s; }

  /* 冒頭：文章と図を順に表示 */
  .hero-copy > *, .hero-visual, .hv-log li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-visual { animation-delay: .2s; }
  .hv-log li:nth-child(1) { animation-delay: .7s; }
  .hv-log li:nth-child(2) { animation-delay: 1.2s; }
  .hv-log li:nth-child(3) { animation-delay: 1.7s; }
  .hv-log li:nth-child(4) { animation-delay: 2.2s; }

  /* 冒頭の家の図：気づいた場所を示す波紋 */
  .hv-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring 2.6s ease-out infinite;
  }
  .status-dot { animation: blink 2.4s ease-in-out infinite; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ring {
  0% { transform: scale(.6); opacity: .7; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 8. 画面幅ごとの調整 ----------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-inner { gap: 40px; }
  .basis-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenes { grid-template-columns: 1fr; max-width: 640px; }
  .split, .principles-inner { gap: 48px; }
}

@media (max-width: 880px) {
  /* ナビゲーションをメニューボタンにまとめる（JavaScript が無い場合は折り返して表示） */
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; width: 100%; padding-bottom: 10px; }
  .site-nav .nav-contact { margin-left: 0; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: auto;
    padding: 8px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(15, 39, 71, .35);
    font-size: 16px;
  }
  .js .nav-open .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 10px; }
  .js .site-nav .nav-contact { margin-top: 10px; text-align: center; }

  .hero { padding-block: 48px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .pc-only { display: none; }

  .section { padding-block: 80px; }
  .burden, .steps { grid-template-columns: 1fr; gap: 16px; max-width: 640px; }
  .steps { gap: 32px; }
  .steps li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .split, .principles-inner { grid-template-columns: 1fr; gap: 36px; }

  /* 開発状況：縦の年表にする */
  .roadmap { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .roadmap li { padding: 0 0 36px 40px; }
  .roadmap li:last-child { padding-bottom: 0; }
  .roadmap li::before { top: 8px; bottom: -8px; left: 8px; right: auto; width: 2px; height: auto; }
  .roadmap li:last-child::before { display: none; }
  .roadmap li::after { top: 6px; }
}

@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 28px; height: 28px; }

  h1 { font-size: clamp(28px, 8.2vw, 34px); }
  .lead, .section-lead { font-size: 16px; }
  .lead { line-height: 1.9; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 18px; border-radius: 18px; }
  .hv-chips li { font-size: 12.5px; padding-inline: 7px 10px; }

  h2 { font-size: 24px; }
  .burden, .steps, .scenes, .roadmap { margin-top: 36px; }
  .burden li, .steps li, .scene { padding: 22px 22px 24px; }
  .basis-list { grid-template-columns: 1fr; gap: 20px; }
  .contact-card { padding: 24px; }
  .footer-nav { margin-inline: -10px; }
}

/* Editorial lifestyle imagery */
.home-photo {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:10px;}
.problem-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;margin-bottom:40px;}
.family-photo{margin:0;min-width:0;}
.family-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:14px;}
.family-photo figcaption{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.7;}
@media(max-width:800px){.problem-intro{grid-template-columns:1fr;gap:28px;}.family-photo{max-width:560px;}.home-photo{border-radius:8px;}}

/* 大画面では左右の余白を抑え、冒頭の高さもコンパクトにする */
@media(min-width:1200px){
  .wrap{width:min(1440px,100% - 112px);}
  .hero{padding-block:44px 60px;}
  .hero-inner{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(40px,4vw,76px);}
  .hero-visual{padding:22px;}
  .hero .home-photo{aspect-ratio:2/1;object-position:center 42%;}
  .hero h1{max-width:14em;}
}
.scenario-label{margin-top:12px;font-size:12px;color:var(--muted);text-align:center;}
.hv-chips{gap:7px;margin-top:9px;}
.hv-chips li{display:contents;}
.hv-chips button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:7px 11px;border:1px solid #c5d7ee;border-radius:8px;background:white;color:var(--muted);font:inherit;font-size:12px;line-height:1.5;cursor:pointer;transition:background .15s,color .15s;}
.hv-chips button:hover{background:#e6effb;color:var(--blue-dark);}
.hv-chips button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700;}
.hv-chips button:disabled{cursor:default;}
.hv-log li>div{min-width:0;}
.hv-log li>div>span{min-height:2.5em;}
@media(min-width:1200px){.hero .home-photo{aspect-ratio:2.5/1;}.hero .hv-log li>div>span{min-height:1.6em;}.hero .hv-log li{padding-bottom:12px;}.hero .hv-log li:last-child{padding-bottom:0;}}

/* ==========================================================================
   2026-11-15 追加：背景の数字／これまでとの違い／検証で確かめること／
   事業者の方へ／よくある質問／ご相談の種類
   ========================================================================== */

/* 背景の数字 */
.stats-block { margin-top: 72px; }
.stats-title { font-size: 20px; }
.stats-lead { margin-top: 8px; max-width: 46em; color: var(--muted); font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.stats li { display: flex; flex-direction: column; padding: 26px 28px 22px; border-radius: var(--radius); background: var(--pale); }
.stat-num { color: var(--blue); font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat-num small { margin-left: 4px; color: var(--navy); font-size: .42em; font-weight: 700; letter-spacing: 0; }
.stat-label { margin-top: 10px; color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.stat-source { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.stat-source a, .faq a, .text-link { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.stat-source a:hover, .faq a:hover, .text-link:hover { color: var(--blue); }

/* これまでとの違い */
.compare-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; line-height: 1.8; }
.compare th, .compare td { padding: 18px 24px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; background: var(--pale); color: var(--navy); font-size: 15px; }
.compare thead th:first-child { width: 22%; }
.compare tbody th { color: var(--navy); font-weight: 700; }
.compare td { color: var(--muted); }
.compare .is-ours { background: #f0f6ff; color: var(--ink); }
.compare thead .is-ours { background: var(--blue); color: var(--white); }

/* 検証で確かめること */
.measure-block { margin-top: 72px; }
.measure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.measure li { padding: 26px 28px 28px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--white); }
.measure h4 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.6; }
.measure p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* 事業者の方へ */
.partner-points { display: grid; gap: 14px; margin-top: 28px; }
.partner-points li { position: relative; padding-left: 30px; color: var(--ink); }
.partner-points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.partner-card { padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.partner-card h3 { font-size: 19px; }
.partner-card ol { margin-top: 18px; counter-reset: p; }
.partner-card ol li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; line-height: 1.8; counter-increment: p; }
.partner-card ol li::before { content: counter(p); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pale-strong); color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1; }
.partner-card ol b { display: block; color: var(--navy); }
.partner-card .note { margin-top: 18px; }

/* よくある質問 */
.faq { max-width: 860px; margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 48px 20px 0; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--blue); }
.faq details > p { padding: 0 48px 22px 0; color: var(--muted); font-size: 15.5px; }

/* ご相談の種類 */
.inquiry-types { display: grid; gap: 12px; margin-top: 28px; }
.inquiry-types li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.inquiry-types b { display: block; color: var(--navy); font-size: 16px; line-height: 1.6; }
.inquiry-types span { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* 項目が増えたため、ナビゲーションは 1100px 以下でメニューボタンにまとめる */
.site-nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; width: 100%; padding-bottom: 10px; }
  .site-nav .nav-contact { margin-left: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; width: auto; padding: 8px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(15, 39, 71, .35); font-size: 16px; }
  .js .nav-open .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 10px; }
  .js .site-nav .nav-contact { margin-top: 10px; text-align: center; }
}
@media (max-width: 880px) {
  .stats, .measure { grid-template-columns: 1fr; gap: 16px; max-width: 640px; }
  .stats-block, .measure-block { margin-top: 56px; }
  /* 比較表：1行ずつのカードにする */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr + tr { border-top: 1px solid var(--line); }
  .compare th, .compare td { border-top: 0; padding: 12px 20px; }
  .compare tbody th { padding-top: 20px; font-size: 16.5px; }
  .compare td:last-child { padding-bottom: 20px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--navy); font-size: 13px; font-weight: 700; }
  .compare td.is-ours::before { color: var(--blue); }
}
@media (max-width: 560px) {
  .stats li, .measure li, .partner-card { padding: 22px; }
  .faq summary { font-size: 16px; }
  .faq details > p { padding-right: 0; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ==========================================================================
   2026-11-16 追加：話の流れの組み直し（想定の例／サービスの補足／
   三つの場面の短い一覧／なぜ今か／事業の進め方）
   ========================================================================== */
.example-note { margin-top: 10px; color: var(--muted); font-size: 13px; }
.list-lead { margin-top: 8px; color: var(--navy); font-size: 17px; font-weight: 700; }
.list-lead + .burden { margin-top: 24px; }

.sub-block { margin-top: 64px; }
.sub-title { font-size: 20px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.facts li { padding: 22px 24px 24px; border-radius: var(--radius); background: var(--pale); }
.facts b { display: block; color: var(--navy); font-size: 16.5px; line-height: 1.6; }
.facts p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.scene-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.scene-mini li { display: flex; gap: 16px; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.scene-mini b { display: block; color: var(--navy); font-size: 16.5px; line-height: 1.6; }
.scene-mini p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.8; }

#why-now .stats { margin-top: 48px; }
.why-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.why-points h3 { font-size: 18px; }
.why-points p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

#business .measure { margin-top: 48px; }
.measure h3 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.6; }
#partners .note { margin-top: 24px; }

/* 項目が増えたため、ナビゲーションをメニューボタンにまとめる幅を広げる */
@media (max-width: 1240px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; width: 100%; padding-bottom: 10px; }
  .site-nav .nav-contact { margin-left: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; width: auto; padding: 8px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(15, 39, 71, .35); font-size: 16px; }
  .js .nav-open .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 10px; }
  .js .site-nav .nav-contact { margin-top: 10px; text-align: center; }
}
@media (max-width: 880px) {
  .facts, .scene-mini, .why-points { grid-template-columns: 1fr; gap: 16px; max-width: 640px; }
  .why-points { gap: 24px; }
  .sub-block { margin-top: 48px; }
}
