/* トップページ（LP）。デザインはキャンバスの「C案 LP」。CSP でインラインのスタイルを止めているので、見た目はすべてここに書く */
:root {
  --ink: #141414;
  --text: #3a3a3a;
  --sub: #6b6b6b;
  --soft: #f2f2ef;
  --divider: #e2e2de;
  --lemon: #ffda55;
  --sticker: #ffe14d;
  --coral: #ff9e7a;
  --sky: #86c8ff;
  --mint: #6ee0b0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(860px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { font-weight: 900; }
.h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.3; text-align: center; }
.lead { margin: 14px 0 0; font-weight: 700; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.8; text-align: center; color: var(--text); }
.section { padding: clamp(64px, 9vw, 110px) 0 clamp(72px, 10vw, 120px); }
.soft { background: var(--soft); }

/* ストアのバッジ（公式の画像。Google Play の画像は周りに余白を含む） */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.stores a { display: block; line-height: 0; }
.stores .apple img { height: 48px; width: auto; }
.stores .google img { height: 71px; width: auto; }
.stores-center { justify-content: center; }

/* ステッカー・写真・端末 */
.sticker {
  display: inline-block;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 2px 16px;
  font-weight: 900;
  white-space: nowrap;
}
.sticker-yellow { background: var(--sticker); }
.photo { border: 4px solid var(--ink); border-radius: 26px; background: center / cover no-repeat; box-shadow: 8px 8px 0 var(--ink); }
.phone { border: 6px solid var(--ink); border-radius: 40px; background: #fff center / cover no-repeat; box-shadow: 10px 10px 0 var(--ink); }
.img-apple { background-image: url(/img/apple.jpg); }
.img-umbrella { background-image: url(/img/red-umbrella.jpg); }
.img-tomato { background-image: url(/img/tomato.jpg); }
.img-ketchup { background-image: url(/img/ketchup.jpg); }
.img-fries { background-image: url(/img/french-fries.jpg); }
.img-screen-relay { background-image: url(/img/screen-relay.jpg); }
.img-screen-home { background-image: url(/img/screen-home.jpg); }
.img-screen-chain { background-image: url(/img/screen-chain.jpg); }

/* ヒーロー */
.hero { background: var(--lemon); border-bottom: 4px solid var(--ink); overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 3px solid var(--ink); }
.nav-links { display: none; gap: 26px; font-weight: 700; font-size: 15px; }
.nav-links a { text-decoration: none; }
.hero-grid { display: grid; gap: 28px; padding: 10px 0 0; }
.pill { display: inline-block; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 4px 16px; font-weight: 900; font-size: 14px; }
.hero h1 { margin: 18px 0 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.2; }
.hero-text { margin: 18px 0 0; font-weight: 700; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.8; }
.hero .stores { margin-top: 26px; }
.hero-note { margin: 6px 0 0; font-weight: 700; font-size: 13px; }
.hero-art { position: relative; height: 470px; }
.hero-art .photo-1 { position: absolute; left: 0; top: 30px; width: 140px; height: 140px; transform: rotate(-7deg); border-width: 3px; border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.hero-art .sticker-1 { position: absolute; left: 22px; top: 150px; font-size: 20px; transform: rotate(-4deg); }
.hero-art .photo-2 { position: absolute; left: 6px; top: 230px; width: 128px; height: 128px; transform: rotate(5deg); border-width: 3px; border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.hero-art .sticker-2 { position: absolute; left: 28px; top: 342px; font-size: 19px; transform: rotate(3deg); }
.hero-art .phone { position: absolute; left: 160px; top: 0; width: 210px; height: 454px; border-width: 5px; border-radius: 34px; box-shadow: 7px 7px 0 var(--ink); transform: rotate(3deg); }
.hero-art .arrow { display: none; }

/* 遊び方 */
.steps { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.step { background: #fff; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 24px 22px 26px; }
.num { width: 50px; height: 50px; border-radius: 999px; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; margin-bottom: 16px; }
.num-1 { background: var(--sticker); }
.num-2 { background: var(--coral); }
.num-3 { background: var(--sky); }
.num-4 { background: var(--mint); }
.step h3, .feat h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.step p, .feat p { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.8; color: var(--text); }

/* つながりの例 */
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 34px 8px; margin-top: 40px; }
.link { position: relative; width: 96px; height: 96px; border: 3px solid var(--ink); border-radius: 18px; background-position: center; background-size: cover; background-repeat: no-repeat; flex: none; }
.link .sticker { position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%) rotate(-3deg); font-size: 14px; padding: 1px 10px; border-width: 2.5px; border-radius: 11px; box-shadow: 3px 3px 0 var(--ink); }
.chain-arrow { flex: none; margin-top: 38px; width: 22px; height: 18px; }

/* できること */
.features { display: grid; gap: 40px; margin-top: 36px; align-items: center; }
.feature-phones { display: flex; justify-content: center; gap: 14px; }
.feature-phones .phone { width: 160px; height: 346px; border-width: 4px; border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); }
.feature-phones .phone-a { transform: rotate(-3deg); }
.feature-phones .phone-b { transform: rotate(3deg); margin-top: 30px; }
.feat-grid { display: grid; gap: 14px; }
.feat { border-radius: 28px; padding: 24px 22px; }
.feat-1 { background: var(--sticker); }
.feat-2 { background: #ffd5c4; }
.feat-3 { background: #d6ebff; }
.feat-4 { background: #cdf5e3; }
.feat-5 { background: #e6dfff; }
.feat-6 { background: var(--soft); }
.icon { width: 52px; height: 52px; border-radius: 15px; background: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* 安心 */
.safety { background: var(--ink); color: #fff; }
.safety .h2 { color: #fff; }
.safety .lead { color: #d9d9d4; }
.safety-grid { display: grid; gap: 28px; align-items: center; }
.checks { background: #fff; color: var(--ink); border-radius: 26px; padding: 4px 22px; list-style: none; margin: 0; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 2px solid var(--divider); }
.check:last-child { border-bottom: 0; }
.check .sticker { font-size: 15px; padding: 1px 9px; background: var(--mint); }
.check h3 { margin: 0 0 4px; font-size: 18px; }
.check p { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.7; color: var(--text); }

/* よくある質問 */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.q { background: var(--soft); border-radius: 22px; padding: 20px 24px; }
.q h3 { margin: 0 0 6px; font-size: 17px; }
.q p { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.8; color: var(--text); }

/* 最後の呼びかけ */
.cta { background: var(--lemon); border-top: 4px solid var(--ink); text-align: center; padding: clamp(60px, 8vw, 90px) 0 clamp(64px, 9vw, 100px); }
.cta-icon { width: 88px; height: 88px; border-radius: 22px; border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.cta .h2 { margin-top: 24px; }
.cta .lead { color: var(--ink); }
.cta .stores { margin-top: 28px; }

/* フッター */
.foot { padding: 32px 0 44px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 700; font-size: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover, .nav-links a:hover { text-decoration: underline; }
.copy { margin-top: 18px; font-weight: 500; font-size: 13px; color: var(--sub); }

/* PC */
@media (min-width: 960px) {
  .nav { padding: 28px 0; }
  .nav-links { display: flex; }
  .brand { font-size: 24px; }
  .brand img { width: 48px; height: 48px; border-radius: 12px; }
  .hero-grid { grid-template-columns: 560px 1fr; gap: 40px; padding: 40px 0 0; min-height: 680px; }
  .hero-copy { padding-top: 30px; }
  .pill { font-size: 15px; padding: 6px 18px; }
  .hero h1 { margin-top: 22px; }
  .hero-note { font-size: 14px; }
  .hero-art { height: auto; }
  .hero-art .photo-1 { left: 40px; top: 0; width: 220px; height: 220px; border-width: 4px; border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); }
  .hero-art .sticker-1 { left: 86px; top: 196px; font-size: 30px; }
  .hero-art .photo-2 { left: 50px; top: 320px; width: 200px; height: 200px; border-width: 4px; border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); }
  .hero-art .sticker-2 { left: 96px; top: 496px; font-size: 28px; }
  .hero-art .phone { left: 300px; top: 0; width: 300px; height: 649px; border-width: 6px; border-radius: 44px; box-shadow: 10px 10px 0 var(--ink); }
  .hero-art .arrow { display: block; position: absolute; left: 252px; top: 210px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
  .step { padding: 28px 26px 30px; }
  .step h3, .feat h3 { font-size: 22px; }
  .chain { gap: 14px; margin-top: 60px; flex-wrap: nowrap; }
  .link { width: 168px; height: 168px; border-width: 4px; border-radius: 24px; }
  .link .sticker { font-size: 20px; bottom: -20px; padding: 2px 14px; border-width: 3px; border-radius: 12px; }
  .chain-arrow { margin-top: 70px; width: 30px; height: 24px; }
  .features { grid-template-columns: auto 1fr; gap: 60px; margin-top: 64px; }
  .feature-phones { gap: 26px; }
  .feature-phones .phone { width: 250px; height: 541px; border-width: 6px; border-radius: 40px; box-shadow: 10px 10px 0 var(--ink); }
  .feature-phones .phone-b { margin-top: 60px; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feat { padding: 30px 28px; }
  .safety-grid { grid-template-columns: 420px 1fr; gap: 80px; }
  .safety .h2, .safety .lead { text-align: left; }
  .checks { padding: 10px 34px; }
  .check h3 { font-size: 19px; }
  .q { padding: 24px 28px; }
  .q h3 { font-size: 18px; }
  .cta-icon { width: 96px; height: 96px; border-radius: 24px; }
  .foot .wrap { display: flex; justify-content: space-between; align-items: center; }
  .copy { margin-top: 0; }
  .stores .apple img { height: 52px; }
  .stores .google img { height: 77px; }
}
/* PC ではメニューの「マジカルリレー」を左、フッターのリンクを中央に */
.foot-brand { display: none; }
@media (min-width: 960px) { .foot-brand { display: flex; } }
.legal { margin: 0; padding: 0 20px 32px; text-align: center; font-size: 11px; line-height: 1.6; }
/* 改行の位置をスマホと PC で変える（日本語の見出しが変なところで折れないように） */
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 960px) { .sp { display: none; } .pc { display: inline; } }
