/* PrivatePhotos — 紹介ページ / プライバシーポリシー 共通スタイル */

:root {
  --bg: #ffffff;
  --bg-elev: #f2f2f7;
  --bg-sunken: #ffffff;
  --label: #000000;
  --label-2: rgba(60, 60, 67, 0.6);
  --label-3: rgba(60, 60, 67, 0.36);
  --hairline: rgba(60, 60, 67, 0.18);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.06);
  --accent: #6274f0;
  --accent-soft: rgba(98, 116, 240, 0.12);
  --warn-bg: rgba(255, 176, 58, 0.14);
  --warn-line: rgba(255, 140, 26, 0.4);
  --radius: 18px;
  --max: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --bg-sunken: #0b0b0f;
    --label: #ffffff;
    --label-2: rgba(235, 235, 245, 0.6);
    --label-3: rgba(235, 235, 245, 0.34);
    --hairline: rgba(235, 235, 245, 0.18);
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px rgba(0, 0, 0, 0.6);
    --accent: #93a0f7;
    --accent-soft: rgba(147, 160, 247, 0.16);
    --warn-bg: rgba(255, 176, 58, 0.12);
    --warn-line: rgba(255, 176, 58, 0.34);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--label);
  text-decoration: none;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-header nav a { color: var(--label-2); text-decoration: none; }
.site-header nav a:hover { color: var(--label); }

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 50% auto;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: conic-gradient(
    from 200deg,
    #ff6b4a, #ffb03a, #63c96b, #39b9d6, #6274f0, #b85fd1, #ff6b4a
  );
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
}

.hero > * { position: relative; }

.app-icon {
  width: clamp(132px, 26vw, 184px);
  height: clamp(132px, 26vw, 184px);
  border-radius: 23%;
  display: block;
  margin: 0 auto 26px;
  /* アイコンを主役にするので、影と縁をはっきりさせる */
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38), 0 2px 0 rgba(255, 255, 255, .14) inset;
  outline: 1px solid rgba(255, 255, 255, .16);
  outline-offset: -1px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero .lede {
  margin: 0 auto;
  max-width: 34em;
  font-size: clamp(16px, 2.6vw, 19px);
  color: var(--label-2);
}

.pill-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- セクション ---------- */

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--hairline); }

h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.section-lede {
  margin: 0 0 32px;
  color: var(--label-2);
  max-width: 46em;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ---------- カード ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 22px;
}

.card p {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.7;
}

.card .glyph {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: var(--accent);
}

/* ---------- 手順 ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 22px;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.steps li p {
  margin: 0;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 表 ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--label-2);
  letter-spacing: 0.02em;
}

tbody th { font-weight: 600; white-space: nowrap; }
td { color: var(--label-2); }
tbody td:first-of-type { white-space: nowrap; }

/* ---------- スクリーンショット ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}

.shot { margin: 0; text-align: center; }

.shot .frame {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--hairline);
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot img.missing { display: none; }

.shot .frame::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  white-space: pre-line;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--label-2);
  background: repeating-linear-gradient(
    45deg,
    transparent 0 10px,
    var(--accent-soft) 10px 20px
  );
  opacity: 0;
  transition: opacity 0.2s;
}

.shot .frame.empty::after { opacity: 1; }

.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--label-2);
  line-height: 1.6;
}

.shot figcaption b {
  display: block;
  color: var(--label);
  font-weight: 600;
}

/* ---------- 注意書き ---------- */

.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.75;
}

.note h3 { margin-bottom: 8px; }
.note ul { margin: 0; padding-left: 1.25em; }
.note li + li { margin-top: 8px; }

/* ---------- 本文（プライバシーポリシー） ---------- */

.doc { padding: 40px 0 72px; }
.doc h2 { margin-top: 44px; }
.doc h2:first-of-type { margin-top: 24px; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc .meta {
  color: var(--label-2);
  font-size: 14px;
  margin: 0 0 8px;
}
.doc .summary {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 22px;
  margin: 28px 0 8px;
}
.doc .summary p:first-child { font-weight: 600; }
.doc dl { margin: 0 0 24px; }
.doc dt { font-weight: 600; margin-top: 18px; }
.doc dd { margin: 4px 0 0; color: var(--label-2); }

/* ---------- フッター ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 48px;
  color: var(--label-2);
  font-size: 14px;
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  section { padding: 44px 0; }
}
