/* PicCue legal site — Warm Polaroid palette（アプリ 7.4 と統一） */
:root {
  --bg: #FAF7F1;
  --surface: #FFFFFF;
  --text: #211E1A;
  --text-secondary: #8A8377;
  --border: #E8E3D9;
  --accent: #D6572E;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
header.site .brand {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
header.site .lang a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
h1 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.meta { color: var(--text-secondary); font-size: 13px; margin-bottom: 32px; }
h2 { font-size: 18px; font-weight: 600; margin: 36px 0 12px; }
p, li { font-size: 15px; margin-bottom: 12px; }
ul, ol { padding-left: 24px; margin-bottom: 12px; }
a { color: var(--accent); }
strong { font-weight: 600; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
  margin: 24px 0;
}
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child th, tr:last-child td { border-bottom: none; }
th { width: 32%; font-weight: 600; background: var(--bg); }
.table-wrap { overflow-x: auto; }
footer.site {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 48px;
  color: var(--text-secondary);
  font-size: 13px;
}
footer.site nav a { color: var(--text-secondary); text-decoration: none; margin-right: 16px; white-space: nowrap; }
footer.site nav a:hover { color: var(--accent); }

/* ============================================================
   LP（index.html 専用）。body.lp 配下にスコープし、
   法務ページ（privacy/terms/tokushoho）には影響させない。
   セクションは罫線で区切らず、余白のみで区切る。
   ============================================================ */
.lp .lp-main { max-width: 1000px; margin: 0 auto; padding: 0 24px 40px; }
.lp footer.site { max-width: 1000px; text-align: center; padding-bottom: 56px; }
.lp footer.site nav a { margin: 0 10px; }
.lp footer.site nav { margin-bottom: 4px; }

/* ラインアイコン共通 */
.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 見出しのマーカー風ハイライト */
.hl {
  background: linear-gradient(transparent 62%, rgba(214, 87, 46, 0.22) 62%);
  padding: 0 1px;
}

/* App Store ダウンロードバッジ（リリース後に実URLを設定） */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 36px;
  padding: 12px 24px 12px 20px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(33, 30, 26, 0.45);
}
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.store-badge small { font-size: 11px; font-weight: 400; letter-spacing: 0.02em; }
.store-badge strong { font-size: 18px; font-weight: 600; letter-spacing: 0.01em; }

/* ヘッダー */
.lp-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--text); text-decoration: none; }
.lp-brand img { border-radius: 8px; display: block; }
.lp-badge-mini { font-size: 13px; font-weight: 600; color: var(--text); padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; transition: border-color 0.2s ease; }
.lp-badge-mini:hover { border-color: var(--accent); }

/* ヒーロー */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
  padding: 56px 0 48px;
}
.lp-hero-icon { border-radius: 20px; box-shadow: 0 12px 32px -8px rgba(33, 30, 26, 0.25); margin-bottom: 28px; }
.lp-hero h1 {
  font-size: 46px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.lp-lead { color: var(--text-secondary); font-size: 17px; line-height: 2.1; margin-top: 20px; }

/* 文節単位の改行制御。.nb で囲んだ範囲の途中では折り返さず、
   どの画面幅でも文節の切れ目でのみ改行される */
.nb { display: inline-block; }

/* モックカルーセル */
.lp-hero-visual { display: flex; align-items: center; gap: 20px; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.carousel-btn:hover { border-color: var(--accent); }
.carousel-btn .ico { width: 18px; height: 18px; stroke: var(--text); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: background 0.2s ease; }
.carousel-dots span.is-active { background: var(--accent); }
.phone-screens { position: relative; width: 100%; height: 100%; }
.phone-screens .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.phone-screens .slide.is-active { opacity: 1; pointer-events: auto; }

/* CSS製 iPhoneモック（実機スクショが用意でき次第 img に差し替え） */
.phone {
  width: 292px;
  height: 592px;
  background: #1D1A16;
  border-radius: 48px;
  padding: 9px;
  box-shadow: 0 48px 80px -32px rgba(33, 30, 26, 0.4), 0 4px 12px rgba(33, 30, 26, 0.08);
  position: relative;
}
/* 実機スクショ内に描画された Dynamic Island（ホーム画面のシミュレータ産）と
   ぴったり重なる位置・サイズ。object-position: top 前提の計測値 */
.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: linear-gradient(170deg, #EFE6D6 0%, #E2D2B9 58%, #D2BE9E 100%);
  padding: 68px 14px 0;
  overflow: hidden;
  text-align: center;
}
/* 実機スクリーンショット版のスライド */
.phone-screen.shot { padding: 0; background: #1D1A16; }
.phone-screen.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.lock-time { font-size: 54px; font-weight: 200; color: var(--text); line-height: 1.1; letter-spacing: 0.01em; }
.lock-date { font-size: 14px; color: var(--text); opacity: 0.65; margin-bottom: 30px; }
.notif {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 11px 13px;
  text-align: left;
  margin-bottom: 10px;
  box-shadow: 0 10px 24px -8px rgba(33, 30, 26, 0.14);
}
.notif-ghost { opacity: 0.5; }
.notif-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.notif-head img { border-radius: 4px; display: block; }
.notif-app { font-size: 11px; font-weight: 600; color: var(--text); letter-spacing: 0.03em; }
.notif-when { font-size: 11px; color: var(--text-secondary); margin-left: auto; }
.notif-body { display: flex; align-items: center; gap: 10px; }
.notif-text { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 1px; }
.notif-sub { font-size: 12px; color: var(--text-secondary); }
.notif-thumb {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(150deg, #E3B58F 0%, #D6572E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-thumb .ico { width: 18px; height: 18px; stroke: rgba(255, 255, 255, 0.9); }

/* アプリ画面モック（ホーム・登録フォーム） */
.app-screen { background: var(--bg); padding: 58px 16px 0; text-align: left; }
.app-nav { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}
.app-thumb { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-thumb .ico { width: 18px; height: 18px; stroke: rgba(96, 62, 38, 0.5); }
.app-row-title { font-size: 13px; font-weight: 600; }
.app-row-sub { font-size: 11px; color: var(--text-secondary); }
.app-fab {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(214, 87, 46, 0.55);
}
.app-fab .ico { width: 22px; height: 22px; stroke: #fff; }
.form-photo {
  height: 160px;
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 12px;
}
.form-photo .ico { stroke: var(--text-secondary); }
.form-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  margin-bottom: 10px;
}
.form-field span { color: var(--text-secondary); }
.form-field strong { font-weight: 600; }
.form-save {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* セクション共通 */
.lp-section { padding: 84px 0; }
.lp-section h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0;
  text-align: center;
}
.lp-section h3 { font-size: 17px; font-weight: 600; }
.sp { display: none; }

/* 課題提起 */
.lp-problem { text-align: center; }
.lp-problem p { font-size: 16.5px; color: var(--text-secondary); line-height: 2.3; margin-top: 28px; }
.lp-problem strong { color: var(--text); font-weight: 600; }

/* 使い方3ステップ（枠なし・番号のみ） */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.lp-step { border-top: 1px solid var(--border); padding-top: 24px; }
.lp-step-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.lp-step h3 { margin: 12px 0 8px; }
.lp-step p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.95; }

/* ユースケース（ポラロイド。実写素材が用意でき次第、photo 部分を img に差し替え） */
.lp-usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 72px;
  align-items: start;
}
.polaroid {
  background: #FFFFFF;
  padding: 10px 10px 0;
  border-radius: 4px;
  box-shadow: 0 16px 32px -12px rgba(33, 30, 26, 0.22), 0 2px 6px rgba(33, 30, 26, 0.06);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.35s ease;
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid-photo {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.polaroid-photo .ico { width: 30px; height: 30px; stroke: rgba(96, 62, 38, 0.45); stroke-width: 1.25; }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.photo-cart { background: linear-gradient(160deg, #EBD8BF, #D9B48C); }
.photo-shirt { background: linear-gradient(160deg, #E6D4C6, #C9A88E); }
.photo-utensils { background: linear-gradient(160deg, #EAD2BC, #D89F76); }
.photo-study { background: linear-gradient(160deg, #E0D9C8, #BBAF92); }
.polaroid figcaption {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 4px 16px;
}
.lp-usecase-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.95;
  margin-top: 18px;
  padding: 0 4px;
  text-align: center;
}

/* プライバシー（枠なし3カラム） */
.lp-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  text-align: center;
}
.lp-icon { display: flex; justify-content: center; margin-bottom: 20px; }
.lp-icon .ico { width: 36px; height: 36px; }
.lp-trust-item h3 { font-size: 19px; }
.lp-trust-item p { font-size: 15.5px; color: var(--text-secondary); line-height: 2; margin-top: 10px; }

/* 料金（1つの表を罫線で区切る） */
.lp-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 780px;
  margin: 64px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.lp-plan { padding: 40px 36px 36px; }
.lp-plan + .lp-plan { border-left: 1px solid var(--border); }
.lp-plan h3 { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.05em; }
/* Proプランはアクセント色で反転して強調 */
.lp-plan-pro { background: var(--accent); color: #fff; }
.lp-plan-pro h3 { color: rgba(255, 255, 255, 0.85); }
.lp-plan-pro .lp-price span,
.lp-plan-pro .lp-price-alt { color: rgba(255, 255, 255, 0.85); }
.lp-plan.lp-plan-pro .features li::before { color: #fff; }
.lp-plan-pro .lp-price-note { color: rgba(255, 255, 255, 0.75); }
.lp-price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 2px;
  font-feature-settings: "tnum";
}
.lp-price span { font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; }
.lp-price-alt { font-size: 13px; color: var(--text-secondary); }
.lp-plan .features { list-style: none; padding: 0; margin: 28px 0 0; }
.lp-plan .features li {
  font-size: 14px;
  line-height: 1.8;
  padding: 8px 0 8px 26px;
  position: relative;
  margin: 0;
}
/* top を padding-top に合わせ、行高もテキストと揃えることで
   行内の数字有無による行ボックス差でも ✓ がずれないようにする */
.lp-plan .features li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 2px;
  top: 8px;
  line-height: 1.8;
  font-weight: 600;
}
.lp-price-note { font-size: 12px; color: var(--text-secondary); line-height: 1.9; margin-top: 24px; }

/* FAQ（枠なし・罫線区切り） */
.lp-faq > div { max-width: 640px; margin: 40px auto 0; }
.lp-faq details { border-bottom: 1px solid var(--border); }
.lp-faq details:first-of-type { border-top: 1px solid var(--border); }
.lp-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { font-size: 14.5px; color: var(--text-secondary); line-height: 2; padding: 0 2px 22px; }

/* 最終CTA */
.lp-final { text-align: center; padding: 110px 0 96px; }
.lp-final-note { font-size: 14px; color: var(--text-secondary); margin-top: 24px; }

/* レスポンシブ */
@media (max-width: 860px) {
  .lp-usecases { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
}
@media (max-width: 720px) {
  .lp-hero { grid-template-columns: 1fr; gap: 56px; text-align: center; padding: 28px 0 40px; }
  .lp-hero h1 { font-size: 33px; }
  .lp-hero-visual { justify-content: center; }
  .lp-section { padding: 64px 0; }
  .lp-section h2 { font-size: 25px; }
  .sp { display: inline; }
  .lp-steps { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .lp-trust { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .lp-pricing { grid-template-columns: 1fr; margin-top: 48px; }
  .lp-plan + .lp-plan { border-left: none; border-top: 1px solid var(--border); }
  .lp-usecases { margin-top: 56px; }
}
@media (max-width: 480px) {
  .lp-usecases { grid-template-columns: 1fr; max-width: 260px; margin-left: auto; margin-right: auto; }
  .lp-hero-visual { gap: 8px; }
  .carousel-btn { width: 34px; height: 34px; }
  .carousel-btn .ico { width: 15px; height: 15px; }
  .phone { width: 240px; height: 487px; border-radius: 42px; padding: 8px; }
  .phone-notch { top: 15px; width: 74px; height: 22px; }
  .phone-screen { border-radius: 35px; padding-top: 56px; }
  .lock-time { font-size: 44px; }
}
