/*
Theme Name: X-T9 Naoko
Template: x-t9
Description: いわさきなおこさんサイト用子テーマ（B案・虹色あしらい）
Version: 2.1
*/

/* =============================================
   CSS変数定義（B案・虹色あしらい）
   ============================================= */
html {
  scroll-behavior: smooth;
}
:root {
  /* ブランドカラー */
  --color-white: #ffffff;
  --color-offwhite: #f6f3ee;
  --color-gold: #c1ab05;
  --color-gold-dark: #8a7a04;
  --color-gold-light: #e0d580;
  --color-gold-line: #c1ab05;
  --color-purple: #9b72b0;
  --color-text: #2b2b2b;
  --color-text-sub: #888888;
  --color-border: #e5e5e5;

  /* 虹色グラデーション */
  --rainbow: linear-gradient(
    90deg,
    #ff9fc0 0%,
    #ffb98a 20%,
    #ffe68a 40%,
    #93dfa9 60%,
    #8ccdf5 80%,
    #c39bf0 100%
  );

  /* フォント（2種類に統一） */
  --font-heading: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  --font-body: "Noto Sans JP", "游ゴシック", "Yu Gothic", sans-serif;

  /* スペーシング */
  --max-width: 1200px;
  --section-gap: 80px;
  --padding-side: clamp(24px, 4vw, 40px);
  --gap-content: clamp(24px, 5vw, 60px); /* 横並びセクション内のgap */

  /* フォントサイズスケール（基準: 本文16px） */
  --text-xs: max(0.8125rem, 12px); /* PC 13px / SP最小 12px */
  --text-sm: max(0.875rem, 13px); /* PC 14px / SP最小 13px */
  --text-base: max(1rem, 14px); /* PC 16px / SP最小 14px */
  --text-lg: max(1.125rem, 16px); /* PC 18px / SP最小 16px */
  --text-xl: max(1.25rem, 18px); /* PC 20px / SP最小 18px */
  --heading-sm: max(1.5rem, 24px); /* PC 24px / SP最小 24px */
  --heading-md: clamp(28px, 2.5vw, 1.75rem); /* PC 28px / SP最小 28px */
  --heading-lg: clamp(28px, 1rem + 2vw, 2.375rem); /* PC 38px / SP最小 28px */
}

/* =============================================
   共通セクションクラス
   ============================================= */
.section {
  padding: 100px 0;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}
/* 共通ページネーション */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.2s;
}
@media (hover: hover) {
  .pagination a:hover {
    border-color: var(--color-purple);
  }
}
.pagination .current {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}

.bg-white {
  background: var(--color-white);
}
.bg-offwhite {
  background: var(--color-offwhite);
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

/* =============================================
   ベーススタイル
   ============================================= */
body {
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* =============================================
   共通コンポーネント
   ============================================= */
/* テキストリンク（ゴールド下線・ホバーでゴールド文字） */
.link-gold {
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
@media (hover: hover) {
  .link-gold:hover {
    color: var(--color-gold-dark);
  }
}

/* レインボーボーダーボタン */
.btn-rainbow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 42px;
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  background: var(--color-white);
  border: 2px solid transparent;
  border-image: var(--rainbow) 1;
  border-radius: 0;
  transition: opacity 0.25s ease;
}
@media (hover: hover) {
  .btn-rainbow:hover {
    color: rgba(43, 43, 43, 0.6);
  }
}

/* =============================================
   見出し（明朝体）
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

/* =============================================
   ヘッダー（白＋虹色ライン）
   ============================================= */
.wp-block-template-part header,
header.wp-block-template-part,
header.site-header,
.site-header {
  background: var(--color-white) !important;
  border-bottom: none !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.wp-block-template-part header::after,
header.wp-block-template-part::after,
header.site-header::after,
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
}

/* ヘッダー：サイドpadding統一 */
header .wp-block-group.alignfull {
  padding-left: var(--padding-side) !important;
  padding-right: var(--padding-side) !important;
}

/* フッター：サイドpadding統一 */
.footer-main {
  padding-left: var(--padding-side) !important;
  padding-right: var(--padding-side) !important;
}

/* ヘッダー：ロゴ画像 */
.header-logo-link {
  display: block;
  text-decoration: none;
}
.header-logo-img {
  height: auto;
  width: 200px;
  display: block;
}

/* ヘッダー：肩書き */
.header-site-tagline {
  font-family: var(--font-body);
  margin: 0 !important;
  padding-left: 6px;
}

/* ヘッダー右側：ナビ＋ボタンの上下中央揃え */
.header-contact-btn {
  margin: 0 !important;
}
.header-contact-btn .wp-block-buttons {
  align-items: center;
}

/* ヘッダー：お問い合わせボタン（パープル背景） */
.header-contact-btn .wp-block-button__link {
  background: #7d5a94 !important;
  color: var(--color-white) !important;
  border: 1px solid #7d5a94 !important;
  border-radius: 0 !important;
  padding: 16px 24px !important;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media (hover: hover) {
  .header-contact-btn .wp-block-button__link:hover {
    background: transparent !important;
    color: #7d5a94 !important;
  }
}

/* ドロワー内お問い合わせボタン（PC非表示） */
.drawer-contact-btn {
  display: none;
}
@media (max-width: 1200px) {
  .drawer-contact-btn {
    display: block;
    margin-top: 24px;
    margin-right: auto !important;
    align-self: flex-start !important;
  }
  .drawer-contact-btn .wp-block-button__link {
    background: #7d5a94 !important;
    color: var(--color-white) !important;
    border: 1px solid #7d5a94 !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
    font-size: var(--text-sm);
    letter-spacing: 0.15em;
    text-decoration: none;
    display: inline-block;
  }
}
@media (max-width: 1200px) and (hover: hover) {
  .drawer-contact-btn .wp-block-button__link:hover {
    background: transparent !important;
    color: #7d5a94 !important;
  }
}

/* ナビリンク */
.wp-block-navigation a,
.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--color-text) !important;
  transition: color 0.2s;
  position: relative;
  text-decoration: none !important;
}

/* ナビホバー：レインボー下線 */
.wp-block-navigation a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.wp-block-navigation .current-menu-item > a::after {
  transform: scaleX(1);
}
@media (hover: hover) {
  .wp-block-navigation a:hover::after {
    transform: scaleX(1);
  }
}
@media (hover: hover) {
  .wp-block-navigation a:hover {
    color: var(--color-text) !important;
  }
}

/* =============================================
   ヘッダー：1200px以上で通常ナビ表示
   ============================================= */
@media (min-width: 1201px) {
  .header-nav .wp-block-navigation__responsive-container-open,
  .header-nav .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  .header-nav .wp-block-navigation__responsive-container {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-nav .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center;
  }
}

/* ヘッダー：1200px以下でドロワーpadding＋ボタンをドロワー内に表示 */
@media (max-width: 1200px) {
  .wp-block-navigation__responsive-container-content {
    padding: 84px 40px !important;
  }
  .header-contact-btn {
    display: none !important;
  }
  header .wp-block-group.alignfull > .wp-block-group:last-child {
    margin-left: auto !important;
    gap: 0 !important;
  }
  .header-nav .wp-block-navigation__responsive-container-open {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #666666 !important;
  }
  .header-nav .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }
  .header-nav .wp-block-navigation__responsive-container-open {
    width: 30px;
    height: 18px;
    position: relative;
  }
  .header-nav .wp-block-navigation__responsive-container-open::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #666666;
    box-shadow:
      0 8px 0 #666666,
      0 16px 0 #666666;
  }
  .wp-block-navigation__responsive-container-close {
    position: absolute !important;
    top: 34px !important;
    right: var(--padding-side) !important;
    left: auto !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 30px !important;
    height: 18px !important;
  }
  .wp-block-navigation__responsive-container-close svg {
    display: none !important;
  }
  .wp-block-navigation__responsive-container-close::before,
  .wp-block-navigation__responsive-container-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #666666;
  }
  .wp-block-navigation__responsive-container-close::before {
    transform: rotate(45deg);
  }
  .wp-block-navigation__responsive-container-close::after {
    transform: rotate(-45deg);
  }
}

/* =============================================
   ボタン（ゴールド塗りつぶし・白テキスト）
   ============================================= */
.wp-block-button__link,
.wp-element-button {
  background: var(--color-text) !important;
  color: var(--color-white) !important;
  border: 1px solid var(--color-text) !important;
  border-radius: 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  padding: 12px 36px !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .wp-block-button__link:hover,
  .wp-element-button:hover {
    background: transparent !important;
    color: var(--color-text) !important;
  }
}

/* =============================================
   虹色セパレーター
   ============================================= */
.wp-block-separator,
hr {
  border: none !important;
  height: 2px !important;
  background: var(--rainbow) !important;
  margin: 2rem auto !important;
}

/* =============================================
   セクションタイトル
   ============================================= */
.wp-block-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* =============================================
   カード（ゴールドボーダー・ホバー効果）
   ============================================= */
.wp-block-post,
.wp-block-column,
article.type-post {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

@media (hover: hover) {
  .wp-block-post:hover,
  article.type-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15);
  }
}

/* =============================================
   フッター
   ============================================= */
.wp-block-template-part footer,
footer.site-footer,
.site-footer {
  background: var(--color-offwhite) !important;
  border-top: none !important;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--color-text-sub) !important;
}
.wp-block-template-part footer::before,
footer.site-footer::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
}

/* =============================================
   リンク
   ============================================= */
a {
  color: var(--color-text);
  transition: color 0.2s;
}

@media (hover: hover) {
  a:hover {
    color: var(--color-gold-dark);
  }
}

/* =============================================
   背景色（サブセクション）
   ============================================= */
.has-background,
.wp-block-cover {
  --wp--preset--color--background: var(--color-offwhite);
}

/* =============================================
   サイト全体余白
   ============================================= */
.wp-site-blocks {
  background: var(--color-white);
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

/* =============================================
   FV（ファーストビュー）— B案③ 円形写真＋虹色リング
   ============================================= */

.fv-section {
  overflow: hidden;
  padding: 80px 0 60px;
  background:
    radial-gradient(
      ellipse at 0% 100%,
      rgba(255, 159, 192, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 30% 90%,
      rgba(255, 185, 138, 0.05) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 60% 80%,
      rgba(255, 230, 138, 0.04) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 90% 70%,
      rgba(147, 223, 169, 0.03) 0%,
      transparent 35%
    ),
    var(--color-offwhite);
}

.fv-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 12.04vw - 84px, 60px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* 左：テキスト側 */
.fv-text {
  flex: 1;
  max-width: 520px;
}

.fv-text .wp-block-heading {
  font-size: var(--heading-lg) !important;
  line-height: 1.7 !important;
  letter-spacing: 0.08em !important;
  color: var(--color-text) !important;
  margin: 0 0 20px !important;
}

.fv-subtext {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 12px !important;
}

.fv-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text);
  margin-bottom: 32px !important;
}

/* 右：円形写真＋虹色リング＋外側の円弧 */
.fv-photo-wrap {
  flex-shrink: 1;
  position: relative;
  width: clamp(280px, 35vw, 484px);
  height: clamp(280px, 35vw, 484px);
}

.fv-photo {
  position: absolute;
  top: 10px;
  left: 0;
  width: 95.5%;
  height: 95.5%;
  border-radius: 50%;
  padding: 0;
  background: none;
  overflow: hidden !important;
}

.fv-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.fv-photo::after {
  display: none;
}

/* 背景のゴールド線画円（写真の後ろ） */
.fv-photo-gold-circle {
  position: absolute;
  top: -310px;
  left: 90px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1.5px solid rgba(193, 171, 5, 0.3);
  z-index: 0;
  pointer-events: none;
}

/* 外側の虹色円弧ライン */
.fv-photo-ring {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 95.5%;
  height: 95.5%;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--rainbow) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  /* clip-path なし — 全周レインボーリング */
  z-index: 2;
}

/* LIFE & COLOR DESIGN サブヘッダー */
.fv-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 12px !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fv-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

/* FVボタン（虹色グラデ背景・薄め） */
.btn-fv .wp-block-button__link,
.btn-fv .wp-element-button {
  background: var(--color-white) !important;
  color: var(--color-text) !important;
  border: 2px solid transparent !important;
  border-image: var(--rainbow) 1 !important;
  font-weight: 400;
  letter-spacing: 0.04em !important;
}

@media (hover: hover) {
  .btn-fv .wp-block-button__link:hover,
  .btn-fv .wp-element-button:hover {
    color: rgba(43, 43, 43, 0.6) !important;
  }
}

/* =============================================
   フッター
   ============================================= */
footer.wp-block-template-part,
.wp-block-template-part footer {
  position: relative;
  background: var(--color-offwhite) !important;
}
footer.wp-block-template-part::before,
.wp-block-template-part footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
}

.footer-main {
  background: var(--color-white) !important;
  padding-left: var(--padding-side) !important;
  padding-right: var(--padding-side) !important;
}

.footer-logo-link {
  display: block;
  margin-bottom: 12px;
}
.footer-logo-img {
  width: 220px;
  height: auto;
}

.footer-name {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.footer-desc {
  color: var(--color-text-sub) !important;
  line-height: 1.9 !important;
  font-size: var(--text-xs) !important;
}

.footer-grid {
  display: flex;
  gap: 40px;
}
.footer-left {
  flex: 0 0 40%;
}
.footer-nav-group {
  flex: 1;
  display: flex;
  gap: clamp(24px, 8.33vw - 40px, 60px);
}
.footer-nav-col {
  flex: 1;
}

.footer-heading {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: var(--text-base);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(193, 171, 5, 0.4);
  margin-bottom: 16px !important;
}
.footer-name {
  font-size: var(--heading-sm);
}

.footer-links {
  list-style: none !important;
  padding-left: 0 !important;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text) !important;
  text-decoration: none !important;
  font-size: var(--text-sm);
  transition: color 0.2s;
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--color-purple) !important;
  }
}

.footer-bottom {
  background: var(--color-offwhite) !important;
  border-top: 1px solid var(--color-border);
}

.footer-legal {
  text-align: center;
  font-size: 0.7rem;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}
.footer-legal a {
  color: var(--color-text-sub);
  text-decoration: none;
}
@media (hover: hover) {
  .footer-legal a:hover {
    text-decoration: underline;
  }
}
.footer-legal-sep {
  margin: 0 0.5em;
  color: var(--color-text-sub);
}

.footer-copyright {
  color: var(--color-text-sub) !important;
  letter-spacing: 0.05em;
}

/* レスポンシブ：フッター 768px以下で縦並び */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 60px;
  }
  .footer-nav-col {
    max-width: 240px;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .fv-layout {
    flex-direction: column-reverse;
    gap: 24px;
    text-align: center;
    padding: 0 24px;
  }
  .fv-text {
    max-width: 100%;
  }
  /* .fv-text .wp-block-heading のSP用上書きは --heading-lg の clamp に含まれるため削除 */
  .fv-photo-wrap {
    width: 300px;
    height: 300px;
  }
  .fv-photo {
    top: 8px;
    left: 0;
    width: 280px;
    height: 280px;
  }
  .fv-photo-ring {
    top: -8px;
    left: 15px;
    width: 280px;
    height: 280px;
  }
  .fv-label {
    justify-content: center;
  }
  .fv-text .wp-block-buttons {
    justify-content: center;
  }
}

/* ============================================================
 * ▼▼▼ ここから：なおこさんサイト用ブロックスタイルCSS ▼▼▼
 * エディタ側にも反映するため functions.php で
 * add_editor_style('style.css') を呼んでいる。
 * ============================================================ */

/* ------------------------------------------------------------
 * ゴールド額縁（core/image 用 / is-style-naoko-gold-frame）
 * デザインモック design_a.html の .about-photo::before を再現。
 * 写真の左上方向に 16px ズレたゴールド細線(1px #c1ab05)の
 * 額縁が重なる。figure（ブロックのルート要素）に効かせる。
 * ※既存の「ホバーシャイン効果」(.wp-block-image{overflow:hidden})
 *   と衝突するため overflow:visible で上書きする。
 * ------------------------------------------------------------ */
.is-style-naoko-gold-frame {
  position: relative;
  overflow: visible !important; /* シャイン効果のoverflow:hiddenを解除（額縁がはみ出すため） */
  /* ズレた額縁が左上にはみ出す分の余白を確保 */
  margin-top: 16px;
  margin-left: 16px;
}
.is-style-naoko-gold-frame img {
  /* 額縁より前面に写真を置く */
  position: relative;
  z-index: 1;
  display: block;
}
.is-style-naoko-gold-frame::after {
  /* 左上に16pxズレたゴールドの細線額縁（モックは rgba(193,171,5,.45)） */
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(193, 171, 5, 0.45); /* #c1ab05 の45% */
  background: none;
  width: auto;
  height: auto;
  transform: none;
  z-index: 0;
  pointer-events: none;
}
/* シャインのホバー移動も無効化（額縁スタイル時のみ）
   ※既存シャインの :hover::after { left:125% } に位置を上書きされて
   額縁が消えるため、ホバー時も同じ位置を明示して固定する */
@media (hover: hover) {
  .is-style-naoko-gold-frame:hover::after {
    inset: -16px 16px 16px -16px;
    transition: none;
  }
}

/* ------------------------------------------------------------
 * 虹色カード（core/group 用 / is-style-naoko-rainbow-card）
 * デザインモック service_a3.html の .course を再現。
 * 白背景・上辺3pxの虹色グラデ帯・浮いた影・角丸・余白。
 * ------------------------------------------------------------ */
.is-style-naoko-rainbow-card {
  position: relative;
  overflow: hidden; /* 角丸の内側に虹色帯を収める */
  background: #ffffff;
  border: 1px solid rgba(193, 171, 5, 0.22); /* ゴールドの薄い枠線 */
  border-radius: 8px;
  padding: 36px 32px 38px;
  box-shadow: 0 14px 40px rgba(58, 55, 50, 0.08); /* 浮いた影 */
}
.is-style-naoko-rainbow-card::before {
  /* カード上辺の虹色グラデ帯（3px） */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #ff9fc0 0%,
    #ffb98a 20%,
    #ffe68a 40%,
    #93dfa9 60%,
    #8ccdf5 80%,
    #c39bf0 100%
  );
}

/* ------------------------------------------------------------
 * 虹色ライン見出し（core/heading 用 / is-style-naoko-rainbow-line）
 * 見出しの下に短い（60px）虹色グラデの下線。中央寄せ。
 * 左寄せで使いたい場合は margin を「18px 0 0」に変える。
 * ------------------------------------------------------------ */
.is-style-naoko-rainbow-line::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  border-radius: 2px;
  margin: 18px auto 0; /* 中央寄せ。左寄せなら 18px 0 0 */
  background: linear-gradient(
    90deg,
    #ff9fc0 0%,
    #ffb98a 20%,
    #ffe68a 40%,
    #93dfa9 60%,
    #8ccdf5 80%,
    #c39bf0 100%
  );
}

/* ------------------------------------------------------------
 * 虹色ボタン（core/button 用 / is-style-naoko-rainbow-btn）
 * 薄い虹色グラデ背景＋虹色ボーダー。ホバーで薄パープルに変化。
 * ------------------------------------------------------------ */
.is-style-naoko-rainbow-btn > .wp-block-button__link {
  background: linear-gradient(
    90deg,
    rgba(255, 159, 192, 0.18) 0%,
    rgba(255, 185, 138, 0.18) 20%,
    rgba(255, 230, 138, 0.18) 40%,
    rgba(147, 223, 169, 0.18) 60%,
    rgba(140, 205, 245, 0.18) 80%,
    rgba(195, 155, 240, 0.18) 100%
  );
  border: 2px solid;
  border-image: linear-gradient(
      90deg,
      #ff9fc0 0%,
      #ffb98a 20%,
      #ffe68a 40%,
      #93dfa9 60%,
      #8ccdf5 80%,
      #c39bf0 100%
    )
    1;
  color: #2b2b2b;
  font-weight: 500;
  border-radius: 0;
  transition:
    background 0.3s ease,
    border 0.3s ease,
    color 0.3s ease;
}

@media (hover: hover) {
  .is-style-naoko-rainbow-btn > .wp-block-button__link:hover {
    opacity: 0.7;
    color: #9b72b0;
  }
}

/* ============================================================
 * ▲▲▲ ここまで：なおこさんサイト用ブロックスタイルCSS ▲▲▲
 * ============================================================ */

/* =============================================
   セクションラベル・見出し（共通化）
   旧: about-label 等10クラス + about-heading 等10クラス
   （個別20ブロックをグループセレクタに統合。計算結果は従来と同一）
   ============================================= */
/* ラベル共通（10クラス） */
.about-label,
.service-label,
.schedule-label,
.voice-label,
.news-label,
.sns-label,
.sv-section-label,
.profile-section-label,
.pv-section-label,
.mv-section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
}
/* ラベル：letter-spacing 0.18em（mv以外の9クラス） */
.about-label,
.service-label,
.schedule-label,
.voice-label,
.news-label,
.sns-label,
.sv-section-label,
.profile-section-label,
.pv-section-label {
  letter-spacing: 0.18em;
}
/* ラベル：margin-bottom 型（6クラス） */
.about-label,
.service-label,
.voice-label,
.news-label,
.sns-label,
.profile-section-label {
  margin-bottom: 10px;
}
/* ラベル：margin 一括型（3クラス） */
.schedule-label,
.sv-section-label,
.pv-section-label {
  margin: 0 0 10px;
}
/* ラベル：mv（letter-spacing/margin 独自） */
.mv-section-label {
  letter-spacing: 0.3em;
  margin: 0 0 12px;
}

/* 見出し共通（10クラス） */
.about-heading,
.service-heading,
.schedule-heading,
.voice-heading,
.news-heading,
.sns-heading,
.sv-section-heading,
.profile-section-heading,
.pv-section-heading,
.mv-section-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.5;
}
/* 見出し：font-size clamp(28px,3vw,36px)（mv以外の9クラス） */
.about-heading,
.service-heading,
.schedule-heading,
.voice-heading,
.news-heading,
.sns-heading,
.sv-section-heading,
.profile-section-heading,
.pv-section-heading {
  font-size: clamp(28px, 3vw, 36px);
}
/* 見出し：color（元から color 指定があった7クラス） */
.about-heading,
.service-heading,
.voice-heading,
.news-heading,
.sns-heading,
.profile-section-heading,
.mv-section-heading {
  color: var(--color-text);
}
/* 見出し：letter-spacing 0.1em（元から指定があった3クラス） */
.sv-section-heading,
.profile-section-heading,
.pv-section-heading {
  letter-spacing: 0.1em;
}
/* 見出し：margin（margin-top:0 + margin-bottom:32px 型／6クラス） */
.about-heading,
.service-heading,
.schedule-heading,
.voice-heading,
.news-heading,
.sns-heading {
  margin-top: 0;
  margin-bottom: 32px;
}
/* 見出し：margin 一括型 0 0 32px（3クラス） */
.sv-section-heading,
.profile-section-heading,
.pv-section-heading {
  margin: 0 0 32px;
}
/* 見出し：mv（font-size/margin 独自・下線なし） */
.mv-section-heading {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0;
}
/* 見出し下線（虹色・元から ::after があった8クラス） */
.about-heading::after,
.service-heading::after,
.schedule-heading::after,
.voice-heading::after,
.news-heading::after,
.sns-heading::after,
.profile-section-heading::after,
.pv-section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--rainbow);
}
/* 見出し下線：margin 20px 0 32px（service以外の7クラス＝左寄せ） */
.about-heading::after,
.schedule-heading::after,
.voice-heading::after,
.news-heading::after,
.sns-heading::after,
.profile-section-heading::after,
.pv-section-heading::after {
  margin: 20px 0 32px;
}
/* 見出し下線：service のみ中央寄せ */
.service-heading::after {
  margin: 20px auto 32px;
}

/* =============================================
   ABOUTセクション
   ============================================= */
.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}

.about-lead {
  color: var(--color-text-sub);
  font-size: var(--text-base);
  margin-bottom: 60px;
}

.about-content {
  display: flex;
  gap: var(--gap-content);
  align-items: flex-start;
}

.about-photo {
  flex-shrink: 1;
  width: clamp(300px, 35vw, 400px);
  position: relative;
  margin-top: 12px;
  margin-left: 12px;
}
.about-photo::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--rainbow) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
}

.about-name {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.about-title {
  font-size: var(--text-sm);
  color: var(--color-purple);
  margin-bottom: 24px;
}

.about-body {
  font-size: var(--text-base);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.about-tag {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--color-text);
  position: relative;
  background: var(--color-white);
}
.about-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: var(--rainbow);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ABOUTセクション レスポンシブ */
@media (max-width: 768px) {
  .about-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .about-content {
    flex-direction: column;
    gap: 40px;
  }
  .about-photo {
    width: 100%;
    max-width: 320px;
  }
  .about-lead {
    margin-bottom: 40px;
  }
  .about-content {
    gap: 32px;
  }
  .about-tags {
    gap: 8px;
  }
  .about-tag {
    padding: 6px 16px;
    font-size: var(--text-xs);
  }
}

/* =============================================
   SERVICEセクション
   ============================================= */
.service-section {
  background: var(--color-offwhite);
}

.service-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
  text-align: center;
}

.service-lead {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  gap: 20px;
}

.service-card {
  flex: 1;
  background: var(--color-white);
  overflow: hidden;
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
}

.service-card-img {
  background:
    linear-gradient(
      135deg,
      rgba(255, 159, 192, 0.16),
      rgba(147, 223, 169, 0.14),
      rgba(195, 155, 240, 0.16)
    ),
    #f3f1ed;
}
.service-card-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-num {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}

.service-cat {
  display: block;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-block-start: 0.5em;
  margin-bottom: 12px;
  line-height: 1.7;
  min-height: calc(var(--heading-sm) * 1.7 * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 16px;
}

.service-card-link {
  margin-top: auto;
  align-self: flex-end;
}

.service-all-link {
  text-align: center;
  margin-top: 40px;
}

/* SERVICEセクション レスポンシブ */
@media (min-width: 600px) and (max-width: 1000px) {
  .service-card-title br {
    display: none;
  }
}
@media (max-width: 900px) {
  .service-card-body {
    padding: 24px 16px 28px;
  }
}
@media (max-width: 768px) {
  .service-card-body {
    padding: 26px 24px 30px;
  }
  .service-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .service-cards {
    flex-direction: column;
    gap: 32px;
  }
  .service-card {
    max-width: 100%;
  }
  .service-card-title {
    min-height: auto;
  }
  .service-lead {
    margin-bottom: 40px;
  }
}

/* =============================================
   SCHEDULE — 講座・セミナー
   ============================================= */
.schedule-section {
  background: var(--color-offwhite);
}
.schedule-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}
.schedule-lead {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: 40px;
}

/* スケジュールリスト */
.schedule-list {
  border-top: 1px solid var(--color-border);
}
.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.schedule-date {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  flex-shrink: 0;
  width: 100px;
}
.schedule-cat {
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.schedule-title {
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
}
@media (hover: hover) {
  a.schedule-title:hover {
    color: var(--color-purple);
  }
}

.schedule-all-link {
  text-align: right;
  margin-top: 24px;
}

.schedule-empty {
  font-size: var(--text-base);
  color: var(--color-text-sub);
  padding: 40px 0;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .schedule-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .schedule-item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .schedule-date {
    width: auto;
  }
  .schedule-title {
    width: 100%;
  }
}

/* =============================================
   VOICEセクション — お客様の声
   ============================================= */
.voice-section {
  background: var(--color-white);
}

.voice-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}

.voice-lead {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: 40px;
}

.voice-cards {
  display: flex;
  gap: 20px;
}

.voice-card {
  flex: 1;
  background: var(--color-white);
  padding: 40px 32px 32px;
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  position: relative;
}

.voice-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-purple, #8b6fae);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.voice-card-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.voice-cat {
  display: none;
}

.voice-quote {
  font-size: var(--text-base);
  line-height: 1.9;
  text-align: justify;
}

.voice-attr {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-top: 20px;
}
.voice-attr-sub {
  font-size: var(--text-xs);
  color: var(--color-purple, #8b6fae);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

.voice-quote-mark {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 32px;
  height: 32px;
  color: rgba(0, 0, 0, 0.15);
}
.voice-quote-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.voice-all-link {
  text-align: center;
  margin-top: 40px;
}

/* VOICEセクション レスポンシブ */
@media (max-width: 768px) {
  .voice-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .voice-cards {
    flex-direction: column;
    gap: 20px;
  }
}

/* =============================================
   NEWSセクション — トピック・新着情報
   ============================================= */
.news-section {
  background: var(--color-white);
}

.news-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}

.news-list {
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .news-item:hover {
    opacity: 0.6;
  }
}

.news-date {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  flex-shrink: 0;
  width: 100px;
}

.news-cat {
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 6em;
  text-align: center;
  box-sizing: border-box;
}

.news-title {
  font-size: var(--text-base);
}

.news-all-link {
  text-align: right;
  margin-top: 24px;
}

.news-empty {
  font-size: var(--text-base);
  color: var(--color-text-sub);
  padding: 40px 0;
  text-align: center;
}

/* NEWSセクション レスポンシブ */
@media (max-width: 768px) {
  .news-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .news-item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .news-date {
    width: auto;
  }
  .news-title {
    width: 100%;
  }
}

/* お知らせ一覧フィルター */
.news-filters {
  margin-bottom: 32px;
}
.news-filter-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-sub);
}

/* お知らせページネーション */

/* お知らせ個別ページ */
.news-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.news-single-title {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 40px;
}
.news-single-body {
  font-size: var(--text-base);
  line-height: 2;
}
.news-single-body p {
  margin: 0 0 1.5em;
}
.news-single-back {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* =============================================
   SNSセクション — SNS・外部リンク
   ============================================= */
.sns-section {
  background: var(--color-offwhite);
}

.sns-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}

.sns-lead {
  font-size: var(--text-base);
  margin-bottom: 40px;
}

.sns-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.sns-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: var(--text-sm);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .sns-btn:hover {
    opacity: 0.6;
  }
}

.sns-btn-fill {
  background: var(--color-text);
  color: var(--color-white);
  border: 1px solid var(--color-text);
}

.sns-btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

/* SNSカードグリッド */
.sns-group-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.sns-group {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.sns-group-icon {
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sns-group-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.sns-group-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.1em;
  color: var(--color-text);
}
.sns-group-desc {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.7;
  margin: 0 0 20px;
}
.sns-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sns-group-items--list {
  flex-direction: column;
  gap: 0;
}

/* SNSアイコン付きリンク */
.sns-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: var(--text-sm);
  line-height: 1.4;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-offwhite);
  border-radius: 0;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  .sns-icon-link:hover {
    opacity: 0.7;
  }
}
.sns-icon-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sns-icon-link-sub {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: var(--color-text-sub);
  margin-top: 0;
}

/* メルマガリスト */
.sns-magazine-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s;
}
.sns-magazine-item:first-child {
  border-top: 1px solid var(--color-border);
}
@media (hover: hover) {
  .sns-magazine-item:hover {
    background: rgba(0, 0, 0, 0.02);
  }
}
.sns-magazine-title {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  flex: 1;
}
.sns-magazine-item .link-gold {
  white-space: nowrap;
}

/* お問い合わせ・関連リンク CTA */
.sns-group-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 0;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.sns-group-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sns-group-cta--fill {
  background: var(--color-purple, #8b6fae);
  color: var(--color-white);
  border: 1px solid var(--color-purple, #8b6fae);
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) {
  .sns-group-cta--fill:hover {
    background: transparent;
    color: var(--color-purple, #8b6fae);
  }
}
.sns-group-cta--fill svg {
  fill: #fff;
  transition: fill 0.2s;
}
@media (hover: hover) {
  .sns-group-cta--fill:hover svg {
    fill: var(--color-purple, #8b6fae);
  }
}
.sns-group-cta--outline {
  background: transparent;
  color: var(--color-purple, #8b6fae);
  border: 1px solid var(--color-purple, #8b6fae);
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) {
  .sns-group-cta--outline:hover {
    background: var(--color-purple, #8b6fae);
    color: var(--color-white);
  }
}
@media (hover: hover) {
  .sns-group-cta--outline:hover svg {
    fill: #fff;
  }
}
.sns-group-cta--outline svg {
  fill: var(--color-purple, #8b6fae);
  transition: fill 0.2s;
}

/* プロフィールページSNS */
.profile-sns-lead {
  font-size: var(--text-base);
  color: var(--color-text-sub);
  margin: 0 0 32px;
}

/* SNSセクション レスポンシブ */
@media (max-width: 768px) {
  .sns-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .sns-group-list {
    grid-template-columns: 1fr;
  }
  .sns-group {
    padding: 24px;
  }
  .sns-magazine-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =============================================
   css-pages.txt
   講座・セミナー / お問い合わせ / ブログ・コラム
   3ページ分のCSS。style.cssの末尾にコピーして使う。
   ============================================= */

/* =============================================
   【共通】ページヘッダー（削除済み：.page-heroに統一）
   ============================================= */

/* =============================================
   【講座・セミナー】page-schedule
   ============================================= */
.schedule-page-section {
  --text-xs: 14px;
}

/* リザスト誘導ブロック */
.schedule-reservestock {
  margin-top: 48px;
  padding: 40px;
  background: var(--color-offwhite);
  border-top: 2px solid transparent;
  border-image: var(--rainbow) 1;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.schedule-reservestock-text {
  font-size: var(--text-base);
  color: var(--color-text);
  margin: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .schedule-reservestock {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    align-items: flex-start;
  }
}

/* =============================================
   【お問い合わせ】page-contact
   ============================================= */

/* お問い合わせの種類 */
.contact-type-lead {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  margin: 0 0 32px;
}
.contact-type-cards {
  display: flex;
  gap: 24px;
}
.contact-type-card {
  flex: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-purple);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.contact-type-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}
.contact-type-text {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0;
  flex: 1;
}
.contact-type-btn {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-purple);
  background: transparent;
  border: 1px solid var(--color-purple);
  text-decoration: none;
  padding: 14px 32px;
  letter-spacing: 0.05em;
  margin-top: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}
@media (hover: hover) {
  .contact-type-btn:hover {
    background: var(--color-purple);
    color: var(--color-white);
  }
}
.contact-type-btn--outline {
  color: var(--color-text);
  border-color: var(--color-border);
}
@media (hover: hover) {
  .contact-type-btn--outline:hover {
    background: var(--color-offwhite);
    color: var(--color-text);
  }
}

/* お問い合わせフォーム */
.contact-section-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.contact-section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 16px;
  background: var(--rainbow);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-required {
  font-size: var(--text-xs);
  color: var(--color-white);
  background: var(--color-text);
  padding: 2px 8px;
  font-weight: 400;
}
.contact-optional {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  border: 1px solid var(--color-border);
  padding: 2px 8px;
  font-weight: 400;
}
.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}
.contact-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form-textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form-note {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  margin: 0;
}
.contact-form-submit {
  display: flex;
  justify-content: flex-start;
}
.contact-submit-btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  color: var(--color-white);
  background: var(--color-text);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  .contact-submit-btn:hover {
    opacity: 0.7;
  }
}

/* Contact Form 7 スタイル */
.wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}
.wpcf7-form p {
  margin: 0 0 28px;
}
.wpcf7-form p:last-of-type {
  margin-bottom: 0;
}
.wpcf7-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.wpcf7-form .required-mark {
  font-size: 11px;
  color: #c44;
  font-weight: 400;
  margin-left: 6px;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #ccc;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
@media (hover: hover) {
  .wpcf7-form input[type="text"]:hover,
  .wpcf7-form input[type="email"]:hover,
  .wpcf7-form input[type="tel"]:hover,
  .wpcf7-form textarea:hover,
  .wpcf7-form select:hover {
    border-color: var(--color-purple);
  }
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-purple);
  background: #faf8fc;
}
.wpcf7-form textarea {
  resize: vertical;
  min-height: 160px;
}
.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 12px auto 0;
  padding: 16px 48px;
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-white);
  background: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  .wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
  }
}
.privacy-agree {
  margin: 24px 0 8px;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.privacy-agree a {
  color: var(--color-purple);
  text-decoration: underline;
}
.privacy-agree input[type="checkbox"] {
  accent-color: var(--color-purple);
  width: 18px;
  height: 18px;
}
.wpcf7-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
}
.wpcf7-form .wpcf7-not-valid-tip {
  font-size: var(--text-xs);
  color: #c44;
  margin-top: 4px;
}
.contact-form-footer-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  margin-top: 16px;
}
@media (max-width: 768px) {
  .wpcf7 {
    padding: 32px 24px;
  }
}

/* メルマガ登録 */
.contact-magazine-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-magazine-text {
  font-size: var(--text-base);
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 768px) {
  .contact-type-cards {
    flex-direction: column;
    gap: 20px;
  }
  .contact-type-card {
    padding: 28px 24px;
  }
}

/* =============================================
   【ブログ・コラム】page-blog
   ============================================= */
.blog-page-inner {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}

/* 記事一覧 */
.blog-posts {
  flex: 1;
  min-width: 0;
}
.blog-posts-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.05em;
}
.blog-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-sub);
}

/* 記事カード — 2カラムグリッド */
.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
}
a.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  min-width: 0;
}
@media (hover: hover) {
  a.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}
.blog-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-offwhite);
}
.blog-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--color-text-sub);
}
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card-cat {
  font-size: var(--text-xs);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 3px 12px;
  white-space: nowrap;
}
.blog-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.blog-card-title {
  color: var(--color-text);
}
.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0;
}
.blog-card-more {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  text-decoration: none;
  align-self: flex-end;
  margin-top: auto;
  transition: color 0.2s;
}
@media (hover: hover) {
  .blog-card-more:hover {
    color: var(--color-text);
  }
}

/* サイドバー */
.blog-sidebar {
  flex: 0 0 clamp(200px, 22vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.blog-sidebar-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-sidebar-heading {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  padding: 0 0 10px 12px;
  border-left: 3px solid var(--color-purple);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.05em;
}
.blog-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-sidebar-recent {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-sidebar-recent li {
  border-bottom: 1px solid var(--color-border);
}
.blog-sidebar-recent a {
  display: block;
  padding: 10px 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s;
}
@media (hover: hover) {
  .blog-sidebar-recent a:hover {
    color: var(--color-purple);
  }
}
.blog-sidebar-ameblo {
  background: var(--color-offwhite);
  padding: 24px;
}
.blog-sidebar-ameblo-link {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s;
}
@media (hover: hover) {
  .blog-sidebar-ameblo-link:hover {
    border-color: var(--color-text-sub);
  }
}

/* ブログ個別記事 */
.blog-single {
  flex: 1;
  min-width: 0;
}
.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-single-date {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
}
.blog-single-title {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 32px;
  letter-spacing: 0.05em;
}
.blog-single-thumb {
  margin-bottom: 48px;
  text-align: center;
}
.blog-single-thumb-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .blog-single-thumb-img {
    max-width: 100%;
  }
}
.blog-single-body {
  font-size: var(--text-base);
  line-height: 2;
  color: var(--color-text);
}
.blog-single-body p {
  margin: 0 0 1.8em;
}
.blog-single-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.blog-single-nav a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
@media (hover: hover) {
  .blog-single-nav a:hover {
    color: var(--color-purple);
  }
}

@media (max-width: 768px) {
  .blog-page-inner {
    flex-direction: column;
    gap: 60px;
  }
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    flex: none;
    width: 100%;
  }
}

/* =============================================
   ページヘッダー（page-hero）
   ============================================= */
.page-hero {
  background: var(--color-offwhite);
  padding: 60px var(--padding-side) 48px;
  border-bottom: 3px solid transparent;
  border-image: var(--rainbow) 1;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: var(--heading-lg);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.12em;
}
.page-hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.8;
}

/* パンくず（共通） */
.page-hero-breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  background: var(--color-white);
  padding: 14px var(--padding-side);
  margin: 0;
}
.page-hero-breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero-breadcrumb a {
  color: var(--color-text-sub);
  text-decoration: none;
}
@media (hover: hover) {
  .page-hero-breadcrumb a:hover {
    color: var(--color-gold-dark);
  }
}
.page-hero-breadcrumb-sep {
  color: var(--color-text-sub);
  margin: 0 6px;
  font-size: 0;
}
.page-hero-breadcrumb-sep::before {
  content: "›";
  font-size: var(--text-base);
}
.page-hero ~ * > .section:first-of-type,
.page-hero ~ .section:first-of-type,
.page-hero-breadcrumb + .wp-block-group {
  padding-top: 60px !important;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 36px var(--padding-side) 32px;
  }
}

/* 旧 breadcrumb-list 系（service.htmlで使用、後方互換用） */
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
}
.breadcrumb-link {
  color: var(--color-text-sub);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}
@media (hover: hover) {
  .breadcrumb-link:hover {
    color: var(--color-gold-dark);
  }
}
.breadcrumb-sep {
  font-size: var(--text-xs);
  color: var(--color-border);
}
.breadcrumb-current {
  color: var(--color-text);
}

/* =============================================
   タブナビゲーション
   ============================================= */
.service-tab-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.service-tab-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
  display: flex;
  gap: 4px;
  align-items: flex-end;
}
.service-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.08em;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
@media (hover: hover) {
  .service-tab-item:hover {
    color: var(--color-text-sub);
  }
}
.service-tab-item svg {
  color: var(--color-purple);
}
@media (max-width: 600px) {
  .service-tab-nav-inner {
    overflow-x: hidden;
  }
  .service-tab-item {
    padding: 10px 14px;
    font-size: var(--text-xs);
    flex-direction: column;
    gap: 4px;
    text-align: center;
    flex: 1;
  }
}

/* =============================================
   共通セクション（sv-section）
   ============================================= */
.sv-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}
.sv-section-lead {
  font-size: var(--text-base);
  line-height: 1.9;
  margin: 0 0 56px;
  max-width: 960px;
}
.sv-sub-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.1em;
}

/* =============================================
   サービスカード（sv-card）
   ============================================= */
.sv-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.sv-cards--2col {
  grid-template-columns: repeat(2, 1fr);
}
.sv-card {
  background: var(--color-white);
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  display: flex;
  flex-direction: column;
}
.sv-card-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: #eeece8;
  overflow: hidden;
}
.sv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sv-card-img-label {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, 0.38);
  letter-spacing: 0.08em;
}
.sv-card-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  letter-spacing: 0.12em;
  font-weight: 700;
  border: 1px solid #ddd;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.sv-card-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sv-card-text {
  font-size: var(--text-sm);
  line-height: 1.85;
  color: var(--color-text);
  margin: 0 0 16px;
}
.sv-card-list {
  padding: 20px 20px 20px 2.4em;
  margin: 0 0 24px;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-sub);
  background: var(--color-offwhite);
}
.sv-card-list li {
  margin-bottom: 6px;
}
/* カード内のlink-goldは右寄せ・下揃え */
.sv-card-body .link-gold {
  align-self: flex-end;
  margin-top: auto;
}

@media (max-width: 900px) {
  .sv-cards {
    grid-template-columns: 1fr;
  }
  .sv-cards--2col {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   起業コンサルボックス（sv-consult）
   ============================================= */
.sv-consult-box {
  background: var(--color-white);
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  padding: 48px 40px 40px;
  margin-bottom: 32px;
}
.sv-block-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  margin: 8px 0 20px;
  line-height: 1.5;
  border-left: 3px solid var(--color-gold);
  padding-left: 12px;
  letter-spacing: 0.1em;
}
.sv-consult-text {
  font-size: var(--text-base);
  line-height: 1.9;
  margin: 0 0 24px;
  max-width: 720px;
}
.sv-consult-list {
  padding-left: 1.2em;
  margin: 0 0 32px;
  font-size: var(--text-sm);
  line-height: 1.8;
}
.sv-consult-list li {
  margin-bottom: 8px;
}
.sv-consult-recommend {
  background: var(--color-offwhite);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.sv-consult-recommend-label {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.1em;
}
.sv-consult-recommend-list {
  padding-left: 1.2em;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.8;
}
.sv-consult-recommend-list li {
  margin-bottom: 6px;
}
.sv-consult-btn {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .sv-consult-box {
    padding: 32px 20px 28px;
  }
}

/* =============================================
   企業・団体向けグリッド（sv-corp）
   ============================================= */
.sv-corp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.sv-corp-item {
  background: var(--color-white);
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  padding: 36px 32px 32px;
}
.sv-corp-item-text {
  font-size: var(--text-sm);
  line-height: 1.85;
  margin: 0 0 20px;
}
.sv-corp-list {
  padding-left: 1.2em;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-sub);
}
.sv-corp-list li {
  margin-bottom: 6px;
}
.sv-section-cta {
  text-align: center;
  margin-top: 64px;
  padding: 48px 32px;
  background: var(--color-offwhite);
  border-top: 1px solid var(--color-border);
}
.sv-section-cta[style*="100vw"] {
  padding: 80px 32px;
  margin: 0;
}
/* 専用クラス版（B-1 脆い属性セレクタの置き換え。旧セレクタと当面併存） */
.sv-section-cta--fullbleed {
  padding: 80px 32px;
  margin: 0;
}
.sv-section-cta-text {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 0 28px;
}
.sv-section-cta-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin: 0 0 12px;
}
.sv-section-cta--gradient .sv-section-cta-label {
  color: rgba(255, 255, 255, 0.7);
}
.sv-section-cta--gradient {
  background: linear-gradient(135deg, #3d2a5c 0%, #5a3f7a 50%, #7b5ea0 100%);
  color: #fff;
  border-top: none;
  border-radius: 8px;
}
.sv-section-cta--gradient .sv-block-heading {
  color: #fff;
  border-left: none;
  padding-left: 0;
}
.sv-section-cta .sv-block-heading {
  border-left: none;
  padding-left: 0;
}
.sv-section-cta--gradient .sv-section-cta-text {
  color: rgba(255, 255, 255, 0.9);
}
.sv-section-cta-btn {
  display: inline-block;
  background: #fff;
  color: #3d2a5c;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: 16px 44px;
  text-decoration: none;
  transition: opacity 0.3s;
  letter-spacing: 0.04em;
}
@media (hover: hover) {
  .sv-section-cta-btn:hover {
    opacity: 0.8;
  }
}
@media (max-width: 768px) {
  .sv-corp-grid {
    grid-template-columns: 1fr;
  }
  .sv-section--personal .sv-block-heading {
    font-size: 22px;
  }
  .sv-section--personal .sv-block-heading br {
    display: none;
  }
}

/* =============================================
   CTA
   ============================================= */
.sv-cta {
  background: var(--color-offwhite);
  padding: 100px var(--padding-side);
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.sv-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.sv-cta-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
  margin: 0 0 8px;
}
.sv-cta-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.1em;
}
.sv-cta-text {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 0 32px;
}

/* =============================================
   プロフィールページ (page-profile.html)
   style.css にマージする際はここをコピーして末尾に追加
   ============================================= */

/* =============================================
   ページヘッダー（削除済み：.page-heroに統一）
   ============================================= */

/* =============================================
   プロフィール本文セクション
   ============================================= */

/* 写真＋テキストの横並び */
.profile-content {
  display: flex;
  gap: var(--gap-content);
  align-items: flex-start;
}

/* 写真エリア（ABOUTと同じレインボーボーダー枠） */
.profile-photo-wrap {
  flex-shrink: 0;
  width: clamp(260px, 30vw, 360px);
  /* レインボー枠がはみ出す分の余白 */
  margin-top: 12px;
  margin-left: 12px;
}

.profile-photo-frame {
  position: relative;
  /* レインボーずらし枠 */
}
.profile-photo-frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--rainbow) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

/* プレースホルダー（写真に差し替えるまでの仮枠） */
.profile-photo-placeholder {
  width: 100%;
  /* 縦横比 5:6 → 300×360相当 */
  aspect-ratio: 5 / 6;
  background: var(--color-border);
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
/* 実際の写真を使う場合は img タグに差し替え */
.profile-photo-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
}

/* テキストエリア */
.profile-text {
  flex: 1;
  min-width: 0;
}

.profile-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin: 0 0 10px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin: 0 0 6px;
  line-height: 1.5;
}

.profile-name-en {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  margin: 0 0 32px;
}

.profile-quote {
  border-left: 3px solid var(--color-purple);
  padding: 0 0 0 20px;
  margin: 0 0 2em;
}
.profile-quote p {
  font-size: var(--text-base);
  line-height: 1.9;
  background: linear-gradient(90deg, #6b4a8a, #9b7bb8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}
.profile-body {
  font-size: var(--text-base);
  line-height: 1.9;
}
.profile-body p {
  margin: 0 0 1.2em;
}
.profile-body p:last-child {
  margin-bottom: 0;
}

/* =============================================
   保有資格セクション
   ============================================= */

/* セクション共通見出し */

/* 資格リスト */
.profile-qualification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.profile-qualification-item {
  font-size: var(--text-base);
  font-weight: 400;
  padding: 18px 16px 18px 28px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  line-height: 1.7;
}
/* 資格アイテムの偶数列に左ボーダー */
.profile-qualification-item:nth-child(even) {
  border-left: 1px solid var(--color-border);
}
/* ダイヤ型マーカー */
.profile-qualification-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* =============================================
   経歴・活動セクション
   ============================================= */

/* タイムライン */
.profile-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
/* 縦の連続線 */
.profile-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 112px; /* 年ラベル幅 + gap */
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.profile-timeline__item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}
.profile-timeline__item + .profile-timeline__item {
  border-top: 1px solid var(--color-border);
}

/* 年ラベル */
.profile-timeline__year {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

/* 年ラベルとコンテンツをつなぐドット */
.profile-timeline__body {
  position: relative;
  flex: 1;
  padding-left: 20px; /* 縦線からの余白 */
}
.profile-timeline__body::before {
  content: "";
  position: absolute;
  left: -4px; /* 縦線の上に配置 */
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
}

.profile-timeline__text {
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.9;
  margin: 0;
  color: var(--color-text);
}

/* =============================================
   CTA セクション
   ============================================= */
.profile-cta-section {
  border-top: 1px solid var(--color-border);
}

.profile-cta-inner {
  text-align: center;
}

/* =============================================
   レスポンシブ（768px以下）
   ============================================= */
@media (max-width: 768px) {
  /* ページヘッダー（削除済み：.page-heroに統一） */

  /* プロフィール本文 */
  .profile-content {
    flex-direction: column;
    gap: 40px;
  }
  .profile-photo-wrap {
    width: 100%;
    max-width: 280px;
    margin-left: 12px; /* レインボー枠分を確保 */
  }

  /* 資格リスト：SP は1列 */
  .profile-qualification-list {
    grid-template-columns: 1fr;
  }
  .profile-qualification-item:nth-child(even) {
    border-left: none;
  }

  /* 経歴 */
  .profile-timeline::before {
    left: 80px;
  }
  .profile-timeline__year {
    width: 60px;
    font-size: var(--text-xs);
  }

  /* CTA */
}

/* =============================================
   実績・お客様の声ページ（page-voice）
   ============================================= */

/* ---- ページヘッダー（削除済み：.page-heroに統一） ---- */

/* ---- 共通：セクションラベル・見出し ---- */
.pv-section-lead {
  font-size: var(--text-base);
  line-height: 1.9;
  margin: 0 0 40px;
  color: var(--color-text-sub);
}

/* ---- 活動実績セクション ---- */

/* 数値ボックス 4列 */
.pv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pv-stat-box {
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.pv-stat-num {
  font-family: var(--font-heading);
  font-size: var(--heading-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: 0.05em;
}
.pv-stat-unit {
  font-size: var(--heading-sm);
  font-weight: 500;
  margin-left: 2px;
}
.pv-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ---- 主な実績セクション ---- */

/* 実績リスト */
.pv-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
}
.pv-history-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.pv-history-year {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
  width: 60px;
  letter-spacing: 0.05em;
}
.pv-history-cat {
  font-size: var(--text-xs);
  padding: 2px 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  color: var(--color-text-sub);
}
.pv-history-cat--corporate {
  color: var(--color-purple);
  border-color: var(--color-purple);
}
.pv-history-cat--lecture {
  color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}
.pv-history-cat--media {
  color: #5a8a6a;
  border-color: #5a8a6a;
}
.pv-history-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

/* ---- お客様の声セクション ---- */

/* 声カード 2列グリッド */
.pv-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pv-voice-card {
  background: var(--color-white);
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* カテゴリタグ */
.pv-voice-cat {
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* 引用文 */
.pv-voice-quote {
  font-size: var(--text-base);
  line-height: 1.9;
  text-align: justify;
  margin: 0 0 auto;
  padding: 0;
  color: var(--color-text);
  quotes: none;
  border: none;
}

/* 属性 */
.pv-voice-attr {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  text-align: right;
  margin: 16px 0 0;
}

/* ---- CTA（テンプレ未使用・削除予定） ---- */

/* =============================================
   レスポンシブ（768px以下）
   ============================================= */
@media (max-width: 768px) {
  /* .pv-header / .pv-page-title 削除済み：.page-heroに統一 */
  /* 数値ボックス：2列 */
  .pv-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pv-stat-box {
    padding: 24px 16px;
  }
  /* 実績リスト：縦積み */
  .pv-history-item {
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
  }
  .pv-history-year {
    width: auto;
  }
  /* 声カード：1列 */
  .pv-voice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pv-voice-card {
    padding: 24px;
  }
}

/* =============================================
   404ページ
   ============================================= */
.error404-section {
  padding: 120px var(--padding-side) 160px;
  text-align: center;
}
.error404-inner {
  max-width: 640px;
  margin: 0 auto;
}
.error404-code {
  font-family: var(--font-heading);
  font-size: clamp(64px, 10vw, 100px);
  font-weight: 500;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  line-height: 1;
}
.error404-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}
.error404-text {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 0 40px;
}

/* =============================================
   法的ページ共通（特商法・プライバシーポリシー）
   ============================================= */
.legal-section {
  padding: 80px var(--padding-side);
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-dl {
  margin: 0;
}
.legal-dl dt {
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 20px 0 4px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}
.legal-dl dt:first-child {
  border-top: none;
}
.legal-dl dd {
  margin: 0 0 0 0;
  padding: 0 0 20px;
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
}
.legal-heading {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.08em;
}
.legal-heading:first-child {
  margin-top: 0;
}
.legal-text {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 0 16px;
}
.legal-list {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-sub);
  padding-left: 1.5em;
  margin: 0 0 16px;
}
.legal-cta {
  padding: 48px var(--padding-side);
  text-align: center;
  background: var(--color-offwhite);
  border-top: 1px solid var(--color-border);
}
.legal-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* =============================================
   Schedule page - filters & cards
   ============================================= */
.sch-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  background: var(--color-white);
  padding: 16px 0;
}
.sch-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sch-filter-label {
  font-size: var(--text-xs);
  color: var(--color-text);
  font-weight: 400;
}
.sch-filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sch-filter-btn {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
  text-decoration: none;
}
@media (hover: hover) {
  .sch-filter-btn:hover {
    color: var(--color-text);
    border-color: var(--color-text-sub);
    text-decoration: none;
  }
}
a.sch-filter-btn:visited {
  color: var(--color-text);
}
.sch-filter-btn.is-active,
a.sch-filter-btn.is-active,
a.sch-filter-btn.is-active:visited {
  background: var(--color-purple);
  color: var(--color-white);
  border-color: var(--color-purple);
}

.sch-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
a.sch-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
@media (hover: hover) {
  .sch-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
}

.sch-card-date {
  flex-shrink: 0;
  text-align: center;
  min-width: 100px;
  padding: 24px;
  background: #f8f5f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sch-card-body {
  flex: 1;
  padding: 24px;
}
.sch-card-date-num {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.sch-card-date-day {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text);
}
.sch-card-date-time {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text);
  margin-top: 4px;
}

.sch-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.sch-card-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  padding: 2px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.sch-card-cat--personal {
  background: rgba(193, 171, 5, 0.1);
  color: var(--color-gold-dark);
}
.sch-card-cat--business {
  background: rgba(139, 111, 174, 0.1);
  color: var(--color-purple);
}
.sch-card-cat--corporate {
  background: rgba(43, 43, 43, 0.08);
  color: var(--color-text-sub);
}
.sch-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.sch-card-meta {
  display: flex;
  gap: 16px;
  font-size: var(--text-xs);
  color: var(--color-text);
}

.sch-card-action {
  flex-shrink: 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.sch-card-btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-white);
  background: var(--color-purple);
  border-radius: 0;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  .sch-card-btn:hover {
    opacity: 0.7;
  }
}
.sch-card-btn--contact {
  background: var(--color-text);
}

.sch-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-sub);
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  a.sch-card {
    flex-direction: column;
    align-items: stretch;
  }
  .sch-card-date {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 16px;
    min-width: auto;
  }
  .sch-card-date-num,
  .sch-card-date-day,
  .sch-card-date-time {
    display: inline;
    margin-top: 0;
  }
  .sch-card-body {
    padding: 16px;
  }
  .sch-card-action {
    align-self: flex-end;
    padding-top: 0;
  }
}

/* =============================================
   2026-07-15 追記
   ① FV見出しの改行安定化（「毎日へ。」で割れないように）
   ② nowrap 汎用ユーティリティ
   ③ MISSION / VISION セクション
   ============================================= */

/* ① FV見出しの改行制御
   Japaneseで「毎日へ。」のような短い末尾語が単独で割れないように、
   モダンブラウザは text-wrap: balance でバランスを取り、
   加えて句読点前後の折り返しは line-break: strict で抑制する。
   完全に固定したい場合は DB側に <span class="nowrap">毎日へ。</span> を挿入。 */
.fv-text .wp-block-heading {
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: break-word;
}

/* ② 汎用 nowrap（Mission/Visionや他の見出しにも使い回せる） */
.nowrap {
  white-space: nowrap;
  display: inline-block;
}

/* ③ MISSION / VISION セクション
   自己紹介の直後に配置される想定。
   既存の about-label / about-heading と同じトーン（ゴールドラベル・
   虹色下線・明朝見出し）で揃え、Mission と Vision を並列カード風に見せる。 */
.mv-section {
  padding: 100px 0;
  background: var(--color-offwhite);
  position: relative;
}
.mv-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rainbow);
  opacity: 0.35;
}
.mv-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-side);
}
.mv-heading-wrap {
  text-align: center;
  margin-bottom: 60px;
}
.mv-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.mv-block {
  position: relative;
  padding: 48px 40px 44px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.mv-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rainbow);
}
.mv-block__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mv-block__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold) 0%, transparent 100%);
  opacity: 0.5;
}
.mv-block__title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}
.mv-block__body {
  font-size: var(--text-base);
  line-height: 1.95;
  color: var(--color-text);
  margin: 0;
  letter-spacing: 0.04em;
}

/* MV レスポンシブ（SP: 縦積み） */
@media (max-width: 768px) {
  .mv-section {
    padding: 60px 0;
  }
  .mv-heading-wrap {
    margin-bottom: 40px;
  }
  .mv-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mv-block {
    padding: 36px 24px 32px;
  }
}

/* =============================================
   記事本文の見出しデザイン（ブログ・お知らせ専用）
   2026-07-26 追加
   ============================================= */
.single-post .blog-single-body h2,
.single-news .news-single-body h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 0 0.7rem 1rem;
  border-left: 4px solid #ff9fc0;
  background: var(--rainbow) left bottom / 100% 2px no-repeat;
}

.single-post .blog-single-body h3,
.single-news .news-single-body h3 {
  font-size: 1.2rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  padding: 0.2rem 0 0.2rem 0.85rem;
  border-left: 3px solid #ff9fc0;
}

/* =============================================
   記事タイトルまわりの調整（ブログ・お知らせ）
   2026-07-26 追加：タイトルを日付・タグの上に／
   お知らせタイトルをブログと同サイズに
   ============================================= */
.single-post .blog-single,
.single-news .news-single {
  display: flex;
  flex-direction: column;
}

.blog-single-title,
.news-single-title {
  order: -1;
}

.news-single-title {
  font-size: var(--heading-md);
}

/* 日付・タグ行の下に余白を追加（並び替え後の調整） */
.blog-single-meta,
.news-single-meta {
  margin-bottom: 2.5rem;
}

/* FVの円写真を常に正円に（幅が縮んでも楕円にならない） */
.fv-photo-wrap {
  height: auto;
  aspect-ratio: 1 / 1;
}

/* MISSION・VISIONの円：1000px以下で縦並びに（円のつぶれ防止） */
@media (max-width: 1000px) {
  .about-section .about-mv {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-section .about-mv__col {
    max-width: 320px;
  }
}

/* =============================================
   【追記用】x-t9-naoko / style.css
   ---------------------------------------------
   対象：講座・サービス案内ページ（わたしにできること）再構成 2026-08-09
   内容：新規クラス2つのみ。既存クラスの上書き・変更は一切なし
    ============================================= */

/* ---------------------------------------------
   .sv-card-cats … タグ（.sv-card-cat）の横並びラッパー

   .sv-card-cat には align-self: flex-start が指定されており、
   親の .sv-card-body が flex-direction: column のため、
   タグを2つ並べると縦に積み上がってしまう。
   タグをこのラッパーで包むことで横並びにする。
   タグが1つのカードも同じ構造で統一している。
   --------------------------------------------- */
.sv-card-cats {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 8px;
}

/* ---------------------------------------------
   .sv-card-meta … カード内の補足情報1行
     用途1：提供形式の表示（例「形式：オンライン・対面」）
     用途2：申込先URL未定カードの「Coming soon」表示

   用途2はリンクの代わりにカード末尾へ置くため、
   .sv-card-body の最後の子要素のときだけ
   既存の .sv-card-body .link-gold と同じ「下端・右寄せ」にする。
   --------------------------------------------- */
.sv-card-meta {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin: 0 0 16px;
}
.sv-card-body > .sv-card-meta:last-child {
  margin-top: auto;
  margin-bottom: 0;
  text-align: right;
}

/* =============================================
   記事本文の画像回り込み（alignleft / alignright）
   ---------------------------------------------
   対象：お知らせ個別ページ・ブログ個別記事の本文 2026-08-09
   現行 style.css には float の定義が1行も無いため、
   エディタで「左寄せ」「右寄せ」を選んでも文章が回り込まない。
   本文コンテナ配下に限定して回り込みを効かせる。

   対象コンテナ（functions.php のショートコード出力）
     .news-single-body … [news_single_content] の本文
     .blog-single-body … [blog_single_content] の本文
   本文以外（トップページ等）には影響しない。
   ============================================= */

/* ---------------------------------------------
   左寄せ・右寄せ
   ブロックエディタは <figure class="wp-block-image alignleft">、
   クラシックエディタは <img class="alignleft"> を出力するため、
   どちらにも当たるよう子孫セレクタで指定する。
   max-width: 50% … 画像が本文幅いっぱいに広がると
   回り込むテキストが1〜2文字幅になって読めなくなるための上限。
   --------------------------------------------- */
.news-single-body .alignleft,
.blog-single-body .alignleft {
  float: left;
  max-width: 50%;
  height: auto;
  margin: 0 32px 24px 0;
}

.news-single-body .alignright,
.blog-single-body .alignright {
  float: right;
  max-width: 50%;
  height: auto;
  margin: 0 0 24px 32px;
}

/* ---------------------------------------------
   回り込み解除（クリアフィックス）
   float した画像が本文コンテナの高さから外れると、
   記事の下（前後記事ナビ・一覧へ戻るリンク）に食い込む。
   本文の末尾で float を解除して高さを確保する。
   --------------------------------------------- */
.news-single-body::after,
.blog-single-body::after {
  content: "";
  display: block;
  clear: both;
}

/* ---------------------------------------------
   見出しは回り込ませない
   画像より下に見出しが来たとき、見出しが画像の横に
   食い込むと文章の区切りが分からなくなるため、
   見出しの位置で必ず float を解除する。
   ※現状 float は1つも無いため、既存記事の見た目は変わらない。
   --------------------------------------------- */
.news-single-body h2,
.news-single-body h3,
.news-single-body h4,
.blog-single-body h2,
.blog-single-body h3,
.blog-single-body h4 {
  clear: both;
}

/* ---------------------------------------------
   SP（768px以下）は回り込みを解除して縦積みに戻す
   画面が狭い状態で回り込ませると本文が極端に細くなり読めないため。
   ブレークポイントは既存 style.css の全20箇所と同じ 768px に合わせている。
   --------------------------------------------- */
@media (max-width: 768px) {
  .news-single-body .alignleft,
  .news-single-body .alignright,
  .blog-single-body .alignleft,
  .blog-single-body .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 24px;
  }
}

/* =============================================
   【追記用 その2】x-t9-naoko
   ---------------------------------------------
   対象：活動実績の詳細ページ（/jisseki/{スラッグ}/）2026-08-09
   前提：同じ日の style_add.css は本番の style.css へ追記済み。
         このファイルは「そのさらに後ろ」に足す差分。
         style_add.css と内容の重複はありません。
   内容：新規クラス（.jisseki-single 系）のみ。既存クラスの上書き・変更は一切ありません。
   ============================================= */

/* ---------------------------------------------
   活動実績 詳細ページ — 基本レイアウト

   [jisseki_single_content]（functions.php）が出す
   .jisseki-single 配下のクラスは、すべて新規クラスです。
   見た目をお知らせ個別ページと完全に揃えるため、
   現行 style.css の .news-xxx と同じ値をそのまま写しています。

   | 追記するクラス        | 写した元（現行 style.css）        |
   |----------------------|----------------------------------|
   | .jisseki-single      | .single-news .news-single        |
   | .jisseki-single-meta | .news-single-meta（2か所の合成） |
   | .jisseki-date        | .news-date                       |
   | .jisseki-cat         | .news-cat                        |
   | .jisseki-single-title| .news-single-title（3か所の合成）|
   | .jisseki-single-body | .news-single-body                |
   | .jisseki-single-back | .news-single-back                |

   ※「合成」＝元は同じクラスを離れた2〜3か所で上書きしていたため、
     最終的に効いている値だけを1か所にまとめて書いています。
     お知らせ側の見た目とは同じになります。
   --------------------------------------------- */

/* タイトルを日付・カテゴリの上に出すための並び替え */
.single-jisseki .jisseki-single {
  display: flex;
  flex-direction: column;
}

.jisseki-single-title {
  order: -1;
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 40px;
}

/* 日付・カテゴリの1行 */
.jisseki-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2.5rem;
}

.jisseki-date {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  flex-shrink: 0;
  width: 100px;
}

.jisseki-cat {
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 6em;
  text-align: center;
  box-sizing: border-box;
}

/* 本文 */
.jisseki-single-body {
  font-size: var(--text-base);
  line-height: 2;
}
.jisseki-single-body p {
  margin: 0 0 1.5em;
}

/* 一覧へ戻るリンク */
.jisseki-single-back {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* SP：日付の固定幅を解除（.news-date と同じ扱い） */
@media (max-width: 768px) {
  .jisseki-date {
    width: auto;
  }
}

/* ---------------------------------------------
   本文の見出しデザイン
   --------------------------------------------- */
.single-jisseki .jisseki-single-body h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 0 0.7rem 1rem;
  border-left: 4px solid #ff9fc0;
  background: var(--rainbow) left bottom / 100% 2px no-repeat;
}

.single-jisseki .jisseki-single-body h3 {
  font-size: 1.2rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  padding: 0.2rem 0 0.2rem 0.85rem;
  border-left: 3px solid #ff9fc0;
}

/* =============================================
   記事本文の画像回り込み（alignleft / alignright）— 実績を追加
   ---------------------------------------------
   8/9に追記した回り込みの指定は、対象が
     .news-single-body … [news_single_content] の本文
     .blog-single-body … [blog_single_content] の本文
   の2つだけでした。実績の本文コンテナ

     .jisseki-single-body … [jisseki_single_content] の本文

   を同じ扱いにするための追記です。
   値は既存の指定とまったく同じで、対象が1つ増えるだけです。
   本文以外（トップページ等）には影響しません。
   ============================================= */

/* 左寄せ・右寄せ */
.jisseki-single-body .alignleft {
  float: left;
  max-width: 50%;
  height: auto;
  margin: 0 32px 24px 0;
}

.jisseki-single-body .alignright {
  float: right;
  max-width: 50%;
  height: auto;
  margin: 0 0 24px 32px;
}

/* 回り込み解除（クリアフィックス） */
.jisseki-single-body::after {
  content: "";
  display: block;
  clear: both;
}

/* 見出しは回り込ませない */
.jisseki-single-body h2,
.jisseki-single-body h3,
.jisseki-single-body h4 {
  clear: both;
}

/* SP（768px以下）は回り込みを解除して縦積みに戻す */
@media (max-width: 768px) {
  .jisseki-single-body .alignleft,
  .jisseki-single-body .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 24px;
  }
}

/* =============================================
   活動実績一覧：行全体を詳細ページへのリンクに
   ---------------------------------------------
   2026-08-09 追加
   ============================================= */

.pv-history-link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  width: 100%;
  color: inherit; /* 文字色はリンク色にせず本文色のまま */
  text-decoration: none;
  transition: opacity 0.2s;
}

/* 行全体が押せることを示す（ホバー時のみ・控えめに） */
.pv-history-link:hover {
  opacity: 0.65;
}

/* タイトルだけ下線を出して、リンクだと分かるようにする */
.pv-history-link:hover .pv-history-text {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* キーボード操作でも位置が分かるように */
.pv-history-link:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 4px;
}

/* ---------------------------------------------
   SP（768px以下）
   元の .pv-history-item と同じく縦積みにする。
   --------------------------------------------- */
@media (max-width: 768px) {
  .pv-history-link {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .pv-history-link .pv-history-text {
    flex-basis: 100%;
  }
}
