@charset "UTF-8";
/*
Theme Name: Omiya Mitakai
Theme URI: https://example.com/
Author: 大宮三田会HP制作
Description: 大宮三田会 公式サイト専用テーマ。慶應ブルーを基調としたレスポンシブデザイン。トップページの画像・文言は「外観 > カスタマイズ」から編集できます。
Version: 1.7.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omiya-mitakai
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   大宮三田会 公式サイト モックアップ  共通スタイル
   Main color : 慶應ブルー #002F6C
   Breakpoints: ~767px = SP / 768px~1023px = TAB / 1024px~ = PC
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --navy:        #002F6C;
  --navy-dark:   #001F47;
  --navy-light:  #0A4B96;
  --gold:        #C8A24A;
  --red:         #B4131F;
  --ink:         #1A1A1A;
  --ink-sub:     #555B63;
  --line:        #DFE3E8;
  --bg:          #FFFFFF;
  --bg-alt:      #F4F6F8;
  --bg-navy-tint:#EDF1F6;

  --header-h-pc: 84px;
  --header-h-sp: 60px;

  --wrap:        1120px;
  --radius:      6px;
  --shadow:      0 2px 12px rgba(0, 47, 108, .08);
  --shadow-hover:0 8px 24px rgba(0, 47, 108, .16);

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
          "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;               /* 最小14px以上の要件を満たす */
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; background: var(--bg-navy-tint); }
a { color: var(--navy); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .75; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  line-height: 1.5;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  margin-top: 12px;
  background: var(--gold);
}
.section-title--center { text-align: center; }
.section-title--center::after { margin-inline: auto; }
@media (min-width: 768px) { .section-title { font-size: 1.75rem; } }

.lead { color: var(--ink-sub); font-size: .95rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 28px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--navy-light); border-color: var(--navy-light); opacity: 1; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 16px 40px; font-size: 1rem; }
.btn::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-.06em); }
.btn--noarrow::after { content: none; }

.link-more {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .875rem; font-weight: 700; color: var(--navy);
}
.link-more::after { content: "›"; font-size: 1.1em; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h-sp);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
}
.header__inner {
  height: 100%;
  width: min(100% - 32px, 1280px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { opacity: .9; }
.brand__emblem { width: auto; height: 36px; max-width: 48px; flex: none; object-fit: contain; background: transparent; }
.brand__name { font-size: 1.125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; }
.brand__en { display: block; font-size: .5rem; letter-spacing: .16em; opacity: .8; font-weight: 400; margin-top: 3px; }

/* hamburger */
.navbtn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.navbtn span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform .3s, opacity .2s;
}
.navbtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* nav */
.gnav {
  position: fixed; inset: var(--header-h-sp) 0 0 0;
  background: var(--navy-dark);
  padding: 8px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  visibility: hidden;
}
.gnav.is-open { transform: translateX(0); visibility: visible; }
.gnav__list { display: flex; flex-direction: column; }
.gnav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  color: #fff; font-size: 1rem; font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.gnav__list a::after { content: "›"; opacity: .6; }
.gnav__list a[aria-current="page"] { color: var(--gold); }
/* 「入会申込」だけ目立たせる（メニュー項目に menu-item--cta が自動で付く） */
.gnav__list .menu-item--cta a { background: var(--gold); color: var(--navy-dark); border-radius: 3px; padding-inline: 14px; margin-top: 12px; }
.gnav__list .menu-item--cta a::after { opacity: 1; }

@media (min-width: 1024px) {
  .header { height: var(--header-h-pc); }
  .brand__emblem { height: 50px; max-width: 64px; }
  .brand__name { font-size: 1.5rem; }
  .brand__en { font-size: .5625rem; }
  .navbtn { display: none; }
  .gnav {
    position: static; inset: auto; padding: 0; background: none;
    transform: none; visibility: visible; overflow: visible;
  }
  .gnav__list { flex-direction: row; gap: 28px; }
  .gnav__list a {
    display: block; padding: 6px 2px; font-size: .9375rem; font-weight: 500;
    border: 0; position: relative;
  }
  .gnav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform .25s;
  }
  .gnav__list a:hover { opacity: 1; }
  .gnav__list a:hover::after,
  .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .gnav__list .menu-item--cta a {
    margin-top: 0; padding: 8px 18px; font-weight: 700;
    background: var(--gold); color: var(--navy-dark);
    transition: background .2s;
  }
  .gnav__list .menu-item--cta a:hover { background: #d9b45e; }
  .gnav__list .menu-item--cta a::after { display: none; }
  .gnav__list .menu-item--cta a[aria-current="page"] { color: var(--navy-dark); }
}

/* ==========================================================================
   HERO（トップページ）
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__img {
  width: 100%; height: 340px; object-fit: cover; object-position: center 55%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 22, 55, .78) 0%, rgba(0, 33, 78, .5) 45%, rgba(0, 47, 108, .12) 100%);
}
/* 文字の帯の高さだけ暗くして、雲などの明るい背景でも白文字が読めるようにする */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 18, 48, 0) 18%, rgba(0, 18, 48, .58) 42%, rgba(0, 18, 48, .58) 66%, rgba(0, 18, 48, 0) 88%);
}
.hero__copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  color: #fff;
}
.hero__title {
  /* SPでは画面幅に合わせて縮め、「大宮で集い広がる社中の絆」（12文字）が1行に収まるようにする */
  font-size: clamp(1.125rem, 6.4vw, 1.875rem); font-weight: 700; letter-spacing: .05em; line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 10, 30, .9), 0 2px 10px rgba(0, 10, 30, .8), 0 0 28px rgba(0, 10, 30, .6);
}
.hero__sub {
  margin-top: 12px; font-size: clamp(.8125rem, 3.8vw, .9375rem); letter-spacing: .05em;
  text-shadow: 0 1px 2px rgba(0, 10, 30, .9), 0 2px 10px rgba(0, 10, 30, .8);
}
.hero__btn { margin-top: 24px; align-self: flex-start; }
@media (min-width: 768px) {
  .hero__img { height: 440px; }
  .hero__title { font-size: 2.75rem; }
  .hero__sub { font-size: 1.0625rem; }
}
@media (min-width: 1024px) {
  .hero__img { height: 520px; }
  .hero__title { font-size: 3.25rem; letter-spacing: .1em; }
}

/* ---------- 下層ページのページヘッダー ---------- */
.pagehead { position: relative; background: var(--navy); overflow: hidden; }
.pagehead__img { width: 100%; height: 150px; object-fit: cover; opacity: .45; }
.pagehead__copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  width: min(100% - 40px, var(--wrap)); margin-inline: auto; color: #fff;
}
.pagehead__title { font-size: 1.5rem; font-weight: 700; letter-spacing: .08em; }
.pagehead__en { font-size: .625rem; letter-spacing: .2em; opacity: .75; margin-top: 4px; }
@media (min-width: 768px) {
  .pagehead__img { height: 220px; }
  .pagehead__title { font-size: 2rem; }
  .pagehead__en { font-size: .75rem; }
}

/* パンくず */
.breadcrumb { background: var(--bg-alt); font-size: .75rem; color: var(--ink-sub); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; padding: 10px 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; opacity: .6; }

/* ==========================================================================
   お知らせ
   ========================================================================== */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 4px; color: var(--ink);
}
.news-list a:hover { opacity: 1; color: var(--navy); background: var(--bg-navy-tint); }
.news-list__date { font-size: .8125rem; color: var(--ink-sub); letter-spacing: .04em; flex: none; }
.news-list__cat {
  display: inline-block; margin-right: 10px;
  padding: 1px 10px; border: 1px solid var(--navy); border-radius: 2px;
  font-size: .6875rem; color: var(--navy); letter-spacing: .04em; vertical-align: 1px;
}
.news-list__title { font-size: .9375rem; line-height: 1.7; }
@media (min-width: 768px) {
  .news-list a { flex-direction: row; align-items: baseline; gap: 24px; padding: 18px 8px; }
  .news-list__date { width: 6.5em; }
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}

/* ==========================================================================
   about 2カラム
   ========================================================================== */
.cols { display: grid; gap: 28px; }
.cols__body p + p { margin-top: 1em; }
.cols__figure { max-width: 220px; margin-inline: auto; order: -1; }
.cols__figure img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; background: #fff; padding: 10px; border-radius: 20px; box-shadow: 0 8px 28px rgba(0, 31, 71, .12); }
.cols__btn { margin-top: 24px; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .cols__figure { max-width: 380px; order: 0; }
  .cols__figure img { padding: 14px; }
  .cols--rev .cols__figure { order: -1; }
}

/* ==========================================================================
   カード（活動紹介など）
   ========================================================================== */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__img { width: 100%; height: 170px; object-fit: cover; }
.card__body { padding: 18px 20px 22px; }
.card__title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.card__text { margin-top: 8px; font-size: .875rem; color: var(--ink-sub); line-height: 1.8; }

/* ==========================================================================
   CTA 帯
   ========================================================================== */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; text-align: center; padding: 52px 0;
}
.cta__title { font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; }
.cta__text { margin-top: 10px; font-size: .9375rem; opacity: .9; }
.cta .btn { margin-top: 24px; background: #fff; color: var(--navy); border-color: #fff; }
.cta .btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
@media (min-width: 768px) { .cta__title { font-size: 1.625rem; } }

/* ==========================================================================
   本文パーツ（下層ページ）
   ========================================================================== */
.prose { font-size: .9375rem; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-size: 1.25rem; color: var(--navy); font-weight: 700;
  padding-left: 14px; border-left: 4px solid var(--navy); line-height: 1.5;
  margin-top: 2.4em;
}
.prose h3 { font-size: 1.0625rem; color: var(--navy); font-weight: 700; margin-top: 2em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.2em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .75em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.prose ul li + li { margin-top: .4em; }
@media (min-width: 768px) { .prose h2 { font-size: 1.375rem; } }

/* 表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { min-width: 560px; font-size: .875rem; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.tbl tbody tr:nth-child(even) { background: var(--bg-alt); }
.tbl td:first-child { white-space: nowrap; font-weight: 700; color: var(--navy); }

/* 定義リスト（概要表） */
.deflist { border-top: 1px solid var(--line); font-size: .9375rem; }
.deflist > div { border-bottom: 1px solid var(--line); padding: 14px 0; }
.deflist dt { font-weight: 700; color: var(--navy); font-size: .875rem; }
.deflist dd { margin-top: 4px; }
@media (min-width: 768px) {
  .deflist > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 8px; }
  .deflist dd { margin-top: 0; }
}

/* 会長挨拶 */
.greeting { display: grid; gap: 28px; }
.greeting__photo img { width: 100%; max-width: 280px; border-radius: var(--radius); margin-inline: auto; }
.greeting__caption { margin-top: 10px; text-align: center; font-size: .8125rem; color: var(--ink-sub); }
.greeting__sign { margin-top: 2em; text-align: right; font-size: 1rem; font-weight: 700; color: var(--navy); }
@media (min-width: 900px) {
  .greeting { grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
}

/* ==========================================================================
   フォーム（入会申込）
   ========================================================================== */
.form { margin-top: 8px; }
.form__row + .form__row { margin-top: 22px; }
.form__label { display: block; font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.req, .opt {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 2px;
  font-size: .625rem; font-weight: 700; letter-spacing: .04em; vertical-align: 2px;
}
.req { background: var(--red); color: #fff; }
.opt { background: var(--bg-alt); color: var(--ink-sub); border: 1px solid var(--line); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid #C4CBD4; border-radius: 3px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--navy-light); outline-offset: 1px; border-color: var(--navy-light);
}
.form__note { margin-top: 6px; font-size: .75rem; color: var(--ink-sub); }
.form__privacy {
  margin-top: 28px; padding: 18px 20px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .8125rem; color: var(--ink-sub);
}
.form__check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .875rem; color: var(--ink); }
.form__check input { margin-top: .45em; width: 17px; height: 17px; flex: none; accent-color: var(--navy); }
.form__submit { margin-top: 32px; text-align: center; position: relative; }
/* CF7が送信ボタンの横に付ける送信中スピナー（非表示でも幅を取り、ボタンが左に寄る）をボタンの下に逃がす */
.form__submit .wpcf7-spinner { position: absolute; left: 50%; bottom: -36px; margin: 0; transform: translateX(-50%); }
@media (min-width: 768px) {
  .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .form__grid .form__row + .form__row { margin-top: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: #fff; padding: 40px 0 0; margin-top: 0; }
.footer__top { display: grid; gap: 28px; }
.footer .brand__name { font-size: 1.25rem; }
.footer__addr { margin-top: 14px; font-size: .8125rem; line-height: 2; opacity: .9; font-style: normal; }
.footer__addr a { color: #fff; text-decoration: underline; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .8125rem; }
.footer__nav a { color: #fff; opacity: .9; }
.footer__bottom {
  margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2);
  padding: 16px 0 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: .875rem; opacity: .95;
}
.footer__bottom small { font-size: .9375rem; font-weight: 700; letter-spacing: .04em; }
.footer__bottom a { color: #fff; }
.footer__links { display: flex; gap: 18px; }
@media (min-width: 900px) {
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .footer__nav { grid-template-columns: 1fr 1fr; justify-self: end; gap: 10px 40px; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* page top */
.pagetop {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 44px; height: 44px; border-radius: 3px;
  display: grid; place-content: center;
  background: #fff; color: var(--navy); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 1.1rem; line-height: 1;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }

/* 画像読み込み失敗時のフォールバック（モック用） */
img.is-imgfallback {
  background: repeating-linear-gradient(
    45deg, var(--bg-navy-tint), var(--bg-navy-tint) 10px, #E3E9F1 10px, #E3E9F1 20px);
  min-height: 120px;
}

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
body.is-navopen { overflow: hidden; }
@media (min-width: 1024px) { body.is-navopen { overflow: auto; } }

/* ==========================================================================
   WordPress 用の追加スタイル
   ========================================================================== */

/* 管理バーが出ているときにヘッダーが隠れないように */
.admin-bar .header { top: 32px; }
.admin-bar .gnav { inset: calc(var(--header-h-sp) + 46px) 0 0 0; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (min-width: 1024px) { .admin-bar .gnav { inset: auto; } }

/* 投稿本文（ブロックエディタ）で使われるクラス */
.prose .wp-block-image { margin-block: 1.6em; }
.prose .wp-block-image img { border-radius: var(--radius); }
.prose figcaption { margin-top: 8px; font-size: .8125rem; color: var(--ink-sub); text-align: center; }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-table table { min-width: 560px; font-size: .875rem; border-collapse: collapse; }
.prose .wp-block-table th,
.prose .wp-block-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .wp-block-table thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.prose .wp-block-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.prose .wp-block-quote {
  margin: 1.6em 0; padding: 16px 20px;
  background: var(--bg-alt); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.prose .wp-block-quote p { margin: 0; }
.prose .wp-block-separator { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose .wp-block-button__link { border-radius: 3px; background: var(--navy); }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li + li { margin-top: .4em; }
.prose .wp-block-list { list-style: none; }

/* 画像の配置 */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.alignwide, .alignfull { margin-inline: 0; }

/* 投稿メタ情報 */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.post-meta__date { font-size: .8125rem; color: var(--ink-sub); letter-spacing: .04em; }
.post-meta__cat {
  display: inline-block; padding: 1px 10px; border: 1px solid var(--navy); border-radius: 2px;
  font-size: .6875rem; color: var(--navy); letter-spacing: .04em;
}

/* 記事下ナビ */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; }
.post-nav a { display: inline-block; max-width: 20em; }

/* ページネーション */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .page-numbers {
  display: grid; place-content: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 3px; font-size: .875rem; color: var(--navy); background: #fff;
}
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 記事なしのとき */
.empty { padding: 48px 0; text-align: center; color: var(--ink-sub); font-size: .9375rem; }

/* Contact Form 7 をモックのフォームデザインに合わせる */
.wpcf7 { margin-top: 8px; }
.wpcf7 p { margin: 0 0 22px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #C4CBD4; border-radius: 3px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: 2px solid var(--navy-light); outline-offset: 1px; border-color: var(--navy-light);
}
.wpcf7 input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--navy); margin-right: 6px; }
.wpcf7 input[type="submit"] {
  display: inline-block; padding: 16px 40px; border: 1px solid var(--navy); border-radius: 3px;
  background: var(--navy); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer; transition: background .2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--navy-light); }
.wpcf7-not-valid-tip { color: var(--red); font-size: .8125rem; margin-top: 4px; }
.wpcf7-response-output {
  margin: 24px 0 0 !important; padding: 14px 18px !important;
  border-width: 1px !important; border-radius: var(--radius); font-size: .875rem;
}
.grecaptcha-badge { visibility: hidden; }

/* 会則・個人情報保護方針をボタンで呼び出す（入会申込ページ） */
.om-doc { margin: 0; }
.om-doc + .om-doc { margin-top: 12px; }
.om-doc__summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5em;
  padding: 12px 22px; border: 1px solid var(--navy); border-radius: 3px;
  background: #fff; color: var(--navy); font-size: .9375rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.om-doc__summary::-webkit-details-marker { display: none; }
.om-doc__summary::before { content: "＋"; font-weight: 700; }
.om-doc[open] .om-doc__summary::before { content: "－"; }
.om-doc__summary:hover, .om-doc[open] .om-doc__summary { background: var(--navy); color: #fff; }
.om-doc__body {
  margin-top: 12px; max-height: 360px; overflow-y: auto;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-alt); font-size: .875rem;
}
.om-doc__body > * + * { margin-top: 1em; }
.om-doc__body h2 { font-size: 1.0625rem; padding: 0; border: 0; margin-top: 1.4em; }
.om-doc__body h3 { font-size: .9375rem; margin-top: 1.2em; }
.om-consent { margin-top: 28px; padding: 18px 20px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.om-consent p { margin: 0 0 8px !important; font-size: .875rem; }
.om-consent .wpcf7-list-item { margin: 0; }
.om-consent .wpcf7-list-item label { display: flex; gap: 8px; align-items: flex-start; font-size: .9375rem; font-weight: 700; color: var(--navy); }
.om-consent .wpcf7-list-item input { margin-top: .3em; flex: none; }
.wpcf7 input[type="submit"]:disabled { background: #9AA5B4; border-color: #9AA5B4; cursor: not-allowed; }

/* 沿革（大宮三田会について） */
.om-history { list-style: none; border-left: 2px solid var(--gold); padding-left: 0; }
.prose .om-history li { padding: 0 0 14px 22px; position: relative; display: grid; grid-template-columns: 9.5em 1fr; gap: 4px 12px; font-size: .9375rem; }
.prose .om-history li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.om-history__year { font-weight: 700; color: var(--navy); }
@media (max-width: 599px) { .prose .om-history li { grid-template-columns: 1fr; gap: 2px; } }

/* 行事・同好会（行事活動） */
/* 行事・同好会カード: 写真枠＋回数バッジ。写真は <figure> 内に <img> を入れるだけで差し替え可 */
.om-events { display: grid; gap: 16px; }
.om-event {
  display: grid; grid-template-columns: 104px 1fr; overflow: hidden;
  border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.om-event:hover {
  transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 31, 71, .14); border-left-color: var(--gold); outline: none;
}
.om-event__fig { margin: 0; position: relative; min-height: 104px; overflow: hidden; background: linear-gradient(150deg, #E4EAF3, #C9D5E4); }
.om-event__fig img { width: 100%; height: 100%; object-fit: cover; display: block; background: none; transition: transform .5s; }
.om-event:hover .om-event__fig img { transform: scale(1.06); }
.om-event__fig--placeholder::before {
  content: "PHOTO"; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-120%);
  text-align: center; font-size: .625rem; letter-spacing: .3em; color: var(--navy); opacity: .45;
}
.om-event__fig--placeholder::after {
  content: attr(data-label); position: absolute; left: 6px; right: 6px; top: 50%; transform: translateY(-20%);
  text-align: center; font-size: .75rem; font-weight: 700; line-height: 1.3; color: var(--navy); opacity: .6;
}
.om-event__body { padding: 14px 16px 12px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
/* .prose h3 の margin-top: 2em を打ち消す（カード上部に空白ができるのを防ぐ） */
.om-event__title, .prose .om-event__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.4; transition: color .2s; }
.om-event:hover .om-event__title { color: var(--navy-light); }
.om-event__num { display: inline-block; min-width: 1.6em; margin-right: .2em; color: var(--gold); }
.om-event__meta { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); font-size: .75rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.prose .om-event__text {
  margin-top: .5em; font-size: .9375rem; line-height: 1.75; color: var(--ink); transition: color .2s;
}
.om-event__more { display: none; }
@media (min-width: 768px) {
  .om-events { grid-template-columns: 1fr 1fr; }
  .om-event { grid-template-columns: 132px 1fr; }
  .om-event__fig { min-height: 132px; }
  .om-event__body { padding: 16px 18px 14px; }
  .om-event__title { font-size: 1.125rem; }
  .prose .om-event__text { font-size: 1rem; }
}

/* ==========================================================================
   演出（v1.6.0）: スクロールで表示・ヒーローのズーム・数字カウントアップ
   「視差効果を減らす」設定の環境では、すべて静止表示になる
   ========================================================================== */
/* 数字で見る大宮三田会 */
.stats { padding: 48px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.stats .section-title { margin-bottom: 8px; }
.stats__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 28px; }
.stats__list .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stat { text-align: center; padding: 14px 8px; }
.stat__num { font-size: 2.25rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__unit { margin-left: 2px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.stat__label { display: block; margin-top: 8px; font-size: .8125rem; color: var(--ink-sub); letter-spacing: .06em; }
.stat__label::before { content: ""; display: block; width: 28px; height: 2px; margin: 0 auto 8px; background: var(--gold); }
@media (min-width: 768px) {
  .stats { padding: 64px 0 56px; }
  .stats__list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
  .stats__list .stat:last-child:nth-child(odd) { grid-column: auto; }
  .stat { padding: 18px 8px; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; }
  .stat__num { font-size: 3rem; }
}

/* スクロールで表示（JSが .reveal を付け、見えたら .is-visible を付ける） */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0s); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.om-event.reveal:hover { transform: translateY(-3px); }

/* ヒーロー: 写真がゆっくり寄り、コピーが一拍遅れて浮かび上がる */
@keyframes om-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes om-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__img { animation: om-hero-zoom 9s cubic-bezier(.2,.6,.3,1) both; }
.hero__title { animation: om-rise .9s cubic-bezier(.22,.61,.36,1) .25s both; }
.hero__sub { animation: om-rise .9s cubic-bezier(.22,.61,.36,1) .55s both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img, .hero__title, .hero__sub { animation: none; }
}

/* スクリーンリーダー用 */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
