/*
Theme Name: PJaPa
Theme URI: https://pjapa.com
Description: パパ活エンタメ広場 PJaPa オリジナルテーマ
Version: 1.0.0
Author: PJaPa
Text Domain: pjapa
*/

/* ============================================================
   CSS Variables
============================================================ */
:root {
  --pink:        #D4537E;
  --pink-light:  #F4C0D1;
  --pink-pale:   #FBEAF0;
  --pink-deep:   #993556;
  --coral:       #E8735A;
  --coral-pale:  #FAECE7;
  --amber:       #E8A030;
  --amber-pale:  #FAEEDA;
  --teal:        #1D9E75;
  --teal-pale:   #E1F5EE;
  --bg:          #FFF8F5;
  --bg-white:    #FFFFFF;
  --text:        #2C2C2A;
  --text-muted:  #888780;
  --text-light:  #B4B2A9;
  --border:      #F4C0D1;
  --border-soft: #FFE8F0;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 2px 8px rgba(212,83,126,.08);
  --shadow-md:   0 4px 16px rgba(212,83,126,.12);
  --font-main:   'Zen Maru Gothic', sans-serif;
  --max-width:   1000px;
  --header-h:    64px;
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pink); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); }

/* ============================================================
   Typography
============================================================ */
h1 { font-size: 1.6rem; font-weight: 700; line-height: 1.4; }
h2 { font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
h4 { font-size: 1rem;   font-weight: 700; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title .more {
  margin-left: auto;
  font-size: .75rem;
  color: var(--pink);
  font-weight: 500;
}

/* ============================================================
   Utility
============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.6;
}
.badge-pink   { background: var(--pink-pale);  color: var(--pink-deep); }
.badge-coral  { background: var(--coral-pale); color: #993C1D; }
.badge-amber  { background: var(--amber-pale); color: #854F0B; }
.badge-teal   { background: var(--teal-pale);  color: #0F6E56; }
.badge-new    { background: var(--teal-pale);  color: #0F6E56; }
.badge-hot    { background: var(--pink-pale);  color: var(--pink-deep); }

.tag-episode  { background: var(--pink-pale);  color: var(--pink-deep); }
.tag-area     { background: #E6F1FB; color: #185FA5; }
.tag-strategy { background: var(--teal-pale);  color: #0F6E56; }
.tag-sumo     { background: var(--amber-pale); color: #854F0B; }
.tag-vote     { background: #EEEDFE; color: #534AB7; }
.tag-pj       { background: var(--coral-pale); color: #993C1D; }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 12px 24px;
  font-size: .9rem;
}
.btn-primary:hover { background: var(--pink-deep); color: #fff; opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink-light);
  padding: 10px 20px;
  font-size: .85rem;
}
.btn-outline:hover { background: var(--pink-pale); color: var(--pink); opacity: 1; }
.btn-cv {
  background: linear-gradient(135deg, var(--pink) 0%, #E8735A 100%);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.btn-cv:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; opacity: 1; }

/* ============================================================
   Decorative Elements
============================================================ */
.deco-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: .15;
  pointer-events: none;
}
.zigzag-border {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0px, var(--pink) 10px,
    var(--pink-light) 10px, var(--pink-light) 20px
  );
}
.wave-divider {
  height: 40px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

/* ============================================================
   Header
============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-sub {
  font-size: .6rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: .06em;
}
.logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo-main .p  { color: var(--pink); }
.logo-main .pj { color: var(--pink); }

#global-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
#global-nav a {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-xl);
  transition: all .15s;
  white-space: nowrap;
}
#global-nav a:hover,
#global-nav a.current {
  background: var(--pink-pale);
  color: var(--pink);
}
.header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-post {
  background: var(--pink);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-xl);
  border: none;
  transition: background .15s;
}
.btn-post:hover { background: var(--pink-deep); color: #fff; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  padding: 16px;
  z-index: 99;
  flex-wrap: wrap;
  gap: 8px;
}
#mobile-nav a {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--pink-pale);
}
#mobile-nav.open { display: flex; }

/* ============================================================
   Hero (top page)
============================================================ */
.site-hero {
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  padding: 28px 16px 24px;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-pale) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-text h1 { font-size: 1.2rem; margin-bottom: 6px; }
.hero-text p  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.hero-mascot  { width: 80px; height: 80px; flex-shrink: 0; }

/* ============================================================
   Corner Navigation Grid
============================================================ */
.corner-nav { padding: 20px 16px 8px; max-width: var(--max-width); margin: 0 auto; }
.corner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.corner-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.corner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pink-pale);
  opacity: 0;
  transition: opacity .2s;
}
.corner-card:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.corner-card:hover::before { opacity: 1; }
.corner-card.featured { border-color: var(--pink-light); background: var(--pink-pale); }
.corner-icon {
  font-size: 1.6rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.corner-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.corner-desc {
  font-size: .65rem;
  color: var(--text-muted);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.corner-card.featured .corner-label { color: var(--pink); }

/* ============================================================
   Main Layout (2-column)
============================================================ */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
}
.content-area {}
.sidebar {}

/* ============================================================
   Post List
============================================================ */
.post-list-block {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
}
.post-list-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.post-list-item:last-child { border-bottom: none; }
.post-list-item:hover { background: #FFF5F8; }
.post-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 7px;
}
.post-dot.hot { background: var(--pink); }
.post-dot.new { background: var(--teal); }
.post-info {}
.post-cat {
  font-size: .65rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 2px;
}
.post-title-text {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 3px;
}
.post-meta {
  font-size: .7rem;
  color: var(--text-light);
}

/* ============================================================
   Area Block
============================================================ */
.area-nav-block {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.area-btn {
  font-size: .75rem;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all .15s;
}
.area-btn:hover   { background: var(--pink-pale); color: var(--pink); border-color: var(--pink-light); }
.area-btn.major   { background: var(--pink-pale); color: var(--pink-deep); border-color: var(--pink-light); font-weight: 700; }

/* ============================================================
   Sidebar Widgets
============================================================ */
.widget {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.widget-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CV Widget */
.cv-widget {
  background: var(--pink-pale);
  border-color: var(--pink-light);
  text-align: center;
}
.cv-widget p {
  font-size: .78rem;
  color: #4B1528;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
}
.cv-widget .cv-sub {
  font-size: .65rem;
  color: var(--pink);
  margin-bottom: 10px;
  font-weight: 700;
}

/* Sumo Widget */
.sumo-list .sumo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: .8rem;
}
.sumo-list .sumo-item:last-child { border-bottom: none; }
.rank-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.rb-y { background: var(--amber-pale); color: #854F0B; }
.rb-o { background: var(--coral-pale); color: #993C1D; }
.rb-s { background: var(--pink-pale);  color: var(--pink-deep); }
.rb-k { background: #EEEDFE; color: #534AB7; }
.sumo-name  { font-weight: 700; color: var(--text); flex: 1; }
.sumo-shikona { font-size: .65rem; color: var(--pink); }
.widget-more {
  text-align: center;
  margin-top: 10px;
}
.widget-more a {
  font-size: .72rem;
  color: var(--pink);
  font-weight: 700;
}

/* Vote Widget */
.vote-question {
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.4;
}
.vote-row { margin-bottom: 7px; }
.vote-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}
.vote-bar-bg {
  height: 8px;
  background: var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}
.vote-bar { height: 100%; border-radius: 4px; }
.vb-main { background: var(--pink); }
.vb-sub  { background: var(--pink-light); }
.vote-count { font-size: .65rem; color: var(--text-light); margin-top: 5px; }

/* ============================================================
   Archive Pages
============================================================ */
.archive-hero {
  background: var(--bg-white);
  border-bottom: 2px solid var(--border);
  padding: 24px 16px;
}
.archive-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.archive-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.archive-icon.episode  { background: var(--pink-pale); }
.archive-icon.area     { background: #E6F1FB; }
.archive-icon.strategy { background: var(--teal-pale); }
.archive-icon.sumo     { background: var(--amber-pale); }
.archive-icon.vote     { background: #EEEDFE; }
.archive-icon.pj       { background: var(--coral-pale); }
.archive-title h1 { font-size: 1.3rem; margin-bottom: 4px; }
.archive-title p  { font-size: .8rem; color: var(--text-muted); margin: 0; }

.archive-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
}

/* Post Cards (archive grid) */
.post-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.post-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-thumb {
  height: 120px;
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.post-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.post-card-title {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  flex: 1;
  color: var(--text);
}
.post-card-meta { font-size: .68rem; color: var(--text-light); }

/* Area Page */
.area-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.area-index-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all .2s;
}
.area-index-card:hover { border-color: var(--pink); background: var(--pink-pale); }
.area-index-card.major { border-color: var(--pink-light); background: var(--pink-pale); }
.area-name { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.area-count { font-size: .68rem; color: var(--text-muted); }

/* Sumo Page */
.sumo-table {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.sumo-table-header {
  background: var(--amber-pale);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid var(--border);
}
.sumo-table-header h2 { font-size: .9rem; color: #854F0B; }
.sumo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.sumo-row:last-child { border-bottom: none; }
.sumo-row:hover { background: #FFFBF5; }
.sumo-rank-large {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sumo-info { flex: 1; }
.sumo-info .name   { font-size: .9rem; font-weight: 700; color: var(--text); }
.sumo-info .shikona{ font-size: .72rem; color: var(--pink); }
.sumo-info .reason { font-size: .72rem; color: var(--text-muted); margin-top: 2px; }
.sumo-votes { font-size: .75rem; color: var(--text-muted); text-align: right; }

/* Vote Page */
.vote-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}
.vote-card-q { font-size: .95rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.vote-btns { display: flex; gap: 8px; }
.vote-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg);
  font-family: var(--font-main);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.vote-btn:hover { border-color: var(--pink); background: var(--pink-pale); color: var(--pink); }
.vote-btn.ari  { border-color: var(--teal); color: var(--teal); }
.vote-btn.nasi { border-color: var(--pink); color: var(--pink); }

/* ============================================================
   Single Post
============================================================ */
.single-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
}
.single-article {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-header { padding: 20px 20px 16px; border-bottom: 1.5px solid var(--border-soft); }
.article-header .post-cat { font-size: .72rem; font-weight: 700; color: var(--pink); margin-bottom: 6px; }
.article-header h1 { font-size: 1.2rem; line-height: 1.5; margin-bottom: 10px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  color: var(--text-muted);
}
.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--pink);
  flex-shrink: 0;
}
.article-body {
  padding: 20px;
  font-size: .88rem;
  line-height: 1.8;
}
.article-body h2 {
  font-size: 1rem;
  margin: 1.5em 0 .6em;
  padding: 8px 12px;
  background: var(--pink-pale);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body h3 {
  font-size: .9rem;
  margin: 1.2em 0 .5em;
  color: var(--pink-deep);
}
.article-footer {
  padding: 16px 20px;
  border-top: 1.5px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}
.like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--pink-light);
  background: var(--bg-white);
  font-family: var(--font-main);
  font-size: .8rem;
  font-weight: 700;
  color: var(--pink);
  cursor: pointer;
  transition: all .15s;
}
.like-btn:hover { background: var(--pink-pale); }
.share-btns { display: flex; gap: 6px; margin-left: auto; }
.share-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  cursor: pointer;
  transition: all .15s;
}
.share-btn:hover { background: var(--pink-pale); border-color: var(--pink-light); }

/* Comments */
.comments-section {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 12px;
}
.comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 10px;
}
.comment-item:last-of-type { border-bottom: none; }
.comment-body { flex: 1; }
.comment-author { font-size: .75rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.comment-text   { font-size: .82rem; color: var(--text); line-height: 1.6; }
.comment-meta   { font-size: .65rem; color: var(--text-light); margin-top: 3px; }

.comment-form { margin-top: 16px; }
.comment-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: .82rem;
  resize: vertical;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 8px;
}
.comment-form textarea:focus {
  outline: none;
  border-color: var(--pink-light);
  background: var(--bg-white);
}
.comment-form input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: .82rem;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 8px;
}
.comment-form input:focus {
  outline: none;
  border-color: var(--pink-light);
  background: var(--bg-white);
}

/* ============================================================
   Submission Form
============================================================ */
.submit-form-wrap {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.form-label .req {
  font-size: .65rem;
  color: var(--pink);
  margin-left: 4px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: .85rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--pink-light);
  background: var(--bg-white);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: .68rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   Pagination
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s;
}
.pagination a:hover { background: var(--pink-pale); color: var(--pink); border-color: var(--pink-light); }
.pagination .current { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ============================================================
   Footer
============================================================ */
#site-footer {
  background: var(--text);
  color: #fff;
  padding: 32px 16px 20px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-logo span { color: var(--pink-light); }
.footer-tagline {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--pink-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  font-size: .68rem;
  color: rgba(255,255,255,.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-disclaimer {
  font-size: .65rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  #global-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header-actions .btn-post { display: none; }
  .corner-grid { grid-template-columns: repeat(2, 1fr); }
  .site-main,
  .archive-main,
  .single-main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .post-card-grid { grid-template-columns: 1fr; }
  .area-index-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 1rem; }
  .hero-mascot { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .corner-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.3rem; }
}

/* アプリ選ぶボタン（ヘッダー） */
.btn-apps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  background: var(--pink-pale);
  color: var(--pink-deep);
  border: 1.5px solid var(--pink-light);
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.btn-apps:hover,
.btn-apps.current {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  opacity: 1;
}
@media (max-width: 768px) {
  .btn-apps { display: none; }
}

/* CTA スクリーンショット PC/SP切り替え */
.cta-ss-sp { display: none; }
.cta-ss-pc { display: block; }
@media (max-width: 768px) {
  .cta-ss-pc { display: none; }
  .cta-ss-sp { display: block; }
}

/* =========================
   PJaPa MV Image Hero
   ========================= */

.site-hero.site-hero-image {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f8f2ff;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: min(30vw, 300px);
  min-height: 220px;
  max-height: 300px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 65%;
  z-index: 1;
}

.hero-copy-image {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 620px);
  max-height: 84%;
  height: auto;
  display: block;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(92, 63, 128, 0.12));
}

/* 既存hero要素が残った場合の事故防止 */
.site-hero-image .hero-inner,
.site-hero-image .hero-mascot,
.site-hero-image .hero-text {
  display: none;
}

/* tablet */
@media (max-width: 1024px) {
  .hero-image-wrap {
    height: min(36vw, 300px);
    min-height: 220px;
  }

  .hero-copy-image {
    width: min(52vw, 560px);
    left: clamp(16px, 4vw, 48px);
  }
}

/* smartphone 暫定 */
@media (max-width: 768px) {
  .hero-image-wrap {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .hero-bg-image {
    object-position: 70% center;
  }

  .hero-copy-image {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: min(72vw, 420px);
    max-height: 86%;
  }
}

@media (max-width: 480px) {
  .hero-image-wrap {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .hero-bg-image {
    object-position: 1% center;
  }

  .hero-copy-image {
    left: 14px;
    width: 78vw;
    max-height: 84%;
  }
}

.corner-card-reiji {
  padding: 0;
  gap: 0;
  display: block;
  overflow: hidden;
  background: var(--bg-white);
}

.corner-card-reiji::before {
  display: none;
}

.corner-card-reiji:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.corner-reiji-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}