/*
Theme Name: 婚活びより
Theme URI: https://juju2.com/
Author: 婚活びより編集部
Author URI: https://juju2.com/
Description: 結婚相談所・マッチングアプリ・婚活パーティー・出会い系サイトを比較・紹介するアフィリエイトメディア専用の軽量テーマ。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konkatsu-biyori
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  --c-bg: #fff9fa;
  --c-bg-alt: #fdf3f5;
  --c-surface: #ffffff;
  --c-ink: #2e2a2b;
  --c-ink-soft: #6b6265;
  --c-ink-mute: #9a9093;
  --c-primary: #e8607a;
  --c-primary-dark: #d34a66;
  --c-primary-deep: #b23a53;
  --c-primary-soft: #fdecef;
  --c-gold: #c9a227;
  --c-gold-soft: #fbf3d9;
  --c-line: #f0e1e4;
  --c-line-strong: #e6cfd4;
  --c-green: #2f9e6e;
  --c-green-soft: #e8f6ef;

  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(168, 74, 94, 0.06);
  --shadow: 0 10px 30px rgba(168, 74, 94, 0.10);
  --shadow-lg: 0 18px 50px rgba(168, 74, 94, 0.16);

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;

  --w-container: 1120px;
  --w-narrow: 820px;
  --header-h: 74px;
}

/* =========================================================
   2. Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--c-primary-deep); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--c-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-ink);
  margin: 0 0 .6em;
  letter-spacing: .03em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1.2em; }

ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .5em; }
li::marker { color: var(--c-primary); }

strong { font-weight: 700; }
small { font-size: .82em; }

:focus-visible {
  outline: 3px solid rgba(232, 96, 122, .55);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}

/* =========================================================
   3. Layout helpers
   ========================================================= */
.container { width: 100%; max-width: var(--w-container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: var(--w-narrow); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* =========================================================
   4. Section heading
   ========================================================= */
.sec-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head--left { text-align: left; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-gold); background: var(--c-gold-soft);
  padding: .35em 1em; border-radius: 999px; margin-bottom: 1em;
}
.sec-title {
  position: relative; display: inline-block; margin-bottom: .4em;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
}
.sec-title .hl {
  background: linear-gradient(transparent 62%, #fbd6de 62%);
  padding-inline: .1em;
}
.sec-lead { color: var(--c-ink-soft); max-width: 640px; margin-inline: auto; font-size: .98rem; }
.sec-head--left .sec-lead { margin-inline: 0; }

/* =========================================================
   5. Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  line-height: 1.2; padding: .95em 1.8em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #ef7d93, var(--c-primary));
  color: #fff; box-shadow: 0 10px 24px rgba(232, 96, 122, .34);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(232, 96, 122, .44); }

.btn--ghost {
  background: #fff; color: var(--c-primary-deep);
  border-color: var(--c-line-strong); box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--c-primary-dark); border-color: var(--c-primary); }

.btn--sm { font-size: .86rem; padding: .7em 1.3em; }
.btn--block { display: flex; width: 100%; }
.btn .btn-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72em; opacity: .9; }

/* =========================================================
   6. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 252, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(168, 74, 94, .08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6em; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand__mark {
  width: 40px; height: 40px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd3dc, var(--c-primary));
  box-shadow: 0 6px 14px rgba(232, 96, 122, .35);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: .06em; }
.brand__tag { font-size: .64rem; color: var(--c-ink-mute); letter-spacing: .08em; }

.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; padding: .55em .85em; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--c-ink); white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--c-primary-soft); color: var(--c-primary-deep); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: .72em 1.35em; font-size: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 0; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: var(--c-ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   7. Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% 10%, #ffe3e9 0%, rgba(255,227,233,0) 60%),
    radial-gradient(50% 70% at 4% 90%, #fff2e2 0%, rgba(255,242,226,0) 55%),
    linear-gradient(180deg, #fff9fa 0%, #fdf1f4 100%);
  padding-block: clamp(40px, 6vw, 76px) clamp(56px, 8vw, 96px);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero__copy { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 999px; padding: .4em 1.1em; font-size: .78rem;
  font-weight: 700; color: var(--c-primary-deep); box-shadow: var(--shadow-sm);
  margin-bottom: 1.2em;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); }
.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.4; margin-bottom: .5em;
}
.hero__title .marker {
  background: linear-gradient(transparent 60%, #fbc9d4 60%);
  padding-inline: .08em;
  white-space: nowrap;
}
.hero__title .accent { color: var(--c-primary); }
.hero__lead { font-size: 1.02rem; color: var(--c-ink-soft); margin-bottom: 1.6em; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4em; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--c-ink-soft); }
.hero__trust span { display: inline-flex; align-items: center; gap: .4em; }
.hero__trust svg { width: 16px; height: 16px; color: var(--c-green); }

.hero__visual { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); border: 1px solid #fff;
  position: relative; z-index: 2;
}
.hero-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--c-line);
}
.hero-card__label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.hero-card__label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .68rem; color: var(--c-ink-mute); }
.hero-card__badge {
  font-size: .66rem; font-weight: 700; color: var(--c-gold);
  background: var(--c-gold-soft); border-radius: 999px; padding: .3em .8em; white-space: nowrap;
}
.hero-rank { display: grid; gap: 8px; }
.hero-rank__row {
  display: grid; grid-template-columns: 28px 42px 1fr auto;
  align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px;
  background: var(--c-bg); border: 1px solid transparent;
}
.hero-rank__row:nth-child(1) { background: #fff6e0; border-color: #f4e3b8; }
.hero-rank__no {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  background: var(--c-line); color: var(--c-ink-soft);
}
.hero-rank__row:nth-child(1) .hero-rank__no { background: linear-gradient(135deg,#f3cf6a,#c9a227); color: #fff; }
.hero-rank__row:nth-child(2) .hero-rank__no { background: #d7dbe0; color: #fff; }
.hero-rank__row:nth-child(3) .hero-rank__no { background: #e8c3a6; color: #fff; }
.hero-rank__logo {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .8rem;
}
.hero-rank__name { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.hero-rank__name small { display: block; font-weight: 400; font-size: .68rem; color: var(--c-ink-mute); }
.hero-rank__score { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: .95rem; }
.hero-rank__score small { font-size: .6rem; color: var(--c-ink-mute); }

.hero-float {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px 14px; display: flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700;
}
.hero-float--a { top: -34px; left: 16px; animation: floaty 5s ease-in-out infinite; }
.hero-float--b { bottom: -22px; right: -8px; animation: floaty 6s ease-in-out infinite .8s; }
.hero-float__icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.hero-float__icon svg { width: 19px; height: 19px; }
.hero-float small { display: block; font-weight: 400; font-size: .66rem; color: var(--c-ink-mute); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .6; z-index: 0; }
.hero-blob--1 { width: 220px; height: 220px; background: #ffe0e6; top: -60px; right: -40px; }
.hero-blob--2 { width: 160px; height: 160px; background: #fdeccd; bottom: -50px; left: -30px; }

/* stats bar */
.stats-bar {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(28px, 4vw, 44px); overflow: hidden;
}
.stat { padding: 18px 16px; text-align: center; border-right: 1px solid var(--c-line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--c-primary); line-height: 1.1; }
.stat__num small { font-size: .5em; margin-left: 2px; }
.stat__label { font-size: .74rem; color: var(--c-ink-soft); margin-top: 4px; }

/* =========================================================
   8. Category cards
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f3c9d2; }
.cat-card__icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary-dark); margin-bottom: 4px;
}
.cat-card__icon svg { width: 28px; height: 28px; }
.cat-card:nth-child(2) .cat-card__icon { background: #eef3ff; color: #4a6fd4; }
.cat-card:nth-child(3) .cat-card__icon { background: #fff3e2; color: #d98b2b; }
.cat-card:nth-child(4) .cat-card__icon { background: #edf7f1; color: #2f9e6e; }
.cat-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--c-ink); }
.cat-card__desc { font-size: .78rem; color: var(--c-ink-soft); line-height: 1.7; }
.cat-card__count { font-size: .7rem; color: var(--c-ink-mute); }

/* =========================================================
   9. Service cards
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f3c9d2; }
.service-card__head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 0; }
.service-card__logo {
  width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .92rem; letter-spacing: .02em;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.12);
}
.service-card__title-wrap { flex: 1; min-width: 0; }
.service-card__cat { font-size: .68rem; font-weight: 700; color: var(--c-primary-deep); letter-spacing: .05em; }
.service-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; line-height: 1.35; margin: 2px 0 0; }
.service-card__title a { color: inherit; }
.service-card__body { padding: 12px 20px 0; flex: 1; }
.service-card__desc { font-size: .82rem; color: var(--c-ink-soft); line-height: 1.75; margin-bottom: 12px; }
.service-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  display: inline-block; font-size: .68rem; font-weight: 700; line-height: 1;
  padding: .5em .8em; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-deep);
}
.tag--gold { background: var(--c-gold-soft); color: #8f7216; }
.tag--green { background: var(--c-green-soft); color: #23764f; }
.tag--gray { background: #f2eef0; color: var(--c-ink-soft); }
.service-card__price { font-size: .78rem; color: var(--c-ink-soft); display: flex; align-items: baseline; gap: 6px; }
.service-card__price strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--c-ink); }
.service-card__foot { padding: 16px 20px 20px; display: grid; gap: 8px; }

.rank-badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: linear-gradient(135deg, #f3cf6a, var(--c-gold));
  color: #fff; font-family: var(--font-head); font-weight: 700;
  padding: .35em 1em .4em; border-radius: 0 0 12px 0; font-size: .8rem;
  box-shadow: 0 4px 12px rgba(201, 162, 39, .35);
}
.rank-badge--2 { background: linear-gradient(135deg,#c3c9d1,#9aa2ad); box-shadow: 0 4px 12px rgba(150,160,175,.35); }
.rank-badge--3 { background: linear-gradient(135deg,#e6bfa1,#c98f66); box-shadow: 0 4px 12px rgba(201,143,102,.35); }

/* score */
.score { display: inline-flex; align-items: center; gap: 6px; }
.score__stars { position: relative; display: inline-block; font-size: .92rem; line-height: 1; color: #e6d9dc; letter-spacing: 1px; }
.score__stars::before { content: "★★★★★"; }
.score__fill { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--c-gold); }
.score__fill::before { content: "★★★★★"; }
.score__num { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: .92rem; }
.score__num small { font-size: .66rem; color: var(--c-ink-mute); font-weight: 400; }

/* =========================================================
   10. Ranking list (ranking page + front top5)
   ========================================================= */
.rank-list { display: grid; gap: 20px; }
.rank-item {
  position: relative; display: grid; grid-template-columns: 78px 1fr 220px; gap: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rank-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rank-item--1 { border-color: #f0dcae; }
.rank-item__rank {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fff8e8, #fff); border-right: 1px dashed var(--c-line);
  padding: 18px 8px; gap: 2px;
}
.rank-item--1 .rank-item__rank { background: linear-gradient(180deg, #fff3d4, #fffaf0); }
.rank-item__rank-label { font-size: .6rem; letter-spacing: .1em; color: var(--c-ink-mute); }
.rank-item__rank-no { font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--c-gold); }
.rank-item--2 .rank-item__rank-no { color: #9aa2ad; }
.rank-item--3 .rank-item__rank-no { color: #c98f66; }
.rank-item__main { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.rank-item__logo { width: 56px; height: 56px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.rank-item__info { flex: 1; min-width: 0; }
.rank-item__title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; line-height: 1.35; }
.rank-item__title a { color: inherit; }
.rank-item__desc { font-size: .82rem; color: var(--c-ink-soft); margin-bottom: 8px; line-height: 1.7; }
.rank-item__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rank-item__side {
  border-left: 1px solid var(--c-line); padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
  background: linear-gradient(180deg, #fffdfd, #fff9fa);
}
.rank-item__price { font-size: .74rem; color: var(--c-ink-soft); text-align: center; }
.rank-item__price strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--c-ink); }
.rank-item__side .btn { width: 100%; }

/* =========================================================
   11. Features / steps
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.feature-card__no {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--c-primary); background: var(--c-primary-soft);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 14px;
}
.feature-card__title { font-size: 1.08rem; margin-bottom: .4em; }
.feature-card__text { font-size: .85rem; color: var(--c-ink-soft); margin: 0; line-height: 1.8; }

/* =========================================================
   12. Column / post cards
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative;
  background: linear-gradient(135deg, #ffe8ec, #fff4e6); overflow: hidden;
}
.post-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.7), transparent 45%);
}
.post-card__thumb svg { width: 44px; height: 44px; color: rgba(232, 96, 122, .55); position: relative; z-index: 1; }
.post-card:nth-child(3n+2) .post-card__thumb { background: linear-gradient(135deg, #eef2ff, #f6f0ff); }
.post-card:nth-child(3n+2) .post-card__thumb svg { color: rgba(108, 124, 205, .55); }
.post-card:nth-child(3n+3) .post-card__thumb { background: linear-gradient(135deg, #eaf7ef, #f6fbe8); }
.post-card:nth-child(3n+3) .post-card__thumb svg { color: rgba(47, 158, 110, .5); }
.post-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.post-card__cat { font-size: .68rem; font-weight: 700; color: var(--c-primary-deep); margin-bottom: 6px; }
.post-card__title { font-size: .98rem; line-height: 1.55; margin-bottom: 8px; }
.post-card__title a { color: inherit; }
.post-card__meta { margin-top: auto; font-size: .72rem; color: var(--c-ink-mute); display: flex; gap: 10px; }

/* =========================================================
   13. FAQ
   ========================================================= */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__q {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  list-style: none; position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-primary); color: #fff;
  font-size: .8rem; font-family: var(--font-head);
}
.faq__q::after {
  content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--c-primary);
  transition: transform .2s ease; line-height: 1;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px 62px; font-size: .88rem; color: var(--c-ink-soft); line-height: 1.85; }
.faq__a p:last-child { margin-bottom: 0; }

/* =========================================================
   14. CTA band
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f06f8a 0%, var(--c-primary) 45%, #d64f6c 100%);
  color: #fff; padding: clamp(32px, 5vw, 56px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band::before { width: 260px; height: 260px; top: -120px; right: -60px; }
.cta-band::after { width: 180px; height: 180px; bottom: -90px; left: -40px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band__title { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: .4em; }
.cta-band__text { color: rgba(255,255,255,.92); font-size: .92rem; margin-bottom: 1.6em; }
.cta-band .btn--ghost { background: #fff; border-color: #fff; color: var(--c-primary-deep); }
.cta-band .btn--primary { background: #fff; color: var(--c-primary-deep); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =========================================================
   15. Breadcrumb
   ========================================================= */
.breadcrumb {
  font-size: .76rem; color: var(--c-ink-mute); padding-block: 16px;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--c-line-strong); }
.breadcrumb a { color: var(--c-ink-soft); }
.breadcrumb a:hover { color: var(--c-primary); }

/* =========================================================
   16. Page hero (inner pages)
   ========================================================= */
.page-hero {
  background:
    radial-gradient(70% 100% at 85% 0%, #ffe6ec 0%, rgba(255,230,236,0) 60%),
    linear-gradient(180deg, #fff9fa, #fdf3f5);
  padding-block: clamp(28px, 5vw, 52px) clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--c-line);
}
.page-hero__eyebrow { font-size: .74rem; letter-spacing: .14em; color: var(--c-gold); font-weight: 700; margin-bottom: .5em; text-transform: uppercase; }
.page-hero__title { margin-bottom: .3em; }
.page-hero__lead { color: var(--c-ink-soft); font-size: .94rem; max-width: 46em; margin: 0; }

/* =========================================================
   17. Article body
   ========================================================= */
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.entry-main { min-width: 0; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.4; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .76rem; color: var(--c-ink-mute); margin-top: .8em; }
.entry-meta .cat { color: var(--c-primary-deep); font-weight: 700; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-sm); }

.entry-content { font-size: 1rem; line-height: 1.95; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin-top: 2.2em; margin-bottom: .7em;
  padding: .55em .8em; background: var(--c-primary-soft); border-radius: var(--radius-sm);
  border-left: 5px solid var(--c-primary);
}
.entry-content h3 {
  font-size: 1.2rem; margin-top: 1.8em; margin-bottom: .5em;
  padding-bottom: .3em; border-bottom: 2px dashed var(--c-line);
}
.entry-content h4 { font-size: 1.05rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 1em 1.2em 1em 2.4em; }
.entry-content ul li::marker { content: "✓ "; color: var(--c-primary); font-weight: 700; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 1em 1.4em; background: var(--c-bg-alt);
  border-left: 4px solid var(--c-line-strong); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--c-ink-soft); font-size: .92rem;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: .8em 1em; text-align: left; }
.entry-content th { background: var(--c-bg-alt); font-weight: 700; white-space: nowrap; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .wp-caption-text { font-size: .76rem; color: var(--c-ink-mute); text-align: center; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

.entry-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* sidebar */
.widget-area { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.widget__title { font-size: 1rem; margin-bottom: .9em; padding-bottom: .5em; border-bottom: 1px solid var(--c-line); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { margin: 0; border-bottom: 1px dashed var(--c-line); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { display: block; padding: .6em 0; font-size: .85rem; color: var(--c-ink-soft); }
.widget ul li a:hover { color: var(--c-primary); }
.side-rank { counter-reset: sr; }
.side-rank li { counter-increment: sr; display: flex; gap: 10px; padding: .6em 0; align-items: flex-start; border-bottom: 1px dashed var(--c-line); }
.side-rank li::before {
  content: counter(sr); flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary-deep);
  display: grid; place-items: center; font-size: .68rem; font-weight: 700; margin-top: 2px;
}
.side-rank li a { padding: 0; font-size: .84rem; }

/* =========================================================
   18. Service single
   ========================================================= */
.service-hero {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 34px); box-shadow: var(--shadow); margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.service-hero::before {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, #fff3f5, transparent 70%); top: -100px; right: -80px;
}
.service-hero__logo {
  width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  box-shadow: inset 0 -3px 10px rgba(0,0,0,.15);
}
.service-hero__body { min-width: 0; }
.service-hero__cat { font-size: .76rem; font-weight: 700; color: var(--c-primary-deep); }
.service-hero__title { font-size: clamp(1.4rem, 3.4vw, 2rem); margin: .1em 0 .3em; }
.service-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .82rem; color: var(--c-ink-soft); }
.service-hero__cta { display: grid; gap: 8px; min-width: 210px; }
.service-hero__cta .pr { font-size: .66rem; color: var(--c-ink-mute); text-align: center; }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-line); vertical-align: top; text-align: left; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; background: var(--c-bg-alt); font-weight: 700; white-space: nowrap; font-size: .84rem; }

.point-list { display: grid; gap: 14px; }
.point-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.point-item__no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.point-item__body h3 { font-size: 1rem; margin-bottom: .3em; }
.point-item__body p { font-size: .86rem; color: var(--c-ink-soft); margin: 0; line-height: 1.8; }

.cta-inline {
  background: linear-gradient(135deg, #fff6f8, #fff); border: 1px solid #f6d3da;
  border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.cta-inline__title { font-size: 1.1rem; margin-bottom: .3em; }
.cta-inline__text { font-size: .82rem; color: var(--c-ink-soft); margin-bottom: 1.1em; }
.cta-inline .pr { font-size: .66rem; color: var(--c-ink-mute); margin-top: .7em; margin-bottom: 0; }

/* =========================================================
   19. Comparison table
   ========================================================= */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 860px; }
.compare-table th, .compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: center; }
.compare-table thead th { background: var(--c-primary-soft); color: var(--c-primary-deep); font-family: var(--font-head); font-weight: 700; position: sticky; top: 0; }
.compare-table tbody tr:hover { background: #fffafb; }
.compare-table td.name { text-align: left; min-width: 200px; }
.compare-table td.name a { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); font-size: .92rem; }
.compare-table td.name span { display: block; font-size: .68rem; color: var(--c-ink-mute); font-weight: 400; }
.compare-table .rank-cell { font-family: var(--font-head); font-weight: 700; color: var(--c-gold); font-size: 1rem; }

/* =========================================================
   20. Archive / listing
   ========================================================= */
.archive-head { text-align: center; margin-bottom: 32px; }
.service-list { display: grid; gap: 18px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border-radius: 12px; background: #fff; border: 1px solid var(--c-line);
  color: var(--c-ink-soft); font-size: .86rem;
}
.pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .page-numbers:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* =========================================================
   21. Footer
   ========================================================= */
.site-footer { background: #2e2a2b; color: #cfc6c8; margin-top: 0; }
.footer-top { padding-block: clamp(40px, 6vw, 64px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand__tag { color: #9a9093; }
.footer-brand p { font-size: .8rem; color: #a89ea0; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: .88rem; margin-bottom: .9em; letter-spacing: .06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col a { display: block; padding: .38em 0; color: #bdafb2; font-size: .8rem; }
.footer-col a:hover { color: #fff; }
.footer-pr {
  margin-top: 28px; padding: 16px 18px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm);
  font-size: .72rem; color: #a89ea0; line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  font-size: .72rem; color: #8f8587;
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #a89ea0; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--c-primary); box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* sticky mobile CTA */
.mobile-cta { display: none; }

/* =========================================================
   22. Utility / WP core
   ========================================================= */
.alignwide { width: min(100vw - 40px, 1080px); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption { font-size: .76rem; color: var(--c-ink-mute); }
.pr-label { font-size: .68rem; color: var(--c-ink-mute); border: 1px solid var(--c-line); border-radius: 4px; padding: .1em .4em; }

.notice-box {
  background: var(--c-gold-soft); border: 1px solid #eeddb0; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .8rem; color: #7d6515; line-height: 1.8;
}
.notice-box strong { color: #6b5610; }

/* =========================================================
   23. Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-layout { grid-template-columns: 1fr; }
  .widget-area { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow); padding: 12px 20px 20px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: .8em 1em; font-size: .95rem; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-inner { position: relative; }
  .rank-item { grid-template-columns: 62px 1fr; }
  .rank-item__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--c-line); flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 18px; }
  .rank-item__side .btn { width: auto; }
  .rank-item__price { text-align: left; }
  .service-hero { grid-template-columns: 76px 1fr; }
  .service-hero__logo { width: 76px; height: 76px; border-radius: 20px; font-size: 1.2rem; }
  .service-hero__cta { grid-column: 1 / -1; min-width: 0; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
  .feature-grid,
  .feature-grid--4 { grid-template-columns: 1fr; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--c-line);
    box-shadow: 0 -6px 20px rgba(168,74,94,.10);
  }
  .mobile-cta .btn { flex: 1; padding: .8em 1em; font-size: .86rem; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 84px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.85; }
  .container { padding-inline: 16px; }
  .cat-grid, .service-grid, .post-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: 1.75rem; }
  .hero-float { display: none; }
  .widget-area { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .faq__a { padding-left: 20px; }
  .service-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .service-hero__logo { width: 72px; height: 72px; }
  .service-hero__meta { justify-content: center; }
  .entry-content h2 { font-size: 1.15rem; }
  .rank-item__main { padding: 14px; }
  .rank-item__logo { width: 46px; height: 46px; border-radius: 12px; font-size: .78rem; }
  .rank-item__title { font-size: 1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
