/* かいたし — kaitashi.app
   色・形はアプリ（src/theme）と合わせる：生成りの地、ミントが主役、角の大きく丸いカード、丸ゴシック。 */
:root {
  --bg: #FBF7EF;
  --bg-deep: #F4EEE2;
  --card: #FFFFFF;
  --mint: #5DB89B;
  --mint-deep: #2F8A6E;
  --mint-soft: #E4F4EE;
  --mint-faint: #F1FAF6;
  --cream: #FFF4D9;
  --orange-soft: #FFE7D4;
  --text: #3D3830;
  --text-sub: #6F675C;
  --line: #ECE5D8;
  --line-strong: #DCD2C1;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow: 0 2px 14px rgba(80, 64, 40, 0.07);
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; display: block; }
a { color: var(--mint-deep); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ヘッダー */
.site-head { padding: 18px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 20px; letter-spacing: 0.06em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.head-nav { display: flex; gap: 18px; font-size: 14px; }
.head-nav a { color: var(--text-sub); text-decoration: none; }
.head-nav a:hover { color: var(--mint-deep); }

/* ヒーロー */
.hero { padding: clamp(8px, 3vw, 40px) 0 clamp(36px, 7vw, 88px); }
.hero .wrap { display: grid; gap: 24px; align-items: center; }
.catch {
  margin: 0;
  font-weight: 900;
  /* 1行目（丸＋「洗剤あったっけ？」を、）が 360px でも1行に収まる大きさ */
  font-size: clamp(26px, 7.5vw, 40px);
  line-height: 1.42;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
}
.catch .row { display: flex; align-items: flex-start; gap: 0.3em; white-space: nowrap; }
.catch .row > span { display: block; }
/* 約物（「」、）の半角分を詰める */
.catch .yk-l { margin-left: -0.42em; }
.catch .yk-r { margin-right: -0.42em; }
.tick {
  flex: none;
  width: 0.78em; height: 0.78em;
  margin-top: 0.32em;
  border-radius: 50%;
  border: 0.075em solid var(--line-strong);
  background: var(--card);
  position: relative;
}
.tick svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.tick.on { border-color: var(--mint); background: var(--mint); animation: tick-fill .45s .9s both ease-out; }
.tick.on svg { animation: tick-show .3s 1.15s both ease-out; }
@keyframes tick-fill { from { background: var(--card); border-color: var(--line-strong); } to { background: var(--mint); border-color: var(--mint); } }
@keyframes tick-show { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tick.on, .tick.on svg { animation: none; }
  .tick.on svg { opacity: 1; }
}
.lead { margin: 18px 0 0; font-size: clamp(16px, 2.2vw, 18px); color: var(--text-sub); max-width: 34em; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.5;
}
.hero-chips .free { background: var(--mint-deep); color: #fff; }
.hero-chips .soon { background: var(--card); border: 2px solid var(--mint-soft); color: var(--mint-deep); padding: 7px 16px; }
.hero-chips .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.free-note { margin: 10px 0 0; font-size: 13px; color: var(--text-sub); }

/* スマホの枠（ヒーローだけ） */
.phone {
  width: min(236px, 62vw);
  aspect-ratio: 780 / 1688;
  padding: 10px;
  border-radius: 46px;
  background: #3D3830;
  box-shadow: 0 24px 50px -20px rgba(61, 56, 48, 0.45), 0 0 0 1px rgba(61, 56, 48, 0.2);
  position: relative;
  margin: 0 auto;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; background: var(--bg); }
.hero-visual { position: relative; padding: 10px 0 0; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  width: min(420px, 100%); aspect-ratio: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--mint-soft); border-radius: 50%;
}
.hero-visual .phone { z-index: 1; }
/* スマホではリストの上半分だけ見せて、下はやわらかく消す（縦を短く） */
@media (max-width: 899px) {
  .hero { padding-bottom: 8px; }
  .hero-visual { height: min(400px, 106vw); overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .hero-visual::before { top: 62%; }
  .phone { width: min(256px, 68vw); }
}
.note-chip {
  position: absolute; z-index: 2;
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  padding: 10px 14px; font-size: 13px; line-height: 1.5; font-weight: 700;
}
.note-chip small { display: block; font-weight: 500; color: var(--text-sub); font-size: 12px; }
.note-chip.a { left: max(0px, calc(50% - 250px)); top: 18%; }
.note-chip.b { right: max(0px, calc(50% - 250px)); bottom: 16%; }
.note-chip .who { display: inline-block; background: var(--orange-soft); border-radius: 999px; padding: 0 8px; font-size: 11px; margin-top: 4px; }
.note-chip.b .who { background: #DCEBFA; }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .catch { font-size: clamp(36px, 3.5vw, 46px); }
  .hero-txt { min-width: 0; }
  .phone { width: 340px; }
  .hero-visual::before { width: 500px; }
}

/* 準備中のしるし（アプリと同じ、小さく淡く） */
.prep {
  display: inline-block; margin-left: 0.6em; padding: 0 9px;
  font-size: 12px; line-height: 1.75; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-sub); background: #EFE9DE; border-radius: 999px;
  vertical-align: 0.12em; white-space: nowrap;
}

/* セクション共通 */
.section { padding: clamp(40px, 8vw, 104px) 0; }
.section.tint { background: var(--bg-deep); }
.h2 { margin: 0 0 12px; font-weight: 900; font-size: clamp(25px, 5.4vw, 36px); line-height: 1.45; letter-spacing: 0.02em; }
.sub { margin: 0; color: var(--text-sub); max-width: 34em; }

/* こんなこと、ありませんか？ */
.aru { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 8vw, 96px); text-align: center; }
.aru-list { display: grid; gap: 12px; margin: 20px auto 0; padding: 0; list-style: none; max-width: 360px; }
.aru-list li { display: flex; }
.aru-list li:nth-child(2) { justify-content: flex-end; }
.aru-list li:nth-child(3) { justify-content: center; }
.say {
  position: relative; display: inline-block;
  background: var(--card); border: 2px solid var(--line); border-radius: 22px;
  padding: 11px 20px; font-weight: 700; font-size: 16px; line-height: 1.6;
}
.say::after {
  content: ""; position: absolute; left: 26px; bottom: -9px; width: 14px; height: 14px;
  background: var(--card); border-right: 2px solid var(--line); border-bottom: 2px solid var(--line);
  transform: rotate(45deg); border-bottom-right-radius: 4px;
}
.aru-list li:nth-child(2) .say::after { left: auto; right: 26px; }
.aru-ans {
  margin: 26px auto 0; font-weight: 900; font-size: clamp(18px, 4.9vw, 30px); line-height: 1.6;
}
.aru-ans span { display: inline-block; }
.aru-ans span:last-child { background: linear-gradient(transparent 62%, var(--mint-soft) 62%); padding: 0 2px; }
@media (min-width: 820px) {
  .aru-list { grid-template-columns: repeat(3, auto); justify-content: center; max-width: none; gap: 22px; margin-top: 32px; }
  .aru-list li, .aru-list li:nth-child(2), .aru-list li:nth-child(3) { justify-content: center; }
  .aru-list li:nth-child(2) { transform: translateY(14px); }
}

/* 価値3つ */
.values { display: grid; gap: 12px; margin-top: 24px; }
.value { border-radius: 28px; padding: 18px 18px 20px; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.value:nth-child(1) { background: var(--mint-soft); }
.value:nth-child(2) { background: var(--cream); }
.value:nth-child(3) { background: var(--orange-soft); }
.value svg { width: 36px; height: 36px; grid-row: span 2; }
.value h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.value p { margin: 0; font-size: 15px; color: var(--text); max-width: 34em; }
@media (min-width: 820px) {
  .values { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
  .value { display: block; padding: 30px 28px 32px; }
  .value svg { width: 56px; height: 56px; }
  .value h3 { margin: 16px 0 6px; font-size: 20px; }
}

/* できること（01〜05・帯を交互に） */
.features-head { padding: clamp(40px, 8vw, 104px) 0 clamp(4px, 2vw, 16px); }
.feature { padding: clamp(26px, 6vw, 80px) 0; }
.feature:nth-of-type(odd) { background: var(--mint-faint); }
.feature .wrap {
  display: grid; gap: 14px;
  grid-template-areas: "head" "art" "body";
}
.f-head { grid-area: head; display: flex; align-items: baseline; gap: 14px; }
.num {
  font-weight: 900; font-size: clamp(30px, 6vw, 46px); line-height: 1; letter-spacing: 0.02em;
  color: var(--mint);
}
.feature h3 { margin: 0; font-size: clamp(21px, 4.6vw, 28px); font-weight: 900; line-height: 1.45; }
.feature .art {
  grid-area: art; width: 100%; max-width: 440px; margin: 0 auto;
  background: var(--card); border-radius: 26px; padding: 6px; box-shadow: var(--shadow);
}
.feature .art img { width: 100%; height: auto; border-radius: 20px; }
.f-body { grid-area: body; }
.f-body p { margin: 0; max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--text-sub);
}
.tags .prep { margin-left: 6px; }
.nb { display: inline-block; }
@media (min-width: 860px) {
  .feature .wrap {
    grid-template-columns: 6fr 4fr; column-gap: 64px; row-gap: 14px;
    grid-template-areas: "art head" "art body";
    grid-template-rows: 1fr auto;
  }
  .feature:nth-of-type(even) .wrap { grid-template-columns: 4fr 6fr; grid-template-areas: "head art" "body art"; }
  .f-head { align-self: end; flex-direction: column; gap: 8px; }
  .f-body { align-self: start; }
  .f-body p { font-size: 17px; }
  .feature .art { max-width: 540px; padding: 14px; border-radius: 36px; }
  .feature .art img { border-radius: 24px; }
}

/* LINE の招待（吹き出し） */
.chat { max-width: 340px; margin: 0 auto; display: grid; gap: 14px; padding: 8px 4px; }
.bubble { background: var(--mint-faint); border: 2px solid var(--mint-soft); border-radius: 24px 24px 24px 8px; padding: 14px 18px; font-size: 15px; line-height: 1.75; }
.bubble.me { background: var(--mint); border-color: var(--mint); color: #fff; border-radius: 24px 24px 8px 24px; justify-self: end; max-width: 80%; }
.bubble .url { color: var(--mint-deep); word-break: break-all; }
.chat-meta { font-size: 12px; color: var(--text-sub); text-align: center; }

/* 締め */
.closing { padding: clamp(40px, 9vw, 100px) 0; }
.closing-card {
  border-radius: var(--r-xl); overflow: hidden; background: #FBF2E6;
  display: grid; align-items: center;
}
.closing-card .txt { padding: clamp(32px, 6vw, 56px); }
.closing-card .txt p { margin: 12px 0 0; color: var(--text-sub); }
.closing-card img { width: 100%; height: auto; }
.closing-card .pic { overflow: hidden; max-height: 170px; }
.closing-card .pic img { width: 190%; max-width: none; margin-left: -88%; }
@media (min-width: 860px) {
  .closing-card { grid-template-columns: 1fr 1.1fr; }
  .closing-card .pic img { width: 200%; margin-left: -96%; }
  .closing-card .pic { max-height: none; }
}

/* フッター */
.site-foot { background: var(--bg-deep); padding: 48px 0 40px; font-size: 14px; color: var(--text-sub); }
.foot-grid { display: grid; gap: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--mint-deep); text-decoration: underline; }
.foot-op { line-height: 1.8; }
.foot-op strong { color: var(--text); font-weight: 700; }
.copy { margin-top: 24px; font-size: 12px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }

/* 文書ページ（規約・プライバシー・広告・サポート） */
.doc { padding: clamp(16px, 4vw, 40px) 0 clamp(64px, 9vw, 112px); }
.doc .wrap { max-width: 800px; }
.doc-card { background: var(--card); border-radius: var(--r-xl); padding: clamp(26px, 6vw, 56px); box-shadow: var(--shadow); }
.doc h1 { margin: 0 0 8px; font-size: clamp(26px, 6vw, 36px); font-weight: 900; line-height: 1.4; }
.doc .meta { margin: 0 0 28px; font-size: 14px; color: var(--text-sub); }
.doc h2 { margin: 40px 0 10px; font-size: 19px; font-weight: 900; line-height: 1.55; padding-left: 14px; border-left: 5px solid var(--mint); }
.doc h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 700; }
.doc p, .doc li { font-size: 15.5px; overflow-wrap: anywhere; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc .box { background: var(--mint-faint); border-radius: 20px; padding: 16px 20px; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { width: 34%; font-weight: 700; }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; text-decoration: none; }

/* よくある質問 */
.faq { margin: 8px 0 0; }
.faq details { border-radius: 22px; background: var(--bg); margin: 12px 0; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 22px; color: var(--mint-deep); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; }
.mail-btn {
  display: inline-block; margin-top: 8px; padding: 14px 26px; border-radius: 999px;
  background: var(--mint-deep); color: #fff; font-weight: 700; text-decoration: none;
}
.mail-btn:hover { background: var(--text); color: #fff; }

.feature .art .chat { padding: 18px 12px 6px; gap: 12px; }
.chat p { margin: 0; }

/* 狭い画面ではヒーローの吹き出しメモを出さない */
@media (max-width: 520px) {
  .note-chip { display: none; }
}
