/* 部屋録音 紹介ページ。色はアプリのアイコンと同じ（生成り・紺・水色・琥珀）。スクリプトは使わない */
:root {
  --cream: #faf4e3;
  --paper: #fffaf0;
  --navy: #1e3a63;
  --blue: #6eaeea;
  --blue-deep: #2f6fb5;
  --amber: #f6be45;
  --ink: #23303f;
  --muted: #5b6878;
  --line: #e6dcc3;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg { max-width: 100%; height: auto; }

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.wrap { width: min(100% - 40px, 920px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }

/* ヘッダー */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 1px 4px rgba(30, 58, 99, .18); }
.site-header nav a { margin-left: 18px; color: var(--navy); font-size: 15px; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

/* 最初の画面 */
.hero { padding: 36px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.35; margin: 0 0 18px; color: var(--navy); letter-spacing: .01em; }
.hero .lead { font-size: 18px; margin: 0 0 26px; }
.hero-art { justify-self: center; width: min(100%, 300px); }

.badge {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
a.badge:hover { background: #16304f; color: #fff; }
.badge.soon { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* 区切りごとのかたまり */
section { padding: 52px 0; }
section.paper { background: var(--paper); border-block: 1px solid var(--line); }
h2 { font-size: clamp(23px, 4.4vw, 30px); line-height: 1.5; color: var(--navy); margin: 0 0 10px; }
h3 { font-size: 19px; color: var(--navy); margin: 0 0 6px; line-height: 1.6; }
.sub { color: var(--muted); margin: 0 0 28px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.cards li, .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.cards p, .card p { margin: 0; font-size: 16px; }
.cards .mark { width: 46px; height: 46px; margin-bottom: 10px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }

/* しくみの図 */
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px 14px; margin: 0; }
.figure figcaption { color: var(--muted); font-size: 15px; padding: 10px 10px 4px; }
.figure svg { display: block; width: 100%; }
.figure .fig-tall { display: none; max-width: 340px; margin-inline: auto; }

/* はじめかた */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 74px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.steps strong { color: var(--navy); }

/* 無料と Plus */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.plus { border: 2px solid var(--blue); }
.plan .price { font-size: 26px; font-weight: 700; color: var(--navy); margin: 2px 0 2px; line-height: 1.5; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { padding-left: 1.2em; margin: 12px 0 0; }
.plan li { margin: 4px 0; font-size: 16px; }

.plain { padding-left: 1.2em; margin: 0; }
.plain li { margin: 8px 0; }

.callout {
  background: #fff8e1;
  border: 1px solid #f1dca0;
  border-left: 6px solid var(--amber);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: 10px 0 2px; }

/* 読み物のページ（備え・プライバシーポリシー・サポート） */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: clamp(26px, 5.4vw, 36px); line-height: 1.45; color: var(--navy); margin: 8px 0 18px; }
.doc h2 { margin-top: 44px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 8px 0; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .back { display: inline-block; margin-top: 36px; }

/* フッター */
.site-footer { background: var(--navy); color: #dfe8f3; padding: 34px 0 44px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; padding: 0; list-style: none; }
.site-footer p { margin: 4px 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 22px; }
  .hero-art { width: min(64%, 240px); order: -1; }
  .cards, .cards.two, .plans { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 12px; font-size: 14px; }
  .site-header nav .wide-only { display: none; }
  .figure .fig-wide { display: none; }
  .figure .fig-tall { display: block; }
  section { padding: 40px 0; }
}
