/*
Theme Name: AI副業の裏側
Theme URI: https://aiuragawa.com/
Author: AI副業の裏側 編集部
Description: 「AIで稼げる」系の発信を冷静に検証するメディア用のクラシックテーマ。検証記事の★評価（再現性・収益性・持続性）、評価一覧、目次、読了プログレスバーを備える。
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-uragawa
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
  --navy-950: #050b16;
  --navy-900: #0b1628;
  --navy-850: #0f1c33;
  --navy-800: #13223a;
  --navy-700: #1e3150;
  --paper: #f6f3ec;
  --paper-2: #efe9dc;
  --white: #fff;
  --gold: #c8943e;
  --gold-light: #e3bb73;
  --gold-pale: #f3dfb4;
  --gold-dark: #946a24;
  --gold-grad: linear-gradient(135deg, #f3dfb4 0%, #d9a855 38%, #b07b2c 70%, #e3bb73 100%);
  --text: #0b1628;
  --text-sub: #4a5669;
  --line: rgba(11, 22, 40, .1);
  --line-dark: rgba(255, 255, 255, .1);
  --star-off: #cfc7b5;
  --shadow-sm: 0 2px 8px rgba(11, 22, 40, .06);
  --shadow: 0 18px 50px -18px rgba(11, 22, 40, .35);
  --shadow-lg: 0 40px 90px -30px rgba(5, 11, 22, .6);
  --sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", "Noto Serif JP", serif;
  --prose: 44rem;
  --wide: 76rem;
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; }
p { margin: 0; }
button { font: inherit; }
::selection { background: var(--gold-pale); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 200; top: 8px; left: 8px;
  background: var(--gold); color: var(--navy-950); padding: 8px 16px;
}
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } .sp-only { display: none; } }
.center { text-align: center; margin-top: 2.5rem; }

.container { width: 100%; max-width: calc(var(--wide) + 48px); margin: 0 auto; padding: 0 16px; }
.container--article { max-width: calc(var(--prose) + 48px); }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--latin); font-size: .95rem; font-weight: 600; letter-spacing: .28em;
  color: var(--gold-dark); margin-bottom: 1rem;
}
.eyebrow .num {
  font-size: .8rem; letter-spacing: .1em; padding: .15rem .55rem;
  border: 1px solid currentColor; border-radius: 99px;
}
.eyebrow--light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.45; letter-spacing: .04em;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.lead { margin-top: 1.25rem; line-height: 2; color: var(--text-sub); }
.marker { background: linear-gradient(transparent 60%, rgba(227, 187, 115, .45) 60%); }

.section { padding: 5.5rem 0; position: relative; }
.section--tight { padding: 3rem 0 5rem; }
@media (min-width: 768px) { .section { padding: 8.5rem 0; } }
.section--white { background: var(--white); }
.section--dark { background: var(--navy-900); color: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
@media (min-width: 768px) { .section-head { margin-bottom: 4rem; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; justify-content: center; align-items: center; gap: .6rem;
  padding: 1.05rem 2rem; border-radius: 99px; text-decoration: none; font-weight: 700; letter-spacing: .06em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-grad); background-size: 200% 200%; color: var(--navy-950); box-shadow: 0 12px 30px -10px rgba(200, 148, 62, .7); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(200, 148, 62, .85); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid rgba(246, 243, 236, .35); color: var(--paper); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); font-weight: 500; }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border: 1px solid var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--paper); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  color: var(--paper);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 16, 30, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  opacity: 1; transition: opacity .4s var(--ease);
}
.has-hero .site-header:not(.is-scrolled)::before { opacity: 0; }
.site-header.is-scrolled { --header-h: 64px; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
body:not(.has-hero) main { padding-top: var(--header-h); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-branding { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; }
.site-branding__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-branding__name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; }
.site-branding__tagline { font-size: .66rem; letter-spacing: .2em; color: rgba(246, 243, 236, .55); margin-top: .2rem; }

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; font-size: .875rem; letter-spacing: .08em; }
.main-nav a { position: relative; text-decoration: none; color: rgba(246, 243, 236, .85); padding: .4rem 0; transition: color .3s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 900px) { .main-nav { display: block; } .menu-toggle { display: none !important; } }

.menu-toggle {
  position: relative; z-index: 120; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 11, 22, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 3rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-nav[hidden] { display: flex; }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-nav.is-open li { opacity: 1; transform: none; }
.mobile-nav.is-open li:nth-child(2) { transition-delay: .05s; }
.mobile-nav.is-open li:nth-child(3) { transition-delay: .1s; }
.mobile-nav.is-open li:nth-child(4) { transition-delay: .15s; }
.mobile-nav.is-open li:nth-child(5) { transition-delay: .2s; }
.mobile-nav a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.35rem; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-nav__note { margin-top: 2.5rem; font-size: .8rem; letter-spacing: .15em; color: var(--gold-light); }
body.nav-open { overflow: hidden; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }

/* ==========================================================
   Front: Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy-950); color: var(--paper); overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 7rem;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s ease-out both; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 22, .96) 0%, rgba(5, 11, 22, .82) 38%, rgba(5, 11, 22, .25) 75%, rgba(5, 11, 22, .45) 100%),
    linear-gradient(0deg, rgba(5, 11, 22, 1) 0%, rgba(5, 11, 22, 0) 35%);
}
@media (max-width: 767px) {
  .hero__bg img { object-position: 78% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(5, 11, 22, .55) 0%, rgba(5, 11, 22, .82) 45%, rgba(5, 11, 22, .97) 100%); }
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 1rem; font-family: var(--latin); font-weight: 600;
  color: var(--gold-light); font-size: .85rem; letter-spacing: .32em; margin-bottom: 1.75rem;
  animation: fadeUp 1s var(--ease) .2s both;
}
.hero__eyebrow .line { display: inline-block; width: 48px; height: 1px; background: var(--gold-light); flex-shrink: 0; }
@media (max-width: 479px) { .hero__eyebrow { font-size: .7rem; letter-spacing: .18em; gap: .7rem; } .hero__eyebrow .line { width: 28px; } }
.hero__title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(1.7rem, 7.4vw, 4.1rem); line-height: 1.5; letter-spacing: .04em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35); animation: fadeUp 1.1s var(--ease) .35s both;
}
.hero__title span { display: inline-block; }
.hero__title em {
  font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__lead { margin-top: 1.75rem; max-width: 36rem; color: rgba(246, 243, 236, .78); line-height: 2.05; font-size: .98rem; animation: fadeUp 1.1s var(--ease) .55s both; }
@media (min-width: 768px) { .hero__lead { font-size: 1.08rem; } }
.hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .9rem; animation: fadeUp 1.1s var(--ease) .7s both; }
@media (min-width: 560px) { .hero__actions { flex-direction: row; } }
.hero__stats {
  margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  animation: fadeUp 1.1s var(--ease) .9s both;
}
.hero__stats div { padding: 0 1.25rem; border-left: 1px solid rgba(227, 187, 115, .35); }
.hero__stats div:first-child { padding-left: 0; border-left: 0; }
@media (min-width: 768px) { .hero__stats div { padding: 0 2.5rem; } }
.hero__stats dt { font-size: .7rem; letter-spacing: .12em; color: rgba(246, 243, 236, .6); }
.hero__stats dd { margin: .2rem 0 0; font-family: var(--latin); font-size: 2.4rem; line-height: 1; font-weight: 600; color: var(--gold-light); }
.hero__stats small { font-family: var(--sans); font-size: .75rem; margin-left: .2rem; color: rgba(246, 243, 236, .7); }
@media (min-width: 768px) { .hero__stats dd { font-size: 3rem; } }
.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(246, 243, 236, .4); border-radius: 99px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold-light); border-radius: 3px; animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Claims ticker ---------- */
.claims { background: var(--navy-950); color: rgba(246, 243, 236, .75); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 1.1rem 0; overflow: hidden; display: flex; align-items: center; gap: 1.5rem; }
.claims__label {
  position: relative; z-index: 1; flex-shrink: 0; align-self: stretch; display: flex; align-items: center;
  padding: 0 1rem 0 16px; font-size: .7rem; letter-spacing: .18em; color: var(--gold-light);
  background: var(--navy-950); box-shadow: 18px 0 18px var(--navy-950);
}
@media (min-width: 640px) { .claims__label { padding-left: 24px; } }
@media (max-width: 639px) { .claims { gap: 0; } .claims__label { writing-mode: vertical-rl; letter-spacing: .1em; font-size: .62rem; padding: 0 .6rem 0 12px; } }
.claims__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.claims:hover .claims__track { animation-play-state: paused; }
.claims__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.claims__track li { white-space: nowrap; padding: 0 1.75rem; font-family: var(--serif); font-size: .95rem; position: relative; }
.claims__track li::after { content: "✕"; position: absolute; right: -.4rem; color: var(--gold); font-size: .7rem; top: .25rem; }
.claims__track s { text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1fr 1.05fr; gap: 5rem; } }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 959px) { .about__media img { aspect-ratio: 16 / 10; } }
.about__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.about__badge { position: absolute; left: -10px; bottom: 28px; background: var(--navy-900); color: var(--gold-light); font-family: var(--latin); font-style: italic; font-size: 1.1rem; letter-spacing: .08em; padding: .6rem 1.4rem; box-shadow: var(--shadow); }
.stack { margin-top: 1.75rem; line-height: 2.05; color: var(--navy-800); }
.stack > * + * { margin-top: 1.25rem; }
.about__quote { margin: 2rem 0 0; padding: 1.5rem 1.75rem; background: var(--white); border-left: 3px solid var(--gold); font-family: var(--serif); line-height: 1.95; box-shadow: var(--shadow-sm); }

/* ---------- Why ---------- */
.why-cards { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .why-cards { grid-template-columns: repeat(3, 1fr); } }
.why-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.why-card.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.why-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-card:hover .why-card__media img { transform: scale(1.06); }
.why-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 22, .75)); }
.why-card__num { position: absolute; left: 1.25rem; bottom: .5rem; z-index: 1; font-family: var(--latin); font-size: 3.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-light); }
.why-card__body { padding: 1.5rem 1.6rem 2rem; }
.why-card__en { font-family: var(--latin); font-size: .8rem; letter-spacing: .25em; color: var(--gold-dark); }
.why-card__title { margin-top: .3rem; font-family: var(--serif); font-size: 1.35rem; }
.why-card__text { margin-top: .8rem; font-size: .92rem; line-height: 2; color: var(--text-sub); }

/* ---------- Core ---------- */
.core { position: relative; overflow: hidden; background: var(--navy-950); color: var(--paper); padding: 7rem 0; }
@media (min-width: 768px) { .core { padding: 11rem 0; } }
.core__bg { position: absolute; inset: -10% 0; }
.core__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; will-change: transform; }
.core__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 22, .95) 0%, rgba(5, 11, 22, .75) 50%, rgba(5, 11, 22, .35) 100%); }
@media (max-width: 767px) { .core__bg::after { background: rgba(5, 11, 22, .82); } }
.core__inner { position: relative; }
.core__title { margin-top: .5rem; font-family: var(--serif); font-weight: 900; font-size: clamp(2rem, 7vw, 3.8rem); line-height: 1.4; letter-spacing: .06em; }
.core__body { margin-top: 2rem; max-width: 36rem; color: rgba(246, 243, 236, .78); line-height: 2.05; }
.core__body > * + * { margin-top: 1.1rem; }
.core__body strong { color: var(--gold-light); font-weight: 500; }

/* ---------- Review ---------- */
.pillar-feature { display: grid; margin-bottom: 3rem; background: var(--navy-900); color: var(--paper); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pillar-feature.is-in:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (min-width: 860px) { .pillar-feature { grid-template-columns: 1.1fr 1fr; } }
.pillar-feature__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
@media (min-width: 860px) { .pillar-feature__media { aspect-ratio: auto; min-height: 100%; } }
.pillar-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar-feature:hover .pillar-feature__media img { transform: scale(1.05); }
.pillar-feature__body { display: flex; flex-direction: column; gap: .8rem; padding: 1.75rem; }
@media (min-width: 860px) { .pillar-feature__body { padding: 2.5rem; justify-content: center; } }
.pillar-feature__label { align-self: flex-start; padding: .25rem .9rem; border-radius: 99px; background: var(--gold-grad); color: var(--navy-950); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.pillar-feature__title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.6; }
@media (min-width: 860px) { .pillar-feature__title { font-size: 1.6rem; } }
.pillar-feature__text { color: rgba(246, 243, 236, .72); font-size: .9rem; line-height: 1.9; }
.pillar-feature .post-card__more { color: var(--gold-light); padding-top: .4rem; }

.criteria { margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .criteria { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.criteria div { position: relative; background: var(--white); padding: 1.6rem 1.6rem 1.7rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-top: 2px solid var(--gold); }
.criteria dt { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: flex; align-items: baseline; gap: .6rem; }
.criteria dt span { font-family: var(--latin); color: var(--gold); font-size: 1.1rem; }
.criteria dd { margin: .5rem 0 0; color: var(--text-sub); font-size: .9rem; line-height: 1.9; }

.rank { margin-top: 3.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.rank__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; padding: 1.4rem 1.6rem; background: var(--navy-900); color: var(--paper); }
.rank__title { font-family: var(--serif); font-size: 1.2rem; }
.rank__note { font-size: .75rem; color: rgba(246, 243, 236, .6); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rating-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.rating-table thead th { font-weight: 500; font-size: .78rem; letter-spacing: .1em; color: var(--text-sub); padding: 1rem; border-bottom: 1px solid var(--line); }
.rating-table .t-left { text-align: left; }
.rating-table tbody tr { transition: background .3s; }
.rating-table tbody tr:hover { background: var(--paper); }
.rating-table tbody th { text-align: left; font-weight: 500; padding: 1rem 1.6rem; border-bottom: 1px solid var(--line); }
.rating-table tbody a { text-decoration: none; }
.rating-table tbody a:hover { color: var(--gold-dark); }
.rating-table td { text-align: center; white-space: nowrap; padding: 1rem; border-bottom: 1px solid var(--line); }
.rating-table td.total { font-family: var(--latin); font-size: 1.5rem; font-weight: 600; color: var(--gold-dark); }
.rating-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 639px) {
  .rating-table { min-width: 0; }
  .rating-table thead { display: none; }
  .rating-table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr) 3.2rem; align-items: end; gap: .2rem .4rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
  .rating-table tbody tr:last-child { border-bottom: 0; }
  .rating-table tbody th { grid-column: 1 / -1; padding: 0 0 .5rem; border: 0; font-size: .92rem; line-height: 1.6; }
  .rating-table td { padding: 0; border: 0; text-align: left; font-size: .7rem; }
  .rating-table td::before { content: attr(data-label); display: block; font-size: .62rem; color: var(--text-sub); letter-spacing: .08em; }
  .rating-table td.total { text-align: right; font-size: 1.5rem; line-height: 1; }
  .rating-table td.total::before { font-family: var(--sans); font-weight: 400; margin-bottom: .2rem; }
}
@media (max-width: 359px) {
  .rating-table tbody tr { grid-template-columns: repeat(3, 1fr) 2.6rem; padding: 1rem; }
  .rating-table td { font-size: .56rem; }
  .rating-table .stars { letter-spacing: 0; }
  .rating-table td.total { font-size: 1.2rem; }
}

.stars { letter-spacing: .08em; white-space: nowrap; }
.stars .on { color: var(--gold); }
.stars .off { color: var(--star-off); }

.post-grid { margin-top: 3.5rem; display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__score {
  position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; background: rgba(5, 11, 22, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(227, 187, 115, .6); color: var(--gold-light); font-family: var(--latin); font-size: 1.35rem; font-weight: 600; line-height: 1;
}
.post-card__score small { font-family: var(--sans); font-size: .55rem; letter-spacing: .1em; margin-bottom: .15rem; color: rgba(246, 243, 236, .7); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.post-card__meta { display: flex; gap: .8rem; font-size: .72rem; color: var(--text-sub); letter-spacing: .06em; }
.post-card__cat { color: var(--gold-dark); font-weight: 700; }
.post-card__title { display: block; margin-top: .5rem; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; line-height: 1.65; }
.post-card__stars { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .9rem; font-size: .78rem; }
.post-card__stars em { font-style: normal; color: var(--text-sub); margin-right: .35rem; font-size: .7rem; }
.post-card__more { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); }
.post-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease); }
.post-card:hover .post-card__more svg { transform: translateX(4px); }
.empty-note { margin-top: 2rem; padding: 1.5rem; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-sub); }

.verdict { margin-top: 5rem; position: relative; background: var(--navy-900); color: var(--paper); border-radius: var(--radius-lg); padding: 2.5rem 1.75rem; overflow: hidden; }
@media (min-width: 768px) { .verdict { padding: 3.5rem 4rem; } }
.verdict::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 187, 115, .25), transparent 70%); }
.verdict__en { font-family: var(--latin); letter-spacing: .3em; color: var(--gold-light); font-size: .85rem; }
.verdict__title { margin-top: .4rem; font-family: var(--serif); font-size: 1.5rem; }
.verdict ol { list-style: none; counter-reset: v; margin: 1.75rem 0 0; padding: 0; }
.verdict li { counter-increment: v; position: relative; padding: 1.1rem 0 1.1rem 3.2rem; border-top: 1px solid var(--line-dark); line-height: 1.95; color: rgba(246, 243, 236, .85); }
.verdict li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 0; top: 1rem; font-family: var(--latin); font-size: 1.5rem; color: var(--gold-light); }

/* ---------- Checklist ---------- */
.checklist-sec__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .checklist-sec__grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; } .checklist-sec__media { position: sticky; top: 110px; } }
.checklist-sec__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 959px) { .checklist-sec__media img { aspect-ratio: 16 / 9; } }
.checklist { list-style: none; counter-reset: q; margin: 2.25rem 0 0; padding: 0; }
.checklist li { counter-increment: q; position: relative; padding: 1.3rem 0 1.3rem 4rem; border-bottom: 1px solid var(--line); line-height: 1.9; color: var(--text-sub); font-size: .93rem; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before {
  content: counter(q); position: absolute; left: 0; top: 1.3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--latin); font-size: 1.25rem; font-weight: 600; color: var(--gold-dark); border: 1px solid var(--gold);
}
.checklist strong { display: block; font-size: 1.02rem; color: var(--text); margin-bottom: .2rem; }

/* ---------- Stance ---------- */
.stance { overflow: hidden; }
.stance::before { content: ""; position: absolute; left: 50%; top: -300px; width: 800px; height: 600px; margin-left: -400px; background: radial-gradient(ellipse, rgba(200, 148, 62, .16), transparent 65%); pointer-events: none; }
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.pillar { position: relative; padding: 2.25rem 1.9rem; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)); transition: border-color .4s; }
.pillar:hover { border-color: rgba(227, 187, 115, .5); }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; }
.pillar h3 { margin-top: 1.1rem; font-family: var(--serif); font-size: 1.3rem; color: var(--paper); }
.pillar p { margin-top: .7rem; font-size: .9rem; line-height: 2; color: rgba(246, 243, 236, .7); }
.stance-close { margin-top: 5rem; text-align: center; }
.stance-close__title { font-family: var(--serif); font-weight: 900; font-size: clamp(1.7rem, 5.5vw, 3rem); letter-spacing: .08em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stance-close__body { margin: 1.75rem auto 0; max-width: 40rem; color: rgba(246, 243, 236, .75); line-height: 2.1; }
.stance-close__ad { margin: 2rem auto 0; max-width: 40rem; font-size: .78rem; color: rgba(246, 243, 236, .45); }

/* ==========================================================
   Article
   ========================================================== */
.article-hero { position: relative; overflow: hidden; background: var(--navy-950); color: var(--paper); padding: calc(var(--header-h) + 4.5rem) 0 4rem; min-height: 64vh; display: flex; align-items: flex-end; }
@media (min-width: 768px) { .article-hero { padding-bottom: 5rem; min-height: 72vh; } }
.article-hero__bg { position: absolute; inset: 0; }
.article-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s ease-out both; }
.article-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 22, .55) 0%, rgba(5, 11, 22, .35) 35%, rgba(5, 11, 22, .92) 100%); }
.article-hero__inner { position: relative; width: 100%; }
.article-hero__title { margin-top: 1rem; font-family: var(--serif); font-weight: 900; font-size: clamp(1.6rem, 5.5vw, 2.7rem); line-height: 1.5; letter-spacing: .04em; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); animation: fadeUp 1s var(--ease) .2s both; }
.article-hero__meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .78rem; color: rgba(246, 243, 236, .7); letter-spacing: .06em; }
.chip { display: inline-block; margin-top: 1.25rem; padding: .3rem .9rem; border: 1px solid rgba(227, 187, 115, .6); border-radius: 99px; font-size: .72rem; letter-spacing: .12em; color: var(--gold-light); text-decoration: none; background: rgba(5, 11, 22, .4); }

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .72rem; color: rgba(246, 243, 236, .6); }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: rgba(246, 243, 236, .35); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li[aria-current] { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-hero { position: relative; background: var(--navy-900); color: var(--paper); padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; overflow: hidden; margin-top: calc(var(--header-h) * -1); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 148, 62, .22), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { margin-top: 1rem; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: .05em; }
.page-hero__lead { margin-top: 1rem; color: rgba(246, 243, 236, .72); line-height: 1.95; font-size: .95rem; }
.page-hero__code { font-family: var(--latin); font-size: 5rem; line-height: 1; color: var(--gold-light); }

.article-body { padding-top: 3rem; padding-bottom: 5rem; }
.article-lead { font-size: 1.05rem; line-height: 2.1; color: var(--navy-800); font-family: var(--serif); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }

.score-card { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; background: var(--navy-900); color: var(--paper); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.score-card::before { content: ""; position: absolute; left: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 187, 115, .22), transparent 70%); }
@media (min-width: 600px) { .score-card { grid-template-columns: auto 1fr; gap: 2.5rem; padding: 2rem 2.25rem; } }
.score-card__total { position: relative; text-align: center; padding-right: 0; }
@media (min-width: 600px) { .score-card__total { padding-right: 2.5rem; border-right: 1px solid var(--line-dark); } }
.score-card__label { display: block; font-size: .72rem; letter-spacing: .2em; color: rgba(246, 243, 236, .6); }
.score-card__num { display: inline-block; font-family: var(--latin); font-size: 4.2rem; line-height: 1.05; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-card__max { font-family: var(--latin); font-size: 1.1rem; color: rgba(246, 243, 236, .5); margin-left: .2rem; }
.score-card__bars { margin: 0; display: grid; gap: .8rem; position: relative; }
.score-card__bars div { display: grid; grid-template-columns: 4.2em 1fr; align-items: center; gap: .8rem; }
.score-card__bars dt { font-size: .82rem; color: rgba(246, 243, 236, .75); }
.score-card__bars dd { margin: 0; display: flex; align-items: center; gap: .8rem; }
.score-card .bar { flex: 1; height: 6px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; }
.score-card .bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.score-card.is-in .bar span { transform: scaleX(1); }
.score-card .stars { font-size: .85rem; }
.score-card .stars .off { color: rgba(255, 255, 255, .2); }

.points { margin-top: 2rem; background: var(--white); border-radius: var(--radius-lg); padding: 1.6rem 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(200, 148, 62, .35); }
.points__title { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.points__title::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.points ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.points li { position: relative; padding-left: 1.9rem; line-height: 1.85; font-size: .95rem; }
.points li + li { margin-top: .6rem; }
.points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--gold-grad); }
.points li::after { content: ""; position: absolute; left: .36rem; top: .68em; width: .38rem; height: .22rem; border-left: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(-45deg); }

.toc { margin-top: 2rem; background: var(--paper-2); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.toc__title { font-family: var(--latin); letter-spacing: .25em; font-size: .9rem; color: var(--gold-dark); }
.toc__title::after { content: "　目次"; font-family: var(--sans); letter-spacing: .05em; color: var(--text-sub); font-size: .8rem; }
.toc ol { list-style: none; counter-reset: t; margin: .9rem 0 0; padding: 0; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: .9rem; padding: .55rem 0; text-decoration: none; font-size: .92rem; border-bottom: 1px dashed rgba(11, 22, 40, .12); transition: color .3s; }
.toc li:last-child a { border-bottom: 0; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--latin); color: var(--gold); font-weight: 600; }
.toc a:hover { color: var(--gold-dark); }

/* Post content */
.entry-content { margin-top: 3rem; line-height: 2.05; letter-spacing: .03em; color: var(--navy-800); font-size: 1.02rem; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1.6rem; }
.entry-content h2 {
  margin-top: 4.5rem; font-family: var(--serif); font-size: 1.45rem; color: var(--text); line-height: 1.55;
  padding: 1.1rem 0 1.1rem 1.25rem; position: relative; background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
  border-left: 4px solid transparent; border-image: var(--gold-grad) 1;
}
@media (min-width: 768px) { .entry-content h2 { font-size: 1.6rem; } }
.entry-content h3 { margin-top: 3rem; font-size: 1.15rem; color: var(--text); padding-bottom: .5rem; border-bottom: 1px solid var(--line); position: relative; }
.entry-content h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 3.5rem; height: 2px; background: var(--gold); }
.entry-content h4 { margin-top: 2rem; font-size: 1rem; color: var(--gold-dark); }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .6rem; }
.entry-content li::marker { color: var(--gold); }
.entry-content a { color: var(--gold-dark); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.entry-content strong { color: var(--text); background: linear-gradient(transparent 62%, rgba(227, 187, 115, .4) 62%); }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--gold); background: var(--white); font-family: var(--serif); }
.entry-content table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .9rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.entry-content thead th { background: var(--navy-900); color: var(--paper); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content .wp-block-image { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.entry-content .wp-block-image img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.entry-content figcaption { font-size: .8rem; color: var(--text-sub); margin-top: .7rem; text-align: center; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .is-style-aiu-box { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm); }
.entry-content .is-style-aiu-point { background: var(--navy-900); color: rgba(246, 243, 236, .88); border-radius: var(--radius-lg); padding: 1.6rem 1.75rem; position: relative; overflow: hidden; }
.entry-content .is-style-aiu-point strong { color: var(--gold-light); background: none; }
.entry-content .is-style-aiu-point::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); }
.entry-content .is-style-aiu-box > * + *, .entry-content .is-style-aiu-point > * + * { margin-top: .9rem; }
.entry-content .is-style-aiu-faq { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: .4rem 1.5rem; }
.entry-content .is-style-aiu-faq h3 { margin-top: 0; padding: 1.2rem 0 0 2.4rem; border-bottom: 0; font-size: 1.02rem; position: relative; }
.entry-content .is-style-aiu-faq h3::after { display: none; }
.entry-content .is-style-aiu-faq h3::before { content: "Q"; position: absolute; left: 0; top: 1.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-light); font-family: var(--latin); font-size: 1rem; }
.entry-content .is-style-aiu-faq h3 + p { margin-top: .5rem; padding: 0 0 1.2rem 2.4rem; border-bottom: 1px dashed var(--line); position: relative; font-size: .95rem; }
.entry-content .is-style-aiu-faq h3 + p::before { content: "A"; position: absolute; left: .45rem; top: 0; font-family: var(--latin); font-size: 1.1rem; font-weight: 600; color: var(--gold-dark); }
.entry-content .is-style-aiu-faq p:last-child { border-bottom: 0; }
.entry-content .wp-block-table table { min-width: 520px; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { line-height: 1.7; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: var(--paper); }
.entry-content .related-links { background: var(--paper-2); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; }
.entry-content .related-links p { font-weight: 700; font-size: .9rem; }
.entry-content .related-links ul { margin-top: .6rem; }

.ad-disclosure { margin-top: 4rem; font-size: .75rem; color: var(--text-sub); text-align: center; }

.author-box { margin-top: 2rem; display: flex; gap: 1.25rem; align-items: flex-start; background: var(--white); padding: 1.6rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.author-box__icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; }
.author-box__icon .logo-mark { width: 30px; height: 30px; }
.author-box__label { font-size: .7rem; color: var(--gold-dark); letter-spacing: .15em; }
.author-box__name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.author-box__bio { margin-top: .5rem; font-size: .86rem; color: var(--text-sub); line-height: 1.9; }
.author-box__link { display: inline-block; margin-top: .6rem; font-size: .8rem; color: var(--gold-dark); }

.related { background: var(--white); padding: 5rem 0 6rem; }
.related .post-grid { margin-top: 2.5rem; }

.pagination { margin-top: 3.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .8rem; border-radius: 99px; background: var(--white); text-decoration: none; font-size: .88rem; box-shadow: var(--shadow-sm); }
.pagination .page-numbers.current { background: var(--navy-900); color: var(--gold-light); }

.search-form { display: flex; gap: .5rem; margin: 0 auto 1rem; max-width: 36rem; }
.search-form input[type=search] { flex: 1; min-width: 0; padding: .9rem 1.2rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font: inherit; }
.search-form button { padding: .9rem 1.6rem; border: 0; border-radius: 99px; background: var(--navy-900); color: var(--paper); cursor: pointer; }

/* Contact Form 7 */
.entry-content .wpcf7 { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.entry-content .wpcf7 label { display: block; font-weight: 500; font-size: .92rem; }
.entry-content .wpcf7 p + p { margin-top: 1.2rem; }
.entry-content input[type=text], .entry-content input[type=email], .entry-content input[type=url], .entry-content textarea, .entry-content select {
  width: 100%; margin-top: .4rem; padding: .85rem 1rem; border: 1px solid rgba(11, 22, 40, .18); background: var(--paper); font: inherit; border-radius: var(--radius); transition: border-color .3s, background .3s;
}
.entry-content input:focus, .entry-content textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.entry-content input[type=submit] { background: var(--gold-grad); color: var(--navy-950); border: 0; padding: 1rem 2.6rem; font: inherit; font-weight: 700; letter-spacing: .1em; cursor: pointer; border-radius: 99px; box-shadow: 0 12px 30px -10px rgba(200, 148, 62, .7); }
.wpcf7-not-valid-tip { font-size: .8rem; }
.wpcf7 form .wpcf7-response-output { margin: 1.2rem 0 0; border-radius: var(--radius); font-size: .88rem; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--navy-950); color: rgba(246, 243, 236, .6); font-size: .86rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-grad); opacity: .6; }
.site-footer__top { padding-top: 4rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; justify-content: space-between; align-items: center; } }
.site-branding--footer { color: var(--paper); }
.site-footer__catch { font-family: var(--serif); color: var(--gold-light); letter-spacing: .1em; }
.site-footer__grid { padding: 3rem 0 3.5rem; display: grid; gap: 2.5rem; border-bottom: 1px solid var(--line-dark); margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1.2fr .8fr; gap: 3.5rem; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .2em; color: var(--paper); margin-bottom: .9rem; }
.site-footer p { line-height: 1.95; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li + li { margin-top: .6rem; }
.footer-nav a { text-decoration: none; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-light); }
.site-footer__bottom p { padding-top: 1.5rem; padding-bottom: 1.75rem; font-size: .72rem; letter-spacing: .1em; color: rgba(246, 243, 236, .4); }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-900); border: 1px solid rgba(227, 187, 115, .5); color: var(--gold-light);
  box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .8rem; color: var(--text-sub); }
