/* 写真クリーナー 公開ページ（紹介・規約・ポリシー・サポート 共通） */
:root {
  --paper: #F4F1EA;
  --paper-2: #EBE5D8;
  --card: #FFFDF8;
  --ink: #17191B;
  --sub: #5D6266;
  --line: #DCD4C4;
  --marker: #F2C94C;
  --marker-ink: #B98A0C;
  --graphite: #1A1C1E;
  --graphite-2: #26292C;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --round: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --w: 1120px;
  --gut: clamp(20px, 5vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .02em; font-feature-settings: "palt" 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--marker-ink); outline-offset: 3px; }

/* ── ヘッダー */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(244, 241, 234, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .06em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-head nav { display: flex; gap: clamp(14px, 3vw, 28px); font-size: 14px; }
.site-head nav a { text-decoration: none; color: var(--sub); }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .site-head nav a:not(:last-child) { display: none; } }

/* ── 共通の部品 */
.kicker { display: inline-block; margin: 0 0 18px; padding: 4px 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.step { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--sub); }
.step span { font-family: var(--round); font-size: 30px; line-height: 1; color: var(--ink); letter-spacing: 0; position: relative; }
.step span::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 9px; background: var(--marker); z-index: -1; border-radius: 2px; }
h1, h2 { font-weight: 900; letter-spacing: .02em; line-height: 1.38; margin: 0; }
.hl { background: linear-gradient(transparent 60%, var(--marker) 60%, var(--marker) 92%, transparent 92%); padding: 0 .06em; }
.note { color: var(--sub); font-size: 13px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; line-height: 1.25; cursor: default; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10.5px; opacity: .75; letter-spacing: .08em; }
.store b { font-size: 15px; letter-spacing: .04em; }

/* iPhone の枠 */
.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 390 / 844; border-radius: 46px; padding: 10px; background: #111214;
  box-shadow: 0 0 0 1.5px #3A3D41 inset, 0 40px 80px -30px rgba(23, 25, 27, .45), 0 18px 36px -18px rgba(23, 25, 27, .35); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--graphite); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 26px; margin-left: -15%; border-radius: 14px; background: #111214; z-index: 1; }
.phone.sm { max-width: 200px; border-radius: 32px; padding: 7px; }
.phone.sm img { border-radius: 26px; }
.phone.sm::before { top: 13px; height: 18px; }

/* ── ヒーロー */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.3; }
.nw { white-space: nowrap; }
.hero .lead { margin: 24px 0 0; font-size: clamp(15px, 1.6vw, 17px); color: #33373A; max-width: 30em; }
.hero .lead + .lead { margin-top: 10px; }
.hero .cta { margin-top: 32px; }
.hero .note { margin-top: 14px; }
.hero-media { position: relative; display: flex; justify-content: center; padding: 0 0 40px; }
.hero-media .phone { max-width: 290px; transform: rotate(2.5deg); }
.contact-sheet { position: absolute; left: max(0px, calc(50% - 300px)); bottom: 0; width: min(330px, 78%); padding: 14px 14px 16px; background: var(--card); border-radius: 6px; transform: rotate(-4deg);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -20px rgba(23, 25, 27, .35); }
.cs-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sub); margin: 0 0 8px; }
.cs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cs-row figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.cs-row img { width: 100%; height: 100%; object-fit: cover; }
.cs-row figure:not(:first-child) img { filter: saturate(.75) brightness(.92); }
.mk { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; }
.mk use { fill: none; stroke: var(--marker); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.tag { position: absolute; right: max(0px, calc(50% - 250px)); top: 8%; margin: 0; padding: 14px 16px; background: var(--marker); transform: rotate(5deg); font-size: 13px; line-height: 1.5; font-weight: 700;
  box-shadow: 0 16px 28px -16px rgba(23, 25, 27, .45); }
.tag b { font-family: var(--round); font-size: 26px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; }
  .hero-media { justify-content: flex-end; padding-right: 30px; }
  .contact-sheet { left: auto; right: 210px; bottom: 6px; }
  .tag { right: -6px; }
}

/* ── 流れる帯 */
.band { background: var(--graphite); color: #E9E4D8; overflow: hidden; border-block: 1px solid #000; }
.band-in { display: flex; gap: 0; width: max-content; padding: 14px 0; font-weight: 700; font-size: 14px; letter-spacing: .2em; animation: band 36s linear infinite; }
.band-in span { display: flex; align-items: center; padding: 0 28px; white-space: nowrap; }
.band-in span::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--marker); border-radius: 50%; margin-right: 28px; }
@keyframes band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-in { animation: none; } }

/* ── 機能の紹介（左右交互） */
.block { padding: clamp(56px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.block .wrap { display: grid; gap: 40px; align-items: center; }
.block .media { display: flex; justify-content: center; }
.block h2, .more h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 22px; }
.block p, .more p { margin: 0 0 14px; color: #33373A; max-width: 32em; }
@media (min-width: 900px) {
  .block .wrap { grid-template-columns: 1fr 1fr; gap: 80px; }
  .block.flip .media { order: 2; }
}
.block.flip { background: var(--paper-2); }
.hand { display: flex; gap: 12px; align-items: center; margin-top: 26px !important; padding: 14px 18px; border: 1.5px dashed #BDB29C; border-radius: 12px; font-size: 14px; line-height: 1.7; }
.hand svg { width: 34px; height: 34px; flex: none; overflow: visible; }
.hand use { fill: none; stroke: var(--marker-ink); stroke-width: 9; stroke-linecap: round; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); color: #33373A; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 14px; border: 2.5px solid var(--marker-ink); border-radius: 50%; }

/* ── 黄色の帯 */
.yellow { background: var(--marker); padding: clamp(64px, 9vw, 112px) 0; }
.yellow h2 { font-size: clamp(34px, 5.4vw, 56px); }
.yellow .sub { margin: 14px 0 40px; font-size: 16px; }
.trio { display: grid; gap: 14px; }
.trio > div { background: rgba(255, 253, 248, .72); border-radius: 16px; padding: 24px 24px 20px; }
.trio b { display: block; font-size: 18px; margin-bottom: 6px; }
.trio p { margin: 0; font-size: 14.5px; color: #3A3524; line-height: 1.8; }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, 1fr); } }

/* ── 判定のしかた */
.rule { padding: clamp(64px, 9vw, 120px) 0; }
.rule h2 { font-size: clamp(26px, 3.6vw, 38px); }
.rule .sub { margin: 14px 0 36px; color: var(--sub); }
.specs { display: grid; gap: 14px; }
@media (min-width: 640px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.spec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.spec .k { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--sub); }
.spec .n { margin: 6px 0 10px; font-family: var(--round); font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.spec .n small { font-family: var(--font); font-size: 14px; font-weight: 700; margin-left: 4px; letter-spacing: .04em; }
.spec p:last-child { margin: 0; font-size: 14px; color: #3D4145; line-height: 1.75; }

/* ── そのほか */
.more { background: var(--graphite); color: #ECE8DF; padding: clamp(64px, 9vw, 112px) 0; }
.more .wrap { display: grid; gap: 40px; align-items: center; }
.more p { color: #B9B6AE; }
.more .step, .more .step span { color: #ECE8DF; }
.more .step span::after { opacity: .9; }
.minis { display: flex; gap: 18px; justify-content: center; }
.minis .phone:nth-child(2) { transform: translateY(36px); }
@media (min-width: 900px) { .more .wrap { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ── よくある質問 */
.faq-teaser { padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.faq-teaser h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .ans { padding: 0 0 20px; color: #33373A; }
.faq .ans p { margin: 0 0 10px; }
.more-link { margin-top: 22px; }
.more-link a { font-weight: 700; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ── 最後の案内 */
.final { text-align: center; padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.final img { margin: 0 auto 18px; border-radius: 20px; box-shadow: 0 16px 32px -16px rgba(23, 25, 27, .4); }
.final h2 { font-size: 26px; }
.final p { margin: 6px 0 24px; color: var(--sub); }

/* ── フッター */
.site-foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 32px 0 calc(env(safe-area-inset-bottom, 0px) + 36px); font-size: 13px; color: var(--sub); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); text-decoration: underline; }
.site-foot p { margin: 0; }

/* ── 規約・ポリシー・サポート */
main.doc { max-width: 780px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) var(--gut) clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(30px, 4.4vw, 40px); margin-bottom: 8px; }
.doc .meta { margin: 0 0 28px; color: var(--sub); font-size: 13.5px; }
.doc .intro { font-size: 16px; }
.doc .note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: 10px; padding: 14px 18px; font-size: 14.5px; color: #33373A; }
.doc h2 { font-size: 19px; font-weight: 700; margin: 44px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc p, .doc li, .doc dd { font-size: 15px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc a { text-decoration-color: var(--marker-ink); text-underline-offset: 4px; }
.doc dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.doc dt { color: var(--sub); font-size: 14px; }
.doc dd { margin: 0; }
.doc .path { display: inline-block; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 700; }
.doc .contact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.doc .btn { display: inline-block; margin: 8px 0 6px; padding: 12px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.doc .addr { color: var(--sub); font-size: 13.5px; }
