/* =========================================================
   榛南ライオンズクラブ 共通スタイル
   配色: 駿河湾のウルトラマリン × ライオンズゴールド
   ========================================================= */

:root {
    --ocean: #0057ff;        /* メインの鮮やかな青 */
    --ocean-deep: #0a2a7a;   /* 濃い青（見出し・フッター） */
    --night: #071437;        /* 最も濃い色（文字） */
    --gold: #ffb400;         /* ライオンズゴールド */
    --gold-deep: #e09a00;
    --lagoon: #00c2c7;       /* ターコイズ（差し色） */
    --paper: #f3f6fd;        /* 背景 */
    --white: #ffffff;
    --ink: #1a2440;          /* 本文 */
    --muted: #5b6684;        /* 補足文字 */
    --line: #dbe3f5;         /* 罫線 */
    --danger: #e5384f;

    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 24px;
    --shadow: 0 12px 32px -14px rgba(10, 42, 122, 0.28);

    --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-en: "Bricolage Grotesque", "Zen Kaku Gothic New", sans-serif;

    --wrap: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink);
    background: var(--paper);
    font-feature-settings: "palt" 1;
    letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; color: var(--night); }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--gold); color: var(--night); padding: 8px 16px; z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------
   ヘッダー
   --------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--night); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.06em; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(from 200deg, var(--gold), var(--gold-deep), var(--gold));
    box-shadow: inset 0 0 0 5px var(--ocean);
}
.brand small {
    display: block; font-family: var(--font-en); font-weight: 600; font-size: 0.68rem;
    color: var(--ocean); letter-spacing: 0.04em; line-height: 1;
}

.global-nav ul { display: flex; align-items: center; gap: 4px; }
.global-nav a {
    display: block; padding: 8px 12px; border-radius: 999px;
    color: var(--ink); font-weight: 700; font-size: 0.92rem; white-space: nowrap;
}
.global-nav a:hover { text-decoration: none; background: var(--paper); color: var(--ocean); }
.global-nav a[aria-current="page"] { color: var(--ocean); background: #e6eeff; }
.global-nav .nav-member {
    background: var(--gold); color: var(--night); margin-left: 8px; padding: 8px 18px;
}
.global-nav .nav-member:hover { background: var(--gold-deep); color: var(--night); }
.global-nav .nav-member[aria-current="page"] { background: var(--gold); color: var(--night); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--ocean); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: #fff;
    margin-left: -10px; transition: transform 0.25s, background 0.25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

@media (max-width: 1020px) {
    .nav-toggle { display: block; }
    .global-nav {
        position: fixed; inset: 72px 0 auto 0; background: var(--white);
        border-bottom: 4px solid var(--gold);
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
        box-shadow: var(--shadow);
    }
    .nav-open .global-nav { max-height: 80vh; overflow-y: auto; }
    .global-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
    .global-nav a { padding: 14px 16px; border-radius: var(--radius-s); font-size: 1rem; }
    .global-nav .nav-member { margin: 10px 0 0; text-align: center; }
}

/* ---------------------------------------------------------
   トップのヒーロー
   --------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden; color: var(--white);
    background:
        linear-gradient(115deg, rgba(0, 46, 170, 0.92) 0%, rgba(0, 87, 255, 0.78) 45%, rgba(0, 194, 199, 0.35) 100%),
        url("../images/sea.jpg") center / cover no-repeat,
        var(--ocean);
    padding: 120px 0 170px;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
}
.hero::after { /* 太陽のモチーフ */
    content: ""; position: absolute; right: -120px; top: -140px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle at 40% 60%, var(--gold) 0 55%, rgba(255, 180, 0, 0) 56%);
    opacity: 0.95;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
    font-family: var(--font-en); font-weight: 800; color: var(--white);
    font-size: clamp(3.6rem, 11vw, 8.5rem); line-height: 0.92; letter-spacing: -0.03em;
    margin: 0 0 24px;
}
.hero-title span { display: block; font-family: var(--font-ja); font-size: 0.26em; font-weight: 700; letter-spacing: 0.2em; margin-top: 18px; color: var(--gold); }
.hero-lead { font-size: clamp(1rem, 2.2vw, 1.25rem); max-width: 34em; margin-bottom: 36px; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (prefers-reduced-motion: no-preference) {
    .hero-title, .hero-lead, .hero-actions { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
    .hero-lead { animation-delay: 0.12s; }
    .hero-actions { animation-delay: 0.24s; }
    .hero::after { animation: sunrise 1.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sunrise { from { transform: translateY(120px) scale(0.85); opacity: 0; } to { transform: none; opacity: 0.95; } }

/* ---------------------------------------------------------
   下層ページのヘッダー
   --------------------------------------------------------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--white);
    background:
        linear-gradient(115deg, rgba(0, 46, 170, 0.95) 0%, rgba(0, 87, 255, 0.85) 60%, rgba(0, 194, 199, 0.6) 100%),
        url("../images/sea.jpg") center 60% / cover no-repeat,
        var(--ocean);
    padding: 72px 0 96px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}
.page-hero::after {
    content: ""; position: absolute; right: 6%; bottom: -90px;
    width: 220px; height: 220px; border-radius: 50%; background: var(--gold); opacity: 0.9;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-en {
    font-family: var(--font-en); font-weight: 700; font-size: 1rem; color: var(--gold);
    letter-spacing: 0.02em; display: block; margin-bottom: 4px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: 0.08em; }
.breadcrumb { margin-top: 14px; font-size: 0.85rem; opacity: 0.85; }
.breadcrumb a { color: var(--white); }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "／"; margin: 0 6px; opacity: 0.7; }

/* ---------------------------------------------------------
   シネマグラフ（背景動画）
   --------------------------------------------------------- */
.cinemagraph { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ocean-deep); }
.cinemagraph video { width: 100%; height: 100%; object-fit: cover; display: block; }
.has-video { background: var(--ocean-deep); }
.has-video::after { display: none; }   /* 動画のときは太陽の円を出さない */
.hero.has-video { padding: 150px 0 200px; }
.page-hero.has-video { padding: 110px 0 150px; }
.has-video .hero-title, .has-video .hero-lead, .has-video h1, .has-video h2,
.has-video p, .has-video .page-hero-en, .has-video .breadcrumb, .has-video .hero-title span {
    text-shadow: 0 1px 3px rgba(0, 15, 60, 0.75), 0 2px 18px rgba(0, 15, 60, 0.55);
}
@media (max-width: 640px) {
    .hero.has-video { padding: 110px 0 170px; min-height: 92vh; display: flex; align-items: center; }
    .hero.has-video .hero-inner { width: 100%; }
    .page-hero.has-video { padding: 80px 0 110px; }
}

/* トップ下部：茶畑のシネマグラフの帯 */
.join-band.has-video {
    min-height: 380px; padding: 64px 56px; background: var(--ocean-deep); isolation: isolate;
}
.join-band.has-video::before { display: none; }
.join-band.has-video .cinemagraph { border-radius: inherit; }
.join-band.has-video .cinemagraph video { object-position: center 35%; }
.join-band.has-video .join-text, .join-band.has-video .btn { position: relative; z-index: 1; }
.join-band.has-video h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); text-shadow: 0 2px 20px rgba(0, 20, 80, 0.4); }
.join-band.has-video p { color: rgba(255, 255, 255, 0.92); }
.join-band.has-video .btn-ocean { background: var(--gold); color: var(--night); }
.join-band.has-video .btn-ocean:hover { background: var(--gold-deep); }
@media (max-width: 640px) {
    .join-band.has-video { min-height: 460px; padding: 40px 24px; align-items: flex-end; align-content: flex-end; }
}

/* 会員ページ：ログイン画面の背景も茶畑の動画に */
.login-box { position: relative; z-index: 1; }

/* ---------------------------------------------------------
   セクション・見出し
   --------------------------------------------------------- */
.main { padding: 56px 0 96px; }
.section { margin-bottom: 88px; }
.section:last-child { margin-bottom: 0; }

.section-title {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
    font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 900; letter-spacing: 0.06em;
    margin-bottom: 32px; padding-bottom: 14px; position: relative;
}
.section-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 5px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ocean), var(--lagoon));
}
.section-title .en { font-family: var(--font-en); font-weight: 600; font-size: 0.95rem; color: var(--ocean); letter-spacing: 0.02em; }
.section-title .aside { margin-left: auto; font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }

.sub-title {
    font-size: 1.2rem; font-weight: 900; color: var(--ocean-deep); margin: 40px 0 18px;
    display: flex; align-items: center; gap: 10px;
}
.sub-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

.lead { font-size: 1.05rem; max-width: 46em; }

/* ---------------------------------------------------------
   ボタン
   --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-ja); font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ocean); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--ocean-deep); }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }

/* ---------------------------------------------------------
   パネル（白い面）
   --------------------------------------------------------- */
.panel {
    background: var(--white); border-radius: var(--radius-l); padding: 36px;
    box-shadow: var(--shadow);
}
@media (max-width: 640px) { .panel { padding: 24px 20px; border-radius: var(--radius-m); } }

/* ---------------------------------------------------------
   トップ：クラブの基本情報の帯
   --------------------------------------------------------- */
.facts {
    position: relative; z-index: 2; margin-top: -90px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden;
}
.fact { padding: 28px 30px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.fact dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 900; color: var(--night); line-height: 1.5; }
.fact dd strong { font-family: var(--font-en); font-size: 2rem; color: var(--ocean); font-weight: 800; margin-right: 4px; }
@media (max-width: 760px) {
    .facts { grid-template-columns: 1fr; margin-top: -70px; }
    .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 24px; }
    .fact:last-child { border-bottom: 0; }
}

/* お知らせ */
.news-list { background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a {
    display: grid; grid-template-columns: 110px auto 1fr; align-items: center; gap: 8px 20px;
    padding: 22px 30px; color: var(--ink); transition: background 0.2s;
}
.news-list a:hover { background: #f6f9ff; text-decoration: none; }
.news-list a:hover .news-title { color: var(--ocean); }
.news-date { font-family: var(--font-en); font-weight: 700; color: var(--ocean-deep); }
.news-title { font-weight: 700; }
@media (max-width: 640px) {
    .news-list a { grid-template-columns: auto 1fr; padding: 18px 20px; }
    .news-title { grid-column: 1 / -1; }
}

/* カテゴリラベル */
.tag {
    display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
    line-height: 1.6; white-space: nowrap; background: #e6eeff; color: var(--ocean);
}
.tag-gold { background: #fff1cc; color: #8a5a00; }
.tag-red { background: #ffe3e7; color: #b0142a; }
.tag-dark { background: var(--ocean-deep); color: var(--white); }
.tag-ocean { background: var(--ocean); color: var(--white); }
.tag-lagoon { background: #d6f7f7; color: #00777a; }

/* コンテンツ案内 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-link {
    position: relative; display: flex; flex-direction: column; min-height: 190px;
    padding: 28px; border-radius: var(--radius-l); background: var(--white); color: var(--ink);
    border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.guide-link:hover { text-decoration: none; border-color: var(--ocean); transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-link h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }
.guide-link p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.guide-link .go {
    margin-top: auto; padding-top: 16px; font-family: var(--font-en); font-weight: 700; color: var(--ocean);
}
.guide-link.is-feature {
    grid-row: span 2; color: var(--white); border: 0;
    background:
        linear-gradient(160deg, rgba(0, 87, 255, 0.92), rgba(0, 46, 170, 0.96)),
        url("../images/sea4.jpg") center / cover no-repeat, var(--ocean);
}
.guide-link.is-feature h3 { color: var(--white); font-size: 1.6rem; }
.guide-link.is-feature p { color: rgba(255,255,255,0.88); }
.guide-link.is-feature .go { color: var(--gold); }
.guide-link.is-member { background: var(--night); border-color: var(--night); color: var(--white); }
.guide-link.is-member h3 { color: var(--gold); }
.guide-link.is-member p { color: rgba(255,255,255,0.75); }
.guide-link.is-member .go { color: var(--gold); }
.guide-link.is-member { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.guide-link.is-member h3 { margin: 0; }
.guide-link.is-member .go { margin: 0 0 0 auto; padding: 0; }
@media (max-width: 560px) { .guide-link.is-member { flex-direction: column; align-items: flex-start; } .guide-link.is-member .go { margin: 8px 0 0; } }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } .guide-link.is-feature { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } .guide-link { min-height: 0; } }

/* 入会案内の帯 */
.join-band {
    position: relative; overflow: hidden; border-radius: var(--radius-l);
    background: linear-gradient(120deg, var(--gold) 0%, #ffcf4d 100%);
    padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.join-band::before {
    content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
    border: 36px solid rgba(255,255,255,0.35);
}
.join-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: var(--night); margin-bottom: 6px; }
.join-band p { margin: 0; color: #3d2e00; font-weight: 500; }
.join-band .btn { position: relative; }
@media (max-width: 640px) { .join-band { padding: 32px 24px; } }

/* ---------------------------------------------------------
   活動報告カード
   --------------------------------------------------------- */
.filter-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
    font-family: var(--font-ja); font-weight: 700; font-size: 0.92rem; cursor: pointer;
    padding: 9px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--ocean); color: var(--ocean); }
.filter-btn[aria-pressed="true"] { background: var(--ocean); border-color: var(--ocean); color: var(--white); }

.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.activity-card {
    background: var(--white); border-radius: var(--radius-m); overflow: hidden;
    box-shadow: 0 2px 0 var(--line); display: flex; flex-direction: column;
}
.activity-card[hidden] { display: none; }
.activity-card figure { margin: 0; position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #cfe0ff, #e8f7f7); overflow: hidden; }
.activity-card figure img { width: 100%; height: 100%; object-fit: cover; }
.activity-card .tag { position: absolute; left: 14px; top: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.activity-body { padding: 20px 22px 24px; }
.activity-date { font-family: var(--font-en); font-weight: 700; font-size: 0.9rem; color: var(--ocean); display: block; margin-bottom: 4px; }
.activity-card h3 { font-size: 1.08rem; font-weight: 900; margin-bottom: 8px; }
.activity-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }
.activity-empty { display: none; padding: 40px; text-align: center; color: var(--muted); }
.activity-empty.is-shown { display: block; }
@media (max-width: 960px) { .activity-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .activity-grid { grid-template-columns: 1fr; } }

/* トップの最新活動（大きい1枚＋2枚） */
.latest-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.latest-grid .activity-card:first-child { grid-row: span 2; }
.latest-grid .activity-card:first-child figure { aspect-ratio: auto; flex: 1; min-height: 300px; }
.latest-grid .activity-card:first-child h3 { font-size: 1.35rem; }
.latest-grid .activity-card:not(:first-child) { flex-direction: row; }
.latest-grid .activity-card:not(:first-child) figure { width: 42%; flex-shrink: 0; aspect-ratio: auto; }
@media (max-width: 860px) {
    .latest-grid { grid-template-columns: 1fr; }
    .latest-grid .activity-card:first-child { grid-row: auto; }
    .latest-grid .activity-card:not(:first-child) { flex-direction: column; }
    .latest-grid .activity-card:not(:first-child) figure { width: 100%; aspect-ratio: 4 / 3; }
}
.more-link { margin-top: 28px; text-align: right; }
.more-link a { font-weight: 700; }

/* ---------------------------------------------------------
   概要・組織
   --------------------------------------------------------- */
.greeting {
    display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
}
.portrait {
    position: relative; border-radius: var(--radius-m); overflow: visible;
}
.portrait img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m);
    background: #dfe7f7; position: relative; z-index: 1;
}
.portrait::before {
    content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-m);
    background: linear-gradient(135deg, var(--gold), var(--lagoon));
}
.portrait-caption { margin-top: 26px; font-weight: 700; text-align: center; }
.portrait-caption small { display: block; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.greeting-role { color: var(--ocean); font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.greeting h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 14px; }
.greeting-policy { background: var(--paper); border-radius: var(--radius-s); padding: 14px 18px; margin-bottom: 20px; font-size: 0.95rem; }
.greeting-policy strong { color: var(--ocean-deep); }
@media (max-width: 720px) {
    .greeting { grid-template-columns: 1fr; }
    .portrait { max-width: 260px; margin: 0 auto 10px; }
}

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 20px 28px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th { width: 30%; color: var(--ocean-deep); font-weight: 700; background: #f7f9ff; }
@media (max-width: 640px) {
    .data-table th, .data-table td { display: block; width: 100%; padding: 12px 20px; }
    .data-table th { padding-top: 18px; border-bottom: 0; background: transparent; font-size: 0.85rem; color: var(--ocean); }
    .data-table td { padding-top: 0; padding-bottom: 18px; }
}

.officers-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.officer-top {
    border-radius: var(--radius-l); padding: 30px 24px; text-align: center; color: var(--white);
    background: linear-gradient(140deg, var(--ocean), var(--ocean-deep));
}
.officer-top:first-child { background: linear-gradient(140deg, var(--gold), var(--gold-deep)); color: var(--night); }
.officer-top .role { font-size: 0.9rem; font-weight: 700; opacity: 0.9; }
.officer-top .name { font-size: 1.6rem; font-weight: 900; letter-spacing: 0.1em; color: inherit; }
@media (max-width: 640px) { .officers-top { grid-template-columns: 1fr; } }

.officers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.officer {
    background: var(--white); border-radius: var(--radius-m); padding: 18px 20px;
    border-left: 4px solid var(--lagoon);
}
.officer .role { font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.officer .name { font-weight: 900; font-size: 1.08rem; color: var(--night); line-height: 1.6; }

.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.committee { background: var(--white); border-radius: var(--radius-m); overflow: hidden; }
.committee h4 { background: var(--ocean); color: var(--white); padding: 14px 22px; font-size: 1rem; font-weight: 900; }
.committee-director { display: block; margin-top: 2px; font-size: 0.82rem; font-weight: 700; color: var(--gold); }
.committee-leads { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.committee-leads div { padding: 14px 22px; }
.committee-leads div + div { border-left: 1px solid var(--line); }
.committee-leads span { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.committee-leads strong { font-weight: 900; color: var(--night); }
.committee-members { padding: 14px 22px 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.committee-members li { background: var(--paper); border-radius: 999px; padding: 3px 12px; font-size: 0.9rem; }
@media (max-width: 380px) { .committee-grid { grid-template-columns: 1fr; } }

.map-frame { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: #dfe7f7; line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }
.note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

/* ---------------------------------------------------------
   会長方針
   --------------------------------------------------------- */
.president {
    display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center;
}
.president-name { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: 0.14em; margin: 4px 0 24px; }
.slogan {
    position: relative; padding: 32px 36px; border-radius: var(--radius-l); color: var(--white);
    background: linear-gradient(120deg, var(--ocean) 0%, #0039b3 60%, var(--lagoon) 140%);
    overflow: hidden;
}
.slogan::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--gold); opacity: 0.9; }
.slogan-label { font-size: 0.85rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 6px; position: relative; z-index: 1; }
.slogan-text { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 900; line-height: 1.55; position: relative; z-index: 1; color: var(--white); }
.slogan-text span { display: block; }
@media (max-width: 800px) {
    .president { grid-template-columns: 1fr; gap: 32px; }
    .president .portrait { max-width: 260px; margin: 0 auto; }
    .president-info { text-align: center; }
    .slogan { text-align: left; }
}

.prose { max-width: 44em; font-size: 1.04rem; line-height: 2; }

.policy-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy-pair li {
    background: var(--white); border-radius: var(--radius-l); padding: 30px; font-size: 1.2rem; font-weight: 900; color: var(--night);
    border-top: 6px solid var(--gold);
}
.policy-pair li small { display: block; font-size: 0.85rem; color: var(--ocean); font-weight: 700; margin-bottom: 4px; }
.policy-pair.is-three { grid-template-columns: repeat(3, 1fr); }
.policy-pair.is-three li { font-size: 1.5rem; }
@media (max-width: 640px) { .policy-pair, .policy-pair.is-three { grid-template-columns: 1fr; } }

.numbered { counter-reset: num; display: grid; gap: 14px; }
.numbered > li {
    counter-increment: num; position: relative; background: var(--white); border-radius: var(--radius-m);
    padding: 22px 26px 22px 86px; min-height: 80px;
}
.numbered > li::before {
    content: counter(num); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--ocean); color: var(--white); font-family: var(--font-en); font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}
.numbered h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 2px; }
.numbered p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.numbered.is-gold > li::before { background: var(--gold); color: var(--night); }
.numbered.is-gold strong { color: var(--ocean-deep); }

/* ---------------------------------------------------------
   スケジュール
   --------------------------------------------------------- */
.calendar-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--white); aspect-ratio: 4 / 3; }
.calendar-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .calendar-frame { aspect-ratio: 1 / 1.15; } }

.month { margin-top: 40px; }
.month-label {
    display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 16px;
    font-family: var(--font-en); font-weight: 800; color: var(--ocean-deep);
}
.month-label .m { font-size: 3rem; line-height: 1; color: var(--ocean); }
.month-label .y { font-size: 1rem; }
.month-label .ja { font-family: var(--font-ja); font-size: 1.1rem; font-weight: 900; color: var(--night); }

.event-list { background: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.event {
    display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 6px 24px;
    padding: 20px 28px; border-bottom: 1px solid var(--line);
}
.event:last-child { border-bottom: 0; }
.event-date { font-family: var(--font-en); font-weight: 800; font-size: 1.5rem; color: var(--night); line-height: 1.1; }
.event-date small { display: block; font-family: var(--font-ja); font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.event-date.is-sat small { color: var(--ocean); }
.event-date.is-sun small { color: var(--danger); }
.event-name { font-weight: 900; font-size: 1.05rem; color: var(--night); }
.event-name .tag { margin-right: 8px; vertical-align: 2px; }
.event-meta { text-align: right; font-size: 0.9rem; color: var(--muted); }
.event-meta strong { display: block; color: var(--ocean-deep); font-family: var(--font-en); font-size: 1.05rem; }
@media (max-width: 640px) {
    .event { grid-template-columns: 70px 1fr; padding: 18px 20px; }
    .event-meta { grid-column: 2; text-align: left; }
    .event-meta strong { display: inline; margin-right: 8px; }
}

.event-no { display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.event-meta { line-height: 1.6; }
.undated-list li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.undated-list li:last-child { border-bottom: 0; }

/* ---------------------------------------------------------
   よくある質問
   --------------------------------------------------------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item { background: var(--white); border-radius: var(--radius-m); overflow: hidden; border: 1px solid transparent; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--ocean); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
    padding: 22px 24px; font-weight: 900; font-size: 1.05rem; color: var(--night);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: "Q"; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
    background: var(--ocean); color: var(--white); font-family: var(--font-en); font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.faq-item summary::after {
    content: ""; margin-left: auto; flex-shrink: 0; width: 12px; height: 12px;
    border-right: 3px solid var(--gold-deep); border-bottom: 3px solid var(--gold-deep);
    transform: rotate(45deg) translateY(-3px); transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover { color: var(--ocean); }
.faq-answer { padding: 0 24px 24px 78px; color: var(--ink); line-height: 1.95; }
.faq-answer a { font-weight: 700; text-decoration: underline; }
@media (max-width: 600px) { .faq-answer { padding: 0 20px 22px; } .faq-item summary { padding: 18px 20px; } }

.cta-box {
    margin-top: 56px; border-radius: var(--radius-l); padding: 44px; text-align: center; color: var(--white);
    background: linear-gradient(120deg, var(--ocean-deep), var(--ocean));
}
.cta-box h3 { color: var(--white); font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
.cta-box p { opacity: 0.9; margin-bottom: 24px; }

/* ---------------------------------------------------------
   お問い合わせ
   --------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.contact-card { border-radius: var(--radius-l); padding: 32px; background: var(--white); }
.contact-card.is-tel { background: linear-gradient(135deg, var(--ocean), var(--ocean-deep)); color: var(--white); }
.contact-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.contact-card.is-tel h3 { color: var(--gold); }
.contact-card .big { font-family: var(--font-en); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; color: inherit; display: inline-block; }
.contact-card.is-tel .big { color: var(--white); }
.contact-card .big:hover { text-decoration: none; }
.contact-card address { font-style: normal; font-size: 1.1rem; font-weight: 700; color: var(--night); }
.contact-card small { display: block; margin-top: 6px; font-size: 0.9rem; opacity: 0.85; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

.form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--night); margin-bottom: 8px; }
.req { font-size: 0.72rem; background: var(--danger); color: var(--white); border-radius: 4px; padding: 1px 7px; font-weight: 700; }
.opt { font-size: 0.72rem; background: var(--line); color: var(--muted); border-radius: 4px; padding: 1px 7px; font-weight: 700; }
.form-control {
    width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--paper); border: 2px solid transparent; border-radius: var(--radius-s);
    transition: border-color 0.2s, background 0.2s;
}
.form-control:focus { outline: none; border-color: var(--ocean); background: var(--white); }
select.form-control { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ocean) 50%), linear-gradient(135deg, var(--ocean) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
textarea.form-control { resize: vertical; min-height: 180px; }
.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { min-width: 260px; font-size: 1.1rem; padding: 16px 40px; }

/* ---------------------------------------------------------
   会員ポータル
   --------------------------------------------------------- */
.login-modal {
    position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px;
    background: linear-gradient(130deg, rgba(0, 46, 170, 0.97), rgba(0, 87, 255, 0.94) 60%, rgba(0, 194, 199, 0.9));
}
.login-modal[hidden] { display: none; }
.login-box { width: 100%; max-width: 420px; background: var(--white); border-radius: var(--radius-l); padding: 44px 36px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.login-box .brand-mark { display: block; width: 54px; height: 54px; margin: 0 auto 16px; box-shadow: inset 0 0 0 8px var(--ocean); }
.login-box h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.login-box p { color: var(--muted); font-size: 0.95rem; }
.login-box .form-control { margin: 18px 0 14px; text-align: center; }
.login-box .btn { width: 100%; }
.login-error { color: var(--danger); font-weight: 700; font-size: 0.9rem; margin-top: 12px; }
.login-back { display: inline-block; margin-top: 18px; font-size: 0.9rem; }

.portal[hidden] { display: none; }
.portal-head {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    background: var(--night); color: var(--white); border-radius: var(--radius-l); padding: 28px 32px; margin-bottom: 28px;
}
.portal-head h2 { color: var(--white); font-family: var(--font-en); font-weight: 800; font-size: 1.8rem; }
.portal-head p { margin: 0; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.portal-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.portal-grid .panel { margin-bottom: 24px; }
.portal-grid .panel:last-child { margin-bottom: 0; }
.panel-title { font-size: 1.15rem; font-weight: 900; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--paper); }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }

.att-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.att-item:last-child { border-bottom: 0; }
.att-info { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.att-date { font-family: var(--font-en); font-weight: 800; color: var(--ocean-deep); font-size: 1.1rem; }
.att-title { font-weight: 700; }
@media (max-width: 560px) { .att-item { flex-direction: column; align-items: stretch; } .att-item .btn { width: 100%; } }

.bbs { border-left: 3px solid var(--line); padding-left: 22px; margin-left: 6px; }
.bbs-entry { position: relative; }
.bbs-entry + .bbs-entry { margin-top: 26px; }
.bbs-entry::before { content: ""; position: absolute; left: -31px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); }
.bbs-meta { font-size: 0.85rem; color: var(--muted); }
.bbs-entry h4 { font-size: 1.05rem; font-weight: 900; margin: 2px 0 4px; }

.doc-list a { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 10px 0; }
.doc-list a::before { content: "PDF"; font-family: var(--font-en); font-size: 0.7rem; font-weight: 800; background: var(--danger); color: var(--white); padding: 2px 6px; border-radius: 4px; }
.link-list a {
    display: block; padding: 14px 18px; border-radius: var(--radius-s); background: var(--paper);
    font-weight: 700; color: var(--ocean-deep); margin-bottom: 10px;
}
.link-list a:hover { background: #e6eeff; text-decoration: none; }
.panel-notice { background: #fff6dc; box-shadow: none; border: 1px solid #ffe08a; }
.panel-notice .panel-title { border-color: #ffe08a; color: #7a5200; }

/* ---------------------------------------------------------
   フッター
   --------------------------------------------------------- */
.site-footer {
    position: relative; color: rgba(255,255,255,0.88);
    background:
        linear-gradient(rgba(7, 20, 55, 0.93), rgba(7, 20, 55, 0.96)),
        url("../images/sea4.jpg") center / cover no-repeat,
        var(--night);
    padding: 72px 0 32px;
}
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--ocean), var(--lagoon) 50%, var(--gold));
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer-brand { font-size: 1.4rem; font-weight: 900; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: var(--white); }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.footer-nav a { font-size: 0.92rem; }
.copyright { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.8rem; opacity: 0.7; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* フッター上部のシネマグラフ（動画には何も重ねない） */
.site-footer.has-video { padding-top: 0; }
.site-footer.has-video::before { z-index: 1; }
.footer-cinema { position: relative; height: clamp(240px, 32vw, 460px); margin-bottom: 64px; background: var(--ocean-deep); overflow: hidden; }
.footer-cinema video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .footer-cinema { height: 260px; margin-bottom: 44px; } }

/* 音を出すボタン */
.sound-btn {
    position: absolute; top: 18px; right: 18px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: rgba(7, 20, 55, 0.6); color: var(--white);
    font-family: var(--font-ja); font-size: 0.85rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.sound-btn:hover { background: var(--white); color: var(--ocean); }
.sound-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
@media (max-width: 640px) { .sound-btn { top: 12px; right: 12px; padding: 7px 12px; font-size: 0.8rem; } }

/* ---------------------------------------------------------
   補助
   --------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .header-inner { padding: 0 16px; }
    .hero { padding: 84px 0 140px; }
    .main { padding: 40px 0 72px; }
    .section { margin-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* スマホではヒーローの太陽を小さく右上へ */
@media (max-width: 640px) {
    .hero::after { width: 220px; height: 220px; right: -70px; top: -80px; }
}

/* 動画の上でも読めるように（動画自体には何も重ねない） */
.has-video .btn-ghost { background: rgba(0, 30, 110, 0.55); border-color: var(--white); text-shadow: none; }
.has-video .btn-ghost:hover { background: var(--white); color: var(--ocean); }
.has-video .breadcrumb { opacity: 1; font-weight: 700; }
