/*
 * 星の羅針盤 あとらす LP 第2版(2026-10-10)
 * 写真の世界(深い緑のベルベット・紙・細い金)と、明朝の判子調のロゴから組んだ。
 * 色: 紙と森の緑。金は細い線と小さな印だけに使い、ボタンには使わない。
 * 書体: 見出し=Shippori Mincho(ロゴの明朝に合わせる)、本文=Zen Kaku Gothic New。
 * 角: ボタンは丸(999px)、絵と箱は14px。ほかは角なし。
 * 旧版(atlas-lp.css)はコラム・カテゴリが使うので残す。
 */

.av2 {
  --bg: #eef1ee;
  --surface: #f8faf8;
  --ink: #17201d;
  --muted: #55615c;
  --line: rgba(23, 32, 29, 0.14);
  --accent: #24453c;
  --accent-ink: #f3f6f3;
  --tint: #e2e9e4;
  --gold: #9c8350;
  --shadow: 0 24px 60px rgba(28, 52, 44, 0.16);
  --mark-filter: none;
  --mark-blend: multiply;

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --radius: 14px;
  --wrap: min(1120px, calc(100% - 40px));
  --space: clamp(72px, 10vw, 128px);

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: clip;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .av2 {
    --bg: #111816;
    --surface: #18211e;
    --ink: #e8eee9;
    --muted: #a3b0aa;
    --line: rgba(232, 238, 233, 0.14);
    --accent: #9cc4b2;
    --accent-ink: #0f1714;
    --tint: #1d2a26;
    --gold: #c9b07a;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    --mark-filter: invert(1);
    --mark-blend: screen;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] .av2 {
  --bg: #111816;
  --surface: #18211e;
  --ink: #e8eee9;
  --muted: #a3b0aa;
  --line: rgba(232, 238, 233, 0.14);
  --accent: #9cc4b2;
  --accent-ink: #0f1714;
  --tint: #1d2a26;
  --gold: #c9b07a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --mark-filter: invert(1);
  --mark-blend: screen;
  color-scheme: dark;
}

.av2,
.av2 * {
  box-sizing: border-box;
}

/* サイトの「追加CSS」が本文・見出し・リンク・一覧を LINE Seed JP に !important で固定しているので、
   このLPの中だけ本文の書体を取り戻す。明朝を使う所は後ろの規則で上書きする */
.av2 :is(p, a, li, label, dt, dd, summary, span, small, b, strong, button) {
  font-family: var(--font-body) !important;
}

.av2 img {
  display: block;
  max-width: 100%;
}

.av2 a {
  color: inherit;
}

.av2 p,
.av2 h1,
.av2 h2,
.av2 h3,
.av2 ul,
.av2 ol,
.av2 figure {
  margin: 0;
}

.av2 h1,
.av2 h2,
.av2 h3 {
  font-family: var(--font-display) !important;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-wrap: balance;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.av2 h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.35;
}

.av2 h2 {
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.45;
}

.av2 h3 {
  font-size: 18px;
  line-height: 1.6;
}

.av2-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.av2-section {
  padding-block: var(--space);
}

.av2-section--tint {
  background: var(--tint);
}

.av2-lead {
  max-width: 34em;
  color: var(--muted);
}

.av2-stack {
  display: grid;
  gap: 20px;
}

.av2-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ボタン */
.av2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.av2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s;
}

.av2-btn:hover {
  transform: translateY(-2px);
}

.av2-btn:active {
  transform: translateY(1px) scale(0.98);
}

.av2-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.av2-btn--ghost {
  background: transparent;
  color: var(--accent) !important;
}

/* 絵の枠。無いあいだは点線で「画像待ち」 */
.av2-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  box-shadow: var(--shadow);
  max-width: 100%;
}

.av2-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av2-figure--wide { aspect-ratio: 3 / 2; }
.av2-figure--tall { aspect-ratio: 4 / 5; }
.av2-figure--card { aspect-ratio: 2 / 3; }

.av2-figure--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1.5px dashed var(--line);
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.av2-figure--pending span::before {
  content: "画像待ち";
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ヒーロー: 左に言葉、右に写真 */
.av2-hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
}

.av2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.av2-hero__text {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.av2-hero__text .av2-lead {
  font-size: 17px;
}

/* ヒーローの下の約束ごと(無料など) */
.av2-facts {
  border-block: 1px solid var(--line);
}

.av2-facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.av2-facts li {
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display) !important;
  font-size: 17px;
}

.av2-facts li + li {
  border-left: 1px solid var(--line);
}

/* 大きな一文 */
.av2-statement {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}

.av2-statement h2 {
  font-size: clamp(28px, 3.8vw, 46px);
}

.av2-statement__body {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  max-width: 36em;
  color: var(--muted);
}

/* 2つに分けた一覧 */
.av2-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
}

.av2-group h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}

.av2-group dl {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
}

.av2-group dt {
  font-weight: 700;
}

.av2-group dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* 順番のある流れ */
.av2-steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.av2-steps li {
  counter-increment: step;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 18px;
  border-top: 1px solid var(--accent);
  font-weight: 500;
}

.av2-steps li::before {
  content: counter(step);
  font-family: var(--font-display) !important;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}

/* 写真と言葉 */
.av2-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.av2-split--flip > :first-child {
  order: 2;
}

.av2-split__text {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.av2-split__text p {
  color: var(--muted);
}

/* 3つの基準などの小さな並び */
.av2-points {
  display: grid;
  grid-template-columns: repeat(var(--points, 3), minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.av2-points > div {
  padding: 24px 24px 0 0;
}

.av2-points > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.av2-points strong {
  display: block;
  font-family: var(--font-display) !important;
  font-size: 19px;
  font-weight: 600;
}

.av2-points span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* 選び方のタグ */
.av2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.av2-chips li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15px;
}

.av2-chips li b {
  margin-right: 8px;
  font-family: var(--font-display) !important;
  color: var(--accent);
}

/* よくある質問 */
.av2-faq {
  display: grid;
  margin-top: 40px;
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.av2-faq details {
  border-bottom: 1px solid var(--line);
}

.av2-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.av2-faq summary::-webkit-details-marker {
  display: none;
}

.av2-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display) !important;
  font-size: 22px;
  line-height: 1.2;
  color: var(--gold);
  transition: transform 0.25s;
}

.av2-faq details[open] summary::after {
  transform: rotate(45deg);
}

.av2-faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.av2-faq details p {
  padding: 0 0 22px;
  color: var(--muted);
}

/* 終わりの呼びかけ */
.av2-close {
  text-align: center;
}

.av2-close__mark {
  width: 120px;
  margin: 0 auto 32px;
  filter: var(--mark-filter);
  mix-blend-mode: var(--mark-blend);
}

.av2-close .av2-lead {
  margin: 20px auto 0;
}

.av2-close .av2-actions {
  justify-content: center;
  margin-top: 32px;
}

/* オラクルカードのページ */
.av2-contents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.av2-contents li {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  counter-increment: item;
}

.av2-contents h3::before {
  content: counter(item) "  ";
  color: var(--gold);
}

.av2-contents p {
  color: var(--muted);
  font-size: 14px;
}

.av2-sample {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 40px;
}

.av2-sample__card {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--surface);
}

.av2 .av2-sample__name {
  font-family: var(--font-display) !important;
  font-size: 24px;
}

.av2-sample__name small {
  margin-left: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.av2-sample__card ul {
  display: grid;
  gap: 4px;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: 15px;
}

.av2-sample__head {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.av2 .av2-sample__question {
  font-family: var(--font-display) !important;
  font-size: 18px;
  color: var(--accent);
}

.av2-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.av2-signs > div {
  padding: 24px 20px 24px 0;
  border-bottom: 1px solid var(--line);
}

.av2-signs b {
  display: block;
  font-family: var(--font-display) !important;
  font-size: 20px;
  font-weight: 600;
}

.av2-signs b small {
  margin-left: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gold);
}

.av2-signs span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

/* 読み込みのときの小さな動き(動きを減らす設定では止める) */
@media (prefers-reduced-motion: no-preference) {
  .av2-hero__text > * {
    animation: av2-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .av2-hero__text > :nth-child(2) { animation-delay: 0.06s; }
  .av2-hero__text > :nth-child(3) { animation-delay: 0.12s; }
  .av2-hero__text > :nth-child(4) { animation-delay: 0.18s; }

  @keyframes av2-rise {
    from { transform: translateY(14px); opacity: 0.001; }
    to { transform: none; opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .av2-btn,
  .av2-faq summary::after {
    transition: none;
  }
}

/* タブレット */
@media (max-width: 960px) {
  .av2-steps,
  .av2-contents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av2-signs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ: すべて1列 */
@media (max-width: 767px) {
  .av2 {
    --wrap: calc(100% - 32px);
  }

  .av2-hero__grid,
  .av2-statement,
  .av2-split,
  .av2-groups,
  .av2-sample {
    grid-template-columns: 1fr;
  }

  .av2-split--flip > :first-child {
    order: 0;
  }

  .av2-hero .av2-figure--card {
    max-width: 260px;
  }

  .av2-facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av2-facts li:nth-child(3) {
    border-left: 0;
  }

  .av2-facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .av2-points {
    grid-template-columns: 1fr;
  }

  .av2-points > div,
  .av2-points > div + div {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .av2-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .av2-steps li {
    grid-template-columns: 40px 1fr;
    align-items: baseline;
    padding-block: 16px;
  }

  .av2-signs {
    grid-template-columns: 1fr;
  }

  .av2-btn {
    width: 100%;
  }
}
