/* ==========================================
   香水村 — Editorial Monochrome (white base)
   ========================================== */

/* Fonts loaded via <link> in base.html for performance */

:root {
    --bg: #ffffff;            /* white base (VOGUE) */
    --surface: #ffffff;
    --surface2: #f6f6f4;      /* faint neutral panel */
    --border: #ececec;
    --border-accent: #d6d6d4;
    --text: #141414;          /* ink */
    --text2: #8a8a87;         /* gray */
    --accent: #141414;        /* monochrome accent = ink */
    --accent-hover: #000000;
    --blue: #6f6f6c;          /* neutral secondary */
    --blue-light: rgba(20,20,20,.05);
    --blue-hover: #141414;
    --pink: #b8b8b5;
    --pink-light: rgba(20,20,20,.045);
    --green: #5f7a52;
    --green-light: rgba(95,122,82,.10);
    --shadow: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-hover: 0 16px 40px rgba(0,0,0,0.08);
    --heading: 'Shippori Mincho', 'Noto Serif JP', serif;
    --serif-en: 'Cormorant Garamond', 'Shippori Mincho', serif;
    --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --r: 6px;
    --r-lg: 10px;
    --max: 1000px;
}
[data-theme="dark"] {
    --bg: #0e0e0e;            /* clean dark */
    --surface: #161616;
    --surface2: #1d1d1d;
    --border: #2a2a2a;
    --border-accent: #3a3a3a;
    --text: #f2f1ee;
    --text2: #9a9a96;
    --accent: #f2f1ee;        /* ink-on-dark = near white */
    --accent-hover: #ffffff;
    --blue: #b0b0ad;
    --blue-light: rgba(255,255,255,.06);
    --blue-hover: #f2f1ee;
    --pink: #9a9a97;
    --pink-light: rgba(255,255,255,.06);
    --green: #8aa676;
    --green-light: rgba(138,166,118,.12);
    --shadow: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-hover: 0 16px 40px rgba(0,0,0,0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

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

/* ==========================================
   Header — compact single row
   ========================================== */
.header {
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.85);
    transition: background .3s;
}
[data-theme="dark"] .header { background: rgba(14,14,14,.85); }
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    font-family: var(--heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .08em;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    position: relative;
}
.logo:hover { color: var(--accent); }
.logo-en { position: absolute; top: calc(100% + 3px); left: 0; font-family: var(--sans); font-size: .5rem; font-weight: 500; letter-spacing: .34em; color: var(--text2); }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a {
    color: var(--text2);
    font-size: .76rem;
    font-weight: 400;
    letter-spacing: .03em;
    white-space: nowrap;
}
.nav a:hover { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-search input {
    width: 160px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    color: var(--text);
    font-size: .78rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.header-search input:focus { outline: none; border-color: var(--blue); }
.theme-btn { background: none; border: none; cursor: pointer; font-size: .9rem; padding: 4px; line-height: 1; opacity: .6; transition: opacity .2s; }
.theme-btn:hover { opacity: 1; }

/* ==========================================
   Hero — minimal
   ========================================== */
.hero {
    padding: 84px 0 56px;
    text-align: center;
}
.hero h1 {
    font-family: var(--heading);
    font-size: 2.7rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .02em;
    margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.hero-sub {
    color: var(--text2);
    font-size: .92rem;
    line-height: 1.9;
    margin-bottom: 30px;
    font-weight: 400;
}
/* エディトリアルなキッカー（飾り罫） */
.hero::before {
    content: "";
    display: block;
    width: 38px; height: 1px;
    background: var(--accent);
    margin: 0 auto 26px;
    opacity: .7;
}
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-accent);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--text);
    font-size: .85rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.search-form input:focus { outline: none; border-color: var(--accent); }
.search-form input::placeholder { color: var(--text2); }
.search-form button {
    padding: 12px 26px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: var(--r);
    font-weight: 500;
    font-size: .82rem;
    letter-spacing: .03em;
    font-family: var(--sans);
    cursor: pointer;
    transition: opacity .15s;
}
.search-form button:hover { opacity: .85; }

/* ==========================================
   Section — reusable
   ========================================== */
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}
.section-head h2 {
    font-family: var(--heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.section-head a { font-size: .75rem; color: var(--text2); }
.section-head a:hover { color: var(--accent); }

/* ==========================================
   Card grid — 4 col default
   ========================================== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    transition: box-shadow .2s, transform .15s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 2px; border-radius: var(--r); background: var(--surface2); }
.card strong { font-family: var(--heading); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.card .meta { font-size: .72rem; }
.card--brand { padding: 18px; }
.card--brand strong { font-size: .95rem; }

/* ==========================================
   List — simple rows
   ========================================== */
.list-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { color: var(--accent); }
.list-row strong { font-family: var(--heading); font-size: .95rem; font-weight: 600; }
.list-row time { white-space: nowrap; flex-shrink: 0; }

/* ==========================================
   Ranking — horizontal compact
   ========================================== */
.ranking-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.ranking-strip::-webkit-scrollbar { display: none; }
.ranking-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    transition: box-shadow .15s;
    font-size: .82rem;
}
.ranking-chip:hover { box-shadow: var(--shadow-hover); }
.ranking-chip .rank-num {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: .65rem; font-weight: 700;
    font-family: var(--heading);
    border: 1px solid var(--border);
    color: var(--text2);
    flex-shrink: 0;
}
.ranking-chip .rank-num--top {
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #fff; border-color: transparent;
}
.ranking-chip strong { font-family: var(--heading); font-weight: 600; }
.ranking-chip .meta { font-size: .68rem; }

/* ==========================================
   Page — list pages (single column)
   ========================================== */
.page { padding: 40px 0 56px; }
.page-title {
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.page-desc { color: var(--text2); font-size: .85rem; font-weight: 300; margin-bottom: 24px; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    font-size: .75rem;
    color: var(--text2);
    transition: all .15s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag--active:hover { color: #fff; }

/* Sort bar */
.sort-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .82rem; }
.sort-bar label { color: var(--text2); white-space: nowrap; }
.sort-bar select { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--text); font-size: .82rem; font-family: var(--sans); }

/* Placeholder image */
.img-placeholder { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: var(--surface2); border-radius: var(--r); color: var(--text2); font-size: .75rem; margin-bottom: 2px; }

/* ==========================================
   Detail page
   ========================================== */
.detail-top { display: flex; gap: 36px; margin-bottom: 36px; }
.detail-img { flex: 0 0 200px; }
.detail-img img { width: 200px; height: 240px; object-fit: contain; border-radius: var(--r-lg); background: var(--surface2); padding: 12px; }
.detail-info { flex: 1; }
.detail-brand { font-size: .78rem; color: var(--text2); font-weight: 400; letter-spacing: .02em; }
.detail-brand:hover { color: var(--accent); }
.detail-info h1 { font-family: var(--heading); font-size: 1.5rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.detail-price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-price { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.detail-desc { color: var(--text2); margin-bottom: 20px; font-weight: 300; line-height: 1.8; font-size: .88rem; }

.detail-specs { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-spec {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 16px; background: var(--surface2);
    border-radius: var(--r); min-width: 80px;
}
.detail-spec-label { font-size: .65rem; color: var(--text2); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.detail-spec-value { font-family: var(--heading); font-size: .9rem; font-weight: 600; }

.notes { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .85rem; }
.notes dt { color: var(--accent); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.notes dd { margin: 0; font-weight: 300; }

.buy-links { display: flex; gap: 8px; }
.btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: var(--r);
    font-weight: 500;
    font-size: .82rem;
    letter-spacing: .03em;
    font-family: var(--sans);
    background: var(--accent);
    color: #fff;
    transition: background .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--sub { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--sub:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.detail-section { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.detail-section h2 {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Dupe cards */
.dupe-card {
    display: flex; gap: 14px; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--r-lg);
    background: var(--surface); color: var(--text);
    transition: box-shadow .2s, border-color .2s;
    margin-bottom: 10px;
}
.dupe-card:hover { box-shadow: var(--shadow-hover); border-color: var(--border-accent); color: var(--text); }
.dupe-card-left { flex-shrink: 0; }
.dupe-card-img { width: 64px; height: 80px; object-fit: contain; border-radius: var(--r); background: var(--surface2); }
.dupe-card-body { flex: 1; min-width: 0; }
.dupe-card-brand { font-size: .72rem; color: var(--text2); }
.dupe-card-name { display: block; font-family: var(--heading); font-size: .95rem; font-weight: 600; margin: 2px 0 8px; }
.dupe-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.dupe-tag { font-size: .68rem; font-weight: 500; padding: 3px 10px; border-radius: 12px; background: var(--surface2); color: var(--text2); white-space: nowrap; }
.dupe-tag--sim { background: var(--blue-light); color: var(--blue); }
.dupe-tag--save { background: var(--green-light); color: var(--green); font-weight: 600; }
.dupe-card-comment { font-size: .8rem; color: var(--text2); line-height: 1.7; font-weight: 300; }

.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: none; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.review p { font-size: .85rem; color: var(--text2); font-weight: 300; }

/* ==========================================
   Article body
   ========================================== */
.article-hero { margin-bottom: 32px; }
.article-hero .page-title { font-size: 1.6rem; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article-category {
    display: inline-block; font-size: .68rem; font-weight: 600;
    padding: 4px 12px; border-radius: 14px;
    background: var(--accent); color: #fff;
    letter-spacing: .03em;
}
.article-date { font-size: .8rem; color: var(--text2); }
.article-featured {
    display: inline-block; font-size: .68rem; font-weight: 600;
    padding: 4px 12px; border-radius: 14px;
    background: #d4a017; color: #fff;
    letter-spacing: .03em;
}
.article-tag {
    display: inline-block; font-size: .72rem; color: var(--text2);
    text-decoration: none;
}
.article-summary {
    font-size: .88rem; color: var(--text2); font-weight: 300;
    line-height: 1.8; margin-top: 4px;
}

.article-body { margin-top: 36px; line-height: 2; font-weight: 300; font-size: .92rem; }
.article-body h2 {
    font-family: var(--heading); font-size: 1.2rem; font-weight: 700;
    margin: 48px 0 16px; padding: 12px 16px;
    background: var(--surface2); border-radius: var(--r);
    border-left: 4px solid var(--accent);
    line-height: 1.5;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    font-family: var(--heading); font-size: 1.02rem; font-weight: 600;
    margin: 32px 0 10px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1.5;
}
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body li strong { color: var(--text); font-weight: 600; }
.article-body strong { font-weight: 600; }

/* Article callout boxes */
.article-body blockquote {
    margin: 20px 0; padding: 16px 20px;
    background: var(--blue-light); border-left: 4px solid var(--blue);
    border-radius: 0 var(--r) var(--r) 0;
    font-size: .88rem; color: var(--text);
}

/* Article table of contents feel for related section */
.article-related { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--border); }
.article-related h2 {
    font-family: var(--heading); font-size: 1.1rem; font-weight: 600;
    margin-bottom: 16px; padding: 0; background: none; border-left: none;
}

/* Article list rows */
.article-row {
    display: block; padding: 20px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text); transition: all .15s;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { color: var(--text); }
.article-row:hover .article-row-title { color: var(--accent); }
.article-row-body { display: flex; flex-direction: column; gap: 6px; }
.article-row-meta { display: flex; align-items: center; gap: 10px; }
.article-row-title {
    font-family: var(--heading); font-size: 1.02rem; font-weight: 600;
    line-height: 1.5; transition: color .15s;
}
.article-row-summary { font-size: .82rem; color: var(--text2); font-weight: 300; line-height: 1.7; margin: 0; }

/* Article row with thumbnail */
.article-row--has-thumb { display: flex; gap: 16px; align-items: flex-start; }
.article-row-thumb { flex-shrink: 0; width: 120px; height: 80px; border-radius: var(--r); overflow: hidden; background: var(--surface2); }
.article-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Rank badge for popular articles */
.rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: .68rem; font-weight: 700;
    font-family: var(--heading);
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: #fff; margin-right: 8px; flex-shrink: 0;
    vertical-align: middle;
}

/* ==========================================
   Badges
   ========================================== */
.savings {
    font-size: .62rem; font-weight: 600;
    color: var(--green); background: var(--green-light);
    padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}
.badge-dupe {
    font-size: .62rem; font-weight: 600;
    color: var(--accent); background: var(--pink-light);
    padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}

/* ==========================================
   Shared
   ========================================== */
.meta { font-size: .75rem; color: var(--text2); font-weight: 400; }
.label-sm { display: inline-block; font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--text2); }
.empty { color: var(--text2); text-align: center; padding: 40px 0; font-weight: 300; }
.search-count { font-size: .88rem; color: var(--text2); margin-bottom: 16px; }

/* ==========================================
   Footer — simple
   ========================================== */
.footer {
    margin-top: 48px;
    padding: 28px 0 20px;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.footer-brand p { font-size: .78rem; color: var(--text2); font-weight: 300; margin-top: 2px; }
.footer-links { display: flex; gap: 32px; }
.footer-links div strong {
    display: block; font-size: .65rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .08em; color: var(--text2); margin-bottom: 6px;
}
.footer-links a { display: block; font-size: .78rem; color: var(--text2); padding: 2px 0; font-weight: 300; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { text-align: center; font-size: .68rem; color: var(--text2); margin-top: 20px; padding: 0 24px; }

/* ==========================================
   About
   ========================================== */
.about-page h1 { font-family: var(--heading); font-size: 1.8rem; margin-bottom: 28px; }
.about-section { margin-bottom: 28px; }
.about-section h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; border-left: 3px solid var(--accent); padding-left: 10px; }
.about-section h3 { font-family: var(--heading); font-size: .95rem; font-weight: 600; margin: 20px 0 8px; }
.about-section p { line-height: 1.85; margin-bottom: 10px; font-weight: 300; }
.about-section ul { padding-left: 20px; line-height: 1.85; margin-bottom: 12px; }
.about-section li { margin-bottom: 6px; font-weight: 300; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 16px 0; }
.pillar-card {
    padding: 16px 14px; background: var(--surface2);
    border-radius: var(--r-lg); border: 1px solid var(--border);
}
.pillar-card strong { font-family: var(--heading); font-size: .88rem; display: block; margin-bottom: 4px; }
.pillar-card p { font-size: .76rem; color: var(--text2); font-weight: 300; line-height: 1.5; margin: 0; }

/* ==========================================
   Breadcrumb
   ========================================== */
.breadcrumb { font-size: .8rem; color: var(--text2); margin-bottom: 20px; padding-top: 20px; }
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--accent); }

/* ==========================================
   Forms
   ========================================== */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 4px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--text);
    font-size: .85rem;
    font-family: var(--sans);
    transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); outline: none; }
.form-group input[type="checkbox"] { width: auto; margin-right: 6px; }
.form-error { color: #c0392b; font-size: .75rem; margin-top: 2px; display: block; }
.review-form-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-form-section h3 { font-family: var(--heading); font-size: .95rem; font-weight: 600; margin-bottom: 12px; }
.contact-form { margin-top: 20px; }

/* ==========================================
   Alerts
   ========================================== */
.alert { padding: 12px 16px; border-radius: var(--r); margin: 14px 0; font-size: .85rem; }
.alert--success { background: var(--green-light); color: var(--green); border: 1px solid rgba(92,184,122,.12); }

/* ==========================================
   Pagination
   ========================================== */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.pagination-link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--border); border-radius: 17px; font-size: .82rem; color: var(--text2); transition: all .15s; }
.pagination-link:hover { border-color: var(--accent); color: var(--accent); }
.pagination-link--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ==========================================
   Frag list (brand detail)
   ========================================== */
.frag-list { list-style: none; }
.frag-list li { border-bottom: 1px solid var(--border); }
.frag-list li:last-child { border-bottom: none; }
.frag-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text); }
.frag-list a:hover { color: var(--accent); }

/* ==========================================
   Accessibility
   ========================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .header-inner { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
    .nav { gap: 12px; order: 3; width: 100%; overflow-x: auto; }
    .nav a { font-size: .7rem; }
    .header-search input { width: 120px; }
    .hero { padding: 44px 0 32px; }
    .hero h1 { font-size: 1.5rem; }
    .search-form { flex-direction: column; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .detail-top { flex-direction: column; gap: 20px; }
    .detail-img { flex: none; text-align: center; }
    .detail-img img { margin: 0 auto; width: 160px; height: 200px; }
    .detail-specs { gap: 8px; }
    .detail-spec { padding: 8px 12px; min-width: 70px; }
    .dupe-card { padding: 12px; }
    .dupe-card-img { width: 52px; height: 64px; }
    .article-hero .page-title { font-size: 1.3rem; }
    .article-row-thumb { width: 90px; height: 60px; }
    .article-summary { font-size: .85rem; padding: 12px 14px; }
    .article-body h2 { font-size: 1.05rem; padding: 10px 12px; margin: 36px 0 12px; }
    .article-body h3 { font-size: .95rem; margin: 24px 0 8px; }
    .footer-inner { flex-direction: column; gap: 16px; }
    .footer-links { flex-direction: column; gap: 16px; }
    .pillar-grid { grid-template-columns: 1fr; }
    .ranking-strip { gap: 6px; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .card { padding: 10px; }
    .card img { height: 100px; }
}

/* ===== 診断・新ポジショニング向けコンポーネント ===== */

/* ナビのCTA（香水診断） */
.nav a.nav-cta {
    color: var(--bg);
    background: var(--accent);
    padding: 7px 16px;
    border-radius: var(--r);
    font-weight: 500;
    letter-spacing: .02em;
}
.nav a.nav-cta:hover { background: var(--accent-hover); color: var(--bg); }

/* ヒーローCTAボタン */
.btn-hero {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    font-size: .98rem;
    letter-spacing: .04em;
    padding: 15px 34px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .2s;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.btn-hero:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-block { display: block; width: 100%; margin: 24px 0 8px; }

/* サブヒーロー（診断・結果ページ） */
.hero--sub { padding: 48px 0 28px; }
.hero--sub h1 { font-size: 1.9rem; }

/* 狭めのコンテナ */
.wrap--narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* トップの診断バナー */
.diag-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, var(--pink-light), var(--blue-light));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 32px;
}
.diag-banner strong { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.diag-banner p { color: var(--text2); font-size: .85rem; margin: 0; }

/* 診断フォーム */
.diag-form { padding: 16px 0 48px; }
.diag-q { border: none; padding: 0; margin: 0 0 32px; }
.diag-q legend {
    font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; padding: 0;
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
}
.diag-q-num {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
    border-radius: 6px; padding: 3px 8px;
}
.diag-q-hint { font-size: .72rem; color: var(--text2); font-weight: 400; }
.diag-q--error legend { color: var(--accent); }
.diag-q--error .diag-choices { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--r); }

.diag-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.diag-choice {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--border); border-radius: var(--r);
    padding: 14px 16px; cursor: pointer; background: var(--surface);
    transition: border-color .15s, background .15s;
    font-size: .9rem;
}
.diag-choice:hover { border-color: var(--border-accent); }
.diag-choice input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.diag-choice.is-selected { border-color: var(--accent); background: var(--pink-light); }
.diag-note { font-size: .72rem; color: var(--text2); text-align: center; }

/* 診断結果カード */
.result-card {
    border: 1px solid var(--border); border-radius: var(--r-lg);
    background: var(--surface); margin-bottom: 18px; overflow: hidden; position: relative;
    box-shadow: var(--shadow);
}
.result-card--top { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.result-badge {
    display: inline-block; background: var(--accent); color: #fff;
    font-size: .7rem; font-weight: 700; padding: 6px 14px; border-bottom-right-radius: var(--r);
}
.result-card-body { display: flex; gap: 20px; padding: 20px 24px 24px; }
.result-thumb { flex-shrink: 0; width: 120px; }
.result-thumb img { width: 100%; border-radius: var(--r); background: var(--surface2); }
.result-info { flex: 1; min-width: 0; }
.result-info h2 { font-size: 1.25rem; margin: 4px 0; }
.result-desc { font-size: .85rem; color: var(--text); margin: 10px 0; line-height: 1.7; }
.result-notes { font-size: .76rem; line-height: 1.8; margin: 8px 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip {
    font-size: .7rem; background: var(--blue-light); color: var(--blue-hover);
    border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px;
}

.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn-buy {
    background: var(--accent); color: #fff; font-weight: 600; font-size: .82rem;
    padding: 9px 18px; border-radius: var(--r); transition: background .15s;
}
.btn-buy:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
    border: 1px solid var(--border-accent); color: var(--text); font-size: .82rem;
    padding: 9px 18px; border-radius: var(--r); transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* シェア */
.share-box {
    text-align: center; padding: 28px; margin: 28px 0;
    background: var(--surface2); border-radius: var(--r-lg);
}
.share-box strong { display: block; margin-bottom: 14px; font-size: .95rem; }
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-x, .share-line { color: #fff; font-weight: 600; font-size: .85rem; padding: 11px 24px; border-radius: 999px; }
.share-x { background: #000; }
.share-x:hover { background: #333; color: #fff; }
.share-line { background: #06c755; }
.share-line:hover { background: #05a648; color: #fff; }

.result-retry { text-align: center; margin: 24px 0; }
.answer-recap { margin: 24px 0; font-size: .85rem; }
.answer-recap summary { cursor: pointer; color: var(--text2); }
.answer-recap ul { list-style: none; padding: 14px 0 0; }
.answer-recap li { padding: 8px 0; border-bottom: 1px solid var(--border); }

@media (max-width: 600px) {
    .result-card-body { flex-direction: column; }
    .result-thumb { width: 100%; max-width: 160px; margin: 0 auto; }
    .diag-banner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   NEXT-GEN LAYER — 次世代エディトリアル（home / diagnosis / result）
   既存レイアウトに依存しない独立コンポーネント群（ng- / quiz-）
   ============================================================ */

/* スクロールリビール（JS有効時のみ隠す） */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* キッカー（小見出しラベル） */
.ng-kicker {
    display: inline-block; font-family: var(--sans);
    font-size: .68rem; font-weight: 600; letter-spacing: .28em;
    text-transform: uppercase; color: var(--accent);
}
.ng-kicker--invert { color: rgba(255,255,255,.7); }

/* 共通ボタン */
.ng-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .03em;
    padding: 15px 30px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .2s, color .2s;
    white-space: nowrap;
}
.ng-btn--primary { background: var(--accent); color: var(--bg); box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.ng-btn--primary:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.20); }
.ng-btn--ghost { background: transparent; color: var(--text); border-color: var(--border-accent); }
.ng-btn--ghost:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.ng-btn--lg { padding: 18px 40px; font-size: 1rem; }
.ng-btn-arrow { transition: transform .25s; }
.ng-btn:hover .ng-btn-arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.ng-hero { position: relative; overflow: hidden; padding: 120px 24px 110px; text-align: center; }
.ng-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ng-hero-bg::before, .ng-hero-bg::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
    animation: ngFloat 16s ease-in-out infinite;
}
.ng-hero-bg::before { width: 480px; height: 480px; top: -140px; left: -90px;
    background: radial-gradient(circle, rgba(20,20,20,.06), transparent 70%); opacity: 1; }
.ng-hero-bg::after { width: 440px; height: 440px; bottom: -160px; right: -70px;
    background: radial-gradient(circle, rgba(20,20,20,.05), transparent 70%); opacity: 1; animation-delay: -8s; }
[data-theme="dark"] .ng-hero-bg::before { background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%); }
[data-theme="dark"] .ng-hero-bg::after { background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%); }
@keyframes ngFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.08); } }
.ng-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ng-hero .ng-kicker { margin-bottom: 26px; }
.ng-hero-title {
    font-family: var(--heading); font-weight: 700;
    font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.25; letter-spacing: .02em;
    margin-bottom: 26px;
}
.ng-hero-title em { font-style: normal; color: var(--accent); position: relative; }
.ng-hero-lead {
    font-size: 1.02rem; line-height: 2; color: var(--text2); font-weight: 400;
    max-width: 540px; margin: 0 auto 38px;
}
.ng-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ng-hero-meta { margin-top: 22px; font-size: .76rem; letter-spacing: .12em; color: var(--text2); text-transform: uppercase; }

/* ---------- STEPS BAND ---------- */
.ng-band { background: #141414; color: #fff; padding: 96px 24px; margin: 0; }
[data-theme="dark"] .ng-band { background: #050505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ng-band .ng-btn--primary { background: #fff; color: #141414; box-shadow: none; }
.ng-band .ng-btn--primary:hover { background: #ececec; color: #141414; box-shadow: none; }
.ng-band-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.ng-band-title {
    font-family: var(--heading); font-weight: 600; color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.5; letter-spacing: .03em;
    margin: 20px 0 56px;
}
.ng-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; text-align: left; }
.ng-step { position: relative; padding: 34px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
    background: rgba(255,255,255,.03); transition: border-color .3s, transform .3s; }
.ng-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.ng-step-no, .ng-step span { font-family: var(--serif-en); font-size: 2.6rem; font-weight: 600; color: #fff; display: block; line-height: 1; margin-bottom: 18px; }
.ng-step:hover { border-color: rgba(255,255,255,.5); }
.ng-step h3 { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.ng-step p { font-size: .85rem; line-height: 1.8; color: rgba(255,255,255,.6); }

/* ---------- SECTION ---------- */
.ng-section { padding: 88px 24px; max-width: var(--max); margin: 0 auto; }
.ng-sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; gap: 16px; flex-wrap: wrap; }
.ng-sec-head h2 { font-family: var(--heading); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; letter-spacing: .03em; margin-top: 12px; }
.ng-more { font-size: .82rem; letter-spacing: .04em; color: var(--text2); white-space: nowrap; }
.ng-more:hover { color: var(--accent); }

/* ---------- FEATURE GRID（トーン色面） ---------- */
.ng-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ng-feature { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; color: var(--text); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.ng-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border-accent); color: var(--text); }
.ng-feature-visual { position: relative; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ng-feature-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 55%); mix-blend-mode: soft-light; }
.ng-feature-emoji { font-size: 3rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); transition: transform .4s; }
.ng-feature:hover .ng-feature-emoji { transform: scale(1.12) rotate(-4deg); }
.ng-feature-no { position: absolute; top: 14px; left: 16px; font-family: var(--serif-en); font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,.92); letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.ng-feature-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ng-brand { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.ng-feature-body h3 { font-family: var(--heading); font-size: 1.18rem; font-weight: 600; line-height: 1.4; }
.ng-feature-notes { font-size: .8rem; color: var(--text2); line-height: 1.7; margin: 2px 0 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ng-feature-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.ng-stars { color: var(--accent); letter-spacing: .12em; font-size: .82rem; }
.ng-stars .off { color: var(--border-accent); }
.ng-accords { font-size: .68rem; color: var(--text2); letter-spacing: .03em; }

/* ---------- JOURNAL ---------- */
.ng-journal { border-top: 1px solid var(--border); }
.ng-journal-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
    padding: 26px 8px; border-bottom: 1px solid var(--border); color: var(--text); transition: background .25s, padding .25s; }
.ng-journal-row:hover { background: var(--surface2); padding-left: 18px; padding-right: 18px; color: var(--text); }
.ng-journal-no { font-family: var(--serif-en); font-size: 1.6rem; font-weight: 600; color: var(--accent); opacity: .55; }
.ng-jcat { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }
.ng-journal-row h3 { font-family: var(--heading); font-size: 1.15rem; font-weight: 600; line-height: 1.5; margin: 4px 0 4px; transition: color .2s; }
.ng-journal-row:hover h3 { color: var(--accent); }
.ng-journal-row p { font-size: .8rem; color: var(--text2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ng-journal-row time { font-size: .76rem; color: var(--text2); white-space: nowrap; }

/* ---------- FINAL CTA ---------- */
.ng-final { padding: 110px 24px; text-align: center; background:
    radial-gradient(ellipse at 50% 0%, var(--pink-light), transparent 60%); }
.ng-final-inner { max-width: 600px; margin: 0 auto; }
.ng-final h2 { font-family: var(--heading); font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 600; letter-spacing: .03em; margin-bottom: 18px; }
.ng-final p { color: var(--text2); font-size: .95rem; line-height: 1.9; margin-bottom: 36px; }

/* ============================================================
   QUIZ — ステップ式診断
   ============================================================ */
.quiz { max-width: 680px; margin: 0 auto; padding: 56px 24px 90px; min-height: 72vh; display: flex; flex-direction: column; }
.quiz-screen { display: none; animation: quizFade .5s cubic-bezier(.2,.7,.2,1); }
.quiz-screen.is-active { display: block; }
@keyframes quizFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* intro */
.quiz-intro { text-align: center; padding-top: 40px; }
.quiz-intro h1 { font-family: var(--heading); font-size: clamp(2.2rem,6vw,3.2rem); font-weight: 700; letter-spacing: .04em; margin: 22px 0 18px; }
.quiz-intro p { color: var(--text2); line-height: 2; margin-bottom: 38px; }
.quiz-intro-meta { display: block; margin-top: 22px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text2); }

/* progress */
.quiz-progress { height: 4px; background: var(--surface2); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.quiz-progress-bar { height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.quiz-progress-text { font-family: var(--serif-en); font-size: 1rem; color: var(--text2); letter-spacing: .1em; margin-bottom: 34px; }
.quiz-progress-text span { color: var(--accent); }

/* question */
.quiz-stage { min-height: 320px; }
.quiz-qcard { animation: quizSlide .45s cubic-bezier(.2,.7,.2,1); }
@keyframes quizSlide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz-qcard.back { animation: quizSlideBack .45s cubic-bezier(.2,.7,.2,1); }
@keyframes quizSlideBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.quiz-qnum { font-family: var(--serif-en); font-size: 1rem; color: var(--accent); letter-spacing: .1em; }
.quiz-qtext { font-family: var(--heading); font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 600; line-height: 1.6; letter-spacing: .02em; margin: 8px 0 8px; }
.quiz-qhint { font-size: .76rem; color: var(--text2); margin-bottom: 26px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
    display: flex; align-items: center; gap: 14px; text-align: left;
    padding: 18px 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
    font-family: var(--sans); font-size: .98rem; color: var(--text); cursor: pointer; width: 100%;
    transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.quiz-option:hover { border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow); }
.quiz-option.selected { border-color: var(--accent); background: var(--pink-light); }
.quiz-option-mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-accent); position: relative; transition: border-color .2s; }
.quiz-option.selected .quiz-option-mark { border-color: var(--accent); }
.quiz-option.selected .quiz-option-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }

/* nav */
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 38px; }
.quiz-back { background: none; border: none; color: var(--text2); font-family: var(--sans); font-size: .85rem; cursor: pointer; padding: 8px 4px; transition: color .2s; }
.quiz-back:hover { color: var(--accent); }
.quiz-back[hidden] { visibility: hidden; }

/* analyzing */
.quiz-analyzing { text-align: center; padding-top: 90px; }
.quiz-loader { width: 56px; height: 56px; margin: 0 auto 28px; border-radius: 50%;
    border: 3px solid var(--surface2); border-top-color: var(--accent); animation: quizSpin .9s linear infinite; }
@keyframes quizSpin { to { transform: rotate(360deg); } }
.quiz-analyzing p { color: var(--text2); letter-spacing: .06em; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .ng-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ng-steps { grid-template-columns: 1fr; gap: 14px; }
    .ng-hero { padding: 88px 20px 76px; }
    .ng-section, .ng-band, .ng-final { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 520px) {
    .ng-feature-grid { grid-template-columns: 1fr; }
    .ng-journal-row { grid-template-columns: auto 1fr; gap: 14px; }
    .ng-journal-row time { display: none; }
    .ng-hero-actions .ng-btn { width: 100%; justify-content: center; }
}

/* ---------- 診断結果ページ ---------- */
.result-page { padding: 70px 24px 90px; }
.result-head { text-align: center; margin-bottom: 48px; }
.result-head h1 { font-family: var(--heading); font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 700; line-height: 1.45; letter-spacing: .03em; margin: 18px 0 16px; }
.result-head p { color: var(--text2); font-size: .92rem; line-height: 1.9; }

.rcard { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-bottom: 20px; transition: box-shadow .3s, transform .3s, border-color .3s; }
.rcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.rcard--top { border-color: var(--accent); box-shadow: 0 14px 40px rgba(0,0,0,.10); }
.rcard-visual { position: relative; flex: 0 0 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rcard-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 18%, rgba(255,255,255,.4), transparent 55%); mix-blend-mode: soft-light; }
.rcard-emoji { font-size: 2.8rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.rcard-rank { position: absolute; top: 12px; left: 12px; font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .14em; color: #fff; background: rgba(0,0,0,.32); padding: 5px 10px; border-radius: 100px; }
.rcard-rank--n { font-family: var(--serif-en); font-size: 1rem; letter-spacing: .04em; background: none; padding: 0; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.rcard-body { flex: 1; min-width: 0; padding: 24px 26px; }
.rcard-body h2 { font-family: var(--heading); font-size: 1.4rem; font-weight: 600; line-height: 1.4; margin: 6px 0 2px; }
.rcard-body h2 a { color: var(--text); }
.rcard-body h2 a:hover { color: var(--accent); }
.rcard-jp { font-size: .78rem; color: var(--text2); }
.rcard-desc { font-size: .86rem; color: var(--text2); line-height: 1.85; margin: 12px 0 18px; }
.rcard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rcard-actions .ng-btn { padding: 11px 22px; font-size: .82rem; }

@media (max-width: 600px) {
    .rcard { flex-direction: column; }
    .rcard-visual { flex-basis: 130px; aspect-ratio: auto; }
    .rcard-actions .ng-btn { flex: 1; justify-content: center; }
}

/* ============================================================
   PAGE LAYER — 全ページ共通のエディトリアル（VOGUE simple）
   ============================================================ */

/* パンくず（控えめ） */
.crumb { font-size: .72rem; letter-spacing: .04em; color: var(--text2); padding-top: 30px; }
.crumb a { color: var(--text2); }
.crumb a:hover { color: var(--accent); }
.crumb span { opacity: .5; margin: 0 6px; }

/* ページヘッダ */
.pagehead { max-width: var(--max); margin: 0 auto; padding: 16px 24px 0; }
.pagehead-band { border-bottom: 1px solid var(--border); padding-bottom: 30px; margin-bottom: 44px; }
.pagehead .ng-kicker { margin-bottom: 14px; }
.pagehead-title { font-family: var(--heading); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
.pagehead-desc { color: var(--text2); font-size: .9rem; line-height: 1.9; margin-top: 16px; max-width: 640px; }
.pagewrap { max-width: var(--max); margin: 0 auto; padding: 0 24px 96px; }

/* テキスト型フィルタ（ピル廃止） */
.ed-filters { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; }
.ed-filters a { font-size: .82rem; letter-spacing: .03em; color: var(--text2); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ed-filters a:hover { color: var(--text); }
.ed-filters a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.ed-filters--tags { gap: 16px; margin-bottom: 8px; }
.ed-filters--tags a { font-size: .76rem; }

.ed-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.ed-sort select { font-family: var(--sans); font-size: .8rem; color: var(--text); background: transparent; border: none; border-bottom: 1px solid var(--border-accent); padding: 6px 24px 6px 2px; cursor: pointer; }
.ed-count { font-size: .78rem; color: var(--text2); letter-spacing: .04em; }

.ed-empty { text-align: center; color: var(--text2); padding: 80px 0; font-family: var(--heading); font-size: 1.1rem; }

/* ============================================================
   香水詳細
   ============================================================ */
.fdetail { padding-bottom: 96px; }
.fdetail-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; margin: 28px 0 64px; }
.fdetail-visual { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fdetail-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 68% 16%, rgba(255,255,255,.4), transparent 55%); mix-blend-mode: soft-light; }
.fdetail-emoji { font-size: 5rem; filter: drop-shadow(0 6px 16px rgba(0,0,0,.2)); }
.fdetail-gender { position: absolute; bottom: 16px; left: 18px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.28); padding: 5px 12px; border-radius: 100px; }

.fdetail-brand { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.fdetail-name { font-family: var(--heading); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; line-height: 1.3; letter-spacing: .03em; margin: 10px 0 4px; }
.fdetail-jp { font-size: .9rem; color: var(--text2); }
.fdetail-lead { font-size: .95rem; line-height: 2; color: var(--text); margin: 22px 0; font-weight: 400; }

.fdetail-specs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 24px 0; }
.fdetail-spec { flex: 1; min-width: 90px; padding: 16px 18px; border-right: 1px solid var(--border); }
.fdetail-spec:last-child { border-right: none; }
.fdetail-spec dt { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); margin-bottom: 6px; }
.fdetail-spec dd { font-family: var(--heading); font-size: 1.05rem; font-weight: 600; }
.fdetail-stars { color: var(--accent); letter-spacing: .1em; }
.fdetail-stars .off { color: var(--border-accent); }

.fdetail-note { font-size: .78rem; color: var(--text2); margin: 4px 0 22px; padding-left: 14px; border-left: 2px solid var(--border-accent); }

.fdetail-buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.fdetail-buy .ng-btn { padding: 13px 24px; font-size: .85rem; }
.fdetail-cta { font-size: .82rem; color: var(--text2); }
.fdetail-cta a { color: var(--accent); border-bottom: 1px solid currentColor; }

.fdetail-section { max-width: 760px; margin: 0 auto; padding: 44px 0 0; }
.fdetail-section + .fdetail-section { border-top: 1px solid var(--border); margin-top: 44px; }
.fdetail-section > h2 { font-family: var(--heading); font-size: 1.4rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 24px; }

.fnotes { display: grid; gap: 0; }
.fnotes-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.fnotes-row:last-child { border-bottom: none; }
.fnotes-row dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.fnotes-row dd { font-size: .95rem; line-height: 1.8; }

.fprofile-group { margin-bottom: 22px; }
.fprofile-group .ng-kicker { display: block; margin-bottom: 12px; font-size: .62rem; }

/* レビュー（クリーン） */
.review { padding: 22px 0; border-bottom: 1px solid var(--border); }
.review:last-of-type { border-bottom: none; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.review-head strong { font-family: var(--heading); font-weight: 600; }
.review p { font-size: .9rem; color: var(--text); line-height: 1.85; }

/* ============================================================
   記事リーディング（最重視のクリーンさ）
   ============================================================ */
.aread { max-width: 720px; margin: 0 auto; padding: 16px 24px 100px; }
.aread-head { padding: 8px 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.aread-cat { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.aread-title { font-family: var(--heading); font-size: clamp(1.8rem, 4.6vw, 2.7rem); font-weight: 700; line-height: 1.5; letter-spacing: .03em; margin: 16px 0 20px; }
.aread-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: .78rem; color: var(--text2); }
.aread-meta a { color: var(--text2); }
.aread-meta a:hover { color: var(--accent); }
.aread-lead { font-size: 1.05rem; line-height: 2.1; color: var(--text2); margin-top: 26px; font-weight: 400; }

.aread-body { font-size: 1rem; line-height: 2.15; color: var(--text); }
.aread-body > *:first-child { margin-top: 0; }
.aread-body h2 { font-family: var(--heading); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; line-height: 1.6; margin: 56px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.aread-body h3 { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; margin: 40px 0 14px; }
.aread-body p { margin-bottom: 24px; }
.aread-body ul, .aread-body ol { margin: 0 0 24px; padding-left: 26px; }
.aread-body li { margin-bottom: 10px; }
.aread-body strong { font-weight: 700; }
.aread-body a { color: var(--accent); border-bottom: 1px solid var(--border-accent); }
.aread-body a:hover { border-color: var(--accent); }
.aread-body blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--heading); font-size: 1.15rem; line-height: 1.9; color: var(--text); }
.aread-body img { border-radius: 12px; margin: 28px 0; }

.aread-related { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.aread-related h2 { font-family: var(--heading); font-size: 1.3rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 22px; }

/* 記事一覧 */
.alist { max-width: 820px; margin: 0 auto; }
.alist-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.alist-row:first-child { border-top: 1px solid var(--border); }
.alist-row:hover { color: var(--text); }
.alist-cat { grid-column: 1; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.alist-row time { grid-column: 2; grid-row: 1 / span 3; font-size: .74rem; color: var(--text2); white-space: nowrap; padding-top: 2px; }
.alist-row h3 { grid-column: 1; font-family: var(--heading); font-size: 1.3rem; font-weight: 600; line-height: 1.55; letter-spacing: .02em; transition: color .2s; }
.alist-row:hover h3 { color: var(--accent); }
.alist-row p { grid-column: 1; font-size: .85rem; color: var(--text2); line-height: 1.8; }
.alist-feat { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 100px; padding: 2px 9px; margin-left: 8px; }

/* ============================================================
   ブランド
   ============================================================ */
.brand-index { columns: 2; column-gap: 48px; }
.brand-index-row { break-inside: avoid; display: block; padding: 20px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.brand-index-row:hover { color: var(--accent); }
.brand-index-row strong { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; display: block; }
.brand-index-row .meta { font-size: .74rem; margin-top: 3px; }

.branddetail-head { border-bottom: 1px solid var(--border); padding-bottom: 36px; margin-bottom: 44px; }
.branddetail-head .ng-kicker { margin-bottom: 12px; }
.branddetail-head h1 { font-family: var(--heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: .03em; }
.branddetail-head .meta { margin-top: 10px; font-size: .8rem; }
.branddetail-head p { margin-top: 18px; color: var(--text2); line-height: 1.95; font-size: .92rem; max-width: 680px; }

/* ============================================================
   静的ページ（about / contact / privacy）
   ============================================================ */
.prose { max-width: 720px; margin: 0 auto; padding: 8px 24px 100px; }
.prose-section { margin-bottom: 48px; }
.prose-section h2 { font-family: var(--heading); font-size: 1.45rem; font-weight: 600; letter-spacing: .03em; line-height: 1.6; margin-bottom: 18px; }
.prose-section h3 { font-family: var(--heading); font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; }
.prose-section p { line-height: 2.1; margin-bottom: 16px; color: var(--text); }
.prose-section ul { padding-left: 24px; line-height: 2; margin-bottom: 16px; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.value-card { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.value-card strong { font-family: var(--heading); font-size: 1rem; display: block; margin-bottom: 8px; }
.value-card p { font-size: .84rem; color: var(--text2); line-height: 1.8; margin: 0; }

/* フォーム（クリーン） */
.ed-form { max-width: 560px; }
.ed-form .form-group label { font-size: .8rem; letter-spacing: .02em; }
.ed-form input, .ed-form textarea {
    border-radius: 10px; border: 1px solid var(--border-accent); background: var(--surface); padding: 13px 16px;
}
.ed-form input:focus, .ed-form textarea:focus { border-color: var(--accent); }

@media (max-width: 820px) {
    .fdetail-hero { grid-template-columns: 1fr; gap: 28px; }
    .fdetail-visual { max-width: 280px; }
    .brand-index { columns: 1; }
    .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .alist-row { grid-template-columns: 1fr; }
    .alist-row time { grid-column: 1; grid-row: auto; }
    .fdetail-spec { min-width: 50%; flex-basis: 50%; border-bottom: 1px solid var(--border); }
}

/* ---------- 商品画像（トーン色面のフォールバック付き） ---------- */
.ng-feature-visual--photo, .rcard-visual--photo, .fdetail-visual--photo { background: var(--surface2); }
.ng-feature-visual--photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.rcard-visual--photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.fdetail-visual--photo { padding: 0; }
.fdetail-photo { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
/* 画像時はソフトライトの白被せ（色面用）を消す */
.ng-feature-visual--photo::after, .rcard-visual--photo::after, .fdetail-visual--photo::after { display: none; }

/* ============================================================
   香調図鑑 / 各香調ページ（初心者向け基礎知識）
   ============================================================ */
.accord-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.accord-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 22px 22px 20px; border: 1px solid var(--border); border-radius: 16px;
    background: var(--surface); color: var(--text);
    border-left: 4px solid var(--tone, var(--border-accent));
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
.accord-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--text); }
.accord-card-head { display: flex; align-items: center; gap: 14px; }
.accord-emoji {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: color-mix(in srgb, var(--tone, #b5784f) 16%, transparent);
}
.accord-card-head strong { font-family: var(--heading); font-size: 1.15rem; font-weight: 600; display: block; }
.accord-count { font-size: .72rem; color: var(--text2); }
.accord-card-desc { font-size: .86rem; line-height: 1.8; color: var(--text); font-weight: 300; }
.accord-key { font-size: .72rem; color: var(--text2); letter-spacing: .02em; }
.accord-foot { margin-top: 32px; font-size: .85rem; color: var(--text2); line-height: 1.9; }
.accord-foot a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* 各香調ページ ヒーロー */
.accord-hero { position: relative; border-left: 4px solid var(--tone, var(--accent)); padding-left: 22px;
    background: linear-gradient(100deg, color-mix(in srgb, var(--tone, #b5784f) 9%, transparent), transparent 60%); border-radius: 0 14px 14px 0; }
.accord-hero-emoji { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.accord-hero-key { margin-top: 14px; font-size: .85rem; color: var(--text); }
.accord-hero-key .label-sm { display: block; margin-bottom: 3px; }

/* ほかの香調チップ */
.accord-others { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.accord-others .ng-kicker { display: block; margin-bottom: 16px; }
.accord-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.accord-chip {
    font-size: .82rem; padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--border); color: var(--text);
    border-left: 3px solid var(--tone, var(--border-accent));
    transition: border-color .2s, color .2s, background .2s;
}
.accord-chip:hover { color: var(--accent); border-color: var(--tone, var(--accent)); background: var(--surface2); }

@media (max-width: 600px) {
    .accord-grid { grid-template-columns: 1fr; }
}

/* 香りプロファイルの香調チップをリンク化 */
.chip--link { transition: border-color .2s, color .2s, background .2s; cursor: pointer; }
.chip--link:hover { color: var(--accent); border-color: var(--accent); background: var(--surface2); }
.fprofile-note { margin-top: 16px; font-size: .78rem; color: var(--text2); line-height: 1.8; }
.fprofile-note a { color: var(--accent); border-bottom: 1px solid currentColor; }
