/* ============================================================
   A Guide to the Japanese Sex Industry - dark (black-based) theme
   ============================================================ */

/* ── CSS Variables (black-based palette) ── */
:root {
  --red:      #d23b4e;            /* crimson accent (brightened for black bg) */
  --red-lt:   #e85d6e;            /* crimson light */
  --gold:     #d4af6a;            /* gold accent */
  --gold-lt:  #ecd092;            /* gold light */
  --ink:      #050406;            /* near-black header */
  --cream:    #0b0a0d;            /* page background (black) */
  --cream2:   #16141a;            /* surface / cards */
  --border:   #2b2630;            /* borders */
  --text:     #ece6da;            /* warm off-white text */
  --muted:    #9a8e80;            /* muted text */
  --navy:     #4774b0;            /* badge: column */
  --moss:     #57895f;            /* badge: area */
  --purple:   #9b5aa8;            /* badge: shop */
  --orange:   #cf7430;            /* badge: shopname */
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

html { overflow-x: clip; } /* clip は scroll container を作らないので sticky を壊さない */

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='110' height='110'><g transform='translate(55,55)' fill='%23c9a452' opacity='0.09'><ellipse rx='44' ry='9'/><ellipse rx='44' ry='9' transform='rotate(22.5)'/><ellipse rx='44' ry='9' transform='rotate(45)'/><ellipse rx='44' ry='9' transform='rotate(67.5)'/><ellipse rx='44' ry='9' transform='rotate(90)'/><ellipse rx='44' ry='9' transform='rotate(112.5)'/><ellipse rx='44' ry='9' transform='rotate(135)'/><ellipse rx='44' ry='9' transform='rotate(157.5)'/><circle r='12'/></g></svg>");
  background-size: 110px 110px;
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}

/* 菊紋の透かし */
.site-header::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g transform='translate(50,50)' fill='%23c9a452'><ellipse rx='44' ry='10'/><ellipse rx='44' ry='10' transform='rotate(22.5)'/><ellipse rx='44' ry='10' transform='rotate(45)'/><ellipse rx='44' ry='10' transform='rotate(67.5)'/><ellipse rx='44' ry='10' transform='rotate(90)'/><ellipse rx='44' ry='10' transform='rotate(112.5)'/><ellipse rx='44' ry='10' transform='rotate(135)'/><ellipse rx='44' ry='10' transform='rotate(157.5)'/><circle r='13'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.site-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-lt);
  white-space: nowrap;
  letter-spacing: .06em;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.site-title:hover { text-decoration: none; color: #fff; }

.site-tagline {
  font-size: .7rem;
  color: rgba(230,201,122,.65);
  margin-top: 3px;
  letter-spacing: .04em;
}

/* ── ナビゲーション ── */
.site-nav > ul {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  color: #e0ceaa;
  padding: 6px 11px;
  font-size: .84rem;
  border-radius: 1px;
  transition: background .15s, color .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.site-nav a:hover {
  background: var(--red);
  color: var(--gold-lt);
  border-color: rgba(201,164,82,.4);
  text-decoration: none;
}

/* ドロップダウン */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-top: 2px solid var(--gold);
  min-width: 140px;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid rgba(201,164,82,.18);
}
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a {
  border-radius: 0;
  padding: 9px 14px;
  font-size: .84rem;
  border: none;
}

/* ハンバーガー（モバイル） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-lt);
  border-radius: 0;
  transition: .3s;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--cream2);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: .78rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--red); }
.breadcrumb .bc-sep { margin: 0 6px; color: var(--border); }
.breadcrumb .bc-current { color: var(--muted); }

/* ============================================================
   MAIN LAYOUT（2カラム）
   ============================================================ */
.site-main { flex: 1; padding: 28px 0 48px; }

.layout-2col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.main-content { min-width: 0; }

.page-heading {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 1.3rem;
  font-weight: 700;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: .05em;
}

/* トップページのH1（SEO見出し。heroの上に簡潔に表示） */
.top-h1 {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin: 4px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  letter-spacing: .03em;
}
@media (max-width: 640px) {
  .top-h1 { font-size: .92rem; }
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-list { display: flex; flex-direction: column; gap: 12px; }

.card {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 1px;
  padding: 18px 20px;
  transition: box-shadow .15s, transform .15s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(125,24,33,.13);
  transform: translateY(-1px);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.card-date {
  font-size: .76rem;
  color: var(--muted);
  margin-left: auto;
}

.card-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--red); text-decoration: none; }

.card-summary {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }

.card-readmore {
  display: inline-block;
  font-size: .82rem;
  color: var(--red);
  font-weight: 500;
}
.card-readmore:hover { text-decoration: underline; }

/* ============================================================
   BADGES（和の色）
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 1px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
  letter-spacing: .04em;
}
.badge-diary    { background: var(--red);    color: #fff; }
.badge-column   { background: var(--navy);   color: #fff; }
.badge-area     { background: var(--moss);   color: #fff; }
.badge-shop     { background: var(--purple); color: #fff; }
.badge-shopname { background: var(--orange); color: #fff; }

/* ============================================================
   TAGS
   ============================================================ */
.tag {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 1px;
}
a.tag:hover {
  background: rgba(125,24,33,.07);
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.page-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--red);
  color: #fff;
  border-radius: 1px;
  font-size: .9rem;
  border: 1px solid var(--red);
  transition: background .15s, border-color .15s, color .15s;
}
.page-btn:hover {
  background: var(--ink);
  border-color: var(--gold);
  color: var(--gold-lt);
  text-decoration: none;
}
.page-info { font-size: .9rem; color: var(--muted); }

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.article-detail {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 28px;
}

.article-header { margin-bottom: 24px; }

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.article-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: .03em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-lead {
  background: rgba(201,164,82,.1);
  border-left: 4px solid var(--gold);
  padding: 10px 16px;
  font-size: .95rem;
  color: var(--text);
  border-radius: 0 2px 2px 0;
}

/* 本文スタイル */
.article-body { line-height: 1.95; font-size: 1rem; }
.article-body h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.22rem;
  font-weight: 700;
  margin: 32px 0 12px;
  padding: 9px 14px;
  background: linear-gradient(to right, rgba(125,24,33,.08), transparent);
  border-left: 4px solid var(--red);
  color: var(--text);
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  margin: 16px 0;
  padding: 8px 16px;
  color: var(--muted);
  background: rgba(201,164,82,.07);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: .9rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.article-body th { background: rgba(201,164,82,.15); font-weight: 700; color: var(--text); }
.article-body tr:nth-child(even) { background: rgba(245,237,216,.5); }
.article-body a { color: var(--red); }

/* タグ */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tags-label { font-size: .84rem; color: var(--muted); }

/* 前後ナビ */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.nav-prev, .nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1px;
}
.nav-next { text-align: right; }
.nav-dir { font-size: .72rem; color: var(--muted); }
.nav-article-title { font-size: .88rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.nav-prev:hover, .nav-next:hover {
  background: rgba(201,164,82,.1);
  text-decoration: none;
  border-color: var(--gold);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.widget {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.widget-title {
  background: var(--red);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: 9px 14px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .07em;
  border-bottom: 2px solid var(--gold);
}

.widget-list {
  list-style: none;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.widget-list li {
  font-size: .85rem;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 6px;
}
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-list a { color: var(--text); display: block; }
.widget-list a:hover { color: var(--red); text-decoration: none; }
.widget-badge {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 1px;
  margin-right: 5px;
  vertical-align: middle;
}
.widget-badge.diary  { background: var(--red);  color: #fff; }
.widget-badge.column { background: var(--navy); color: #fff; }
.widget-date { display: block; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.count { color: var(--muted); font-size: .78rem; }

/* タグクラウド */
.tag-cloud { padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 5px; }

/* 検索ウィジェット */
.widget-search .widget-title { background: var(--ink); border-bottom-color: var(--gold); }
.sidebar-search-form {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
}
.sidebar-search-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 6px 10px;
  font-size: .85rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text);
}
.sidebar-search-input:focus { outline: none; border-color: var(--gold); }
.sidebar-search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 1px;
  padding: 6px 12px;
  font-size: .84rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.sidebar-search-btn:hover { background: var(--ink); }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-page {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 28px;
}
.search-box-wrap { display: flex; gap: 10px; margin: 20px 0 8px; }
.search-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text);
}
.search-input:focus { outline: none; border-color: var(--gold); }
.search-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 1px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.search-btn:hover { background: var(--ink); }
.search-hint { font-size: .84rem; color: var(--muted); margin-bottom: 24px; }
.search-prompt { color: var(--muted); text-align: center; padding: 40px 0; }
.no-articles { color: var(--muted); text-align: center; padding: 40px 0; }

/* ============================================================
   ADMIN PROFILE CARD
   ============================================================ */
.admin-profile-card {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 1px;
  padding: 18px;
  margin-bottom: 20px;
}
.admin-profile-inner { display: flex; gap: 16px; align-items: flex-start; }
.admin-profile-icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
}
.admin-profile-icon img { width: 100%; height: 100%; object-fit: cover; }
.admin-profile-body { flex: 1; }
.admin-profile-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.admin-profile-age { font-size: .74rem; font-weight: 400; color: var(--muted); margin-left: 8px; }
.admin-profile-bio { font-size: .86rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   ADMIN SPEECH BUBBLE
   ============================================================ */
.admin-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}

.admin-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--cream);
}
.admin-icon img { width: 100%; height: 100%; object-fit: cover; }

.admin-bubble {
  position: relative;
  background: rgba(245,237,216,.85);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text);
  flex: 1;
}
.admin-bubble::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -9px;
  border: 5px solid transparent;
  border-right-color: var(--border);
}
.admin-bubble::after {
  content: "";
  position: absolute;
  top: 17px;
  left: -7px;
  border: 4px solid transparent;
  border-right-color: rgba(245,237,216,.85);
}

.admin-name {
  display: block;
  font-size: .69rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 5px;
  letter-spacing: .07em;
}

/* ============================================================
   ARTICLE THUMBNAIL
   ============================================================ */
.article-thumbnail {
  margin: 16px 0 24px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.related-articles {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  letter-spacing: .04em;
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.related-card:hover {
  border-color: var(--gold);
  background: rgba(201,164,82,.08);
  text-decoration: none;
}
.related-card-title {
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(201,164,82,.65);
  text-align: center;
  padding: 22px 0;
  margin-top: auto;
  border-top: 3px solid var(--gold);
}
.footer-copy { font-size: .84rem; margin-bottom: 4px; color: var(--gold-lt); }
.footer-note { font-size: .7rem; color: rgba(201,164,82,.45); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 2px solid var(--gold);
    padding: 12px 16px;
    z-index: 99;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(201,164,82,.2);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    display: none;
    border: none;
    border-top: 1px solid rgba(201,164,82,.15);
  }
  .nav-dropdown.open .dropdown-menu { display: flex; }

  .header-inner { position: relative; }
  .sidebar { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-title { font-size: 1.25rem; }
  .search-box-wrap { flex-direction: column; }
  .area-index-grid { grid-template-columns: 1fr 1fr; }
}

/* ── エリア階層（サイドバー） ── */
.widget-area-tree { }
.area-parent { margin-bottom: 8px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.area-parent:last-child { border-bottom: none; }
.area-parent-link { display: block; font-size: .88rem; font-weight: 600; color: var(--text); padding: 2px 0; }
.area-parent-link:hover { color: var(--red); text-decoration: none; }
.area-sub-list { list-style: none; margin: 4px 0 0 0; padding: 0 0 0 10px; border-left: 2px solid var(--border); }
.area-sub-list li { font-size: .78rem; padding: 2px 0; }
.area-sub-list a { color: var(--text); }
.area-sub-list a:hover { color: var(--red); text-decoration: none; }

/* ── サブエリアナビ（親エリアページ） ── */
.sub-area-nav {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 8px 8px;
  padding: 18px 20px 20px;
  margin-bottom: 24px;
}
.sub-area-nav-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sub-area-nav-label::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.sub-area-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sub-area-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 7px 14px;
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.sub-area-chip:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(125,24,33,.25);
}
.sub-area-chip .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  background: var(--cream);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}
.sub-area-chip:hover .count {
  background: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}

/* ── 親エリアへ戻るリンク ── */
.parent-area-back { font-size: .85rem; margin-bottom: 12px; }
.parent-area-back a { color: var(--muted); text-decoration: none; }
.parent-area-back a:hover { color: var(--red); }

/* ── エリアインデックス（/area/） ── */
.area-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.area-index-block { background: var(--cream2); border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; }
.area-index-parent { font-size: 1rem; margin: 0 0 8px; border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.area-index-parent a { color: var(--text); text-decoration: none; }
.area-index-parent a:hover { color: var(--red); }
.area-index-subs { list-style: none; margin: 0; padding: 0; }
.area-index-subs li { font-size: .8rem; padding: 3px 0; border-bottom: 1px solid var(--border); }
.area-index-subs li:last-child { border-bottom: none; }
.area-index-subs a { color: var(--text); text-decoration: none; }
.area-index-subs a:hover { color: var(--red); }

/* ── 店舗種別インデックス（/type/） ── */
.type-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.type-index-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--cream2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .15s, transform .1s;
}
.type-index-card:hover {
  box-shadow: 0 4px 12px rgba(125,24,33,.15);
  transform: translateY(-2px);
}
.type-index-name { font-size: .95rem; font-weight: 700; }
.type-index-count { font-size: .78rem; color: var(--muted); }

/* ── エリア説明ボックス ── */
.area-description-box {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── FAQセクション ── */
.faq-section {
  margin-top: 32px;
  border-top: 2px solid var(--border);
  padding-top: 24px;
}
.faq-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
  background: var(--cream2);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--gold); }
.faq-question {
  padding: 13px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "▼";
  margin-left: auto;
  font-size: .7rem;
  color: var(--muted);
  transition: transform .2s;
}
.faq-item[open] .faq-question::after { transform: rotate(-180deg); }
.faq-answer {
  padding: 12px 16px 14px 48px;
  font-size: .87rem;
  color: var(--text);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  background: var(--cream2);
}

/* ============================================================
   ヒーロー記事（トップページ）
   ============================================================ */
.hero-article {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--ink);
  box-shadow: 0 4px 24px rgba(0,0,0,.28);
}
.hero-article > a { display: block; color: inherit; text-decoration: none; }

.hero-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 44%;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: transform .45s ease, opacity .45s;
}
.hero-article:hover .hero-img { transform: scale(1.04); opacity: .48; }

.hero-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,4,6,.92) 0%, rgba(10,4,6,.55) 55%, transparent 100%);
  padding: 64px 28px 26px;
  color: #fff;
}

.hero-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .02em;
}
.hero-badge-area {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
}
.hero-badge-type { background: var(--navy); }

.hero-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  overflow-wrap: break-word;
  word-break: break-all;
}
.hero-summary {
  font-size: .84rem;
  opacity: .87;
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-date { font-size: .75rem; opacity: .7; }
.hero-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 8px 22px;
  border-radius: 5px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .15s;
  white-space: nowrap;
}
.hero-article:hover .hero-cta { background: var(--red-lt); }

/* ============================================================
   クイックナビ
   ============================================================ */
.quick-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 14px 16px;
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.quick-nav-group { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.quick-nav-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 30px;
}
.quick-nav-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.q-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: var(--cream2);
  color: var(--text);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.q-chip:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-1px); }
.q-chip-more { color: var(--muted); font-size: .72rem; }
.chip-type { border-color: var(--gold); color: var(--orange); background: rgba(212,175,106,.10); }
.chip-type:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ============================================================
   フィルタータブ
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  display: inline-block;
  padding: 9px 18px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.filter-tab:hover { color: var(--text); }
.filter-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ============================================================
   記事グリッド（Amebaスタイル カード）
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.article-grid-2col { grid-template-columns: repeat(2, 1fr); }

/* カード本体: ボーダーなし・シャドウ */
.grid-card {
  background: var(--cream2);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
}
.grid-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* サムネ: 16:9 */
.grid-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
}
.grid-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.grid-card:hover .grid-thumb img { transform: scale(1.07); }

.grid-thumb-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .63rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: .03em;
}

/* カード本文 */
.grid-body {
  padding: 13px 15px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* バッジ行 */
.grid-badge-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.grid-badge-area, .grid-badge-type {
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.grid-badge-area { background: var(--cream); border: 1px solid var(--border); color: var(--muted); }
.grid-badge-type { background: rgba(26,53,96,.12); color: var(--navy); }

/* タイトル */
.grid-title {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* サマリー */
.grid-summary {
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 8px;
  flex: 1;
}

/* 著者行 */
.card-author-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #f0ebe2;
}
.card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.card-author-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
}
.grid-date {
  font-size: .68rem;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
/* タブレット: 3col → 2col */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

/* スマホ */
@media (max-width: 600px) {
  .type-index-grid { grid-template-columns: repeat(2, 1fr); }
  .area-index-grid { grid-template-columns: 1fr 1fr; }

  /* グリッド: 1列 */
  .article-grid,
  .article-grid-2col { grid-template-columns: 1fr; gap: 10px; }

  /* カードを横並びレイアウトに（スマホで縦長を防ぐ） */
  .grid-card { overflow: visible; }
  .grid-card > a {
    flex-direction: row;
    align-items: stretch;
    height: auto;
  }
  .grid-thumb {
    flex-shrink: 0;
    width: 38%;
    padding-bottom: 0 !important;
    height: 118px;
    position: relative;
  }
  .grid-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .grid-thumb-badge { font-size: .58rem; padding: 2px 6px; top: 6px; left: 6px; }
  .grid-body { padding: 8px 10px 10px; flex: 1; min-width: 0; }
  .grid-title { font-size: .83rem; -webkit-line-clamp: 3; margin-bottom: 4px; }
  .grid-summary { display: none; }
  .grid-meta { margin-bottom: 4px; }
  .grid-date { margin-left: 0; display: block; margin-top: 2px; }

  /* ヒーロー */
  .hero-img-wrap { padding-bottom: 52%; }
  .hero-body { padding: 36px 14px 16px; }
  .hero-title { font-size: 1rem; -webkit-line-clamp: 3; }
  .hero-summary { display: none; }
  .hero-cta { padding: 7px 16px; font-size: .8rem; }

  /* クイックナビ */
  .quick-nav { padding: 10px 12px; gap: 8px; }
  .quick-nav-group { flex-wrap: nowrap; align-items: center; }
  .quick-nav-chips { gap: 6px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
  .quick-nav-chips::-webkit-scrollbar { display: none; }
}

/* ============================================================
   ABOUT / 運営者情報ページ
   ============================================================ */
.about-page { line-height: 1.85; }
.about-page p { margin: 0 0 1em; }
.about-author-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #e5e0d8);
}
.about-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.about-name { font-size: 1.25rem; margin: 0 0 2px; }
.about-role { font-size: .85rem; color: var(--muted, #8a8070); margin: 0; }
.about-block { margin-top: 28px; }
.about-block > h2 {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: 1.15rem; font-weight: 700;
  border-left: 4px solid var(--gold); padding-left: 10px;
  margin-bottom: 12px;
}
.about-list { margin: 0 0 1em; padding-left: 1.4em; }
.about-list li { margin-bottom: .6em; }
.about-list-ol { counter-reset: none; }
.about-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.about-dl dt { font-weight: 700; color: var(--text); }
.about-dl dd { margin: 0; }
.about-disclaimer {
  margin-top: 32px; padding: 16px; border-radius: 8px;
  background: var(--cream, #faf7f1); font-size: .9rem; color: var(--muted, #6b6354);
}
.about-disclaimer h2 { font-size: 1rem; border: none; padding: 0; margin-bottom: 8px; }

/* フッターナビ */
.footer-nav { margin-bottom: 10px; font-size: .85rem; }
.footer-nav a { color: inherit; text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-sep { margin: 0 8px; opacity: .4; }
.footer-note a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
  .about-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .about-dl dd { margin-bottom: 8px; }
}

/* エリア×業種ハブのチップ（業種で絞り込む） */
.hub-nav {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  padding: 16px 20px 18px;
  margin-bottom: 20px;
}
.hub-nav-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  color: var(--muted); margin: 0 0 12px;
  display: flex; align-items: center; gap: 6px;
}
.hub-nav-label::before {
  content: ''; display: inline-block; width: 12px; height: 2px;
  background: var(--gold); border-radius: 1px;
}
.hub-link-list { list-style: none !important; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px 7px 14px; background: var(--cream2);
  border: 1px solid var(--gold); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--text);
  text-decoration: none; transition: background .15s, color .15s, transform .1s;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.hub-chip:hover { background: var(--gold); color: var(--text); transform: translateY(-1px); text-decoration: none; }
.hub-chip .count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 18px; padding: 0 5px;
  background: var(--cream); border-radius: 999px;
  font-size: .7rem; font-weight: 700; color: var(--muted); line-height: 1;
}

/* ── dark-theme contrast fixes (black-based theme) ── */
::selection { background: var(--gold); color: #15110a; }
.hub-chip:hover, .hub-chip:hover a, .chip-type:hover { color: #15110a; }
.site-title:hover { color: #fff; }
/* shop-name / external link cards stay legible on dark surfaces */
.card-title a:hover { color: var(--gold-lt); }
