/* AruaruPup LP 共通スタイル（docs/design/lp_design_v1.dc.html が元）。
   法務ページ・注文ページからも読み込める。色は変数で持つ。 */
:root {
  --ink: #5A4A42;
  --bg: #FFFBF7;
  --link: #4F7A96;
  --link-hover: #2F566F;
  --accent: #FFC9D4;
  --accent-yellow: #FFE27A;
  --accent-blue: #BFE1F2;
  --pink: #F7C6D0;
  --pink-deep: #F2A7B6;
  --rose: #C2566C;
  --white: #FFFFFF;
  --sky-bg: #EEF7FB;
  --blush-bg: #FFF0F3;
  --monitor-bg: #FFF1B8;
  --dash: #D8C9BE;
  --dash-blue: #B9CBD6;
  --shadow: rgba(90, 74, 66, 0.15);
  --font-body: 'Zen Maru Gothic', sans-serif;
  --font-head: 'Yusei Magic', sans-serif;
  --font-hand: 'Yomogi', cursive;
  /* 手描き風の角丸 */
  --r-a: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --r-b: 15px 225px 15px 255px / 255px 15px 225px 15px;
  --r-c: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --r-d: 8px 18px 10px 20px;
  --r-e: 6px 22px 8px 26px;
  /* 携帯 */
  --phone-body: #1C1C1E;
  --phone-edge: #3A3A3C;
  --phone-key: #2C2C2E;
  --chat-bg: #B9D3E8;
  --chat-bar: #A9C7E0;
  --chat-ink: #2E3B45;
  --chat-input: #F1F1F3;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.85;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
summary::-webkit-details-marker { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1080px; margin: 0 auto; }
.nw { white-space: nowrap; }

/* ヘッダー */
.site-header { max-width: 1080px; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-name { font-family: var(--font-head); font-size: 25px; text-decoration: none; color: inherit; }
.brand-by { font-family: var(--font-hand); font-size: 14px; }

/* ヒーロー */
.hero { max-width: 1080px; margin: 0 auto; padding: 16px 20px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(28px, 7.6vw, 62px); line-height: 1.3; font-weight: 400; }
.hero .squiggle { margin-top: -8px; max-width: 100%; }
.hero-lead { font-size: 18px; }
.hero-price { font-size: 17px; }
.hero-price b { font-size: 26px; }
.hero-note { font-size: 14px; }
.hero-visual { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }

/* ボタン */
.btn {
  font-family: inherit; font-weight: 700; text-decoration: none; color: var(--ink);
  background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r-c);
  padding: 10px 22px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; text-align: center; line-height: 1.5;
}
.btn:hover { color: var(--ink); }
.btn-main { align-self: flex-start; font-size: 19px; background: var(--accent); border-width: 3px; padding: 14px 36px; min-height: 58px; box-shadow: 4px 5px 0 var(--ink); }
.btn-accent { background: var(--accent); }
.tab .soon, .kind-label .soon, .design figcaption .soon { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 500; background: var(--accent-yellow); color: var(--ink); border-radius: 999px; padding: 0 8px; vertical-align: middle; }
.soon-btn { display: inline-block; text-align: center; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* 携帯の見た目 */
.phone { position: relative; width: 290px; max-width: 100%; background: var(--phone-body); border-radius: 52px; padding: 10px; box-shadow: 0 24px 50px rgba(60, 40, 30, 0.25), inset 0 0 0 2px var(--phone-edge); }
.phone-key { position: absolute; width: 3px; background: var(--phone-key); }
.phone-key.l { left: -3px; border-radius: 2px 0 0 2px; }
.phone-key.r { right: -3px; border-radius: 0 2px 2px 0; }
.phone-screen { position: relative; background: var(--chat-bg); border-radius: 43px; overflow: hidden; height: 580px; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 92px; height: 27px; margin-left: -46px; background: #000; border-radius: 20px; }
.chat-bar { padding: 50px 16px 10px; display: flex; align-items: center; gap: 10px; background: var(--chat-bar); }
.chat-bar span { font-size: 14px; font-weight: 700; color: var(--chat-ink); }
.chat-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.chat-row { display: flex; align-items: flex-end; gap: 6px; }
.chat-row.me { justify-content: flex-end; }
.chat-av { width: 26px; height: 26px; border-radius: 50%; background: var(--pink); flex: none; }
.chat-msg { background: #fff; padding: 6px 12px; border-radius: 16px; font-size: 13px; color: var(--chat-ink); }
.chat-row img { width: 150px; height: auto; display: block; }
.chat-input { background: #fff; height: 46px; position: relative; }
.chat-input .field { position: absolute; left: 14px; right: 14px; top: 8px; height: 26px; border-radius: 13px; background: var(--chat-input); }
.chat-input .bar { position: absolute; bottom: 6px; left: 50%; width: 104px; height: 5px; margin-left: -52px; border-radius: 3px; background: var(--phone-body); }

/* セクション共通 */
.sec { padding: 64px 20px; }
.sec.sky { background: var(--sky-bg); }
.sec.blush { background: var(--blush-bg); }
.sec-in { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.sec-in.narrow { max-width: 820px; gap: 20px; }
.sec-in.g24 { gap: 24px; }
.sec-head { display: flex; flex-direction: column; gap: 2px; }
.sec-no { margin: 0 0 -4px -4px; align-self: flex-start; font-family: var(--font-hand); font-size: 26px; color: var(--rose); transform: rotate(-8deg); transform-origin: left bottom; }
.sec h2, .closing h2 { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 42px); font-weight: 400; line-height: 1.45; }
.small { font-size: 14px; }

/* 3つの違い */
.diffs { max-width: 1080px; margin: 0 auto; padding: 0 20px 56px; }
.diffs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.diff { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-a); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.diff-title { font-family: var(--font-head); font-size: 20px; }
.diff-body { font-size: 14px; }

/* スタンプの並び */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* スマホは2列・PC（600px〜）は4列。中間の幅で3列や端数の行を作らない */
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { min-width: 0; background: #fff; padding: 6px; border: 2px solid var(--ink); border-radius: var(--r-a); }
.tiles.alt .tile { border-radius: var(--r-b); }
.tile img { width: 100%; height: auto; display: block; }
.hand-label { margin: 8px 0 0; font-family: var(--font-hand); font-size: 18px; }

/* 似顔絵 */
.likeness { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.polaroid { position: relative; flex: none; }
.tape { position: absolute; top: -10px; left: 50%; width: 80px; height: 20px; margin-left: -40px; }
.tape.blue { background: rgba(191, 225, 242, 0.85); transform: rotate(-4deg); }
.tape.yellow { background: rgba(255, 226, 122, 0.85); transform: rotate(3deg); }
.polaroid-card { background: #fff; padding: 9px 9px 28px; box-shadow: 0 6px 16px var(--shadow); }
.polaroid-card.a { transform: rotate(-2.5deg); }
.polaroid-card.b { transform: rotate(2deg); }
.polaroid img { width: 150px; height: 150px; display: block; }
.polaroid img.cover { object-fit: cover; }
.polaroid img.contain { object-fit: contain; }
.polaroid figcaption { font-family: var(--font-hand); font-size: 16px; margin-top: 6px; }
.likeness.solo { gap: 36px; }
.likeness.solo .polaroid img { width: 210px; height: 210px; max-width: 100%; }
.likeness.solo .traits { flex: 0 1 280px; font-size: 20px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-a); padding: 18px 22px; gap: 8px; }
.traits { flex: 0 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-hand); font-size: 18px; }
.designs { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; border-top: 1.5px dashed var(--dash); padding-top: 28px; }
.designs-title { font-family: var(--font-head); font-size: 23px; }
.designs-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.design { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.design img { width: 150px; height: 150px; object-fit: contain; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-a); }
.design.b img { border-radius: var(--r-b); }
.design figcaption { font-family: var(--font-hand); font-size: 17px; }

/* できるまで */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 22px; }
.step { display: flex; flex-direction: column; gap: 4px; }
.step-n { font-family: var(--font-head); font-size: 34px; line-height: 1; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2.5px solid var(--ink); border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; }
.step h3 { margin: 6px 0 0; font-family: var(--font-head); font-size: 20px; font-weight: 400; }
.step p { font-size: 15px; }

/* 値段 */
.tabs { display: none; flex-wrap: wrap; gap: 8px; }
.js .tabs { display: flex; }
.tab { font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r-a); padding: 8px 20px; min-height: 46px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); }
.kind-panel { display: flex; flex-direction: column; gap: 24px; }
.js .kind-panel[hidden] { display: none; }
.kind-label { font-family: var(--font-head); font-size: 20px; border-bottom: 1.5px dashed var(--dash); padding-bottom: 4px; }
.js .kind-label { display: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-c); padding: 20px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.plan.rec { border-width: 3.5px; }
.plan-tag { font-family: var(--font-hand); font-size: 16px; min-height: 26px; }
.plan-count { font-family: var(--font-head); font-size: 24px; }
.plan-price { font-size: 28px; font-weight: 700; line-height: 1.3; }
.plan-unit { font-size: 13px; }
.plan .btn { margin-top: 8px; padding: 10px 22px; }
.plan.rec .btn { background: var(--accent); }
.addons-title { font-family: var(--font-head); font-size: 20px; }
.addons { display: flex; flex-direction: column; gap: 10px; }
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.addon { background: #fff; border: 2px dashed var(--ink); border-radius: var(--r-d); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.addon-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.addon-head .soon { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 500; background: var(--accent-yellow); color: var(--ink); border-radius: 999px; padding: 0 8px; vertical-align: middle; }
.addon-body { font-size: 14px; }
.addon-link { align-self: flex-start; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }   /* v8.8：足す物を持ったまま注文の画面へ */
.monitor { background: var(--monitor-bg); padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-radius: var(--r-e); }
.monitor-text { flex: 1 1 380px; min-width: 0; }
.monitor-title { font-family: var(--font-head); font-size: 22px; }
.monitor-body { margin: 4px 0 0; font-size: 14px; }

/* 質問 */
.faq details { border-bottom: 1.5px dashed var(--dash-blue); padding: 14px 0; }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.faq summary .pm::before { content: "＋"; }
.faq details[open] summary .pm::before { content: "－"; }
.faq details p { margin: 8px 0 0; font-size: 15px; }

/* むすび */
.closing { padding: 56px 20px 72px; }
.closing-in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; }
.closing img { width: 190px; height: auto; }
.closing-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* フッター */
.site-footer { padding: 24px 20px 32px; font-size: 13px; border-top: 1.5px dashed var(--dash); }
.footer-in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }

@media (max-width: 480px) {
  .sec { padding: 52px 20px; }
  .hero { gap: 36px; }
  .btn-main { padding: 14px 28px; }
}
