/* RoomoのWebサイト v2.0(2026-10-28)。トップは見本B「1つずつ紹介」。色は前のサイト・招待のページと同じ */
:root {
  --bg: #FFF8F0;
  --card: #FFFFFF;
  --text: #2A2420;
  --sub: #6B6158;
  --line: #EADFD2;
  --accent: #F2851F;
  --accent-text: #A9520A;
  --soft: #FFEFD9;
  --btn: #2A2420;
  --btn-text: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191B;
    --card: #222528;
    --text: #EEEAE4;
    --sub: #ABA49B;
    --line: #34383C;
    --accent: #F59A3E;
    --accent-text: #F7B26B;
    --soft: #2A2622;
    --btn: #EEEAE4;
    --btn-text: #17191B;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Noto Sans", system-ui, sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent-text); }
img { display: block; max-width: 100%; height: auto; }

/* 上の帯 */
.bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.back { font-size: 22px; text-decoration: none; min-width: 44px; min-height: 44px; display: flex; align-items: center; color: var(--text); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; min-height: 36px; display: flex; align-items: center;
  font-size: 14px; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; background: var(--card);
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: 44px; margin: 0; padding: 6px; list-style: none; min-width: 180px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.lang li a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.lang li a[aria-current] { font-weight: 700; background: var(--soft); }

main { max-width: 960px; margin: 0 auto; padding: 0 16px 40px; }
section { padding: 40px 0 0; }
h1 { font-size: 30px; line-height: 1.45; margin: 0 0 8px; }
h2 { font-size: 22px; line-height: 1.5; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 0 0 4px; }
p { margin: 0 0 8px; }
.sub { color: var(--sub); }
.small { font-size: 13px; color: var(--sub); }
.center { text-align: center; }

/* ストアのボタン。公式のバッジ(10/29)。2つの高さをそろえ、形や色は変えない(アップル・グーグルの決まり) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.center .stores { justify-content: center; }
.store { display: inline-flex; }
.store img { display: block; height: 48px; width: auto; }
/* グーグルの絵は上下に透明の余白があるので、見える黒い枠がアップルと同じ48pxになるよう大きくして余白を打ち消す */
.store img[src*="google-"] { height: 62px; margin: -7px 0; }

.phone {
  border-radius: 28px; overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 8px 28px rgba(60, 40, 20, .14);
  background: var(--card);
}

/* トップ。いちばん上は写真を横にすべらせて見る(見本Aの上の部分) */
.hero { padding-top: 36px; }
.strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 28px -16px 0; padding: 4px 16px 20px;
  /* 吸いつく位置も左の余白のあとに(無いと1枚目が画面の左はしにくっつく。2026-11-07) */
  scroll-padding-inline: 16px;
}
/* 見出しが2行になる言語でも写真の高さがそろうよう、見出しの下を伸ばして写真を下にそろえる(10/29) */
.strip figure { flex: 0 0 210px; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.strip figcaption { flex: 1; font-weight: 700; font-size: 15px; margin-bottom: 8px; line-height: 1.5; }
@media (min-width: 992px) { .strip { margin: 28px 0 0; padding: 4px 0 20px; } }
.feature { display: grid; gap: 20px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature .phone { width: 220px; margin: 0 auto; }
.kicker { color: var(--accent-text); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.quote { background: var(--soft); border-radius: 12px; padding: 8px 14px; display: inline-block; margin: 6px 0 10px; }
.band { background: var(--soft); margin: 0 -16px; padding: 32px 16px; }
@media (min-width: 760px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature:nth-of-type(even) .phone { order: -1; }
  .band { margin: 0; border-radius: 20px; }
}

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; }
.links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 14px 18px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 700;
}
.link .sub { display: block; font-weight: 400; font-size: 13px; }
.link::after { content: "›"; font-size: 24px; color: var(--sub); }

/* 中のページ */
.page { max-width: 760px; }
.page > h1 { margin-top: 32px; font-size: 26px; }
.page .card + .card { margin-top: 16px; }
.page .card h2 { font-size: 18px; }
ol.steps, ul.plain { margin: 4px 0 8px; padding-left: 1.4em; }
ol.steps li, ul.plain li { margin: 4px 0; }
.note { font-size: 14px; color: var(--sub); }
.warn { border-color: var(--accent); }

/* よくある質問 */
.faq-group { margin-top: 28px; }
.faq-group h2 { font-size: 16px; color: var(--sub); margin-bottom: 8px; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px; }
details.qa summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 18px; font-weight: 700;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-size: 22px; color: var(--sub); }
details.qa[open] summary::after { content: "−"; }
details.qa p { padding: 0 18px 14px; color: var(--sub); margin: 0; }

/* 規約・ポリシー */
.legal { font-size: 15px; overflow-wrap: break-word; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal h1 { font-size: 24px; margin: 0 0 16px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 6px 0 12px; }
.legal li { margin: 4px 0; }
.table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal thead th { color: var(--sub); }
.legal td:first-child { min-width: 7em; }

/* お問い合わせ */
.contact { display: flex; flex-direction: column; gap: 8px; }
.contact label { font-size: 14px; font-weight: 700; margin-top: 8px; }
.contact input, .contact textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.count { align-self: flex-end; font-size: 12px; color: var(--sub); }
.contact button {
  align-self: flex-start; min-height: 48px; padding: 0 28px; border: 0; border-radius: 12px;
  background: var(--btn); color: var(--btn-text); font: inherit; font-weight: 700; cursor: pointer;
}

footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 20px 16px 40px; }
footer nav { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
