/*
Theme Name: Rikkyo Yokohama
Theme URI: https://rikkyo.yokohama/
Author: 横浜立教会
Author URI: https://rikkyo.yokohama/
Description: 横浜立教会公式テーマ — エレガントな伝統校らしさ × モダンなミニマリズム
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: rikkyo-yokohama
Tags: custom-menu, featured-images, translation-ready
*/

/* ============================================================
   CSS カスタムプロパティ（デザイントークン）
   ============================================================ */
:root {
  /* ── 立教パープル（スクールカラー） ── */
  --maroon:        #6B3FA0;   /* メインパープル */
  --maroon-light:  #8B5EC0;   /* ホバー・ライト */
  --maroon-dark:   #4A2878;   /* ダークパープル */

  /* ── 背景・サーフェス ── */
  --cream:         #F8F6FC;   /* 薄ラベンダー白 */
  --cream-dark:    #EDE9F5;   /* ボーダー・区切り */

  /* ── アクセント：シルバーゴールド ── */
  --gold:          #9B8EC4;   /* ラベンダーグレー（装飾） */
  --gold-light:    #C4B8E8;   /* 薄ラベンダー */

  /* ── テキスト ── */
  --text-dark:     #1A1525;   /* ほぼ黒（紫みがかった濃色） */
  --text-mid:      #3D2E5C;   /* ミッドパープルグレー */
  --text-muted:    #7B6E9A;   /* ミュートラベンダー */
  --white:         #FFFFFF;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  40px;

  --shadow-card: 0 4px 24px rgba(60,20,100,0.08);
  --shadow-hover: 0 12px 32px rgba(60,20,100,0.14);

  --font-sans:  'Noto Sans JP', sans-serif;
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-en:    'DM Serif Display', serif;
}

/* ============================================================
   リセット & ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   ユーティリティ
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--maroon-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.section-lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.85;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 2.5rem;
}

/* ボタン */
.btn-primary {
  display: inline-block;
  background: var(--maroon);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--maroon-light);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  color: var(--maroon);
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--maroon);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--maroon);
  padding: 14px 36px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--maroon);
}

/* ============================================================
   ナビゲーション
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,245,239,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,63,160,0.15);
  height: 68px;   /* ロゴの縦サイズに合わせて調整 */
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;      /* ナビに押されて縮まないよう固定 */
  min-width: 0;
}

.logo-crest {
  width: 36px;
  height: 36px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-crest span {
  color: white;
  font-family: var(--font-en);
  font-size: 16px;
  font-style: italic;
}

.site-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--maroon-dark);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;  /* 折り返し禁止 */
}
.site-title a { color: inherit; }

/* ナビメニュー */
.main-navigation { display: flex; align-items: center; gap: 2rem; }

.main-navigation ul {
  display: flex;
  gap: 1.2rem;   /* 間隔を詰めてPC幅に収める */
  align-items: center;
}

.main-navigation li { position: relative; }

.main-navigation a {
  font-size: 12.5px;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;   /* 各メニュー項目を折り返し禁止 */
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--maroon);
  border-color: var(--maroon);
}

/* CTAボタン */
.main-navigation .nav-cta > a {
  background: var(--maroon);
  color: white;
  padding: 7px 18px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  letter-spacing: 0.06em;
  border: none;
  transition: background 0.2s;
}
.main-navigation .nav-cta > a:hover {
  background: var(--maroon-light);
  border-color: transparent;
}

/* ドロップダウン */
.main-navigation ul ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  min-width: 180px;
  padding: 6px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  flex-direction: column;
  gap: 0;
}
.main-navigation li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation ul ul li { width: 100%; }
.main-navigation ul ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: none;
}
.main-navigation ul ul a:hover { background: var(--cream); }

/* ハンバーガー（モバイル） */
.menu-toggle {
  display: none;     /* 常にデフォルト非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon-dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero-section {
  /* vh指定をやめてコンテンツ量で自然に高さが決まる方式 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-left {
  /* コンテンツ量で高さが決まるよう padding で余白を確保 */
  padding: 6rem 3.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--maroon-dark);
  margin-bottom: 0.4rem;
}

.hero-subtitle-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--gold);
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-right {
  /* 画像読み込み前のフォールバック背景色 */
  background: #1C2418;   /* 画像未ロード時のフォールバック：深緑 */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(255,255,255,0.04) 39px,rgba(255,255,255,0.04) 40px),
    repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(255,255,255,0.04) 39px,rgba(255,255,255,0.04) 40px);
}

.hero-medallion {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(155,142,196,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-medallion::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(155,142,196,0.25);
  border-radius: 50%;
}

.medallion-inner { text-align: center; padding: 2rem; }
.medallion-year {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.medallion-kanji {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.medallion-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 12px;
  color: rgba(155,142,196,0.9);
  letter-spacing: 0.1em;
}

.hero-stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  gap: 1.5rem;
  z-index: 2;
}
.hero-stat { border-top: 1px solid rgba(155,142,196,0.4); padding-top: 0.75rem; }
.hero-stat-num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  color: white;
  line-height: 1;
}
.hero-stat-num sup { font-size: 1rem; }
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ============================================================
   マーキー
   ============================================================ */
.marquee-section {
  background: var(--maroon);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid var(--maroon-light);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-track span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
}
.marquee-dot { color: var(--gold-light) !important; font-size: 8px !important; vertical-align: middle; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   会についてセクション
   ============================================================ */
.about-section {
  background: var(--white);
  padding: 7rem 2rem;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--maroon-dark);
  line-height: 1.8;
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  margin: 1.5rem 0;
}

.about-text-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.meta-item {
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  flex: 1;
  min-width: 80px;
}
.meta-num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  color: var(--maroon);
  line-height: 1;
}
.meta-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.about-visual { position: relative; }
.about-img-frame {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: -12px; bottom: -12px;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-featured-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.about-img-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 40%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 3rem;
}

.about-events {
  display: flex;
  gap: 0.8rem;
  padding: 1.2rem 0.5rem 0;
}
.event-pill {
  flex: 1;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--cream-dark);
}
.event-pill-date { font-size: 11px; color: var(--text-muted); }
.event-pill-name { font-size: 13px; color: var(--text-dark); font-weight: 500; margin-top: 2px; }

/* ============================================================
   ニュースセクション
   ============================================================ */
.news-section {
  background: var(--cream);
  padding: 7rem 2rem;
}
.news-inner { max-width: 1200px; margin: 0 auto; }

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card.is-large .news-card-img { height: 260px; }

.news-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.news-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: rgba(107,63,160,0.08);
  color: var(--maroon);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.news-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.news-card.is-large .news-card-title { font-size: 16px; }

.news-date { font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; }

.news-col-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.news-col-stack .news-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.news-col-stack .news-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-col-stack .news-card-img {
  height: 160px;
  flex-shrink: 0;
}
.news-col-stack .news-card-body { flex: 1; }
.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
}

/* ============================================================
   同好会セクション
   ============================================================ */
.clubs-section {
  background: var(--white);
  padding: 7rem 2rem;
}
.clubs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}

.club-item {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.2s;
  cursor: pointer;
}
.club-item:hover { background: var(--cream); }

.club-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(107,63,160,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 0.5rem;
}
/* SVGアイコンのサイズ */
.club-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
/* PNG画像アイコン */
.club-icon img,
.club-icon-png {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.club-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.club-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   入会セクション
   ============================================================ */
.join-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, #5B3090 100%);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(155,142,196,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(155,142,196,0.15) 0%, transparent 40%);
}
.join-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.join-section .section-label { justify-content: center; color: rgba(155,142,196,0.9); }
.join-section .section-label::before { background: rgba(155,142,196,0.6); }
.join-section .section-title { color: var(--white); }
.join-section .section-lead { color: rgba(255,255,255,0.7); margin: 0 auto 2.5rem; }

.join-info {
  display: inline-flex;
  gap: 2.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.join-info-item { text-align: left; }
.join-info-label { font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.join-info-val { font-size: 14px; color: var(--white); font-weight: 500; }

.join-divider { width: 1px; background: rgba(255,255,255,0.1); }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  padding: 5rem 2rem 2rem;
  color: rgba(255,255,255,0.5);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .site-title { color: rgba(255,255,255,0.85); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 12px; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   WordPressデフォルト（投稿・固定ページ）
   ============================================================ */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.entry-header { margin-bottom: 2rem; }
.entry-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--maroon-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.entry-meta { font-size: 13px; color: var(--text-muted); }

.entry-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
}
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2, .entry-content h3 {
  font-family: var(--font-serif);
  color: var(--maroon-dark);
  margin: 2rem 0 0.8rem;
}
.entry-content a { color: var(--maroon); border-bottom: 1px solid rgba(107,63,160,0.3); }
.entry-content a:hover { border-color: var(--maroon); }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }

/* 投稿一覧 */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ページネーション */
.navigation.pagination {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--text-mid);
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background: var(--maroon);
  color: white;
  border-color: var(--maroon);
}

/* レスポンシブルールは下部の完全版ブロックに統合 */

/* 旧768pxブロックは900pxブロックに統合済み */

/* ============================================================
   ヒーロー：画像統合
   ============================================================ */
.hero-campus-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  /* キャンパス画像を自然に見せる上品なオーバーレイ */
  background: linear-gradient(
    to bottom,
    rgba(10,15,10,0.18) 0%,    /* 上部：ほぼ透明 → 画像鮮明 */
    rgba(15,20,15,0.38) 55%,   /* 中央：メダリオンの読みやすさ確保 */
    rgba(10,12,10,0.72) 100%   /* 下部：テキストの可読性 */
  );
  z-index: 1;
}
/* メダリオン・統計は画像オーバーレイの上に */
.hero-right .hero-pattern,
.hero-right .hero-campus-img,
.hero-right .hero-img-overlay { position: absolute; }
.hero-right .hero-medallion { z-index: 2; }
.hero-right .hero-stats     { z-index: 2; }

/* モバイル専用統計バー */
.hero-stats-mobile {
  display: none;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}
.hero-stat-m {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hsm-num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  color: var(--maroon-dark);
  line-height: 1;
}
.hsm-num small { font-size: 0.9rem; }
.hsm-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   ABOUT：画像スタック
   ============================================================ */
.about-img-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  margin-bottom: 1rem;
}
.about-main-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-hover);
}
.about-img-placeholder {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 40%, var(--gold) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.placeholder-kanji {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: white;
  opacity: 0.9;
}
.placeholder-sub {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(155,142,196,0.9);
  letter-spacing: 0.1em;
}

/* サブ画像：右下に重ねて表示 */
.about-sub-img {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-hover);
}

/* 浮き上がりカード */
.about-floating-card {
  position: absolute;
  top: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--cream-dark);
}
.afc-icon { font-size: 1.4rem; }
.afc-num {
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: var(--maroon);
  line-height: 1;
}
.afc-num small { font-size: 0.75rem; }
.afc-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.04em; }

/* ============================================================
   CAMPUS GALLERY セクション
   ============================================================ */
.gallery-section {
  background: var(--cream);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.gallery-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 2.5rem;
}
.gallery-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--maroon-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.gallery-sub {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* スクロールトラック */
.gallery-track-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(107,63,160,0.25) transparent;
  padding: 1rem 2rem 1.5rem;
  /* 中央寄せ：カードが画面幅より少ない場合は中央に */
  display: flex;
  justify-content: center;
}
.gallery-track-wrap::-webkit-scrollbar { height: 4px; }
.gallery-track-wrap::-webkit-scrollbar-thumb {
  background: rgba(107,63,160,0.25);
  border-radius: 2px;
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  /* max-content にするとスクロール時は左詰め、収まる場合は中央寄せ */
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.5rem;
}

.gallery-card {
  position: relative;
  width: 300px;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-card);
}
.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-card:hover .gallery-img { transform: scale(1.06); }

/* 画像未登録時のプレースホルダー */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon) 50%, rgba(155,142,196,0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
}

/* キャプション */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(28,21,16,0.82));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-cap-main {
  font-family: var(--font-serif);
  font-size: 14px;
  color: white;
  font-weight: 500;
}
.gallery-cap-sub {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(155,142,196,0.85);
  letter-spacing: 0.1em;
  font-style: italic;
}

/* 管理者向けメモ */
.gallery-admin-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 2rem;
  margin-top: 1rem;
}
.gallery-admin-note a { color: var(--maroon); }

/* ============================================================
   Clubs：インターリーバー
   ============================================================ */
.clubs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.clubs-intro { }

/* ============================================================
   ニュース："すべて見る"リンク（スマホ対応）
   ============================================================ */
.news-all-link {
  font-size: 12px;
  padding: 9px 22px;
  white-space: nowrap;
}

/* ============================================================
   カスタマイザー登録（functions.php から追加）のためのダミー
   ============================================================ */

/* ============================================================
   完全レスポンシブ — ブレークポイント別調整
   ============================================================ */

/* ── タブレット縦向き〜（〜900px） ── */
/* ============================================================
   レスポンシブ（〜900px）: タブレット縦向き・スマートフォン
   ============================================================ */
@media (max-width: 900px) {

  /* ヒーロー：縦積み（タブレット縦向き以下のみ） */
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }
  .hero-left {
    padding: 4rem 2rem 3rem;
    order: 1;
  }
  .hero-right {
    order: 2;
    min-height: 340px;
  }
  .hero-stats { display: none; }     /* PCの統計を非表示 */
  .hero-stats-mobile { display: flex; } /* モバイル統計を表示 */

  /* About：縦積み */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-main-img { height: 280px; }
  .about-sub-img  { width: 120px; height: 90px; right: -12px; bottom: -12px; }
  .about-floating-card { top: -14px; left: -14px; padding: 0.7rem 0.9rem; }

  /* ギャラリー */
  .gallery-card { width: 260px; height: 190px; }

  /* ニュースヘッダー */
  .news-header { flex-wrap: wrap; gap: 1rem; }

  /* 同好会：縦積み */
  .clubs-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 2rem;
  }
  .clubs-grid { grid-template-columns: repeat(2, 1fr); }

  /* 入会 */
  .join-info { gap: 1.5rem; }
  .join-divider { display: none; }

  /* フッター */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  /* ナビ（900px以下でハンバーガーに） */
  .menu-toggle { display: block; }
  .main-navigation {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(249,245,239,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-dark);
    padding: 1.5rem 1.5rem 1rem;
    display: none;
    flex-direction: column;
    z-index: 99;
  }
  .main-navigation.is-open { display: flex; }
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-navigation > ul > li > a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
    border-left: none;
  }
  .main-navigation ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
    display: flex;
    flex-direction: column;
  }
  .nav-cta > a { margin-top: 0.75rem; display: inline-block; }

  /* ヒーロー */
  .hero-left { padding: 3rem 1.5rem 2rem; }
  .hero-right { min-height: 260px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a { text-align: center; }
  .hero-stats-mobile { gap: 1rem; }

  /* マーキー */
  .marquee-section { padding: 10px 0; }

  /* About */
  .about-section { padding: 4rem 1.5rem; }
  .about-main-img { height: 220px; }
  .about-sub-img  { display: none; }    /* スマホでは非表示 */
  .about-floating-card { display: none; } /* スマホでは非表示 */
  .about-meta { flex-wrap: wrap; }
  .about-events { flex-wrap: wrap; }

  /* ギャラリー */
  .gallery-section { padding: 3.5rem 0 3rem; }
  .gallery-card   { width: 220px; height: 160px; }
  .gallery-track-wrap { padding: 0.75rem 1.5rem 1.25rem; }

  /* ニュース */
  .news-section { padding: 4rem 1.5rem; }
  .news-grid { grid-template-columns: 1fr !important; }
  .news-col-stack { display: contents; } /* スタックを解除して縦並びに */
  .news-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .news-all-link { align-self: flex-start; }

  /* 同好会 */
  .clubs-section { padding: 4rem 1.5rem; }
  .clubs-grid { grid-template-columns: repeat(2, 1fr); }
  .club-item { padding: 1.25rem 0.9rem; }

  /* 入会 */
  .join-section { padding: 4rem 1.5rem; }
  .join-info { flex-direction: column; gap: 1.25rem; text-align: left; }
  .join-info-item { padding: 0; }

  /* フッター */
  .site-footer { padding: 3.5rem 1.5rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; }

  /* 固定ページ共通 */
  .content-section { padding: 3.5rem 1.5rem; }
  .content-inner.content-2col { grid-template-columns: 1fr; gap: 2.5rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .clubs-detail-grid { grid-template-columns: 1fr; }

  /* 投稿・アーカイブ */
  .archive-grid { grid-template-columns: 1fr; }
  .site-main { padding: 2.5rem 1.5rem 4rem; }
}

/* ── 極小スマートフォン（〜480px） ── */
@media (max-width: 480px) {
  .hero-title  { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .clubs-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-card { width: 180px; height: 140px; }
  .news-card-title { font-size: 13px; }
  .join-section { padding: 3rem 1.25rem; }
}

/* ============================================================
   ページネーション（ニュース一覧）— 横並び
   ============================================================ */
.rikkyo-pagination {
  margin: 3rem 0 1rem;
  display: flex;
  justify-content: center;
}
.rikkyo-pagination-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.rikkyo-pagination-inner .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--text-mid);
  background: var(--white);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.rikkyo-pagination-inner .page-numbers:hover {
  background: var(--cream);
  border-color: var(--maroon);
  color: var(--maroon);
}
.rikkyo-pagination-inner .page-numbers.current {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
  font-weight: 500;
}
.rikkyo-pagination-inner .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--text-muted);
  min-width: 24px;
}
.rikkyo-pagination-inner .prev,
.rikkyo-pagination-inner .next {
  font-size: 13px;
  padding: 0 14px;
  letter-spacing: 0.04em;
}

/* ============================================================
   ロゴ画像（ヘッダー）
   ============================================================ */
.site-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img,
.site-logo-link img {
  display: block;
  width: 48px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  /* 白背景JPEGをヘッダーのクリーム色背景に馴染ませる */
  mix-blend-mode: multiply;
}
/* カスタムロゴ（WordPress管理画面で設定した場合）も同サイズに */
.site-logo-link .custom-logo {
  width: 52px;
  height: 60px;
  object-fit: contain;
}
.site-branding-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 付則ブロック（会則ページ） */
.charter-addendum {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.charter-addendum p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   ズームアウト時のレイアウト安定化
   ============================================================ */

/* ブラウザズーム25〜75%でも崩れないよう最小幅を保証 */
body { min-width: 320px; }

/* ヒーロー左カラム：コンテンツが縦に収まらない場合に備える */
.hero-left {
  box-sizing: border-box;
  min-height: 0;
}

/* hero-right の min-height はPC/モバイル別に設定 */

/* ズームアウト時にナビが折り返すのを防ぐ */
.header-inner {
  min-width: 0;
  flex-wrap: nowrap;
}
.main-navigation ul {
  flex-shrink: 1;
}
.main-navigation a {
  white-space: nowrap;
}

/* サイト全体：横スクロールを防ぐ */
html, body {
  overflow-x: hidden;
}
.hero-section,
.about-section,
.news-section,
.clubs-section,
.gallery-section,
.join-section {
  overflow-x: hidden;
}

/* グリッドカラムの最小幅保証（PC幅のみ） */
/* minmax指定は下部のPC幅ブロックに統合済み */

/* コンテナ幅の上限を設けてコンテンツが広がりすぎるのを防ぐ */
.hero-left { max-width: none; }
.about-inner,
.news-inner,
.clubs-inner,
.footer-top,
.footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   投稿詳細ページ — アイキャッチ画像
   ============================================================ */
.single-thumb-wrap {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.single-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* アイキャッチがロゴ等の正方形画像の場合でも適切なサイズに収める */
  max-height: 460px;
  display: block;
}

/* ============================================================
   投稿詳細・アーカイブ のメインエリア
   ============================================================ */
/* 投稿詳細ページ（single.php）用 */
.single .site-main,
.archive .site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}
.entry-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}

/* アーカイブグリッド */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  /* カードの高さを揃える */
  align-items: stretch;
}

/* アーカイブカード：タイトル行数に関係なく高さを揃える */
.archive-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.archive-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.archive-card .news-card-img {
  flex-shrink: 0;
}
.archive-card .news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.archive-card .news-card-title {
  flex: 1;          /* タイトルが伸びて日付を下に押し下げる */
}
.archive-card .news-date {
  margin-top: auto; /* 常にカード下部に配置 */
}

/* ============================================================
   PC幅（901px以上）：ナビを確実に横並びに固定
   ============================================================ */
@media (min-width: 901px) {
  .menu-toggle { display: none; }

  .main-navigation {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex-direction: row;
  }
  .main-navigation ul {
    flex-direction: row;
    gap: 1.2rem;
  }
  .main-navigation > ul > li > a {
    padding-bottom: 2px;
    display: inline;
  }

  .hero-section { grid-template-columns: 1fr 1fr; }
  .hero-left  { order: unset; }
  .hero-right { order: unset; }
  .hero-stats        { display: flex; }
  .hero-stats-mobile { display: none; }

  .about-inner { grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr); }
  .news-grid   { grid-template-columns: minmax(180px, 2fr) minmax(140px, 1fr) minmax(140px, 1fr); }
}

/* ============================================================
   フッターロゴ画像
   ============================================================ */
.footer-logo-img {
  width: 52px;
  height: 60px;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 0;
  /* フッター暗背景に対して白背景を馴染ませる */
  background: rgba(255,255,255,0.10);
  padding: 4px 4px 2px;
  border-radius: 6px;
  flex-shrink: 0;
  /* ロゴの白を暗背景でソフトに見せる */
  mix-blend-mode: screen;
}
/* フッターのブランドエリア内レイアウト調整 */
.footer-brand .site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}


/* ============================================================
   フッター ブランドエリア（ロゴなし版）
   ============================================================ */
.footer-crest {
  width: 36px;
  height: 36px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-crest span {
  color: white;
  font-family: var(--font-en);
  font-size: 16px;
  font-style: italic;
}
.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}


/* ============================================================
   アクセシビリティ — フォーカススタイル
   ============================================================ */

/* キーボード操作時のフォーカスリング */
:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
  border-radius: 2px;
}

/* マウス操作時はアウトラインを非表示（:focus-visibleで制御） */
:focus:not(:focus-visible) {
  outline: none;
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--maroon);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ボタン・リンクのフォーカス */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}

/* 入力フィールドのフォーカス */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 0;
  border-color: var(--maroon);
}

/* ============================================================
   会員ページ — パスワード保護
   ============================================================ */
.member-password-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 4rem 2rem;
}
.member-password-inner {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.member-pw-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.member-pw-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--maroon-dark);
  margin-bottom: 0.75rem;
}
.member-pw-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
/* WordPressデフォルトのパスワードフォームをスタイリング */
.post-password-form label {
  font-size: 13px;
  color: var(--text-mid);
  display: block;
  margin-bottom: 0.5rem;
  text-align: left;
}
.post-password-form input[type="password"] {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.post-password-form input[type="submit"] {
  background: var(--maroon);
  color: white;
  border: none;
  padding: 0.65rem 2rem;
  border-radius: var(--radius-xl);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.post-password-form input[type="submit"]:hover {
  background: var(--maroon-light);
}

/* ============================================================
   会員紹介 グリッド
   ============================================================ */
.member-biz-section {
  padding: 4rem 2rem 6rem;
  background: var(--cream);
}
.member-biz-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.member-biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.member-biz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.member-biz-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.member-biz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.member-biz-card:hover .member-biz-img img { transform: scale(1.04); }
.member-biz-body { padding: 1.5rem; }
.member-biz-cat {
  display: inline-block;
  font-size: 11px;
  background: rgba(107,63,160,0.08);
  color: var(--maroon);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
}
.member-biz-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.member-biz-catch {
  font-size: 13px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.member-biz-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.member-biz-link {
  display: inline-block;
  font-size: 13px;
  color: var(--maroon);
  border-bottom: 1px solid var(--maroon);
  padding-bottom: 1px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.member-biz-link:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .member-biz-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   お知らせセクション
   ============================================================ */
.notice-section {
  background: var(--white);
  border-bottom: 2px solid var(--cream-dark);
}
.notice-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.notice-section-head {
  flex-shrink: 0;
  padding-top: 2px;
}
.notice-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--maroon);
  padding: 4px 14px;
  border-radius: 3px;
  white-space: nowrap;
}
.notice-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.notice-item {
  border-bottom: 1px dashed var(--cream-dark);
}
.notice-item:last-child { border-bottom: none; }

.notice-item-link,
.notice-item-static {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  text-decoration: none;
}
.notice-item-icon {
  font-size: 8px;
  color: var(--maroon);
  flex-shrink: 0;
}
.notice-item-text {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.5;
  flex: 1;
}
.notice-item-link .notice-item-text {
  color: var(--maroon-dark);
}
.notice-item-link:hover .notice-item-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice-item-arrow {
  font-size: 12px;
  color: var(--maroon);
  flex-shrink: 0;
}
/* 文中のリンクテキスト（「申し込みはこちら →」の部分） */
.notice-item-link-inline {
  color: var(--maroon);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.4rem;
  white-space: nowrap;
}
.notice-item-link-inline:hover {
  color: var(--maroon-light);
}
@media (max-width: 900px) {
  .notice-section-inner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }
  .notice-item-text { font-size: 13px; }
}

/* ============================================================
   YouTube動画セクション
   ============================================================ */
.video-section {
  background: var(--cream);
  padding: 4rem 2rem;
}
.video-section-inner {
  max-width: 900px;
  margin: 0 auto;
}
/* 16:9アスペクト比を維持するラッパー */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 900px) {
  .video-section { padding: 3rem 1.5rem; }
}

/* ============================================================
   About動画（右側）：about-main-imgと同サイズ
   ============================================================ */
.about-video-wrapper {
  position: relative;
  width: 100%;
  height: 340px;   /* about-main-img と同じ高さ */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.about-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 900px) {
  .about-video-wrapper { height: 280px; }
}
@media (max-width: 480px) {
  .about-video-wrapper { height: 220px; }
}
