@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* =============================================
   Sakura Hero - ファーストビュー
   テーマカラー: くすみピンク・桜色系
   ============================================= */

/* CSS変数（カラーパレット） */
:root {
  --sakura-primary:   #c9637a; /* 深い桜色 */
  --sakura-light:     #e8a0b0; /* 明るい桜色 */
  --sakura-pale:      #f5dce3; /* 薄い桜色 */
  --sakura-dark:      #9e3d55; /* 濃い桜色 */
  --sakura-overlay:   rgba(30, 15, 20, 0.58); /* オーバーレイ */
  --sakura-text:      #ffffff;
  --sakura-gold:      #d4a96a; /* バッジのアクセント */
}

/* =============================================
   フォント設定
   ============================================= */

/* 本文：Noto Sans JP */
body,
p,
li,
td,
th,
label,
input,
textarea,
button,
select {
  font-family: 'Noto Sans JP', sans-serif;
}

/* 見出し：Noto Serif JP */
h1, h2, h3, h4, h5, h6,
.sakura-hero-title,
.greeting-heading,
.first-heading,
.reasons-heading,
.solutions-heading,
.cases-heading,
.reviews-heading,
.profile-heading,
.profile-quote,
.fee-heading,
.flow-heading,
.faq-heading,
.access-heading,
.contact-heading,
.custom-footer-logo-link {
  font-family: 'Noto Serif JP', serif;
}

/* 横スクロール防止 */
html, body {
  overflow-x: hidden;
}

/* =============================================
   フェードインアニメーション
   ============================================= */

.greeting-section,
.first-section,
.reasons-section,
.solutions-section,
.cases-section,
.reviews-section,
.profile-section,
.fee-section,
.flow-section,
.faq-section,
.access-section,
.contact-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.greeting-section.is-visible,
.first-section.is-visible,
.reasons-section.is-visible,
.solutions-section.is-visible,
.cases-section.is-visible,
.reviews-section.is-visible,
.profile-section.is-visible,
.fee-section.is-visible,
.flow-section.is-visible,
.faq-section.is-visible,
.access-section.is-visible,
.contact-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* アニメーション無効化の設定（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
  .greeting-section,
  .first-section,
  .reasons-section,
  .solutions-section,
  .cases-section,
  .reviews-section,
  .profile-section,
  .fee-section,
  .flow-section,
  .faq-section,
  .access-section,
  .contact-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ヒーローセクション全体 */
.sakura-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像ラッパー */
.sakura-hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1e0f14; /* 動画読み込み前の背景色 */
}

/* 背景画像本体 */
.sakura-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* オーバーレイ（半透明暗幕）*/
.sakura-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--sakura-overlay);
  /* 下部へ向かってやや濃くなるグラデーション */
  background: linear-gradient(
    160deg,
    rgba(30, 15, 20, 0.50) 0%,
    rgba(30, 15, 20, 0.65) 60%,
    rgba(30, 15, 20, 0.80) 100%
  );
}

/* コンテンツ中央配置 */
.sakura-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  width: 100%;
  animation: sakuraFadeUp 1s ease 0.2s both;
}

/* 実績バッジ */
.sakura-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(232, 160, 176, 0.6);
  color: var(--sakura-pale);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}

.sakura-hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--sakura-primary);
  border-radius: 50%;
  font-size: 0.7rem;
  color: #fff;
}

/* キャッチコピー */
.sakura-hero-title {
  color: var(--sakura-text) !important;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* サブテキスト */
.sakura-hero-subtitle {
  color: var(--sakura-pale) !important;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.15em;
  margin: 0 0 44px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* CTAボタン */
.sakura-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sakura-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 44px;
  border-radius: 4px;
  border: 2px solid var(--sakura-primary);
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 6px 30px rgba(201, 99, 122, 0.45);
  position: relative;
  overflow: hidden;
}

.sakura-hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.sakura-hero-btn:hover::before {
  transform: translateX(0);
}

.sakura-hero-btn:hover {
  background: var(--sakura-dark);
  border-color: var(--sakura-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201, 99, 122, 0.55);
}

.sakura-hero-btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.sakura-hero-btn:hover .sakura-hero-btn-arrow {
  transform: translateX(4px);
}

/* スクロール促進インジケーター */
.sakura-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: sakuraFadeUp 1s ease 1s both;
}

.sakura-hero-scroll-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}

.sakura-hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: sakuraScrollLine 1.8s ease-in-out infinite;
}

/* アニメーション */
@keyframes sakuraFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sakuraScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ヒーロー直後のCocoonラッパー余白調整 */
.sakura-hero ~ #wrapper {
  margin-top: 0;
}

/* =============================================
   レスポンシブ
   ============================================= */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .sakura-hero-title {
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .sakura-hero-content {
    padding: 0 20px;
  }
  .sakura-hero-btn {
    padding: 16px 32px;
    font-size: 1rem;
  }
  .sakura-hero-badge {
    font-size: 0.8rem;
    padding: 7px 16px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .sakura-hero-title {
    font-size: 1.5rem;
    line-height: 1.8;
  }
  .sakura-hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
  .sakura-hero-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }
  .sakura-hero-scroll {
    bottom: 20px;
  }
}

/* =============================================
   代表挨拶セクション
   ============================================= */

.greeting-section {
  background-color: #fdf8f8;
  padding: 80px 24px;
}

.greeting-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}

/* 代表写真 */
.greeting-photo-wrap {
  flex: 0 0 260px;
}

.greeting-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 32px rgba(201, 99, 122, 0.15);
  background-color: var(--sakura-pale); /* 画像未設置時のプレースホルダー */
}

/* テキストエリア */
.greeting-text-wrap {
  flex: 1;
}

.greeting-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 8px;
  position: relative;
  padding-bottom: 16px;
}

.greeting-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.greeting-body {
  font-size: 1rem;
  line-height: 2;
  color: #4a3840;
  margin: 20px 0 28px;
}

.greeting-signature {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7a4a5a;
  letter-spacing: 0.1em;
  text-align: right;
}

/* レスポンシブ：768px以下で縦並び */
@media screen and (max-width: 768px) {
  .greeting-inner {
    flex-direction: column;
    gap: 32px;
  }

  .greeting-photo-wrap {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .greeting-photo {
    height: 280px;
  }

  .greeting-heading {
    font-size: 1.4rem;
  }

  .greeting-section {
    padding: 56px 20px;
  }
}

@media screen and (max-width: 480px) {
  .greeting-photo-wrap {
    max-width: 220px;
  }

  .greeting-photo {
    height: 240px;
  }

  .greeting-body {
    font-size: 0.95rem;
  }
}

/* =============================================
   初めての方へセクション
   ============================================= */

.first-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.first-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.first-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.first-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.first-lead {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--sakura-dark);
  margin: 0 0 28px;
  background: rgba(255, 255, 255, 0.65);
  border-left: 3px solid var(--sakura-light);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  text-align: left;
}

.first-body {
  font-size: 1rem;
  line-height: 2.1;
  color: #4a3840;
  margin: 0 0 44px;
  text-align: left;
}

/* CTAボタン */
.first-btn-wrap {
  text-align: center;
}

.first-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--sakura-primary) !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 40px;
  border-radius: 4px;
  border: 2px solid var(--sakura-primary);
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.2);
}

.first-btn:hover {
  background: var(--sakura-primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 99, 122, 0.4);
}

.first-btn-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s;
}

.first-btn:hover .first-btn-arrow {
  transform: translateX(4px);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .first-section {
    padding: 56px 20px;
  }

  .first-heading {
    font-size: 1.4rem;
  }

  .first-lead {
    font-size: 1rem;
    padding: 16px 18px;
  }
}

@media screen and (max-width: 480px) {
  .first-body {
    font-size: 0.95rem;
  }

  .first-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   選ばれる3つの理由セクション
   ============================================= */

.reasons-section {
  background-color: #fff;
  padding: 80px 24px;
}

.reasons-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ヘッダー */
.reasons-header {
  text-align: center;
  margin-bottom: 56px;
}

.reasons-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.reasons-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.reasons-subheading {
  font-size: 0.9rem;
  color: #9e7a85;
  letter-spacing: 0.15em;
  margin: 0;
}

/* カードグリッド */
.reasons-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 個別カード */
.reasons-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reasons-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(201, 99, 122, 0.18);
}

/* アイコン */
.reasons-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--sakura-pale);
  border-radius: 50%;
  color: var(--sakura-primary);
}

.reasons-card-icon svg {
  width: 32px;
  height: 32px;
}

/* カードタイトル */
.reasons-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

/* カード本文 */
.reasons-card-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #5a4050;
  margin: 0;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .reasons-section {
    padding: 56px 20px;
  }

  .reasons-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reasons-card {
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .reasons-card-icon {
    margin: 0 0 20px;
  }

  .reasons-heading {
    font-size: 1.4rem;
  }

  .reasons-header {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 480px) {
  .reasons-card-title {
    font-size: 1rem;
  }

  .reasons-card-body {
    font-size: 0.9rem;
  }
}

/* =============================================
   私たちが解決できることセクション
   ============================================= */

.solutions-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.solutions-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ヘッダー */
.solutions-header {
  text-align: center;
  margin-bottom: 56px;
}

.solutions-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.solutions-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.solutions-subheading {
  font-size: 0.95rem;
  color: #7a4a5a;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin: 0;
}

/* カードグリッド */
.solutions-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 個別カード */
.solutions-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 36px 20px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solutions-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(201, 99, 122, 0.18);
}

/* アイコン */
.solutions-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--sakura-pale);
  border-radius: 50%;
  color: var(--sakura-primary);
}

.solutions-card-icon svg {
  width: 30px;
  height: 30px;
}

/* カードタイトル */
.solutions-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

/* カード本文 */
.solutions-card-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #5a4050;
  margin: 0;
}

/* レスポンシブ */
@media screen and (max-width: 900px) {
  .solutions-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .solutions-section {
    padding: 56px 20px;
  }

  .solutions-heading {
    font-size: 1.4rem;
  }

  .solutions-header {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 480px) {
  .solutions-cards {
    grid-template-columns: 1fr;
  }

  .solutions-card {
    padding: 28px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .solutions-card-icon {
    margin: 0 0 16px;
  }

  .solutions-card-body {
    font-size: 0.88rem;
  }
}

/* =============================================
   解決事例セクション
   ============================================= */

.cases-section {
  background-color: #fff;
  padding: 80px 24px;
}

.cases-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ヘッダー */
.cases-header {
  text-align: center;
  margin-bottom: 52px;
}

.cases-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.cases-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* 事例リスト */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 52px;
}

/* 個別カード */
.cases-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 32px 32px 28px;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cases-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(201, 99, 122, 0.15);
}

/* CASEラベル */
.cases-card-label {
  display: inline-block;
  background: var(--sakura-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* カテゴリタグ */
.cases-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sakura-primary);
  border: 1px solid var(--sakura-primary);
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

/* カードタイトル */
.cases-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  line-height: 1.6;
}

/* カード本文 */
.cases-card-body {
  font-size: 0.93rem;
  line-height: 1.85;
  color: #4a3840;
  margin: 0;
}

/* CTAボタン */
.cases-btn-wrap {
  text-align: center;
}

.cases-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sakura-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 44px;
  border-radius: 4px;
  border: 2px solid var(--sakura-primary);
  box-shadow: 0 6px 24px rgba(201, 99, 122, 0.35);
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cases-btn:hover {
  background: var(--sakura-dark);
  border-color: var(--sakura-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 99, 122, 0.45);
}

.cases-btn-arrow {
  transition: transform 0.2s;
}

.cases-btn:hover .cases-btn-arrow {
  transform: translateX(4px);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .cases-section {
    padding: 56px 20px;
  }

  .cases-card {
    padding: 24px 20px 22px;
  }

  .cases-heading {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .cases-card-title {
    font-size: 1rem;
  }

  .cases-card-body {
    font-size: 0.88rem;
  }

  .cases-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
  }
}

/* =============================================
   お客様の声・口コミセクション
   ============================================= */

.reviews-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.reviews-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ヘッダー */
.reviews-header {
  text-align: center;
  margin-bottom: 52px;
}

.reviews-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.reviews-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* カードグリッド */
.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 個別カード */
.reviews-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 36px 28px 28px;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 引用符装飾 */
.reviews-quote {
  position: absolute;
  top: 16px;
  left: 22px;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--sakura-pale);
  pointer-events: none;
  user-select: none;
}

/* 星評価 */
.reviews-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.reviews-star {
  font-size: 1.1rem;
  color: var(--sakura-gold);
}

/* 本文 */
.reviews-card-body {
  font-size: 0.93rem;
  line-height: 1.9;
  color: #4a3840;
  margin: 0 0 20px;
  flex: 1;
}

/* 属性 */
.reviews-card-attr {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9e7a85;
  letter-spacing: 0.06em;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #f0e0e5;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .reviews-section {
    padding: 56px 20px;
  }

  .reviews-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-heading {
    font-size: 1.4rem;
  }

  .reviews-header {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 480px) {
  .reviews-card {
    padding: 28px 20px 22px;
  }

  .reviews-quote {
    font-size: 3rem;
    top: 12px;
    left: 16px;
  }

  .reviews-card-body {
    font-size: 0.88rem;
  }
}

/* =============================================
   代表弁護士プロフィールセクション
   ============================================= */

.profile-section {
  background-color: #fff;
  padding: 80px 24px;
}

.profile-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* 上部アルファベット eyebrow */
.profile-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #ccc;
  margin-bottom: 10px;
}

/* 見出し */
.profile-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 52px;
  position: relative;
  padding-bottom: 16px;
  display: block;
}

.profile-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* 左右レイアウト */
.profile-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

/* 写真 */
.profile-photo-wrap {
  flex: 0 0 280px;
}

.profile-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 32px rgba(201, 99, 122, 0.15);
  background-color: var(--sakura-pale);
}

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

/* キャッチ引用 */
.profile-quote {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sakura-dark);
  line-height: 1.7;
  margin: 0 0 28px;
  padding: 20px 24px;
  border-left: 4px solid var(--sakura-primary);
  background: #fdf8f8;
  border-radius: 0 6px 6px 0;
  font-style: normal;
}

/* 本文 */
.profile-body {
  font-size: 0.97rem;
  line-height: 2;
  color: #4a3840;
  margin: 0 0 16px;
}

.profile-body:last-of-type {
  margin-bottom: 32px;
}

/* 経歴タイムライン */
.profile-timeline {
  border-top: 1px solid #f0e0e5;
  padding-top: 24px;
}

.profile-timeline-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sakura-primary);
  margin-bottom: 16px;
}

.profile-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 縦線 */
.profile-timeline-list::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 7px;
  width: 2px;
  bottom: 6px;
  background: linear-gradient(to bottom, var(--sakura-light), var(--sakura-pale));
  border-radius: 2px;
}

.profile-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 20px 0;
  position: relative;
}

.profile-timeline-item:last-child {
  padding-bottom: 0;
}

/* ドット */
.profile-timeline-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--sakura-primary);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.profile-timeline-text {
  font-size: 0.92rem;
  color: #4a3840;
  line-height: 1.6;
}

/* 資格ブロック */
.profile-qualifications {
  margin-top: 28px;
}

.profile-qualifications-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sakura-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sakura-pale);
}

.profile-qualifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-qualifications-list li {
  font-size: 0.92rem;
  color: #4a3840;
  padding-left: 1.2em;
  position: relative;
  line-height: 1.6;
}

.profile-qualifications-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--sakura-light);
}

/* 趣味・人となりブロック */
.profile-personal {
  margin-top: 28px;
}

.profile-personal-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sakura-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sakura-pale);
}

.profile-personal-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-personal-row {
  display: flex;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid #f5edf0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.profile-personal-row dt {
  flex-shrink: 0;
  width: 7em;
  color: #888;
  font-weight: 500;
}

.profile-personal-row dd {
  color: #4a3840;
  margin: 0;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .profile-section {
    padding: 56px 20px;
  }

  .profile-layout {
    flex-direction: column;
    gap: 32px;
  }

  .profile-photo-wrap {
    flex: none;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .profile-photo {
    height: 300px;
  }

  .profile-heading {
    font-size: 1.4rem;
    margin-bottom: 36px;
  }
}

@media screen and (max-width: 480px) {
  .profile-quote {
    font-size: 1rem;
    padding: 16px 18px;
  }

  .profile-body {
    font-size: 0.92rem;
  }

  .profile-photo-wrap {
    max-width: 200px;
  }

  .profile-photo {
    height: 240px;
  }
}

/* =============================================
   料金セクション
   ============================================= */

.fee-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.fee-inner {
  max-width: 960px;
  margin: 0 auto;
}

.fee-header {
  text-align: center;
  margin-bottom: 52px;
}

.fee-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.fee-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.fee-subheading {
  font-size: 0.93rem;
  color: #7a4a5a;
  line-height: 1.7;
  margin: 0;
}

/* レイアウト */
.fee-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.fee-layout--single {
  justify-content: center;
}

/* 初回相談カード */
.fee-free-card {
  flex: 0 0 360px;
  background: #fff;
  border: 2px solid var(--sakura-primary);
  border-radius: 12px;
  padding: 36px 36px 32px;
  text-align: center;
  box-shadow: 0 6px 28px rgba(201, 99, 122, 0.12);
}

.fee-free-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sakura-primary);
  margin-bottom: 16px;
}

.fee-free-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  line-height: 1;
}

.fee-free-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sakura-primary);
}

.fee-free-amount {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--sakura-primary);
  letter-spacing: -0.02em;
}

.fee-free-unit {
  font-size: 0.9rem;
  color: #9e7a85;
  font-weight: 600;
}

.fee-free-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #5a4050;
  margin: 0 0 16px;
}

.fee-free-note {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #9e7a85;
  margin: 0 0 24px;
  padding: 12px 16px;
  background: var(--sakura-pale);
  border-radius: 6px;
  text-align: left;
}

.fee-free-btn {
  display: inline-block;
  background: var(--sakura-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px 32px;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(201, 99, 122, 0.35);
}

.fee-free-btn:hover {
  background: var(--sakura-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 99, 122, 0.45);
}

/* 費用テーブル */
.fee-table-wrap {
  flex: 1;
}

.fee-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.07);
}

.fee-table th:first-child,
.fee-table td:first-child {
  width: 62%;
}

.fee-table thead tr {
  background: var(--sakura-primary);
  color: #fff;
}

.fee-table th {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  background: var(--sakura-primary) !important;
  color: #fff !important;
}

.fee-table tbody tr {
  border-bottom: 1px solid #f0e0e5;
  transition: background 0.2s;
}

.fee-table tbody tr:last-child {
  border-bottom: none;
}

.fee-table tbody tr:hover {
  background: #fdf8f8;
}

.fee-table td {
  padding: 16px 20px;
  font-size: 0.93rem;
  color: #4a3840;
}

.fee-table td:last-child {
  font-weight: 700;
  color: var(--sakura-dark);
  white-space: nowrap;
}

/* 表内の「着手金」「報酬」区切り行 */
.fee-table tr.fee-table-subhead td {
  background: var(--sakura-pale);
  color: var(--sakura-dark);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  white-space: normal;
}

.fee-table tr.fee-table-subhead:hover td {
  background: var(--sakura-pale);
}

.fee-table-note {
  font-size: 0.78rem;
  color: #9e7a85;
  margin: 10px 0 0;
  text-align: right;
}

/* 着手金・成功報酬テーブルセクション */
.fee-table-section {
  margin-top: 56px;
}

.fee-table-intro {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #5a4050;
  background: var(--sakura-pale);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 32px;
}

.fee-table-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sakura-dark);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--sakura-primary);
}

.fee-table-wrap + .fee-table-title {
  margin-top: 40px;
}

.fee-table-note--emphasis {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sakura-dark);
  margin: 28px 0 0;
}

/* スマホ幅：金額列に十分な幅を確保しつつ、数字の途中で折り返さないようにする
   （項目名側は折り返してよいが、「20%」等の数値・単位は途中で割れると読みにくいため nowrap を維持し、
   その分の幅を金額列に多めに配分する） */
@media screen and (max-width: 600px) {
  .fee-table th:first-child,
  .fee-table td:first-child {
    width: 44%;
  }

  .fee-table td:last-child {
    white-space: nowrap;
  }
}

@media screen and (max-width: 768px) {
  .fee-section {
    padding: 56px 20px;
  }

  .fee-layout {
    flex-direction: column;
  }

  .fee-free-card {
    flex: none;
    width: 100%;
  }

  .fee-heading {
    font-size: 1.4rem;
  }
}

/* =============================================
   ご相談の流れセクション
   ============================================= */

.flow-section {
  background-color: #fff;
  padding: 80px 24px;
}

.flow-inner {
  max-width: 960px;
  margin: 0 auto;
}

.flow-header {
  text-align: center;
  margin-bottom: 52px;
}

.flow-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.flow-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* ステップ全体 */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* 個別ステップ */
.flow-step {
  flex: 1;
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 10px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 3px 16px rgba(201, 99, 122, 0.07);
}

/* STEP番号 */
.flow-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9e7a85;
  margin-bottom: 8px;
}

.flow-step-num span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--sakura-primary);
  line-height: 1.1;
  letter-spacing: 0;
}

.flow-step-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #3a2030;
  margin: 0 0 10px;
}

.flow-step-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: #5a4050;
  margin: 0;
}

/* 矢印 */
.flow-arrow {
  flex-shrink: 0;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}

.flow-arrow::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid var(--sakura-light);
  border-right: 2.5px solid var(--sakura-light);
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .flow-section {
    padding: 56px 20px;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-step {
    width: 100%;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 20px;
  }

  .flow-step-num {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
  }

  .flow-arrow {
    width: auto;
    height: 28px;
    padding-top: 0;
  }

  .flow-arrow::after {
    transform: rotate(135deg);
  }

  .flow-heading {
    font-size: 1.4rem;
  }
}

/* =============================================
   FAQセクション
   ============================================= */

.faq-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.faq-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* アコーディオンリスト */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(201, 99, 122, 0.06);
}

/* サマリー（質問行） */
.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}

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

.faq-item[open] .faq-question {
  background: #fdf8f8;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--sakura-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q-text {
  flex: 1;
  font-size: 0.97rem;
  font-weight: 700;
  color: #3a2030;
  line-height: 1.5;
}

/* 開閉シェブロン */
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq-chevron::before {
  left: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.faq-chevron::after {
  right: 1px;
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item[open] .faq-chevron::before {
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item[open] .faq-chevron::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 回答エリア */
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px 20px;
  border-top: 1px solid #f0e0e5;
  background: #fffafa;
}

.faq-a-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--sakura-pale);
  color: var(--sakura-primary);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-a-text {
  flex: 1;
  font-size: 0.93rem;
  line-height: 1.85;
  color: #4a3840;
  margin: 0;
  padding-top: 4px;
}

@media screen and (max-width: 768px) {
  .faq-section {
    padding: 56px 20px;
  }

  .faq-heading {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .faq-question {
    padding: 16px 16px;
    gap: 10px;
  }

  .faq-q-text {
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 14px 16px 16px;
    gap: 10px;
  }

  .faq-a-text {
    font-size: 0.88rem;
  }
}

/* =============================================
   アクセスセクション
   ============================================= */

.access-section {
  background-color: #fff;
  padding: 80px 24px;
}

.access-inner {
  max-width: 960px;
  margin: 0 auto;
}

.access-header {
  text-align: center;
  margin-bottom: 52px;
}

.access-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.access-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

/* 左右レイアウト */
.access-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* テキスト情報 */
.access-info {
  flex: 0 0 300px;
}

.access-dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.access-dl-row {
  display: flex;
  gap: 0;
  padding: 18px 0;
  border-bottom: 1px solid #f0e0e5;
}

.access-dl-row:first-child {
  border-top: 1px solid #f0e0e5;
}

.access-dt {
  flex-shrink: 0;
  width: 90px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.access-dd {
  flex: 1;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #4a3840;
  margin: 0;
}

/* Googleマップエリア */
.access-map-wrap {
  flex: 1;
  width: 100%;
  height: 340px;
  background: #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.access-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media screen and (max-width: 768px) {
  .access-section {
    padding: 56px 20px;
  }

  .access-layout {
    flex-direction: column;
    gap: 32px;
  }

  .access-info {
    flex: none;
    width: 100%;
  }

  .access-map-wrap {
    height: 280px;
  }

  .access-heading {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .access-map-wrap {
    height: 220px;
  }

  .access-dt {
    width: 76px;
  }
}

/* =============================================
   375px（小型スマホ）専用の補完修正
   ============================================= */

@media screen and (max-width: 375px) {

  /* ヒーロー */
  .sakura-hero-title {
    font-size: 1.35rem;
    line-height: 1.85;
  }
  .sakura-hero-btn {
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  /* 料金テーブル：数値の途中で折り返さない（600px時点の指定を維持） */
  .fee-table td:last-child {
    white-space: nowrap;
  }
  .fee-table td,
  .fee-table th {
    padding: 12px 12px;
    font-size: 0.85rem;
  }

  /* 流れステップ */
  .flow-step {
    padding: 16px 14px;
    gap: 14px;
  }
  .flow-step-title {
    font-size: 0.92rem;
  }
  .flow-step-text {
    font-size: 0.82rem;
  }

  /* アクセスDT幅：「最寄り駅」などの長いラベルに対応 */
  .access-dl-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }
  .access-dt {
    width: auto;
  }

  /* FAQ */
  .faq-q-text {
    font-size: 0.85rem;
  }

  /* お問い合わせカード */
  .contact-card {
    padding: 20px 14px 18px;
  }

  /* フッターナビ */
  .custom-footer-nav-list {
    gap: 6px 14px;
  }
}

/* =============================================
   Cocoon デフォルトヘッダーの上書き
   （フロントページではカスタムヘッダーを使用）
   ============================================= */

/* フロントページのCocoonヘッダーを非表示 */
.home #header,
.front-page #header {
  display: none !important;
}

/* ヒーロー直後のCocoonヘッダー配置（サブページ用に残す） */
.sakura-hero + #header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent !important;
}

/* Cocoonデフォルトフッターを非表示（カスタムフッターに置き換え） */
#footer .footer-container,
#footer .footer-widgets,
#footer .footer-bottom,
#footer > .container {
  display: none !important;
}

/* =============================================
   カスタム固定ヘッダー
   ============================================= */

.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* WordPress管理バー（#wpadminbar、ログイン中のみ表示。z-index:99999）より上に出す。
     スマホ幅では管理バーがpositon:absoluteになりページ最上部でだけ固定ヘッダーと重なり、
     ハンバーガーボタンが押せなくなる（一般訪問者には管理バー自体が表示されないため無関係）。
     2026-09-18 修正 */
  z-index: 100000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  /* iOS Safariで固定ヘッダーがスクロール中に背後のコンテンツを透過表示してしまう
     不具合（fixed + backdrop-filter の組み合わせで再描画が遅延する既知の問題）を
     避けるため、GPU合成レイヤーに乗せておく（2026-09-18） */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* スクロール前：透明（ヒーロー上） */
.custom-header:not(.is-scrolled) {
  background: transparent;
}

/* スクロール後：白背景＋影（完全に不透明にし、backdrop-filterは使わない。
   0.97透過＋blurの組み合わせがiOS Safariでのスクロール中の透け表示の原因だったため2026-09-18に変更） */
.custom-header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(201, 99, 122, 0.12);
}

.custom-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ロゴ */
.custom-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #fff;
  transition: color 0.3s;
}

.custom-header.is-scrolled .custom-header-logo {
  color: var(--sakura-primary);
}

.custom-header-logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  opacity: 1;
}

.custom-header-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 右側エリア */
.custom-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 電話番号 */
.custom-header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.custom-header.is-scrolled .custom-header-tel {
  color: var(--sakura-dark);
}

.custom-header-tel svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ヘッダーCTAボタン */
.custom-header-cta {
  display: inline-block;
  background: var(--sakura-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 3px 14px rgba(201, 99, 122, 0.4);
}

/* 通常はフル文言、狭い画面幅では短縮版に切り替える（600px以下は下のメディアクエリで反転） */
.custom-header-cta-short {
  display: none;
}

.custom-header-cta:hover {
  background: var(--sakura-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 99, 122, 0.5);
}

/* スクロール時にヘッダーが縮む */
.custom-header-inner {
  transition: height 0.35s ease;
}
.custom-header.is-scrolled .custom-header-inner {
  height: 56px;
}

/* =============================================
   グローバルナビゲーション（PC）
   ============================================= */

.global-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.global-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.global-nav-list li {
  margin: 0;
  padding: 0;
}

.global-nav-list li a,
.global-nav-link {
  display: block;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: color 0.25s;
}

/* スクロール後はダーク色に */
.custom-header.is-scrolled .global-nav-list li a,
.custom-header.is-scrolled .global-nav-link {
  color: #3a2026;
}

/* ホバー */
.global-nav-list li a:hover,
.global-nav-link:hover {
  color: var(--sakura-primary) !important;
}

/* アクティブ状態：桜色アンダーライン */
.global-nav-list li a::after,
.global-nav-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.global-nav-list li a:hover::after,
.global-nav-link:hover::after,
.global-nav-list li a.is-active::after,
.global-nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

.global-nav-list li a.is-active,
.global-nav-link.is-active {
  color: var(--sakura-primary) !important;
}

/* =============================================
   ハンバーガーボタン
   ============================================= */

.hamburger-btn {
  display: none; /* PC では非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.custom-header.is-scrolled .hamburger-line {
  background: #3a2026;
}

/* メニューが開いているとき（×に変化） */
.hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #fff;
}
.hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #fff;
}

/* =============================================
   モバイルメニュー（フルスクリーン）
   ============================================= */

/* 背景オーバーレイ */
.mobile-menu-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 20, 0.6);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu-bg.is-open {
  opacity: 1;
}

/* メニュー本体 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: #fdf8f9;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

/* 閉じるボタン */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #3a2026;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: var(--sakura-pale);
}

/* モバイルナビリスト */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--sakura-pale);
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #3a2026 !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-link::after {
  content: '→';
  font-size: 0.85rem;
  color: var(--sakura-light);
  transition: transform 0.2s;
}

.mobile-nav-link:hover {
  color: var(--sakura-primary) !important;
  padding-left: 8px;
}

.mobile-nav-link:hover::after {
  transform: translateX(4px);
}

/* モバイルメニューのフッター（電話・CTA） */
.mobile-nav-footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sakura-dark) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  background: var(--sakura-primary);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(201, 99, 122, 0.4);
  transition: background 0.25s, transform 0.2s;
}

.mobile-nav-cta:hover {
  background: var(--sakura-dark);
  transform: translateY(-1px);
}

/* =============================================
   レスポンシブ：ナビ切り替えブレークポイント
   ============================================= */

/* 1080px 以下はナビを非表示、ハンバーガーを表示 */
@media screen and (max-width: 1080px) {
  .global-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
  .custom-header-tel span {
    display: none;
  }

  /* ヘッダーを2段組みに変更：1段目＝ロゴ＋電話＋ハンバーガー、2段目＝ボタン（横幅いっぱい） */
  .custom-header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 58px;
    padding: 10px 16px;
    row-gap: 10px;
  }

  .custom-header-logo {
    order: 1;
  }

  /* ラッパーを見えない存在にして、中の電話・ボタン・ハンバーガーをヘッダー全体の並び順に直接組み込む */
  .custom-header-right {
    display: contents;
  }

  .custom-header-tel {
    order: 2;
  }

  .hamburger-btn {
    order: 3;
  }

  /* ヘッダー内の予約ボタンはスマホ幅では非表示（2026-09-19、ユーザー指示）。
     2段目に置いていたが、ハンバーガーメニューを開いたときにメニュー1項目目（代表挨拶）と重なるため廃止。
     予約導線はメニュー下部のボタン・ヒーロー・料金・CTAバー・フォームに残っている。
     これによりスマホのヘッダーは1段（約58px）に戻る */
  .custom-header-cta {
    display: none;
  }

  /* スクロール時にヘッダーを56pxへ縮めるPC用ルール（.custom-header.is-scrolled .custom-header-inner）の
     打ち消し（2026-09-18）。1段になった今も、高さは内容に合わせる */
  .custom-header.is-scrolled .custom-header-inner {
    height: auto;
    min-height: 58px;
  }
}

/* モバイルメニューはJSで表示制御するため、初期は非表示 */
@media screen and (max-width: 1080px) {
  .mobile-menu-bg {
    display: block;
    pointer-events: none;
  }
  .mobile-menu-bg.is-open {
    pointer-events: auto;
  }
}

/* =============================================
   お問い合わせフォームセクション
   ============================================= */

.contact-section {
  background-color: #fdf0f0;
  padding: 80px 24px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 44px;
}

.contact-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-primary);
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.contact-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--sakura-primary);
  border-radius: 2px;
}

.contact-subtext {
  font-size: 0.9rem;
  color: #7a4a5a;
  margin: 0;
  letter-spacing: 0.04em;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sakura-primary);
  margin: 0 0 10px;
}

.contact-notes {
  max-width: 560px;
  margin: 20px auto 0;
  padding: 16px 20px;
  background: var(--sakura-pale);
  border-radius: 8px;
  text-align: left;
}

.contact-notes p {
  font-size: 0.82rem;
  line-height: 1.85;
  color: #7a4a5a;
  margin: 0 0 10px;
}

.contact-notes p:last-child {
  margin-bottom: 0;
}

/* カード */
.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 44px 44px 40px;
  box-shadow: 0 6px 32px rgba(201, 99, 122, 0.1);
}

/* ----- プレビューフォーム（CF7未導入時）----- */
.contact-form-preview {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3a2030;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-required {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--sakura-primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

.contact-form-optional {
  font-size: 0.72rem;
  color: #aaa;
  font-weight: 400;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0d0d5;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #3a2030;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: var(--sakura-primary);
  box-shadow: 0 0 0 3px rgba(201, 99, 122, 0.12);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #bbb;
}

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

/* チェックボックス行 */
.contact-form-row--privacy {
  margin-top: 4px;
}

.contact-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.contact-form-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sakura-primary);
  cursor: pointer;
}

.contact-form-checkbox-text {
  font-size: 0.88rem;
  color: #5a4050;
  line-height: 1.6;
}

.contact-form-checkbox-text a {
  color: var(--sakura-primary);
  text-decoration: underline;
}

/* 送信ボタン */
.contact-form-submit-wrap {
  text-align: center;
  margin-top: 8px;
}

.contact-form-submit {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  background: var(--sakura-primary);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 6px 24px rgba(201, 99, 122, 0.4);
  font-family: inherit;
}

.contact-form-submit:hover {
  background: var(--sakura-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 99, 122, 0.5);
}

/* ----- Contact Form 7 スタイル上書き ----- */
.contact-card .wpcf7 {
  padding: 0;
}

.contact-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card .wpcf7-form p {
  margin: 0;
}

.contact-card .wpcf7-text,
.contact-card .wpcf7-email,
.contact-card .wpcf7-tel,
.contact-card .wpcf7-textarea {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 1.5px solid #e0d0d5 !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  color: #3a2030 !important;
  background: #fff !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.contact-card .wpcf7-text:focus,
.contact-card .wpcf7-email:focus,
.contact-card .wpcf7-tel:focus,
.contact-card .wpcf7-textarea:focus {
  border-color: var(--sakura-primary) !important;
  box-shadow: 0 0 0 3px rgba(201, 99, 122, 0.12) !important;
}

.contact-card .wpcf7-submit {
  display: block !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 8px auto 0 !important;
  background: var(--sakura-primary) !important;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  padding: 18px 40px !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.25s, transform 0.2s !important;
  box-shadow: 0 6px 24px rgba(201, 99, 122, 0.4) !important;
}

.contact-card .wpcf7-submit:hover {
  background: var(--sakura-dark) !important;
  transform: translateY(-2px) !important;
}

/* フォームセクション レスポンシブ */
@media screen and (max-width: 768px) {
  .contact-section {
    padding: 56px 20px;
  }

  .contact-card {
    padding: 32px 24px 28px;
  }

  .contact-heading {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-card {
    padding: 24px 16px 20px;
  }

  .contact-form-submit {
    font-size: 0.97rem;
    padding: 16px 24px;
  }
}

/* 送信ボタン（CF7 の <input type="submit"> は文字を折り返せないため、
   スマホ幅では文字サイズ・字間・左右余白を詰めて「無料離婚法律相談（30分）を予約する →」が
   1行に収まるようにする。.contact-card .wpcf7-submit 側が !important なので同じ強さで上書き） */
@media screen and (max-width: 600px) {
  .contact-card .wpcf7-submit,
  .contact-form-submit {
    font-size: 0.88rem !important;
    letter-spacing: 0.02em !important;
    padding: 16px 8px !important;
    max-width: 100% !important;
  }
}
@media screen and (max-width: 360px) {
  .contact-card .wpcf7-submit,
  .contact-form-submit {
    font-size: 0.78rem !important;
    letter-spacing: 0 !important;
    padding: 14px 6px !important;
  }
}

/* =============================================
   カスタムフッター
   ============================================= */

.custom-footer {
  background: #2a1520;
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 24px 32px;
}

.custom-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* ロゴ */
.custom-footer-logo {
  text-align: center;
}

.custom-footer-logo-link {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.custom-footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  margin: 6px 0 0;
}

.custom-footer-bar {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
  margin: 10px 0 0;
}

/* ナビゲーション */
.custom-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
}

.custom-footer-nav-list a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.custom-footer-nav-list a:hover {
  color: var(--sakura-light) !important;
}

/* ボトムバー */
.custom-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  width: 100%;
  text-align: center;
}

.custom-footer-privacy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: underline !important;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.custom-footer-privacy:hover {
  color: var(--sakura-light) !important;
}

.custom-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .custom-footer {
    padding: 44px 20px 28px;
  }

  .custom-footer-nav-list {
    gap: 8px 16px;
  }
}

/* =============================================
   WordPress / Cocoon デフォルト要素の整理
   ============================================= */

/* ── サイドバー：全ページで非表示（ワンページ構成） ── */
#sidebar,
.sidebar,
.widget-area,
.widget,
[id*="sidebar"] {
  display: none !important;
}

/* サイドバー非表示に伴いメインカラムを全幅に */
#main,
.main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* コンテンツラッパーも全幅に */
#contents,
.contents,
.content-in,
.contents-in {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── フロントページ：Cocoon投稿エリアを完全非表示 ── */
.home #main,
.front-page #main,
.home .main,
.front-page .main {
  display: none !important;
}

/* ── フロントページ：パンくずリスト ── */
.home #breadcrumb,
.home .breadcrumb,
.home .breadcrumbs,
.home .site-breadcrumb,
.front-page #breadcrumb,
.front-page .breadcrumb,
.front-page .breadcrumbs,
.front-page .site-breadcrumb {
  display: none !important;
}

/* ── フロントページ：投稿日・更新日・投稿メタ情報 ── */
.home .post-date,
.home .entry-date,
.home .post-meta,
.home .entry-meta,
.home .post-header .meta,
.home time[datetime],
.front-page .post-date,
.front-page .entry-date,
.front-page .post-meta,
.front-page .entry-meta,
.front-page .post-header .meta,
.front-page time[datetime] {
  display: none !important;
}

/* ── フロントページ：著者情報ボックス ── */
.home .author-box,
.home .author-widget-box,
.home .author-info,
.home .author-content-info,
.home .article-author,
.front-page .author-box,
.front-page .author-widget-box,
.front-page .author-info,
.front-page .author-content-info,
.front-page .article-author {
  display: none !important;
}

/* ── フロントページ：関連記事 ── */
.home .related-entry-section,
.home .related-entries,
.home .releted-entries,
.home .related-entry-wrap,
.home .related-entry-heading,
.front-page .related-entry-section,
.front-page .related-entries,
.front-page .releted-entries,
.front-page .related-entry-wrap,
.front-page .related-entry-heading {
  display: none !important;
}

/* ── フロントページ：コメント欄 ── */
.home #comments,
.home .comment-area,
.home .comment-section,
.home .comment-respond,
.home .wp-block-comments,
.front-page #comments,
.front-page .comment-area,
.front-page .comment-section,
.front-page .comment-respond,
.front-page .wp-block-comments {
  display: none !important;
}

/* ── フロントページ：投稿ナビ・ページネーション ── */
.home .post-navi,
.home .post-pagination,
.home .pager-links,
.home .pagination,
.front-page .post-navi,
.front-page .post-pagination,
.front-page .pager-links,
.front-page .pagination {
  display: none !important;
}

/* ── フロントページ：Hello World など記事タイトル・エントリヘッダー ── */
.home .entry-header,
.home .post-header,
.home .article-header,
.front-page .entry-header,
.front-page .post-header,
.front-page .article-header {
  display: none !important;
}

/* ── Cocoon の「管理バー下マージン」をフロントページで調整 ── */
.home #wpadminbar ~ #wrapper,
.front-page #wpadminbar ~ #wrapper {
  margin-top: 32px; /* WPAdminBarの高さ分だけオフセット */
}

/* ── フロントページ：Cocoon #wrapper の余白・背景リセット ── */
.home #wrapper,
.front-page #wrapper {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* =============================================
   弁護士コラムセクション
   ============================================= */

.column-section {
  background: #fff;
  padding: 80px 24px;
}

.column-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* ── 左：タイトルエリア ── */
.column-header {
  width: 280px;
  flex-shrink: 0;
  padding-right: 52px;
  border-right: 2px solid var(--sakura-light);
  position: sticky;
  top: 88px; /* スクロール時にヘッダー下に追従 */
}

/* 手書き風バッジ */
.column-badge {
  display: inline-block;
  background: var(--sakura-pale);
  color: var(--sakura-primary);
  border: 2px solid var(--sakura-light);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  /* 手書き感を出す微妙な回転 */
  transform: rotate(-1.5deg);
  transform-origin: left center;
  display: inline-block;
}

.column-heading {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.55;
  color: #2a1218;
  margin: 0 0 20px;
  letter-spacing: 0.03em;
}

.column-subtext {
  font-size: 0.83rem;
  color: #7a5a62;
  line-height: 1.9;
  margin: 0;
}

/* ── 右：スライダーエリア ── */
.column-slider-wrap {
  flex: 1;
  min-width: 0;
  padding-left: 52px;
}

/* Swiper コンテナ */
.column-swiper {
  width: 100%;
  padding-bottom: 48px !important; /* ドット用スペース */
  overflow: hidden;
}

/* 矢印カスタマイズ */
.column-swiper-prev,
.column-swiper-next {
  color: var(--sakura-primary) !important;
  width: 36px !important;
  height: 36px !important;
  background: #fff;
  border: 1.5px solid var(--sakura-light);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(201, 99, 122, 0.15);
  top: auto !important;
  bottom: 0 !important;
  transform: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.column-swiper-prev { right: 48px !important; left: auto !important; }
.column-swiper-next { right: 4px !important;  left: auto !important; }

.column-swiper-prev::after,
.column-swiper-next::after {
  font-size: 13px !important;
  font-weight: 700;
}

.column-swiper-prev:hover,
.column-swiper-next:hover {
  background: var(--sakura-pale);
  border-color: var(--sakura-primary);
}

/* ドットナビ */
.column-swiper-pagination {
  bottom: 8px !important;
  left: 0 !important;
  width: auto !important;
  text-align: left !important;
}

.column-swiper-pagination .swiper-pagination-bullet {
  background: var(--sakura-light);
  opacity: 1;
  width: 8px;
  height: 8px;
}

.column-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--sakura-primary);
  width: 22px;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* ── 記事カード ── */
.column-card {
  background: #fff;
  border: 1px solid #f0e6e8;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.column-card:hover {
  box-shadow: 0 8px 32px rgba(201, 99, 122, 0.14);
  transform: translateY(-3px);
}

/* サムネイル */
.column-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sakura-pale);
}

.column-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.column-card:hover .column-card-img {
  transform: scale(1.04);
}

.column-card-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sakura-pale) 0%, #fce8ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-card-noimg::after {
  content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAIppAACKaQGxZbMyAAAGFElEQVRYha1XaVOTVxTOj2j9YZ32B0iog9pWv2ibxBIBWQqNVguIDKsiiEZjo2wFWaKBN5CEEEhCQvYQsogQRFkdT+c5IS95s+AyfWfO5Obe8zzn3O2cc2WyrM9Ypj4llCiuCSWKeUGufGeSK+n/EHAJcqVVkCurYENW6DPJVT+Y5Mq3X0Js+bmS5QsdeiuUKr7PMy7IlR9PAprPqsmj6aTUjI0OfFF67/DS+ugMC9oHvlVKTdvIo+mgubPqT63IR9EJY5n61Ekznysrp3CXjlJGG61ph+lDJEEfVpMsq/1DFH00LP4/DCdYB7qhTh1jizui2LKeVnwrw54XU3JUNtGWYCfv3z1kKlVR7OmYaIwNhmJ0GI5J+mK6MdYFBlhwFF2JEkWlzCRX2goN+pp6adNgIcsvVWJfyjhPB8EYBdu19GbcRMH2xyzptpbHNl9Zj8/I+UramJylwJ3+YlthlZlKFNuFjMefTdDsj1ck/XbVdUoOGSjUoaXwPb1E0Icxu/K6BAMOcIGz0IGU5S97I88o1zgk3KMnZ/Vt2piao5W/uin6cJgFbfRhLHxXn4cDF1bCWdWcNyaTnPRzV2nXGaD3iyu05w3TxsQsLf/RRtaL1Tzub+4lu+oGbVtdtKS+RfF/XrCgjT6M+Zrus671Yg2569uYA1zg3HEF2EZRB9ZHpyUHant+mRYu1VO4+ym5alpo9szvlBw0UOSenh1LDr1kQRt9iUED67hq7jAGWHBkc74eeVXYAfNZNb1f8IiKkfvPmGR3OUCu2jsU6dGTo6KRHcGe7npC6SsZSXAbfdgCbCF0gQEWHODK8MJGdpyQZRoIMqFuHS8Vz97qIs/1TrIrNHz6cdqj/UPkqGqmHYdXMivIzpKPlq7dZh3oAgMsOMAFnXd2D4W7deT+syPfgeSggfcP2xDXT9DKzbt8DbfNDgaEOp/QvjfKdz/XuBgXgjHa962yLjDAggNc4AQ3bCSeT+U7sOPyi0TvFjwc5bCXmAVO/7bFmWdw1xNmye2HLjDAggNc4BRXy+nPcaBURYfhuKjgb3nA+4gDhmiGa7nj9InjQk0TmepaaPxyLQvaQnVTlgEvY4AFB7jAeRxB42xTdAAZLdtA9NEIg7CX/uY+8tzoYhDG9v1RmlTU02JbP4UHp1jsrQ9o4nId7flWj3JCnDHAggNc4BQddPjELCrLOLD+QqD1sZniDhytUHhgkqZUDTTxW73oANrow9inHFgfE+jNC4EsP2U5YCpV0eZLC/+6G9rIVdtKwbZHFNOPU3LESMGOJ+TRtHOsz+z9+oyNxn+tY0E7cxYOAmusCwyw4AAXON0N7WwjhXyRvQWmo0STky7Tv6UqWiy/ybek2OmX3IRIgpIDU4zJGBG5CtiSZRqJgSlauNwgTT5KDb0Znz2+hkd7fJJkX0NgFxQaCSeiY+L5ZKFA1MEZLfMf8R19kkD0cJh2HMfXNS8YOfyskx2I3JoOWiq/JfKmnWsvHIpTRhtnLvP5q6yYG4qjD4coqh1Jh2J3iGN/cugVt9GHMejkhuJQl47M5yqYe2vaVjgUm5Buu3Tkbezh4iI7GYFwY3KOq5vX/06LyQi63qb7YjLCGHSgC0x2MsJB9DX38sSKZsO5snIOHpsGczpxLHp5SRHDrReqxZSbScfLta20XNcqScf4hS4wwIIDXBsGM3Pn1omy3AJhqaKR9lek4RV3OtL7nF6PGCUFie1SPR/c7IIEOtAFRnI4PWFOZIUKkre5nbEno+nAE0nwYdpbiXDxuVh+SyzJAm3a9DUrvUKBdq1YkkEHusDgTIEDXGuPRwuUZIotVMXzBWo18t/u44BhuVAlluKobDJFaXZ55axuEYtS6GSiIaIdVsbf0le8KBXkyqpCg9ll+Z47JFnOSN9Anu7qg0FppnQHaWtmgQuUYvymEmXFZz1MkMsPAlFOIshqxXQxU+gcBtYorh8/8WEilChT5jPqb/h1hGfSp55muLsITIiYOBfIHSgwIGijD4UGIuDnPM1m5YrvJO9DOIFDcRIwV77mcYqZ5xnPfHir4blkkisshR4sXy3MBU5lhbjsR99/LGbqv43+LT4AAAAASUVORK5CYII=");
  width: 48px;
  height: 48px;
  opacity: 0.55;
}

/* カード本文 */
.column-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.column-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* カテゴリーバッジ */
.column-card-cat {
  display: inline-block;
  background: var(--sakura-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.column-card-date {
  font-size: 0.75rem;
  color: #aa8890;
  letter-spacing: 0.05em;
}

/* タイトル（2行まで） */
.column-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  color: #2a1218;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.column-card-title a:hover {
  color: var(--sakura-primary) !important;
}

/* 抜粋（3行まで） */
.column-card-excerpt {
  font-size: 0.8rem;
  color: #7a5a62;
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 記事ゼロのプレースホルダー */
.column-no-posts {
  background: var(--sakura-pale);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  color: var(--sakura-primary);
  font-size: 0.9rem;
  line-height: 2;
}

/* ── コラム一覧ボタン ── */
.column-more-wrap {
  margin-top: 28px;
  text-align: center;
}

.column-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  background: transparent;
  color: var(--sakura-primary) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border: 2px solid var(--sakura-primary);
  border-radius: 4px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.column-more-btn:hover {
  background: var(--sakura-primary);
  color: #fff !important;
  transform: translateY(-1px);
}

.column-more-arrow {
  transition: transform 0.2s;
}
.column-more-btn:hover .column-more-arrow {
  transform: translateX(4px);
}

/* ── レスポンシブ ── */
@media screen and (max-width: 860px) {
  .column-inner {
    flex-direction: column;
    gap: 40px;
  }

  .column-header {
    width: 100%;
    padding-right: 0;
    padding-bottom: 32px;
    border-right: none;
    border-bottom: 2px solid var(--sakura-light);
    position: static;
  }

  .column-badge {
    transform: none;
  }

  .column-slider-wrap {
    padding-left: 0;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .column-section {
    padding: 60px 20px;
  }

  .column-more-btn {
    max-width: 100%;
    font-size: 0.85rem;
  }
}

/* ── フロントページ：#contents（メインとサイドバーのラッパー）を非表示 ── */
.home #contents,
.front-page #contents,
.home .contents-in,
.front-page .contents-in {
  display: none !important;
}

/* =============================================
   弁護士コラム一覧ページ（archive-column.php）
   ============================================= */

/* ── レイアウト：2カラム（サイドバー左30% + メイン右70%） ── */
.col-archive-wrap {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
  align-items: flex-start;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ── 左サイドバー ── */
.col-archive-sidebar {
  flex: 0 0 30%;
  min-width: 0;
}

/* ── 右メインエリア ── */
.col-archive-main {
  flex: 1 1 70%;
  min-width: 0;
}

/* ================================================
   サイドバー：ウィジェット共通
   ================================================ */
.col-sidebar-widget {
  background: #fff;
  border: 1px solid #f0d8df;
  border-top: 3px solid var(--sakura-primary, #c9637a);
  border-radius: 6px;
  padding: 20px 18px;
  margin-bottom: 28px;
}

.col-sidebar-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0d8df;
  display: flex;
  align-items: center;
  gap: 6px;
}

.col-sidebar-icon {
  color: var(--sakura-primary, #c9637a);
  font-size: 0.9em;
  line-height: 1;
}

/* ── カテゴリリスト ── */
.col-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.col-cat-item {
  border-bottom: 1px dashed #f0d8df;
}
.col-cat-item:last-child {
  border-bottom: none;
}

.col-cat-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  color: #555;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.col-cat-link:hover {
  color: var(--sakura-primary, #c9637a);
}
.col-cat-item.is-current .col-cat-link {
  color: var(--sakura-primary, #c9637a);
  font-weight: 700;
}

.col-cat-icon {
  color: var(--sakura-light, #e8a0b0);
  font-size: 0.7em;
  flex-shrink: 0;
}
.col-cat-item.is-current .col-cat-icon {
  color: var(--sakura-primary, #c9637a);
}

.col-cat-count {
  margin-left: auto;
  font-size: 0.8em;
  color: #999;
}

/* ── 検索フォーム ── */
.col-search-form {
  margin: 0;
}

.col-search-inner {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.col-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: 0.875rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fafafa;
}
.col-search-input::placeholder {
  color: #bbb;
}
.col-search-input:focus {
  background: #fff;
}

.col-search-btn {
  background: var(--sakura-primary, #c9637a);
  border: none;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.col-search-btn:hover {
  background: var(--sakura-dark, #9e3d55);
}

/* ================================================
   メインエリア
   ================================================ */

/* ── ページタイトル ── */
.col-archive-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sakura-pale, #f5dce3);
}

/* ── 件数表示 ── */
.col-archive-count {
  font-size: 0.85rem;
  color: #888;
  margin: 8px 0 24px;
}

/* ── 記事カードリスト ── */
.col-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── 記事カード ── */
.col-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #f0d8df;
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.col-card:hover {
  box-shadow: 0 6px 24px rgba(201, 99, 122, 0.12);
  transform: translateY(-2px);
}

/* ── サムネイル ──
   アイキャッチは 3:2（1536×1024）で作っているので枠も 3:2 にする。
   以前は 128×96（4:3）で object-fit:cover のため文字入り画像の左右が見切れていた（2026-09-21修正） */
.col-card-thumb-link {
  flex-shrink: 0;
  display: block;
  width: 144px;
}

.col-card-thumb {
  width: 144px;
  height: 96px;
  aspect-ratio: 3 / 2;
  object-fit: contain; /* 16:9 のアイキャッチも左右を切らずに全体を表示（2026-10-04） */
  background: #fdf5f5;
  border-radius: 4px;
  display: block;
}

.col-card-thumb--noimg {
  background: var(--sakura-pale, #f5dce3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sakura-light, #e8a0b0);
}

/* ── カードテキストエリア ── */
.col-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── カテゴリバッジ ── */
.col-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.col-cat-badge {
  display: inline-block;
  background: var(--sakura-pale, #f5dce3);
  color: var(--sakura-dark, #9e3d55);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--sakura-light, #e8a0b0);
  transition: background 0.2s, color 0.2s;
}
.col-cat-badge:hover {
  background: var(--sakura-primary, #c9637a);
  color: #fff;
  border-color: var(--sakura-primary, #c9637a);
}

/* ── 記事タイトル ── */
.col-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.col-card-title-link {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.col-card-title-link:hover {
  color: var(--sakura-primary, #c9637a);
}

/* ── 抜粋 ── */
.col-card-excerpt {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 日付 ── */
.col-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.col-card-date {
  font-size: 0.78rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}
.col-card-date svg {
  flex-shrink: 0;
}

/* ================================================
   ページネーション
   ================================================ */
.col-pagination {
  margin-top: 40px;
  text-align: center;
}

.col-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  /* Cocoon本体の .page-numbers { width:46px; height:46px }（個別ボタン用）が
     class名の一致でこの<ul>自体にも掛かり、46px四方に押し縮められて縦積みになる
     不具合を防ぐため、明示的にリセットする */
  width: auto;
  height: auto;
}

.col-pagination .page-numbers li {
  display: contents;
}

.col-pagination .page-numbers a,
.col-pagination .page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0c5cc;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--sakura-primary, #c9637a);
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* 「← 前へ」「次へ →」内の矢印アイコン（aria-hidden な素の<span>）は
   .page-numbers クラスを持たないため上のルールの対象外＝ボタン内のテキストとして扱われる。
   誤って個別ボタン化されないよう、念のため明示しておく */
.col-pagination .page-numbers a span[aria-hidden] {
  display: inline;
  border: none;
  padding: 0;
  min-width: 0;
  height: auto;
}

.col-pagination .page-numbers a:hover {
  background: var(--sakura-pale, #f5dce3);
  border-color: var(--sakura-primary, #c9637a);
}

.col-pagination .page-numbers .current {
  background: var(--sakura-primary, #c9637a);
  color: #fff;
  border-color: var(--sakura-primary, #c9637a);
  font-weight: 700;
}

.col-pagination .page-numbers .dots {
  border: none;
  background: none;
  color: #bbb;
}

/* ── 記事なし ── */
.col-no-posts {
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 0.95rem;
}

/* ================================================
   Cocoon レイアウト上書き
   （アーカイブページで親テーマの inner を無効化）
   ================================================ */
.post-type-archive-column .wrap,
.tax-column_category .wrap {
  max-width: 100%;
  padding: 0;
}
.post-type-archive-column #contents,
.tax-column_category #contents {
  display: block !important;
}
.post-type-archive-column .contents-in,
.tax-column_category .contents-in {
  display: block !important;
  max-width: 100%;
  padding: 0;
}
.post-type-archive-column #main,
.tax-column_category #main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* ================================================
   レスポンシブ：スマートフォン（768px以下）
   ================================================ */
@media (max-width: 768px) {
  .col-archive-wrap {
    flex-direction: column;
    gap: 24px;
    margin: 24px auto 40px;
    padding: 0 16px;
  }

  .col-archive-sidebar {
    flex: none;
    width: 100%;
  }

  .col-archive-main {
    flex: none;
    width: 100%;
  }

  .col-archive-heading {
    font-size: 1.3rem;
  }

  .col-card {
    flex-direction: column;
    gap: 12px;
  }

  .col-card-thumb-link {
    width: 100%;
  }

  /* スマホは横幅いっぱい・高さは 3:2 に追従（固定180pxだと上下が見切れる） */
  .col-card-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .col-card-thumb--noimg {
    height: 120px;
  }
}

/* ================================================
   レスポンシブ：タブレット（769px〜1024px）
   ================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .col-archive-wrap {
    gap: 28px;
    padding: 0 16px;
  }
}


/* ============================================================
   代表挨拶ページ（page-greeting.php）専用スタイル
   ============================================================ */

/* ── 共通コンテナ ── */
.pg-container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.pg-section {
  padding-block: 80px;
}

/* セクションラベル（"GREETING" 等） */
.pg-section-label {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* 共通見出し */
.pg-section-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #2c1a20;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0.06em;
}

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

.pg-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e0f14;
}

/* 背景画像 */
.pg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(2px) brightness(0.75);
  transform: scale(1.04); /* blur端の白縁を隠す */
}

.pg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 8, 14, 0.68) 0%,
    rgba(30, 15, 20, 0.45) 60%,
    rgba(20, 8, 14, 0.30) 100%
  );
}

/* 内側：2カラム */
.pg-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-block: 100px 80px;
  width: 100%;
}

/* 左：テキスト 60% */
.pg-hero__text {
  flex: 0 0 60%;
  animation: sakuraFadeUp 1s ease 0.2s both;
}

/* キャッチコピー */
.pg-hero__catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.pg-hero__catch-em {
  color: var(--sakura-light, #e8a0b0);
  font-style: normal;
}

/* サブテキスト */
.pg-hero__sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  letter-spacing: 0.12em;
  margin-bottom: 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* CTAボタン */
.pg-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 18px 42px;
  border-radius: 50px;
  border: 2px solid var(--sakura-primary, #c9637a);
  transition: background .25s, border-color .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 6px 30px rgba(201,99,122,.45);
}

.pg-hero__btn:hover {
  background: var(--sakura-dark, #9e3d55);
  border-color: var(--sakura-dark, #9e3d55);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,99,122,.55);
}

.pg-hero__btn-arrow {
  font-size: 1.1rem;
  transition: transform .2s;
}

.pg-hero__btn:hover .pg-hero__btn-arrow {
  transform: translateX(4px);
}

/* 右：写真 40% */
.pg-hero__photo-wrap {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  animation: sakuraFadeUp 1s ease 0.45s both;
}

.pg-hero__photo {
  max-width: 380px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* ============================================================
   ① 代表挨拶ヒーロー（FV）
   ============================================================ */

.pg-greeting-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e0f14;
}

/* 背景写真 */
.pg-greeting-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-greeting-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(2px) brightness(0.7);
  transform: scale(1.04);
}

.pg-greeting-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 8, 14, 0.75) 0%,
    rgba(30, 15, 20, 0.55) 55%,
    rgba(20, 8, 14, 0.40) 100%
  );
}

/* 内側：2カラム */
.pg-greeting-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding-block: 100px 80px;
  width: 100%;
}

/* 左：テキスト 60% */
.pg-greeting-hero__body {
  flex: 0 0 60%;
  animation: sakuraFadeUp 1s ease 0.2s both;
}

/* GREETINGラベル */
.pg-greeting-hero__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--sakura-light, #e8a0b0);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* リードテキスト */
.pg-greeting-hero__lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.85;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

/* 本文 */
.pg-greeting-hero__text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

/* 右：写真 40% */
.pg-greeting-hero__portrait-wrap {
  flex: 0 0 36%;
  text-align: center;
  animation: sakuraFadeUp 1s ease 0.45s both;
}

.pg-greeting-hero__portrait {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  margin-bottom: 20px;
  border: 2px solid rgba(232, 160, 176, 0.3);
}

.pg-greeting-hero__name-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.pg-greeting-hero__name-en {
  font-size: 0.8rem;
  color: var(--sakura-light, #e8a0b0);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ============================================================
   ② 代表挨拶セクション（旧スタイル・未使用）
   ============================================================ */

.pg-greeting {
  background: #fff;
}

.pg-greeting__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

/* 左：本文 65% */
.pg-greeting__body {
  flex: 0 0 65%;
}

.pg-greeting__lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.85;
  color: #2c1a20;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.pg-greeting__text {
  font-size: 1rem;
  line-height: 2;
  color: #4a3a40;
  margin-bottom: 20px;
}

/* 右：写真 35% */
.pg-greeting__portrait-wrap {
  flex: 0 0 35%;
  text-align: center;
}

.pg-greeting__portrait {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  margin-bottom: 16px;
}

.pg-greeting__name-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2c1a20;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.pg-greeting__name-en {
  font-size: 0.85rem;
  color: var(--sakura-primary, #c9637a);
  letter-spacing: 0.18em;
}

/* ============================================================
   ③ 経験と理念セクション
   ============================================================ */

.pg-philosophy {
  background: #fdf5f5;
}

.pg-philosophy__quote-box {
  padding: 24px 40px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(201,99,122,.08);
}

.pg-philosophy__quote-text {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  font-weight: 700;
  color: #2c1a20;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0;
}

.pg-philosophy__body {
  font-size: 1rem;
  line-height: 2;
  color: #4a3a40;
  margin-bottom: 20px;
  max-width: 800px;
}

/* ============================================================
   ④ 選ばれる理由（3カード）
   ============================================================ */

.pg-reasons {
  background: #fff;
}

.pg-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* カード */
.pg-reason-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 40px 28px 36px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.pg-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,99,122,.15);
}

/* 丸いアイコン背景 */
.pg-reason-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--sakura-primary, #c9637a);
  border-radius: 50%;
  color: #fff;
  margin-bottom: 20px;
}

.pg-reason-card__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c1a20;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.pg-reason-card__text {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #5a4a50;
}

/* ============================================================
   ⑤ プロフィール詳細セクション
   ============================================================ */

.pg-profile-detail {
  background: #fdf5f5;
}

.pg-profile-detail__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.pg-profile-detail__photo-wrap {
  flex: 0 0 36%;
}

.pg-profile-detail__photo {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}

.pg-profile-detail__text {
  flex: 1;
}

.pg-profile-detail__body {
  font-size: 1rem;
  line-height: 2;
  color: #4a3a40;
  margin-bottom: 20px;
}

.pg-profile-detail__body--hobby {
  background: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  border: 1px solid #f0e0e5;
  box-shadow: 0 3px 16px rgba(201, 99, 122, 0.08);
  margin-top: 8px;
}

.pg-profile-detail__hobby-label {
  display: block;
  font-weight: 700;
  color: var(--sakura-primary, #c9637a);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0e0e5;
}

/* ============================================================
   ⑥ 専門性と実績セクション
   ============================================================ */

.pg-expertise {
  background: #fff;
}

.pg-expertise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.pg-expertise__col-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c1a20;
  border-bottom: 2px solid var(--sakura-pale, #f5dce3);
  padding-bottom: 10px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}

/* タイムライン */
.pg-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg-timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dashed #f0dde3;
  position: relative;
}

.pg-timeline__item::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sakura-primary, #c9637a);
}

.pg-timeline__year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sakura-primary, #c9637a);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pg-timeline__event {
  font-size: 0.95rem;
  color: #4a3a40;
  line-height: 1.7;
}

/* バッジ */
.pg-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pg-badge {
  display: inline-block;
  background: var(--sakura-pale, #f5dce3);
  color: var(--sakura-dark, #9e3d55);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 40px;
  letter-spacing: 0.06em;
}

/* セクション下部ボタン */
.pg-expertise__cta {
  text-align: center;
}

.pg-btn-outline {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--sakura-primary, #c9637a);
  color: var(--sakura-primary, #c9637a) !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background .22s, color .22s;
}

.pg-btn-outline:hover {
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
}

/* ============================================================
   ⑦ CTAセクション
   ============================================================ */

.pg-cta {
  background: linear-gradient(160deg, #fce8ed 0%, #fff8f9 60%, #ffffff 100%);
  text-align: center;
}

.pg-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pg-cta__icon {
  color: var(--sakura-primary, #c9637a);
  margin-bottom: 20px;
  opacity: .85;
}

.pg-cta__sub {
  font-size: 0.92rem;
  color: #7a5a62;
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.pg-cta__heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #2c1a20;
  letter-spacing: 0.06em;
  margin-bottom: 44px;
}

.pg-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* 共通ボタン基本 */
.pg-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.06em;
  padding: 17px 36px;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s, background .22s, border-color .22s;
}

.pg-cta__btn:hover {
  transform: translateY(-2px);
}

/* 塗り：桜色 */
.pg-cta__btn--primary {
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
  border: 2px solid var(--sakura-primary, #c9637a);
  box-shadow: 0 6px 28px rgba(201,99,122,.4);
}

.pg-cta__btn--primary:hover {
  background: var(--sakura-dark, #9e3d55);
  border-color: var(--sakura-dark, #9e3d55);
  box-shadow: 0 10px 36px rgba(201,99,122,.5);
}

/* アウトライン */
.pg-cta__btn--outline {
  background: #fff;
  color: var(--sakura-primary, #c9637a) !important;
  border: 2px solid var(--sakura-primary, #c9637a);
}

.pg-cta__btn--outline:hover {
  background: var(--sakura-pale, #f5dce3);
}

/* LINE */
.pg-cta__btn--line {
  background: #06C755;
  color: #fff !important;
  border: 2px solid #06C755;
  box-shadow: 0 4px 20px rgba(6,199,85,.3);
}

.pg-cta__btn--line:hover {
  background: #05b44d;
  border-color: #05b44d;
  box-shadow: 0 8px 28px rgba(6,199,85,.4);
}

/* ============================================================
   トピック解説ページ共通（親権・慰謝料等、悩み別ページ）
   pg-container / pg-section / pg-section-label / pg-section-heading /
   pg-philosophy__body / pg-reasons__grid / pg-reason-card / pg-cta は
   既存の代表挨拶ページ用クラスをそのまま流用している。
   ============================================================ */

/* ヒーロー（代表挨拶ページの pg-greeting-hero より軽量な単カラム版） */
.topic-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e0f14;
}

.topic-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.topic-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(2px) brightness(0.6);
  transform: scale(1.04);
}

.topic-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,8,14,.72) 0%, rgba(30,15,20,.55) 100%);
}

.topic-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 120px 64px;
  text-align: center;
  animation: sakuraFadeUp 1s ease .2s both;
}

.topic-hero__label {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .3em;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.topic-hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: 20px;
  letter-spacing: .04em;
}

.topic-hero__lead {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(.9rem, 1.6vw, 1rem);
  color: rgba(255,255,255,.88);
  line-height: 1.9;
  letter-spacing: .06em;
}

/* 関連コラム記事カード */
.topic-related {
  background: #fff;
}

.topic-related__card {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #fdf5f5;
  border: 1px solid #f0e0e5;
  border-radius: 10px;
  text-decoration: none !important;
  transition: transform .25s, box-shadow .25s;
}

.topic-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201,99,122,.15);
}

.topic-related__label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sakura-primary, #c9637a);
  margin-bottom: 10px;
}

.topic-related__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c1a20;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .topic-hero__inner {
    padding-block: 100px 48px;
  }
  .topic-related__card {
    padding: 24px 20px;
  }
}

/* ============================================================
   TOPページ リニューアル案（page-top-renewal.php / 接頭辞 rn-）
   2026年9月17日作成。承認後は既存TOP（body-top-insert.php）へ移植予定。
   料金・流れ・FAQ・アクセス・お問い合わせは既存TOPのクラスをそのまま流用。
   ============================================================ */

.rn-container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.rn-section {
  padding-block: 72px;
  background: #fff;
}

.rn-section--alt {
  background: #fdf5f5;
}

.rn-center {
  text-align: center;
  margin-top: 36px;
}

.rn-lead {
  font-size: .95rem;
  line-height: 1.9;
  color: #5a4a50;
  margin: 0 0 20px;
}

/* フェードイン（rn-fade） */
.rn-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.rn-fade.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rn-fade { opacity: 1; transform: none; transition: none; }
}

/* 見出し：左に桜色バー */
.rn-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: #2c1a20;
  letter-spacing: .06em;
  border-left: 4px solid var(--sakura-primary, #c9637a);
  padding-left: 14px;
  line-height: 1.4;
  margin: 0 0 28px;
}

/* 見出し：中央揃え（上に小さな前置き） */
.rn-heading-center {
  text-align: center;
  margin-bottom: 44px;
}
.rn-heading-center--sm {
  margin-bottom: 28px;
}
.rn-heading-center__eyebrow {
  font-size: .95rem;
  color: #5a4a50;
  margin: 0 0 6px;
  letter-spacing: .08em;
}
.rn-heading-center__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: #2c1a20;
  letter-spacing: .06em;
  margin: 0;
  line-height: 1.4;
}
.rn-heading-center__title em {
  font-style: normal;
  color: var(--sakura-primary, #c9637a);
  font-size: 1.35em;
}
.rn-heading-center__sub {
  font-size: .92rem;
  color: #5a4a50;
  margin: 10px 0 0;
  line-height: 1.8;
}

/* ボタン（アウトライン桜色） */
.rn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border: 1.5px solid var(--sakura-primary, #c9637a);
  border-radius: 50px;
  background: #fff;
  color: var(--sakura-dark, #9e3d55) !important;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
}
.rn-btn:hover {
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,99,122,.25);
}
.rn-btn--sm {
  padding: 9px 22px;
  font-size: .82rem;
}
.rn-btn--wide {
  min-width: 260px;
  justify-content: center;
  padding-block: 14px;
}

/* ---------- ① ヒーロー ---------- */
.rn-hero {
  position: relative;
  overflow: hidden;
  background: #fff3f6;
  padding: 150px 0 120px;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.rn-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rn-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}
.rn-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.90) 38%,
    rgba(255,255,255,.55) 60%,
    rgba(255,255,255,.10) 100%
  );
}
.rn-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* 文字が順番に浮かび上がる（既存TOPの sakuraFadeUp を要素ごとに時間差で適用） */
.rn-hero__catch,
.rn-hero__sub,
.rn-hero__lead,
.rn-hero__badges,
.rn-hero__cta {
  animation: sakuraFadeUp .9s ease both;
}
.rn-hero__catch  { animation-delay: .2s; }
.rn-hero__sub    { animation-delay: .5s; }
.rn-hero__lead   { animation-delay: .75s; }
.rn-hero__badges { animation-delay: 1s; }
.rn-hero__cta    { animation-delay: 1.2s; }

/* スクロール促進インジケーター（既存TOPと同じ動き・色は明るい背景用に調整） */
.rn-hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: sakuraFadeUp 1s ease 1.5s both;
}
.rn-hero__scroll-text {
  color: rgba(158, 61, 85, .75);
  font-size: .7rem;
  letter-spacing: .25em;
}
.rn-hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(158, 61, 85, .7), transparent);
  animation: sakuraScrollLine 1.8s ease-in-out infinite;
}
.rn-hero__catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
  color: #2c1a20;
  letter-spacing: .06em;
  margin: 0 0 18px;
}
.rn-hero__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  letter-spacing: .06em;
  margin: 0 0 22px;
}
.rn-hero__lead {
  font-size: 1rem;
  line-height: 2;
  color: #4a3a40;
  margin: 0 0 32px;
  letter-spacing: .04em;
}
.rn-hero__badges {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.rn-badge {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1.5px solid #f0c9d3;
  box-shadow: 0 6px 20px rgba(201,99,122,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--sakura-dark, #9e3d55);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.35;
  letter-spacing: .04em;
}
.rn-badge svg {
  width: 26px;
  height: 26px;
  color: var(--sakura-primary, #c9637a);
}
.rn-badge small {
  display: block;
  font-size: .62rem;
  font-weight: 500;
  color: #7a5a63;
}
.rn-hero__cta {
  font-size: .98rem;
}

/* ---------- ①-2 初めての方へ（メッセージ） ---------- */
.rn-message {
  background: #fff;
  padding-block: 64px 8px;
}
.rn-message__inner {
  text-align: center;
  max-width: 820px;
}
.rn-message__eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  letter-spacing: .2em;
  color: var(--sakura-primary, #c9637a);
  font-weight: 700;
  margin: 0 0 16px;
}
.rn-message__quote {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: #2c1a20;
  letter-spacing: .06em;
  line-height: 1.6;
  margin: 0 0 22px;
}
.rn-message__body {
  font-size: 1.05rem;
  line-height: 2.1;
  color: #4a3a40;
  margin: 0 0 18px;
  text-align: left;
}
.rn-message__sign {
  font-family: 'Noto Serif JP', serif;
  font-size: .9rem;
  color: #7a5a63;
  text-align: right;
  margin: 0;
  letter-spacing: .08em;
}
.rn-sp-br { display: none; }

/* ---------- ② お悩み ---------- */
.rn-worries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.rn-worry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
  padding: 24px 12px;
  background: #f6f7f9;
  border-radius: 10px;
  text-align: center;
  text-decoration: none !important;
  color: #2c1a20 !important;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.rn-worry:hover {
  background: #fdf5f5;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201,99,122,.14);
}
.rn-worry__icon svg {
  width: 30px;
  height: 30px;
  color: #4a3a40;
}
.rn-worry__text {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
}
.rn-worry__chev {
  display: none;
}

/* ---------- ③ 私が大切にしていること ---------- */
.rn-reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rn-reason {
  background: #fff;
  border-radius: 12px;
  padding: 48px 24px 30px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 18px rgba(201,99,122,.08);
}
.rn-reason .rn-reason__title {
  text-align: center;
}

/* ご相談いただきやすい環境（補足） */
.rn-env {
  list-style: none;
  padding: 0;
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
}
.rn-env__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #f0c9d3;
  border-radius: 50px;
  font-size: .88rem;
  color: #4a3a40;
}
.rn-env__item svg {
  width: 20px;
  height: 20px;
  color: var(--sakura-primary, #c9637a);
  flex-shrink: 0;
}
.rn-env__item strong {
  color: var(--sakura-dark, #9e3d55);
}
.rn-reason__icon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #f0c9d3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(201,99,122,.15);
}
.rn-reason__icon svg {
  width: 28px;
  height: 28px;
  color: var(--sakura-primary, #c9637a);
}
.rn-reason__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2c1a20;
  line-height: 1.55;
  margin: 0 0 12px;
}
.rn-reason__text {
  font-size: .85rem;
  line-height: 1.8;
  color: #5a4a50;
  margin: 0;
}
.rn-reasons {
  margin-top: 40px;
}

/* ---------- ④ 解決事例 ---------- */
.rn-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rn-case {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 10px;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(201,99,122,.07);
}
.rn-case--hidden {
  display: none;
}
.rn-case--hidden.is-shown {
  display: flex;
}
.rn-case__tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--sakura-primary, #c9637a);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .06em;
}
.rn-case__title {
  font-family: 'Noto Serif JP', serif;
  font-size: .98rem;
  font-weight: 700;
  color: #2c1a20;
  line-height: 1.6;
  margin: 0;
}
.rn-case__body {
  font-size: .85rem;
  line-height: 1.8;
  color: #5a4a50;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-case.is-open .rn-case__body {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.rn-case__more {
  align-self: flex-end;
  margin-top: auto;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  cursor: pointer;
  font-family: inherit;
}
.rn-case__more:hover {
  text-decoration: underline;
}

.rn-attorney {
  max-width: 820px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  padding: 36px 34px;
  box-shadow: 0 4px 18px rgba(201,99,122,.08);
}
.rn-attorney__body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.rn-attorney__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.rn-attorney__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c1a20;
  margin: 0 0 10px;
}
.rn-attorney__name span {
  font-size: .8rem;
  font-weight: 500;
  color: #7a5a63;
  margin-left: 8px;
}
.rn-attorney__desc {
  font-size: .85rem;
  line-height: 1.85;
  color: #5a4a50;
  margin: 0 0 14px;
}
.rn-attorney__origin {
  font-size: .82rem;
  line-height: 1.85;
  color: #5a4a50;
  background: #fdf5f5;
  border-left: 3px solid var(--sakura-primary, #c9637a);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 0 0 16px;
}
.rn-attorney__origin-label {
  display: inline-block;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  margin-right: 8px;
  letter-spacing: .1em;
}

/* ---------- ⑤ 料金・相談の流れ ---------- */
.rn-feeflow__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- ⑥ CTAバー ---------- */
.rn-ctabar {
  background: linear-gradient(90deg, #fbe6ec 0%, #fdf5f5 100%);
  padding-block: 40px;
}
.rn-ctabar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.rn-ctabar__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  margin: 0 0 4px;
}
.rn-ctabar__sub {
  font-size: .88rem;
  color: #5a4a50;
  margin: 0;
}
.rn-ctabar__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.rn-ctabar__tel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55) !important;
  text-decoration: none !important;
  line-height: 1.2;
}
.rn-ctabar__tel svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: -3px;
}
.rn-ctabar__tel small {
  font-size: .72rem;
  font-weight: 500;
  color: #7a5a63;
  margin-top: 2px;
}
.rn-ctabar__btn {
  font-size: .92rem;
  padding: 15px 34px;
}

/* ---------- ⑦ コラム ---------- */
.rn-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rn-column {
  display: block;
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: #2c1a20 !important;
  transition: transform .25s, box-shadow .25s;
}
.rn-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201,99,122,.15);
}
.rn-column__thumb {
  aspect-ratio: 3 / 2; /* アイキャッチ（1536×1024）と同じ比率。16/10 だと上下がわずかに切れる（2026-09-21） */
  background: #fdf5f5;
  overflow: hidden;
  position: relative;
}
/* 16:9 のアイキャッチも左右を切らずに全体を表示（3:2 画像は従来と同じ見え方）（2026-10-04） */
.rn-column__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rn-column__thumb .column-card-noimg {
  position: absolute;
  inset: 0;
}
.rn-column__body {
  padding: 16px 18px 20px;
}
.rn-column__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  color: #8a7a80;
  margin-bottom: 8px;
}
.rn-column__cat {
  background: var(--sakura-primary, #c9637a);
  color: #fff;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.rn-column__title {
  font-family: 'Noto Serif JP', serif;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .rn-worries { grid-template-columns: repeat(3, 1fr); }
  .rn-reasons { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .rn-reason { padding-inline: 18px; }
  .rn-cases__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .rn-section { padding-block: 56px; }
  .rn-hero { padding: 132px 0 104px; min-height: 0; }
  .rn-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.86) 55%,
      rgba(255,255,255,.55) 100%
    );
  }
  .rn-hero__badges { gap: 12px; }
  .rn-badge { width: 104px; height: 104px; font-size: .74rem; }
  .rn-badge svg { width: 22px; height: 22px; }
  .rn-cases__grid { grid-template-columns: repeat(2, 1fr); }
  .rn-columns { grid-template-columns: 1fr; }
  .rn-ctabar__inner, .rn-ctabar__actions { justify-content: center; text-align: center; }
  .rn-ctabar__tel { align-items: center; }
  .rn-reasons { grid-template-columns: 1fr; row-gap: 44px; }
  .rn-message { padding-top: 48px; }
  .rn-sp-br { display: inline; }
}

@media (max-width: 600px) {
  .rn-hero { padding-top: 140px; }
  .rn-hero__cta { width: 100%; justify-content: center; }
  /* お悩み：行リスト表示（ワイヤーフレームSP準拠） */
  .rn-worries { grid-template-columns: 1fr; gap: 10px; }
  .rn-worry {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 0;
    padding: 14px 16px;
    text-align: left;
    gap: 14px;
  }
  .rn-worry__icon svg { width: 24px; height: 24px; }
  .rn-worry__text { font-size: .88rem; }
  .rn-worry__text br { display: none; }
  .rn-worry__chev {
    display: block;
    margin-left: auto;
    color: var(--sakura-primary, #c9637a);
    font-size: 1.3rem;
    line-height: 1;
  }
  .rn-cases__grid { grid-template-columns: 1fr; }
  .rn-env { flex-direction: column; align-items: stretch; }
  .rn-env__item { justify-content: center; }
  .rn-attorney { padding: 26px 22px; }
  .rn-attorney__body { grid-template-columns: 1fr; }
  .rn-attorney__photo { max-width: 200px; margin-inline: auto; }
  .rn-feeflow__btns { flex-direction: column; }
  .rn-btn--wide { width: 100%; }
}

/* ============================================================
   代表挨拶ページ 追加セクション
   ============================================================ */

/* 強みセクション */
.pg-strengths {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.pg-strength-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.pg-strength-item__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sakura-primary, #c9637a);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-strength-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3a2030;
  margin: 0 0 10px;
  line-height: 1.5;
}

.pg-strength-item__text {
  font-size: 0.93rem;
  line-height: 1.9;
  color: #4a3840;
  margin: 0;
}

/* 対応体制セクション */
.pg-features__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pg-features__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f0d8e0;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #3a2030;
  box-shadow: 0 2px 8px rgba(201,99,122,.07);
}

.pg-features__icon {
  color: var(--sakura-primary, #c9637a);
  font-weight: 700;
}

/* 取扱分野セクション */
.pg-practice__grid {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pg-practice__col {
  flex: 1;
  min-width: 180px;
  background: #fff;
  border: 1px solid #f0d8e0;
  border-radius: 10px;
  padding: 28px 24px;
}

.pg-practice__col-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sakura-primary, #c9637a);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0d8e0;
}

.pg-practice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pg-practice__list li {
  font-size: 0.92rem;
  color: #4a3840;
  padding-left: 1.1em;
  position: relative;
  line-height: 1.6;
}

.pg-practice__list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--sakura-light, #e8a0b0);
}

/* 略歴：年号なしスタイル対応（1カラム＋左ドット） */
.pg-timeline__item:not(:has(.pg-timeline__year)) {
  display: block;
  padding-left: 24px;
}

.pg-timeline__item:not(:has(.pg-timeline__year))::before {
  left: 0;
  top: 7px;
}

.pg-timeline__item:not(:has(.pg-timeline__year)) .pg-timeline__event {
  margin-left: 0;
}

/* 人となりリスト */
.pg-personal-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.pg-personal-row {
  display: flex;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid #f5edf0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pg-personal-row dt {
  flex-shrink: 0;
  width: 6.5em;
  color: #999;
  font-weight: 500;
}

.pg-personal-row dd {
  color: #4a3840;
  margin: 0;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .pg-strength-item {
    flex-direction: column;
    gap: 12px;
  }

  .pg-practice__grid {
    flex-direction: column;
    gap: 16px;
  }

  .pg-features__list {
    gap: 10px;
  }

  .pg-features__item {
    width: calc(50% - 5px);
    justify-content: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .pg-features__item {
    width: 100%;
  }
}

/* ============================================================
   代表挨拶ページ：レスポンシブ（タブレット 768px 以下）
   ============================================================ */
@media (max-width: 768px) {

  /* ヒーロー：縦並び */
  .pg-hero__inner {
    flex-direction: column;
    padding-block: 80px 60px;
    gap: 32px;
  }

  .pg-hero__text,
  .pg-hero__photo-wrap {
    flex: none;
    width: 100%;
  }

  .pg-hero__photo {
    max-width: 260px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  /* 代表挨拶ヒーロー：縦並び */
  .pg-greeting-hero__inner {
    flex-direction: column-reverse;
    padding-block: 80px 60px;
    gap: 36px;
  }

  .pg-greeting-hero__body,
  .pg-greeting-hero__portrait-wrap {
    flex: none;
    width: 100%;
  }

  .pg-greeting-hero__portrait {
    max-width: 220px;
    margin-inline: auto;
    aspect-ratio: 3 / 4;
  }

  /* 代表挨拶（旧）：縦並び */
  .pg-greeting__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .pg-greeting__body,
  .pg-greeting__portrait-wrap {
    flex: none;
    width: 100%;
  }

  .pg-greeting__portrait {
    max-width: 200px;
  }

  /* プロフィール詳細：縦並び */
  .pg-profile-detail__inner {
    flex-direction: column;
    gap: 32px;
  }

  .pg-profile-detail__photo-wrap {
    flex: none;
    width: 100%;
  }

  .pg-profile-detail__photo {
    max-width: 260px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  /* 実績：縦並び */
  .pg-expertise__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* CTAボタン：縦並び */
  .pg-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .pg-cta__btn {
    justify-content: center;
    text-align: center;
  }

  /* Philosophy引用 */
  .pg-philosophy__quote-box {
    padding: 20px 24px;
  }
}

/* ============================================================
   代表挨拶ページ：レスポンシブ（スマホ 375px 以下）
   ============================================================ */
@media (max-width: 480px) {

  .pg-section {
    padding-block: 56px;
  }

  .pg-hero {
    min-height: 100svh;
  }

  .pg-hero__catch {
    font-size: 1.5rem;
  }

  .pg-hero__sub {
    font-size: 0.88rem;
  }

  .pg-hero__btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }

  .pg-greeting-hero {
    min-height: 100svh;
  }

  .pg-greeting-hero__lead {
    font-size: 1.2rem;
  }

  .pg-greeting-hero__text {
    font-size: 0.88rem;
  }

  .pg-greeting__lead {
    font-size: 1.05rem;
  }

  .pg-philosophy__quote-text {
    font-size: 1.05rem;
  }

  .pg-cta__heading {
    font-size: 1.6rem;
  }
}

/* Cocoon デフォルト出力の余白リセット（代表挨拶ページ） */
.page-template-page-greeting .entry-title,
.page-template-page-greeting .breadcrumb,
.page-template-page-greeting .sns-buttons {
  display: none;
}

/* 代表挨拶ページ：Cocoon デフォルトヘッダーを非表示（カスタムヘッダーを使用） */
.page-template-page-greeting #header,
.page-template-page-greeting .header,
.page-template-page-greeting .site-header {
  display: none !important;
}

.page-template-page-greeting #main,
.page-template-page-greeting .main,
.page-template-page-greeting .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.page-template-page-greeting #wrapper {
  padding: 0 !important;
}

.page-template-page-greeting .sidebar,
.page-template-page-greeting #sidebar {
  display: none;
}
/* 代表挨拶ページ ここまで */

/* ============================================================
   サンクスページ
   ============================================================ */

/* Cocoon デフォルト出力を非表示（シェア・フォロー・投稿者・パンくず・日付等） */
.page-template-page-thanks .entry-title,
.page-template-page-thanks .breadcrumb,
.page-template-page-thanks .sns-buttons,
.page-template-page-thanks .sns-share,
.page-template-page-thanks .sns-follow,
.page-template-page-thanks .author-info,
.page-template-page-thanks .author-box,
.page-template-page-thanks .a-wrap.author-info,
.page-template-page-thanks .entry-author,
.page-template-page-thanks .date-tags,
.page-template-page-thanks .post-date,
.page-template-page-thanks .post-update,
.page-template-page-thanks .pgroomh,
.page-template-page-thanks .navi-position,
.page-template-page-thanks .comment-area,
.page-template-page-thanks .footer-share,
.page-template-page-thanks .sidebar,
.page-template-page-thanks #sidebar {
  display: none !important;
}

/* Cocoon デフォルトヘッダーを非表示（カスタムヘッダーを使用） */
.page-template-page-thanks #header,
.page-template-page-thanks .header,
.page-template-page-thanks .site-header {
  display: none !important;
}

.page-template-page-thanks #main,
.page-template-page-thanks .main,
.page-template-page-thanks .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.page-template-page-thanks #wrapper {
  padding: 0 !important;
}

/* 本文レイアウト */
.thanks-section {
  background: var(--sakura-pale, #fdf0f3);
  padding: 140px 24px 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 56px 40px;
  box-shadow: 0 8px 36px rgba(201, 99, 122, 0.12);
}

.thanks-icon {
  color: var(--sakura-primary, #c9637a);
  margin-bottom: 24px;
}

.thanks-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  line-height: 1.5;
}

.thanks-body {
  font-size: 0.98rem;
  line-height: 2;
  color: #4a3840;
  margin-bottom: 36px;
}

.thanks-body p {
  margin: 0 0 1em;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(201, 99, 122, 0.3);
}

.thanks-btn:hover {
  background: var(--sakura-dark, #9e3d55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 99, 122, 0.4);
}

@media screen and (max-width: 480px) {
  .thanks-section {
    padding: 110px 16px 72px;
  }
  .thanks-inner {
    padding: 40px 24px;
  }
  .thanks-heading {
    font-size: 1.25rem;
  }
}
/* サンクスページ ここまで */

/* ============================================================
   法律文書ページ（プライバシーポリシー等）
   ============================================================ */

/* Cocoon デフォルト出力を非表示 */
.page-template-page-privacy .entry-title,
.page-template-page-privacy .breadcrumb,
.page-template-page-privacy .sns-buttons,
.page-template-page-privacy .sns-share,
.page-template-page-privacy .sns-follow,
.page-template-page-privacy .author-info,
.page-template-page-privacy .author-box,
.page-template-page-privacy .entry-author,
.page-template-page-privacy .date-tags,
.page-template-page-privacy .post-date,
.page-template-page-privacy .post-update,
.page-template-page-privacy .navi-position,
.page-template-page-privacy .comment-area,
.page-template-page-privacy .footer-share,
.page-template-page-privacy .sidebar,
.page-template-page-privacy #sidebar {
  display: none !important;
}

.page-template-page-privacy #header,
.page-template-page-privacy .header,
.page-template-page-privacy .site-header {
  display: none !important;
}

.page-template-page-privacy #main,
.page-template-page-privacy .main,
.page-template-page-privacy .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.page-template-page-privacy #wrapper {
  padding: 0 !important;
}

/* ============================================================
   トピック解説ページ（親権・慰謝料等）共通
   ============================================================ */

.page-template-page-custody .entry-title,
.page-template-page-custody .breadcrumb,
.page-template-page-custody .sns-buttons,
.page-template-page-custody .sns-share,
.page-template-page-custody .sns-follow,
.page-template-page-custody .author-info,
.page-template-page-custody .author-box,
.page-template-page-custody .entry-author,
.page-template-page-custody .date-tags,
.page-template-page-custody .post-date,
.page-template-page-custody .post-update,
.page-template-page-custody .navi-position,
.page-template-page-custody .comment-area,
.page-template-page-custody .footer-share,
.page-template-page-custody .sidebar,
.page-template-page-custody #sidebar,
.page-template-page-compensation .entry-title,
.page-template-page-compensation .breadcrumb,
.page-template-page-compensation .sns-buttons,
.page-template-page-compensation .sns-share,
.page-template-page-compensation .sns-follow,
.page-template-page-compensation .author-info,
.page-template-page-compensation .author-box,
.page-template-page-compensation .entry-author,
.page-template-page-compensation .date-tags,
.page-template-page-compensation .post-date,
.page-template-page-compensation .post-update,
.page-template-page-compensation .navi-position,
.page-template-page-compensation .comment-area,
.page-template-page-compensation .footer-share,
.page-template-page-compensation .sidebar,
.page-template-page-compensation #sidebar,
.page-template-page-area .entry-title,
.page-template-page-price .entry-title,
.page-template-page-area .breadcrumb,
.page-template-page-price .breadcrumb,
.page-template-page-area .sns-buttons,
.page-template-page-price .sns-buttons,
.page-template-page-area .sns-share,
.page-template-page-price .sns-share,
.page-template-page-area .sns-follow,
.page-template-page-price .sns-follow,
.page-template-page-area .author-info,
.page-template-page-price .author-info,
.page-template-page-area .author-box,
.page-template-page-price .author-box,
.page-template-page-area .entry-author,
.page-template-page-price .entry-author,
.page-template-page-area .date-tags,
.page-template-page-price .date-tags,
.page-template-page-area .post-date,
.page-template-page-price .post-date,
.page-template-page-area .post-update,
.page-template-page-price .post-update,
.page-template-page-area .navi-position,
.page-template-page-price .navi-position,
.page-template-page-area .comment-area,
.page-template-page-price .comment-area,
.page-template-page-area .footer-share,
.page-template-page-price .footer-share,
.page-template-page-area .sidebar,
.page-template-page-price .sidebar,
.page-template-page-area #sidebar,
.page-template-page-price #sidebar {
  display: none !important;
}

.page-template-page-custody #header,
.page-template-page-custody .header,
.page-template-page-custody .site-header,
.page-template-page-compensation #header,
.page-template-page-compensation .header,
.page-template-page-compensation .site-header,
.page-template-page-area #header,
.page-template-page-price #header,
.page-template-page-area .header,
.page-template-page-price .header,
.page-template-page-area .site-header,
.page-template-page-price .site-header {
  display: none !important;
}

.page-template-page-custody #main,
.page-template-page-custody .main,
.page-template-page-custody .content-area,
.page-template-page-compensation #main,
.page-template-page-compensation .main,
.page-template-page-compensation .content-area,
.page-template-page-area #main,
.page-template-page-price #main,
.page-template-page-area .main,
.page-template-page-price .main,
.page-template-page-area .content-area,
.page-template-page-price .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.page-template-page-custody #wrapper,
.page-template-page-compensation #wrapper,
.page-template-page-area #wrapper,
.page-template-page-price #wrapper {
  padding: 0 !important;
}

/* ============================================================
   TOPリニューアル案ページ（page-top-renewal.php）
   ============================================================ */

.page-template-page-top-renewal .entry-title,
.page-template-page-top-renewal .breadcrumb,
.page-template-page-top-renewal .sns-buttons,
.page-template-page-top-renewal .sns-share,
.page-template-page-top-renewal .sns-follow,
.page-template-page-top-renewal .author-info,
.page-template-page-top-renewal .author-box,
.page-template-page-top-renewal .entry-author,
.page-template-page-top-renewal .date-tags,
.page-template-page-top-renewal .post-date,
.page-template-page-top-renewal .post-update,
.page-template-page-top-renewal .navi-position,
.page-template-page-top-renewal .comment-area,
.page-template-page-top-renewal .footer-share,
.page-template-page-top-renewal .sidebar,
.page-template-page-top-renewal #sidebar {
  display: none !important;
}

.page-template-page-top-renewal #header,
.page-template-page-top-renewal .header,
.page-template-page-top-renewal .site-header {
  display: none !important;
}

.page-template-page-top-renewal #main,
.page-template-page-top-renewal .main,
.page-template-page-top-renewal .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* このテンプレートがフロントページに割り当てられている場合（body に .home が付く）、
   旧TOP用の「.home #main { display:none }」（Cocoon投稿エリア非表示）を打ち消す。
   新TOPは本文を #main の中に出力しているため、これが無いと本文が丸ごと消える。 */
.home.page-template-page-top-renewal #main,
.home.page-template-page-top-renewal .main {
  display: block !important;
}

.page-template-page-top-renewal #wrapper {
  padding: 0 !important;
}

/* 本文レイアウト */
.legal-section {
  background: #fff;
  padding: 130px 24px 90px;
}

.legal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0e0e5;
}

.legal-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sakura-primary, #c9637a);
  margin: 0 0 14px;
}

.legal-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}

.legal-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: #4a3840;
  text-align: left;
  margin: 0;
}

.legal-item {
  margin-bottom: 40px;
}

.legal-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a2030;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--sakura-primary, #c9637a);
  line-height: 1.5;
}

.legal-item p {
  font-size: 0.95rem;
  line-height: 2;
  color: #4a3840;
  margin: 0 0 12px;
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 1.6em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #4a3840;
}

.legal-contact {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--sakura-pale, #fdf0f3);
  border-radius: 8px;
}

.legal-contact p {
  margin: 0 0 6px;
  font-size: 0.93rem;
  line-height: 1.8;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-contact a {
  color: var(--sakura-primary, #c9637a);
  font-weight: 700;
  text-decoration: none;
}

.legal-date {
  text-align: right;
  font-size: 0.88rem;
  color: #9e7a85;
  margin: 40px 0 0;
}

.legal-btn-wrap {
  text-align: center;
  margin-top: 48px;
}

.legal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sakura-primary, #c9637a);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(201, 99, 122, 0.3);
}

.legal-btn:hover {
  background: var(--sakura-dark, #9e3d55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 99, 122, 0.4);
}

@media screen and (max-width: 480px) {
  .legal-section {
    padding: 104px 16px 64px;
  }
  .legal-item-title {
    font-size: 1.02rem;
  }
}
/* 法律文書ページ ここまで */

/* ============================================================
   固定ページ全体：ヘッダーのサイト名テキストを非表示
   ============================================================ */
.page .site-name-text-link {
  display: none !important;
}

/* ============================================================
   コラムアーカイブページ：Cocoon デフォルト要素を非表示
   ============================================================ */

/* Cocoon デフォルトヘッダー非表示（カスタムヘッダーを使用） */
.post-type-archive-column #header,
.post-type-archive-column .header,
.post-type-archive-column .site-header,
.tax-column_category  #header,
.tax-column_category  .header,
.tax-column_category  .site-header {
  display: none !important;
}

/* Cocoon が出力するアーカイブタイトル・パンくず・SNSボタン非表示 */
.post-type-archive-column .entry-title,
.post-type-archive-column .breadcrumb,
.post-type-archive-column .sns-buttons,
.post-type-archive-column .archive-title,
.tax-column_category  .entry-title,
.tax-column_category  .breadcrumb,
.tax-column_category  .sns-buttons,
.tax-column_category  .archive-title {
  display: none !important;
}

/* サイドバー非表示 */
.post-type-archive-column .sidebar,
.post-type-archive-column #sidebar,
.tax-column_category  .sidebar,
.tax-column_category  #sidebar {
  display: none !important;
}

/* メインエリア・ラッパーのレイアウトリセット */
.post-type-archive-column #main,
.post-type-archive-column .main,
.post-type-archive-column .content-area,
.tax-column_category  #main,
.tax-column_category  .main,
.tax-column_category  .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.post-type-archive-column #wrapper,
.tax-column_category  #wrapper {
  padding: 0 !important;
}

/* 固定ヘッダー（68px）分のトップ余白 */
.post-type-archive-column .col-archive-wrap,
.tax-column_category  .col-archive-wrap {
  padding-top: 88px;
}

/* コラム・代表挨拶・サンクス・プライバシーページは常に白背景ヘッダー */
.post-type-archive-column .custom-header,
.tax-column_category  .custom-header,
.page-template-page-greeting .custom-header,
.page-template-page-thanks .custom-header,
.page-template-page-privacy .custom-header,
.page-template-page-custody .custom-header,
.page-template-page-compensation .custom-header,
.page-template-page-area .custom-header,
.page-template-page-price .custom-header,
.page-template-page-top-renewal .custom-header {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 20px rgba(201, 99, 122, 0.12) !important;
}

.post-type-archive-column .custom-header .custom-header-logo,
.post-type-archive-column .custom-header .global-nav-link,
.post-type-archive-column .custom-header .global-nav-list li a,
.tax-column_category  .custom-header .custom-header-logo,
.tax-column_category  .custom-header .global-nav-link,
.tax-column_category  .custom-header .global-nav-list li a,
.page-template-page-greeting .custom-header .custom-header-logo,
.page-template-page-greeting .custom-header .global-nav-link,
.page-template-page-greeting .custom-header .global-nav-list li a,
.page-template-page-thanks .custom-header .custom-header-logo,
.page-template-page-thanks .custom-header .global-nav-link,
.page-template-page-thanks .custom-header .global-nav-list li a,
.page-template-page-privacy .custom-header .custom-header-logo,
.page-template-page-privacy .custom-header .global-nav-link,
.page-template-page-privacy .custom-header .global-nav-list li a,
.page-template-page-custody .custom-header .custom-header-logo,
.page-template-page-custody .custom-header .global-nav-link,
.page-template-page-custody .custom-header .global-nav-list li a,
.page-template-page-compensation .custom-header .custom-header-logo,
.page-template-page-compensation .custom-header .global-nav-link,
.page-template-page-compensation .custom-header .global-nav-list li a,
.page-template-page-area .custom-header .custom-header-logo,
.page-template-page-price .custom-header .custom-header-logo,
.page-template-page-area .custom-header .global-nav-link,
.page-template-page-price .custom-header .global-nav-link,
.page-template-page-area .custom-header .global-nav-list li a,
.page-template-page-price .custom-header .global-nav-list li a,
.page-template-page-top-renewal .custom-header .custom-header-logo,
.page-template-page-top-renewal .custom-header .global-nav-link,
.page-template-page-top-renewal .custom-header .global-nav-list li a {
  color: var(--sakura-primary, #c9637a) !important;
}

.post-type-archive-column .custom-header .custom-header-tel,
.tax-column_category  .custom-header .custom-header-tel,
.page-template-page-greeting .custom-header .custom-header-tel,
.page-template-page-thanks .custom-header .custom-header-tel,
.page-template-page-privacy .custom-header .custom-header-tel,
.page-template-page-custody .custom-header .custom-header-tel,
.page-template-page-compensation .custom-header .custom-header-tel,
.page-template-page-area .custom-header .custom-header-tel,
.page-template-page-price .custom-header .custom-header-tel,
.page-template-page-top-renewal .custom-header .custom-header-tel {
  color: #4a3a40 !important;
}

.post-type-archive-column .custom-header .hamburger-line,
.tax-column_category  .custom-header .hamburger-line,
.page-template-page-greeting .custom-header .hamburger-line,
.page-template-page-thanks .custom-header .hamburger-line,
.page-template-page-privacy .custom-header .hamburger-line,
.page-template-page-custody .custom-header .hamburger-line,
.page-template-page-compensation .custom-header .hamburger-line,
.page-template-page-area .custom-header .hamburger-line,
.page-template-page-price .custom-header .hamburger-line,
.page-template-page-top-renewal .custom-header .hamburger-line {
  background: var(--sakura-primary, #c9637a) !important;
}

/* ============================================================
   コラム個別記事（1本ずつの記事ページ）
   ============================================================ */

/* Cocoonデフォルトヘッダーを非表示（カスタムヘッダーを使用） */
.single-column #header,
.single-column .header,
.single-column .site-header {
  display: none !important;
}

/* サイドバー非表示 */
.single-column .sidebar,
.single-column #sidebar {
  display: none !important;
}

/* 固定ヘッダー（68px）分のトップ余白 */
.single-column {
  padding-top: 88px;
}

/* 白背景ページなのでカスタムヘッダーを常時白背景にする */
.single-column .custom-header {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 20px rgba(201, 99, 122, 0.12) !important;
}

.single-column .custom-header .custom-header-logo,
.single-column .custom-header .global-nav-link,
.single-column .custom-header .global-nav-list li a {
  color: var(--sakura-primary, #c9637a) !important;
}

.single-column .custom-header .custom-header-tel {
  color: #4a3a40 !important;
}

.single-column .custom-header .hamburger-line {
  background: var(--sakura-primary, #c9637a) !important;
}

/* サイドバー非表示で本文が画面幅いっぱいに広がってしまうため、読みやすい幅に制限して中央寄せにする */
.single-column #content {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  float: none !important;
}

/* 念のため各要素にも直接幅を指定（Cocoonの構造差異に備えた保険） */
.single-column .entry-title,
.single-column .entry-content,
.single-column #toc {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* 「〇〇をフォローする」ボックスを非表示 */
.single-column .sns-follow {
  display: none !important;
}

/* 投稿日・更新日を非表示 */
.single-column .date-tags {
  display: none !important;
}

/* ── 記事タイトルを目立たせる ── */
.single-column .entry-title {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: var(--sakura-dark, #9e3d55) !important;
  line-height: 1.6 !important;
  padding-bottom: 20px !important;
  margin: 0 0 8px !important;
  border: none !important;
  border-bottom: 3px solid var(--sakura-primary, #c9637a) !important;
}

/* ── 本文（記事コンテンツ）のトンマナをサイト全体に統一 ── */

.single-column .entry-content {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: #4a3a40 !important;
  font-size: 1rem !important;
  line-height: 2 !important;
}

.single-column .entry-content p {
  margin: 0 0 28px !important;
}

.single-column .entry-content h2 {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--sakura-dark, #9e3d55) !important;
  background: var(--sakura-pale, #f5dce3) !important;
  border: none !important;
  border-left: 4px solid var(--sakura-primary, #c9637a) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 14px 20px !important;
  margin: 48px 0 24px !important;
  line-height: 1.5 !important;
}

.single-column .entry-content h3 {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--sakura-dark, #9e3d55) !important;
  background: none !important;
  border: none !important;
  border-bottom: 2px solid var(--sakura-light, #e8a0b0) !important;
  padding: 0 0 8px !important;
  margin: 36px 0 18px !important;
}

.single-column .entry-content a {
  color: var(--sakura-primary, #c9637a) !important;
  text-decoration: underline !important;
}

.single-column .entry-content a:hover {
  color: var(--sakura-dark, #9e3d55) !important;
}

.single-column .entry-content strong {
  color: var(--sakura-dark, #9e3d55) !important;
}

.single-column .entry-content ul,
.single-column .entry-content ol {
  margin: 0 0 28px !important;
  padding-left: 1.6em !important;
}

.single-column .entry-content li {
  margin-bottom: 8px !important;
}

.single-column .entry-content blockquote {
  background: #fff !important;
  border: none !important;
  border-left: 4px solid var(--sakura-primary, #c9637a) !important;
  border-radius: 8px !important;
  padding: 20px 28px !important;
  margin: 32px 0 !important;
  box-shadow: 0 4px 20px rgba(201, 99, 122, 0.08) !important;
  color: #2c1a20 !important;
  font-style: italic !important;
}

/* 目次ボックス（[toc]ショートコード） */
.single-column #toc {
  background: var(--sakura-pale, #f5dce3) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
}

.single-column #toc p,
.single-column #toc .toc-title {
  color: var(--sakura-dark, #9e3d55) !important;
  font-weight: 700 !important;
}

.single-column #toc a {
  color: #4a3a40 !important;
  text-decoration: none !important;
}

.single-column #toc a:hover {
  color: var(--sakura-primary, #c9637a) !important;
}

@media screen and (max-width: 600px) {
  .single-column .entry-title {
    font-size: 1.4rem !important;
  }

  .single-column .entry-content h2 {
    font-size: 1.15rem !important;
    padding: 12px 16px !important;
  }

  .single-column .entry-content h3 {
    font-size: 1.05rem !important;
  }
}

/* 記事末尾の「関連するコラム」リンク（functions.php の the_content フィルターで全コラム記事に自動追加） */
.single-column .column-related {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid #f0e0e5;
}

.single-column .column-related__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sakura-dark);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--sakura-primary);
}

.single-column .column-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-column .column-related__list li {
  margin: 0;
  padding: 0;
}

.single-column .column-related__list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #4a3840 !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.single-column .column-related__list a::before {
  content: "→";
  color: var(--sakura-primary);
  flex-shrink: 0;
}

.single-column .column-related__list a:hover {
  color: var(--sakura-primary) !important;
  text-decoration: underline !important;
}

/* 記事末尾の「執筆者」行（functions.php の the_content フィルターで全コラム記事に自動追加） */
.single-column .column-author {
  text-align: right;
  font-size: 0.95rem;
  color: #5a4a50;
  margin: 40px 0 0;
}

/* 記事末尾の「無料相談を予約する」ボタン */
.single-column .column-cta-wrap {
  text-align: center;
  margin: 48px 0 8px;
}

.single-column .column-cta-btn {
  display: inline-block !important;
  background: var(--sakura-primary, #c9637a) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0.04em !important;
  padding: 16px 36px !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 18px rgba(201, 99, 122, 0.35) !important;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  opacity: 1 !important;
  visibility: visible !important;
}

.single-column .column-cta-btn-text {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.single-column .column-cta-btn:hover {
  background: var(--sakura-dark, #9e3d55) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 99, 122, 0.45);
}


/* ============================================================
   2026年10月1日 サイト点検で見つかった不具合の修正
   ============================================================ */

/* ① FAQ（よくある質問）を開くと質問と回答が左右に並んでしまう不具合。
   親テーマCocoonの「.faq-item { display:flex }」（Cocoon自身のFAQブロック用）が
   このサイトの <details class="faq-item"> にも当たっていたため。縦並びに戻す */
.faq-list .faq-item {
  display: block !important;
}
/* 質問と回答の間に空く余白（Cocoonの汎用マージン）も消す */
.faq-list .faq-question {
  margin: 0 !important;
}

/* ② PCヘッダー：1081〜1320px付近で電話番号が2〜3行に折り返し、
   右上の予約ボタンが画面外にはみ出して「を予約する」が切れていた。
   電話番号を折り返さないようにし、ナビが収まらない幅（1320px以下）は
   ハンバーガーメニューに切り替える */
.custom-header-tel {
  white-space: nowrap;
}
.custom-header-right {
  flex-shrink: 0;
}
@media screen and (max-width: 1320px) {
  .global-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-menu-bg {
    display: block;
    pointer-events: none;
  }
  .mobile-menu-bg.is-open {
    pointer-events: auto;
  }
}

/* ③ コラム記事のアイキャッチ画像の左上に、Cocoonのカテゴリーラベルが重なり
   画像内のタイトル文字が隠れていた。カテゴリーは記事下・一覧で分かるので非表示 */
.single-column .eye-catch .cat-label {
  display: none !important;
}

/* ④ 他ページのメニュー・フッターからTOPの各セクション（/#flow 等）へ飛んだとき、
   見出しが固定ヘッダーの裏に隠れる。ジャンプ先にヘッダー分の余白を取る */
.home section[id] {
  scroll-margin-top: 80px;
}

/* ================================================
   TOP ⑦ コラム：最新1件＋テーマから探す（2026-10-06）
   以前の「最新3件カード」だと記事が3本しかないように見えるため、
   最新1件に「最新のコラム」ラベルを付け、下にカテゴリー別の入口を並べる
   ================================================ */
.rn-colsel {
  max-width: 960px;
  margin: 0 auto;
}
.rn-colsel__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sakura-dark, #9e3d55);
}
.rn-colsel__new {
  background: var(--sakura-primary, #c9637a);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .72rem;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
}
.rn-column--latest {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}
.rn-column--latest .rn-column__body {
  padding: 24px 28px;
}
.rn-column--latest .rn-column__title {
  font-size: 1.15rem;
}
.rn-column__excerpt {
  margin: 10px 0 0;
  font-size: .86rem;
  line-height: 1.8;
  color: #6b5a60;
}
.rn-column__more {
  display: inline-block;
  margin-top: 14px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--sakura-primary, #c9637a);
}
.rn-colsel__heading {
  margin: 44px 0 16px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sakura-dark, #9e3d55);
  text-align: center;
}
.rn-colsel__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rn-colsel__cats li {
  margin: 0;
  padding: 0;
}
.rn-colsel__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 10px;
  text-decoration: none !important;
  color: #2c1a20 !important;
  font-weight: 700;
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.rn-colsel__cat:hover {
  border-color: var(--sakura-light, #e8a0b0);
  box-shadow: 0 6px 18px rgba(201,99,122,.12);
}
.rn-colsel__cat-name {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 本数表示はユーザー指示で取りやめ（2026-10-06）。代わりに矢印で「押せる」ことを示す */
.rn-colsel__cat-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--sakura-primary, #c9637a);
}
@media (max-width: 768px) {
  .rn-column--latest { grid-template-columns: 1fr; }
  .rn-column--latest .rn-column__body { padding: 16px 18px 20px; }
  .rn-column--latest .rn-column__title { font-size: 1rem; }
  .rn-colsel__heading { margin-top: 36px; }
  .rn-colsel__cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rn-colsel__cat { padding: 12px 12px; font-size: .86rem; }
}
