/* Pattern A — Charcoal Editorial (mobile-first) */
:root {
  --bg: #faf8f5;
  --bg-alt: #f2ede4;
  --bg-deep: #1a1a1a;
  --text: #1a1a1a;
  --text-mute: #6b6157;
  --accent: #8b2e2a;
  --accent-hover: #6a231f;
  --line: #d9d0c2;
  --line-soft: #e8e0d0;
  --serif: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: .02em;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* =========== header (mobile-first) =========== */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 30;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .1em;
}
.logo .dot { color: var(--accent); }
.menu-btn {
  margin-left: auto;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.menu-btn span {
  display: block;
  width: 20px; height: 1px;
  background: var(--text);
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 1px;
  background: var(--text);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.nav {
  display: none;
}
.nav.open {
  display: flex;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--bg);
  flex-direction: column;
  padding: 24px 20px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  z-index: 40;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.nav .header-sns {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.nav .header-sns a {
  border: none !important;
  padding: 10px !important;
  min-height: 44px !important;
  color: var(--text-mute) !important;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.nav .header-sns a:hover { color: var(--accent) !important; }
.nav .header-sns svg { width: 22px; height: 22px; }
.nav .contact-link {
  color: var(--accent) !important;
  font-weight: 500;
}
.nav a {
  font-family: var(--serif);
  font-size: 16px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav a:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .header-inner { padding: 18px 24px; gap: 32px; }
  .logo { font-size: 26px; letter-spacing: .12em; }
  .menu-btn { display: none; }
  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    gap: 22px;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .nav a {
    font-family: var(--sans);
    font-size: 13px;
    padding: 6px 0;
    border: none;
    border-bottom: 1px solid transparent;
    min-height: auto;
  }
  .nav a:hover { border-bottom-color: var(--accent); }
  .nav .header-sns {
    margin-top: 0;
    margin-left: 8px;
    padding-top: 0;
    padding-left: 12px;
    border-top: none;
    border-left: 1px solid var(--line);
    gap: 4px;
  }
  .nav .header-sns a {
    min-height: auto !important;
    padding: 6px !important;
  }
  .nav .header-sns svg { width: 18px; height: 18px; }
}

/* =========== hero =========== */
.hero {
  padding: 32px 20px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-tag {
  font-family: var(--serif);
  color: var(--accent);
  letter-spacing: .25em;
  font-size: 11px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.hero-lead {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.hero-meta {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text-mute);
}
.hero-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e6dccb, #b3a58c);
  margin-top: 24px;
  position: relative;
}
.hero-image::after {
  content: "PHOTO";
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
}
@media (min-width: 900px) {
  .hero {
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .hero-tag { font-size: 12px; margin-bottom: 18px; letter-spacing: .3em; }
  .hero-title { font-size: 44px; line-height: 1.4; margin-bottom: 20px; }
  .hero-lead { font-size: 15px; max-width: 44ch; margin-bottom: 26px; }
  .hero-meta { font-size: 12px; letter-spacing: .2em; }
  .hero-image { aspect-ratio: 4/5; margin-top: 0; }
}

/* =========== section title =========== */
.section-title {
  max-width: var(--max);
  margin: 48px auto 20px;
  padding: 0 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
/* hero-slider の直後に来る section-title は上マージンを大きく取る (mobile overlap 対策) */
.hero-slider + .section-title { margin-top: 40px; }
@media (min-width: 900px) {
  .hero-slider + .section-title { margin-top: 72px; }
}
.section-title h2 {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .08em;
}
.section-title .en {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .3em;
}
.section-title .rule { flex: 1; height: 1px; background: var(--line); }
@media (min-width: 900px) {
  .section-title { margin: 72px auto 28px; padding: 0 24px; gap: 20px; }
  .section-title h2 { font-size: 22px; letter-spacing: .1em; }
  .section-title .en { font-size: 12px; }
}

/* =========== grid =========== */
.grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 20px;
}
.card { display: block; }
.card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #dcd0bd, #a89982);
  margin-bottom: 14px;
}
.card:nth-child(2n) .card-image { background: linear-gradient(135deg, #c2b7a3, #8f8172); }
.card:nth-child(3n) .card-image { background: linear-gradient(135deg, #cec2ab, #7d715f); }
.card:nth-child(4n) .card-image { background: linear-gradient(135deg, #d4c9b3, #968874); }
.card-cat {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .25em;
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-meta { font-size: 11px; color: var(--text-mute); letter-spacing: .08em; }
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; padding: 0 24px; }
  .card-title { font-size: 18px; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
}

/* =========== categories =========== */
.categories {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cat-tile {
  padding: 20px 16px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: border-color .2s;
  min-height: 100px;
  display: flex; flex-direction: column;
}
.cat-tile:hover, .cat-tile:active { border-color: var(--accent); }
.cat-tile .num { font-family: var(--serif); color: var(--accent); font-size: 11px; letter-spacing: .3em; }
.cat-tile .name { font-family: var(--serif); font-size: 17px; margin-top: 6px; font-weight: 700; }
.cat-tile .desc { font-size: 11px; color: var(--text-mute); margin-top: 8px; line-height: 1.6; }
@media (min-width: 700px) {
  .categories { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 24px; }
  .cat-tile { padding: 28px 22px; }
  .cat-tile .name { font-size: 20px; }
  .cat-tile .desc { font-size: 12px; }
}
@media (min-width: 900px) {
  .categories { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
}

/* =========== soft editorial banner (was cv-banner, now less pushy) =========== */
.editor-banner {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 40px 24px;
  background: var(--bg-deep);
  color: var(--bg);
  display: grid;
  gap: 20px;
}
.editor-banner .en { font-family: var(--serif); color: var(--accent); letter-spacing: .3em; font-size: 11px; }
.editor-banner h3 { font-family: var(--serif); font-size: 22px; line-height: 1.6; }
.editor-banner .link {
  font-family: var(--serif);
  padding: 14px 24px;
  border: 1px solid var(--bg);
  font-size: 13px;
  letter-spacing: .2em;
  transition: background .2s, color .2s;
  text-align: center;
  justify-self: start;
}
.editor-banner .link:hover { background: var(--bg); color: var(--text); }
@media (min-width: 900px) {
  .editor-banner {
    margin-top: 96px;
    padding: 56px 40px;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
  }
  .editor-banner h3 { font-size: 28px; line-height: 1.5; }
}

/* =========== breadcrumbs =========== */
.crumbs {
  max-width: 780px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .08em;
}
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 8px; }
@media (min-width: 900px) {
  .crumbs { padding: 0 24px; font-size: 12px; margin-top: 28px; }
}

/* =========== article page =========== */
.article-wrap { max-width: 780px; margin: 24px auto 40px; padding: 0 20px; }
.article-header .cat {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .3em;
  margin-bottom: 14px;
}
.article-header h1 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.55;
  margin-bottom: 18px;
  letter-spacing: -.005em;
}
.article-header .meta {
  font-size: 12px;
  color: var(--text-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
@media (min-width: 900px) {
  .article-wrap { margin: 40px auto 56px; padding: 0 24px; }
  .article-header h1 { font-size: 38px; line-height: 1.5; margin-bottom: 24px; }
  .article-header .meta { font-size: 13px; gap: 20px; padding-bottom: 24px; margin-bottom: 48px; }
}

/* summary box */
.summary-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 20px 20px;
  margin-bottom: 32px;
}
.summary-box .label { font-family: var(--serif); color: var(--accent); font-size: 11px; letter-spacing: .3em; margin-bottom: 10px; }
.summary-box ul { list-style: none; }
.summary-box li { font-size: 14px; padding-left: 18px; position: relative; margin-bottom: 8px; line-height: 1.7; }
.summary-box li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (min-width: 900px) { .summary-box { padding: 24px 28px; } .summary-box li { font-size: 15px; } }

/* TOC (accordion on mobile) */
.toc {
  margin-bottom: 32px;
  border: 1px solid var(--line);
}
.toc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .1em;
  display: flex; justify-content: space-between; align-items: center;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "＋"; font-size: 16px; color: var(--accent); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(45deg); }
.toc ol {
  list-style: none;
  padding: 0 18px 18px;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid var(--line-soft);
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 8px;
  font-family: var(--serif); color: var(--accent);
  font-size: 11px; letter-spacing: .15em;
}
.toc a { display: block; }
.toc a:hover { color: var(--accent); }
@media (min-width: 900px) {
  .toc summary { padding: 16px 22px; font-size: 14px; }
  .toc li { font-size: 14px; }
}

.article-body { font-size: 15px; line-height: 1.95; }
.article-body p { margin-bottom: 1.4em; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 2.4em 0 .9em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  scroll-margin-top: 80px;
}
.article-body h3 { font-family: var(--serif); font-size: 17px; margin: 1.8em 0 .7em; }
.article-body ul { margin: .8em 0 1.4em 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  border-left: 2px solid var(--line);
  padding: 4px 18px;
  color: var(--text-mute);
  margin: 1.4em 0;
  font-family: var(--serif);
  font-style: italic;
}
@media (min-width: 900px) {
  .article-body { font-size: 16px; line-height: 1.95; }
  .article-body p { margin-bottom: 1.5em; }
  .article-body h2 { font-size: 24px; margin: 3em 0 1em; padding-left: 16px; }
  .article-body h3 { font-size: 20px; margin: 2em 0 .8em; }
  .article-body ul { margin: 1em 0 1.5em 1.5em; }
  .article-body li { margin-bottom: .5em; }
  .article-body blockquote { padding: 4px 20px; margin: 1.5em 0; }
}

/* pull quote */
.pullquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.6;
  color: var(--text);
  padding: 32px 0;
  margin: 2em 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
}
.pullquote::before, .pullquote::after {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
  margin: 0 auto 16px;
}
.pullquote::after { margin: 16px auto 0; }
@media (min-width: 900px) {
  .pullquote { font-size: 28px; padding: 40px 20px; }
}

/* related product (楽天アフィリエイト) */
.related-product {
  margin: 2.4em 0;
  padding: 20px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
}
.related-product .rp-label { font-family: var(--serif); color: var(--accent); font-size: 10px; letter-spacing: .3em; margin-bottom: 14px; }
.related-product-inner { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; }
.related-product-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg); border: 1px solid var(--line-soft); }
.related-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-body h4 { font-family: var(--serif); font-size: 13px; line-height: 1.5; margin-bottom: 8px; font-weight: 700; }
.rp-body h4 a { color: var(--text); text-decoration: none; }
.rp-body h4 a:hover { color: var(--accent); }
.rp-body .rp-price { color: var(--accent); font-family: var(--serif); font-size: 13px; margin-bottom: 12px; letter-spacing: .05em; }
.rp-body .rp-buy { display: inline-block; background: #bf0000; color: #fff; padding: 8px 16px; border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none; }
.rp-body .rp-buy:hover { background: #a30000; }
@media (min-width: 700px) {
  .related-product { padding: 28px 32px; }
  .related-product-inner { grid-template-columns: 130px 1fr; gap: 24px; }
  .rp-body h4 { font-size: 15px; }
  .rp-body .rp-price { font-size: 14px; }
}

/* in-article native card (soft) */
.native-card {
  margin: 2.4em 0;
  padding: 22px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
}
.native-card .label { font-family: var(--serif); color: var(--accent); font-size: 10px; letter-spacing: .3em; margin-bottom: 10px; }
.native-card h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 10px; line-height: 1.55; }
.native-card p { color: var(--text-mute); font-size: 13px; margin-bottom: 16px; line-height: 1.7; }
.native-card .cta {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
}
@media (min-width: 900px) {
  .native-card { padding: 32px; }
  .native-card h4 { font-size: 22px; }
  .native-card p { font-size: 14px; }
}

/* references */
.references {
  margin: 40px 0 32px;
  padding: 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--line);
  border-radius: 4px;
}
.references h3 {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .1em;
  margin-bottom: 12px;
  color: var(--text-mute);
}
.references ul {
  list-style: none;
  padding: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-mute);
}
.references li {
  padding: 4px 0 4px 1.2em;
  text-indent: -1.2em;
}
.references li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}
@media (min-width: 700px) {
  .references { padding: 28px 32px; }
  .references h3 { font-size: 15px; }
  .references ul { font-size: 13px; }
}

/* author box */
.author-box {
  margin-top: 48px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
}
.author-avatar {
  width: 60px; height: 60px;
  background: url('img/author.webp') center/cover no-repeat, linear-gradient(135deg, #b3a58c, #6b6157);
  border-radius: 50%;
}
.about-wrap h1 { border-top: 1px solid var(--line); padding-top: 32px; }
.author-name { font-family: var(--serif); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.author-role { font-size: 11px; color: var(--text-mute); letter-spacing: .1em; margin-bottom: 6px; }
.author-bio { font-size: 12px; color: var(--text-mute); line-height: 1.7; grid-column: 1 / -1; }
@media (min-width: 700px) {
  .author-box { padding: 28px 32px; grid-template-columns: 80px 1fr; gap: 20px; }
  .author-avatar { width: 80px; height: 80px; }
  .author-name { font-size: 17px; }
  .author-role { font-size: 12px; }
  .author-bio { font-size: 13px; grid-column: 2; margin-top: 4px; }
}

/* related articles */
.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related h3 { font-family: var(--serif); font-size: 16px; letter-spacing: .1em; margin-bottom: 20px; }
.related h3 .en { color: var(--accent); font-size: 10px; letter-spacing: .3em; display: block; margin-bottom: 4px; }
.related-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.related-item { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; }
.related-thumb {
  aspect-ratio: 1;
  background-color: #a89982;
  background-image: linear-gradient(135deg, #dcd0bd, #a89982);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
}
.related-cat { font-size: 10px; color: var(--accent); letter-spacing: .2em; font-family: var(--serif); margin-bottom: 4px; }
.related-title { font-family: var(--serif); font-size: 13px; line-height: 1.55; font-weight: 700; }
@media (min-width: 700px) {
  .related-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .related-item { grid-template-columns: 1fr; }
  .related-thumb { aspect-ratio: 16/10; width: 100%; margin-bottom: 12px; }
  .related-title { font-size: 14px; }
}

/* end-of-article recommend (slide up on desktop, always visible on mobile) */
.end-recommend {
  margin: 48px 0 0;
  padding: 32px 24px;
  background: var(--bg-deep);
  color: var(--bg);
  text-align: center;
}
.end-recommend .label { font-family: var(--serif); color: var(--accent); font-size: 10px; letter-spacing: .3em; margin-bottom: 12px; }
.end-recommend h4 { font-family: var(--serif); font-size: 18px; line-height: 1.6; margin-bottom: 20px; }
.end-recommend .link {
  font-family: var(--serif);
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--bg);
  font-size: 13px;
  letter-spacing: .15em;
  transition: all .2s;
}
.end-recommend .link:hover { background: var(--bg); color: var(--text); }
@media (min-width: 900px) {
  .end-recommend { padding: 48px 40px; }
  .end-recommend h4 { font-size: 22px; }
}

/* =========== sticky bottom mini bar (subtle, dismissible) =========== */
.mini-bar {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  background: var(--bg-deep);
  color: var(--bg);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 25;
  transform: translateY(120%);
  transition: transform .35s ease;
}
.mini-bar.visible { display: flex; transform: translateY(0); }
.mini-bar .txt { flex: 1; line-height: 1.5; }
.mini-bar .txt .accent { color: var(--accent); font-size: 10px; letter-spacing: .25em; display: block; margin-bottom: 2px; }
.mini-bar .go {
  color: var(--accent);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--accent);
  font-size: 12px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.mini-bar .close {
  width: 32px; height: 32px;
  color: rgba(255,255,255,.6);
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
@media (min-width: 900px) {
  .mini-bar {
    bottom: 20px; left: auto; right: 20px;
    max-width: 380px;
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* =========== CV article page =========== */
.cv-hero {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 56px 20px 72px;
  text-align: center;
}
.cv-hero .en { font-family: var(--serif); color: var(--accent); letter-spacing: .3em; font-size: 11px; margin-bottom: 12px; }
.cv-hero h1 { font-family: var(--serif); font-size: 26px; max-width: 780px; margin: 0 auto 16px; line-height: 1.5; }
.cv-hero p { max-width: 620px; margin: 0 auto; color: #cbc4b7; font-size: 14px; line-height: 1.85; }
@media (min-width: 900px) {
  .cv-hero { padding: 80px 24px 100px; }
  .cv-hero h1 { font-size: 40px; margin-bottom: 20px; }
  .cv-hero p { font-size: 15px; }
}

.ranking { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.rank-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.rank-num { font-family: var(--serif); font-size: 42px; color: var(--accent); line-height: 1; }
.rank-body h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; line-height: 1.4; }
.rank-body .price { font-family: var(--serif); color: var(--accent); font-size: 13px; margin-bottom: 10px; letter-spacing: .1em; }
.rank-body p { color: var(--text-mute); font-size: 14px; margin-bottom: 16px; line-height: 1.75; }
.rank-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rank-btn {
  font-family: var(--serif);
  font-size: 12px;
  padding: 10px 16px;
  border: 1px solid var(--text);
  color: var(--text);
  letter-spacing: .1em;
  transition: background .2s, color .2s;
}
.rank-btn:hover { background: var(--text); color: var(--bg); }
.rank-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
@media (min-width: 900px) {
  .ranking { margin: 64px auto; padding: 0 24px; }
  .rank-item { grid-template-columns: 90px 1fr; gap: 32px; padding: 40px 0; }
  .rank-num { font-size: 60px; }
  .rank-body h3 { font-size: 24px; margin-bottom: 10px; }
  .rank-body .price { font-size: 15px; margin-bottom: 12px; }
  .rank-body p { margin-bottom: 20px; }
  .rank-btn { font-size: 13px; padding: 12px 22px; }
}

/* comparison table */
.compare {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.compare h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 16px; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { border-collapse: collapse; width: 100%; min-width: 560px; }
.compare th, .compare td {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.compare th {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .1em;
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 700;
  vertical-align: bottom;
}
.compare td.name { font-family: var(--serif); font-weight: 700; }
.compare td.check { color: var(--accent); text-align: center; }
@media (min-width: 900px) {
  .compare { margin: 64px auto; padding: 0 24px; }
  .compare h2 { font-size: 24px; }
}

/* FAQ */
.faq { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.faq h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 16px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  padding-right: 32px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q.";
  color: var(--accent);
  font-family: var(--serif);
  margin-right: 8px;
}
.faq summary::after {
  content: "＋";
  position: absolute; right: 0; top: 0;
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 12px 0 0 24px; color: var(--text-mute); font-size: 14px; line-height: 1.85; }
.faq .ans::before {
  content: "A.";
  color: var(--accent);
  font-family: var(--serif);
  margin-left: -24px;
  margin-right: 8px;
}
@media (min-width: 900px) {
  .faq { margin: 64px auto; padding: 0 24px; }
  .faq h2 { font-size: 24px; }
  .faq summary { font-size: 17px; }
}

/* why-not-choose block */
.why-not {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px 24px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
}
.why-not h2 { font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.why-not p { font-size: 14px; color: var(--text-mute); line-height: 1.9; margin-bottom: 1em; }
.why-not p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .why-not { padding: 40px; }
  .why-not h2 { font-size: 22px; }
}

/* =========== category page =========== */
.cat-hero {
  position: relative;
  padding: 40px 20px 32px;
  max-width: var(--max);
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,248,245,.55) 0%, rgba(250,248,245,.92) 60%, rgba(250,248,245,1) 100%);
  pointer-events: none;
}
.cat-hero > * { position: relative; z-index: 1; }
.cat-hero.cat-sexless { background-image: url('img/cat-sexless.webp'); }
.cat-hero.cat-mannerism { background-image: url('img/cat-mannerism.webp'); }
.cat-hero.cat-gender { background-image: url('img/cat-gender.webp'); }
.cat-hero.cat-mens { background-image: url('img/cat-mens.webp'); }
.cat-hero.cat-womens { background-image: url('img/cat-womens.webp'); }
.cat-hero.cat-conversation { background-image: url('img/cat-conversation.webp'); }
.cat-hero.cat-sleep { background-image: url('img/cat-sleep.webp'); }
.cat-hero .en { font-family: var(--serif); color: var(--accent); font-size: 11px; letter-spacing: .3em; margin-bottom: 10px; }
.cat-hero h1 { font-family: var(--serif); font-size: 28px; line-height: 1.5; margin-bottom: 14px; }
.cat-hero p { font-size: 14px; color: var(--text-mute); line-height: 1.85; max-width: 680px; }
@media (min-width: 900px) {
  .cat-hero { padding: 80px 24px 56px; }
  .cat-hero h1 { font-size: 40px; }
  .cat-hero p { font-size: 15px; }
}

/* =========== about page =========== */
.about-hero {
  max-width: var(--max);
  margin: 0 auto;
  height: 220px;
  background: linear-gradient(to bottom, rgba(250,248,245,0) 0%, rgba(250,248,245,.7) 85%, rgba(250,248,245,1) 100%), url('img/about-hero.webp') center/cover no-repeat;
}
@media (min-width: 900px) {
  .about-hero { height: 340px; }
}
.about-wrap { max-width: 780px; margin: 0 auto 40px; padding: 0 20px; }
.about-wrap h1 { font-family: var(--serif); font-size: 28px; line-height: 1.5; margin-bottom: 20px; }
.about-wrap .section { margin-bottom: 40px; }
.about-wrap .section h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; padding-left: 14px; border-left: 3px solid var(--accent); }
.about-wrap p { font-size: 14px; line-height: 1.9; margin-bottom: 1em; }
@media (min-width: 900px) {
  .about-wrap { margin: 56px auto 80px; padding: 0 24px; }
  .about-wrap h1 { font-size: 38px; }
  .about-wrap .section h2 { font-size: 24px; }
  .about-wrap p { font-size: 15px; }
}

/* =========== ranking (STERON-like top-N) =========== */
.rank-product {
  position: relative;
  margin: 28px 0;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.rank-product .rank-badge {
  position: absolute;
  top: -16px;
  left: 18px;
  padding: 6px 14px 6px 10px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .05em;
  color: #fff;
  background: #6b6157;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.rank-product .rank-badge::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: middle;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.rank-product.rank-1 {
  border: 2px solid #b38a3d;
  background: linear-gradient(180deg, #fdf7e8 0%, #fff 60%);
  padding: 34px 20px 22px;
}
.rank-product.rank-1 .rank-badge {
  background: linear-gradient(135deg, #d4a750, #a17828);
  color: #fff;
  font-size: 17px;
  padding: 8px 18px 8px 12px;
  top: -20px;
}
.rank-product.rank-2 { border: 1.5px solid #8a8a8a; }
.rank-product.rank-2 .rank-badge { background: linear-gradient(135deg, #b0b0b0, #7a7a7a); }
.rank-product.rank-3 { border: 1.5px solid #b0885a; }
.rank-product.rank-3 .rank-badge { background: linear-gradient(135deg, #c19566, #8b6a3d); }
.rank-product .rank-title {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}
.rank-product.rank-1 .rank-title { font-size: 23px; }
.rank-product .rank-inner {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}
.rank-product.rank-1 .rank-inner { grid-template-columns: 130px 1fr; }
.rank-product .rank-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-alt);
}
.rank-product .rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-product .rank-body { font-size: 13px; color: var(--text); line-height: 1.7; }
.rank-product .rank-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0 10px;
}
.rank-product.rank-1 .rank-price { font-size: 19px; }
.rank-product .rank-desc { margin: 0 0 14px; font-size: 13px; color: var(--text-mute); line-height: 1.8; }
.rank-product .rank-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rank-product .rank-cta a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 4px;
  transition: transform .1s;
}
.rank-product .rank-cta a:hover { transform: translateY(-1px); }
.rank-product .rank-cta .btn-official {
  background: #8b2e2a;
  color: #fff;
}
.rank-product.rank-1 .rank-cta .btn-official {
  padding: 12px 22px;
  font-size: 14px;
  background: linear-gradient(135deg, #a3352f, #7a2521);
  box-shadow: 0 2px 8px rgba(139,46,42,.3);
}
.rank-product .rank-cta .btn-rakuten {
  background: #bf0000;
  color: #fff;
}
.rank-product .rank-cta .btn-disabled {
  background: #cfc7b6;
  color: #5a5347;
  pointer-events: none;
  cursor: not-allowed;
}
@media (min-width: 700px) {
  .rank-product .rank-inner { grid-template-columns: 140px 1fr; }
  .rank-product.rank-1 .rank-inner { grid-template-columns: 180px 1fr; }
  .rank-product .rank-title { font-size: 22px; }
  .rank-product.rank-1 .rank-title { font-size: 26px; }
}

/* =========== contact form =========== */
.contact-form { display: grid; gap: 18px; margin-top: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-mute); letter-spacing: .04em; }
.contact-form label > span { font-weight: 500; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form label.check { flex-direction: row; grid-template-columns: auto 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.contact-form label.check input { width: auto; }
.btn-submit {
  padding: 14px 32px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s, transform .1s;
  justify-self: start;
}
.btn-submit:hover { background: var(--accent); }
.btn-submit:active { transform: translateY(1px); }
.form-note { font-size: 12px; color: var(--text-mute); margin: 0; }

/* =========== footer =========== */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 40px 20px 24px;
  background: var(--bg-alt);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-logo { font-family: var(--serif); font-size: 20px; letter-spacing: .1em; margin-bottom: 10px; }
.footer-logo .dot { color: var(--accent); }
.footer-desc { font-size: 12px; color: var(--text-mute); line-height: 1.8; }
.footer-col h5 { font-family: var(--serif); font-size: 11px; letter-spacing: .3em; margin-bottom: 12px; color: var(--accent); }
.footer-col a { display: block; font-size: 13px; padding: 6px 0; color: var(--text-mute); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .1em;
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .site-footer { padding: 56px 24px 40px; }
  .footer-bottom { font-size: 11px; }
}

/* =========== horizontal category strip =========== */
.cat-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 58px;
  z-index: 25;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip-inner {
  display: flex;
  align-items: stretch;
  padding: 0 12px;
  gap: 0;
  min-width: min-content;
  white-space: nowrap;
}
.cat-strip a {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text);
  padding: 13px 9px;
  min-height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  flex-shrink: 0;
  letter-spacing: 0;
  scroll-snap-align: start;
}
.cat-strip a:hover, .cat-strip a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (min-width: 900px) {
  .cat-strip { display: none; }
}

/* =========== hero slider =========== */
.hero-slider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 40px;
  position: relative;
}
.slides { position: relative; min-height: 640px; padding-bottom: 24px; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s .6s;
  display: grid;
  grid-template-areas: "image" "progress" "body";
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}
.slide.active {
  opacity: 1; visibility: visible;
  transition: opacity .6s ease, visibility 0s;
}
.slide-image {
  grid-area: image;
  aspect-ratio: 4/3;
  position: relative;
}

/* slide arrows */
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(250, 248, 245, 0.85);
  border: none;
  color: var(--text);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  z-index: 5;
  padding: 0;
}
.slide-prev:hover, .slide-next:hover {
  background: var(--bg);
  color: var(--accent);
}
.slide-prev { left: 8px; }
.slide-next { right: 8px; }
@media (min-width: 900px) {
  .slide-prev, .slide-next {
    width: 48px; height: 48px;
    font-size: 28px;
  }
  .slide-prev { left: 12px; }
  .slide-next { right: 12px; }
}
.slide-image.img-1 { background: url('img/slide-1-sexless.webp') center/cover no-repeat, linear-gradient(135deg, #e6dccb, #b3a58c); }
.slide-image.img-2 { background: url('img/slide-2-orgasm.webp') center/cover no-repeat, linear-gradient(135deg, #d4c4a8, #8f7c60); }
.slide-image.img-3 { background: url('img/slide-3-silence.webp') center/cover no-repeat, linear-gradient(135deg, #dcd0bd, #9c8b72); }
.slide-image.img-4 { background: url('img/slide-4-mannerism.webp') center/cover no-repeat, linear-gradient(135deg, #c9b997, #7d6d54); }
.slide-image.img-5 { background: url('img/slide-5-morning.webp') center/cover no-repeat, linear-gradient(135deg, #cec2ab, #a89982); }
.slide-image::after {
  content: "PHOTO";
  position: absolute; bottom: 10px; right: 12px;
  font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.7);
}
.slide-body { grid-area: body; display: flex; flex-direction: column; margin-top: 6px; }

.slide-progress {
  grid-area: progress;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.slide-progress .seg {
  height: 2px;
  background: var(--line);
  transition: background .3s ease;
}
.slide-progress .seg.active {
  background: var(--accent);
}
.slide-cat {
  font-family: var(--serif);
  color: var(--accent);
  letter-spacing: .25em;
  font-size: 11px;
  margin-bottom: 14px;
}
.slide-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.005em;
}
.slide-lead {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.slide-link {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  transition: color .2s;
}
.slide-link:hover { color: var(--accent); }

/* slider-nav / slider-count 削除済み (progress bar に置き換え) */

@media (min-width: 900px) {
  .hero-slider { padding: 56px 24px 40px; }
  .slides {
    min-height: 500px;
  }
  .slide {
    grid-template-areas:
      "body image"
      "body progress";
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 12px 40px;
    align-items: start;
  }
  .slide-image { aspect-ratio: 4/5; }
  .slide-body { align-self: center; margin-top: 0; }
  .slide-cat { font-size: 12px; letter-spacing: .3em; margin-bottom: 18px; }
  .slide-title { font-size: 40px; line-height: 1.4; margin-bottom: 20px; }
  .slide-lead { font-size: 15px; max-width: 44ch; margin-bottom: 26px; }
}
}

/* 行動＋内心の 2 段リスト（mannerism-dopamine 他） */
.article-body ul.signs { list-style: none; padding: 0; margin: 26px 0; }
.article-body ul.signs li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.article-body ul.signs li:last-child { border-bottom: 0; }
.article-body ul.signs li::before {
  content: "";
  position: absolute; left: 0; top: 26px;
  width: 12px; height: 1px; background: var(--accent);
}
.article-body ul.signs b {
  display: block; font-weight: 700; line-height: 1.75;
}
.article-body ul.signs span {
  display: block; margin-top: 6px; color: var(--text-mute);
  font-size: .94em; line-height: 1.8;
}
.article-body ul.signs span::before { content: "— "; color: var(--accent); }
