/*
Theme Name: Myoko JC Theme
Author: Shogo Tsukuda
Version: 1.1
*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;   /* vol.16: ヘッダー縮小に追従（80px logo + 余白） */
    /* Offset for fixed header */
    --accent-orange: #FF9800;
    --accent-orange-hover: #F57C00;
    /* JCIブランドガイドライン準拠の公式カラー */
    --jci-blue: #0097D7;          /* Pantone 2925C / C77 M25 Y0 K0 / R0 G151 B215 */
    --jci-blue-hover: #007BB0;    /* JCIブルーの濃色（ホバー用） */
    --jci-teal: #57BCBC;          /* Pantone 3265C（参考・将来使用） */
    --jci-black: #130F2D;         /* Pantone 5395C / 濃ネイビー（文字色用参考） */
    /* 旧スローガン緑は廃止し、JCI ブルーに統一（変数名は互換のため残置） */
    --slogan-green: var(--jci-blue);
    --slogan-green-hover: var(--jci-blue-hover);
    overflow-x: hidden;
}

/* Base & Typography */
body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    letter-spacing: normal;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.slogan-main,
.section-title {
    font-family: inherit;
    font-weight: 700;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Hamburger */
.main-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle bottom border */
    background: rgba(255, 255, 255, 0.95);
    /* High visibility white background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    position: relative;
    /* justify-content handled by flex-grow and auto margins on children */
    /* ヘッダー専用に左右余白を24pxへ縮小（ロゴを左端寄りに配置） */
    padding: 0 24px;
}

/*
 * ===== JCロゴブランドガイドライン準拠事項 =====
 * - .logo img のサイズ・色・形状を変更しないこと
 * - filter / transform: rotate / box-shadow をロゴに当てないこと
 * - ロゴ周囲のクリアスペース（最低24px）を侵害しないこと
 * - 「黒」を使う場合は通常の#000ではなく --jci-black (#130F2D) を検討
 */
.logo {
    display: flex;
    align-items: center;
    /* クリアスペース確保: ガイドライン準拠 (シールド幅の50%相当 = 約24px) */
    padding: 0 24px 0 0;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    /* 横長ロゴ（日本語表記入り・トリミング済み）: vol.16 96px → 80px に縮小 */
    height: 80px;
    width: auto;
    max-width: 670px;
    display: block;
    object-fit: contain;
    /* 形状・比率変更禁止のため transform 系は使用しない */
}

/* Use brand color */

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Main Header Layout */
.main-nav {
    margin-left: auto;
    margin-right: 16px;
}

/* Header SNS Icons */
.header-sns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #666;
    transition: all 0.3s ease;
}

.sns-icon:hover {
    background-color: var(--accent-orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop Navigation */
.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list>li {
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle vertical separator */
}

/* Optional: Add right border to the last item */
.nav-list>li:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    height: 130px;
    padding: 0 25px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

/* Nagano JC style underline animation */
.nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-orange);
    /* Brand accent color */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-list>li:hover>a {
    color: var(--accent-orange);
}

.nav-list>li:hover>a::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Dropdown Menu (Desktop) */
.nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 130px;
    left: 0;
    background-color: var(--accent-orange);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 210px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-list>li:hover>.sub-menu {
    display: block;
}

.nav-list .sub-menu li a {
    display: block;
    padding: 17px 22px;
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-list .sub-menu li a:hover {
    background-color: var(--accent-orange-hover);
}

/* Hero Section & Background Typography */
main {
    padding-top: 131px;
    /* Offset for fixed header (nav-list height 130px + border 1px) */
}

.site-footer {
    margin-top: 0;
    border-top: none;
}

/* ===== Hero Section - 縦二分割（vol.11 改訂） / コンテナ幅クリップ（vol.12） ===== */
/* .hero-section-wrapper と .hero-section の詳細定義は vol.12 CSS ブロックで上書き */

/* .hero-visual 内の Swiper */
.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    /* スライド共通の背景。プロジェクト画像が遅延ロード時の代替色 */
    background: #f0f3f5;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slogan slide: contain で全文表示 + 白背景で余白を自然に */
.hero-slide-slogan {
    background: #ffffff;
}

.hero-slide-slogan .hero-slide-bg {
    object-fit: contain;
    object-position: center center;
    /* 余白を中央寄せ (上下均等) */
}

/* Project slide overlay (gradient + title) */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    z-index: 2;
    box-sizing: border-box;
}

.hero-slide-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.hero-slide-date {
    font-size: 14px;
    opacity: 0.9;
    font-family: Arial, sans-serif;
    display: block;
}

/* Swiper UI customization (jaycee.or.jp 風: 大きめ矢印 + 大きめドット) */
.hero-swiper .swiper-pagination {
    bottom: 24px;
}

.hero-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.55;
    width: 14px;
    height: 14px;
    margin: 0 8px !important;
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hero-swiper .swiper-pagination-bullet:hover {
    opacity: 0.85;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
    transform: scale(1.15);
}

/* 左右ナビ: 透明背景 + 大きめの矢印アイコン (jaycee 風) */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #ffffff;
    background: transparent;
    width: 64px;
    height: 64px;
    border-radius: 0;
    transition: opacity 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    opacity: 0.85;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-swiper .swiper-button-prev {
    left: 24px;
}

.hero-swiper .swiper-button-next {
    right: 24px;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0;
}

@media (max-width: 1024px) {
    /* ▼ Hero ラッパー SP（vol.14: 上余白縮小 / vol.17: BP 768→1024px） */
    .hero-section-wrapper {
        padding-top: 0;  /* vol.15: ヘッダー直下に密着 */
    }

    /* ▼ 上ゾーン（hero-visual）タブレット・SP設定（vol.14: 左右余白 16px / vol.17: BP 1024px） */
    .hero-visual {
        width: calc(100% - 32px);  /* 左右 16px ずつ（vol.14） */
        aspect-ratio: 16 / 9;      /* max-height 削除：比率を忠実に維持（vol.15） */
        max-height: calc(100vh - 64px);  /* vol.16: ヘッダー64px分を引く */
        min-height: 180px;
    }

    .hero-slide-overlay {
        padding: 30px 20px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        width: 44px;
        height: 44px;
    }

    .hero-swiper .swiper-button-prev {
        left: 8px;
    }

    .hero-swiper .swiper-button-next {
        right: 8px;
    }

    .hero-swiper .swiper-button-prev::after,
    .hero-swiper .swiper-button-next::after {
        font-size: 24px;
    }

    .hero-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 6px !important;
    }

    /* ▼ タブレット・SP マーキー（vol.18: 鼻の下問題解消 → 全余白を圧縮） */
    .hero-sponsor {
        padding: 16px 0 12px;  /* vol.18: 24px/16px → 16px/12px */
    }

    /* vol.18: section-header を賛助会員エリア限定で打ち消す（INFORMATION は影響なし） */
    .hero-sponsor .section-header {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 8px;    /* タイトル下端 ↔ ロゴ枠上端 の隙間を 8px に固定 */
    }

    /* vol.18: section-title の h2 デフォルト margin を打ち消す */
    .hero-sponsor .section-title {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1.2;
    }

    .hero-sponsor__marquee {
        gap: 0;
        margin-top: 0;         /* vol.18: 念のため打ち消し */
        padding-top: 0;
    }

    /* 下段は非表示にして1行に */
    .hero-sponsor__track--row2 {
        display: none;
    }

    .hero-sponsor__track {
        animation-duration: 24s;
        margin-top: 0;     /* vol.18: 余白リセット */
        padding-top: 0;
    }

    .hero-sponsor__card {
        width: 120px;
        height: 40px;
        margin-right: 16px;
    }

    .hero-sponsor__card--placeholder .placeholder-content {
        font-size: 10px;
    }
}

/* ▼ タブレット：aspect-ratio: 16/9 を維持（vol.15: max-height 削除） */
@media (max-width: 1024px) {
    .hero-visual {
        /* max-height は削除済み：16/9 比率を忠実に維持 */
    }
}

/* Main Content Spacing */
.main-content-grid,
.news-section,
.project-section {
    padding: 80px 0;
}

/* セクション交互背景: Sponsor(灰)→News(白)→Link-block(灰)→Project(白) */
.news-section {
    background-color: #ffffff;
}

.project-section {
    background-color: #ffffff;
}

/* Section titles with animation */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;  /* vol.19: center → flex-end（タイトル下端とボタン下端を揃える） */
    gap: 16px;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 14px;   /* アンダーラインまでの余白 */
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--slogan-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.is-inview::after {
    transform: scaleX(1);
}

/* TOPセクションタイトル: 上に英語(小) + 下に日本語(大) - link-blockパターンに統一 */
.section-title {
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title::after {
    display: none;
}

.section-title .section-title-en,
.section-title-en {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #888;
    margin: 0 0 8px 0;
    font-family: Arial, sans-serif;
    line-height: 1.3;
}

.section-title .section-title-ja,
.section-title-ja {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;   /* 読みやすさを確保しつつ下端整列は flex-end で実現 */
    letter-spacing: 0.04em;
    margin: 0;
    font-family: inherit;
}

/* ===== タブレット・SP フォント調整（1024px以下） ===== */
@media (max-width: 1024px) {
    .section-title .section-title-ja,
    .section-title-ja {
        font-size: 24px;    /* PC 32px → タブレット 24px */
        line-height: 1.2;
    }

    .section-title .section-title-en,
    .section-title-en {
        font-size: 11px;
        letter-spacing: 0.25em;
        margin-bottom: 6px;
    }

    .btn-view-all {
        padding: 9px 18px;
        font-size: 13px;
    }

    .section-header {
        padding-bottom: 10px;
    }
}

/* ===== SP フォント調整（767px以下） ===== */
@media (max-width: 767px) {
    .section-title .section-title-ja,
    .section-title-ja {
        font-size: 20px;    /* SP では 20px */
        line-height: 1.2;
    }

    .btn-view-all {
        padding: 8px 14px;
        font-size: 12px;
    }

    .section-header {
        padding-bottom: 8px;
    }
}

/* ===== モバイル全体のフォント調整（768px以下：細部維持） ===== */
@media (max-width: 768px) {
    .section-title .section-title-en,
    .section-title-en {
        font-size: 11px;
        letter-spacing: 0.25em;
        margin-bottom: 6px;
    }

    .section-title .section-title-ja,
    .section-title-ja {
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: 0.03em;
    }
}

/* モバイル時のみ改行ヘルパー */
.mobile-break {
    display: none;
}

@media (max-width: 600px) {
    .mobile-break {
        display: inline;
    }
}


.btn-view-all {
    display: inline-flex;           /* vol.19: inline-block → inline-flex（align-items: center で縦中央） */
    align-items: center;
    background-color: var(--slogan-green);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;             /* vol.19: 12px 30px → 10px 24px（上下対称） */
    font-size: 14px;
    line-height: 1.0;               /* vol.19: 文字の余白をなくして高さを正確に */
    border-radius: 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin: 0;                      /* vol.19: flex-end 整列に干渉しないよう明示 */
}

/* ホバーは色を濃くするだけ (浮き上がり・影なし) */
.btn-view-all:hover {
    background-color: var(--slogan-green-hover);
}

.no-posts-message {
    color: #666;
    font-size: 15px;
    padding: 40px 0;
    text-align: center;
    background: #fafafa;
}

/* News List */
.post-loop {
    /* border-top: 1px solid #DDDDDD; removed as section-header has bottom border */
}

.post-item {
    display: flex;
    padding: 25px 15px;
    border-bottom: 1px solid #DDDDDD;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -15px;
}

.post-item:hover {
    background-color: #f3f5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.post-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.post-item:hover .post-thumb img {
    transform: scale(1.05);
    opacity: 0.8;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Spacing between date and badge */
}

.post-item time {
    width: 88px;
    color: #999999;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.cat-badge {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 0;
    /* Clean sharp edges */
    white-space: nowrap;
    border-radius: 4px;
}

.post-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
    margin: 0;
    font-weight: normal;
}

.post-item:hover .post-title {
    color: var(--slogan-green);
}

/* Project Grid (活動報告) */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for desktop */
    gap: 0;
    /* No gap like Nagano JC's tight image grid */
}

.project-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    /* Square images */
    overflow: hidden;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff;
    cursor: pointer;           /* クリック可能を明示 */
    pointer-events: auto;      /* クリックを確実に受け取る */
}

.project-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent; /* アイキャッチなし時に意図しない色が出ないよう明示 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    z-index: 1;
    pointer-events: none; /* クリックを親の<a>に貫通させる */
}

/* Overlay for readability — 下部グラデーション（タイトル可読性確保） */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-right: 2px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: background 0.4s ease, opacity 0.3s ease;
    pointer-events: none; /* クリックを親の<a>に貫通させる */
}

/* No Image フォールバック */
.project-thumb--no-image {
    background-color: #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* クリックを親の<a>に貫通させる */
}
.project-thumb--no-image-label {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    position: relative;
    z-index: 3;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* クリックを親の<a>に貫通させる */
}

.project-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.project-date {
    font-size: 11px;
    color: #ddd;
    font-family: Arial, sans-serif;
}

.project-date::before {
    content: '🕒';
    /* Simple clock icon placeholder or font-awesome if loaded */
    margin-right: 5px;
    font-size: 10px;
}

/* PC Hover effect: link-card と同じ浮き上がり + 影 + 内部画像ズーム */
@media (hover: hover) {
    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(144, 176, 32, 0.3);
    }

    .project-card:hover .project-thumb {
        transform: scale(1.05);
    }

    .project-card:hover::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%);
    }
}

/* Mobile Tap feedback (opacity change) */
@media (hover: none) {
    .project-card:active .project-thumb {
        opacity: 0.8;
    }

    .project-card:active::after {
        opacity: 0.8;
    }
}

/* Link Block Section (東京JC風: 左タイトル + 右タイル / コンパクト版) */
.link-block-section {
    padding: 80px 0;
    background-color: #f7f9fa;
}

/* 2カラムレイアウト: 左 (タイトル) + 右 (タイルグリッド) */
.link-block-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
}

/* 左サイド: INFO ラベル + 大タイトル + 年度 */
.link-block-side {
    text-align: left;
    padding-right: 16px;
}

.link-block-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #888;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
}

.link-block-main-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    font-family: inherit;
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: 0.04em;
}

.link-block-year {
    font-size: 16px;
    color: #555;
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: none;
    margin: 0;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--slogan-green);
    color: #ffffff;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    padding: 12px;
}

.link-card i {
    font-size: 37px;
    margin-bottom: 10px;
}

.link-card-title {
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.link-card:hover {
    background-color: var(--slogan-green-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 122, 176, 0.35);
}

/* ============================================================
 * Hero 縦二分割版（vol.11 改訂）
 * ============================================================ */

/* ▼ 外側ラッパー（vol.14: 上余白追加） */
.hero-section-wrapper {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    padding-top: 0;     /* vol.15: ヘッダー直下に密着 */
}

/* ▼ 上ゾーン：Swiper 画像領域（vol.14: 左右余白 + max-width 1700px） */
.hero-visual {
    position: relative;
    width: calc(100% - 80px);      /* 左右 40px ずつの余白（vol.14） */
    max-width: 1700px;              /* vol.14 */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 96px); /* vol.16: ヘッダー分を引いてビューポート内に収める */
    background: #ffffff;
    overflow: hidden;
}

/* ▼ 下ゾーン：賛助会員マーキー */
.hero-sponsor {
    width: 100%;
    background: #f7f9fa;
    padding: 32px 0 24px;  /* vol.14: Hero画像との間隔を確保 */
    box-sizing: border-box;
}

/* vol.15: section-header / section-title をそのまま流用するため
   hero-sponsor__header / hero-sponsor__title の独自スタイルは最小限に */
.hero-sponsor__header {
    margin-bottom: 16px;   /* section-header のデフォルト 60px を上書き */
    padding-bottom: 12px;  /* section-header のデフォルト 15px をほぼ維持 */
}

/* 賛助会員エリアのアンダーラインアニメを無効化（vol.15） */
.hero-sponsor__header::after {
    display: none;
}

.hero-sponsor__marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hero-sponsor__track {
    display: flex;
    width: max-content;
    animation: hero-sponsor-scroll 30s linear infinite;
}

.hero-sponsor__track--row2 {
    animation-direction: reverse;
    animation-duration: 32s;
}

/* ホバーで停止（マウス端末のみ） */
@media (hover: hover) and (pointer: fine) {
    .hero-sponsor__marquee:hover .hero-sponsor__track {
        animation-play-state: paused;
    }
}

/* マーキー1コマ */
.hero-sponsor__card {
    flex: 0 0 auto;
    width: 160px;
    height: 50px;
    margin-right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    filter: grayscale(0.15);
    opacity: 0.95;
}

.hero-sponsor__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    filter: grayscale(0);
    opacity: 1;
}

/* ロゴ画像 */
.hero-sponsor__logo {
    max-width: 88%;
    max-height: 76%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* プレースホルダー枠 */
.hero-sponsor__card--placeholder {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: none;
    border: 1px dashed rgba(0, 0, 0, 0.08);
}

.hero-sponsor__card--placeholder .placeholder-content {
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
}

@keyframes hero-sponsor-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* タブレット: 左サイドを少し狭く */
@media (max-width: 992px) {
    .link-block-layout {
        grid-template-columns: 220px 1fr;
        gap: 40px;
    }

    .link-block-main-title {
        font-size: 28px;
    }
}

/* モバイル: 縦積み (左サイド → グリッド) */
@media (max-width: 768px) {
    .link-block-section {
        padding: 60px 0;
    }

    .link-block-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .link-block-side {
        text-align: center;
        padding-right: 0;
    }

    .link-block-main-title {
        font-size: 24px;
    }

    .link-block-label {
        font-size: 12px;
        letter-spacing: 0.25em;
    }

    .link-block-year {
        font-size: 14px;
    }

    .link-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    .link-card i {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .link-card-title {
        font-size: 15px;
    }
}

/* NEWSセクション */
/* -----------------------------------
   Join Page (入会案内) Styles
----------------------------------- */
/* Join hero: 他ページ (vision/about/member等) と統一 (JCIブルー / 英語小→日本語大) */
.page-join .page-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-join .page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-join .page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
    font-family: inherit;
}

@media (max-width: 768px) {
    .page-join .page-title {
        font-size: 12px;
        letter-spacing: 0.25em;
        margin-bottom: 10px;
    }

    .page-join .page-subtitle {
        font-size: 24px;
    }
}

.new-badge {
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.btn-cta {
    display: inline-block;
    background-color: #0096d6;
    /* JCI Blue */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 150, 214, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.1em;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 150, 214, 0.6);
    color: white;
}

/* JOIN Page CTA Button */
.btn-join-cta {
    display: inline-block;
    background-color: #0096d6;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.1em;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

.btn-join-cta:hover {
    background-color: #FF9800;
    /* Sunshine Orange */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
    text-decoration: none;
}

/* ============================================
   Press Page (page-press.php / 広報誌「清流」)
   - 妙高HP世界観: JCIブルー基調 + 雑誌ライクな表紙グリッド
   - PDFを画像表示、クリックで PDF を別タブ
   - 年度フィルタで バックナンバーを切替
   ============================================ */

/* ----- Hero ----- */
.page-press .press-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-press .press-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-press .press-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Section Title ----- */
.page-press .press-section-header {
    background: #ffffff;
    padding: 60px 0 20px;
}

.page-press .press-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.04em;
}

.page-press .press-section-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 18px solid var(--jci-blue);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    flex-shrink: 0;
}

/* ----- Intro ----- */
.page-press .press-intro {
    background: #ffffff;
    padding: 0 0 30px;
}

.page-press .press-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

/* ----- Year Filter ----- */
.page-press .press-filter-section {
    background: #ffffff;
    padding: 0 0 30px;
}

.page-press .press-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.page-press .press-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border: 1px solid #d8dde2;
    background: #ffffff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.page-press .press-filter-btn:hover {
    background: #f0f3f5;
    border-color: #b0b8c0;
    color: #1a1a1a;
}

.page-press .press-filter-btn.is-active {
    background: var(--jci-blue);
    border-color: var(--jci-blue);
    color: #ffffff;
}

/* ----- Issues Grid ----- */
.page-press .press-grid-section {
    background: #ffffff;
    padding: 30px 0 100px;
}

.page-press .press-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
}

.page-press .press-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-press .press-card:hover {
    transform: translateY(-6px);
    text-decoration: none;
}

.page-press .press-card-thumb {
    aspect-ratio: 1 / 1.414;
    /* A4 縦長比率 */
    overflow: hidden;
    background: #f0f3f5;
    position: relative;
    border: 1px solid #e5e8eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-press .press-card:hover .press-card-thumb {
    box-shadow: 0 12px 28px rgba(0, 150, 214, 0.22);
}

.page-press .press-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    background: #ffffff;
}

.page-press .press-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8c0;
    font-size: 14px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    letter-spacing: 0.08em;
}

.page-press .press-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 150, 214, 0.85);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-press .press-card-overlay i {
    font-size: 42px;
}

.page-press .press-card-overlay-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

@media (hover: hover) {
    .page-press .press-card:hover .press-card-overlay {
        opacity: 1;
    }
}

.page-press .press-card-info {
    padding: 14px 4px 0 4px;
    text-align: center;
    line-height: 1.3;
}

.page-press .press-card-year {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.15em;
    margin: 0 0 4px 0;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.page-press .press-card-month {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.page-press .press-card:hover .press-card-month {
    color: var(--jci-blue);
}

.page-press .press-empty-message,
.page-press .press-no-issues {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 40px 0;
}

/* ----- グリッド + サムネ + 年度フィルタ（vol.21: メディアライブラリ方式） ----- */

/* 年度フィルタナビ */
.page-press .press-filter-section {
    padding: 0 0 8px;
}

.page-press .press-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-press .press-filter__btn {
    padding: 8px 16px;
    background: #fff;
    color: var(--jci-black);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-press .press-filter__btn:hover {
    background: #f7f9fa;
    border-color: var(--jci-blue);
    color: var(--jci-blue);
}

.page-press .press-filter__btn.is-active {
    background: var(--jci-blue);
    color: #fff;
    border-color: var(--jci-blue);
}

/* グリッドセクション */
.page-press .press-grid-section {
    padding: 16px 0 80px;
}

/* グリッド本体 */
.page-press .press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* グリッドアイテム（年度フィルタで非表示） */
.page-press .press-grid__item.is-hidden {
    display: none;
}

/* カード */
.page-press .press-card {
    display: block;
    text-decoration: none;
    color: var(--jci-black);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-press .press-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--jci-blue);
}

/* サムネ（A4縦比率） */
.page-press .press-card__thumb {
    aspect-ratio: 1 / 1.414;
    background: #f0f0f0;
    overflow: hidden;
}

.page-press .press-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* カード下部（ラベル + PDF アイコン） */
.page-press .press-card__body {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.page-press .press-card__label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.page-press .press-card__pdf-icon {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--jci-blue);
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

/* 0件時 */
.page-press .press-empty {
    margin: 32px 0;
    padding: 24px;
    background: #f7f9fa;
    text-align: center;
    color: #666;
}

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .page-press .press-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }

    .page-press .press-card__body {
        padding: 8px 10px;
    }

    .page-press .press-card__label {
        font-size: 12px;
    }

    .page-press .press-filter__btn {
        font-size: 13px;
        padding: 6px 12px;
    }

    .page-press .press-grid-section {
        padding: 12px 0 60px;
    }
}

/* SP（480px以下）*/
@media (max-width: 480px) {
    .page-press .press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ----- Mobile Responsive ----- */
@media (max-width: 1100px) {
    .page-press .press-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 768px) {
    .page-press .press-hero {
        padding: 50px 0;
    }

    .page-press .press-page-title {
        font-size: 12px;
        letter-spacing: 0.25em;
        margin-bottom: 10px;
    }

    .page-press .press-page-subtitle {
        font-size: 24px;
    }

    .page-press .press-section-header {
        padding: 40px 0 16px;
    }

    .page-press .press-section-title {
        font-size: 22px;
        gap: 12px;
    }

    .page-press .press-section-icon {
        border-left-width: 14px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }

    .page-press .press-intro p {
        font-size: 14px;
    }

    .page-press .press-filter-buttons {
        gap: 8px;
        padding: 14px 0;
    }

    .page-press .press-filter-btn {
        padding: 7px 16px;
        font-size: 13px;
    }

    .page-press .press-grid-section {
        padding: 24px 0 70px;
    }

    .page-press .press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .page-press .press-card-month {
        font-size: 14px;
    }

    .page-press .press-card-overlay i {
        font-size: 32px;
    }

    .page-press .press-card-overlay-text {
        font-size: 11px;
    }
}

/* ============================================
   Press – バックナンバーセクション (vol.22)
   ============================================ */

.press-backnumber {
    margin-top: 48px;
    padding-bottom: 80px;
}

/* 見出し「バックナンバー」（青い三角アイコン付き） */
.press-backnumber__title {
    position: relative;
    padding-left: 32px;
    font-size: 28px;
    font-weight: 700;
    color: var(--jci-black);
    line-height: 1.2;
    margin: 0 0 0 0;
}

.press-backnumber__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent var(--jci-blue);
}

/* 説明文 */
.press-backnumber__desc {
    margin: 24px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--jci-black);
}

/* 区切り線 */
.press-backnumber__divider {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 32px 0;
}

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    .press-backnumber {
        margin-top: 36px;
    }

    .press-backnumber__title {
        font-size: 22px;
        padding-left: 26px;
    }

    .press-backnumber__title::before {
        border-width: 9px 0 9px 14px;
    }

    .press-backnumber__desc {
        font-size: 14px;
    }

    .press-backnumber__divider {
        margin: 24px 0;
    }
}

/* SP（480px以下） */
@media (max-width: 480px) {
    .press-backnumber {
        margin-top: 28px;
    }

    .press-backnumber__title {
        font-size: 18px;
        padding-left: 22px;
    }

    .press-backnumber__title::before {
        border-width: 7px 0 7px 11px;
    }

    .press-backnumber__desc {
        font-size: 13px;
        margin-top: 16px;
    }

    .press-backnumber__divider {
        margin: 20px 0;
    }
}

/* ============================================
   Archive Pages (archive.php / News & Project 一覧)
   - News: 2列グリッド (画像+タイトル+日付)
   - Project: 4列タイルグリッド (画像オーバーレイ)
   ============================================ */

/* ----- Hero (他ページヒーローと統一) ----- */
.page-archive .archive-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-archive .archive-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-archive .archive-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Content Section ----- */
.page-archive .archive-content {
    background: #ffffff;
    padding: 80px 0 100px;
}

.page-archive .archive-no-posts {
    text-align: center;
    color: #888;
    font-size: 15px;
    padding: 60px 0;
}

/* ===== News Grid (2列) ===== */
.archive-news .archive-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
}

.archive-news-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px 28px;
    background: #ffffff;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.archive-news-card:hover {
    background: #fafbfc;
}

.archive-news-thumb {
    width: 220px;
    aspect-ratio: 1 / 1;
    background: #e5e8eb;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.archive-news-card:hover .archive-news-thumb img {
    transform: scale(1.05);
}

.archive-no-image {
    color: #b0b8c0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-family: Arial, sans-serif;
}

.archive-news-body {
    min-width: 0;
}

.archive-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.05em;
}

.archive-news-date i {
    font-size: 12px;
    opacity: 0.7;
}

.archive-news-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.55;
    transition: color 0.3s ease;
    /* 3行省略 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.archive-news-card:hover .archive-news-title {
    color: var(--jci-blue);
}

/* ===== Project Grid (4列タイル) ===== */
.archive-project .archive-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.archive-project-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
}

.archive-project-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 1;
}

.archive-project-thumb-empty {
    background: linear-gradient(135deg, #c5cdd3 0%, #a8b0b8 100%);
}

/* オーバーレイ (タイトル可読性) */
.archive-project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

@media (hover: hover) {
    .archive-project-card:hover .archive-project-thumb {
        transform: scale(1.06);
    }

    .archive-project-card:hover::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.05) 100%);
    }
}

.archive-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px;
    box-sizing: border-box;
    z-index: 3;
    color: #ffffff;
}

.archive-project-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.45;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    /* 2行省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.archive-project-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    letter-spacing: 0.04em;
}

.archive-project-date i {
    font-size: 10px;
}

/* ===== Default Archive (フォールバック) ===== */
.archive-default-list {
    border-top: 1px solid #eaeaea;
}

.archive-default-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 8px;
    border-bottom: 1px solid #eaeaea;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.archive-default-item:hover {
    background: #f7f9fa;
}

.archive-default-item time {
    font-size: 13px;
    color: #888;
    font-family: Arial, sans-serif;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    width: 100px;
}

.archive-default-item h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.5;
}

.archive-default-item:hover h2 {
    color: var(--jci-blue);
}

/* ===== Pagination (円形ボタン) ===== */
.archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.archive-pagination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.archive-pagination-list a,
.archive-pagination-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    background: #f0f3f5;
    color: #555;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.archive-pagination-list a:hover {
    background: #d8dde2;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.archive-pagination-list .current {
    background: var(--jci-blue);
    color: #ffffff;
    cursor: default;
}

.archive-pagination-list .dots {
    background: transparent;
    color: #888;
    cursor: default;
}

.archive-pagination-list .prev,
.archive-pagination-list .next {
    background: #f0f3f5;
    color: #555;
}

.archive-pagination-list .prev:hover,
.archive-pagination-list .next:hover {
    background: var(--jci-blue);
    color: #ffffff;
}

.archive-pagination-list .prev i,
.archive-pagination-list .next i {
    font-size: 14px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 992px) {
    .archive-project .archive-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .archive-news-card {
        grid-template-columns: 160px 1fr;
        gap: 16px;
        padding: 18px 20px;
    }

    .archive-news-thumb {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .page-archive .archive-hero {
        padding: 50px 0;
    }

    .page-archive .archive-page-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.25em;
        margin: 0 0 10px 0;
        font-family: Arial, sans-serif;
        opacity: 0.9;
    }

    .page-archive .archive-page-subtitle {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        opacity: 1;
        margin: 0;
        line-height: 1.3;
        color: #ffffff;
    }

    .page-archive .archive-content {
        padding: 50px 0 70px;
    }

    /* News: モバイルでは1列 + 縦積み */
    .archive-news .archive-news-grid {
        grid-template-columns: 1fr;
    }

    .archive-news-card {
        grid-template-columns: 100px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .archive-news-thumb {
        width: 100px;
    }

    .archive-news-title {
        font-size: 14px;
        line-height: 1.5;
    }

    .archive-news-date {
        font-size: 12px;
        margin-bottom: 6px;
    }

    /* Project: モバイルでは2列 */
    .archive-project .archive-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-project-info {
        padding: 14px 16px;
    }

    .archive-project-title {
        font-size: 13px;
    }

    .archive-project-date {
        font-size: 10px;
    }

    /* Pagination */
    .archive-pagination {
        margin-top: 40px;
    }

    .archive-pagination-list a,
    .archive-pagination-list span {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ============================================
   Organization Page (page-organization.php / 組織図)
   - 東京JCパターン: PDF画像 + PDFボタン (年次更新が容易)
   ============================================ */

/* ----- Hero ----- */
.page-organization .org-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-organization .org-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-organization .org-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Section title (▶ 組織図) ----- */
.page-organization .org-section-header {
    background: #ffffff;
    padding: 60px 0 30px;
}

.page-organization .org-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.04em;
}

.page-organization .org-section-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 18px solid var(--jci-blue);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    flex-shrink: 0;
}

/* ----- 組織図画像 (PDFを画像化したもの) ----- */
.page-organization .org-chart-image-section {
    background: #ffffff;
    padding: 20px 0 40px;
}

.page-organization .org-chart-figure {
    margin: 0;
    padding: 0;
    text-align: center;
}

.page-organization .org-chart-figure a {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #e5e8eb;
}

.page-organization .org-chart-figure a:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.page-organization .org-chart-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* ----- PDF Download Button ----- */
.page-organization .org-pdf-section {
    background: #ffffff;
    padding: 0 0 100px;
    text-align: center;
}

.page-organization .org-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 44px;
    background: var(--jci-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.3);
    transition: all 0.3s ease;
}

.page-organization .org-pdf-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
    color: #ffffff;
}

.page-organization .org-pdf-btn i:first-child {
    font-size: 20px;
}

.page-organization .org-pdf-btn i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.page-organization .org-pdf-btn:hover i:last-child {
    transform: translateX(4px);
}

/* ----- Mobile Responsive ----- */
@media (max-width: 768px) {
    .page-organization .org-hero {
        padding: 50px 0;
    }

    .page-organization .org-page-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.25em;
        margin: 0 0 10px 0;
        font-family: Arial, sans-serif;
        opacity: 0.9;
    }

    .page-organization .org-page-subtitle {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        opacity: 1;
        margin: 0;
        line-height: 1.3;
        color: #ffffff;
    }

    .page-organization .org-section-header {
        padding: 40px 0 20px;
    }

    .page-organization .org-section-title {
        font-size: 22px;
        gap: 12px;
    }

    .page-organization .org-section-icon {
        border-left-width: 14px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }

    .page-organization .org-chart-image-section {
        padding: 10px 0 30px;
    }

    .page-organization .org-pdf-section {
        padding: 0 0 70px;
    }

    .page-organization .org-pdf-btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* ============================================
   Member Page (page-member.php / 委員会紹介)
   - 妙高HPの世界観: JCIブルー基調 + 番号バッジで視覚的リズム
   ============================================ */

.page-member .container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ----- Hero ----- */
.page-member .member-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-member .member-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-member .member-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Intro + Navigation ----- */
.page-member .member-intro-section {
    background: #ffffff;
    padding: 70px 0;
}

.page-member .member-intro-text {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 50px 0;
    text-align: center;
}

.page-member .member-intro-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.page-member .member-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.page-member .member-nav-card {
    display: grid;
    grid-template-columns: 1fr 22px;
    gap: 18px;
    align-items: center;
    padding: 22px 26px;
    background: #ffffff;
    border: 1px solid #d8dde2;
    border-left: 4px solid var(--jci-blue);
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.page-member .member-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--accent-orange);
    text-decoration: none;
}

.page-member .member-nav-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--jci-blue);
    font-family: Arial, sans-serif;
    line-height: 1;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.page-member .member-nav-card:hover .member-nav-num {
    color: var(--accent-orange);
}

.page-member .member-nav-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.page-member .member-nav-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

.page-member .member-nav-leader {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.02em;
}

.page-member .member-nav-arrow {
    color: #c5cdd3;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-member .member-nav-card:hover .member-nav-arrow {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* ----- Committee Sections ----- */
.page-member .member-committee {
    padding: 80px 0;
    scroll-margin-top: 96px;   /* vol.16: ヘッダー縮小に追従 */
    /* fixed header offset for anchor links */
}

.page-member .member-committee-white {
    background: #ffffff;
}

.page-member .member-committee-grey {
    background: #f7f9fa;
}

/* 委員会ヘッダー: 大きな番号 + タイトル */
.page-member .member-committee-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #d8dde2;
}

/* 番号バッジは廃止。残置スタイルは無害だが念のため保持 */
.page-member .member-committee-num {
    display: none;
    font-size: 64px;
    font-weight: 800;
    color: var(--jci-blue);
    font-family: Arial, sans-serif;
    line-height: 1;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    opacity: 0.9;
}

.page-member .member-committee-titlewrap {
    flex: 1;
    min-width: 0;
}

.page-member .member-committee-year {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.2em;
    margin: 0 0 6px 0;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.page-member .member-committee-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* 委員長/副委員長カード */
.page-member .member-leader-card {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 18px 24px;
    background: #ffffff;
    border-left: 4px solid var(--accent-orange);
    border-radius: 4px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-member .member-committee-grey .member-leader-card {
    background: #ffffff;
}

.page-member .member-leader-card p {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.page-member .member-leader-label {
    display: inline-block;
    background: var(--jci-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    flex-shrink: 0;
}

.page-member .member-leader-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
}

/* サブ見出し: 委員会設置背景 / 事業計画 / 行動計画 */
.page-member .member-sub-heading {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 36px 0 16px 0;
    padding-left: 14px;
    border-left: 4px solid var(--jci-blue);
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/* 本文段落 */
.page-member .member-committee p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 20px 0;
}

.page-member .member-committee p strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* 事業計画リスト (総務委員会) */
.page-member .member-plan-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: plan-counter;
}

.page-member .member-plan-list li {
    counter-increment: plan-counter;
    position: relative;
    padding: 0 0 0 50px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.page-member .member-plan-list li::before {
    content: counter(plan-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 38px;
    text-align: right;
    font-size: 18px;
    font-weight: 800;
    color: var(--jci-blue);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-member .member-plan-list li::after {
    content: '';
    position: absolute;
    left: 42px;
    top: 14px;
    width: 1px;
    height: calc(100% - 18px);
    background: #d8dde2;
}

.page-member .member-plan-list li:last-child {
    margin-bottom: 0;
}

/* ----- Mobile Responsive ----- */
@media (max-width: 768px) {
    .page-member .container-narrow {
        padding: 0 20px;
    }

    .page-member .member-hero {
        padding: 50px 0;
    }

    .page-member .member-page-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.25em;
        margin: 0 0 10px 0;
        font-family: Arial, sans-serif;
        opacity: 0.9;
    }

    .page-member .member-page-subtitle {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        opacity: 1;
        margin: 0;
        line-height: 1.3;
        color: #ffffff;
    }

    .page-member .member-intro-section {
        padding: 50px 0;
    }

    .page-member .member-intro-text {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .page-member .member-nav-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-member .member-nav-card {
        grid-template-columns: 1fr 18px;
        gap: 14px;
        padding: 16px 20px;
    }

    .page-member .member-nav-num {
        font-size: 22px;
    }

    .page-member .member-nav-name {
        font-size: 15px;
    }

    .page-member .member-committee {
        padding: 50px 0;
    }

    .page-member .member-committee-header {
        gap: 18px;
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .page-member .member-committee-num {
        font-size: 44px;
    }

    .page-member .member-committee-title {
        font-size: 21px;
    }

    .page-member .member-leader-card {
        flex-direction: column;
        gap: 12px;
        padding: 14px 18px;
        margin-bottom: 30px;
    }

    .page-member .member-leader-card p {
        font-size: 14px !important;
        flex-wrap: wrap;
    }

    .page-member .member-sub-heading {
        font-size: 17px;
        margin: 28px 0 14px 0;
    }

    .page-member .member-committee p {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 18px;
    }

    .page-member .member-plan-list li {
        padding-left: 38px;
        font-size: 15px;
        line-height: 1.85;
    }

    .page-member .member-plan-list li::before {
        font-size: 16px;
        width: 28px;
    }

    .page-member .member-plan-list li::after {
        left: 32px;
    }
}

/* ============================================
   About Page (page-about.php)
   - レイアウト参考: tokyo-jc.or.jp/about_tjc/
   - 妙高世界観: JCIブルー基調 + オレンジアクセント
   ============================================ */

.page-about .container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ----- Hero ----- */
.page-about .about-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-about .about-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-about .about-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Sections (交互背景) ----- */
.page-about .about-section {
    padding: 80px 0;
}

.page-about .about-section-white {
    background-color: #ffffff;
}

.page-about .about-section-grey {
    background-color: #f7f9fa;
}

/* セクション見出し: 英ラベル + 日本語タイトル */
.page-about .about-section-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d8dde2;
}

.page-about .about-en-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--jci-blue);
    margin: 0 0 8px 0;
    font-family: Arial, sans-serif;
}

.page-about .about-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* 本文段落 */
.page-about .about-section p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 24px 0;
}

.page-about .about-section p:last-child {
    margin-bottom: 0;
}

.page-about .about-section p strong {
    /* 強調文字は色を使わず黒太字で統一 */
    color: #1a1a1a;
    font-weight: 700;
}

/* JC宣言・綱領・JCI Creed/Mission/Vision のサブ見出しと本文 */
/* JC宣言/綱領/Creed/Mission/Vision: 中央寄せ + Mincho + JCIブルー下線アクセント */
.page-about .about-creed-heading {
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 70px auto 36px;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
}

.page-about .about-creed-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 140px;
    height: 2px;
    background: var(--jci-blue);
    transform: translateX(-50%);
}

.page-about .about-creed-heading:first-of-type {
    margin-top: 40px;
}

.page-about .about-creed {
    margin: 0 0 14px 0 !important;
    padding: 56px 30px;
    background: #f5f7f9;
    border: none;
    border-left: none;
    border-radius: 4px;
    font-size: 16px;
    line-height: 2.2;
    color: #1a1a1a;
    font-style: normal;
    quotes: none;
    text-align: center;
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
    letter-spacing: 0.06em;
}

.page-about .about-creed::before,
.page-about .about-creed::after {
    content: none;
}

/* 英語版 Creed/Mission/Vision: セリフ・中央寄せ・控えめ */
.page-about .about-creed-en {
    background: #ffffff;
    border: 1px solid #e5e8eb;
    color: #555;
    font-size: 14px !important;
    line-height: 2 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    padding: 36px 30px !important;
    margin-bottom: 10px !important;
    text-align: center;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .page-about .about-creed-heading {
        font-size: 22px;
        margin: 50px auto 28px;
    }

    .page-about .about-creed {
        padding: 36px 22px;
        font-size: 15px;
        line-height: 2.05;
    }

    .page-about .about-creed-en {
        padding: 26px 20px !important;
        font-size: 13px !important;
        line-height: 1.85 !important;
    }
}

/* リードクオート (青年会議所とは のセクション用) */
.page-about .about-lead-quote {
    text-align: center;
    font-size: 18px !important;
    line-height: 2.2 !important;
    color: #1a1a1a !important;
    padding: 40px 30px;
    background: #ffffff;
    border-left: 4px solid var(--accent-orange);
    border-right: 4px solid var(--accent-orange);
    border-radius: 4px;
    margin: 0 !important;
}

.page-about .about-lead-quote strong {
    color: #1a1a1a !important;
    font-weight: 700;
    font-size: 1.1em;
}

/* ※ 注釈ボックス */
.page-about .about-note {
    margin: 30px 0 0 0;
    padding: 16px 22px;
    background: #fffaf0;
    border-left: 3px solid var(--accent-orange);
    border-radius: 4px;
    font-size: 13px;
}

.page-about .about-note p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #555 !important;
}

.page-about .about-note p strong {
    color: #1a1a1a !important;
}

/* 脚注リンク */
.page-about .about-ref-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
    margin-left: 2px;
}

.page-about .about-ref-link:hover {
    text-decoration: underline;
}

/* リンクカードグリッド */
.page-about .about-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.page-about .about-link-grid-3col {
    grid-template-columns: 1fr 1fr 1fr;
}

.page-about .about-link-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 60px 22px 24px;
    background: #ffffff;
    border: 1px solid #d8dde2;
    border-left: 4px solid var(--jci-blue);
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.page-about .about-section-grey .about-link-card {
    background: #ffffff;
}

.page-about .about-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left-color: var(--accent-orange);
    text-decoration: none;
}

.page-about .about-link-card-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--jci-blue);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.page-about .about-link-card:hover .about-link-card-label {
    color: var(--accent-orange);
}

.page-about .about-link-card-text {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.04em;
}

.page-about .about-link-card-arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #c5cdd3;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-about .about-link-card:hover .about-link-card-arrow {
    color: var(--accent-orange);
    transform: translateY(-50%) translateX(3px);
}

/* ----- CTA (Vision/Joinと統一: #f7f9fa背景 + 上3px緑ライン) ----- */
.page-about .about-cta {
    background: #f7f9fa;
    border-top: 3px solid var(--slogan-green);
    padding: 100px 0;
    text-align: center;
}

.page-about .about-cta-title {
    color: #333333;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
}

.page-about .about-cta-description {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.page-about .about-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about .about-cta-link {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.page-about .about-cta-link-primary {
    background: var(--jci-blue);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.3);
}

.page-about .about-cta-link-primary:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.page-about .about-cta-link-secondary {
    background: #ffffff;
    color: var(--jci-blue);
    border: 2px solid var(--jci-blue);
}

.page-about .about-cta-link-secondary:hover {
    background: var(--jci-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 150, 214, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-about .container-narrow {
        padding: 0 20px;
    }

    .page-about .about-hero {
        padding: 50px 0;
    }

    .page-about .about-page-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.25em;
        margin: 0 0 10px 0;
        font-family: Arial, sans-serif;
        opacity: 0.9;
    }

    .page-about .about-page-subtitle {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        opacity: 1;
        margin: 0;
        line-height: 1.3;
        color: #ffffff;
    }

    .page-about .about-section {
        padding: 50px 0;
    }

    .page-about .about-section-header {
        margin-bottom: 30px;
        padding-bottom: 14px;
    }

    .page-about .about-section-title {
        font-size: 21px;
    }

    .page-about .about-section p {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 20px;
    }

    .page-about .about-lead-quote {
        font-size: 15px !important;
        padding: 28px 20px;
        line-height: 2 !important;
    }

    .page-about .about-link-grid,
    .page-about .about-link-grid-3col {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-about .about-link-card {
        padding: 18px 50px 18px 20px;
    }

    .page-about .about-cta {
        padding: 70px 0;
    }

    .page-about .about-cta-title {
        font-size: 24px;
    }

    .page-about .about-cta-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .page-about .about-cta-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .page-about .about-cta-link {
        padding: 16px 30px;
    }
}

/* ============================================
   Contact Page (page-contact.php)
   - 東京JC のテーブル型レイアウトを参考
   - 妙高JCの世界観: JCIブルー + オレンジ必須 + 緑アクセント
   ============================================ */

/* Breadcrumb (全ページ共通) - TOP以外で表示 */
.site-breadcrumb {
    background: #f7f9fa;
    padding: 14px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #eaeaea;
    line-height: 1.4;
}

.site-breadcrumb a {
    color: var(--jci-blue);
    text-decoration: none;
}

.site-breadcrumb a:hover {
    text-decoration: underline;
}

.site-breadcrumb a i {
    margin-right: 4px;
    font-size: 11px;
}

.site-breadcrumb .breadcrumb-sep {
    margin: 0 10px;
    color: #bbb;
}

.site-breadcrumb .breadcrumb-current {
    color: #333;
    font-weight: 500;
    /* 長いタイトルは省略 */
    display: inline-block;
    max-width: 70vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .site-breadcrumb {
        padding: 12px 0;
        font-size: 12px;
    }

    .site-breadcrumb .breadcrumb-sep {
        margin: 0 8px;
    }
}

/* Page Header */
.page-contact .contact-header {
    padding: 60px 0 30px;
    background: #ffffff;
}

.page-contact .contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    letter-spacing: 0.04em;
}

/* 見出しアイコン (JCIブルーの三角) */
.page-contact .contact-title-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 18px solid var(--jci-blue);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    flex-shrink: 0;
}

/* Description */
.page-contact .contact-intro {
    padding: 0 0 50px;
    background: #ffffff;
}

.page-contact .contact-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin: 0;
}

/* Form Section */
.page-contact .contact-form-section {
    padding: 0 0 100px;
    background: #ffffff;
}

/* Form Layout (2-column table-style) */
.page-contact .contact-form {
    max-width: 920px;
    margin: 0 auto;
}

.page-contact .form-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin-bottom: 12px;
    align-items: stretch;
}

.page-contact .form-label {
    background: var(--jci-blue);
    color: #ffffff;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 4px 0 0 4px;
}

.page-contact .form-row-textarea .form-label {
    align-items: flex-start;
}

.page-contact .form-label-text label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.page-contact .form-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
    flex-shrink: 0;
}

.page-contact .form-badge-required {
    background: var(--accent-orange);
    color: #ffffff;
}

.page-contact .form-badge-optional {
    background: #c5cdd3;
    color: #ffffff;
}

.page-contact .form-input {
    background: #f5f7f9;
    padding: 22px 24px;
    border-radius: 0 4px 4px 0;
}

.page-contact .form-input input[type="text"],
.page-contact .form-input input[type="email"],
.page-contact .form-input input[type="tel"],
.page-contact .form-input select,
.page-contact .form-input textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background-color: #ffffff;
    border: 1px solid #d8dde2;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}

.page-contact .form-input input:hover,
.page-contact .form-input select:hover,
.page-contact .form-input textarea:hover {
    border-color: #b0b8c0;
}

.page-contact .form-input input:focus,
.page-contact .form-input select:focus,
.page-contact .form-input textarea:focus {
    outline: none;
    border-color: var(--jci-blue);
    box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.15);
}

.page-contact .form-input textarea {
    resize: vertical;
    min-height: 180px;
}

.page-contact .form-input select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

/* Honeypot */
.page-contact .form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Privacy Checkbox */
.page-contact .form-privacy {
    text-align: center;
    margin: 40px 0 30px;
}

.page-contact .form-privacy-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.page-contact .form-privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--jci-blue);
    cursor: pointer;
}

.page-contact .form-privacy-label a {
    color: var(--jci-blue);
    text-decoration: underline;
}

.page-contact .form-privacy-label a:hover {
    color: var(--accent-orange);
}

/* Submit Button (妙高世界観: JCIブルー → ホバーでオレンジ) */
.page-contact .form-submit {
    text-align: center;
    margin-top: 30px;
}

.page-contact .form-submit button {
    display: inline-block;
    background-color: var(--jci-blue);
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    padding: 18px 70px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.3);
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.1em;
    font-family: inherit;
}

.page-contact .form-submit button:hover {
    background-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

/* Contact Page Messages */
.page-contact .contact-message {
    max-width: 920px;
    margin: 0 auto 30px auto;
    padding: 22px 28px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

.page-contact .contact-message-success {
    background-color: #f0f7e8;
    color: #3a5a14;
    /* スローガン緑系のアクセント */
    border-left: 4px solid var(--slogan-green);
}

.page-contact .contact-message-error {
    background-color: #ffebee;
    color: #b71c1c;
    border-left: 4px solid #e74c3c;
}

.page-contact .contact-message a {
    color: inherit;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-contact .contact-header {
        padding: 40px 0 20px;
    }

    .page-contact .contact-title {
        font-size: 22px;
        gap: 12px;
    }

    .page-contact .contact-title-icon {
        border-left-width: 14px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }

    .page-contact .contact-intro {
        padding: 0 0 30px;
    }

    .page-contact .contact-intro p {
        font-size: 14px;
        line-height: 1.85;
    }

    .page-contact .contact-form-section {
        padding: 0 0 70px;
    }

    .page-contact .form-row {
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }

    .page-contact .form-label {
        padding: 14px 18px;
        border-radius: 4px 4px 0 0;
    }

    .page-contact .form-label-text label {
        font-size: 14px;
    }

    .page-contact .form-input {
        padding: 18px;
        border-radius: 0 0 4px 4px;
    }

    .page-contact .form-submit button {
        padding: 16px 50px;
        font-size: 16px;
    }

    .page-contact .form-privacy-label {
        font-size: 14px;
    }

    .page-contact .contact-message {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* ============================================
   Sticky Side Buttons (右端に縦置き / 2ボタン: 最新情報 + お問い合わせ)
   - お問い合わせページ以外で常時表示
   ============================================ */
.sticky-side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 950;
    /* ヘッダー(1000)より下、モーダル(2000)より下 */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sticky-contact-btn {
    background-color: var(--accent-orange);
    color: #ffffff;
    text-decoration: none;
    padding: 22px 14px;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 4px 16px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-contact-btn:hover {
    background-color: var(--accent-orange-hover);
    transform: translateX(-4px);
    box-shadow: -5px 6px 22px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none;
}

.sticky-contact-btn .sticky-contact-icon {
    font-size: 22px;
    line-height: 1;
}

.sticky-contact-btn .sticky-contact-label {
    /* 縦書き */
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    /* vol.17: タブレット・SP（1024px以下）では sticky-side-buttons を非表示 */
    .sticky-side-buttons {
        display: none;
    }
}

/* ============================================
   Join Page (入会案内) — page-join.php
   ============================================ */

/* ----- セクション共通 ----- */
.page-join .join-intro,
.page-join .join-benefits {
    padding: 80px 0;
    background: #ffffff;
}

.page-join .join-qualifications,
.page-join .join-flow {
    padding: 80px 0;
    background: #f7f9fa;
}

/* ----- セクション見出し ----- */
.page-join .join-section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

.page-join .join-section-title--blue {
    color: #0096d6;
}

/* ----- 本文テキスト ----- */
.page-join .join-body-text {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    margin-bottom: 30px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

/* ----- 入会資格リスト ----- */
.page-join .join-qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-join .join-qualification-item {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-join .join-qualification-num {
    background: #0096d6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 18px;
}

.page-join .join-qualification-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

/* ----- 入会メリット グリッド ----- */
.page-join .join-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-join .join-benefit-card {
    border: 1px solid #eee;
    border-top: 4px solid #0096d6;
    padding: 30px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.page-join .join-benefit-card-title {
    color: #0096d6;
    font-size: 20px;
    margin-bottom: 15px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

.page-join .join-benefit-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

/* ----- 入会の流れ ----- */
.page-join .join-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-join .join-flow-step {
    background: white;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-join .join-step-num {
    background: #0096d6;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-join .join-step-label {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
}

.page-join .join-step-number {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.page-join .join-step-title {
    color: #0096d6;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

.page-join .join-step-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 0;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

.page-join .join-flow-arrow {
    text-align: center;
    color: #0096d6;
    font-size: 24px;
}

/* ----- CTA セクション ----- */
.page-join .join-cta {
    padding: 100px 0;
    background: #f7f9fa;
    border-top: 3px solid #FF9800;
    text-align: center;
}

.page-join .join-cta-title {
    color: #333333;
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

.page-join .join-cta-text {
    color: #555;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック', YuGothic, Meiryo, sans-serif;
}

/* ----- モバイル対応 ----- */
@media (max-width: 768px) {
    .page-join .join-intro,
    .page-join .join-qualifications,
    .page-join .join-benefits,
    .page-join .join-flow {
        padding: 50px 0;
    }

    .page-join .join-section-title {
        font-size: 22px;
    }

    .page-join .join-benefit-grid {
        grid-template-columns: 1fr;
    }

    .page-join .join-flow-step {
        padding: 20px;
        gap: 16px;
    }

    .page-join .join-step-num {
        width: 50px;
        height: 50px;
    }

    .page-join .join-step-number {
        font-size: 20px;
    }

    .page-join .join-cta {
        padding: 60px 0;
    }

    .page-join .join-cta-title {
        font-size: 24px;
    }
}


/* ===========================================
   Vision Page (理事長所信)
   - 入会案内のトーンに合わせたフラットJCIブルー基調
   - オレンジのアンダーラインは廃止 (理事長名サンドのみ温存)
   - 単一白ブロックの本文に統一 (年度更新を容易に)
   =========================================== */

.page-vision .container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ----- Page Hero (入会案内と同じフラットJCIブルー / 60px / 36px見出し) ----- */
.page-vision .vision-hero {
    background-color: var(--jci-blue);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-vision .vision-page-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 12px 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.page-vision .vision-page-subtitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
}

/* ----- Slogan Section ----- */
.page-vision .vision-slogan {
    background: #ffffff;
    padding: 80px 0 40px;
    text-align: center;
}

.page-vision .vision-slogan-year {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    font-weight: 700;
    /* 明朝体で格調ある印象に */
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
}

.page-vision .vision-slogan-image-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.page-vision .vision-slogan-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.08));
}

/* ----- President Figure (Case E: float-left / テキスト回り込み) ----- */
.page-vision .vision-section-intro {
    overflow: hidden;
    min-height: 240px;
}

.page-vision .vision-section-intro::after {
    content: "";
    display: block;
    clear: both;
}

.page-vision .vision-president-figure {
    float: left;
    width: 180px;
    margin: 8px 28px 16px 0;
    padding: 0;
    text-align: center;
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
}

.page-vision .vision-president-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.page-vision .vision-president-caption {
    margin: 10px 0 0;
    display: block;
    line-height: 1.5;
}

.page-vision .vision-president-position {
    display: block;
    font-size: 12px;
    color: #777;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.page-vision .vision-president-name {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.15em;
}

/* ----- Statement Body - 単一白ブロック / 改行 + 太字小項目 ----- */
.page-vision .vision-body {
    background: #ffffff;
    padding: 60px 0 100px;
}

.page-vision .vision-section-title {
    /* 明朝体・黒字・太字でカッコよく */
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 60px 0 24px 0;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.page-vision .vision-body > .container-narrow > .vision-section-title:first-child {
    margin-top: 0;
}

.page-vision .vision-subsection-title {
    /* 小項目も明朝体で統一感 */
    font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "游明朝", serif;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 36px 0 16px 0;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/* 本文段落のみに適用 (signature/references の p には影響させない) */
.page-vision .vision-body > .container-narrow > p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 28px 0;
    text-align: justify;
}

/* 脚注リンク */
.page-vision .vision-ref-link {
    color: var(--jci-blue);
    text-decoration: none;
    font-size: 11px;
    padding: 0 2px;
}

.page-vision .vision-ref-link:hover {
    text-decoration: underline;
}

/* ----- Signature (右寄せ・行間タイト・上ボーダー / 旧スタイル復元) ----- */
.page-vision .vision-signature {
    margin: 50px 0 60px;
    text-align: right;
    padding: 30px 0 0 0;
    border-top: 2px solid #e5e8eb;
}

/* signature 内 p は body段落の余白を継承させない */
.page-vision .vision-signature p {
    line-height: 1.5;
    text-align: right;
}

.page-vision .vision-signature-org {
    font-size: 13px;
    color: #888;
    margin: 0 0 4px 0;
    letter-spacing: 0.05em;
}

.page-vision .vision-signature-year {
    font-size: 14px;
    color: #555;
    margin: 0 0 6px 0;
    letter-spacing: 0.05em;
}

.page-vision .vision-signature-name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0;
    letter-spacing: 0.1em;
}

/* ----- References (白カード + JCIブルー左ボーダー / 旧スタイル復元) ----- */
.page-vision .vision-references {
    background: #ffffff;
    padding: 30px 40px;
    margin-top: 40px;
    border: 1px solid #eaeaea;
    border-left: 4px solid var(--jci-blue);
    border-radius: 8px;
}

.page-vision .vision-references-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--jci-blue);
    margin: 0 0 16px 0;
    letter-spacing: 0.1em;
}

.page-vision .vision-references-list {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    color: #555;
    line-height: 1.8;
}

.page-vision .vision-references-list li {
    margin-bottom: 8px;
    word-break: break-word;
}

.page-vision .vision-references-list a {
    color: var(--jci-blue);
    text-decoration: none;
    word-break: break-all;
}

.page-vision .vision-references-list a:hover {
    text-decoration: underline;
}

/* ----- CTA (Join CTAと統一: #f7f9fa背景 + 上3px緑ライン) ----- */
.page-vision .vision-cta {
    background: #f7f9fa;
    border-top: 3px solid var(--slogan-green);
    padding: 100px 0;
    text-align: center;
}

.page-vision .vision-cta-title {
    color: #333333;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

.page-vision .vision-cta-description {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

.page-vision .vision-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-vision .vision-cta-link {
    display: inline-block;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
}

.page-vision .vision-cta-link-primary {
    background: var(--jci-blue);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 150, 214, 0.3);
}

.page-vision .vision-cta-link-primary:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.page-vision .vision-cta-link-secondary {
    background: #ffffff;
    color: var(--jci-blue);
    border: 2px solid var(--jci-blue);
}

.page-vision .vision-cta-link-secondary:hover {
    background: var(--jci-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 150, 214, 0.3);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .page-vision .container-narrow {
        padding: 0 20px;
    }

    .page-vision .vision-hero {
        padding: 50px 0;
    }

    .page-vision .vision-page-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.25em;
        margin: 0 0 10px 0;
        font-family: Arial, sans-serif;
        opacity: 0.9;
    }

    .page-vision .vision-page-subtitle {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.04em;
        opacity: 1;
        margin: 0;
        line-height: 1.3;
        color: #ffffff;
    }

    .page-vision .vision-slogan {
        padding: 60px 0 30px;
    }

    .page-vision .vision-section-intro {
        min-height: 0;
    }

    .page-vision .vision-president-figure {
        float: none;
        width: 160px;
        margin: 0 auto 24px;
    }

    .page-vision .vision-president-name {
        font-size: 16px;
    }

    .page-vision .vision-body {
        padding: 50px 0 70px;
    }

    .page-vision .vision-section-title {
        font-size: 21px;
        margin: 44px 0 20px 0;
    }

    .page-vision .vision-subsection-title {
        font-size: 16px;
        margin: 28px 0 14px 0;
    }

    .page-vision .vision-body p {
        font-size: 15px;
        line-height: 1.85;
        margin: 0 0 22px 0;
    }

    .page-vision .vision-references {
        padding: 18px 20px;
    }

    .page-vision .vision-cta {
        padding: 70px 0;
    }

    .page-vision .vision-cta-title {
        font-size: 21px;
        letter-spacing: 0.02em;
    }

    .page-vision .vision-cta-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .page-vision .vision-cta-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .page-vision .vision-cta-link {
        padding: 16px 30px;
    }
}

/* Footer */
.site-footer {
    background-color: #0096d6;
    /* JCI Blue */
    color: #ffffff;
    padding: 60px 0 30px;
    /* Generous top padding, modest bottom padding */
    margin-top: 0px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 50px;
}

.footer-info {
    text-align: left;
    /* Left alignment for organization info */
}

.footer-org-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
    font-family: "Times New Roman", "游明朝", "Yu Mincho", serif;
    color: #ffffff;
    /* Unified white */
}

.footer-address p {
    margin: 5px 0;
    font-size: 14px;
    color: #ffffff;
    /* Unified white */
    line-height: 1.6;
}

.footer-email-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: text-decoration-color 0.3s, opacity 0.3s;
}

.footer-email-link:hover {
    text-decoration-color: #ffffff;
    opacity: 0.85;
}

/* Footer Nav - 内ページ動線 */
.footer-nav {
    flex: 1;
    margin: 0 30px;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.footer-nav-list li {
    margin: 0;
}

.footer-nav-list a {
    display: inline-block;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 0;
    letter-spacing: 0.05em;
    transition: opacity 0.3s, padding-left 0.3s;
    position: relative;
}

.footer-nav-list a::before {
    content: '›';
    margin-right: 8px;
    opacity: 0.6;
    transition: transform 0.3s;
    display: inline-block;
}

.footer-nav-list a:hover {
    opacity: 0.8;
    padding-left: 4px;
}

.footer-nav-list a:hover::before {
    transform: translateX(2px);
}

.footer-sns {
    display: flex;
    gap: 15px;
}

.footer-sns-icon {
    background-color: transparent;
    border: 1px solid #ffffff;
    /* White border for crisp appearance on JCI blue */
    color: #ffffff;
    /* White icon */
}

.footer-sns-icon:hover {
    background-color: #ffffff;
    color: #0096d6;
    /* Inverse hover */
}

.footer-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.privacy-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.privacy-link:hover {
    opacity: 0.8;
}

.footer-divider {
    color: #ffffff;
    opacity: 0.5;
}

.copyright {
    margin: 0;
    color: #ffffff;
}

/* Privacy Policy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* 非表示時にクリックを透過させる（これが真犯人の修正）*/
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.privacy-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 表示時はクリックを受け取る */
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    color: #333;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 40px;
    z-index: 2001;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.privacy-modal.is-active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-body h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent-orange);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.modal-body h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.modal-intro {
    font-weight: 500;
    color: #333 !important;
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 1024px) {

    /* 各セクションをゆったりと配置 */
    .news-section,
    .project-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

}

/* Mobile Responsive（vol.17: 768px → 1024px に引き上げ。ヘッダー・フッター・ナビ・Hero等） */
@media (max-width: 1024px) {
    .footer-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-info {
        text-align: center;
        /* Center organization info on mobile */
    }

    /* Footer Nav: モバイルでは縦積み + 中央寄せ */
    .footer-nav {
        margin: 0;
        width: 100%;
    }

    .footer-nav-list {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: left;
        max-width: 240px;
        margin: 0 auto;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 10px;
    }

    .footer-divider {
        display: none;
        /* Hide pipe separator when stacked vertically */
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    main {
        padding-top: 80px;
        /* Offset for fixed header — hero-section uses negative margins to escape this */
    }

    html {
        scroll-padding-top: 64px;  /* vol.16: SP ヘッダー縮小に追従 */
        /* Smaller offset for mobile header */
    }

    .container {
        padding: 0 20px;
    }

    .main-header {
        padding: 15px 0;
    }

    .nav-list>li {
        border-left: none;
        /* Remove vertical separators on mobile */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        /* Horizontal separators instead */
    }

    .nav-list>li:last-child {
        border-right: none;
    }

    .nav-list>li>a {
        height: auto;
        padding: 15px 20px;
    }

    .nav-list>li>a::after {
        display: none;
        /* Disable underline animation on mobile */
    }

    .logo {
        font-size: 1.1rem;
        padding: 0 16px 0 0;
    }

    .logo img {
        /* SP: vol.16 56px → 48px に縮小（ガイドライン最小32px以上維持） */
        height: 48px;
        max-width: 390px;
    }

    /* Section header: add side padding so titles don't touch screen edge */
    .section-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Section English label */
    .en-label {
        font-size: clamp(11px, 2.5vw, 14px);
    }

    /* NEWS view-all button: don't let it stick to edge */
    .view-all-btn {
        margin-right: 20px;
    }

    /* Hamburger: always anchored to the right edge */
    .hamburger {
        display: block;
        margin-left: auto;
        position: relative;
        right: 0;
        flex-shrink: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        margin-left: 0;
        margin-right: 0;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }

    .header-sns {
        display: none;
        /* Hide SNS icons on mobile header for smaller spaces if needed, or adjust */
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list .sub-menu {
        position: static;
        display: block;
        width: 100%;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: #f7f7f7;
    }

    .nav-list .sub-menu li a {
        color: #333;
        padding: 12px 30px;
        border-bottom: 1px solid #eee;
    }

    .nav-list .sub-menu li a:hover {
        background-color: #f0f0f0;
        color: var(--accent-orange);
    }

    body.no-scroll {
        overflow: hidden;
    }

    .post-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 15px;
        margin: 0 -15px;
    }

    .post-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .post-title {
        font-size: 15px;
    }

    /* Project Grid Responsive */
    .project-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    /* Tile Grid Responsive */
    .tile-grid {
        grid-template-columns: 1fr;
        padding: 50px 0 0;
        gap: 0;
        /* Ensure 0 gap on mobile stack */
    }

    .tile-main,
    .tile-sub {
        grid-column: span 1;
        grid-row: auto;
        min-height: 220px;
        padding: 30px 20px;
        /* Adjust inner padding for mobile texts */
        margin: 0;
        /* Ensure no margin breaks the grid */
    }

    .tile-main .tile-title {
        font-size: 22px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tile-main {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 300px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }

}

/* ===== HERO — モバイル (16:9) は .hero-visual 側に設定済み（vol.11 改訂） ===== */

/* ===== vol.6: カードクリック保護（全ブレークポイント共通） ===== */
/* ACTIVITY REPORT: <a> 自体がクリックを受け取り、子要素は貫通させる */
.project-card {
    pointer-events: auto !important;
    cursor: pointer !important;
}
.project-card > *,
.project-card::before,
.project-card::after {
    pointer-events: none !important;
}

/* INFORMATION: post-item は <a> 自体なので pointer-events: auto を明示 */
.post-item {
    pointer-events: auto !important;
    cursor: pointer !important;
}