/* =============================================================================
   サービスの案内（トップ /）。site.css の色・ボタンを使い、このページの形だけをここに書く
   白地・テーマ色1色・細い線。角は小さく、ピル形・グラデーション・強い影は使わない。スマホが先
   ============================================================================= */
.home { line-height: 1.8; }
/* 文の最後の行が1〜2文字だけにならないように。箇条書きは言葉のまとまりで折り返す（対応しているブラウザだけ。ほかはふだんどおり） */
.home main p { text-wrap: pretty; }
.home main li { word-break: auto-phrase; }
.home main { max-width: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.home [id] { scroll-margin-top: 12px; }

/* 見出しは、文の切れ目（<wbr>）でだけ折り返す。入りきらないときだけ途中で折る */
.hero-title, .sec-title, .cta-title, .point h3, .step h3, .faq summary {
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance;
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: #fff; border: 1px solid var(--accent); border-radius: var(--radius); font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- 上の帯 ---------- */
.hd { border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); background: #fff; }
.hd-in {
  max-width: 1160px; margin: 0 auto; padding: 0 12px 0 20px;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name act" "nav nav"; align-items: center;
}
.hd-name { grid-area: name; min-height: 56px; display: flex; align-items: center; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.hd-name:hover { color: var(--accent); }
.hd-act { grid-area: act; display: flex; align-items: center; gap: 2px; }
.hd-login { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.hd-login:hover { color: var(--accent); text-decoration: underline; }
.hd .hd-signup { min-height: 40px; padding: 0 14px; font-size: 14px; }
.hd-nav {
  grid-area: nav; display: flex; overflow-x: auto; scrollbar-width: none;
  margin: 0 -12px 0 -20px; padding: 0 10px; border-top: 1px solid var(--line);
}
.hd-nav::-webkit-scrollbar { display: none; }
.hd-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--ink); font-size: 14px; text-decoration: none; }
.hd-nav a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- いちばん上 ---------- */
.hero { padding: 32px 0 44px; }
.hero-in { display: grid; gap: 36px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 14px; font-weight: 700; }
.hero-title { font-size: clamp(31px, 8.4vw, 50px); line-height: 1.32; font-weight: 800; letter-spacing: .01em; }
.hero-lead { margin: 18px 0 0; max-width: 32em; font-size: 16px; }
.hero-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero-price { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.hero-price b { color: var(--ink); }
.fee-text { white-space: nowrap; }

/* 端末の枠（細い線だけ） */
.device { margin: 0; background: #fff; border: 1px solid var(--line-strong); }
.device img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.tablet { border-radius: 14px; padding: 10px; }
.tablet img { border-radius: 4px; }
.phone { border-radius: 24px; padding: 7px; }
.phone img { border-radius: 17px; }

/* スマホとタブレットを重ねる（大きさは幅の割合。縦の長さは画像の縦横の比から決まる） */
.devices { position: relative; aspect-ratio: 1000 / 828; }
.devices .tablet { position: absolute; top: 0; right: 0; width: 78%; padding: 1.5%; border-radius: 12px; }
.devices .phone { position: absolute; left: 0; bottom: 0; z-index: 1; width: 34%; padding: 1.2%; border-radius: 18px; }
.devices .phone img { border-radius: 12px; }

/* ---------- 帯（区切りは細い線） ---------- */
.band { padding: 48px 0; border-top: 1px solid var(--line); }
.sec-title { margin: 0 0 12px; font-size: clamp(24px, 6vw, 34px); line-height: 1.4; font-weight: 800; }
.sec-lead { margin: 0 0 28px; max-width: 42em; color: #3d4549; }

/* ---------- 3つのポイント ---------- */
.point-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; }
.point { display: grid; grid-template-columns: 40px 1fr; align-content: start; column-gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.point:last-child { border-bottom: 1px solid var(--line); }
.point-no { grid-row: span 2; color: var(--accent); font-size: 28px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.point h3 { margin: 0 0 6px; font-size: 19px; }
.point p { margin: 0; font-size: 15px; }

/* ---------- 写真（お店が用意したときだけ） ---------- */
.scenes { padding: 0 0 48px; }
.scenes-in { display: grid; gap: 24px; }
.scene { margin: 0; }
.scene img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: #f3f5f5; }
.scene figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 画面 ---------- */
.screen-row { display: grid; gap: 22px; padding: 32px 0; border-top: 1px solid var(--line); }
.screen-row:first-of-type { border-top: 0; padding-top: 4px; }
.stage { display: flex; align-items: center; justify-content: center; padding: 18px; border-radius: 8px; background: var(--accent-soft); }
.stage .tablet { width: 100%; padding: 8px; border-radius: 12px; }
.stage-phone { padding: 24px 18px; }
.stage-phone .phone { width: 64%; max-width: 280px; }
.screen-label { margin: 0 0 2px; color: var(--accent); font-size: 13px; font-weight: 700; }
.screen-text h3 { margin: 0 0 10px; font-size: 22px; }
.screen-text > p:not(.screen-label) { margin: 0; }

/* チェックの印は線で描く（絵文字・アイコンの字は使わない） */
.check-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: 15px; }
.check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.check-list li::before {
  content: ""; position: absolute; left: 5px; top: 15px; width: 6px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
}

/* ---------- 機能のまとめ ---------- */
.group-grid { display: grid; }
.group { padding: 22px 0; border-top: 1px solid var(--line); }
.group h3 { margin: 0 0 10px; padding-left: 12px; border-left: 3px solid var(--accent); font-size: 18px; line-height: 1.4; }
.group ul { margin: 0; padding-left: 1.25em; font-size: 15px; }
.group li { margin-bottom: 6px; line-height: 1.65; }
.group li::marker { color: var(--line-strong); }
.tag-plain {
  display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--accent); border-radius: 3px;
  color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.7; vertical-align: 2px; white-space: nowrap;
}
.group-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 料金（無料・基本・プロ。2026-12-01）---------- */
.plan-grid { display: grid; gap: 14px; margin-top: 24px; }
.plan { display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.plan.first { border-top: 4px solid var(--accent); }
.plan-name { margin: 0; font-size: 18px; line-height: 1.4; }
.plan-num { margin: 6px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.plan-num b { margin: 0 2px; font-size: 42px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.plan-unit { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.plan-limit { margin: 14px 0 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; font-size: 14px; }
.plan .check-list { margin: 0 0 18px; flex: 1; }
.plan .check-list li { font-size: 14.5px; }
.plan .btn { width: 100%; }
.price-ex { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.price-small { margin: 16px 0 0; padding: 14px 0 0 1.25em; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.price-small li { margin-bottom: 4px; }
.custom { margin-top: 28px; padding: 22px 20px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.custom h3 { margin: 0 0 6px; font-size: 18px; }
.custom-fee { margin: 0 0 8px; font-weight: 700; }
.custom-fee b { font-size: 24px; font-variant-numeric: tabular-nums; }
.custom p { margin: 0 0 6px; font-size: 15px; }
.custom .custom-note { color: var(--muted); font-size: 14px; }

/* ---------- 始め方 ---------- */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; }
.step { position: relative; padding: 0 0 26px 50px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; border-left: 1px solid var(--line-strong); }
.step-no {
  position: absolute; left: 0; top: 0; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); border-radius: 4px; background: #fff; color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums;
}
.step h3 { margin: 3px 0 4px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; }
.prepare { margin-top: 12px; padding: 20px; border: 1px solid var(--line-strong); border-radius: 8px; }
.prepare h3 { margin: 0 0 10px; font-size: 17px; }
.prepare ul { margin: 0; padding-left: 1.25em; font-size: 15px; }
.prepare li { margin-bottom: 6px; line-height: 1.65; }
.prepare li::marker { color: var(--line-strong); }

/* ---------- よくある質問 ---------- */
.faq-list { max-width: 880px; margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; min-height: 56px; padding: 16px 40px 16px 30px;
  font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 2px; top: 16px; color: var(--accent); font-weight: 800; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.faq details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 8px 18px 30px; font-size: 15px; }
.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- 最後のお誘い ---------- */
.cta { padding: 48px 0; border-top: 1px solid var(--line); background: var(--accent-soft); }
.cta-in { display: grid; gap: 28px; align-items: center; }
.cta-title { margin: 0 0 10px; font-size: clamp(24px, 6vw, 32px); line-height: 1.4; font-weight: 800; }
.cta-text p { margin: 0; }
.cta-photo { margin: 0; }
.cta-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.cta .btn:not(.primary) { background: #fff; }

/* ---------- 下の帯 ---------- */
.home .site-foot .in { max-width: 1160px; padding: 20px; }

/* =============================================================================
   画面が広いとき
   ============================================================================= */
@media (min-width: 560px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
  .hero-btns .btn { min-width: 210px; }
  .scenes-in { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .band { padding: 64px 0; }
  .point-list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .point { grid-template-columns: 1fr; padding: 22px 0 0; border-bottom: 0; }
  .point:last-child { border-bottom: 0; }
  .point-no { grid-row: auto; margin-bottom: 8px; }
  .group-grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .custom { padding: 26px 28px; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
  .step { padding: 52px 0 0; }
  .step:not(:last-child)::before { left: 44px; right: -16px; top: 17px; bottom: auto; border-left: 0; border-top: 1px solid var(--line-strong); }
  .prepare { margin-top: 36px; padding: 24px 28px; }
  .prepare ul { columns: 2; column-gap: 40px; }
  .prepare li { break-inside: avoid; }
  .cta { padding: 64px 0; }
  .home .site-foot .in { padding: 20px 32px; }
  .cta:not(.has-photo) .cta-text { text-align: center; }
  .cta:not(.has-photo) .hero-btns { justify-content: center; }
}

@media (min-width: 900px) {
  .hd-in { grid-template-columns: auto 1fr auto; grid-template-areas: "name nav act"; min-height: 68px; padding: 0 32px; }
  .hd-nav { justify-content: flex-end; margin: 0 12px 0 0; padding: 0; border-top: 0; }
  .hd-nav a { padding: 0 12px; font-size: 15px; }
  .hd-login { font-size: 15px; }
  .hd .hd-signup { min-height: 44px; padding: 0 18px; font-size: 15px; }
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 76px; }
  .hero-in { grid-template-columns: 9fr 13fr; gap: 44px; align-items: center; }
  .hero-lead { font-size: 17px; }
  /* タブレット 82%・スマホ 28%。スマホの上の端は、タブレットの上から幅の 11% 下がった所 */
  .devices { aspect-ratio: 1000 / 688; }
  .devices .tablet { width: 82%; }
  .devices .phone { width: 28%; }
  .screen-row { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding: 56px 0; }
  .screen-row:first-of-type { padding-top: 16px; }
  .screen-row.rev { grid-template-columns: 5fr 7fr; }
  .screen-row.rev .stage { order: 2; }
  .stage { padding: 36px; }
  .stage-phone { padding: 36px; }
  .stage-phone .phone { width: 46%; }
  .screen-text h3 { font-size: 26px; }
  .group-grid { grid-template-columns: repeat(3, 1fr); }
  .cta.has-photo .cta-in { grid-template-columns: 6fr 5fr; gap: 48px; }
}
