/* コンプラカメラ サイト共通スタイル。アイコンと同じティール×クリーム。 */
:root {
  --teal:     #1F8477;
  --teal-dk:  #15615A;
  --teal-bg:  #E8F3F1;
  --cream:    #FFFDF8;
  --sand:     #FDE3A0;
  --ink:      #263238;
  --muted:    #5E6D6B;   /* 5.3:1 on cream, 5.4:1 on white, 4.8:1 on teal-bg (was #6B7A78, 4.41:1) */
  --line:     #D9E7E4;
  --radius:   16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
               "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--teal-dk); }
img { max-width: 100%; display: block; }

.top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff;
}
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.top .brand img { width: 36px; height: 36px; border-radius: 9px; }

.doc { max-width: 720px; margin: 0 auto; padding: 40px 20px 72px; }
.doc h1 { font-size: 24px; margin: 0 0 24px; }
.doc h2 { font-size: 18px; margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc p { margin: 0 0 16px; }
.doc p.lines { white-space: pre-line; }
.note { background: var(--teal-bg); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--muted); }
.small { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* トップ */
.hero { max-width: 880px; margin: 0 auto; padding: 56px 20px 24px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 760px) { .hero { grid-template-columns: 1.2fr 1fr; padding-top: 72px; } }
.hero h1 { font-size: 30px; line-height: 1.4; margin: 0 0 14px; }
.hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.hero .art img { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 28px; box-shadow: 0 10px 30px rgba(31,132,119,.18); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-block; padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700;
}
.badge.soon { background: #9AA5A3; cursor: default; }
.features { max-width: 880px; margin: 0 auto; padding: 8px 20px 48px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; color: var(--teal-dk); }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 24px 20px 40px; text-align: center; background: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.foot nav a { font-size: 14px; }

/* ===== トップ（LP）2026-09-11: ストア用スクリーンショットを使ったレイアウト ===== */
.lp { --rounded: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic UI", system-ui, sans-serif; }
.lp .top-dark { background: var(--teal-dk); border-bottom: 0; }
.lp .top-dark .brand { color: #fff; }
.lp .topnav { margin-left: auto; display: flex; gap: 18px; }
.lp .topnav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 700; }
.lp .topnav a:hover { color: #fff; }
@media (max-width: 520px) { .lp .topnav { display: none; } }

/* ヒーロー: ティール地 + 斜めの光の帯 + きらめき */
.hero2 {
  position: relative; overflow: hidden; color: #fff;
  background:
    /* Light band peaks at 10% white: white text stays >= 4.6:1 on top of it (it was 28%, 2.8:1). */
    linear-gradient(115deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.06) 44%, rgba(255,255,255,.10) 47%, rgba(255,255,255,.06) 50%, rgba(255,255,255,0) 56%),
    linear-gradient(160deg, #1A7368 0%, #15615A 100%);
}
.hero2::before, .hero2::after {
  content: "✦"; position: absolute; color: rgba(255,241,196,.9); font-size: 22px; pointer-events: none;
}
.hero2::before { top: 60px; left: 6%; }
.hero2::after { bottom: 80px; right: 8%; font-size: 30px; }
.hero2-inner {
  max-width: 1040px; margin: 0 auto; padding: 56px 20px 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end;
}
.hero2-copy, .hero2-art, .step, .shots figure { min-width: 0; }
.lp { overflow-x: clip; }
@media (min-width: 800px) { .hero2-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-top: 72px; gap: 40px; } }
.hero2-copy { padding-bottom: 48px; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #FFFDF7; }   /* 4.5:1 even on the brightest part of the hero band */
.hero2 h1 {
  font-family: var(--rounded); font-weight: 800; font-size: clamp(28px, 9.2vw, 36px); line-height: 1.25; margin: 0 0 18px; letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0,0,0,.15);
}
@media (min-width: 800px) { .hero2 h1 { font-size: 52px; } }
.hero2 h1 em { font-style: normal; color: #FFE9A8; }
.hero2 .lead { font-size: 17px; line-height: 1.9; color: #fff; margin: 0 0 26px; max-width: 34em; }
.hero2-note { margin: 14px 0 0; font-size: 13px; color: #fff; }
.hero2-art { text-align: center; }
.hero2-art img {
  width: min(320px, 78vw); height: auto; margin: 0 auto; border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-3deg) translateY(14px);
}
@media (min-width: 800px) { .hero2-art img { width: 340px; transform: rotate(-4deg) translateY(24px); } }

/* ストアバッジ（公式画像の代わりのテキスト版） */
.badge.store {
  display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.1;
  padding: 9px 18px 8px; border-radius: 10px; background: #111; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); min-width: 168px;
}
.badge.store:hover { background: #000; }
.store-small { font-size: 10px; letter-spacing: .04em; opacity: .85; }
.store-big { font-size: 18px; font-weight: 800; }
.badges.center { justify-content: center; }

/* 3 ステップ */
.steps { background: #fff; border-bottom: 1px solid var(--line); }
.steps-inner { max-width: 1040px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 760px) { .steps-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.step { position: relative; padding-left: 52px; }
.step .num {
  position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--rounded); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 4px; font-size: 17px; font-family: var(--rounded); color: var(--teal-dk); }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ギャラリー */
.gallery { max-width: 1040px; margin: 0 auto; padding: 56px 20px 24px; }
.gallery h2, .privacy h2, .cta h2 {
  font-family: var(--rounded); font-weight: 800; font-size: 28px; margin: 0 0 8px; color: var(--teal-dk);
}
.gallery-lead { margin: 0 0 24px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31,132,119,.22);
  transition: transform .25s ease;
}
.shots figure:hover img { transform: translateY(-4px); }
.shots figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.shots figcaption strong { display: block; color: var(--ink); font-size: 14px; }

/* プライバシー */
.privacy { background: var(--teal-bg); margin-top: 32px; }
.privacy-inner { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.privacy ul { margin: 0 0 18px; padding-left: 1.3em; }
.privacy li { margin: 0 0 8px; }
.privacy .note { background: #fff; }

/* 最後の CTA */
.cta { text-align: center; padding: 56px 20px 64px; background: #fff; }
.cta h2 { margin-bottom: 20px; }

/* 公式ストアバッジ（Apple: SVG、Google: PNG。Google のバッジは余白込みなので少し大きく） */
.storebadges { --bh: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }   /* --bh = visible badge height */
.storebadges.center { justify-content: center; }
.storebadges a { display: inline-block; line-height: 0; }
.storebadges img { width: auto; display: block; }
.badge-apple { height: var(--bh); }
/* Google の PNG は 646x250 のうち黒い部分が 564x168（上下左右 41px の透明余白）。
   黒い部分が --bh になる高さに拡大し、余白を負のマージンで打ち消して Apple と端を揃える */
.badge-google { height: calc(var(--bh) * 250 / 168); margin: calc(var(--bh) * -41 / 168); }
/* 390px 幅でも 2 つが横に並ぶ大きさ（見た目 138px + 154px + 間 10px） */
@media (max-width: 480px) { .storebadges { --bh: 46px; gap: 10px; } }
.storebadges a:hover img { opacity: .9; }

/* 価格 */
.price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; }
.price strong { font-family: var(--rounded); font-size: 30px; line-height: 1; color: #FFE9A8; }
.price span { font-size: 14px; color: #fff; font-weight: 700; }
.cta-price { margin: 0 0 20px; color: var(--muted); }
.cta-price strong { font-family: var(--rounded); font-size: 26px; color: var(--teal-dk); margin: 0 2px; }
.cta .small { max-width: 640px; margin: 18px auto 0; font-size: 12px; }

/* 生成 AI モデルの注記 */
.ai-note { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.7; }
.ai-note.light { color: #fff; text-align: center; margin: 30px 0 22px; font-size: 12px; }

/* 見出しの句ごとに改行させる（スマホで「入れてお／く。」のように 1 文字だけ落ちるのを防ぐ） */
.phrase { display: inline-block; }
