/*
Theme Name: 和楽器と駄菓子 みんふう楽器店
Theme URI: https://minfuu-gakki.example.com
Author: みんふう楽器店
Description: 和楽器屋兼駄菓子屋のための和風テーマ。ECサイト・修理受付・実店舗案内を軸にした親しみやすいデザイン。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: minfuu-gakki
*/

/* ========================================
   CSS カスタムプロパティ（和風カラーパレット）
======================================== */
:root {
  /* 和色ベース */
  --color-sumi: #1a1208;         /* 墨 */
  --color-shu: #c0392b;          /* 朱 */
  --color-shu-light: #e8604c;    /* 薄朱 */
  --color-shu-bg: #fdf3f1;       /* 朱の背景 */
  --color-kincha: #c8a84b;       /* 金茶 */
  --color-kincha-light: #f5e6a3; /* 薄金 */
  --color-wakakusa: #5a7a42;     /* 若草 */
  --color-wakakusa-light: #d4e6c3;
  --color-usuzumi: #4a4035;      /* 薄墨 */
  --color-washi: #f7f3ec;        /* 和紙色 */
  --color-washi-dark: #ede6d8;   /* 濃い和紙 */
  --color-white: #fffef9;
  --color-text: #2c2416;
  --color-text-mute: #6b5d4a;

  /* タイポグラフィ */
  --font-display: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', sans-serif;
  --font-accent: 'Shippori Mincho', serif;

  /* スペーシング */
  --section-gap: 5rem;
  --container-max: 1100px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 20px;

  /* シャドウ */
  --shadow-card: 0 2px 16px rgba(26,18,8,0.10);
  --shadow-hover: 0 6px 28px rgba(26,18,8,0.16);
}

/* ========================================
   リセット & ベース
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-washi);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ========================================
   和風テクスチャパターン
======================================== */
.pattern-asanoha {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='46' viewBox='0 0 40 46'%3E%3Cg fill='none' stroke='%23c8a84b' stroke-width='0.5' opacity='0.3'%3E%3Cpath d='M20 0 L40 23 L20 46 L0 23Z'/%3E%3Cpath d='M0 11.5 L20 23 L40 11.5'/%3E%3Cpath d='M0 34.5 L20 23 L40 34.5'/%3E%3Cpath d='M20 0 L20 46'/%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   コンテナ
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
  background: var(--color-sumi);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--color-kincha);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--color-kincha);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-sumi);
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .name-ja {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

.logo-text .name-sub {
  font-size: 0.65rem;
  color: var(--color-kincha-light);
  letter-spacing: 0.15em;
}

/* ナビゲーション */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.85rem;
  color: #ccc7bc;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.05em;
  display: block;
}

.site-nav a:hover {
  color: var(--color-white);
  background: rgba(200,168,75,0.18);
}

.nav-cta {
  background: var(--color-shu) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-shu-light) !important;
}

/* ハンバーガー */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-kincha);
  display: block;
  transition: all 0.3s;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
  background: var(--color-sumi);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='25' fill='none' stroke='%23c8a84b' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='15' fill='none' stroke='%23c8a84b' stroke-width='0.5'/%3E%3Cline x1='5' y1='30' x2='55' y2='30' stroke='%23c8a84b' stroke-width='0.5'/%3E%3Cline x1='30' y1='5' x2='30' y2='55' stroke='%23c8a84b' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* 縦書き装飾帯 */
.hero-tate {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(200,168,75,0.10);
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 0 1.5rem;
  margin: 0 auto 0 calc(50% - 550px + 1.5rem);
}

.hero-komon {
  display: inline-block;
  background: var(--color-kincha);
  color: var(--color-sumi);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--color-kincha);
}

.hero-desc {
  font-size: 1rem;
  color: #b0a898;
  line-height: 1.9;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   ボタン共通
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-shu);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-shu-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-kincha);
  border: 2px solid var(--color-kincha);
}

.btn-secondary:hover {
  background: var(--color-kincha);
  color: var(--color-sumi);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ========================================
   セクション見出し（共通）
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-komon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-kincha);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--color-sumi);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-shu), var(--color-kincha));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-mute);
}

/* ========================================
   3本柱セクション（EC・修理・実店舗）
======================================== */
.pillar-section {
  padding: var(--section-gap) 0;
  background: var(--color-white);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-card);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-card-top {
  padding: 2.5rem 2rem 1.5rem;
  flex: 1;
}

.pillar-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.pillar-card--ec .pillar-icon-wrap { background: var(--color-shu-bg); }
.pillar-card--ec .pillar-icon-wrap svg { stroke: var(--color-shu); }

.pillar-card--repair .pillar-icon-wrap { background: #fef9e7; }
.pillar-card--repair .pillar-icon-wrap svg { stroke: var(--color-kincha); }

.pillar-card--store .pillar-icon-wrap { background: var(--color-wakakusa-light); }
.pillar-card--store .pillar-icon-wrap svg { stroke: var(--color-wakakusa); }

.pillar-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-sumi);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.pillar-card-title .pillar-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-family: var(--font-body);
  margin-bottom: 0.2rem;
}

.pillar-card--ec .pillar-label { color: var(--color-shu); }
.pillar-card--repair .pillar-label { color: var(--color-kincha); }
.pillar-card--store .pillar-label { color: var(--color-wakakusa); }

.pillar-card-text {
  font-size: 0.9rem;
  color: var(--color-text-mute);
  line-height: 1.8;
}

.pillar-card-bottom {
  padding: 1rem 2rem 1.5rem;
}

.pillar-card--ec { background: var(--color-white); border: 1.5px solid var(--color-shu-bg); }
.pillar-card--repair { background: var(--color-white); border: 1.5px solid #fef9e7; }
.pillar-card--store { background: var(--color-white); border: 1.5px solid var(--color-wakakusa-light); }

/* カードアクセントライン */
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pillar-card--ec::before { background: var(--color-shu); }
.pillar-card--repair::before { background: var(--color-kincha); }
.pillar-card--store::before { background: var(--color-wakakusa); }

/* ========================================
   おすすめ商品セクション
======================================== */
.products-section {
  padding: var(--section-gap) 0;
  background: var(--color-washi);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-thumb {
  background: var(--color-washi-dark);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-placeholder {
  font-size: 3rem;
  opacity: 0.4;
}

.product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--color-shu);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.product-info {
  padding: 0.85rem;
}

.product-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-sumi);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-shu);
  letter-spacing: 0.03em;
}

.product-price span {
  font-size: 0.7rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--color-text-mute);
  margin-left: 2px;
}

.products-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   修理受付セクション
======================================== */
.repair-section {
  padding: var(--section-gap) 0;
  background: var(--color-sumi);
  position: relative;
  overflow: hidden;
}

.repair-section::before {
  content: '修';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(200,168,75,0.05);
  pointer-events: none;
  line-height: 1;
}

.repair-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.repair-content .section-title {
  color: var(--color-white);
  text-align: left;
}

.repair-content .section-title::after {
  margin: 0.75rem 0 0;
}

.repair-content .section-komon {
  text-align: left;
}

.repair-lead {
  font-size: 1rem;
  color: #a0968a;
  line-height: 1.9;
  margin: 1.25rem 0 2rem;
}

.repair-steps {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.repair-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
  color: #c8c0b4;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--color-shu);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.repair-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.repair-items-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-kincha);
  margin-bottom: 1rem;
}

.repair-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.repair-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #d8cfc4;
}

.repair-item-icon {
  width: 32px;
  height: 32px;
  background: rgba(200,168,75,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ========================================
   実店舗セクション
======================================== */
.store-section {
  padding: var(--section-gap) 0;
  background: var(--color-white);
}

.store-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.store-map-placeholder {
  background: var(--color-washi-dark);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-text-mute);
  font-size: 0.9rem;
  border: 1px dashed var(--color-washi-dark);
  position: relative;
  overflow: hidden;
}

.store-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Crect width='30' height='30' fill='none' stroke='%23c8a84b' stroke-width='0.3' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 30px 30px;
}

.store-map-icon {
  font-size: 2.5rem;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.store-map-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.store-info {
  padding-top: 0.5rem;
}

.store-info .section-title {
  text-align: left;
}

.store-info .section-title::after {
  margin-left: 0;
}

.store-info .section-komon {
  display: block;
  text-align: left;
}

.store-detail-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.store-detail-list li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-washi-dark);
  font-size: 0.9rem;
  align-items: start;
}

.detail-label {
  font-weight: 700;
  color: var(--color-usuzumi);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.detail-value {
  color: var(--color-text);
  line-height: 1.6;
}

.store-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.store-badge {
  background: var(--color-washi);
  border: 1px solid var(--color-washi-dark);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  color: var(--color-usuzumi);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========================================
   駄菓子屋セクション
======================================== */
.dagashi-section {
  padding: var(--section-gap) 0;
  background: var(--color-washi-dark);
  position: relative;
  overflow: hidden;
}

.dagashi-section::before {
  content: '菓';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(200,168,75,0.06);
  pointer-events: none;
  line-height: 1;
}

.dagashi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dagashi-lead {
  font-size: 1rem;
  color: var(--color-text-mute);
  line-height: 1.9;
  margin: 1.25rem 0 2rem;
}

.dagashi-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.dagashi-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-kincha);
}

.dagashi-feature-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.dagashi-feature strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-sumi);
  margin-bottom: 0.2rem;
}

.dagashi-feature span {
  font-size: 0.82rem;
  color: var(--color-text-mute);
  line-height: 1.5;
}

.dagashi-visual {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--color-kincha-light);
}

.dagashi-candy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.dagashi-candy-card {
  background: var(--color-washi);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--color-washi-dark);
}

.dagashi-candy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.dagashi-candy-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.dagashi-candy-name {
  font-size: 0.72rem;
  color: var(--color-sumi);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.dagashi-candy-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-shu);
  font-family: var(--font-display);
}

.dagashi-note {
  font-size: 0.72rem;
  color: var(--color-text-mute);
  margin-top: 1rem;
  text-align: right;
}

/* ========================================
   お知らせ・ブログセクション
======================================== */
.news-section {
  padding: var(--section-gap) 0;
  background: var(--color-washi);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.news-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-washi);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-item:last-child { border-bottom: none; }

.news-item:hover {
  background: var(--color-shu-bg);
}

.news-date {
  font-size: 0.78rem;
  color: var(--color-text-mute);
  white-space: nowrap;
  font-family: var(--font-body);
}

.news-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}

.cat-ec { background: var(--color-shu-bg); color: var(--color-shu); }
.cat-repair { background: #fef9e7; color: #a07810; }
.cat-store { background: var(--color-wakakusa-light); color: var(--color-wakakusa); }
.cat-info { background: var(--color-washi-dark); color: var(--color-usuzumi); }

.news-title-text {
  font-size: 0.9rem;
  color: var(--color-sumi);
}

.news-more {
  text-align: center;
  margin-top: 2rem;
}

/* ========================================
   CTA バナー
======================================== */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-shu) 0%, #8b1a14 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='46' viewBox='0 0 40 46'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.08'%3E%3Cpath d='M20 0 L40 23 L20 46 L0 23Z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: var(--color-white);
  color: var(--color-shu);
  font-weight: 700;
}

.btn-cta-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

.btn-cta-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

/* ========================================
   フッター
======================================== */
.site-footer {
  background: var(--color-sumi);
  color: #8a8070;
  padding: 3.5rem 0 1.5rem;
  border-top: 2px solid rgba(200,168,75,0.3);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-kincha);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #7a7060;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--color-kincha-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: #5a5040;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: var(--color-kincha-light);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-tate { display: none; }
  .hero-content { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .repair-inner { grid-template-columns: 1fr; gap: 2rem; }
  .store-inner { grid-template-columns: 1fr; }
  .dagashi-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --section-gap: 3.5rem; }

  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: 60px 0 0;
    background: var(--color-sumi);
    flex-direction: column;
    padding: 1rem;
    z-index: 99;
  }
  .site-nav.is-open ul { flex-direction: column; }
  .site-nav.is-open a { padding: 1rem; font-size: 1rem; }
  .menu-toggle { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .news-item { gap: 0.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 3.5rem 0 3rem; min-height: auto; }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.fade-up:nth-child(1) { animation-delay: 0s; }
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

/* Intersection Observer 用 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   ページバナー（archive・single 共通）
======================================== */
.page-banner {
  background: var(--color-sumi);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(200, 168, 75, 0.3);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='25' fill='none' stroke='%23c8a84b' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='15' fill='none' stroke='%23c8a84b' stroke-width='0.5'/%3E%3Cline x1='5' y1='30' x2='55' y2='30' stroke='%23c8a84b' stroke-width='0.5'/%3E%3Cline x1='30' y1='5' x2='30' y2='55' stroke='%23c8a84b' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner-inner .section-komon {
  display: block;
  margin-bottom: 0.75rem;
}

.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.page-banner-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-shu), var(--color-kincha));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.page-banner-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.page-banner-date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

/* ========================================
   固定ページ（page.php）
======================================== */
.page-main {
  padding: 3rem 0 5rem;
  min-height: 60vh;
}

.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-washi-dark);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--color-sumi);
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 1rem;
}

.page-title::before {
  content: '';
  position: absolute;
  left: 0; top: 0.15em; bottom: 0.15em;
  width: 4px;
  background: var(--color-shu);
  border-radius: 2px;
}

.page-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-sumi);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-washi-dark);
}

.page-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-usuzumi);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 2rem 0 0.75rem;
}

.page-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-usuzumi);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 1.75rem 0 0.6rem;
}

.page-content p {
  margin-bottom: 1.2rem;
}

.page-content a {
  color: var(--color-shu);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--color-shu-light);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.page-content th {
  background: var(--color-washi-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-usuzumi);
  padding: 10px 16px;
  border-bottom: 2px solid var(--color-kincha);
  text-align: left;
  letter-spacing: 0.04em;
}

.page-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-washi-dark);
  color: var(--color-text);
  vertical-align: top;
  line-height: 1.75;
}

.page-content tr:last-child td { border-bottom: none; }

.page-content tr:nth-child(even) td {
  background: var(--color-washi);
}

/* Contact Form 7 のスタイル調整 */
.wpcf7 {
  margin-top: 1rem;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1.25rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-washi-dark);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.18s;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--color-kincha);
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-usuzumi);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.wpcf7 input[type="submit"] {
  background: var(--color-shu);
  color: #fff;
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--color-shu-light);
  transform: translateY(-1px);
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: var(--color-shu);
  margin-top: 0.3rem;
  display: block;
}

.wpcf7 .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: none !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: var(--color-wakakusa-light);
  color: var(--color-wakakusa);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: var(--color-shu-bg);
  color: var(--color-shu);
}

/* ========================================
   投稿個別ページ（single.php）
======================================== */
.single-layout {
  max-width: 740px;
  margin: 0 auto;
}

/* 記事カード */
.single-article {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 2.5rem 3rem 3rem;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.single-date {
  font-size: 0.82rem;
  color: var(--color-text-mute);
}

.single-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--color-sumi);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.single-thumbnail {
  margin: -2.5rem -3rem 2.5rem;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.single-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-content {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text);
}

.single-content p { margin-bottom: 1.6rem; }

.single-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-sumi);
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-washi-dark);
}

.single-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-usuzumi);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 2.25rem 0 0.75rem;
}

.single-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-usuzumi);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 1.75rem 0 0.6rem;
}

.single-content p { margin-bottom: 1.4rem; }

.single-content a {
  color: var(--color-shu);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.single-content ul,
.single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.single-content li { margin-bottom: 0.4rem; }

.single-content blockquote {
  border-left: 3px solid var(--color-kincha);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--color-washi-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-usuzumi);
  font-style: normal;
}

.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.single-content th {
  background: var(--color-washi-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-usuzumi);
  padding: 10px 16px;
  border-bottom: 2px solid var(--color-kincha);
  text-align: left;
  letter-spacing: 0.04em;
}

.single-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-washi-dark);
  color: var(--color-text);
  vertical-align: top;
  line-height: 1.75;
}

.single-content tr:last-child td { border-bottom: none; }

.single-content tr:nth-child(even) td {
  background: var(--color-washi);
}

/* 前後記事ナビ */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-washi-dark);
}

.post-nav-prev a,
.post-nav-next a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-washi-dark);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.post-nav-prev a:hover,
.post-nav-next a:hover {
  border-color: var(--color-kincha);
  box-shadow: var(--shadow-card);
}

.post-nav-next a {
  text-align: right;
}

.post-nav-label {
  font-size: 0.72rem;
  color: var(--color-text-mute);
  letter-spacing: 0.05em;
}

.post-nav-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-sumi);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   投稿一覧ページ（archive.php）
======================================== */

/* パンくずリスト */
.archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.archive-breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.archive-breadcrumb a:hover {
  color: var(--color-kincha-light);
}

.page-banner-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* カテゴリーフィルター */
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-washi-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 6px rgba(26,18,8,0.06);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-usuzumi);
  background: var(--color-white);
  border: 2px solid #b8a888;
  transition: all 0.18s;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(26,18,8,0.08);
}

.filter-btn:hover {
  border-color: var(--color-shu);
  color: var(--color-shu);
}

.filter-btn.is-active {
  background: var(--color-shu);
  border-color: var(--color-shu);
  color: var(--color-white);
}

.filter-count {
  font-size: 0.68rem;
  background: rgba(74,64,53,0.12);
  color: var(--color-usuzumi);
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
  line-height: 1.4;
  font-weight: 700;
}

.filter-btn.is-active .filter-count {
  background: rgba(255,255,255,0.25);
}

/* ========================================
   カードグリッド
======================================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2.5rem;
}

/* カード */
.archive-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #cfc0a8;
  box-shadow: 0 3px 16px rgba(26,18,8,0.11);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.archive-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-kincha);
  box-shadow: 0 10px 36px rgba(26,18,8,0.18);
}

/* サムネイルエリア */
.archive-card-thumb {
  position: relative;
  background: var(--color-washi-dark);
}

.archive-card-imgwrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.archive-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.archive-card:hover .archive-card-imgwrap img {
  transform: scale(1.06);
}

/* ノーイメージプレースホルダー */
.archive-noimg {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-washi-dark) 0%, var(--color-washi) 100%);
}

.archive-noimg-icon {
  font-size: 2.5rem;
  opacity: 0.3;
  line-height: 1;
}

.archive-noimg-text {
  font-size: 0.72rem;
  color: var(--color-text-mute);
  letter-spacing: 0.15em;
  font-family: var(--font-display);
}

/* カテゴリーバッジ（画像上） */
.archive-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
  z-index: 1;
  text-decoration: none;
  transition: opacity 0.15s;
}

a.archive-card-cat:hover {
  opacity: 0.8;
}

/* カードボディ */
.archive-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.archive-card-meta {
  margin-bottom: 0.6rem;
}

.archive-card-date {
  font-size: 0.78rem;
  color: var(--color-text-mute);
  letter-spacing: 0.03em;
}

.archive-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-sumi);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.archive-card-title a:hover {
  color: var(--color-shu);
}

.archive-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-mute);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex: 1;
}

.archive-card-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-shu);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: gap 0.18s;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-washi-dark);
}

.archive-card-more:hover {
  gap: 0.6rem;
}

/* 空状態 */
.archive-empty {
  text-align: center;
  padding: 5rem 0;
}

.archive-empty-text {
  color: var(--color-text-mute);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ページネーション */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination .page-numbers {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers li a,
.pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-washi-dark);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text-mute);
  background: var(--color-white);
  transition: all 0.15s;
}

.pagination .page-numbers li a:hover {
  border-color: var(--color-kincha);
  color: var(--color-sumi);
}

.pagination .page-numbers li span.current {
  background: var(--color-shu);
  border-color: var(--color-shu);
  color: #fff;
  font-weight: 700;
}

/* アーカイブ レスポンシブ */
@media (max-width: 860px) {
  .archive-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .archive-grid {
    max-width: 100%;
    gap: 2rem;
  }

  .archive-filter {
    padding: 1rem;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .archive-card-body {
    padding: 1rem 1.25rem 1.25rem;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .single-article {
    padding: 1.5rem 1.25rem 2rem;
  }

  .single-thumbnail {
    margin: -1.5rem -1.25rem 1.75rem;
  }
}

/* ========================================
   ショートコード: FAQ
======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-washi-dark);
}
.faq-item__q {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-sumi);
  padding: 16px 18px 16px 56px;
  position: relative;
  line-height: 1.5;
  background: var(--color-washi);
  border-left: 3px solid var(--color-shu);
}
.faq-item__q::before {
  content: 'Q';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--color-shu);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.faq-item__a {
  padding: 14px 18px 16px 56px;
  font-size: 0.9rem;
  color: var(--color-text-mute);
  line-height: 1.85;
  position: relative;
  border-top: 1px solid var(--color-washi-dark);
}
.faq-item__a::before {
  content: 'A';
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  background: var(--color-kincha);
  color: var(--color-sumi);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ========================================
   ショートコード: HowTo
======================================== */
.howto {
  margin: 2rem 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--color-washi-dark);
}
.howto__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-shu);
  padding: 14px 20px;
  margin: 0;
  letter-spacing: 0.04em;
}
.howto__steps {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.howto-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--color-washi);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-kincha);
}
.howto-step__num {
  display: flex;
  width: 28px;
  height: 28px;
  background: var(--color-kincha);
  color: var(--color-sumi);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.howto-step__body { flex: 1; }
.howto-step__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-sumi);
  margin-bottom: 4px;
}
.howto-step__text {
  font-size: 0.875rem;
  color: var(--color-text-mute);
  line-height: 1.8;
}
.howto-step__text p { margin: 0; }
