/**
 * XENNO カスタムCSS
 * プレミアムバドミントンラケットブランド テーマ
 * 感覚を、武装せよ。
 */

/* ==========================================================================
   CSS変数定義
   ========================================================================== */

:root {
  /* ブランドカラー */
  --color-primary:      #000000;  /* ピュア・ブラック（メイン背景） */
  --color-secondary:    #0A0A0A;  /* ディープ・ブラック（セクション背景） */
  --color-accent:       #EF4444;  /* ブレイズレッド（メインアクセント） */
  --color-accent-sub:   #22C55E;  /* ネオングリーン（サブアクセント） */

  /* テキストカラー */
  --color-text:         #FFFFFF;  /* ホワイト */
  --color-text-secondary: #CCCCCC; /* ライトグレー */
  --color-text-muted:   #888888;  /* ミューテッドグレー */

  /* ボーダー */
  --color-border:       rgba(255,255,255,0.1);   /* 半透明ホワイト */
  --color-border-accent: rgba(239,68,68,0.3);    /* アクセント半透明 */

  /* 背景グラデーション */
  --bg-gradient-hero:   radial-gradient(ellipse at center, rgba(239,68,68,0.05) 0%, rgba(0,0,0,1) 70%);
  --bg-gradient-cta:    radial-gradient(ellipse at center, rgba(34,197,94,0.05) 0%, rgba(0,0,0,1) 70%);

  /* フォント */
  --font-main:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:          'SF Mono', 'Monaco', 'Consolas', monospace;

  /* レイアウト */
  --section-padding:    80px 0;
  --border-radius:      8px;
  --transition:         0.3s ease;
  --container-max:      1400px;

  /* フォーム（ライト面カード用） */
  --form-card-bg:       #F5F5F7;  /* フォームカード背景 */
  --form-input-bg:      #FFFFFF;  /* 入力欄背景 */
  --form-input-border:  #D2D2D7;  /* 入力欄ボーダー */
  --form-text:          #1D1D1F;  /* 入力テキスト・ラベル */
  --form-text-muted:    #6E6E73;  /* プレースホルダー・補足 */
}

/* ==========================================================================
   基本スタイル
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* スクロールバーのスタイリング（WebKit） */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #DC2626;
}

/* ==========================================================================
   ヘッダー・ナビゲーション
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 16px 0;
}

.navbar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text) !important;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-text);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
}

.navbar-nav {
  gap: 40px;
}

.nav-link {
  color: var(--color-text-secondary) !important;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* モバイルメニュー */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   メインコンテンツエリア
   ========================================================================== */

.main-content {
  padding-top: 80px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-bg-secondary {
  background: var(--color-secondary);
}

.section-bg-gradient-hero {
  background: var(--bg-gradient-hero);
}

.section-bg-gradient-cta {
  background: var(--bg-gradient-cta);
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-gradient-hero);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-tagline {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0.8;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CTAボタン */
.btn-xenno {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: 0.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  text-decoration: none;
      font-size: 18px;
    font-weight: bold;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.btn-xenno::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(239, 68, 68, 0.1);
  transition: var(--transition);
}

.btn-xenno:hover {
  color: var(--color-accent);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
  text-decoration: none;
}

.btn-xenno:hover::before {
  left: 0;
}

.btn-xenno::after {
  content: '→';
  margin-left: 8px;
}

.btn-xenno-green {
  border-color: var(--color-accent-sub);
  color: var(--color-primary);
  background: var(--color-accent-sub);
}

.btn-xenno-green:hover {
  color: var(--color-primary);
  box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

/* フローティングエレメント */
.floating-element {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ==========================================================================
   セクション見出し
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  color: var(--color-text);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   製品ラインナップ（交互全幅レイアウト）
   ========================================================================== */

.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border);
}

.product-row:last-child {
  border-bottom: none;
}

.product-row-media {
  padding: 0;
  min-height: 0;
  display: block;
  overflow: hidden;
}

.product-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.product-row-body {
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-row-logo {
  height: 90px;
  width: auto;
  margin-bottom: 5px;
  align-self: flex-start;
}

.product-row-name {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.product-row-concept {
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.product-row-catch {
  color: var(--color-text);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-row-desc {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

.product-row-color {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .product-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 560px;
  }

  .product-row-body  { grid-column: 1; grid-row: 1; padding: 80px 6vw 80px 8vw; }
  .product-row-media { grid-column: 2; grid-row: 1; padding: 1.5rem; }

  .product-row--reverse .product-row-media { grid-column: 1; padding: 0; }
  .product-row--reverse .product-row-body  { grid-column: 2; padding: 80px 8vw 80px 6vw; }

  .product-row-media img {
    max-height: none;
  }
}

/* 5段階評価バー */
.product-spec {
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  max-width: 420px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 4px;
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-label {
  color: var(--color-text-secondary);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.spec-label small {
  display: block;
  color: var(--color-text-muted);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}

.spec-bar {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.spec-bar i {
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.spec-bar i.is-on {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

@media (max-width: 575px) {
  .product-spec {
    max-width: 100%;
  }

  .spec-bar i {
    width: 20px;
  }
}

.product-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.product-link:hover {
  color: var(--color-accent-sub);
}

.product-link::after {
  content: '→';
}

/* ==========================================================================
   ブランドコンセプトセクション（#story）
   ========================================================================== */

.section-concept {
  position: relative;
  background-image: url('../images/concept-sp2.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 90px 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-concept {
    background-image: url('../images/concept-pc2.jpg');
    background-position: center center;
    padding: 200px 0;
  }
}

.section-concept-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.40) 50%,
      rgba(0, 0, 0, 0.60) 100%);
  z-index: 1;
}

.section-concept-inner {
  position: relative;
  z-index: 2;
}

.section-concept-inner,
.section-concept-inner p,
.section-concept-inner h2 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.concept-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

@media (max-width: 767px) {
  .concept-logo {
    width: 140px;
    margin-bottom: 24px;
  }
}

.concept-eyebrow {
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.concept-title {
  color: var(--color-text);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.concept-lead {
  color: #fff;
  font-size: 17px;
  margin-bottom: 10px;
}

.concept-list {
  margin-bottom: 10px;
  padding: 5px 0;
}

.concept-list p {
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 4px;
}

.concept-list p:last-child {
  margin-bottom: 0;
}

.concept-body {
  color: #fff;
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 5px;
}

.concept-body:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   開発の背景・想いセクション（全幅パララックス）
   ========================================================================== */

.development-section {
  position: relative;
  background-image: url('../images/message-sp.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .development-section {
    background-image: url('../images/message-pc.png');
  }
}

.development-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 30%);
  z-index: 1;
}

.development-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.development-content p {
  color: #fff;
  line-height: 1.75;
  margin-bottom: 5px;
}

.development-title {
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.development-subtitle {
  color: #fff;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
}

.development-emphasis {
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  margin: 24px 0;
}

@media (max-width: 767px) {
  .development-section {
    background-attachment: scroll;
    padding: 80px 0;
    min-height: 0;
  }
}

/* 「XENNOに込めた想い」用テキスト装飾 */
.message-x {
  color: var(--color-accent);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 2px;
  margin: 24px 0 32px;
}

.message-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: inline-block;
  text-align: left;
}

.message-list li {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.message-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.message-closing {
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  margin-top: 14px;
}

/* ==========================================================================
   開発者プロフィールセクション（#developer）
   ========================================================================== */

.developer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.developer-photo {
  margin: 0 0 24px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
}

.developer-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.developer-meta {
  text-align: left;
}

.developer-name {
  color: var(--color-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.developer-name-en {
  color: var(--color-accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom:6px;
}

.developer-achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.developer-achievements li {
  color: var(--color-text-secondary);
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 7px 0 7px 18px;
  border-top: 1px solid var(--color-border);
  position: relative;
}

.developer-achievements li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.developer-achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.developer-body p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 16px;
}

.developer-body p:last-child {
  margin-bottom: 0;
}

.developer-body strong {
  color: var(--color-text);
  font-weight: 600;
}

.developer-body .developer-emphasis {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.developer-body .developer-closing {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 17px;
}

@media (min-width: 992px) {
  .developer-grid {
    grid-template-columns: 5fr 7fr;
    gap: 70px;
    align-items: start;
  }

  .developer-photo {
    margin-bottom: 28px;
  }

  .developer-name {
    font-size: 24px;
  }
}

/* ==========================================================================
   持つ喜びセクション（#design）
   ========================================================================== */

.section-joy {
  background: var(--color-secondary);
}

.joy-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.joy-intro p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 5px;
}

.joy-intro p:last-child {
  margin-bottom: 0;
}

.joy-intro strong {
  color: var(--color-text);
  font-weight: 600;
}

.joy-moments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 72px;
}

.joy-moment {
  margin: 0;
}

.joy-moment-media {
  aspect-ratio: 4 / 5;
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.joy-moment-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.joy-moment:hover .joy-moment-media img {
  transform: scale(1.04);
}

.joy-moment figcaption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.joy-moment-num {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.9;
  flex-shrink: 0;
}

.joy-moment figcaption p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.joy-outro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}

.joy-outro p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 5px;
}

.joy-words {
  margin: 10px 0;
}

.joy-outro .joy-word {
  color: var(--color-text);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 1px;
}

.joy-outro .joy-word:last-child {
  margin-bottom: 0;
}

.joy-outro .joy-closing {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .joy-moments {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .joy-intro {
    margin-bottom: 72px;
  }
}

@media (min-width: 992px) {
  .joy-moments {
    gap: 40px;
  }
}

/* ==========================================================================
   試打セクション（#trial）
   ========================================================================== */

.trial-message {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.trial-lead {
  color: var(--color-text);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.trial-message p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 4px;
}

.trial-feel-list {
  list-style: none;
  padding: 22px 0;
  margin: 12px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.trial-feel-list li {
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 16px;
}

.trial-feel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--color-accent-sub);
  border-radius: 50%;
}

.trial-message .trial-emphasis {
  color: var(--color-text);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  margin: 10px 0;
}

@media (max-width: 575px) {
  .trial-feel-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: var(--color-secondary);
  border-top: 0.5px solid var(--color-border);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  border-bottom: 1px solid var(--color-border);
}

.footer-logo img {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-tagline {
  font-weight: 500;
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  color: var(--color-text-muted);
  font-size: 12px;
}

@media (max-width: 767px) {
  .footer-logo img {
    width: 140px;
  }

  .footer-tagline p {
    font-size: 14px;
  }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */

.text-accent { color: var(--color-accent) !important; }
.text-accent-sub { color: var(--color-accent-sub) !important; }
.text-muted { color: var(--color-text-muted) !important; }

.bg-gradient-hero { background: var(--bg-gradient-hero) !important; }
.bg-gradient-cta { background: var(--bg-gradient-cta) !important; }

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* タブレット以下の共通調整（991px以下） */
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 0;
    padding: 20px 0;
  }

  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }
}

/* スマートフォン（767px以下） */
@media (max-width: 767px) {
  .navbar-brand img {
    width: 140px !important;
  }

  .navbar {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section {
    padding: 120px 0;
  }

  .footer-content {
    padding: 0 20px;
  }
}

/* 極小画面（375px以下） */
@media (max-width: 375px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   下層ページ共通スタイル（page.php / page-templates 用）
   ========================================================================== */

/* ページ上部のタイトルエリア */
.page-hero {
  padding: 140px 0 140px;
  background: var(--bg-gradient-hero);
  text-align: center;
}

/* 背景画像バリアント共通指定 */
.page-hero--form,
.page-hero--products {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 400px;
}

.page-hero--form::before,
.page-hero--products::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

/* 試打フォームページ */
.page-hero--form {
  background-image: url('../images/form-back.jpg');
  background-position: center;
}

/* 製品一覧ページ */
.page-hero--products {
  background-image: url('../images/products-kv.jpg');
  background-position: right center;
}

@media (min-width: 768px) {
  .page-hero--products {
    background-position: center;
  }
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 1px;
}

.page-hero-subtitle {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-top: 12px;
}

.page-hero-line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 24px auto 0;
}

/* 固定ページ本文の共通タイポグラフィ */
.page-content {
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 16px;
}

.page-content h2 {
  color: var(--color-text);
  font-size: 24px;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}

.page-content h3 {
  color: var(--color-accent);
  font-size: 19px;
  margin: 32px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content a {
  color: var(--color-accent);
  transition: var(--transition);
}

.page-content a:hover {
  color: var(--color-accent-sub);
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
  margin-bottom: 20px;
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 8px;
}

/* フォームページのカード（ダークな背景に浮かぶライト面） */
.form-card {
  background: var(--form-card-bg);
  border: none;
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* カード内本文テキスト（親の .page-content を上書きしてライト面に最適化） */
.form-card .page-content {
  color: var(--form-text);
}

.form-card .page-content h2,
.form-card .page-content h3 {
  color: var(--form-text);
}

.form-card .page-content a {
  color: var(--color-accent);
}

/* ==========================================================================
   Contact Form 7 ライトカード対応（白背景の入力欄で視認性最優先）
   ========================================================================== */

/* ラベル */
.wpcf7 label {
  display: block;
  color: var(--form-text);
  font-size: 14px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.wpcf7 label:first-of-type {
  margin-top: 0;
}

/* 入力欄・セレクト・テキストエリア */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px; /* iOS の自動ズーム防止のため 16px 固定 */
  font-family: inherit;
  background: var(--form-input-bg);
  border: 1px solid var(--form-input-border);
  border-radius: 6px;
  color: var(--form-text);
  transition: var(--transition);
  box-shadow: none;
}

/* フォーカス時のリング */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* プレースホルダー */
.wpcf7 ::placeholder {
  color: var(--form-text-muted);
  opacity: 1;
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.7;
}

/* セレクトの下矢印（濃いグレーの SVG） */
.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E6E73' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}

/* ラジオ・チェックボックスのリスト */
.wpcf7-list-item {
  display: inline-block;
  margin: 0 16px 10px 0;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 17px;
  height: 17px;
  margin-right: 7px;
  vertical-align: -3px;
  cursor: pointer;
}

.wpcf7-list-item-label {
  color: var(--form-text);
  font-size: 15px;
  cursor: pointer;
}

/* 必須マーク（テンプレート側で <span class="required-mark">必須</span> のように使用） */
.required-mark {
  color: #ff0000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-left: 8px;
  vertical-align: 1px;
  letter-spacing: 0.5px;
}

/* 送信ボタン（塗りつぶし・中央寄せの CTA） */
.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 40px auto 0;
  padding: 17px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: inherit;
  background: var(--color-accent);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.wpcf7-submit:hover {
  background: #DC2626;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}

.wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* バリデーションメッセージ・レスポンス */
.wpcf7-not-valid-tip {
  color: #C81E1E;
  font-size: 13px;
  margin-top: 6px;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #C81E1E;
}

.wpcf7-response-output {
  border-radius: 6px;
  padding: 16px 18px;
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22C55E;
  background: rgba(34, 197, 94, 0.12);
  color: #15803D;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #C81E1E;
  background: rgba(200, 30, 30, 0.08);
  color: #C81E1E;
}

.wpcf7-spinner {
  margin-left: 12px;
}
.table-bordered .numera input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 30%;
}
/* ==========================================================================
   下層ページ・フォーム レスポンシブ
   ========================================================================== */

@media (max-width: 767px) {
  .page-hero {
    padding: 110px 0 40px;
  }

  .page-hero--form,
  .page-hero--products {
    padding: 110px 0 40px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .wpcf7 label {
    margin-top: 22px;
  }

  .wpcf7-submit {
    max-width: 100%;
  }
}

/* ==========================================================================
   製品一覧ページ（page-products.php）
   ========================================================================== */

/* リード文 */
.products-intro {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.products-intro p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 15px;
}

.products-intro p:last-child {
  margin-bottom: 0;
}

/* モデル早見カード */
.model-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .model-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.model-nav-card {
  display: block;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  overflow: hidden;
}

.model-nav-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
  text-decoration: none;
}

.model-nav-media {
  margin: -32px -28px 24px;
  background: var(--color-primary);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.model-nav-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.model-nav-card:hover .model-nav-media img {
  transform: scale(1.05);
}

.model-nav-logo {
  height: 68px;
  width: auto;
  margin-bottom: 16px;
}

.model-nav-name {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.model-nav-copy {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 14px 0;
}

.model-nav-for {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-bottom: 0;
}

.model-nav-for strong {
  color: var(--color-text-secondary);
  font-weight: 600;
}

.model-nav-price {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 16px 0 18px;
}

.model-nav-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-left: 3px;
}

/* カルーセル */
.product-carousel {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-secondary);
}

.product-carousel .carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
  width: 48px;
  opacity: 0.7;
  transition: var(--transition);
}

.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover {
  opacity: 1;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 18px;
  background-size: 55% 55%;
}

.carousel-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
      repeating-linear-gradient(45deg,
          rgba(255, 255, 255, 0.03) 0 10px,
          transparent 10px 20px),
      var(--color-primary);
}

.carousel-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.carousel-thumb {
  width: 72px;
  flex-shrink: 0;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.carousel-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.carousel-thumb:hover {
  opacity: 0.75;
}

.carousel-thumb.active {
  opacity: 1;
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

/* モデル詳細 */
.model-detail {
  scroll-margin-top: 100px;
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}

.model-detail:last-of-type {
  border-bottom: none;
}

.model-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .model-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .model-detail--reverse .model-detail-media { order: 2; }
  .model-detail--reverse .model-detail-body  { order: 1; }
}

.model-detail-logo {
  height: 60px;
  width: auto;
  margin-bottom: 4px;
}

.model-detail-name {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.model-detail-concept {
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.model-detail-catch {
  color: var(--color-text);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
}

.model-detail-desc {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* モデル詳細内のレーダーチャート */
.model-chart {
  margin: 12px 0;
  max-width: 320px;
}

.model-chart img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .model-chart {
    max-width: 260px;
    margin: 24px auto;
  }
}

/* 試打レビュー */
.model-review {
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  padding: 10px 22px;
  margin: 14px 0;
  border-left: 3px solid var(--color-accent-sub);
}

.model-review-label {
  color: var(--color-accent-sub);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.model-review p:not(.model-review-label) {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.model-recommend {
  color: var(--color-text);
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 0;
}

.model-recommend strong {
  color: var(--color-accent);
}

.model-color {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 0;
}

.model-price {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.model-price-label {
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.model-price-value {
  margin: 0;
  color: var(--color-text);
}

.model-price-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.model-price-unit {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-left: 4px;
}

/* 3モデル比較（レーダーチャート横並び） */
.chart-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.chart-compare-item {
  text-align: center;
}

.chart-compare-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.chart-compare-chart {
  margin: 0 auto 20px;
  max-width: 300px;
}

.chart-compare-chart img {
  display: block;
  width: 100%;
  height: auto;
}

.chart-compare-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
      repeating-linear-gradient(45deg,
          rgba(255, 255, 255, 0.03) 0 10px,
          transparent 10px 20px),
      var(--color-primary);
  border-radius: var(--border-radius);
}

.chart-compare-copy {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .chart-compare {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .chart-compare-chart {
    max-width: 100%;
  }
}

/* 迷ったらガイド */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-item {
  display: block;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  padding: 28px;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
}

.guide-item:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.guide-q {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 18px;
}

.guide-a {
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.guide-note {
  text-align: center;
  margin-top: 40px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.price-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 32px;
}

/* ==========================================================================
   TOPICS（投稿）
   ========================================================================== */

/* トップページ VIEW ALL TOPICS ボタン用余白 */
.topics-more {
  text-align: center;
  margin-top: 48px;
}

/* 投稿一覧グリッド（モバイルファースト） */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 576px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* 投稿カード */
.topics-card {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}
.topics-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
}
.topics-card-link {
  display: block;
  text-decoration: none;
}
.topics-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-primary);
}
.topics-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.topics-card:hover .topics-card-media img {
  transform: scale(1.05);
}

.topics-card-noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
}
.topics-card-noimage img {
  width: 40%;
  height: auto;
  opacity: 0.25;
  object-fit: contain;
}

.topics-card-body {
  padding: 22px 20px 26px;
}
.topics-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.topics-card-meta time {
  color: var(--color-text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.topics-card-cat {
  color: var(--color-accent);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 3px 9px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 3px;
}
.topics-card-title {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  transition: var(--transition);
}
.topics-card:hover .topics-card-title {
  color: var(--color-accent);
}

/* カテゴリーフィルター */
.topics-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.topics-filter-item {
  color: var(--color-text-secondary);
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: var(--transition);
}
.topics-filter-item:hover,
.topics-filter-item.is-current {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ページネーション */
.topics-pagination {
  margin-top: 56px;
}
.topics-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.topics-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  color: var(--color-text-secondary);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  transition: var(--transition);
}
.topics-pagination .page-numbers:hover,
.topics-pagination .page-numbers.current {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.topics-pagination .page-numbers.dots {
  border: none;
}

.topics-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 60px 0;
}

/* アーカイブのページヘッダー */
.page-hero--topics {
  background: var(--bg-gradient-hero);
}

/* 個別投稿 */
.single-topics-header {
  padding: 140px 0 40px;
  background: var(--bg-gradient-hero);
  border-bottom: 1px solid var(--color-border);
}
.single-topics-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.single-topics-meta time {
  color: var(--color-text-muted);
  font-size: 13px;
  letter-spacing: 1px;
}
.single-topics-cat {
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 3px;
}
.single-topics-title {
  color: var(--color-text);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: 900px;
}

/* アイキャッチを廃止し、ヘッダー直下がすぐ本文になるため
   セクション上余白を通常より詰めて、視覚バランスを取る */
.section-single-topics {
  padding-top: 56px;
}

.single-topics-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.single-topics-tags a {
  display: inline-block;
  color: var(--color-text-muted);
  font-size: 12px;
  text-decoration: none;
  padding: 5px 12px;
  margin: 0 6px 6px 0;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  transition: var(--transition);
}
.single-topics-tags a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.single-topics-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.single-topics-nav a {
  color: var(--color-text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}
.single-topics-nav a:hover {
  color: var(--color-accent);
}
.single-topics-nav-index {
  color: var(--color-accent) !important;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .single-topics-header {
    padding: 110px 0 32px;
  }
  .single-topics-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
.grecaptcha-badge {
    visibility: hidden;
}

/* reCAPTCHA 規約文（バッジの代替表示） */
.recaptcha-notice {
    margin-top: 24px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}
.recaptcha-notice a {
    color: var(--color-text-secondary);
    text-decoration: underline;
    transition: var(--transition);
}
.recaptcha-notice a:hover {
    color: var(--color-accent);
}