/*
Theme Name:  釣りっパ
Theme URI:   https://tsurippa.com
Author:      釣りっパ編集部
Description: 釣りっパ — 釣りの情報・文化メディア WordPress テーマ
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: tsurippa
*/

/* ===== CSS VARIABLES ===== */
:root {
  --sumi: #1a1a1a;
  --sumi-soft: #2c2520;
  --shu: #d63a2f;
  --shu-deep: #b4322a;
  --kinari: #faf7f2;
  --kinari-mid: #f0e9d8;
  --kinari-deep: #e8dcc8;
  --gold: #c9a961;
  --suna: #8a7a5c;
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  --display: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--kinari-mid);
  color: var(--sumi);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--sumi);
  color: rgba(250,247,242,0.45);
  padding: 5px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tb-links { display: flex; gap: 16px; list-style: none; }
.tb-links a { color: rgba(250,247,242,0.45); text-decoration: none; transition: color 0.2s; }
.tb-links a:hover { color: var(--kinari); }
.tb-sns { display: flex; gap: 10px; list-style: none; }
.tb-sns a {
  color: rgba(250,247,242,0.45);
  text-decoration: none;
  padding: 1px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  font-size: 10px;
  transition: all 0.2s;
}
.tb-sns a:hover { color: var(--kinari); border-color: rgba(255,255,255,0.3); }

/* WordPress nav wrapper reset */
.tb-links ul,
.tb-sns ul { display: contents; }
.tb-links li,
.tb-sns li { display: contents; }

/* ===== HEADER ===== */
header {
  background: var(--sumi);
  border-bottom: 3px solid var(--shu);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.h-logo {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--kinari);
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}
.h-logo .shu { color: var(--shu); }
.h-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  color: rgba(250,247,242,0.35);
  letter-spacing: 0.25em;
  margin-top: 2px;
}

/* SNS icon links（トップバー・フッター共通） */
.sns-icon-link {
  color: rgba(250,247,242,0.45);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sns-icon-link:hover {
  color: var(--kinari);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
/* フッター内のアイコンは少し大きく */
.f-sns .sns-icon-link {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

/* Search form */
form.h-search {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  padding: 9px 14px;
  color: rgba(255,255,255,0.35);
  font-family: var(--sans);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s;
  cursor: text;
}
form.h-search:hover { border-color: rgba(255,255,255,0.25); }
form.h-search::before { content: '🔍'; font-size: 14px; }
form.h-search input[type="search"] {
  background: none;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
  font-size: 12px;
  flex: 1;
  min-width: 0;
}
form.h-search input[type="search"]::placeholder { color: rgba(255,255,255,0.35); }

.h-search-hot {
  margin-left: auto;
  font-size: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.h-search-hot span,
.h-search-hot-tag {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.35);
  padding: 1px 7px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-size: 10px;
}
.h-search-hot span:hover,
.h-search-hot-tag:hover { background: var(--shu); color: var(--kinari); border-color: var(--shu); }

/* 検索 submit ボタン */
.h-search-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.2s;
  line-height: 1;
}
.h-search-btn:hover { color: var(--kinari); }

.h-actions { display: flex; gap: 8px; align-items: center; }
.h-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}
.h-btn.primary { background: var(--shu); color: var(--kinari); border: 1px solid var(--shu); }
.h-btn.outline { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); }
.h-btn:hover { opacity: 0.85; }
.h-btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

/* NAV */
.header-nav {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-item {
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: rgba(250,247,242,0.5);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.05em;
}
.nav-item:hover { color: var(--kinari); border-bottom-color: var(--kinari); }
.nav-item.coming-soon {
  color: #999 !important;
  pointer-events: none;
  cursor: default;
  border-bottom-color: transparent !important;
  position: relative;
}
.nav-item.coming-soon::after {
  content: '準備中';
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sumi);
  color: var(--kinari);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.nav-item.coming-soon:hover::after { opacity: 1; }
.nav-item.active,
.nav-inner li.current-menu-item > .nav-item { color: var(--kinari); border-bottom-color: var(--shu); }
.nav-badge {
  background: var(--shu);
  color: var(--kinari);
  font-size: 8px;
  padding: 0 4px;
  border-radius: 100px;
  font-weight: 700;
}

/* ===== TICKER ===== */
.ticker {
  background: var(--shu);
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  border-bottom: 1px solid var(--shu-deep);
  display: flex;
  align-items: center;
}
.ticker-label {
  background: var(--sumi);
  color: var(--kinari);
  padding: 4px 18px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  flex-shrink: 0;
  z-index: 1;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-text {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--kinari);
  animation: ticker-scroll 48s linear infinite;
  padding-left: 20px;
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0 6px;
  margin: 0 6px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 2px;
}
.t-item {
  color: var(--kinari);
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.t-item:hover { opacity: 0.75; }

/* ===== LAYOUT ===== */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 48px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.main-col { min-width: 0; }

/* ===== AD ===== */
.ad-box {
  background: var(--kinari);
  border: 1px dashed var(--suna);
  padding: 8px;
  position: relative;
  margin-bottom: 24px;
}
.ad-box::before {
  content: '広告';
  position: absolute;
  top: -8px; left: 10px;
  background: var(--kinari-mid);
  padding: 0 6px;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--suna);
  letter-spacing: 0.1em;
}
.ad-rect {
  background: repeating-linear-gradient(45deg, var(--kinari), var(--kinari) 8px, var(--kinari-mid) 8px, var(--kinari-mid) 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--suna);
  letter-spacing: 0.2em;
}
.ad-rect.banner { height: 90px; }
.ad-rect.rect { height: 250px; }
.ad-rect.rect-sm { height: 200px; }

/* ===== SEC COMMON ===== */
.sec { margin-bottom: 28px; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sumi);
}
.sec-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-badge {
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.1em;
}
.sec-badge.gold { background: var(--gold); color: var(--sumi); }
.sec-badge.dark { background: var(--sumi); color: var(--kinari); }
.sec-more {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--shu);
  text-decoration: none;
  border-bottom: 1px solid var(--shu);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.sec-more:hover { opacity: 0.7; }

/* ===== HERO ===== */
.hero {
  cursor: pointer;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  overflow: hidden;
  margin-bottom: 28px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 360px;
}
.hero-left { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-label {
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 0.15em;
}
.hero-date {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--suna);
}
.hero-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.hero-title .shu { color: var(--shu); }
.hero-title .ul {
  text-decoration: underline;
  text-decoration-color: var(--shu);
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--suna);
  line-height: 1.7;
  margin-bottom: 18px;
}
.hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.htag {
  font-family: var(--sans);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1.5px solid var(--sumi);
  color: var(--sumi);
  font-weight: 700;
}
.htag.shu { background: var(--shu); color: var(--kinari); border-color: var(--shu); }
.hero-btns { display: flex; gap: 8px; }
.hero-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-block;
  transition: opacity 0.2s;
}
.hero-btn:hover { opacity: 0.8; }
.hero-btn.primary { background: var(--shu); color: var(--kinari); }
.hero-btn.outline { background: transparent; color: var(--sumi); border: 1.5px solid var(--sumi); }

.hero-right {
  background: var(--kinari-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--suna);
  letter-spacing: 0.2em;
  position: relative;
  border-left: 1px solid var(--kinari-deep);
  overflow: hidden;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-right-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 0.1em;
  z-index: 1;
}

/* ===== RANKING ===== */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank {
  display: grid;
  grid-template-columns: 52px 120px 1fr;
  gap: 14px;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  padding: 14px;
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.rank:hover { border-color: var(--shu); transform: translateX(3px); }
.rank.top { border-left: 3px solid var(--shu); }
.rank-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 800;
  color: var(--kinari-deep);
  text-align: center;
  line-height: 1;
  letter-spacing: -0.06em;
}
.rank.top .rank-num { color: var(--shu); }
.rank-thumb {
  width: 120px;
  height: 90px;
  background: var(--kinari-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  color: var(--suna);
  flex-shrink: 0;
  overflow: hidden;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-cat { font-family: var(--sans); font-size: 9px; color: var(--shu); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 4px; }
.rank-title { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.rank-meta { display: flex; gap: 8px; font-family: var(--sans); font-size: 10px; color: var(--suna); align-items: center; }
.rank-pv {
  background: var(--shu);
  color: var(--kinari);
  padding: 1px 8px;
  border-radius: 100px;
  font-weight: 700;
}

/* ===== AFF BANNER ===== */
.aff-banner {
  background: var(--sumi);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-top: 3px solid var(--shu);
  border-bottom: 3px solid var(--shu);
  position: relative;
  overflow: hidden;
}
.aff-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 40px);
}
.aff-banner-left { position: relative; z-index: 1; }
.aff-banner-tag {
  display: inline-block;
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.aff-banner-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--kinari);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.aff-banner-title .shu { color: var(--shu); }
.aff-banner-sub { font-family: var(--sans); font-size: 12px; color: rgba(250,247,242,0.45); }
.aff-banner-btn {
  position: relative;
  z-index: 1;
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 28px;
  text-decoration: none;
  white-space: nowrap;
  display: block;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.aff-banner-btn:hover { opacity: 0.85; }
.aff-banner-btn small { display: block; font-size: 10px; font-weight: 400; opacity: 0.65; margin-top: 3px; letter-spacing: 0.1em; }

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { border-color: var(--shu); transform: translateY(-2px); }
.card-sticker {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--shu);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  z-index: 2;
  letter-spacing: 0.05em;
}
.card-sticker.dark { background: var(--sumi); }
.card-sticker.gold { background: var(--gold); color: var(--sumi); }
.card-thumb {
  height: 140px;
  background: var(--kinari-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 12px;
  color: var(--suna);
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--kinari-deep);
  overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; }
.card-cat { font-family: var(--sans); font-size: 9px; color: var(--shu); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 4px; }
.card-title { font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--suna);
  padding-top: 8px;
  border-top: 1px solid var(--kinari-mid);
}
.card-pv {
  background: var(--kinari-mid);
  color: var(--sumi);
  padding: 1px 6px;
  border-radius: 2px;
  font-weight: 700;
  border: 1px solid var(--kinari-deep);
}
.card.is-ad { border-style: dashed; border-color: var(--suna); opacity: 0.85; }
.card.is-ad::after {
  content: '広告';
  position: absolute;
  top: 4px; right: 4px;
  background: var(--suna);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 8px;
  padding: 1px 4px;
  border-radius: 2px;
  z-index: 3;
}
.card-date {
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  color: var(--suna);
  letter-spacing: 0.05em;
}
.card.is-ad .card-thumb {
  background: repeating-linear-gradient(45deg, var(--kinari), var(--kinari) 8px, var(--kinari-mid) 8px, var(--kinari-mid) 16px);
  color: var(--suna);
}

/* ===== COMPARISON TABLE ===== */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  font-family: var(--sans);
  font-size: 13px;
}
.comp-table thead { background: var(--sumi); color: var(--kinari); }
.comp-table th { padding: 11px 14px; text-align: center; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; }
.comp-table th:first-child { text-align: left; }
.comp-table td { padding: 11px 14px; border-bottom: 1px solid var(--kinari-deep); text-align: center; }
.comp-table td:first-child { text-align: left; font-family: var(--serif); font-weight: 700; }
.comp-table tbody tr:hover { background: var(--kinari-mid); }
.comp-table tbody tr.best { background: #fff8f7; border-left: 3px solid var(--shu); }
.comp-table tbody tr.best td:first-child::after { content: ' 編集部推し'; font-size: 10px; color: var(--shu); font-family: var(--sans); font-weight: 700; }
.star { color: var(--shu); }
.comp-btn {
  background: var(--shu);
  color: var(--kinari);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.comp-btn:hover { opacity: 0.8; }
.comp-note { font-family: var(--sans); font-size: 10px; color: var(--suna); margin-top: 8px; text-align: right; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.team-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  padding: 18px 12px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.team-card:hover { border-color: var(--shu); transform: translateY(-3px); }
.team-card.featured { background: var(--sumi); color: var(--kinari); border-color: var(--sumi); }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--kinari-mid);
  border: 1.5px solid var(--kinari-deep);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 11px;
  color: var(--suna);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card.featured .team-avatar { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: rgba(250,247,242,0.4); }
.team-name { font-family: var(--serif); font-size: 18px; font-weight: 800; margin-bottom: 3px; letter-spacing: -0.02em; }
.team-role { font-family: var(--sans); font-size: 10px; color: var(--shu); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.08em; }
.team-card.featured .team-role { color: var(--gold); }
.team-quote { font-family: var(--serif); font-size: 13px; color: var(--suna); font-style: italic; }
.team-quote::before { content: '「'; color: var(--shu); }
.team-quote::after { content: '」'; color: var(--shu); }
.team-card.featured .team-quote { color: rgba(250,247,242,0.55); }

/* ===== NAME STORY ===== */
.name-story {
  background: var(--sumi);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  border-top: 3px solid var(--shu);
  border-bottom: 3px solid var(--shu);
}
.name-story::before {
  content: '釣';
  position: absolute;
  font-family: var(--serif);
  font-size: 480px;
  color: rgba(214,58,47,0.04);
  top: -80px; left: -60px;
  line-height: 1;
  pointer-events: none;
}
.name-eye { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--gold); margin-bottom: 8px; position: relative; }
.name-title { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--kinari); margin-bottom: 32px; position: relative; letter-spacing: -0.03em; }
.name-flow { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 20px; position: relative; flex-wrap: wrap; }
.nf-step { font-family: var(--serif); font-size: 24px; color: var(--gold); text-decoration: line-through; text-decoration-color: var(--shu); text-decoration-thickness: 2px; opacity: 0.65; }
.nf-arrow { color: var(--gold); font-size: 20px; opacity: 0.6; }
.nf-final { font-family: var(--serif); font-size: 52px; font-weight: 800; color: var(--kinari); letter-spacing: -0.04em; }
.nf-final .shu { color: var(--shu); }
.name-italic { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--gold); opacity: 0.7; position: relative; }
.name-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  position: relative;
  transition: all 0.2s;
}
.name-cta:hover { background: var(--gold); color: var(--sumi); }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.sb { background: var(--kinari); border: 1px solid var(--kinari-deep); overflow: hidden; }
.sb-title {
  background: var(--sumi);
  color: var(--kinari);
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-title.shu { background: var(--shu); }
.sb-title.gold-bg { background: var(--gold); color: var(--sumi); }
.sb-body { padding: 12px; }
.sb.is-ad { border-style: dashed; border-color: var(--suna); }
.sb.is-ad .sb-title { background: transparent; color: var(--suna); font-size: 9px; border-bottom: 1px dashed var(--suna); }

/* SB: members */
.sb-members { display: flex; flex-direction: column; gap: 8px; }
.sb-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--kinari-deep);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.sb-member:hover { border-color: var(--shu); background: var(--kinari-mid); }
.sb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--kinari-mid);
  border: 1px solid var(--kinari-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 9px; color: var(--suna);
  flex-shrink: 0;
  overflow: hidden;
}
.sb-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sb-m-name { font-family: var(--serif); font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.sb-m-role { font-family: var(--sans); font-size: 9px; color: var(--shu); font-weight: 700; letter-spacing: 0.05em; }
.sb-m-count { margin-left: auto; font-family: var(--sans); font-size: 9px; color: var(--suna); white-space: nowrap; }

/* SB: rank list */
.sb-ranks { display: flex; flex-direction: column; gap: 10px; }
.sb-rank {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kinari-deep);
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  color: inherit;
}
.sb-rank:hover { opacity: 0.7; }
.sb-rank:last-child { border-bottom: none; padding-bottom: 0; }
.sb-rnum { font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--kinari-deep); line-height: 1; text-align: center; }
.sb-rnum.top { color: var(--shu); }
.sb-rtitle { font-family: var(--serif); font-size: 12px; font-weight: 700; line-height: 1.4; margin-bottom: 3px; }
.sb-rmeta { font-family: var(--sans); font-size: 9px; color: var(--suna); }

/* SB: products */
.sb-products { display: flex; flex-direction: column; gap: 8px; }
.sb-product {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 6px;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.sb-product:hover { border-color: var(--shu); }
.sb-prod-img {
  width: 56px; height: 56px;
  background: var(--kinari-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-size: 10px; color: var(--suna);
  overflow: hidden;
}
.sb-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.sb-prod-name { font-family: var(--serif); font-size: 11px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; }
.sb-prod-price { font-family: var(--sans); font-size: 11px; color: var(--shu); font-weight: 700; margin-bottom: 4px; }
.sb-prod-btn {
  display: inline-block;
  background: var(--shu);
  color: var(--kinari);
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

/* SB: newsletter */
.sb-nl { background: var(--sumi); padding: 16px 14px; }
.sb-nl-eye { font-family: var(--sans); font-size: 9px; color: var(--gold); letter-spacing: 0.25em; margin-bottom: 6px; }
.sb-nl-title { font-family: var(--serif); font-size: 16px; font-weight: 800; color: var(--kinari); letter-spacing: -0.03em; margin-bottom: 4px; }
.sb-nl-sub { font-family: var(--sans); font-size: 10px; color: rgba(250,247,242,0.4); line-height: 1.6; margin-bottom: 10px; }
.sb-nl-input {
  width: 100%; padding: 8px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--kinari);
  font-family: var(--sans); font-size: 11px;
  border-radius: 2px; margin-bottom: 6px;
}
.sb-nl-input::placeholder { color: rgba(255,255,255,0.25); }
.sb-nl-btn {
  width: 100%; background: var(--shu); color: var(--kinari);
  border: none; padding: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  cursor: pointer; border-radius: 2px; letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.sb-nl-btn:hover { opacity: 0.85; }

/* SB: tags */
.sb-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sb-tag {
  background: var(--kinari-mid);
  border: 1px solid var(--kinari-deep);
  padding: 4px 10px;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  border-radius: 100px;
  text-decoration: none; color: var(--sumi);
  transition: all 0.15s;
}
.sb-tag:hover,
.sb-tag.shu { background: var(--shu); color: var(--kinari); border-color: var(--shu); }

/* wp_tag_cloud overrides */
.sb-tags a { display: inline-block; }

/* ===== FOOTER ===== */
footer { background: var(--sumi); border-top: 3px solid var(--shu); color: var(--kinari); }
.footer-ad { padding: 12px 48px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-ad-label { font-family: var(--sans); font-size: 9px; color: rgba(255,255,255,0.25); margin-bottom: 6px; letter-spacing: 0.2em; }
.footer-ad-rect {
  max-width: 728px; margin: 0 auto; height: 90px;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.2em;
}
.footer-main {
  max-width: 1440px; margin: 0 auto;
  padding: 40px 48px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.f-brand-logo { font-family: var(--serif); font-size: 36px; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 5px; }
.f-brand-logo .shu { color: var(--shu); }
.f-tagline { font-family: var(--display); font-style: italic; font-size: 14px; color: var(--gold); margin-bottom: 14px; }
.f-desc { font-family: var(--sans); font-size: 11px; color: rgba(250,247,242,0.35); line-height: 1.9; margin-bottom: 16px; }
.f-sns { display: flex; gap: 6px; list-style: none; }
.f-sns a {
  font-family: var(--sans); font-size: 10px; color: rgba(250,247,242,0.4);
  padding: 5px 10px; border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none; border-radius: 2px; transition: all 0.2s;
}
.f-sns a:hover { color: var(--kinari); border-color: rgba(255,255,255,0.3); }
.f-sns ul { display: flex; gap: 6px; list-style: none; }
.f-sns li { display: contents; }
.f-col-title { font-family: var(--sans); font-size: 10px; color: var(--shu); font-weight: 700; letter-spacing: 0.2em; margin-bottom: 10px; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 7px; }
.f-col a { font-family: var(--sans); font-size: 11px; color: rgba(250,247,242,0.4); text-decoration: none; transition: color 0.2s; }
.f-col a:hover { color: var(--kinari); }
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding: 0 48px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 10px; color: rgba(250,247,242,0.25); letter-spacing: 0.15em;
}
.f-legal { display: flex; gap: 16px; list-style: none; }
.f-legal a { color: rgba(250,247,242,0.25); text-decoration: none; transition: color 0.2s; }
.f-legal a:hover { color: rgba(250,247,242,0.6); }
.f-legal ul { display: flex; gap: 16px; list-style: none; }
.f-legal li { display: contents; }

/* ===== SINGLE POST ===== */
.single-article { background: var(--kinari); border: 1px solid var(--kinari-deep); margin-bottom: 28px; }

.s-head {
  padding: 32px 32px 24px;
  background: var(--sumi);
  border-bottom: 3px solid var(--shu);
  position: static;
}
.s-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.s-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #ffffff;
}
.s-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.s-author-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(250,247,242,0.5);
}
.s-author-bar img { border-radius: 50%; width: 32px; height: 32px; object-fit: cover; }
/* ヘッダー内の日付・ラベル色を上書き */
.s-head .hero-date { color: var(--gold); }

.s-thumbnail { overflow: hidden; border-bottom: 1px solid var(--kinari-deep); }
.s-thumbnail img { width: 100%; height: auto; display: block; max-height: 480px; object-fit: cover; }

.s-content {
  padding: 32px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--sumi);
}
.s-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sumi);
  letter-spacing: -0.02em;
}
.s-content h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--shu);
}
.s-content p { margin-bottom: 20px; }
.s-content a { color: var(--shu); text-decoration: underline; text-underline-offset: 3px; }
.s-content img { max-width: 100%; height: auto; display: block; margin: 24px auto; }
.s-content figure { margin: 24px 0; }
.s-content figure img { margin: 0 auto; }
.s-content figcaption { font-size: 11px; color: var(--suna); text-align: center; margin-top: 6px; }
.s-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--kinari-mid);
  font-family: var(--serif);
  font-style: italic;
  color: var(--suna);
}
.s-content ul, .s-content ol { padding-left: 1.5em; margin-bottom: 20px; }
.s-content li { margin-bottom: 6px; }

/* ===== 記事内テーブル ===== */
.s-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}
.s-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}
.s-content table th,
.s-content table td {
  padding: 10px 14px;
  border: 1px solid var(--kinari-deep);
  text-align: left;
  vertical-align: top;
}
.s-content table thead th {
  background: var(--sumi);
  color: var(--kinari);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-color: var(--sumi);
}
.s-content table tbody tr:nth-child(even) td {
  background: var(--kinari-mid);
}
.s-content table tbody tr:hover td {
  background: var(--kinari-deep);
}

.s-pagination { display: flex; gap: 6px; padding: 0 32px 24px; }
.s-pagination span { font-family: var(--sans); font-size: 12px; }
.s-pagination a span {
  padding: 4px 10px;
  background: var(--shu);
  color: var(--kinari);
  border-radius: 2px;
  text-decoration: none;
}

.s-foot { padding: 20px 32px 24px; border-top: 1px solid var(--kinari-deep); }
.s-foot-cats { font-family: var(--sans); font-size: 11px; color: var(--suna); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* 前後記事ナビ */
.s-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.s-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.s-nav-item:hover { border-color: var(--shu); }
.s-nav-item.next { text-align: right; }
.s-nav-label { font-family: var(--sans); font-size: 10px; color: var(--shu); font-weight: 700; letter-spacing: 0.1em; }
.s-nav-title { font-family: var(--serif); font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ===== ARCHIVE / CATEGORY PAGE ===== */
.archive-header {
  background: var(--sumi);
  border-bottom: 3px solid var(--shu);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.archive-eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.archive-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.archive-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(250,247,242,0.45);
  line-height: 1.7;
  margin-bottom: 8px;
}
.archive-count {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(250,247,242,0.3);
  letter-spacing: 0.05em;
}
.archive-author-avatar {
  margin-bottom: 10px;
}
.archive-author-avatar img {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}

/* ===== SEARCH PAGE ===== */
.search-header {
  background: var(--sumi);
  border-bottom: 3px solid var(--shu);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.search-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--kinari);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.search-title .shu { color: var(--shu); }
.search-count {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(250,247,242,0.4);
  margin-bottom: 18px;
}
.search-form-inline {
  display: flex;
  gap: 8px;
  max-width: 480px;
}
.search-form-inline input[type="search"] {
  flex: 1;
  padding: 9px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--kinari);
  font-family: var(--sans);
  font-size: 13px;
  border-radius: 2px;
  outline: none;
}
.search-form-inline input[type="search"]::placeholder { color: rgba(255,255,255,0.3); }
.search-form-inline button {
  background: var(--shu);
  color: var(--kinari);
  border: none;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.search-form-inline button:hover { opacity: 0.85; }

.card-excerpt {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--suna);
  line-height: 1.6;
  margin-bottom: 8px;
}
.search-pagination { margin: 24px 0; }
.search-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.search-pagination .page-numbers {
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  text-decoration: none;
  color: var(--sumi);
  border-radius: 2px;
  transition: all 0.2s;
}
.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover { background: var(--shu); color: var(--kinari); border-color: var(--shu); }
.search-empty {
  background: var(--kinari);
  border: 1px solid var(--kinari-deep);
  padding: 28px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--suna);
}

/* card-excerpt: 3行クランプ + 文字サイズ統一 */
.card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
}

/* カード著者アバター行 */
.card-foot-author {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-foot-author img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* archive-header: トップボーダーも追加 */
.archive-header { border-top: 3px solid var(--shu); }

/* ===== あわせて読みたい [awasete] ===== */
.awasete {
  border: 1px solid var(--kinari-deep);
  border-left: 3px solid var(--gold);
  background: var(--kinari);
  padding: 18px 20px 20px;
  margin: 32px 0;
}
.awasete-head { margin-bottom: 14px; }
.awasete-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.awasete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.awasete-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--kinari-deep);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.awasete-card:hover { border-color: var(--shu); transform: translateY(-2px); }
.awasete-thumb {
  height: 90px;
  background: var(--kinari-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.awasete-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.awasete-noimg { font-family: var(--sans); font-size: 9px; color: var(--suna); letter-spacing: 0.1em; }
.awasete-body { padding: 8px 10px 10px; }
.awasete-cat {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  color: var(--shu);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.awasete-title {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
