/*
Theme Name: Kana Okane Draft
Theme URI: https://kana-okane.com/
Author: kana-okane.com
Description: kana-okane.com テーマ draft v3。温もり・寄り添い方向のトップページ(index3.html由来)。配色=ターコイズ×コーラル、見出し=Zen Maru Gothic、かなの声=Kiwi Maru。
Version: 0.3.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: kana-okane-draft
*/

/* ============ 配色(確定: ターコイズ×コーラル) ============ */
:root {
  --main: #42b8b2;
  --main-deep: #2f9b96;
  --main-soft: #eaf8f6;
  --accent: #f29a86;
  --accent-deep: #d96f5e;
  --accent-soft: #fdf0ec;
  --bg: #fafbf7;
  --surface: #ffffff;
  --ink: #4b4f52;
  --muted: #6c7476;
  --line: #d7ebe8;
  --line-strong: #abdcd6;
  --hero-g1: #bfe4e0;
  --hero-g2: #f6e3d8;
  --shadow: 0 12px 30px rgba(47, 155, 150, 0.12);
  --shadow-hover: 0 18px 40px rgba(47, 155, 150, 0.18);
  /* フォント確定(2026-07-10): 見出し=Zen Maru Gothic / かなの声=Kiwi Maru */
  --font-hand: "Kiwi Maru", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-head-weight: 700;
}

/* ============ ベース ============ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
}

body { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* 改行をフレーズ単位に保つ(スマホで単語の途中改行を防ぐ) */
.keep { display: inline-block; }

/* 手書き=かなの声 */
.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }

.tight-top { padding-top: 36px; }

/* セクション見出し */
.sec-head {
  margin-bottom: 40px;
  text-align: center;
}

/* 「＼ ラベル ／」手書きラベル */
.shout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-hand);
  color: var(--accent-deep);
  font-size: 1.02rem;
}

.shout::before { content: "＼"; }
.shout::after { content: "／"; }

.sec-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.5;
}

/* 手描き風アンダーライン */
.hand-underline {
  display: block;
  width: min(230px, 60%);
  margin: 8px auto 0;
}

.hand-underline svg { display: block; width: 100%; height: 10px; }

.hand-underline path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
}

.sec-head .sec-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover { background: var(--accent-deep); }

/* 販売準備中のボタン(非リンク・押下不可の見た目)。 */
.btn.is-preparing {
  background: var(--line-strong);
  color: var(--surface);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.btn.is-preparing:hover { background: var(--line-strong); }

.btn-secondary {
  color: var(--main-deep);
  background: var(--surface);
  border: 2px solid var(--main);
}

.btn-secondary:hover { background: var(--main-soft); }

.btn-ghost {
  color: var(--main-deep);
  background: var(--main-soft);
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.92rem;
}

.btn-white {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

/* 画像プレースホルダー(全てにピクセルサイズを記載する) */
.ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 2px dashed var(--line-strong);
  border-radius: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.015), rgba(0,0,0,0.015) 12px, transparent 12px, transparent 24px),
    var(--main-soft);
  color: var(--muted);
  text-align: center;
  padding: 14px;
}

.ph svg { opacity: 0.5; }

.ph .ph-label {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.ph .ph-spec { font-size: 0.7rem; opacity: 0.8; }

/* 波の区切り(手描き風の曲線区切り) */
.wd { line-height: 0; }

.wd svg {
  display: block;
  width: 100%;
  height: 44px;
}

.wd-to-surface { background: var(--surface); }
.wd-to-surface path { fill: var(--bg); }

.wd-to-bg { background: var(--bg); }
.wd-to-bg path { fill: var(--surface); }

.wd-to-main-soft { background: var(--main-soft); }
.wd-to-main-soft path { fill: var(--bg); }

.wd-from-main-soft { background: var(--bg); }
.wd-from-main-soft path { fill: var(--main-soft); }

.on-surface { background: var(--surface); }
.on-main-soft { background: var(--main-soft); }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-image,
.custom-logo-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
}

.custom-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--ink);
}

/* グローバルナビ(wp_nav_menuのul/liはdisplay:contentsで透過させる) */
.global-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.global-nav-list,
.global-nav-list li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a { transition: color 0.2s; }
.global-nav a:hover { color: var(--main-deep); }

.nav-cta,
.global-nav .nav-cta a,
.global-nav li.nav-cta a {
  color: #ffffff !important;
  background: var(--main);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta:hover,
.global-nav .nav-cta a:hover {
  background: var(--main-deep);
}

.nav-toggle { display: none; }

.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle-btn span { top: 21px; }
.nav-toggle-btn span::before { left: 0; top: -8px; }
.nav-toggle-btn span::after { left: 0; top: 8px; }

/* ============ ヒーロー(写真+手書きコピー) ============ */
.hero3 {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 130px;
  /* 背景写真はfront-page.phpのinline style(background-image)で敷く。ここは写真なし時のフォールバック */
  background-color: var(--main-soft);
  background-size: cover;
  background-position: center;
}

.hero3-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

/* 写真上での可読性確保(写真が入っても機能する薄いスクリム) */
.hero3-inner::before {
  content: "";
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(ellipse at center, rgba(48, 66, 64, 0.34), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero3 .hero-kicker3 {
  margin: 0 0 14px;
  font-family: var(--font-hand);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  text-shadow: 0 2px 10px rgba(40, 60, 58, 0.45);
}

.hero3 h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 14px rgba(40, 60, 58, 0.5);
}

.hero3 .hero-lead3 {
  margin: 0 0 26px;
  font-family: var(--font-hand);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  text-shadow: 0 2px 10px rgba(40, 60, 58, 0.45);
}

/* 「新NISA × 配当金投資」ピル */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 10px 26px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(40, 60, 58, 0.4);
}

.hero-cta3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-note3 {
  position: absolute;
  left: 20px;
  bottom: 58px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.74rem;
  text-shadow: 0 1px 6px rgba(40, 60, 58, 0.5);
}

/* ヒーロー下の波 */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg { display: block; width: 100%; height: 52px; }
.hero-wave path { fill: var(--bg); }

/* ============ ようこそ(かなの吹き出し) ============ */
.welcome { padding: 44px 0 56px; }

.welcome-row {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}

.welcome-kana { flex: none; text-align: center; }

.welcome-kana-photo {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--main);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.ph-caption {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.68rem;
}

/* 吹き出し */
.speech {
  position: relative;
  flex: 1;
  padding: 20px 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-family: var(--font-hand);
  font-size: 1.06rem;
  line-height: 2;
}

.speech p { margin: 0; }

.speech::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 46px;
  border: 9px solid transparent;
  border-right: 13px solid var(--line-strong);
  border-left: 0;
}

.speech::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 48px;
  border: 7px solid transparent;
  border-right: 11px solid var(--surface);
  border-left: 0;
}

/* ============ タイプ診断 ============ */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.type-tag {
  position: absolute;
  top: -16px;
  left: 20px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 0.88rem;
}

.type-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 620px) {
  .type-grid-2 { grid-template-columns: 1fr; }
}

.type-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.summary-list {
  margin: 0;
  padding-left: 1.3em;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.summary-list li { margin-bottom: 8px; }
.summary-list li:last-child { margin-bottom: 0; }

/* 読者の悩み(活字=読者の声) */
.worry {
  position: relative;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.worry::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -9px;
  border: 9px solid transparent;
  border-top: 10px solid var(--bg);
  border-bottom: 0;
}

/* かなの返事(手書き=かなの声) */
.kana-reply {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.face-photo {
  flex: none;
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(217, 111, 94, 0.2);
}

.reply-text {
  margin: 0;
  font-family: var(--font-hand);
  color: var(--accent-deep);
  font-size: 1rem;
  line-height: 1.75;
}

.type-card .btn { margin-top: auto; }

/* ============ お約束 ============ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reason-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .reason-grid-3 { grid-template-columns: 1fr; }
}

.reason-item {
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-align: center;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}

.reason-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: 1.08rem;
  line-height: 1.5;
}

.reason-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

/* アイコンアニメ(ゆるやか) */
.anim-sway { animation: sway 4.5s ease-in-out infinite; transform-origin: 50% 90%; }
.anim-bob { animation: bob 3.6s ease-in-out infinite; }

@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============ ロードマップ ============ */
.roadmap-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 10px;
}

.rm-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* 手描き丸囲みのSTEP番号 */
.rm-num-hand {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 54px;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--main-deep);
}

.rm-num-hand svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rm-num-hand path {
  fill: none;
  stroke: var(--main);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.rm-step h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: 1.14rem;
  line-height: 1.5;
}

.rm-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* 手描き風の矢印 */
.rm-arrow-hand {
  align-self: center;
  width: 54px;
  height: 40px;
}

.rm-arrow-hand path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ロードマップ下のかな+CTA */
.roadmap-kana {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.kana-point-wrap { text-align: center; }

.kana-point-photo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid var(--main);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.speech-mini {
  position: relative;
  padding: 14px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  font-family: var(--font-hand);
  font-size: 1.02rem;
}

.speech-mini::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 24px;
  border: 8px solid transparent;
  border-right: 12px solid var(--line-strong);
  border-left: 0;
}

.speech-mini::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 26px;
  border: 6px solid transparent;
  border-right: 10px solid var(--surface);
  border-left: 0;
}

.roadmap-cta {
  margin-top: 26px;
  text-align: center;
}

/* ============ 記事一覧のカテゴリタブ ============ */
/* タブのアンカー遷移時、固定ヘッダーに見出しが隠れないよう余白を確保する。 */
#article-list { scroll-margin-top: 90px; }

.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 24px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
  flex: 0 0 auto;
  padding: 8px 20px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  color: var(--main-deep);
  font-family: var(--font-hand);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-tab:hover {
  background: var(--main-soft);
}

.category-tab.is-active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

/* ============ 記事(トップページのカード) ============ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

img.post-thumb {
  display: block;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.post-body { padding: 18px 20px 20px; }

.post-cat {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-hand);
  font-size: 0.8rem;
}

.post-body h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.post-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.post-more { margin-top: 32px; text-align: center; }

/* ============ 教材(コンテンツ販売) ============ */
.product-section {
  background:
    radial-gradient(circle at 85% 15%, var(--accent-soft) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, var(--main-soft) 0%, transparent 40%),
    var(--bg);
}

.product-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-hover);
}

.product-visual {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--main-soft);
}

.product-visual .ph { width: 100%; aspect-ratio: 4 / 3; }

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.product-body { padding: 38px 42px; }

.product-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 0.84rem;
}

.product-body h3 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}

.product-body > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-points {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
}

.product-price {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.product-price strong {
  color: var(--accent-deep);
  font-size: 1.6rem;
  margin-right: 6px;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* 受講者の声 */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.voice-card {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.voice-avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 4px;
  gap: 0;
}

.voice-avatar .ph-label { font-size: 0.58rem; }
.voice-avatar .ph-spec { font-size: 0.5rem; }

.voice-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.voice-card .voice-name {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============ プロフィール ============ */
.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-body .shout { margin-bottom: 2px; }

.profile-body h2 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.5;
}

.profile-body .hand-underline { margin: 0 0 20px; }

.profile-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.97rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.profile-tags li {
  padding: 5px 15px;
  border-radius: 999px;
  background: var(--main-soft);
  color: var(--main-deep);
  font-family: var(--font-hand);
  font-size: 0.88rem;
}

/* プロフィール写真下の保有資格ボックス */
.profile-photo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-quals-box {
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.profile-quals-label {
  display: block;
  margin-bottom: 10px;
  color: var(--main-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.profile-quals {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-quals li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.5;
}

.profile-quals li:first-of-type { border-top: none; }

/* コーラルピンク配色バリエーション */
.profile-quals-box.is-accent {
  background: var(--surface);
  border-color: rgba(242, 154, 134, 0.5);
}

.profile-quals-box.is-accent .profile-quals-label {
  color: var(--accent-deep);
}

.profile-quals-box.is-accent .profile-quals li {
  border-top-color: rgba(217, 111, 94, 0.28);
}

.profile-quals-box.is-accent .profile-quals li::before {
  background: var(--accent-deep);
}

.profile-quals li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--main);
}

/* ============ SNS QRコード ============ */
.sns-connect .sns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 620px;
  margin: 30px auto 0;
}

.sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sns-qr-frame {
  width: 100%;
  max-width: 230px;
  border-radius: 14px;
  overflow: hidden;
}

.sns-qr {
  display: block;
  width: 100%;
  height: auto;
}

.sns-name {
  margin: 16px 0 4px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: 1.05rem;
  color: var(--ink);
}

.sns-handle {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.98rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 1rem;
}

.faq-toggle {
  margin-left: auto;
  flex: none;
  color: var(--main-deep);
  transition: transform 0.25s;
}

.faq-item[open] .faq-toggle { transform: rotate(45deg); }

.faq-body {
  padding: 0 22px 20px 68px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============ 最終CTA ============ */
.final-cta {
  position: relative;
  padding: 0 0 72px;
  text-align: center;
  background: linear-gradient(140deg, var(--main) 0%, var(--main-deep) 100%);
  color: #ffffff;
}

.final-wave { line-height: 0; }

.final-wave svg { display: block; width: 100%; height: 44px; }
.final-wave path { fill: var(--bg); }

.final-cta .container { padding-top: 48px; }

.final-cta h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.55;
}

.final-cta p {
  max-width: 560px;
  margin: 0 auto 30px;
  opacity: 0.94;
  font-size: 0.98rem;
}

.final-cta .btn-primary {
  background: #ffffff;
  color: var(--main-deep);
}

.final-cta .btn-primary:hover { background: var(--accent-soft); }

.final-cta .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.final-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============ フッター ============ */
.site-footer {
  padding: 48px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav-list,
.footer-nav-list li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a:hover { color: var(--main-deep); }

.footer-disclaimer {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.8rem;
}

/* スクロールフェードイン */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ 内部ページ(記事・固定ページ・アーカイブ)仮スタイル ============ */
/* 記事・固定ページテンプレート(single.php / archive.php / page.php等)共通 */

.article-frame h1,
.article-frame h2,
.article-frame p { overflow-wrap: anywhere; }

.article-frame h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.42;
}

.article-frame h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.55;
}

.breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* 特商法・規約系ページ */
.container-narrow {
  max-width: 760px;
}

.legal-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.legal-table a,
.legal-note a,
.legal-body a {
  color: var(--main-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-body {
  margin-top: 28px;
}

.legal-body h2 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.85;
}

.legal-body ul {
  margin: 0 0 14px;
  padding-left: 1.4em;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.85;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
}

.legal-table th,
.legal-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.75;
}

.legal-table th {
  width: 180px;
  background: var(--main-soft);
  color: var(--main-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
}

.todo-fill {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff3cd;
  color: #926a00;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .legal-table td {
    padding-top: 4px;
    margin-bottom: 6px;
  }
}

/* お問い合わせフォーム(Contact Form 7) */
.contact-form-wrap {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-form-wrap p { margin: 0 0 18px; }

.contact-form-wrap label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="url"],
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.contact-form-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px var(--main-soft);
}

.contact-form-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 40px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-wrap input[type="submit"]:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.contact-form-wrap .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: var(--accent-deep);
  font-size: 0.82rem;
}

.contact-form-wrap .wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 620px) {
  .contact-form-wrap {
    padding: 26px 20px;
  }
}

.article-frame,
.content-callout,
.related-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-frame,
.author-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-frame { padding: 42px; }

.entry-thumb {
  margin: 22px 0;
  border-radius: 14px;
  overflow: hidden;
}

.entry-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.author-card img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card-body p {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.author-card-body h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

@media (max-width: 620px) {
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

.category-label,
.section-label {
  display: block;
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

/* single.php でカテゴリ名がリンクになる場合 */
a.category-label:hover,
.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.04rem;
}

.summary-box {
  margin: 28px 0 34px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--main-soft);
}

.summary-box ul,
.profile-list {
  margin: 0;
  padding-left: 1.2em;
}

.article-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.article-section p { margin: 0 0 16px; }
.article-section p:last-child { margin-bottom: 0; }

.note-box {
  margin-top: 10px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: #5f3b32;
}

.note-box p { margin: 6px 0 0; }

.content-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-soft) 100%);
}

.content-callout p { margin: 0; color: var(--muted); }
.content-callout h2 { margin-bottom: 8px; }

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
}

.primary-button {
  width: 100%;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--main);
}

.primary-button:hover {
  color: #ffffff;
  background: var(--main-deep);
}

.text-button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  color: var(--main-deep);
  background: var(--surface);
}

.related-section {
  margin-top: 24px;
  padding: 28px;
}

.section-heading { margin-bottom: 18px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* 内部ページのシンプルカード(v1マークアップ: span/strong/small) */
.related-grid .post-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.related-grid .post-card span {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.related-grid .post-card strong { line-height: 1.55; }

.related-grid .post-card small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.entry-content { margin-top: 28px; }
.entry-content > *:first-child { margin-top: 0; }

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.entry-content a {
  color: var(--main-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.entry-content h2,
.entry-content h3 {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.entry-content h3 { font-size: 1.08rem; }

.empty-message {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.pagination { margin-top: 24px; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.pagination .current {
  color: #ffffff;
  background: var(--main-deep);
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 22px;
}

.search-form label {
  flex: 1 1 auto;
  min-width: 0;
}

.search-field {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Contact Form 7 */
.wpcf7-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.wpcf7-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover { background: var(--main-deep); }

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  color: #9f4f3e;
  font-size: 0.88rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

/* ============ レスポンシブ ============ */
@media (max-width: 960px) {
  section { padding: 52px 0; }

  .type-grid,
  .reason-grid,
  .post-grid { grid-template-columns: 1fr 1fr; }

  .roadmap-strip { grid-template-columns: 1fr; }

  .rm-arrow-hand {
    transform: rotate(75deg);
    justify-self: center;
    width: 44px;
    height: 34px;
  }

  .product-card { grid-template-columns: 1fr; }

  .profile-grid { grid-template-columns: 1fr; gap: 28px; }

  .profile-photo { max-width: 280px; margin: 0 auto; }

  .profile-body .hand-underline { margin: 0 auto 20px; }

  .profile-body { text-align: center; }

  /* 見出し・下線は中央のまま、長文の本文段落だけ左寄せ（読みやすさ優先） */
  .profile-body p { text-align: left; }

  .profile-tags { justify-content: center; }

  /* SNS QRカードはスマホで1列 */
  .sns-connect .sns-grid { grid-template-columns: 1fr; max-width: 300px; gap: 18px; }

  /* 内部ページ */
  .article-frame { padding: 28px 20px; }

  .content-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .text-button { width: 100%; }

  .search-form { flex-direction: column; }

  .related-grid { grid-template-columns: 1fr; }

  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 880px) {
  .nav-toggle-btn { display: block; }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .global-nav a {
    padding: 12px 28px;
    border-radius: 0;
  }

  .nav-cta,
  .global-nav .nav-cta a {
    margin: 10px 24px 0;
    text-align: center;
    border-radius: 999px !important;
  }

  .nav-toggle:checked ~ .global-nav { display: flex; }

  .nav-toggle:checked ~ .nav-toggle-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-btn span::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-btn span::after { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }

  .hero3 { padding: 118px 20px 110px; }

  .hero-note3 { bottom: 54px; }

  .welcome-row {
    flex-direction: column;
    gap: 18px;
  }

  /* 縦積み時は吹き出しのしっぽを上向きに */
  .speech::before {
    left: 50%;
    top: -13px;
    margin-left: -9px;
    border: 9px solid transparent;
    border-bottom: 13px solid var(--line-strong);
    border-top: 0;
    border-right: 9px solid transparent;
  }

  .speech::after {
    left: 50%;
    top: -10px;
    margin-left: -7px;
    border: 7px solid transparent;
    border-bottom: 11px solid var(--surface);
    border-top: 0;
    border-right: 7px solid transparent;
  }

  .type-grid,
  .reason-grid,
  .post-grid,
  .voice-grid { grid-template-columns: 1fr; }

  .product-body { padding: 30px 24px; }

  .faq-body { padding-left: 22px; }

  .hero-cta3 .btn { width: 100%; }

  .roadmap-kana { flex-direction: column; }

  .speech-mini::before {
    left: 50%;
    top: -12px;
    margin-left: -8px;
    border: 8px solid transparent;
    border-bottom: 12px solid var(--line-strong);
    border-top: 0;
  }

  .speech-mini::after {
    left: 50%;
    top: -9px;
    margin-left: -6px;
    border: 6px solid transparent;
    border-bottom: 10px solid var(--surface);
    border-top: 0;
  }

  /* 内部ページ */
  .article-frame,
  .related-section { padding: 20px 16px; }
}

/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

/* ============ WooCommerce ============ */
.woocommerce {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.woocommerce-breadcrumb a { color: var(--main-deep); }

/* 通知(メッセージ・エラー・info) */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-noreviews {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--main-soft);
  color: var(--ink);
  list-style: none;
}

.woocommerce-error { background: var(--accent-soft); border-color: var(--accent); }

/* ボタン全般 */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .checkout-button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

/* 商品一覧(ショップ・カテゴリ) */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product {
  padding: 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.woocommerce ul.products li.product img {
  border-radius: 12px;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 8px 0 4px;
  font-family: var(--font-head);
  font-size: 1rem;
}

.woocommerce ul.products li.product .price {
  color: var(--accent-deep);
  font-weight: 800;
}

/* 商品詳細ページ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: 18px;
}

.woocommerce div.product .product_title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: var(--font-head-weight);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 1.4rem;
  font-weight: 800;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
}

.woocommerce .quantity input.qty {
  width: 64px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--main-soft);
  color: var(--main-deep);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--main); color: #fff; }

/* カート・チェックアウト */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.9rem;
}

.woocommerce table.shop_table th { background: var(--main-soft); color: var(--main-deep); }

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.88rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  box-sizing: border-box;
}

.woocommerce-checkout-review-order-table { background: var(--surface); }

.woocommerce-checkout #payment {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: var(--main-soft);
}

@media (max-width: 960px) {
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .woocommerce { padding: 32px 18px 48px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
