/* ひまじん — 公式サイト共通スタイル
   ブランド: やわらかい丸ゴシック × ティール × チャットバブル */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

:root {
  --teal: #2BA8A8;
  --teal-bright: #5BC9C9;
  --teal-deep: #1C7E7E;
  --teal-soft: #E6F6F6;
  --teal-mist: #F2FBFB;
  --cream: #FFFCF4;
  --ink: #273A3A;
  --ink-soft: #5A6E6E;
  --ink-faint: #93A6A6;
  --yellow: #F6C445;
  --pink: #FF7BA8;
  --purple: #B98BFF;
  --orange: #FF9A52;
  --white: #ffffff;
  --line: #E9EFEF;
  --r: 18px;
  --r-lg: 30px;
  --shadow-sm: 0 4px 14px rgba(43,168,168,.10);
  --shadow: 0 14px 40px rgba(43,168,168,.16);
  --shadow-lg: 0 30px 70px rgba(28,126,126,.22);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'M PLUS Rounded 1c', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Zen Maru Gothic', sans-serif; line-height: 1.35; letter-spacing: .01em; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.tealtext { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255,252,244,.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Zen Maru Gothic'; font-weight: 900; font-size: 21px; color: var(--teal-deep); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-bright), var(--teal));
  display: grid; place-items: center; font-size: 19px;
  box-shadow: 0 6px 14px rgba(43,168,168,.35);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-weight: 500; color: var(--ink-soft); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Zen Maru Gothic'; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: linear-gradient(140deg, var(--teal-bright), var(--teal)); color: #fff; box-shadow: 0 10px 24px rgba(43,168,168,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(43,168,168,.5); }
.btn-ghost { background: #fff; color: var(--teal-deep); border: 2px solid var(--teal-soft); }
.btn-ghost:hover { border-color: var(--teal-bright); transform: translateY(-2px); }
.nav .btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--teal-soft);
  color: var(--teal-deep); font-weight: 700; font-size: 13px;
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; color: var(--ink); margin: 20px 0 18px; letter-spacing: .02em; }
.hero h1 .hl { color: var(--teal); position: relative; }
.hero h1 .hl::after { content:""; position:absolute; left:-2%; right:-2%; bottom:6px; height:14px; background: var(--yellow); opacity:.4; border-radius: 8px; z-index:-1; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 30em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 14px;
  box-shadow: var(--shadow); transition: transform .15s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .ico { font-size: 26px; }
.store-badge small { display: block; font-size: 10px; opacity: .8; line-height: 1.2; }
.store-badge b { font-family: 'Zen Maru Gothic'; font-size: 18px; font-weight: 700; }
.hero-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; }

/* floating phone + bubbles */
.hero-art { position: relative; height: 480px; }
.phone {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-4deg);
  width: 268px; height: 552px; border-radius: 42px; background: #fff;
  box-shadow: var(--shadow-lg); border: 9px solid #1e2e2e; overflow: hidden;
}
.phone-screen { position:absolute; inset:0; background: linear-gradient(180deg, var(--teal-mist), #fff); padding: 26px 18px; }
.phone .hand { font-size: 52px; text-align:center; margin-top: 26px; }
.phone .ptitle { font-family:'Zen Maru Gothic'; font-weight:900; font-size:30px; color: var(--teal-deep); text-align:center; margin-top: 6px; }
.phone .psub { text-align:center; color: var(--ink-faint); font-size:13px; margin-top:2px; }
.pbubbles { margin-top: 26px; display:flex; flex-direction:column; gap: 12px; }
.pb { max-width: 78%; padding: 11px 15px; border-radius: 18px; font-size: 13.5px; box-shadow: var(--shadow-sm); animation: pop .5s both; }
.pb.l { align-self:flex-start; background:#fff; border-bottom-left-radius:5px; }
.pb.r { align-self:flex-end; background: var(--teal-bright); color:#fff; border-bottom-right-radius:5px; }
.float-chip {
  position:absolute; background:#fff; border-radius: 16px; padding: 10px 14px;
  font-weight:700; font-size:14px; box-shadow: var(--shadow); display:flex; gap:8px; align-items:center;
  animation: bob 4s ease-in-out infinite;
}
.float-chip .e { font-size: 19px; }
.fc1 { top: 26px; right: 6px; color: var(--pink); animation-delay:.1s; }
.fc2 { bottom: 70px; left: -8px; color: var(--orange); animation-delay:.8s; }
.fc3 { bottom: 8px; right: 30px; color: var(--purple); animation-delay:1.4s; }

/* blobs */
.blob { position:absolute; border-radius:50%; filter: blur(46px); opacity:.5; z-index:-1; }
.blob.b1 { width: 360px; height:360px; background: var(--teal-soft); top:-80px; right:-60px; }
.blob.b2 { width: 300px; height:300px; background: #FFF0D6; bottom:-60px; left:-80px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 78px 0; }
.section-head { text-align:center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--teal); font-weight:700; font-size:14px; letter-spacing:.12em; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight:900; margin: 10px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* safety banner */
.safety-band { background: linear-gradient(135deg, #FFF6E4, #FFEFF5); padding: 22px 0; border-top:1px solid #FBE6CF; border-bottom:1px solid #FBE6CF; }
.safety-band .wrap { display:flex; gap: 14px; align-items:center; justify-content:center; flex-wrap:wrap; text-align:center; }
.safety-band .tag { background:#fff; color: var(--orange); font-weight:700; border-radius:999px; padding:6px 14px; font-size:13px; box-shadow: var(--shadow-sm); }
.safety-band b { color: var(--ink); }

/* features grid */
.feat-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-sm);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat-ico { width: 56px; height:56px; border-radius: 17px; display:grid; place-items:center; font-size: 28px; margin-bottom: 16px; }
.feat-card h3 { font-size: 19px; font-weight:700; margin-bottom: 7px; }
.feat-card p { color: var(--ink-soft); font-size: 14.5px; }
.i-teal{background:var(--teal-soft)} .i-yellow{background:#FDF1CE} .i-pink{background:#FFE6EF}
.i-purple{background:#F0E7FF} .i-orange{background:#FFEBD9} .i-blue{background:#E4F0FF}

/* safety detail */
.safe-wrap { background: var(--teal-mist); border-radius: var(--r-lg); padding: 44px; border:1px solid var(--teal-soft); }
.safe-list { display:grid; grid-template-columns: repeat(2,1fr); gap: 16px 30px; }
.safe-item { display:flex; gap:12px; align-items:flex-start; }
.safe-item .ck { flex:0 0 auto; width:26px; height:26px; border-radius:50%; background: var(--teal); color:#fff; display:grid; place-items:center; font-size:14px; font-weight:700; box-shadow: 0 4px 10px rgba(43,168,168,.4); }
.safe-item b { display:block; font-family:'Zen Maru Gothic'; }
.safe-item span { color: var(--ink-soft); font-size: 14px; }

/* steps */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { text-align:center; padding: 10px; }
.step .num { width:50px;height:50px;border-radius:50%; margin:0 auto 14px; display:grid;place-items:center; font-family:'Zen Maru Gothic'; font-weight:900; font-size:22px; color:#fff; background: linear-gradient(140deg,var(--teal-bright),var(--teal)); box-shadow: var(--shadow-sm); }
.step h3 { font-size:18px; margin-bottom:6px; }
.step p { color: var(--ink-soft); font-size:14px; }

/* CTA */
.cta { text-align:center; background: linear-gradient(150deg, var(--teal), var(--teal-deep)); color:#fff; border-radius: 38px; padding: 56px 30px; box-shadow: var(--shadow-lg); position:relative; overflow:hidden; }
.cta::before{content:"";position:absolute;inset:0;background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0, transparent 40%);}
.cta h2 { font-size: clamp(26px,4vw,40px); font-weight:900; position:relative; }
.cta p { opacity:.92; margin: 12px 0 26px; position:relative; }
.cta .store-badge { background:#fff; color: var(--ink); position:relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfe0e0; padding: 56px 0 30px; margin-top: 80px; }
.foot-grid { display:flex; justify-content:space-between; gap: 40px; flex-wrap:wrap; }
.foot-brand .brand { color:#fff; }
.foot-brand p { color:#90a8a8; font-size:14px; margin-top:12px; max-width: 30em; }
.foot-links { display:flex; gap: 64px; flex-wrap:wrap; }
.foot-col h4 { font-family:'Zen Maru Gothic'; font-size:14px; color:#7f9a9a; margin-bottom:14px; letter-spacing:.06em; }
.foot-col a { display:block; color:#cfe0e0; font-size:14.5px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--teal-bright); }
.foot-bottom { border-top:1px solid #2f4545; margin-top: 36px; padding-top: 20px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; color:#7f9a9a; font-size:13px; }

/* ---------- Document pages (terms/privacy/support) ---------- */
.doc-hero { background: linear-gradient(160deg, var(--teal-mist), var(--cream)); padding: 56px 0 40px; border-bottom:1px solid var(--line); }
.doc-hero .crumb { color: var(--ink-faint); font-size:13px; margin-bottom:10px; }
.doc-hero h1 { font-size: clamp(28px,4vw,42px); font-weight:900; color: var(--ink); }
.doc-hero .upd { color: var(--ink-soft); font-size:14px; margin-top:10px; }
.doc-body { padding: 50px 0 30px; }
.doc { max-width: 820px; margin: 0 auto; }
.doc h2 { font-size: 22px; font-weight:700; color: var(--teal-deep); margin: 38px 0 14px; padding-top: 8px; }
.doc h3 { font-size: 17px; font-weight:700; margin: 22px 0 8px; }
.doc p { margin: 0 0 14px; color: #3a4d4d; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 1.4em; }
.doc li { margin-bottom: 8px; color:#3a4d4d; }
.doc strong { color: var(--ink); font-weight:700; }
.doc .lead { font-size: 16.5px; color: var(--ink-soft); background:#fff; border:1px solid var(--line); border-left: 5px solid var(--teal-bright); padding: 18px 22px; border-radius: 14px; }
.doc table { width:100%; border-collapse: collapse; margin: 8px 0 18px; font-size:14.5px; }
.doc th, .doc td { border:1px solid var(--line); padding: 10px 12px; text-align:left; }
.doc th { background: var(--teal-mist); font-family:'Zen Maru Gothic'; }
.note-box { background:#FFF8E8; border:1px solid #F3E2B8; border-radius:14px; padding:16px 20px; font-size:14px; color:#7a6320; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); margin-top: 10px; }
.contact-card .row { display:flex; gap:10px; padding:8px 0; border-bottom:1px dashed var(--line); }
.contact-card .row:last-child{border:none;}
.contact-card .k { width:120px; color: var(--ink-faint); font-weight:700; font-size:14px; flex:0 0 auto; }
.toc { background:#fff; border:1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.toc h4 { font-family:'Zen Maru Gothic'; color: var(--teal-deep); margin-bottom:10px; }
.toc ol { columns: 2; column-gap: 30px; padding-left: 1.2em; }
.toc a { color: var(--ink-soft); font-size: 14px; }
.toc a:hover { color: var(--teal); }

/* FAQ */
.faq details { background:#fff; border:1px solid var(--line); border-radius: 16px; margin-bottom:12px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { font-family:'Zen Maru Gothic'; font-weight:700; padding: 16px 0; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after { content:"＋"; color: var(--teal); font-weight:700; }
.faq details[open] summary::after { content:"−"; }
.faq details[open] summary { border-bottom:1px solid var(--line); }
.faq .ans { padding: 14px 0 18px; color:#3a4d4d; font-size:15px; }

/* animations */
@keyframes pop { from { opacity:0; transform: translateY(8px) scale(.96);} to {opacity:1; transform:none;} }
@keyframes bob { 0%,100%{transform: translateY(0)} 50%{transform: translateY(-10px)} }
@keyframes rise { from { opacity:0; transform: translateY(22px);} to {opacity:1; transform:none;} }
.reveal { opacity:0; animation: rise .7s ease forwards; }
.d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.25s}.d4{animation-delay:.35s}.d5{animation-delay:.45s}.d6{animation-delay:.55s}
.pb:nth-child(1){animation-delay:.5s}.pb:nth-child(2){animation-delay:.75s}.pb:nth-child(3){animation-delay:1s}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 420px; order:-1; }
  .nav-links { display:none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .safe-list, .steps { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 56px 0; }
  .safe-wrap, .cta { padding: 30px 20px; }
}
