/* トップページ（紹介ページ）だけが読む。規約などの紙は style.css のまま */

:root {
  --paper: #f7f2e8;
  --paper2: #fbf8f0;
  --card: #fffcf3;
  --ink: #2e2a26;
  --ink2: #5c534a;
  --ink3: #8b8177;
  --teal: #4e9e92;
  --amber: #e8b978;
  --coral: #e2674a;
  --coral-dark: #c9533a;
  --hair: rgba(46, 42, 38, 0.1);
  --joy: #e2a93b;
  --shy: #e07a96;
  --sur: #5aa874;
  --sad: #5b8fc9;
  --ang: #d9573f;
  --tir: #8b80b8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } .pc { display: none; } }

.inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.inner.narrow { max-width: 760px; }

.eyebrow {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral); text-align: center;
}
.h2 {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  line-height: 1.5; text-align: center;
}
.sec-lede { margin: 18px auto 0; max-width: 640px; text-align: center; color: var(--ink2); font-size: 15px; }

/* ─── ナビ ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-in { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: 0.06em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 6px rgba(46, 42, 38, 0.12); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700;
}
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ─── ヒーロー ─── */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, #fde3cf 0, transparent 42%),
    radial-gradient(circle at 10% 90%, #e2f0e8 0, transparent 40%),
    var(--paper2);
  overflow: hidden;
}
.hero-in {
  max-width: 1080px; margin: 0 auto; padding: 64px 20px 80px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hair);
  font-size: 13px; font-weight: 700; color: var(--ink2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.38; letter-spacing: 0.01em;
}
.hero h1 em {
  font-style: normal; color: var(--coral);
  background: linear-gradient(transparent 68%, #fbd7a6 68%);
}
.hero-lede { margin-top: 22px; color: var(--ink2); font-size: 16px; line-height: 2; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges.center { justify-content: center; }
.badge { display: block; transition: transform 0.15s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 56px; width: auto; }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--ink3); }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.b1 { width: 380px; height: 380px; background: #fbe4c9; top: 40px; left: 50%; transform: translateX(-50%); }
.b2 { width: 160px; height: 160px; background: #dcefe5; bottom: 30px; right: 4%; }

.phone {
  position: relative; z-index: 2;
  width: 270px; padding: 9px;
  background: #1f1c1a; border-radius: 44px;
  box-shadow: 0 30px 60px rgba(46, 42, 38, 0.22), 0 8px 18px rgba(46, 42, 38, 0.12);
}
.phone img { border-radius: 36px; width: 100%; }
.phone.sm { width: 250px; }

.float { position: absolute; z-index: 3; width: 92px; filter: drop-shadow(0 8px 10px rgba(46, 42, 38, 0.14)); animation: bob 5s ease-in-out infinite; }
.f1 { top: 18px; left: 2%; width: 110px; }
.f2 { top: 120px; right: 0; animation-delay: -1.2s; }
.f3 { top: 300px; left: -2%; animation-delay: -2.4s; width: 84px; }
.f4 { bottom: 40px; right: 6%; animation-delay: -3.1s; width: 100px; }
.f5 { bottom: 10px; left: 10%; animation-delay: -0.6s; width: 78px; }
.f6 { top: 0; right: 22%; animation-delay: -4s; width: 64px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 40px 16px 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .badges { justify-content: center; }
  .hero-visual { min-height: 0; padding: 10px 0 0; }
  .phone { width: 230px; }
  .b1 { width: 300px; height: 300px; }
  .float { width: 68px; }
  .f1 { left: 4%; width: 80px; } .f3 { left: 2%; } .f4 { right: 4%; width: 74px; } .f5 { left: 8%; width: 60px; } .f6 { right: 8%; width: 52px; }
}

/* ─── 6つのきもち ─── */
.feelings { padding: 96px 0 88px; background: #fff; }
.feel-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.feel-row li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feel-row img { width: 100px; height: 100px; object-fit: contain; transition: transform 0.2s ease; }
.feel-row li:hover img { transform: translateY(-6px) rotate(-4deg); }
.feel-row span { font-weight: 700; font-size: 15px; }
.c-joy { color: var(--joy); } .c-shy { color: var(--shy); } .c-sur { color: var(--sur); }
.c-sad { color: var(--sad); } .c-ang { color: var(--ang); } .c-tir { color: var(--tir); }
@media (max-width: 640px) {
  .feel-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .feel-row img { width: 84px; height: 84px; }
}

/* ─── つかいかた ─── */
.how { padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.steps li {
  position: relative; padding: 28px 24px 30px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 28px;
  text-align: center;
}
.steps .no {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  padding: 3px 14px; border-radius: 999px; background: var(--coral); color: #fff;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em;
}
.steps .shot {
  height: 300px; overflow: hidden; margin: 6px auto 20px; width: 190px;
  border-radius: 24px 24px 0 0; border: 6px solid #1f1c1a; border-bottom: 0;
}
.steps .shot img { width: 100%; }
.steps h3 { font-size: 18px; font-weight: 800; }
.steps p { margin-top: 8px; font-size: 14px; color: var(--ink2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; gap: 40px; } }

/* ─── できること ─── */
.features { padding: 96px 0 40px; background: #fff; }
.feat {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px;
  max-width: 900px; margin: 72px auto 0;
}
.feat.rev .feat-shot { order: 2; }
.feat-shot { position: relative; isolation: isolate; display: flex; justify-content: center; padding: 24px 0; }
.feat-shot::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(380px, 86vw); aspect-ratio: 1; border-radius: 50%; background: #fbe9d4; z-index: -1;
}
.feat.rev .feat-shot::before { background: #e1efe8; }
.feat-copy { position: relative; z-index: 1; }
.feat-no {
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 48px; line-height: 1;
  color: var(--amber);
}
.feat h3 { margin-top: 14px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; line-height: 1.45; }
.feat p { margin-top: 18px; color: var(--ink2); font-size: 15.5px; line-height: 2.05; }
@media (max-width: 760px) {
  .feat { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; text-align: center; }
  .feat.rev .feat-shot { order: 0; }
  .phone.sm { width: 220px; }
}

/* ─── こんなときに ─── */
.scenes { padding: 96px 0; background: linear-gradient(180deg, #fff 0, var(--paper) 100%); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.scene-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 28px 16px; background: #fff; border-radius: 24px; border: 1px solid var(--hair);
}
.scene-grid img { width: 72px; height: 72px; }
.scene-grid p { font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; font-weight: 500; line-height: 1.85; }
@media (max-width: 860px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .scene-grid { grid-template-columns: 1fr; } .scene-grid li { flex-direction: row; text-align: left; } }

/* ─── キャラクター ─── */
.chars { padding: 96px 0; }
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.char-grid li {
  padding: 28px 16px 26px; text-align: center;
  background: var(--card); border: 1px solid var(--hair); border-radius: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.char-grid li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46, 42, 38, 0.08); }
.char-grid img { width: 110px; height: 110px; margin: 0 auto; object-fit: contain; }
.char-grid h3 { margin-top: 14px; font-size: 17px; font-weight: 800; }
.char-grid p { margin-top: 4px; word-break: keep-all; overflow-wrap: anywhere; font-size: 13.5px; color: var(--ink3); }
@media (max-width: 640px) {
  .char-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .char-grid img { width: 84px; height: 84px; }
  .char-grid h3 { font-size: 15px; }
  .char-grid p { font-size: 12px; }
}

/* ─── 安心 ─── */
.safe { padding: 96px 0; background: #fff; }
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.safe-grid li { padding: 28px 26px; border-radius: 24px; background: #f1f7f4; }
.safe-grid h3 { font-size: 17px; font-weight: 800; color: #2f6f66; }
.safe-grid p { margin-top: 10px; font-size: 14px; color: var(--ink2); line-height: 1.95; }
.safe-more { margin-top: 28px; text-align: center; font-size: 14px; font-weight: 700; }
.safe-more a { text-decoration: none; }
@media (max-width: 760px) { .safe-grid { grid-template-columns: 1fr; } }

/* ─── よくある質問 ─── */
.faq { padding: 96px 0; }
.faq .h2 { margin-bottom: 36px; }
.faq details {
  margin-top: 12px; background: #fff; border-radius: 18px; border: 1px solid var(--hair);
}
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 56px 20px 24px; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; margin-right: 12px; font-family: 'Quicksand', sans-serif; font-weight: 700; color: var(--coral); }
.faq summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: 'Quicksand', sans-serif; font-size: 24px; color: var(--ink3); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px 50px; font-size: 14.5px; color: var(--ink2); line-height: 2; }

/* ─── さいごの誘い ─── */
.cta { padding: 40px 16px 110px; }
.cta-card {
  max-width: 900px; margin: 0 auto; padding: 56px 24px 60px; text-align: center;
  border-radius: 40px;
  background:
    radial-gradient(circle at 15% 20%, #fde3cf 0, transparent 40%),
    radial-gradient(circle at 90% 80%, #dcefe5 0, transparent 40%),
    #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 20px 50px rgba(46, 42, 38, 0.07);
}
.cta-faces { display: flex; justify-content: center; gap: 4px; }
.cta-faces img { width: 84px; height: 84px; }
.cta-faces img:nth-child(2) { width: 100px; height: 100px; margin-top: -14px; }
.cta h2 { margin-top: 18px; font-size: clamp(22px, 3.6vw, 32px); font-weight: 800; line-height: 1.6; }
.cta .badges { margin-top: 30px; }

/* ─── フッター ─── */
.foot { background: #2e2a26; color: #d9d1c4; padding: 56px 20px 40px; }
.foot-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 10px; font-size: 13.5px; }
.sns { display: flex; gap: 16px; margin-top: 14px; }
.sns a, .foot-links a, .foot-lang a { color: #d9d1c4; text-decoration: none; font-size: 13.5px; }
.sns a:hover, .foot-links a:hover, .foot-lang a:hover { color: #fff; }
.foot-links, .foot-lang { display: flex; flex-direction: column; gap: 8px; }
.foot-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; align-content: start; }
.foot-lang a[aria-current] { color: #fff; font-weight: 700; }
.foot-co { max-width: 1080px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 11.5px; line-height: 1.9; color: #a49a8d; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* ─── 言語ごと ─── */
body.lang-ko { font-family: 'M PLUS Rounded 1c', 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; word-break: keep-all; }
body.lang-zh-hant { font-family: 'Quicksand', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', sans-serif; }
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) h1,
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) .h2,
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) h3 { overflow-wrap: break-word; letter-spacing: 0; }
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) .hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.22; }
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) .hero-lede,
body:not(.lang-ja):not(.lang-ko):not(.lang-zh-hant) .sec-lede { line-height: 1.75; }
@media (max-width: 480px) { body:not(.lang-ja) .scene-grid br { display: none; } }
