/**
 * Kanazawa Dragoncross TOP v1.6
 * — ブランド帯中央ロゴ / FV ダミーインジケーター
 * Site-specific CSS — 濃紺 #122244 + 金 #E6DA9D（ホークスは構成参考のみ）
 * Prefix: kdc-
 */

/* =========================================================
   1. Base（CSS変数）
========================================================= */

.kdc-top {
  --kdc-navy: #122244;
  --kdc-gold: #e6da9d;
  --kdc-white: #ffffff;
  --kdc-silver: #babcbe;
  --kdc-navy-dark: #0b172e;
  --kdc-navy-soft: #1a335f;
  --kdc-gold-deep: #d6bd56;
  --kdc-bg-light: #f7f7f5;

  /* ヘッダー金帯のみ（シャンパンゴールド）。サイト共通の --kdc-gold は置き換えない */
  --kdc-header-champagne-hi: #efe2a3;
  --kdc-header-champagne-base: #d8c56d;
  --kdc-header-champagne-mid: #cdb454;
  --kdc-header-champagne-shadow: #a8872d;
  --kdc-header-champagne-deep: #7a611e;

  /* 互換・補助（主役の黒は使わない） */
  --kdc-black: #0b172e;
  --kdc-gold-soft: #efe8c8;
  --kdc-gray-950: var(--kdc-navy-dark);
  --kdc-gray-900: var(--kdc-navy);
  --kdc-gray-800: #2a3f66;
  --kdc-gray-700: #4a5568;
  --kdc-gray-200: #e2e4e6;
  --kdc-gray-100: var(--kdc-bg-light);

  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--kdc-navy);
  color: var(--kdc-white);
  line-height: 1.6;
}

.kdc-top *,
.kdc-top *::before,
.kdc-top *::after {
  box-sizing: border-box;
}

.kdc-top img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.kdc-top a {
  color: var(--kdc-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.kdc-top a:hover {
  color: var(--kdc-gold-deep);
}

/* =========================================================
   2. Section Base
========================================================= */

.kdc-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.kdc-section__inner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
}

/* =========================================================
   3. 共通見出し・ボタン・カード
========================================================= */

.kdc-label {
  display: block;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kdc-gold);
  margin-bottom: 0.75rem;
}

.kdc-story__eyebrow {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
}

.kdc-heading,
.kdc-story__heading,
.kdc-future__title,
.kdc-final-cta__heading,
.kdc-roadmap .kdc-heading,
.kdc-concept .kdc-heading,
.kdc-visual-message .kdc-heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.kdc-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: inherit;
}

.kdc-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.75;
  margin: 0 0 1.5rem;
  color: inherit;
  opacity: 0.92;
}

.kdc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.kdc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kdc-button--primary {
  background-color: var(--kdc-gold);
  color: var(--kdc-navy);
  border-color: var(--kdc-gold);
}

.kdc-button--primary:hover {
  background-color: var(--kdc-gold-deep);
  border-color: var(--kdc-gold-deep);
  color: var(--kdc-navy);
}

.kdc-button--secondary {
  background-color: transparent;
  color: var(--kdc-white);
  border-color: var(--kdc-gold);
}

.kdc-button--secondary:hover {
  background-color: rgba(230, 218, 157, 0.12);
  color: var(--kdc-white);
}

.kdc-card {
  background: var(--kdc-white);
  color: var(--kdc-navy);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(186, 188, 190, 0.45);
  box-shadow: 0 8px 32px rgba(18, 34, 68, 0.08);
}

.kdc-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--kdc-navy);
}

.kdc-card__text {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--kdc-gray-700);
  line-height: 1.6;
}

/* =========================================================
   4. Header Area（TOP内の擬似ヘッダー）
========================================================= */

.kdc-header-area {
  background-color: transparent;
}

.kdc-top .kdc-header-area.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.kdc-header-brand {
  background-color: var(--kdc-gold);
  color: var(--kdc-navy);
  border-bottom: 1px solid rgba(18, 34, 68, 0.18);
}

.kdc-header-brand__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: clamp(56px, 8vw, 76px);
  padding-block: clamp(0.3rem, 1.2vw, 0.55rem);
}

.kdc-header-brand__spacer {
  min-width: 0;
  pointer-events: none;
}

.kdc-header-brand__center {
  justify-self: center;
  grid-column: 2;
}

.kdc-header-brand__logo-link {
  display: inline-block;
  line-height: 0;
}

.kdc-header-brand__logo-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1vw, 1.1rem);
}

.kdc-header-brand__logo {
  display: block;
  width: auto;
  max-width: min(280px, 28vw);
  max-height: 60px;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.kdc-header-brand__wordmark {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 44vw);
  max-height: 52px;
  object-fit: contain;
}

.kdc-header-brand__links {
  justify-self: end;
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.15rem;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.kdc-header-brand__links p {
  margin: 0;
}

.kdc-header-brand__links a {
  color: var(--kdc-navy);
  text-decoration: none;
}

.kdc-header-brand__links a:hover {
  color: var(--kdc-navy-dark);
}

/* 黒ナビ・白文字・金ホバー。枠線なし・リスト中央寄せ */
.kdc-global-nav {
  background-color: #050505;
  border-top: none;
  border-bottom: 1px solid rgba(230, 218, 157, 0.35);
}

.kdc-global-nav__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.kdc-global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  min-height: 50px;
}

.kdc-global-nav__item {
  margin: 0;
}

.kdc-top .kdc-global-nav .kdc-global-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0.35rem 0.65rem;
  color: #ffffff;
  text-decoration: none;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  transition: color 0.2s ease;
}

.kdc-top .kdc-global-nav .kdc-global-nav__link:hover {
  color: #e6da9d;
}

/* 現在ページは文字色は白のまま、下線（金）で示す。メニューブロック等で付与されるクラス・aria に対応 */
.kdc-top .kdc-global-nav .current-menu-item .kdc-global-nav__link,
.kdc-top .kdc-global-nav .current_page_item .kdc-global-nav__link,
.kdc-top .kdc-global-nav .kdc-global-nav__item.current-menu-item .kdc-global-nav__link,
.kdc-top .kdc-global-nav .kdc-global-nav__link[aria-current="page"] {
  color: #ffffff;
  box-shadow: inset 0 -2px 0 0 #e6da9d;
}

.kdc-top .kdc-global-nav .current-menu-item .kdc-global-nav__link:hover,
.kdc-top .kdc-global-nav .current_page_item .kdc-global-nav__link:hover,
.kdc-top .kdc-global-nav .kdc-global-nav__item.current-menu-item .kdc-global-nav__link:hover,
.kdc-top .kdc-global-nav .kdc-global-nav__link[aria-current="page"]:hover {
  color: #e6da9d;
}

/* =========================================================
   4b. TOP：テーマ .l-header / ページ内ヘッダー帯の背景をビューポート幅に（ロゴ・ナビ配置は維持）
========================================================= */

body:has(.kdc-top) .l-header {
  position: relative;
  z-index: 20;
  overflow: visible;
}

body:has(.kdc-top) .l-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background: inherit;
}

body:has(.kdc-top) .l-header > * {
  position: relative;
  z-index: 1;
}

.kdc-top .kdc-header-brand {
  position: relative;
  z-index: 1;
  overflow: visible;
  background-color: transparent;
  border-bottom: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 190, 0.55),
    inset 0 -1px 0 rgba(122, 97, 30, 0.45);
}

.kdc-top .kdc-header-brand::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background-image: url("/wp-content/uploads/kdc-header-gold-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* 壁紙画像単体表示のため、交差光・中央グロー等の装飾レイヤーはオフ */
.kdc-top .kdc-header-brand::after {
  content: none;
  display: none;
}

.kdc-top .kdc-header-brand__inner,
.kdc-top .kdc-header-brand > * {
  position: relative;
  z-index: 1;
}

/* 金帯中央ロゴ（PNG）。レイアウト上の高さは従来どおり、見た目は scale で拡大 */
.kdc-top .kdc-header__logo {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  overflow: visible;
}

.kdc-top .kdc-header__logo img {
  display: block;
  width: auto;
  max-width: min(280px, 72vw);
  max-height: 52px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 5px rgba(18, 34, 68, 0.2));
  transform: scale(1.44) translateY(-3px);
  transform-origin: center center;
}

@media (min-width: 768px) {
  /* ヘッダー金帯：高さを先に抑えて固定（ロゴに引っ張らせない） */
  .kdc-top .kdc-header-brand {
    min-height: 72px;
  }

  .kdc-top .kdc-header-brand__inner {
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0.35rem 0.85rem;
    align-items: center;
  }

  .kdc-top .kdc-header__logo {
    max-height: 72px;
  }

  .kdc-top .kdc-header__logo img {
    height: 58px;
    max-height: 58px;
    max-width: min(280px, 40vw);
  }
}

.kdc-top .kdc-global-nav {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.kdc-top .kdc-global-nav::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background-color: #050505;
}

.kdc-top .kdc-global-nav__inner {
  position: relative;
  z-index: 1;
}

/* =========================================================
   5. FV — 背景壁紙 + メイン + 固定バナー
========================================================= */

.kdc-top .kdc-fv.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.kdc-fv {
  position: relative;
  min-height: 0;
  background-color: var(--kdc-white);
  color: var(--kdc-navy);
  /* 上段余白を約3/4に（下はやや多めに確保） */
  padding-top: clamp(0.75rem, 1.8vw, 1.69rem);
  padding-bottom: clamp(1rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

/* 濃色グラデ被せは外し、背景画像を素直に見せる */
.kdc-fv::before {
  display: none;
}

.kdc-fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: transparent;
}

/* 背景画像は HTML の img（.kdc-fv__bg-img）。URL は CSS に書かない。 */
.kdc-fv .kdc-fv__bg-img,
.kdc-top .kdc-fv .kdc-fv__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
}

/* TOP：FV 壁紙レイヤーをビューポート幅へ（HTML img。URL は書かない） */
.kdc-top .kdc-fv__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  transform: none;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.kdc-top .kdc-fv .kdc-fv__bg-img,
.kdc-top .kdc-fv .kdc-fv__bg img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 濃紺オーバーレイは一旦オフ。必要なら極薄の白トーンのみ検討 */
.kdc-fv__bg::after {
  display: none;
}

.kdc-fv .kdc-section__inner,
.kdc-fv .kdc-fv__inner {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

.kdc-fv .kdc-fv__layout,
.kdc-fv .wp-block-group.kdc-fv__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  width: min(64vw, 1020px);
  max-width: 1020px;
  margin-inline: auto;
}

.kdc-fv .kdc-fv__main,
.kdc-fv .wp-block-group.kdc-fv__main {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-top: 0;
  align-self: start;
}

/* FV メイン：スライダー + ドットを縦並び（テーマの HTML ブロックラッパに依存しない） */
.kdc-fv .kdc-fv__media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: none;
}

/* フェードスライダー（画像 URL は HTML のみ） */
.kdc-fv .kdc-fv__slider {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow:
    0 18px 44px rgba(11, 23, 46, 0.58),
    0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(230, 218, 157, 0.28);
}

.kdc-fv .kdc-fv__slider img.kdc-fv__slide,
.kdc-fv .kdc-fv__slider [data-kdc-fv-slide] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  filter: contrast(1.06) saturate(1.04);
}

.kdc-fv .kdc-fv__slider img.kdc-fv__slide.is-active,
.kdc-fv .kdc-fv__slider [data-kdc-fv-slide].is-active {
  opacity: 1;
  z-index: 1;
}

/* 旧 wp:image（figure）構成が残る場合のフォールバック */
.kdc-fv .wp-block-group.kdc-fv__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}

.kdc-fv .wp-block-image {
  margin-block: 0;
  margin-inline: 0;
}

.kdc-fv figure.wp-block-image {
  margin-block-start: 0;
  margin-block-end: 0;
}

.kdc-fv .kdc-fv__slider > figure.kdc-fv__slide,
.kdc-fv .wp-block-group.kdc-fv__slider > figure.kdc-fv__slide {
  border-radius: 8px;
  box-shadow:
    0 18px 44px rgba(11, 23, 46, 0.58),
    0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(230, 218, 157, 0.28);
}

.kdc-fv .kdc-fv__slide.wp-block-image,
.kdc-fv figure.kdc-fv__slide {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 8px;
  overflow: hidden;
}

.kdc-fv figure.kdc-fv__slide img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  vertical-align: middle;
  filter: contrast(1.06) saturate(1.04);
}

.kdc-fv .kdc-fv__indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kdc-fv .kdc-fv__indicator button.kdc-fv__indicator-dot {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background-color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.kdc-fv .kdc-fv__indicator button.kdc-fv__indicator-dot:hover {
  background-color: rgba(230, 218, 157, 0.65);
}

.kdc-fv .kdc-fv__indicator button.kdc-fv__indicator-dot--active {
  background-color: var(--kdc-gold);
}

.kdc-fv .kdc-fv__side,
.kdc-fv .wp-block-group.kdc-fv__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding-top: 0;
  align-self: start;
}

.kdc-fv .kdc-fv__banner.wp-block-image,
.kdc-fv figure.kdc-fv__banner {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 14px 34px rgba(11, 23, 46, 0.52),
    0 4px 14px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(230, 218, 157, 0.26);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.kdc-fv figure.kdc-fv__banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  vertical-align: middle;
  transition: filter 0.25s ease;
  filter: contrast(1.06) saturate(1.05);
}

.kdc-fv .wp-block-image:not(.kdc-fv__slide):not(.kdc-fv__banner) {
  max-width: none;
}

/* =========================================================
   5. STORY（背景画像は HTML の img。オーバーレイのみ CSS）
========================================================= */

.kdc-story {
  /* trial: STORY背景を明るい金色グラデーションに変更（テクスチャ画像なし） */
  background-color: #f2d46b;
  background-image: linear-gradient(
    135deg,
    #f7dc6f 0%,
    #f2d46b 52%,
    #e8c65a 100%
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #10213d;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding-top: clamp(1.5rem, 2.8vw, 2.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

/* TOP：壁紙 img は .kdc-story__bg で 100vw。セクションは overflow visible でクリップ回避 */
.kdc-top .kdc-story {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: visible;
  box-sizing: border-box;
}

/* trial: STORY背景をヘッダー金系に変更（他セクション用疑似要素があっても無効化） */
.kdc-story::before {
  content: none;
}

.kdc-story::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  pointer-events: none;
  z-index: 1;
  /* trial: STORY背景を明るい金色グラデーションに変更（下端のみ軽い金フェード） */
  background: linear-gradient(
    180deg,
    rgba(242, 212, 107, 0) 0%,
    rgba(232, 198, 90, 0.34) 100%
  );
}

/* 背景ブロック（HTML ブロックラッパ対応） */
.kdc-story > .wp-block-html:first-child {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
}

.kdc-top .kdc-story > .wp-block-html:first-child {
  overflow: visible;
}

/* trial: STORY球場壁紙を金色背景の上に薄く重ねる */
.kdc-story__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  pointer-events: none;
}

.kdc-story__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(0.9) contrast(0.95);
}

/* TOP：壁紙レイヤー全幅（calc）。画像は HTML の img のみ。レイヤー順 bg 0 / overlay 1 / 本文 2 */
.kdc-top .kdc-story__bg {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  transform: none;
  z-index: 0;
  opacity: 0.24;
  pointer-events: none;
  overflow: hidden;
}

.kdc-top .kdc-story__bg-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(0.95);
}

.kdc-top .kdc-story .kdc-section__inner {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.kdc-story__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* trial: STORY背景を明るい金色グラデーションに変更（文字可読用の薄い白レイヤー） */
  background: rgba(255, 255, 255, 0.08);
}

.kdc-top .kdc-story__overlay {
  inset: auto;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  width: auto;
  max-width: none;
  margin: 0;
  transform: none;
  /* trial: STORY背景を明るい金色グラデーションに変更（文字可読用の薄い白レイヤー） */
  background: rgba(255, 255, 255, 0.08);
}

.kdc-top .kdc-story::after {
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  width: auto;
}

.kdc-story > .kdc-section__inner,
.kdc-story .kdc-section__inner,
.kdc-story__inner,
.kdc-story__content {
  position: relative;
  z-index: 2;
}

.kdc-story .kdc-section__inner {
  width: min(64vw, 1020px);
  max-width: 1020px;
  margin-inline: auto;
}

.kdc-story .kdc-section__inner > .wp-block-html:first-of-type {
  display: block;
  width: 100%;
}

.kdc-story .wp-block-html:has(.kdc-story__title-area) {
  display: block;
  width: 100%;
}

.kdc-story__title-area {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.kdc-story__title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  background: transparent;
}

.kdc-story__title-bar {
  flex-shrink: 0;
  width: 100%;
  height: 2px;
  margin: 0;
  border: none;
  border-radius: 1px;
  /* trial: STORY背景金系に合わせて装飾ラインを濃紺へ */
  background-color: #10213d;
}

.kdc-story__title {
  margin: 0.65rem 0;
  padding: 0 0.15rem;
  /* trial: STORY背景金系に合わせて本文色を濃紺へ */
  color: #10213d;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: center;
}

.kdc-story__layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 40px;
  align-items: center;
}

.kdc-story__visual {
  min-width: 0;
  padding: clamp(0.45rem, 1.2vw, 1rem) clamp(0.2rem, 0.75vw, 0.55rem)
    clamp(0.35rem, 1vw, 0.75rem) clamp(0.1rem, 0.45vw, 0.35rem);
}

.kdc-story__image-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
  box-sizing: border-box;
  width: min(104%, 530px);
  max-width: none;
  transform: translate(7px, 26px);
}

.kdc-story__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(230, 218, 157, 0.42);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.kdc-story__image--primary,
.kdc-story__image--secondary {
  background-color: rgba(255, 255, 255, 0.04);
}

.kdc-story__content {
  min-width: 0;
  max-width: 38rem;
}

.kdc-story__heading {
  margin: 0 0 clamp(1.5rem, 2.5vw, 1.9rem);
  /* trial: STORY背景金系に合わせて本文色を濃紺へ */
  color: #10213d;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.28;
  white-space: nowrap;
}

.kdc-story__lead {
  margin: 0 0 0.85rem;
  /* trial: STORY背景金系に合わせて本文色を濃紺へ */
  color: #10213d;
  font-size: 0.94rem;
  line-height: 1.75;
}

.kdc-story__content > p:not([class]) {
  margin: 0 0 1rem;
  /* trial: STORY背景金系に合わせて本文色を濃紺へ */
  color: #10213d;
  font-size: 0.94rem;
  line-height: 1.75;
}

.kdc-story__subheading {
  margin: 1.35rem 0 0.45rem;
  /* trial: STORY背景金系に合わせて小見出しを濃紺へ */
  color: #10213d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.kdc-story__lead + .kdc-story__subheading {
  margin-top: 1.2rem;
}

.kdc-story__values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0.5rem 0 1.25rem;
  box-sizing: border-box;
  width: calc(100% - 1.5rem);
  max-width: calc(100% - 1.5rem);
  margin-inline: 0 1.5rem;
}

.kdc-story__value {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.35rem 1.05rem 1.35rem;
  border-radius: 8px;
  background-color: #2b3f5e;
  border: 1px solid rgba(230, 218, 157, 0.34);
  border-left: 4px solid #e6da9d;
}

.kdc-story__value-title {
  margin: 0 0 0.35rem;
  max-width: 100%;
  overflow-wrap: break-word;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.kdc-story__value-text {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.75;
  color: #eef3f8;
}

.kdc-story__closing {
  margin: 0.25rem 0 0;
  /* trial: STORY背景金系に合わせて本文色を濃紺へ */
  color: #10213d;
  font-size: 0.94rem;
  line-height: 1.75;
}

/* PC：STORY — 見出しを本文・ネイビー枠と同じ 44rem 幅に揃え、行間のみ詰める（タイトル帯の translateY は維持） */
@media (min-width: 768px) {
  .kdc-story {
    --kdc-story-copy-width: 44rem;
  }

  .kdc-story .kdc-story__title {
    font-size: clamp(1.425rem, 3.3vw, 1.725rem);
    letter-spacing: 0.09em;
    line-height: 1.42;
  }

  .kdc-story .kdc-story__title-wrap {
    transform: translateY(-1.8rem);
  }

  .kdc-story .kdc-story__heading {
    width: min(100%, var(--kdc-story-copy-width));
    max-width: var(--kdc-story-copy-width);
    margin-left: auto;
    margin-right: auto;
    transform: none;
    line-height: 1.12;
  }

  .kdc-story .kdc-story__content,
  .kdc-story .kdc-story__values {
    width: min(100%, var(--kdc-story-copy-width));
    max-width: var(--kdc-story-copy-width);
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    transform: none;
  }

  .kdc-story .kdc-story__content > p,
  .kdc-story .kdc-story__lead,
  .kdc-story .kdc-story__subheading,
  .kdc-story .kdc-story__closing {
    width: 100%;
    max-width: var(--kdc-story-copy-width);
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-story .kdc-story__value {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .kdc-story__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .kdc-story__visual {
    padding: 0.35rem 0 0;
  }

  .kdc-story__image-stack {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .kdc-story__content {
    max-width: none;
  }
}

/* =========================================================
   6. Main CTA Cards（TOP からは削除。別ページ・再利用用にスタイルは保持）
========================================================= */

.kdc-main-cta {
  background: var(--kdc-navy);
  color: var(--kdc-white);
}

.kdc-main-cta .kdc-label {
  color: var(--kdc-gold);
  text-align: center;
}

.kdc-main-cta .kdc-heading {
  color: var(--kdc-white);
  text-align: center;
}

.kdc-main-cta .kdc-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--kdc-white);
  color: var(--kdc-navy);
  border-color: rgba(230, 218, 157, 0.45);
  box-shadow: 0 10px 40px rgba(11, 23, 46, 0.2);
}

.kdc-main-cta .kdc-card__title {
  border-bottom: 2px solid var(--kdc-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--kdc-navy);
}

.kdc-main-cta .kdc-card__text {
  color: var(--kdc-gray-700);
}

.kdc-main-cta .kdc-buttons {
  margin-top: auto;
}

.kdc-card-grid {
  width: 100%;
}

/* =========================================================
   7. 金沢ドラゴンクロス未来図
========================================================= */

.kdc-future {
  background: #f7f7f5;
  color: #122244;
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(5.75rem, 9vw, 7.5rem);
}

/* 未来図：背景画像レイヤー（HTMLで読み込む。CSSに画像URLは書かない） */
.kdc-future > .wp-block-html:first-child {
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
}

.kdc-future__bg,
.kdc-future__bg-fixed {
  pointer-events: none;
}

.kdc-future__bg-img,
.kdc-future__bg-fixed-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kdc-future .kdc-section__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(0.75rem, 1.8vw, 1.5rem);
}

/* PC：未来図背景を sticky で固定背景風（背景だけが先に出る余白を作らない） */
@media (min-width: 768px) {
  .kdc-future {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 0;
    overflow: hidden;
  }

  /* 背景は上端から開始しつつ、コンテンツの上余白は inner 側で維持する */
  .kdc-future .kdc-section__inner {
    padding-top: clamp(3rem, 6vw, 5.5rem);
  }

  .kdc-future__bg,
  .kdc-future__bg-fixed {
    position: sticky;
    top: 0;
    z-index: 0;
    width: 100vw !important;
    height: 100vh;
    max-width: none !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: -100vh;
    overflow: hidden;
  }

  .kdc-future__bg-img,
  .kdc-future__bg-fixed-img {
    width: 100%;
    height: 100%;
  }
}

/* FV の .kdc-fv__layout（min(68vw, 1080px)）と左右端を揃える */
.kdc-future .kdc-section__inner {
  width: min(68vw, 1080px);
  max-width: 1080px;
  margin-inline: auto;
}

.kdc-future__inner {
  width: 100%;
  overflow: visible;
}

.kdc-future__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 52rem);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.kdc-future__eyebrow {
  margin: 0;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.02rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(18, 34, 68, 0.72);
}

.kdc-future__title-bar {
  width: min(100%, 44rem);
  height: 2px;
  margin: 0;
  border: none;
  border-radius: 1px;
  background-color: #e6da9d;
}

.kdc-future__title {
  margin: 0;
  padding: 0 0.15rem;
  color: #122244;
  font-size: clamp(1.95rem, 5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* 未来図見出し・サブコピー：スマホのみ2行＋中央揃え（blocks 内 h2 / p の span と併用） */
@media (max-width: 767px) {
  .kdc-top .kdc-future__title,
  .kdc-top .kdc-future__subtitle {
    text-align: center;
  }

  .kdc-top .kdc-future__title span,
  .kdc-top .kdc-future__subtitle span {
    display: block;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .kdc-top .kdc-future__title span,
  .kdc-top .kdc-future__subtitle span {
    display: inline;
  }
}

.kdc-future__subtitle {
  margin: 0;
  color: rgba(18, 34, 68, 0.86);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.8;
}

.kdc-future__story {
  max-width: 1040px;
  margin: 0 auto;
  overflow: visible;
}

.kdc-future__text-block {
  max-width: 760px;
  margin: 0 auto;
}

.kdc-future__paragraph {
  margin: 0 0 1.4rem;
  color: #122244;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: left;
}

.kdc-future__paragraph:last-child {
  margin-bottom: 0;
}

/* 未来図本文：意味単位行。PCはインラインで連結、767px以下のみブロック改行 */
@media (min-width: 768px) {
  .kdc-top .kdc-future__paragraph .kdc-future__line {
    display: inline;
  }
}

@media (max-width: 767px) {
  .kdc-top .kdc-future__paragraph .kdc-future__line {
    display: block;
  }
}

.kdc-future__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(18, 34, 68, 0.12);
  background:
    linear-gradient(135deg, rgba(18, 34, 68, 0.14), rgba(18, 34, 68, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow: 0 18px 40px rgba(18, 34, 68, 0.08);
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.kdc-future__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(18, 34, 68, 0.045) 100%);
  pointer-events: none;
}

.kdc-future__image-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.18) contrast(0.96) saturate(1.08);
  transition: transform 0.45s ease;
}

.kdc-top .kdc-future .kdc-future__image-img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}

.kdc-future__image--wide {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin: 40px auto 56px;
}

.kdc-future__image--town,
.kdc-future__image--next,
.kdc-future__image--community {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.kdc-future__image--wide .kdc-future__image-img {
  filter: brightness(1.28) contrast(0.94) saturate(1.08);
  object-position: center 58%;
}

.kdc-future__image--town .kdc-future__image-img {
  filter: brightness(1.30) contrast(0.93) saturate(1.08);
  object-position: center center;
}

.kdc-future__image--next .kdc-future__image-img {
  filter: brightness(1.16) contrast(0.97) saturate(1.06);
  object-position: center 42%;
}

.kdc-future__image--community .kdc-future__image-img {
  filter: brightness(1.16) contrast(0.97) saturate(1.06);
  object-position: center 45%;
}

.kdc-future__story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 40px;
  align-items: center;
  margin: 56px auto;
}

.kdc-future__story-row .kdc-future__text-block,
.kdc-future__story-row--reverse .kdc-future__text-block {
  max-width: none;
  margin: 0;
}

.kdc-future__story-row .kdc-future__image {
  width: 100%;
}

.kdc-future__story-row--reverse {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.kdc-future__story-row--reverse .kdc-future__text-block {
  grid-column: 2;
}

.kdc-future__story-row--reverse .kdc-future__image {
  grid-column: 1;
  grid-row: 1;
}

.kdc-future__closing {
  box-sizing: border-box;
  width: min(100%, 920px);
  max-width: 920px;
  margin: 72px auto 0;
  padding: 40px 40px 44px;
  text-align: center;
  line-height: 2;
  border-radius: 28px;
  border: 1px solid rgba(197, 164, 86, 0.2);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(18, 34, 68, 0.08);
  overflow: visible;
}

.kdc-future__closing p {
  margin: 0;
  color: #122244;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.kdc-future__closing p + p {
  margin-top: 0.9rem;
}

.kdc-future__closing p:last-child {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.08rem, 1.65vw, 1.18rem);
  font-weight: 800;
  line-height: 1.9;
}

/* PC優先：未来図（STORYと同トーンへ） */
@media (min-width: 768px) {
  /* 未来図背景は今後の芝系バナーが映える薄いスタジアムグレーに */
  .kdc-future {
    background: #f1f3f0;
    padding-bottom: 120px;
  }

  /* TOPの全幅背景（疑似要素）も未来図だけ色を合わせる（follow/news には影響させない） */
  .kdc-top .kdc-future::before {
    background-color: #f1f3f0;
  }

  .kdc-future__title-wrap {
    margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
  }

  .kdc-future .kdc-future__title {
    font-size: clamp(2.15rem, 3.8vw, 2.95rem);
    line-height: 1.22;
  }

  .kdc-future__story-row .kdc-future__image {
    max-width: 420px;
    justify-self: end;
  }

  .kdc-future__story-row--reverse .kdc-future__image {
    justify-self: start;
  }
}

/* =========================================================
   kdc-follow 統合：未来図型固定背景 + 7b-spカード（01〜04）
   背景：.kdc-future__bg-fixed と同型（sticky + 100vh + margin-bottom:-100vh）
   .kdc-top 有無どちらでも効く（セレクタは .kdc-follow 系に統一）
========================================================= */

.kdc-follow {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding-top: 0;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.kdc-follow::before {
  content: none;
  display: none;
}

.kdc-follow > .wp-block-html:first-child {
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
  max-width: none;
  width: auto;
  overflow: visible;
}

.kdc-follow__bg {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -100vh;
  pointer-events: none;
  overflow: hidden;
}

.kdc-follow__bg::after {
  content: none;
  display: none;
}

.kdc-follow__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kdc-follow > .kdc-section__inner {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  background: rgba(247, 248, 242, 0.86);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(12, 22, 40, 0.12);
}

.kdc-follow__header {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.kdc-follow__title {
  position: relative;
  z-index: 4;
  margin: 0 0 1rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 2.9vw, 2.05rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.03em;
  color: #122244;
  padding-bottom: 1.35rem;
}

.kdc-follow__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(360px, 58vw);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(200, 174, 78, 0) 0%,
    rgba(200, 174, 78, 0.9) 20%,
    rgba(255, 246, 190, 1) 50%,
    rgba(200, 174, 78, 0.9) 80%,
    rgba(200, 174, 78, 0) 100%
  );
  box-shadow: 0 0 20px rgba(200, 174, 78, 0.42);
  pointer-events: none;
}

.kdc-follow__title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 18px;
  height: 8px;
  transform: translateX(-50%) rotate(-12deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 246, 190, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

.kdc-follow__lead {
  position: relative;
  z-index: 4;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 500;
  line-height: 1.9;
  color: #4a5568;
}

.kdc-follow__pc-br,
.kdc-follow__sp-br {
  display: none;
}

.kdc-follow__actions {
  margin-top: clamp(1.05rem, 1.8vw, 1.35rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.kdc-follow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  flex: 1 1 auto;
  min-height: 2.9rem;
  padding: 0.75rem 1.15rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  background: #122244;
  color: #ffffff;
  border: 1px solid rgba(197, 164, 86, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.kdc-follow__button:hover {
  transform: translateY(-1px);
  background: #08101f;
  box-shadow: 0 12px 24px rgba(18, 34, 68, 0.18);
}

.kdc-follow__button--line {
  border-color: rgba(200, 174, 78, 0.65);
}

.kdc-follow__button--line:hover {
  border-color: rgba(200, 174, 78, 0.85);
}

.kdc-follow__card-line {
  display: inline;
}

.kdc-follow__card-title-pc-br {
  display: none;
}

/* 7b-sp：PC 2×2 / SP 1カラム・左大番号・04濃紺 */
@media (min-width: 768px) {
  .kdc-follow__pc-br {
    display: block;
  }

  .kdc-follow__title-line,
  .kdc-follow__lead-line {
    display: inline;
  }

  .kdc-follow__title-line--gap {
    margin-top: 0;
  }

  .kdc-follow__lead-space {
    display: block;
    height: 0.75em;
  }

  .kdc-follow__header::before {
    content: "";
    display: block;
    width: min(560px, 78vw);
    height: 1.5px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(200, 174, 78, 0) 0%,
      rgba(200, 174, 78, 0.58) 22%,
      rgba(255, 246, 190, 0.88) 50%,
      rgba(200, 174, 78, 0.58) 78%,
      rgba(200, 174, 78, 0) 100%
    );
    box-shadow: 0 0 14px rgba(200, 174, 78, 0.24);
    pointer-events: none;
  }

  /* 白コンテンツ幅：未来図 .kdc-future .kdc-section__inner と同型（68vw / 1080） */
  .kdc-follow > .kdc-section__inner {
    width: min(68vw, 1080px);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-follow__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-follow__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
    column-gap: 20px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 248px;
    padding: 28px 30px 28px 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(201, 169, 77, 0.32);
    border-radius: 18px;
    color: #10213d;
    box-shadow: 0 18px 40px rgba(11, 26, 43, 0.10);
  }

  .kdc-follow__number,
  .kdc-follow__card-no {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(5.8rem, 7vw, 7.4rem);
    line-height: 0.88;
    letter-spacing: 0.01em;
    color: rgba(168, 142, 72, 0.42);
    text-shadow: 0 8px 22px rgba(201, 169, 77, 0.12);
    transform: scaleX(1.06);
    pointer-events: none;
  }

  .kdc-follow__card-body {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 178px;
    padding-left: 20px;
    border-left: 3px solid rgba(201, 169, 77, 0.72);
  }

  .kdc-follow__card-title,
  .kdc-follow__text,
  .kdc-follow__card-text,
  .kdc-follow__actions {
    position: relative;
    z-index: 2;
  }

  .kdc-follow__card-title {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0 0 14px;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: clamp(1.52rem, 2.05vw, 1.95rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0.01em;
    color: #10213d;
  }

  .kdc-follow__card-title-pc-br {
    display: block;
  }

  .kdc-follow__card:nth-child(2) .kdc-follow__card-title {
    white-space: nowrap;
  }

  .kdc-follow__card:nth-child(3) .kdc-follow__card-title,
  .kdc-follow__card:nth-child(4) .kdc-follow__card-title,
  .kdc-follow__card--sponsor .kdc-follow__card-title {
    white-space: normal;
  }

  .kdc-follow__text,
  .kdc-follow__card-text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.94rem;
    line-height: 1.78;
    color: rgba(16, 33, 61, 0.78);
  }

  .kdc-follow__actions {
    margin-top: auto;
    padding-top: 4px;
    align-items: stretch;
  }

  /* 単体ボタン（02〜04）：高さを統一（03を04に合わせる） */
  .kdc-follow__card:nth-child(2) .kdc-follow__button,
  .kdc-follow__card:nth-child(3) .kdc-follow__button,
  .kdc-follow__card:nth-child(4) .kdc-follow__button,
  .kdc-follow__card--sponsor .kdc-follow__button {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1.3rem;
    line-height: 1.35;
  }

  /* 01：LINE / Instagram 横並び・同じボタン高さ */
  .kdc-follow__card:nth-child(1) .kdc-follow__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .kdc-follow__card:nth-child(1) .kdc-follow__button {
    box-sizing: border-box;
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    min-height: 3rem;
    padding: 0.8rem 1.1rem;
    line-height: 1.35;
  }

  .kdc-follow__card-line {
    display: inline;
  }

  .kdc-follow__card-line + .kdc-follow__card-line::before {
    content: "";
  }

  .kdc-follow__card-br {
    display: block;
  }

  .kdc-follow__card:nth-child(4),
  .kdc-follow__card--sponsor {
    background: linear-gradient(135deg, #071a35 0%, #10284d 55%, #071326 100%);
    border-color: rgba(201, 169, 77, 0.58);
    color: #ffffff;
    box-shadow: 0 22px 46px rgba(7, 19, 38, 0.28);
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__number,
  .kdc-follow__card:nth-child(4) .kdc-follow__card-no,
  .kdc-follow__card--sponsor .kdc-follow__number,
  .kdc-follow__card--sponsor .kdc-follow__card-no {
    display: flex;
    color: rgba(230, 218, 157, 0.38);
    text-shadow: 0 8px 24px rgba(230, 218, 157, 0.14);
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__card-body,
  .kdc-follow__card--sponsor .kdc-follow__card-body {
    border-left-color: rgba(245, 220, 122, 0.82);
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__card-title,
  .kdc-follow__card:nth-child(4) .kdc-follow__text,
  .kdc-follow__card:nth-child(4) .kdc-follow__card-text,
  .kdc-follow__card--sponsor .kdc-follow__card-title,
  .kdc-follow__card--sponsor .kdc-follow__text,
  .kdc-follow__card--sponsor .kdc-follow__card-text {
    color: #ffffff;
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__button,
  .kdc-follow__card--sponsor .kdc-follow__button {
    color: #f5dc7a;
    border-color: rgba(245, 220, 122, 0.75);
  }
}

@media (max-width: 767px) {
  .kdc-follow {
    padding-bottom: 72px;
  }

  /* 前面パネル幅：section 14 より詳細度を上げて上書き（.kdc-top .kdc-follow > …） */
  .kdc-top .kdc-follow > .kdc-section__inner {
    box-sizing: border-box;
    width: min(100% - 48px, 360px);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    padding: clamp(1.75rem, 5vw, 2.25rem) 12px clamp(2rem, 6vw, 2.75rem);
    border-radius: 18px;
    background: rgba(247, 248, 242, 0.88);
    box-shadow: 0 18px 40px rgba(11, 26, 43, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .kdc-follow__bg {
    height: 100svh;
  }

  .kdc-follow__bg-img {
    object-position: center center;
  }

  .kdc-follow__grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }

  .kdc-follow__card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 330px;
    min-width: 0;
    min-height: 240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(201, 169, 77, 0.28);
    border-radius: 18px;
    color: #10213d;
  }

  .kdc-follow__number,
  .kdc-follow__card-no {
    display: block;
    position: absolute;
    left: 1rem;
    top: 0.7rem;
    z-index: 1;
    margin: 0;
    padding: 0;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(4.2rem, 18vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: rgba(80, 84, 88, 0.2);
    transform: scaleX(1.05);
    pointer-events: none;
  }

  .kdc-follow__card-body,
  .kdc-follow__card-title,
  .kdc-follow__text,
  .kdc-follow__card-text,
  .kdc-follow__actions {
    position: relative;
    z-index: 2;
  }

  .kdc-follow__card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 178px;
    padding: clamp(4.9rem, 20vw, 5.4rem) 14px 0;
    border-left: 0;
  }

  .kdc-follow__card-title {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 0;
    position: relative;
    z-index: 3;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: clamp(1.35rem, 5.3vw, 1.55rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .kdc-follow__text,
  .kdc-follow__card-text {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    line-break: auto;
    color: rgba(16, 33, 61, 0.78);
  }

  .kdc-follow__card-line {
    display: inline;
  }

  .kdc-follow__card-br {
    display: block;
  }

  .kdc-follow__actions {
    margin-top: auto;
    padding-top: 16px;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .kdc-follow__button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0.65rem 0.7rem;
    font-size: 0.875rem;
    line-height: 1.35;
    white-space: nowrap;
  }

  .kdc-follow__card:nth-child(4),
  .kdc-follow__card--sponsor {
    background: linear-gradient(135deg, #071a35 0%, #10284d 55%, #071326 100%);
    border-color: rgba(201, 169, 77, 0.5);
    color: #ffffff;
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__number,
  .kdc-follow__card:nth-child(4) .kdc-follow__card-no,
  .kdc-follow__card--sponsor .kdc-follow__number,
  .kdc-follow__card--sponsor .kdc-follow__card-no {
    display: block;
    color: rgba(255, 255, 255, 0.18);
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__card-title,
  .kdc-follow__card:nth-child(4) .kdc-follow__text,
  .kdc-follow__card:nth-child(4) .kdc-follow__card-text,
  .kdc-follow__card--sponsor .kdc-follow__card-title,
  .kdc-follow__card--sponsor .kdc-follow__text,
  .kdc-follow__card--sponsor .kdc-follow__card-text {
    color: #ffffff;
  }

  .kdc-follow__card:nth-child(4) .kdc-follow__button,
  .kdc-follow__card--sponsor .kdc-follow__button {
    color: #f5dc7a;
    border-color: rgba(245, 220, 122, 0.75);
  }

  .kdc-follow__header {
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
  }

  .kdc-follow__title {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
    box-sizing: border-box;
    text-align: center;
  }

  .kdc-follow__title-line {
    display: block;
    white-space: normal;
  }

  .kdc-follow__title-line--gap {
    margin-top: 0.9em;
  }

  .kdc-follow__lead {
    width: min(100%, 23.5rem);
    max-width: 23.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
  }

  .kdc-follow__lead-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
    text-align: center;
  }

  .kdc-follow__lead-space {
    display: block;
    height: 0.9em;
  }
}

.kdc-follow__card > .kdc-follow__card-arrow {
  display: none;
}

/* =========================================================
   8. Visual Message
========================================================= */

.kdc-visual-message {
  background: linear-gradient(160deg, var(--kdc-navy-soft) 0%, var(--kdc-navy) 100%);
  color: var(--kdc-white);
}

.kdc-visual-message .kdc-label {
  color: var(--kdc-gold);
}

.kdc-visual-message .kdc-heading {
  color: var(--kdc-white);
}

/* =========================================================
   9. Concept
========================================================= */

.kdc-concept {
  background: var(--kdc-white);
  color: var(--kdc-navy);
}

.kdc-concept .kdc-heading,
.kdc-concept .kdc-lead {
  color: var(--kdc-navy);
}

.kdc-concept .kdc-card {
  background: var(--kdc-bg-light);
  border-color: rgba(186, 188, 190, 0.55);
}

.kdc-concept .kdc-card__title {
  color: var(--kdc-navy);
}

/* =========================================================
   10. Roadmap
========================================================= */

.kdc-roadmap {
  background: var(--kdc-bg-light);
  color: var(--kdc-navy);
}

.kdc-step {
  background: var(--kdc-white);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  border-left: 4px solid var(--kdc-gold);
  box-shadow: 0 4px 16px rgba(18, 34, 68, 0.07);
  height: 100%;
}

.kdc-step__number {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--kdc-gold);
  margin-bottom: 0.35rem;
}

.kdc-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--kdc-navy);
}

.kdc-step__text {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  color: var(--kdc-gray-700);
}

/* =========================================================
   11. SNS / LINE
========================================================= */

.kdc-sns {
  background: var(--kdc-navy);
  color: var(--kdc-white);
}

.kdc-sns .kdc-heading {
  color: var(--kdc-white);
}

.kdc-sns .kdc-lead {
  opacity: 0.88;
  color: var(--kdc-silver);
}

.kdc-sns .kdc-buttons {
  justify-content: flex-start;
}

.kdc-sns .kdc-button--primary {
  box-shadow: 0 0 0 1px rgba(230, 218, 157, 0.35);
}

/* =========================================================
   12. News
========================================================= */

.kdc-news {
  background: #f7f7f5;
  color: #122244;
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.25rem);
}

.kdc-news .kdc-section__inner {
  width: min(68vw, 1080px);
  max-width: 1080px;
  margin-inline: auto;
}

.kdc-news__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
  background: transparent;
}

.kdc-news__title-bar {
  width: min(100%, 20rem);
  height: 2px;
  margin: 0;
  border: none;
  border-radius: 1px;
  background-color: #e6da9d;
}

.kdc-news__title {
  margin: 0;
  padding: 0 0.15rem;
  color: #122244;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
}

.kdc-news .wp-block-query {
  margin: 0;
  padding: 0;
}

.kdc-news ul.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  padding: 0;
}

.kdc-news .wp-block-post-template > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kdc-news .wp-block-post {
  margin: 0;
  height: 100%;
}

.kdc-news .kdc-news__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(186, 188, 190, 0.5);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(18, 34, 68, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.kdc-news .kdc-news__card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.55rem;
  margin: 0;
  padding: 1.05rem 1.1rem 1.2rem;
}

.kdc-news .wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  background: #e8eaec;
}

.kdc-news .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}

.kdc-news .wp-block-post-featured-image a {
  display: block;
  line-height: 0;
}

.kdc-news .wp-block-post-date {
  margin: 0;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #d6bd56;
}

.kdc-news .wp-block-post-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.kdc-news .wp-block-post-title a {
  color: #122244;
  text-decoration: none;
  transition: color 0.15s ease;
}

.kdc-news .wp-block-post-title a:hover {
  color: #d6bd56;
}

.kdc-news .wp-block-post-excerpt {
  margin: 0;
  flex: 1 1 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.65;
  color: #4a5568;
}

.kdc-news .wp-block-post-excerpt p {
  margin: 0;
}

.kdc-news .wp-block-read-more,
.kdc-news a.kdc-news__link {
  display: inline-block;
  margin: 0.15rem 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: #d6bd56;
  text-decoration: none;
  transition: color 0.15s ease;
}

.kdc-news .wp-block-read-more:hover,
.kdc-news a.kdc-news__link:hover {
  color: #122244;
}

.kdc-news .kdc-news__footer-buttons {
  justify-content: center;
  margin-top: 0;
}

.kdc-news .kdc-heading {
  color: var(--kdc-navy);
}

.kdc-news .kdc-button--secondary {
  color: var(--kdc-navy);
  border-color: var(--kdc-gold);
}

.kdc-news .kdc-button--secondary:hover {
  background-color: rgba(230, 218, 157, 0.22);
  color: var(--kdc-navy);
}

/* NEWS内：小型 CONTACT 導線（独立 kdc-contact とは別） */
.kdc-news-contact {
  box-sizing: border-box;
  width: min(100%, 820px);
  max-width: 820px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 32px);
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(186, 188, 190, 0.42);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(12, 22, 40, 0.08);
}

.kdc-news-contact__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0 0 clamp(1.2rem, 2.2vw, 1.4rem);
  padding: 0 0.15rem;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: #122244;
  background: transparent;
}

.kdc-news-contact__eyebrow::before,
.kdc-news-contact__eyebrow::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: min(100%, 20rem);
  height: 1px;
  margin: 0;
  border: none;
  border-radius: 1px;
  background-color: #e6da9d;
}

.kdc-news-contact__title {
  margin: 0 0 1rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #122244;
}

.kdc-news-contact__lead {
  margin: 0 auto clamp(1.25rem, 2.5vw, 1.5rem);
  max-width: 36rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.85;
  color: rgba(18, 34, 68, 0.78);
  text-align: center;
}

.kdc-top a.kdc-news-contact__button,
a.kdc-news-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22rem);
  min-height: 3.15rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(230, 218, 157, 0.74);
  border-radius: 999px;
  background: #122244;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(18, 34, 68, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kdc-top a.kdc-news-contact__button:hover,
a.kdc-news-contact__button:hover {
  transform: translateY(-1px);
  background: #08101f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(18, 34, 68, 0.26);
}

@media (max-width: 767px) {
  .kdc-news__title-wrap {
    gap: 0.65rem;
    margin-bottom: clamp(1.75rem, 5vw, 2.25rem);
  }

  .kdc-news__title {
    font-size: clamp(1.5rem, 6.5vw, 1.95rem);
    letter-spacing: 0.1em;
  }

  .kdc-news__title-bar {
    width: min(100%, 14rem);
  }

  .kdc-news-contact__title {
    font-size: clamp(1.3rem, 5vw, 1.55rem);
  }

  .kdc-news-contact__eyebrow {
    font-size: clamp(1.3rem, 5vw, 1.65rem);
    letter-spacing: 0.14em;
    gap: 0.55rem;
    margin-bottom: clamp(1.1rem, 4vw, 1.3rem);
  }

  .kdc-news-contact__eyebrow::before,
  .kdc-news-contact__eyebrow::after {
    width: min(100%, 14rem);
  }

  .kdc-news-contact {
    width: min(100% - 24px, 100%);
    margin-top: clamp(1.5rem, 5vw, 2rem);
    padding: 24px 16px;
    border-radius: 16px;
  }

  .kdc-top a.kdc-news-contact__button,
  a.kdc-news-contact__button {
    width: min(100%, 20rem);
    max-width: 320px;
  }
}

/* =========================================================
   13. Final CTA
========================================================= */

.kdc-final-cta {
  background: linear-gradient(165deg, #0e1a32 0%, #122244 48%, #0c172c 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.25rem);
  box-shadow: inset 0 1px 0 rgba(230, 218, 157, 0.12);
}

.kdc-final-cta .kdc-section__inner {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

.kdc-final-cta__inner {
  width: min(68vw, 1080px);
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.kdc-final-cta__heading {
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.kdc-final-cta__lead {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.25rem);
  max-width: 760px;
  color: #c8ccd2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.95rem, 1.65vw, 1.08rem);
  line-height: 1.8;
}

.kdc-final-cta__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 24px);
  margin-top: 0.25rem;
  text-align: center;
}

.kdc-final-cta__action {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 72px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(230, 218, 157, 0.85);
  border-radius: 8px;
  background-color: #ffffff;
  color: #122244;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-decoration: none;
  text-align: center;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(230, 218, 157, 0.18);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.kdc-final-cta__action:hover {
  background-color: #e6da9d;
  color: #122244;
  border-color: #e6da9d;
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(230, 218, 157, 0.35);
}

.kdc-final-cta__action:focus-visible {
  outline: 2px solid #e6da9d;
  outline-offset: 3px;
}

/* =========================================================
   14. Responsive
========================================================= */

@media (max-width: 1100px) {
  .kdc-fv .kdc-fv__layout,
  .kdc-fv .wp-block-group.kdc-fv__layout {
    width: min(74vw, 980px);
    max-width: 980px;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  /* 未来図・NEWS・Final CTA・follow は据え置き（78vw / 1020） */
  .kdc-future .kdc-section__inner {
    width: min(78vw, 1020px);
    max-width: 1020px;
  }

  .kdc-follow .kdc-section__inner {
    width: min(78vw, 1020px);
    max-width: 1020px;
  }

  .kdc-news .kdc-section__inner {
    width: min(78vw, 1020px);
    max-width: 1020px;
  }

  .kdc-final-cta .kdc-final-cta__inner {
    width: min(78vw, 1020px);
    max-width: 1020px;
  }

  /* STORY は FV に合わせて一段狭める */
  .kdc-story .kdc-section__inner {
    width: min(74vw, 980px);
    max-width: 980px;
  }

  .kdc-story__heading {
    white-space: normal;
    font-size: clamp(1.35rem, 2.9vw, 1.95rem);
  }
}

@media (max-width: 1023px) {
  .kdc-news ul.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 22px);
  }
}

@media (max-width: 767px) {
  .kdc-section {
    padding-block: clamp(2.25rem, 8vw, 3.5rem);
  }

  .kdc-section__inner {
    width: min(100% - 24px, 100%);
  }

  /* デスクトップ幅指定より優先し、FV 直下セクションと共通のスマホ余白に揃える */
  .kdc-story .kdc-section__inner,
  .kdc-future .kdc-section__inner,
  .kdc-news .kdc-section__inner {
    width: min(100% - 24px, 100%);
    max-width: 100%;
  }

  /* kdc-follow：子孫セレクタで確実にマッチ（左右に背景が見える幅） */
  .kdc-follow .kdc-section__inner {
    width: min(100% - 56px, 350px);
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-heading {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .kdc-button {
    width: 100%;
    justify-content: center;
  }

  .kdc-header-brand__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding-block: 0.65rem;
  }

  .kdc-header-brand__spacer {
    display: none;
  }

  .kdc-header-brand__center {
    grid-column: 1;
  }

  .kdc-header-brand__logo {
    max-width: min(280px, 72vw);
    max-height: 52px;
  }

  .kdc-header-brand__links {
    grid-column: 1;
    justify-self: center;
    justify-content: center;
  }

  .kdc-global-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: clamp(0.35rem, 2vw, 0.75rem);
    padding-bottom: 0.15rem;
    min-height: 48px;
  }

  .kdc-global-nav__link {
    min-height: 48px;
    white-space: nowrap;
  }

  .kdc-fv {
    min-height: 0;
    padding-top: clamp(0.65rem, 3vw, 1.3rem);
    padding-bottom: clamp(1rem, 4vw, 1.75rem);
  }

  .kdc-fv .kdc-section__inner,
  .kdc-fv .kdc-fv__inner {
    width: min(100% - 24px, 100%);
  }

  .kdc-fv .kdc-fv__layout,
  .kdc-fv .wp-block-group.kdc-fv__layout {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kdc-future__title-wrap,
  .kdc-future__story,
  .kdc-future__text-block,
  .kdc-future__closing {
    width: 100%;
  }

  .kdc-future__story {
    max-width: 100%;
  }

  .kdc-future__paragraph {
    font-size: 0.96rem;
    line-height: 1.95;
  }

  .kdc-future {
    padding-bottom: 92px;
  }

  .kdc-future__image--wide {
    aspect-ratio: 16 / 9;
    margin: 32px auto 40px;
  }

  .kdc-future__image--town,
  .kdc-future__image--next,
  .kdc-future__image--community {
    aspect-ratio: 16 / 10;
  }

  .kdc-future__story-row,
  .kdc-future__story-row--reverse {
    display: block;
    margin: 44px auto;
  }

  .kdc-future__story-row .kdc-future__text-block,
  .kdc-future__story-row--reverse .kdc-future__text-block {
    max-width: 100%;
  }

  .kdc-future__story-row .kdc-future__image,
  .kdc-future__story-row--reverse .kdc-future__image {
    max-width: 100%;
    margin: 28px 0 0;
  }

  .kdc-future__closing {
    width: 100%;
    max-width: 100%;
    margin-top: 48px;
    padding: 30px 20px 34px;
  }

  .kdc-fv .kdc-fv__side,
  .kdc-fv .wp-block-group.kdc-fv__side {
    flex-direction: column;
  }

  .kdc-fv .kdc-fv__slider img.kdc-fv__slide {
    width: 100%;
    max-width: 100%;
  }

  .kdc-fv figure.kdc-fv__slide img {
    width: 100%;
    max-width: 100%;
  }

  .kdc-fv figure.kdc-fv__banner,
  .kdc-fv figure.kdc-fv__banner img {
    width: 100%;
    max-width: 100%;
  }

  .kdc-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .kdc-main-cta .kdc-buttons .kdc-button {
    width: 100%;
  }

  .kdc-sns .kdc-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .kdc-final-cta .kdc-final-cta__inner {
    width: 100%;
    max-width: 100%;
  }

  .kdc-final-cta .kdc-final-cta__actions {
    grid-template-columns: 1fr;
  }

  .kdc-final-cta .kdc-final-cta__action {
    width: 100%;
  }

  .kdc-news ul.wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   14b. TOP：テーマラッパー一括解除は撤回（コンテンツが広がりすぎるため）。
   背景・色面のみ 100vw（疑似要素）。STORY 壁紙は .kdc-story__bg を 100vw。画像 URL は書かない。
========================================================= */

.kdc-top .kdc-fv,
.kdc-top .kdc-future,
.kdc-top .kdc-follow,
.kdc-top .kdc-contact,
.kdc-top .kdc-final-cta {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.kdc-top .kdc-news {
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* FV 白帯の ::before は壁紙 img と二重にならないようオフ。白床は .kdc-fv の background-color */
.kdc-top .kdc-fv::before {
  content: none;
  display: none;
}

.kdc-top .kdc-fv > .kdc-fv__inner,
.kdc-top .kdc-fv > .kdc-section__inner {
  position: relative;
  z-index: 2;
}

.kdc-top .kdc-future::before,
.kdc-top .kdc-follow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background-color: #f7f7f5;
}

/* NEWS：グレー帯を下に伸ばし、CONTACT直上の follow 風船見え込みを覆う */
.kdc-top .kdc-news::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -80px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background-color: #f7f7f5;
}

/* 未来図：背景画像の上に薄い白〜グリーンの膜（画像は見せる） */
/* PCでは中央コンテンツ部分のみに薄膜を敷くため、全幅薄膜は無効化 */
@media (min-width: 768px) {
  .kdc-top .kdc-future::before,
  .kdc-future::before {
    background: transparent !important;
    background-image: none !important;
  }

  .kdc-future .kdc-section__inner {
    isolation: isolate;
  }

  .kdc-future .kdc-section__inner::before {
    content: "";
    position: absolute;
    inset: clamp(1rem, 2vw, 1.75rem) 0;
    z-index: -1;
    border-radius: 24px;
    pointer-events: none;
    background:
      linear-gradient(
        135deg,
        rgba(247, 248, 242, 0.88) 0%,
        rgba(234, 242, 232, 0.8) 100%
      );
    box-shadow: 0 18px 48px rgba(18, 34, 68, 0.08);
  }
}

/* follow：風船＋薄膜は .kdc-follow__bg / ::after。全幅色帯の疑似要素は使わない（sticky を阻害しない） */
.kdc-top .kdc-follow::before {
  content: none;
  display: none;
}

/* 未来図 TOP：最後面固定背景（HTML は .kdc-future__bg-fixed + img。旧 .kdc-future__bg は PC 用 @media(min-width:768px) で併記済み） */
.kdc-top .kdc-future > .wp-block-html:first-child {
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
  max-width: none;
  width: auto;
  overflow: visible;
}

.kdc-top .kdc-future__bg-fixed {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -100vh;
  pointer-events: none;
  overflow: hidden;
}

.kdc-top .kdc-future__bg-fixed::after {
  content: none;
  display: none;
}

.kdc-top .kdc-future__bg-fixed-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kdc-top .kdc-future > .kdc-section__inner {
  position: relative;
  z-index: 1;
}

.kdc-top .kdc-final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(165deg, #0e1a32 0%, #122244 48%, #0c172c 100%);
  box-shadow: inset 0 1px 0 rgba(230, 218, 157, 0.1);
}

/* =========================================================
   15. TOPページ（.kdc-top あり）：サイドバー非表示・1カラム化
   body 直下にサイドバーがあるため :has(.kdc-top) でページ限定。
   Snow Monkey のマークアップ差がある場合は、TOPページのbodyクラス確認後に調整。
   :has() 非対応ブラウザでは効かない場合あり。
========================================================= */

body:has(.kdc-top) #secondary,
body:has(.kdc-top) .l-sidebar,
body:has(.kdc-top) .c-sidebar,
body:has(.kdc-top) .sidebar,
body:has(.kdc-top) .widget-area,
body:has(.kdc-top) .l-contents__sidebar,
body:has(.kdc-top) .p-sidebar {
  display: none;
}

body:has(.kdc-top) aside.l-sidebar,
body:has(.kdc-top) aside.c-sidebar,
body:has(.kdc-top) aside.sidebar {
  display: none;
}

body:has(.kdc-top) .l-main + .l-sidebar {
  display: none;
}

body:has(.kdc-top) .l-main,
body:has(.kdc-top) .l-contents__main,
body:has(.kdc-top) .c-entry,
body:has(.kdc-top) .p-entry {
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
  min-width: 0;
}

/* 親が display:grid のテーマ向け：サイド列を潰して1カラムに */
body:has(.kdc-top) .l-contents {
  grid-template-columns: minmax(0, 1fr);
}

body:has(.kdc-top) .l-body {
  grid-template-columns: minmax(0, 1fr);
}

/* =========================================================
   16. TOP PC ブラッシュアップ（コントラスト・質感／全幅化ルールは維持）
   ホバー・リフトは pointer デバイスのみ。.kdc-fv__layout は触らない。
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .kdc-fv .kdc-fv__banner.wp-block-image:hover,
  .kdc-fv figure.kdc-fv__banner:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 38px rgba(11, 23, 46, 0.58),
      0 6px 18px rgba(0, 0, 0, 0.18);
  }

  .kdc-fv figure.kdc-fv__banner:hover img {
    filter: contrast(1.08) saturate(1.06);
  }

  .kdc-future__image:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(18, 34, 68, 0.12);
  }

  .kdc-future__image:hover .kdc-future__image-img {
    transform: scale(1.02);
  }

  .kdc-news .kdc-news__card:hover {
    transform: translateY(-2px);
    border-color: rgba(197, 164, 86, 0.35);
    box-shadow: 0 12px 28px rgba(18, 34, 68, 0.1);
  }
}

/* =========================================================
   7c. 未来図：締めコピー下の余白（.kdc-top 付きで上書き）
   白カード下に背景が残るよう、セクション＋ストーリー内側に下余白を確保する。
========================================================= */

.kdc-top .kdc-future {
  padding-bottom: 56px;
}

.kdc-top .kdc-future__story {
  padding-bottom: 16px;
}

.kdc-top .kdc-future__closing {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .kdc-top .kdc-future {
    padding-bottom: 44px;
  }

  .kdc-top .kdc-future__story {
    padding-bottom: 12px;
  }

  .kdc-top .kdc-future__closing {
    margin-bottom: 0;
  }
}

/* =========================================================
   4c. スマホヘッダー圧縮（SPのみ・PCは変更しない）
   ロゴ帯は無理に低くせず、ロゴが切れない 66px を確保。
   ヘッダー全体を低く見せるため、ロゴ上部の白い余白（テーマ .l-header / kdc-header-area の上余白）を削る。
   ロゴの transform(scale 1.44) は維持。
========================================================= */

@media (max-width: 767px) {
  .kdc-top .kdc-header-brand {
    min-height: 66px;
    overflow: visible;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .kdc-top .kdc-header-brand__inner {
    min-height: 66px;
    height: 66px;
    padding-top: 0;
    padding-bottom: 0;
    padding-block: 0;
    align-items: center;
    overflow: visible;
  }

  /* ロゴ上部の白い余白を削る（テーマ側の上余白を !important で上書き） */
  body:has(.kdc-top) .l-header,
  .kdc-top .l-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .kdc-top .l-header__inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .kdc-top .kdc-header-area,
  .kdc-top .kdc-header-area.alignfull {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* ロゴ画像内の上部余白対策：scale は維持、translateY だけ強めて上に寄せる */
  .kdc-top .kdc-header__logo img,
  .kdc-top .kdc-header-brand__logo,
  .kdc-top .kdc-header-brand img {
    transform: scale(1.44) translateY(-18px);
    transform-origin: center center;
  }
}

/* =========================================================
   4d. スマホFV：メインスライドをほぼ全幅に（SPのみ・PCは変更しない）
   テーマ .kdc-section__inner の幅制限を .kdc-top で上書きし、
   .kdc-fv__slider を calc(100vw - 8px) + センター寄せマージンでビューポートに近づける。
   スライド img はフェード用に position:absolute のまま（height:auto にしない）。
   HTML は同一構造（data-kdc-fv-slider + img.kdc-fv__slide×4）。CSSのみ。
========================================================= */

@media (max-width: 767px) {
  .kdc-top .kdc-fv.alignfull,
  .kdc-top .kdc-fv {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .kdc-top .kdc-fv .kdc-section__inner,
  .kdc-top .kdc-fv .kdc-fv__inner {
    width: 100%;
    max-width: none;
    padding-left: 4px;
    padding-right: 4px;
    padding-inline: 4px;
    box-sizing: border-box;
  }

  .kdc-top .kdc-fv .kdc-fv__layout,
  .kdc-top .kdc-fv .wp-block-group.kdc-fv__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
  }

  .kdc-top .kdc-fv .kdc-fv__main,
  .kdc-top .kdc-fv .wp-block-group.kdc-fv__main {
    order: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .kdc-top .kdc-fv .kdc-fv__side,
  .kdc-top .kdc-fv .wp-block-group.kdc-fv__side {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: none;
  }

  .kdc-top .kdc-fv .kdc-fv__media {
    width: 100%;
    max-width: none;
    min-width: 0;
    overflow: visible;
  }

  /* メインスライダー：ビューポート幅に近づける（左右 4px 相当） */
  .kdc-top .kdc-fv .kdc-fv__slider,
  .kdc-top .kdc-fv .wp-block-group.kdc-fv__slider {
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    margin-left: calc(50% - 50vw + 4px);
    margin-right: calc(50% - 50vw + 4px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  /* フェードスライド：PC と同じ積み重ね（opacity は JS/CSS 既存のまま） */
  .kdc-top .kdc-fv .kdc-fv__slider img.kdc-fv__slide,
  .kdc-top .kdc-fv .kdc-fv__slider [data-kdc-fv-slide] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .kdc-top .kdc-fv .kdc-fv__slider > figure.kdc-fv__slide,
  .kdc-top .kdc-fv .wp-block-group.kdc-fv__slider > figure.kdc-fv__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .kdc-top .kdc-fv figure.kdc-fv__slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
  }

  /* サブバナー：内側幅いっぱい（ビューポート突き抜けはしない＝横スクロール防止） */
  .kdc-top .kdc-fv .kdc-fv__side .kdc-fv__banner.wp-block-image,
  .kdc-top .kdc-fv .kdc-fv__side figure.kdc-fv__banner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .kdc-top .kdc-fv .kdc-fv__side figure.kdc-fv__banner img {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
  }
}

/* =========================================================
   5b. スマホSTORY：画像2枚をフルブリード化し、本文を挟んで img2 を下段へ（SPのみ・PCは変更しない）
   .kdc-story__visual / .kdc-story__image-stack を display: contents で透過し、
   .kdc-story__layout の flex 子に img1 / content / img2 を並べ替える。
   画像幅は FV メインスライダーと同じ calc(100vw - 8px) のフルブリード扱い。
========================================================= */

@media (max-width: 767px) {
  .kdc-top .kdc-story__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    max-width: none;
  }

  /* 祖先ボックスを透過して、img1 / img2 / content を flex 子として扱う */
  .kdc-top .kdc-story__visual,
  .kdc-top .kdc-story__image-stack {
    display: contents;
  }

  /* 配置順：img1（この球団が動き出す）→ content → img2（ここから変化が生まれていく）を最下段 */
  .kdc-top .kdc-story__image--primary {
    order: 1;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .kdc-top .kdc-story__content {
    order: 2;
  }

  .kdc-top .kdc-story__image--secondary {
    order: 3;
    margin-top: 16px;
  }

  /* 画像 2 枚をビューポート幅近く（FV メインスライドと同サイズ感）に */
  .kdc-top .kdc-story__image--primary,
  .kdc-top .kdc-story__image--secondary {
    box-sizing: border-box;
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    margin-left: calc(50% - 50vw + 4px);
    margin-right: calc(50% - 50vw + 4px);
    height: auto;
    display: block;
  }

  /* 「このプロジェクトが生み出す価値」3カード：FVメインスライドと同サイズ感のフルブリード縦並び */
  .kdc-top .kdc-story__values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .kdc-top .kdc-story__value {
    box-sizing: border-box;
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    margin-left: calc(50% - 50vw + 4px);
    margin-right: calc(50% - 50vw + 4px);
    padding: 22px 20px;
  }

  .kdc-top .kdc-story__value-text {
    line-height: 1.8;
  }
}

/* =========================================================
   7d. スマホ未来図：4画像 + 締めカードをフルブリード化
   FV メインスライドと同じ calc(100vw - 8px)。filter / 背景 / 余白方針は変更しない。
========================================================= */

@media (max-width: 767px) {
  .kdc-top .kdc-future {
    margin-top: 0;
    padding-top: 0;
  }

  .kdc-top .kdc-future > .kdc-section__inner {
    position: relative;
    z-index: 1;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(11, 26, 43, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .kdc-top .kdc-future__story {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .kdc-top .kdc-future__eyebrow {
    display: block;
    padding-top: 20px;
    padding-bottom: 4px;
    margin-bottom: 12px;
    line-height: 1.35;
  }

  .kdc-top .kdc-future__image-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 14px;
    overflow: hidden;
  }

  .kdc-top .kdc-future__image {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .kdc-top .kdc-future .kdc-future__image--wide,
  .kdc-top .kdc-future .kdc-future__image--town,
  .kdc-top .kdc-future .kdc-future__image--next,
  .kdc-top .kdc-future .kdc-future__image--community {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .kdc-top .kdc-future__closing,
  .kdc-top .kdc-future__closing-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .kdc-top .kdc-future .kdc-future__image--wide .kdc-future__image-img,
  .kdc-top .kdc-future .kdc-future__image--town .kdc-future__image-img,
  .kdc-top .kdc-future .kdc-future__image--next .kdc-future__image-img,
  .kdc-top .kdc-future .kdc-future__image--community .kdc-future__image-img {
    width: 100%;
    max-width: none;
    display: block;
  }

  .kdc-top .kdc-future .kdc-future__image--wide .kdc-future__image-img {
    object-position: center 58%;
  }

  .kdc-top .kdc-future .kdc-future__image--town .kdc-future__image-img {
    object-position: center center;
  }

  .kdc-top .kdc-future .kdc-future__image--next .kdc-future__image-img {
    object-position: center 42%;
  }

  .kdc-top .kdc-future .kdc-future__image--community .kdc-future__image-img {
    object-position: center 45%;
  }

  /* 未来図セクション本文：スマホのみ中央揃え（見出し・サブコピーと揃える） */
  .kdc-top .kdc-future,
  .kdc-top .kdc-future__story,
  .kdc-top .kdc-future__text-block,
  .kdc-top .kdc-future__paragraph,
  .kdc-top .kdc-future__closing {
    text-align: center;
  }

  .kdc-top .kdc-future__story p,
  .kdc-top .kdc-future__text-block p,
  .kdc-top .kdc-future__closing p {
    text-align: center;
  }

  /* 未来図本文：横幅を少し広げ一行の孤児文字を抑える（.kdc-future__story には付けない＝画像フルブリード維持） */
  .kdc-top .kdc-future__text-block {
    width: min(100%, 23.5rem);
    max-width: 23.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-top .kdc-future__paragraph {
    width: 100%;
    max-width: 23.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 未来図本文用：スマホのみ有効な改行（follow リードは .kdc-follow__lead-line に統一） */
.kdc-future__sp-br {
  display: none;
}

@media (max-width: 767px) {
  .kdc-future__sp-br {
    display: block;
  }
}

/* =========================================================
   7e. 未来図：B5ノートPC帯（1024px〜1439px）のみ
   スマホ・大型モニター・1440px以上のPCは変更しない
========================================================= */

@media (min-width: 1024px) and (max-width: 1439px) {
  .kdc-top .kdc-future > .kdc-section__inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .kdc-top .kdc-future__story-row,
  .kdc-top .kdc-future__story-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph {
    line-height: 1.85;
    margin-bottom: 0;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph + .kdc-future__paragraph {
    margin-top: 0;
  }

  .kdc-top .kdc-future__story-row .kdc-future__text-block {
    max-width: 560px;
    margin-left: auto;
    margin-right: 0;
    padding-left: 8px;
    align-self: start;
  }

  .kdc-top .kdc-future__story-row--reverse .kdc-future__text-block {
    margin-left: 0;
    margin-right: auto;
    padding-left: 0;
    padding-right: 8px;
  }

  .kdc-top .kdc-future__story-row .kdc-future__image,
  .kdc-top .kdc-future__story-row--reverse .kdc-future__image {
    max-width: 600px;
    width: 100%;
    align-self: start;
  }

  .kdc-top .kdc-future__story-row .kdc-future__image {
    margin-left: 0;
    margin-right: auto;
    justify-self: auto;
  }

  .kdc-top .kdc-future__story-row--reverse .kdc-future__image {
    margin-left: auto;
    margin-right: 0;
    justify-self: auto;
  }

  .kdc-top .kdc-future__paragraph:first-child {
    margin-top: 0;
  }

  .kdc-top .kdc-future__closing,
  .kdc-top .kdc-future__closing-card {
    width: min(100%, 860px);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   8. kdc-recruit：監督・コーチ・選手募集
   STORYと未来図の間に置く、球団づくり参加者への入口
========================================================= */

.kdc-recruit {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 189, 98, 0.24) 0%, rgba(216, 189, 98, 0) 34%),
    linear-gradient(135deg, #071a35 0%, #10284d 52%, #071326 100%);
  color: #ffffff;
}

.kdc-recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(7, 19, 38, 0.08) 0%, rgba(7, 19, 38, 0.38) 100%);
  pointer-events: none;
}

.kdc-recruit__inner {
  position: relative;
  z-index: 1;
  width: min(64vw, 1020px);
  max-width: 1020px;
  margin-inline: auto;
  padding-top: clamp(40px, 4vw, 64px);
  padding-bottom: clamp(44px, 4.2vw, 68px);
}

.kdc-recruit__header {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.kdc-recruit__eyebrow {
  margin: 0 0 18px;
  color: #d8bd62;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  letter-spacing: 0.16em;
  line-height: 1;
}

.kdc-recruit__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.kdc-recruit__title span {
  display: inline-block;
}

.kdc-recruit__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0;
  padding: 8px 18px;
  border: 1px solid rgba(216, 189, 98, 0.72);
  border-radius: 999px;
  color: #f5dc7a;
  font-size: clamp(0.94rem, 1.2vw, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kdc-recruit__lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.9;
  text-align: left;
}

.kdc-recruit__lead p {
  margin: 0 0 0.72em;
}

.kdc-recruit__lead p:last-child {
  margin-bottom: 0;
}

.kdc-recruit__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 100%;
  margin: 0 auto;
}

.kdc-recruit__card {
  position: relative;
  min-height: 280px;
  padding: 30px 28px 32px;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 98, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: #10213d;
  box-shadow: 0 22px 48px rgba(7, 19, 38, 0.24);
}

.kdc-recruit__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  background: linear-gradient(90deg, #d8bd62 0%, #f5dc7a 100%);
  border-radius: 0 0 999px 999px;
}

.kdc-recruit__number {
  margin: 0 0 24px;
  color: rgba(16, 33, 61, 0.12);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4.2rem, 6vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  transform: scaleX(1.08);
}

.kdc-recruit__card-title {
  margin: 0 0 8px;
  color: #10213d;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.3;
  font-weight: 800;
}

.kdc-recruit__card-lead {
  margin: 0 0 16px;
  color: #c9a94d;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kdc-recruit__card-text {
  margin: 0;
  color: rgba(16, 33, 61, 0.78);
  font-size: 0.96rem;
  line-height: 1.85;
}

.kdc-recruit__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.kdc-recruit__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid rgba(245, 220, 122, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5dc7a;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.kdc-recruit__button::after {
  content: "›";
  margin-left: 10px;
  font-size: 1.25em;
  line-height: 1;
}

.kdc-recruit__button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1100px) {
  .kdc-recruit__inner {
    width: min(74vw, 980px);
    max-width: 980px;
  }
}

@media (max-width: 1023px) {
  .kdc-recruit__cards {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .kdc-recruit__card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .kdc-recruit__inner {
    width: min(100% - 24px, 100%);
    max-width: 100%;
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .kdc-recruit__header {
    margin-bottom: 28px;
    text-align: center;
  }

  .kdc-recruit__title span {
    display: block;
  }

  .kdc-recruit__lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  .kdc-recruit__lead p {
    margin-bottom: 0.68em;
  }

  .kdc-recruit__cards {
    max-width: 100%;
    gap: 16px;
  }

  .kdc-recruit__card {
    padding: 26px 24px 28px;
    border-radius: 18px;
  }

  .kdc-recruit__number {
    margin-bottom: 18px;
    font-size: clamp(4rem, 20vw, 5.8rem);
  }

  .kdc-recruit__card-title {
    font-size: clamp(1.36rem, 6vw, 1.68rem);
  }

  .kdc-recruit__actions {
    margin-top: 30px;
  }

  .kdc-recruit__button {
    width: 100%;
    max-width: 320px;
  }
}

/* kdc-recruit：セクション外周の上下余白調整 */
.kdc-top .kdc-recruit {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.kdc-top .kdc-recruit__inner {
  padding-top: 36px;
  padding-bottom: 38px;
}

.kdc-top .kdc-recruit__header {
  margin-bottom: 24px;
}

.kdc-top .kdc-recruit__actions {
  margin-top: 26px;
}

@media (max-width: 767px) {
  .kdc-top .kdc-recruit__inner {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .kdc-top .kdc-recruit__header {
    margin-bottom: 22px;
  }

  .kdc-top .kdc-recruit__actions {
    margin-top: 22px;
  }
}

/* =========================================================
   8c. kdc-recruit fixed background
   監督・コーチ・選手募集：最後面固定背景
========================================================= */

.kdc-top .kdc-recruit {
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.kdc-top .kdc-recruit::before {
  content: none;
  display: none;
}

.kdc-top .kdc-recruit__bg {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -100vh;
  overflow: hidden;
  pointer-events: none;
}

.kdc-top .kdc-recruit__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(0.95);
}

.kdc-top .kdc-recruit__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.78) 0%, rgba(16, 40, 77, 0.76) 52%, rgba(7, 19, 38, 0.82) 100%),
    radial-gradient(circle at 14% 18%, rgba(216, 189, 98, 0.26) 0%, rgba(216, 189, 98, 0) 34%);
}

.kdc-top .kdc-recruit__inner {
  position: relative;
  z-index: 2;
}

/* 未来図：画像と締めカードの角丸をやや控えめに */
.kdc-top .kdc-future__image,
.kdc-top .kdc-future__image-img,
.kdc-top .kdc-future__image-wrap {
  border-radius: 10px;
}

.kdc-top .kdc-future__closing,
.kdc-top .kdc-future__closing-card {
  border-radius: 12px;
}

@media (max-width: 767px) {
  .kdc-top .kdc-future__image,
  .kdc-top .kdc-future__image-img,
  .kdc-top .kdc-future__image-wrap {
    border-radius: 8px;
  }

  .kdc-top .kdc-future__closing,
  .kdc-top .kdc-future__closing-card {
    border-radius: 10px;
  }
}

/* =========================================================
   9. kdc-contact：お問い合わせ・エントリー（§12b Contact / Entry 準拠）
========================================================= */

/* TEMP CHECK: kdc-contact 原因切り分け用。一時非表示。確認後に削除する */
.kdc-contact {
  display: none;
}

.kdc-contact {
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 1;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: clamp(96px, 9vw, 140px);
  padding-bottom: clamp(96px, 9vw, 140px);
  box-sizing: border-box;
  color: #122244;
  background: transparent;
}

.kdc-contact::before,
.kdc-contact::after {
  content: none;
  display: none;
}

/* 球場画像：背景専用レイヤー（follow / recruit 同型） */
.kdc-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  pointer-events: none;
}

.kdc-contact__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kdc-contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

/* 前面半透明グレーカード（header / lead / CTA を包含） */
.kdc-contact__inner {
  position: relative;
  z-index: 2;
  width: min(64vw, 1020px);
  max-width: 1020px;
  margin-inline: auto;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid rgba(186, 188, 190, 0.42);
  border-radius: 28px;
  background: rgba(247, 248, 242, 0.86);
  box-shadow: 0 24px 70px rgba(12, 22, 40, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.kdc-contact__header {
  max-width: 820px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
}

.kdc-contact__eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  color: #c8ae4e;
}

.kdc-contact__title {
  margin: 0 0 1rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #122244;
}

.kdc-contact__title span {
  display: inline-block;
}

.kdc-contact__lead {
  max-width: 46rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  font-weight: 500;
  line-height: 1.9;
  color: rgba(18, 34, 68, 0.78);
  text-align: center;
}

.kdc-contact__lead p {
  margin: 0;
}

.kdc-contact__actions {
  display: flex;
  justify-content: center;
  margin: clamp(1.25rem, 2.5vw, 1.75rem) auto 0;
}

.kdc-top a.kdc-contact__cta,
a.kdc-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22rem);
  min-height: 3.15rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(230, 218, 157, 0.74);
  border-radius: 999px;
  background: #122244;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(18, 34, 68, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kdc-top a.kdc-contact__cta:hover,
a.kdc-contact__cta:hover {
  transform: translateY(-1px);
  background: #08101f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(18, 34, 68, 0.26);
}

/* 仮フォーム（HTML 残置・非表示） */
.kdc-contact .kdc-contact__panel,
.kdc-top .kdc-contact .kdc-contact__panel,
section.kdc-contact > .kdc-contact__inner > .kdc-contact__panel {
  display: none;
}

.kdc-contact__panel {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(186, 188, 190, 0.42);
  border-radius: 22px;
  background: rgba(247, 248, 242, 0.78);
  box-shadow: 0 22px 58px rgba(12, 22, 40, 0.14);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.kdc-contact__form-note {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(16, 33, 61, 0.12);
}

.kdc-contact__form-title {
  margin: 0 0 8px;
  color: #10213d;
  font-size: 1.12rem;
  font-weight: 800;
}

.kdc-contact__form-text {
  margin: 0;
  color: rgba(16, 33, 61, 0.66);
  font-size: 0.92rem;
  line-height: 1.75;
}

.kdc-contact__form {
  display: grid;
  gap: 20px;
}

.kdc-contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kdc-contact__field {
  display: grid;
  gap: 8px;
}

.kdc-contact__field label {
  color: #10213d;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kdc-contact__field label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #10213d;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.3;
}

.kdc-contact__field input,
.kdc-contact__field select,
.kdc-contact__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(16, 33, 61, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #10213d;
  font-size: 1rem;
  line-height: 1.5;
  padding: 13px 14px;
}

.kdc-contact__field textarea {
  resize: vertical;
}

.kdc-contact__field input:focus,
.kdc-contact__field select:focus,
.kdc-contact__field textarea:focus {
  outline: 2px solid rgba(201, 169, 77, 0.42);
  border-color: rgba(201, 169, 77, 0.72);
}

.kdc-contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.kdc-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #071a35 0%, #10284d 100%);
  color: #f5dc7a;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.kdc-contact__button::after {
  content: "›";
  margin-left: 10px;
  font-size: 1.25em;
  line-height: 1;
}

@media (max-width: 1100px) {
  .kdc-contact__inner {
    width: min(74vw, 980px);
    max-width: 980px;
  }
}

@media (max-width: 767px) {
  .kdc-contact__bg-img {
    object-position: center top;
  }

  .kdc-contact__inner {
    width: min(100% - 24px, 100%);
    max-width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: clamp(1.75rem, 5vw, 2.25rem) 12px clamp(2rem, 6vw, 2.75rem);
    border-radius: 18px;
  }

  .kdc-contact__header {
    margin-bottom: 1.35rem;
  }

  .kdc-contact__title span {
    display: block;
  }

  .kdc-contact__lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: center;
  }

  .kdc-contact__actions {
    margin-top: 1.25rem;
    padding-inline: 12px;
  }

  .kdc-top a.kdc-contact__cta,
  a.kdc-contact__cta {
    width: min(100%, 20rem);
    max-width: 320px;
  }

  .kdc-contact__panel {
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(247, 248, 242, 0.84);
  }

  .kdc-contact__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kdc-contact__field input,
  .kdc-contact__field select,
  .kdc-contact__field textarea {
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .kdc-contact__button {
    width: 100%;
    max-width: 320px;
  }
}

/* 未来図：冒頭本文のみ（幅・左揃え） */
@media (min-width: 768px) {
  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph {
    text-align: left;
    line-height: 1.9;
    margin-bottom: 1.15em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph {
    text-align: left;
    line-height: 1.85;
    margin-bottom: 1em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph:last-child {
    margin-bottom: 0;
  }
}

/* 未来図：スマホ本文の読み幅と自然改行調整 */
@media (max-width: 767px) {
  .kdc-top .kdc-future__text-block,
  .kdc-top .kdc-future__closing {
    max-width: 21.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-top .kdc-future__paragraph,
  .kdc-top .kdc-future__text-block p,
  .kdc-top .kdc-future__closing p {
    max-width: 21.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    line-height: 1.85;
    letter-spacing: 0.01em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
    text-wrap: pretty;
  }

  .kdc-top .kdc-future__paragraph + .kdc-future__paragraph,
  .kdc-top .kdc-future__text-block p + p,
  .kdc-top .kdc-future__closing p + p {
    margin-top: 0.85em;
  }
}

/* 未来図：冒頭5段落のスマホ行組み */
.kdc-top .kdc-future__paragraph--intro .kdc-future__intro-line {
  display: inline;
}

@media (max-width: 767px) {
  .kdc-top .kdc-future__story > .kdc-future__text-block:first-child {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .kdc-top .kdc-future__paragraph--intro {
    max-width: 20.5rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.9;
    letter-spacing: 0.01em;
  }

  .kdc-top .kdc-future__paragraph--intro + .kdc-future__paragraph--intro {
    margin-top: 1.05em;
  }

  .kdc-top .kdc-future__paragraph--intro .kdc-future__intro-line {
    display: block;
  }
}

/* 未来図：スマホ本文読み幅・中央揃え（確定・後勝ち。白BOXの幅・背景・paddingは変更しない） */
@media (max-width: 767px) {
  /* 4326–4370「冒頭左揃え」・4372–4401「読み幅 left」より詳細度を上げる */
  .kdc-top .kdc-future .kdc-future__story > .kdc-future__text-block:first-child,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row .kdc-future__text-block,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row--reverse .kdc-future__text-block,
  .kdc-top .kdc-future .kdc-future__closing {
    max-width: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .kdc-top .kdc-future .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story > .kdc-future__text-block:first-child .kdc-future__paragraph--intro,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__text-block .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__closing p {
    max-width: 19.5rem;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.85;
    letter-spacing: 0.01em;
  }

  .kdc-top .kdc-future .kdc-future__paragraph--intro .kdc-future__intro-line {
    display: block;
  }
}

/* 未来図：スマホ本文（story-row・締めカード内 p のみ。冒頭 --intro は上記ブロックを維持） */
@media (max-width: 767px) {
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row--reverse .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story-row .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story-row--reverse .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row .kdc-future__text-block > p,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row--reverse .kdc-future__text-block > p,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__closing > p,
  .kdc-top .kdc-future .kdc-future__closing > p {
    box-sizing: border-box;
    max-width: 19.5rem;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.85;
    letter-spacing: 0.01em;
  }

  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row .kdc-future__text-block,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row--reverse .kdc-future__text-block {
    text-align: center;
  }
}

/* 未来図：下パート本文の意味単位改行（body-line。intro-line は既存ブロックを維持） */
@media (min-width: 768px) {
  .kdc-top .kdc-future .kdc-future__body-line {
    display: inline;
  }
}

@media (max-width: 767px) {
  .kdc-top .kdc-future .kdc-future__body-line {
    display: block;
  }
}

/* 未来図：スマホ下部本文の読み幅 17.5rem（story-row・締めのみ。冒頭 --intro は対象外） */
@media (max-width: 767px) {
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__story-row--reverse .kdc-future__text-block > .kdc-future__paragraph,
  .kdc-top .kdc-future .kdc-future__story .kdc-future__closing > p,
  .kdc-top .kdc-future .kdc-future__closing > p {
    max-width: 17.5rem;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* =========================================================
   10. Contact Entry page (/contact-entry/)
   TOP の .kdc-contact とは別命名（.kdc-contact-page）
========================================================= */

.kdc-contact-page,
.kdc-contact-page *,
.kdc-contact-page *::before,
.kdc-contact-page *::after {
  box-sizing: border-box;
}

.kdc-contact-page {
  font-family: "Noto Sans JP", sans-serif;
  color: #10213d;
  line-height: 1.6;
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 189, 98, 0.18) 0%, rgba(216, 189, 98, 0) 34%),
    linear-gradient(135deg, #f7f8fb 0%, #eef2f7 52%, #e8edf4 100%);
}

.kdc-contact-page__hero {
  background: linear-gradient(135deg, #071a35 0%, #10284d 52%, #071326 100%);
  color: #ffffff;
  padding: clamp(40px, 8vw, 64px) clamp(16px, 4vw, 24px);
}

.kdc-contact-page__hero-inner {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  text-align: center;
}

.kdc-contact-page__eyebrow {
  margin: 0 0 14px;
  color: #d8bd62;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  letter-spacing: 0.16em;
  line-height: 1;
}

.kdc-contact-page__title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.kdc-contact-page__lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.85;
}

.kdc-contact-page__body {
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 24px) clamp(48px, 7vw, 72px);
}

.kdc-contact-page__inner {
  width: min(100% - 8px, 860px);
  margin-inline: auto;
}

.kdc-contact-page__notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 3px solid #c9a94d;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 10px 10px 0;
  color: rgba(16, 33, 61, 0.82);
  font-size: 0.94rem;
  line-height: 1.8;
}

.kdc-contact-page__form-area {
  margin-top: 8px;
}

.kdc-contact-page__form-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(201, 169, 77, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(11, 26, 43, 0.1);
}

.kdc-contact-page__form {
  display: grid;
  gap: 20px;
}

.kdc-contact-page__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kdc-contact-page__field {
  display: grid;
  gap: 8px;
}

.kdc-contact-page__field label {
  color: #10213d;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kdc-contact-page__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #10213d;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
}

.kdc-contact-page__field input,
.kdc-contact-page__field select,
.kdc-contact-page__field textarea {
  width: 100%;
  border: 1px solid rgba(16, 33, 61, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #10213d;
  font-size: 1rem;
  line-height: 1.5;
  padding: 13px 14px;
}

.kdc-contact-page__field textarea {
  resize: vertical;
  min-height: 140px;
}

.kdc-contact-page__field input:focus,
.kdc-contact-page__field select:focus,
.kdc-contact-page__field textarea:focus {
  outline: 2px solid rgba(201, 169, 77, 0.42);
  border-color: rgba(201, 169, 77, 0.72);
}

.kdc-contact-page__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.kdc-contact-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #071a35 0%, #10284d 100%);
  color: #f5dc7a;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.kdc-contact-page__button::after {
  content: "›";
  margin-left: 10px;
  font-size: 1.25em;
  line-height: 1;
}

@media (max-width: 767px) {
  .kdc-contact-page__hero-inner,
  .kdc-contact-page__inner {
    text-align: center;
  }

  .kdc-contact-page__notice {
    text-align: left;
  }

  .kdc-contact-page__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kdc-contact-page__form-panel {
    padding: 22px 16px 24px;
    border-radius: 18px;
  }

  .kdc-contact-page__button {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   11. Thanks page (/thanks/)
========================================================= */

.kdc-thanks-page,
.kdc-thanks-page *,
.kdc-thanks-page *::before,
.kdc-thanks-page *::after {
  box-sizing: border-box;
}

.kdc-thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vw, 88px) clamp(16px, 4vw, 24px);
  font-family: "Noto Sans JP", sans-serif;
  color: #10213d;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 189, 98, 0.2) 0%, rgba(216, 189, 98, 0) 34%),
    linear-gradient(135deg, #f7f8fb 0%, #eef2f7 52%, #e8edf4 100%);
}

.kdc-thanks-page__inner {
  width: min(100%, 640px);
  margin-inline: auto;
  padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
  border: 1px solid rgba(201, 169, 77, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(11, 26, 43, 0.1);
  text-align: center;
}

.kdc-thanks-page__eyebrow {
  margin: 0 0 14px;
  color: #c9a94d;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  letter-spacing: 0.16em;
  line-height: 1;
}

.kdc-thanks-page__title {
  margin: 0;
  font-size: clamp(1.6rem, 4.8vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
  color: #10213d;
}

.kdc-thanks-page__message {
  margin: 20px 0 0;
  color: rgba(16, 33, 61, 0.86);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.85;
}

.kdc-thanks-page__submessage {
  margin: 14px 0 0;
  color: rgba(16, 33, 61, 0.68);
  font-size: 0.92rem;
  line-height: 1.8;
}

.kdc-thanks-page__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.kdc-thanks-page__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #071a35 0%, #10284d 100%);
  color: #f5dc7a;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.kdc-thanks-page__back::after {
  content: "›";
  margin-left: 10px;
  font-size: 1.25em;
  line-height: 1;
}

.kdc-thanks-page__back:hover {
  color: #f5dc7a;
  filter: brightness(1.06);
}

@media (max-width: 767px) {
  .kdc-thanks-page__back {
    width: 100%;
    max-width: 280px;
  }
}
/* TOPのみ：Snow Monkey標準ヘッダーを非表示 */
body:has(.kdc-top) .l-header {
  display: none !important;
}
/* TOPのみ：テーマ側の上余白を削除 */
body:has(.kdc-top) .l-contents,
body:has(.kdc-top) .l-contents__inner,
body:has(.kdc-top) .l-main,
body:has(.kdc-top) .c-entry,
body:has(.kdc-top) .c-entry__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* TOPのみ：Snow Monkey本文エリア上部の残余白を削除 */
body:has(.kdc-top) .l-contents__container,
body:has(.kdc-top) .l-contents__body,
body:has(.kdc-top) .l-container,
body:has(.kdc-top) .l-main__body,
body:has(.kdc-top) .p-entry-content,
body:has(.kdc-top) .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* TOP本文ルート自体も上余白を消す */
body:has(.kdc-top) .kdc-top {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* TOPのみ：kdc独自ヘッダー上の余白を詰める */
body:has(.kdc-top) .kdc-top {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.kdc-top) .kdc-header-area {
  margin-top: -72px !important;
}
/* =========================================================
   17. 投稿詳細（NEWS記事）のみ — 公式NEWSとして読みやすく
   対象: body.single.single-post のみ
========================================================= */

/* サイドバー非表示 */
body.single.single-post .l-contents__sidebar,
body.single.single-post #secondary,
body.single.single-post .l-sidebar-widget-area {
  display: none !important;
}

/* 1カラム＋中央寄せ */
body.single.single-post .l-contents,
body.single.single-post .l-contents__inner {
  grid-template-columns: minmax(0, 1fr);
}

body.single.single-post .l-contents__main {
  width: 100%;
  max-width: min(100%, 760px);
  margin-inline: auto;
}

/* 投稿者非表示 */
body.single.single-post .c-meta__item--author,
body.single.single-post .c-page-header__meta .c-meta__item--author,
body.single.single-post .wp-profile-box {
  display: none !important;
}

/* アイキャッチ高さ抑制 */
body.single.single-post .c-page-header__bgimage img,
body.single.single-post .c-eyecatch img {
  width: 100%;
  max-height: min(42vh, 420px);
  object-fit: cover;
  object-position: center center;
}

/* 本文上アイキャッチの余白 */
body.single.single-post .c-eyecatch {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* タイトル・日付・本文余白 */
body.single.single-post .c-entry__title {
  margin-bottom: 0.75rem;
}

body.single.single-post .c-entry__meta {
  margin-bottom: 1.25rem;
}

body.single.single-post .c-entry__content {
  line-height: 1.85;
}
/* =========================================================
   18. 投稿詳細ページ：プレスリリース表示の再調整
   対象: 標準投稿 single-post のみ
========================================================= */

/* 投稿詳細のテーマ標準ヘッダー名「金沢ドラゴンクロス」を非表示 */
body.single.single-post .l-header {
  display: none !important;
}

/* 投稿詳細の大きすぎるページヘッダー領域を通常コンテンツ化 */
body.single.single-post .c-page-header {
  max-width: 760px !important;
  margin: 0 auto 1.5rem !important;
  padding: 0 1rem !important;
  background: transparent !important;
}

/* ページヘッダー背景扱いのアイキャッチを、本文幅に合わせる */
body.single.single-post .c-page-header__bgimage {
  position: static !important;
  width: 100% !important;
  max-width: 760px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

/* 画像そのものも本文幅に合わせる */
body.single.single-post .c-page-header__bgimage img,
body.single.single-post .c-eyecatch img,
body.single.single-post .wp-post-image {
  display: block !important;
  width: 100% !important;
  max-width: 760px !important;
  height: auto !important;
  max-height: 420px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* ページヘッダー内の余計な高さ・重ね表示を解除 */
body.single.single-post .c-page-header__content,
body.single.single-post .c-page-header__title,
body.single.single-post .c-page-header__meta {
  position: static !important;
  transform: none !important;
  min-height: 0 !important;
}

/* パンくずを中央揃え */
body.single.single-post .c-breadcrumbs,
body.single.single-post .p-breadcrumbs,
body.single.single-post .l-breadcrumbs {
  text-align: center !important;
  justify-content: center !important;
  margin: 1.25rem auto 2rem !important;
  padding-inline: 1rem !important;
}

/* パンくず内リストも中央寄せ */
body.single.single-post .c-breadcrumbs ol,
body.single.single-post .c-breadcrumbs ul,
body.single.single-post .p-breadcrumbs ol,
body.single.single-post .p-breadcrumbs ul {
  justify-content: center !important;
}

/* 投稿本文エリアを画像と同じ幅に統一 */
body.single.single-post .l-contents__main,
body.single.single-post .c-entry,
body.single.single-post .c-entry__body,
body.single.single-post .c-entry__content {
  max-width: 760px !important;
  margin-inline: auto !important;
}

/* 投稿タイトルも本文幅内で整える */
body.single.single-post .c-entry__header {
  max-width: 760px !important;
  margin: 0 auto 1.5rem !important;
  padding-inline: 1rem !important;
}

/* サイドバーは引き続き非表示 */
body.single.single-post .l-contents__sidebar,
body.single.single-post #secondary,
body.single.single-post .l-sidebar-widget-area {
  display: none !important;
}