/* ============================================================
   東北高等学校硬式野球部OB会 - Main Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;500;600;700&display=swap');


/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --color-navy:        #1a2d4e;
  --color-navy-dark:   #142238;
  --color-navy-light:  #1A3B68;
  --color-blue:        #2557a7;
  --color-orange:      #e05c1a;
  --color-gold:        #b8982a;
  --color-red:         #C43704;

  --color-text:        #3B4043;
  --color-text-light:  #666666;
  --color-text-muted:  #999999;

  --color-border:       #dddddd;
  --color-border-light: #eeeeee;
  --color-bg:           #f5f5f5;
  --color-white:        #ffffff;

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Oswald', sans-serif;

  --max-width:     980px;
  --header-height: 109px;
}

[data-id=""]    { --cat-color: #426E9B/*var(--accent)*/; } /* 「すべて」ボタン */
[data-id="game"]  { --cat-color: #6E7E42; }
[data-id="event"] { --cat-color: #963714; }
[data-id="ob"]    { --cat-color: #988844; }
[data-id="news"]    { --cat-color: #1A3B68; }


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

@media only screen and (min-width: 769px) {
  .sp {
    display:none!important;
  }
}
@media only screen and (max-width: 768px) {
  .pc {
    display:none!important;
  }
}

/* ============================================================
   3. HEADER
   ============================================================ */
.site-header {
  position: static;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

/* ロゴ */
.site-logo {
  display: flex;
  width: 25%;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  white-space: nowrap;
}

/* グローバルナビ */
.global-nav {
  display: flex;
  align-items: center;
}

.global-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 18px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.global-nav a .nav-en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  color: #1A3B68;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.global-nav a .nav-ja {
  font-size: 11px;
  color: #333333;
  margin-top: 1px;
}

.global-nav a:hover .nav-en,
.global-nav a.active .nav-en { opacity: 0.65; }

/* ハンバーガー（SP） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 32px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* SPナビ */
.sp-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  pointer-events: none;
}

.sp-nav {
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background: var(--color-navy);
  padding: 20px 0;
  overflow-y: auto;
}

/*.sp-nav ul { border-top: 1px solid rgba(255,255,255,0.1); }*/
.sp-nav ul li {
    border-bottom: 0.5px solid #fff;
    margin: 0 20px;
}

.sp-nav-list li:first-child {
  border-top: 0.5px solid #fff;
}

.sp-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 7px;
    text-decoration: none;
}

.sp-nav ul li a .nav-en {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.sp-nav ul li a .nav-ja {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.sp-nav ul li a::after {
    content: '';
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 12px;
    height: 12px;
    margin-right: 2px;
}

/* ============================================================
   4. PAGE HERO
   ============================================================ */
.page-hero {
  background: url("../images/background/page-hero_bg.jpg");
  background-size: contain;
  height: 120px;
  padding: 0 24px;
  text-align: center;
  /*position: relative;
  overflow: hidden;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/*.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}*/

.page-hero-en {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}

.page-hero-ja {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  position: relative;
  z-index: 1;
  font-weight: 400;
}


/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.main-content { 
  background: url('../images/background/main-content_bg.jpg');
  background-size: contain;
}
.page-content { padding: 60px 0 80px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.ft-con{
  border-top: 1px solid #1A3B68;
  border-bottom: 1px solid #1A3B68;
}
.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
/*.mb-24 { margin-bottom: 24px; }*/
.mb-24 { display: flex !important; align-items: center; gap: 8px; }
.mb-32 { margin-bottom: 32px; }


/* ============================================================
   6. SECTION TITLES
   ============================================================ */
.section-title { display: inline-block; }

.section-title .en {
  font-family: var(--font-en);
  font-size: 45px;
  font-weight: 500;
  color: #1A3B68;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
}

.section-title .section-label {
  display: inline-block;
  background: var(--color-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1;
  padding: 4px 8px;
  min-width: 80px;
  text-align: center;
}

/* タイプB: 中央揃え */
.section-title-center { text-align: center; }

.section-title-center .en {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.1em;
  display: block;
}

.section-title-center .ja {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* タイプC: 横線付き中央 */
.section-title-line {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.section-title-line::before,
.section-title-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1A3B68;
  max-width: 120px;
}

.section-title-line .en {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: #023192;;
  letter-spacing: 0.1em;
}

/* タイプD: 歴史ページの青い見出し */
.history-section-title {
  text-align: center;
  margin-bottom: 32px;
}

.history-section-title .en {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 500;
    color: #023192;
    letter-spacing: 0.05em;
    display: block;
}

.history-section-title .ja {
    font-size: 14px;
    color: #1C1F21;
    margin-top: -4px;
    display: block;
}


/* ============================================================
   7. NEWS CATEGORY TAGS
   ============================================================ */
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  width: 64px;
  height: 20px;
  line-height: 1;
  box-sizing: border-box;
  background: transparent;
  flex-shrink: 0;
}

.news-tag--match { color: #6E7E42; border: 1px solid #6E7E42; }
.news-tag--event { color: #963714; border: 1px solid #963714; }
.news-tag--ob    { color: #1A3B68; border: 1px solid #1A3B68; }


/* ============================================================
   8. FORM TAGS
   ============================================================ */
.form-tag-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A3B68;
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 6px;
  white-space: nowrap;
  min-width: 38px;
  height: 22px;
}

.form-tag-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #253953;
  color: #253953;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  white-space: nowrap;
  min-width: 38px;
  height: 22px;
}


/* ============================================================
   9. TOP PAGE - FIRST VIEW
   ============================================================ */
.top-hero { width: 100%; line-height: 0; }

.top-hero-fv-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 800px;
  object-fit: cover;
  object-position: center center;
}


/* ============================================================
   10. TOP PAGE - PICK UP
   ============================================================ */
.section-pickup {
  padding: 60px 0;
  /*background: #ffffff;*/
  background: rgba(59, 64, 67, 0.06);
}

.pickup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.pickup-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 画像エリア */
.pickup-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

/* 左カード */
.pickup-featured {
  /*background: linear-gradient(135deg, #1a3a60 0%, #0d2040 100%);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /*padding: 24px;*/
}

.pickup-featured-badge {
  font-size: 10px;
  color: var(--color-gold);
  font-weight: 700;
  border: 1px solid var(--color-gold);
  padding: 3px 10px;
  letter-spacing: 0.08em;
}

.pickup-featured-title {
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  line-height: 1.35;
}

.pickup-featured-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* 右カード */
.pickup-ticket {
  /*background: var(--color-navy);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /*padding: 24px;*/
}

.pickup-ticket-badge {
  font-size: 10px;
  color: #ffffff;
  background: var(--color-orange);
  padding: 3px 12px;
  letter-spacing: 0.05em;
}

.pickup-ticket-title {
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.45;
}

/* カード下テキスト */
.pickup-card-meta { margin-top: 10px; }

.pickup-card-date {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  color: #707F89;
}

.pickup-card-title-text {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 4px;
  line-height: 1.5;
}


/* ============================================================
   11. TOP PAGE - NEWS
   ============================================================ */
.section-news-top {
  padding: 60px 0;
  /*background: #f6f7f9;*/
}

.news-top-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.news-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}

/* MORE NEWSボタン */
.news-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 179px;
    height: 45px;
    background: linear-gradient(135deg, #292A2B 0%, #1A3B68 100%);
    color: #ffffff;
    font-family: var(--font-en);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-top: 46px;
    text-decoration: none;
    transition: opacity 0.2s;
    box-shadow: 3.5px 3.5px 1px rgba(0, 0, 0, 0.16);
}

.news-more-btn:hover { opacity: 0.85; }

/* ニュースリスト */
/*.news-list { border-top: 1px solid var(--color-border); }*/

.news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0 15px 30px;
  border-bottom: 1px solid #CBCED1;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.news-item:hover {
  background: rgba(0,0,0,0.02);
}
.top-news-meta {
  display: flex;
  align-items: center;
}
.news-item-date {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  color: #707F89;
  white-space: nowrap;
  min-width: 78px;
}
.news-item-tag {
  border: 1px solid var(--cat-color, var(--accent));
  color: var(--cat-color, var(--accent));
  white-space: nowrap;
  font-size: 12px;
  padding: 1px 10px;
  min-width: 64px;
  margin-left: 10px;
}
.news-item-title {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news-list {
    border-top: 1px solid #CBCED1;
  }
  .news-item {
    display: block;
    padding: 12px 4px 12px 8px;
  }
  .top-news-meta {
    margin-bottom: 5px;
  }
  .news-item-date {
    letter-spacing: 0.5px;
    font-size: 17px;
  }
  .news-item-tag {
    font-size: 12px;
    padding: 0px 8px;
    min-width: 64px;
  }
  .news-item-title {
    font-size: 15px;
  }
}


/* ============================================================
   12. TOP PAGE - CONTENTS
   ============================================================ */
.section-contents {
  padding: 60px 0;
  /*background: #f0f2f5;*/
  position: relative;
  overflow: hidden;
  background:url("../images/background/content_bg.png");
  background-repeat: no-repeat;
}

.section-contents::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' opacity='0.04'%3E%3Ccircle cx='200' cy='350' r='300' stroke='%231a2d4e' stroke-width='2' fill='none'/%3E%3Cline x1='0' y1='350' x2='400' y2='350' stroke='%231a2d4e' stroke-width='1'/%3E%3Cline x1='200' y1='50' x2='0' y2='350' stroke='%231a2d4e' stroke-width='1'/%3E%3Cline x1='200' y1='50' x2='400' y2='350' stroke='%231a2d4e' stroke-width='1'/%3E%3C/svg%3E")*/
    center/600px no-repeat;
  pointer-events: none;
}

/* 4列グリッド */
.contents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}

/* カード */
.top-contents-card {
  position: relative;
  /*aspect-ratio: 1 / 1!important;
  overflow: hidden;*/
  width:100%!important;
  height:238px;
  display: block;
  text-decoration: none;
}

.contents-card {
  position: relative;
  /*aspect-ratio: 4 / 2;
  overflow: hidden;*/
  width:100%;
  height:110px;
  display: block;
  text-decoration: none;
}

.contents-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(0);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.contents-card:hover .contents-card-bg {
  transform: scale(1.05);
  filter: brightness(0.75) saturate(0.2);
}

.top-contents .contents-card--about{
  background:url("../images/contents/pc/contents_about.jpg");
  background-size: cover;
}
.top-contents .contents-card--history{
  background:url("../images/contents/pc/contents_history.jpg");
  background-size: cover;
}
.top-contents .contents-card--rule{
  background:url("../images/contents/pc/contents_rule.jpg");
  background-size: cover;
}
.top-contents .contents-card--donation{
  background:url("../images/contents/pc/contents_donation.jpg");
  background-size: cover;
}
.top-contents .contents-card--schedule{
  background:url("../images/contents/pc/contents_activity.jpg");
  background-size: cover;
}
.top-contents .contents-card--supporter{
  background:url("../images/contents/pc/contents_supporter.jpg");
  background-size: cover;
}
.top-contents .contents-card--supporter_list{
  background:url("../images/contents/pc/contents_supporterlist.jpg");
  background-size: cover;
}
.top-contents .contents-card--contact{
  background:url("../images/contents/pc/contents_contact.jpg");
  background-size: cover;
}

.contents-card--about{
  background:url("../images/contents/pc/contents_about.png");
  background-size: cover;
}
.contents-card--history{
  background:url("../images/contents/pc/contents_history.png");
  background-size: cover;
}
.contents-card--rule{
  background:url("../images/contents/pc/contents_rule.png");
  background-size: cover;
}
.contents-card--donation{
  background:url("../images/contents/pc/contents_donation.png");
  background-size: cover;
}
.contents-card--schedule{
  background:url("../images/contents/pc/contents_activity.png");
  background-size: cover;
}
.contents-card--supporter{
  background:url("../images/contents/pc/contents_supporter.png");
  background-size: cover;
}
.contents-card--supporter_list{
  background:url("../images/contents/pc/contents_supporterlist.png");
  background-size: cover;
}
.contents-card--contact{
  background:url("../images/contents/pc/contents_contact.png");
  background-size: cover;
}

.contents-card-body {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 16px;
}

.contents-card-en {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1.2;
}

.contents-card-ja {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  display: block;
  /*margin-top: 4px;*/
}


/* ============================================================
   13. TOP PAGE - SUB CONTENTS
   ============================================================ */
.section-sub-contents {
  padding: 40px 0 30px;
  /*background: #ffffff;*/
  /*border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);*/
}

.sub-contents-layout {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 30px;
}

.top-label{
  position: relative;
  background: #fafafa!important;
}

.top-subcontents{
  padding: 40px 0 60px;
}

.top-subcontents .sub-contents-label{
  font-family: var(--font-en);
  font-size: 26px;
  top:-24px;
  display: block;
  text-align: center;
  font-weight: 500;
  width: 200px;
  position: relative;
  margin: auto;
  color: #1A3B68;
}

.sub-contents-label {
  font-family: var(--font-en);
  font-size: 26px;
  text-align: center;
  font-weight: 500;
  width: 200px;
  margin: auto;
  color: #1A3B68;
}

.sub-contents-cards {
  display: flex;
  gap: 12px;
  flex: 1;
}

.sub-card {
  flex: 1;
  /*aspect-ratio: 16/9;*/
  width:100%;
  border-radius: 2px;
  /*overflow: hidden;*/
  display: flex;
  align-items: center;
  position: relative;
}

.sub-card-event {
  /*background: linear-gradient(135deg, #1a2d6a 50%, #2a4a9a 100%);
  padding: 16px 20px;*/
}

.sub-card-event-text { color: #fff; }

.sub-card-event-label {
  font-size: 9px;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 2px 6px;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
  display: inline-block;
}

.sub-card-event-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.2;
}

.sub-card-line {
  /*background: linear-gradient(135deg, #1a8a2a 0%, #166020 100%);
  padding: 16px 20px;*/
}

.sub-card-line-text { color: #fff; }
.sub-card-line-label { font-size: 9px; margin-bottom: 6px; line-height: 1.4; }

.sub-card-line-title {
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 700;
  line-height: 1.4;
}

.sub-card-goods {
  /*background: linear-gradient(135deg, #f07020 0%, #d04010 100%);*/
  /*padding: 16px 20px;*/
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.sub-card-goods-title {
  font-family: var(--font-en);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sub-card-goods-subtitle {
  font-size: 9px;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

@media (max-width: 768px) {
.mb-24 { display: block !important; }
.sub-contents-label {
  font-family: var(--font-en);
  font-size: 26px;
  text-align: center;
  font-weight: 500;
  top: -44px;
  background: #ECEFF2;
  width: 200px;
  margin: auto;
  position: relative;
  color: #1A3B68;
  display: block;
}
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background: url('../images/background/footer_bg.jpg');
  padding: 48px 0 24px;
  background-size: cover;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 390px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 50%;
  margin: auto;
}

.footer-logo-text {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-align: center;
  line-height: 1.7;
  margin-top: 8px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.footer-copyright { font-size: 11px; color: rgba(255,255,255,0.4); }

.footer-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-privacy:hover { color: rgba(255,255,255,0.8); }


/* ============================================================
   15. INNER PAGE - CONTENTS NAV
   ============================================================ */
.section-contents-nav {
  background: #ECEFF2;
  padding: 48px 0 0;
}

.contents-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 768px) {
  .footer-privacy {
  font-size: 12px;
  color: #fff;
  text-decoration-line: underline;
  transition: color 0.2s;
  position: relative;
  top: -84px;
  }
  .site-footer {
  padding: 48px 0 0;
  }
  .contents-nav-inner {
    padding: 0 24px;
  }
}

/* ============================================================
   16. INNER PAGE - SUB CONTENTS NAV
   ============================================================ */
.section-sub-nav {
  padding: 40px 0 60px;
  background: #ECEFF2;
  /*border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);*/
}

.sub-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #1A3B68;
  border-bottom: 1px solid #1A3B68;
}

.sub-nav-cards {
  display: flex;
  gap: 12px;
  flex: 1;
}

@media (max-width: 768px) {
  .sub-nav-inner {
  padding: 20px 22px 0;
  border-bottom: 0px;
}
}

/* ============================================================
   17. ABOUT PAGE
   ============================================================ */
.about-message {
  /*background: #f8f8f8;*/
  background: rgba(59, 64, 67, 0.06);
  padding: 60px 0;
}

.about-message-text {
  max-width: 700px;
  margin: 32px auto 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text);
}

.about-message-text p { margin-bottom: 22px; }

.about-message-sign {
  margin-top: 32px;
}

.about-message-sign img{
  text-align: right;
  inset-block: revert;
  width: 50%;
  margin: 0 0 0 auto;
}

.about-member { padding: 60px 0; background: #ffffff; }

.member-table {
  width: 100%;
  max-width: 560px;
  margin: 32px auto 0;
  border-collapse: collapse;
}

.member-table tr { border-bottom: 1px solid #CBCED1; }
.member-table td { padding: 13px 0px 13px 90px; font-size: 16px; }
.member-table td:first-child {
  color: var(--color-text-light);
  width: 130px;
  white-space: nowrap;
  font-weight: 500;
}
.member-table td:last-child { color: var(--color-text); }

@media (max-width: 768px) {
.about-message-sign img{
  width: 60%;
}
.about-message span{
      font-size: 13px;
}
}

/* ============================================================
   18. HISTORY PAGE
   ============================================================ */
.history-origins { padding: 60px 0; background: rgba(59, 64, 67, 0.06); }

.history-text {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 13px;
    font-size: 15px;
    line-height: 2.0;
    text-align: justify;
    color: #1C1F21;
}
.history-text p       { margin-bottom: 18px; }
.history-text .indent { text-indent: 1em; }

.history-source {
  text-align: right;
  font-size: 15px;
  color: #1C1F21;
  margin-top: 47px;
}
@media (max-width: 768px) {
  .history-source {
    margin-top: 28px;
  }
}
@media (min-width: 769px) {
  .history-text {
    max-width: 746px;
  }
}

/* タイムライン */
.timeline-item-content .note {
  font-size: 13px;
}

@media (max-width: 768px) {
  .timeline-item-content .note {
    font-size: 12px;
  }
}

.history-timeline { padding: 60px 0; }

.timeline-accordion {
  max-width: 746px;
  margin: 0 auto;
  border-bottom: 1px solid #4A5F89;
}

.timeline-era { margin-bottom: 0; }

.timeline-era-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid #4A5F89;
  border-bottom: 1px solid #4A5F89;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s;
  margin-bottom: -1px;
}

.timeline-era-header:hover { background: transparent; }

.timeline-era-title {
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 700;
  color: #023192;
  display: inline-flex;
  align-items: baseline;
  flex: 1;
  justify-content: center;
  gap: 14px;
}

/* 令和（最後の年代）のみgapを狭める */
.timeline-era:last-child .timeline-era-title {
  gap: 4px;
}

.timeline-era-name {
  display: inline-block;
  min-width: 56px;
  text-align: right;
}

.timeline-era-title-inner {
  display: inline-flex;
  align-items: center;
  min-width: 200px;
}

.timeline-era-range {
  font-size: 15px;
  color: #3B4043;
  margin-left: 0;
  font-weight: 500;
  font-family: 'Oswald', sans-serif;
  display: inline-block;
  min-width: 82px;
  text-align: left;
}

/* 令和（2019-）のみ年代範囲をセンター揃え */
.timeline-era:last-child .timeline-era-range {
  text-align: center;
  padding-right: 9px;
}

.timeline-era-toggle {
    width: 17.5px;
    height: 17.5px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1px;
}
.timeline-era-toggle::before,
.timeline-era-toggle::after {
  content: '';
  position: absolute;
  background: #023192;
}
/* Horizontal bar (always visible) */
.timeline-era-toggle::before {
  width: 17.5px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
/* Vertical bar (visible when closed = +, hidden when open = -) */
.timeline-era-toggle::after {
  width: 2px;
  height: 17.5px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}
.timeline-era.open .timeline-era-toggle::after {
  opacity: 0;
}

.timeline-items {
  overflow: hidden;
  max-height: 0;
  background: transparent;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.timeline-era.open .timeline-items {
  max-height: 3000px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 20px 1fr;
  gap: 0 16px;
  padding: 15px 24px 25px 27px;
  align-items: start;
}
.timeline-item:first-child {
  padding-top: 35px;
}
.timeline-item:last-child {
  padding-bottom: 35px;
}

.timeline-item-year { text-align: center; }

.timeline-item-year-num {
  font-family: var(--font-en);
  font-size: 35px;
  font-weight: 500;
  color: #3B4043;
  line-height: 1;
}

.timeline-item-year-era {
  font-size: 16px;
  color: #023192;
  margin-top: -2px;
  display: block;
  font-weight: 600;
}

.timeline-item-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 17px;
  align-self: start;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #023192;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-line {
  display: none;
}

.timeline-items {
  position: relative;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: calc(27px + 80px + 16px + 10px - 0.5px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: #023192;
  pointer-events: none;
}

.timeline-item-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    padding-top: 8px;
    align-self: start;
}

/* ============================================================
/* ============================================================
   19. RULE PAGE
   ============================================================ */
.rule-content {
  padding: 48px 0 60px;
  /*background: #f8f8f8;*/
}

.rule-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}

.rule-main-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
}

.rule-section { margin-bottom: 40px; }

.rule-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy-light);
  border-bottom: 1px solid #CBCED1;
  padding-bottom: 8px;
  margin-bottom: 20px;
  padding-left: 14px;
  position: relative;
}

.rule-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--color-navy-light);
  border-radius: 2px;
}

.rule-article {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.rule-article-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-navy-light);
  padding: 2px 8px;
  color: var(--color-navy-light);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 56px;
  height: 24px;
  margin-right: 16px;
  margin-top: 2px;
}

.rule-article-body {
  flex: 1;
}

.rule-article-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.rule-article-sub {
  margin-top: 8px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 8px;
}

.rule-article-sub li { margin-bottom: 4px; }

.rule-h2 {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.08em;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  text-align: center;
}
@media (max-width: 768px) {
  .rule-h2{
    margin:0 0 20px !important;
  }
  .rule-box{
    width:auto !important;
  }
}


/* ============================================================
   20. DONATION PAGE
   ============================================================ */

/* --- ヒーローエリア --- */
.donation-hero {
  background-image: url('../images/background/img_background_donation.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 503px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.donation-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.donation-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
}

.donation-hero-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 2.0;
}

/* --- OB会費セクション --- */
.donation-fee {
  padding: 80px 0 90px;
  background: #ffffff;
}

.donation-fee-title {
  text-align: center;
  margin-bottom: 40px;
}

.donation-fee-title .main {
  font-size: 28px;
  font-weight: 700;
  color: #1A3B68;
  margin-bottom: 0;
}

.donation-fee-title br {
  display: none;
}

.donation-fee-badge {
  display: inline-block;
  background: #C43704;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  padding: 0px 6px;
  letter-spacing: 0.04em;
  margin: 3px 0 10px;
}

/* カードグリッド */
.donation-cards {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  gap: 30px;
  max-width: 624px;
  margin: 0 auto;
  justify-content: center;
}

.donation-card {
  border: 1px solid #1A3B68;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

/* カードヘッダー（背景画像あり） */
.donation-card-header {
  height: 154px;
  background-image: url('../images/background/img_background_donation_02.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donation-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.donation-card-header-text {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

/* カードボディ */
.donation-card-body {
  padding: 13px 20px 26px;
  text-align: center;
}

.donation-card-tag {
  display: inline-block;
  border: 1px solid #1A3B68;
  font-size: 14px;
  padding: 0px 24px;
  color: #1A3B68;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* 価格帯: 淡グレー背景 */
.donation-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #1A3B68;
  background: #EEF0F3;
  padding: 17px 8px;
  margin: 0 -20px;
  letter-spacing: 0.02em;
}

.donation-card-note {
  font-size: 13px;
  color: #1A3B68;
  margin-top: 9px;
}

/* 共有: .bank-table 基本スタイル (supporter側で利用) */
.bank-table {
  width: 100%;
  border-collapse: collapse;
}

.bank-table tr { border-bottom: 1px solid var(--color-border-light); }
.bank-table tr:last-child { border-bottom: none; }
.bank-table td { padding: 14px 20px; font-size: 13px; vertical-align: middle; }

.bank-table td:first-child {
  background: var(--color-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  width: 110px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.bank-table td:last-child {
  color: var(--color-text);
}


/* ============================================================
   21. ACTIVITY PLAN PAGE
   ============================================================ */
.act-in-sec {
  background: #ffffff;
  padding: 48px 0 24px;
}

.act-intro-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.act-intro-wrap p {
  font-size: 14px;
  line-height: 2.0;
  color: var(--color-text);
}

.act-pl-sec {
  background: #ffffff;
  padding: 40px 0 64px;
}

.pl-ttl-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #1C357B;
  margin-bottom: 28px;
}

.pl-ttl-row::before,
.pl-ttl-row::after {
  content: '';
  flex: 0 0 50px;
  height: 1px;
  background: #1C357B;
}

.sch-tbl {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: collapse;
}

.sch-tbl tr { border-bottom: 3px solid #ffffff; }

.sch-tbl td {
  padding: 12px 20px;
  font-size: 14px;
  vertical-align: middle;
}

.sch-tbl td:first-child {
  background: #1C357B;
  color: #fff;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  width: 90px;
}

.sch-tbl td:last-child {
  background: #F0F3F7;
  color: #333;
  line-height: 1.75;
}

.sch-tbl tr.double td:last-child { line-height: 1.9; }


/* ============================================================
   22. SUPPORTER PAGE
   ============================================================ */
.supporter-hero {
  background:
    linear-gradient(rgba(20,34,56,0.75), rgba(20,34,56,0.75)),
    linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.supporter-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.supporter-hero-title {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 28px;
  margin-bottom: 24px;
}

.supporter-hero-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 2.0;
}

.supporter-plans { padding: 60px 0; background: #ffffff; }

.supporter-plans-title { margin: 0 0 8px -22px; }
.supporter-plans-title .main {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

/* サポートプランカード */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 233px);
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.plan-card {
  border: 2px solid var(--color-border);
  overflow: hidden;
}

.plan-platina .plan-card-header { background: #7a9ab0; }
.plan-gold    .plan-card-header { background: #c8a840; }
.plan-silver  .plan-card-header { background: #8898a8; }
.plan-bronze  .plan-card-header { background: #9a7a58; }

.plan-platina { border-color: #7a9ab0; }
.plan-gold    { border-color: #c8a840; }
.plan-silver  { border-color: #8898a8; }
.plan-bronze  { border-color: #9a7a58; }

.plan-card-header { padding: 20px 16px; text-align: center; }

.plan-name {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.plan-name-ja {
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

.plan-card-price {
  background: #f8f8f8;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.plan-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.plan-card-body { padding: 16px; }

.plan-feature-title {
  font-size: 10px;
  font-weight: 700;
  background: var(--color-orange);
  color: #ffffff;
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.plan-features {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.75;
}

.plan-features li { padding-left: 0; }
.plan-features li::before { content: '・'; }

/* ご支援の流れ */
.supporter-flow { padding: 60px 0; background: #f8f8f8; }

.supporter-flow-title {
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 36px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
}

.flow-step {
  background: #ffffff;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border-light);
}

.flow-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-navy);
  color: white;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.flow-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
}

.flow-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.flow-step-text {
  font-size: 14px;
  color: #3B4043;
  line-height: 1.65;
  text-align: left;
}


/* ============================================================
   23. SUPPORTER LIST PAGE
   ============================================================ */
.supporter-list {
  padding: 60px 0 80px;
}

.supporter-list-intro {
  text-align: center;
  font-size: 13px;
  color: #3B4043;
  line-height: 1.9;
  margin-bottom: 36px;
}

/* ---- Platinum light-gray band ---- */
.platinum-band {
  background: #f3f4f6;
  padding: 60px 0 44px;
  margin-bottom: 48px;
}

.platinum-supporters {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platinum-supporter-card {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
  align-items: stretch;
  background: transparent;
  border: none;
}

.platinum-supporter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  background: #f5f6f7;
  min-height: 140px;
  border: none;
}

.platinum-supporter-logo img,
.platinum-supporter-logo .logo-placeholder {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* All tier logo images share the same contain fitting */
.gold-supporter-logo img,
.silver-supporter-logo img,
.bronze-supporter-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.logo-placeholder {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
}

.platinum-supporter-info {
  padding: 18px 8px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Generic supporter text */
.supporter-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.supporter-desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* Link button (公式サイト) */
.supporter-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #ffffff;
  background: var(--color-navy);
  border: 1px solid var(--color-navy);
  padding: 6px 16px;
  text-decoration: none;
  transition: all 0.2s;
  align-self: flex-start;
  width: fit-content;
}
.supporter-link-btn .ext-ico { font-size: 11px; line-height: 1; }
.supporter-link-btn:hover { background: #ffffff; color: var(--color-navy); }

/* ---- Gold tier (3 cards row, no borders) ---- */
.gold-supporters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 0;
}

.gold-supporter-card {
  border: none;
  padding: 0;
  text-align: left;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.gold-supporter-logo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #f5f6f7;
}

/* ---- Silver tier (2 rows x 3, no borders) ---- */
.silver-supporters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  margin-bottom: 0;
}

.silver-supporter-card {
  border: none;
  padding: 0;
  text-align: left;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.silver-supporter-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #f5f6f7;
}

/* ---- Bronze tier (3 rows x 4, horizontal layout: logo + text) ---- */
.bronze-supporters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
  margin-bottom: 0;
}

.bronze-supporter-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  padding: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
}

.bronze-supporter-logo {
  flex-shrink: 0;
  width: 90px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f7;
}

.bronze-supporter-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text);
}
.bronze-supporter-name {
  font-weight: 500;
  color: var(--color-text);
}
.bronze-supporter-text .ext-ico {
  font-size: 11px;
  color: var(--color-text-light);
}

/* ---- Horizontal divider between tier groups ---- */
/* カード(gold/silver/bronze)はlogo固定幅のため container の padding:0 24px を右側に食い込んで
   広がる。divider もそれに合わせて content-box を右側に突き抜けてカード右端まで伸ばす。
   左端はカード左端(container content-box 左端)と一致させる。 */
.supporter-divider {
  border: 0 !important;
  border-top: 1px solid #D1D1D1 !important;
  margin: 44px -55px 44px 0 !important;
  width: calc(100% + 55px) !important;
  max-width: none !important;
  display: block !important;
  box-sizing: border-box !important;
  height: 0 !important;
  color: #D1D1D1;
  background: none !important;
}

/* ============================================================
   23-LOGO. Placeholder logos (おでん三吉 / GMAKe / Smart Media / 小野万)
   ============================================================ */

/* おでん三吉 */
.logo-oden { text-align: center; line-height: 1.1; }
.logo-oden-ja {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 40px;
  letter-spacing: 0.04em;
}
.logo-oden-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.18em;
  margin-top: 4px;
}
/* Size variants */
.logo-oden--md .logo-oden-ja { font-size: 28px; }
.logo-oden--md .logo-oden-en { font-size: 9px; letter-spacing: 0.16em; margin-top: 3px; }
.logo-oden--sm .logo-oden-ja { font-size: 22px; }
.logo-oden--sm .logo-oden-en { font-size: 8px; letter-spacing: 0.14em; margin-top: 2px; }
.logo-oden--xs .logo-oden-ja { font-size: 16px; }
.logo-oden--xs .logo-oden-en { font-size: 7px; letter-spacing: 0.12em; margin-top: 1px; }

/* GMAKe */
.logo-gmake {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  color: #1f4b8e;
  font-size: 42px;
  line-height: 1;
}
.logo-gmake-mark {
  color: #1f7dc6;
  font-size: 1em;
  line-height: 1;
}
.logo-gmake-text { letter-spacing: -0.01em; }
.logo-gmake--md { font-size: 30px; }
.logo-gmake--sm { font-size: 24px; }
.logo-gmake--xs { font-size: 17px; gap: 3px; }

/* Smart Media */
.logo-smart { text-align: center; line-height: 1; }
.logo-smart-main {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: #1fb8e8;
  font-size: 54px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-smart-sub {
  font-size: 0.42em;
  color: #1fb8e8;
  margin-left: -0.15em;
  font-weight: 600;
  vertical-align: middle;
}
.logo-smart-tagline {
  font-family: 'Arial', sans-serif;
  font-size: 9px;
  color: #1fb8e8;
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 500;
}
.logo-smart--md .logo-smart-main { font-size: 38px; }
.logo-smart--md .logo-smart-tagline { font-size: 7px; margin-top: 3px; }
.logo-smart--sm .logo-smart-main { font-size: 28px; }
.logo-smart--sm .logo-smart-tagline { display: none; }
.logo-smart--xs .logo-smart-main { font-size: 18px; }
.logo-smart--xs .logo-smart-tagline { display: none; }

/* 小野万 */
.logo-onoman {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
}
.logo-onoman-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #c8210a;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 2px;
}
.logo-onoman-text {
  color: #c8210a;
  font-weight: 700;
  font-size: 16px;
}

/* ============================================================
   26. CONTACT PAGE
   ============================================================ */
.contact-intro {
  text-align: center;
  padding: 80px 0 40px;
}

.contact-intro-main {
  font-size: 18px;
  font-weight: 700;
  color: #1A3B68;
  margin-bottom: 18px;
}

.contact-intro-text {
  font-size: 13px;
  color: #333333;
  line-height: 1.9;
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  padding: 48px 56px;
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 67px;
  padding: 18px 20px;
  border-bottom: 1px solid #E3E3E3;
}

.form-start{
  border-top: 1px solid #E3E3E3;
}

@media (max-width: 768px) {
.contact-intro {
  padding: 52px 0 40px;
}

.contact-intro-main {
  font-size: 16px;
}

.contact-form-wrapper {
  background: none;
}
.form-tag-required {
  width: 58px;
  font-size: 12px;
}
.form-select{
  max-width: auto;
}
.form-label-text{
  font-size: 13px;
}
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}

.form-label-text {
  font-size: 14px;
  font-weight: 500;
  color: #253953;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ACB1B5;
  font-family: var(--font-ja);
  font-size: 13px;
  color: #363222;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-muted); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-textarea { min-height: 160px; resize: vertical; }
.form-input-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.form-address-note {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
  /*padding-top: 8px;*/
  line-height: 1.6;
}

.form-submit-area { text-align: center; margin-top: 40px; }

.submit-btn {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(135deg, #292A2B 0%, #1A3B68 100%);
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 100px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s;
  box-shadow: 3.5px 3.5px 1px rgba(0, 0, 0, 0.16);
}

.submit-btn:hover { background: var(--color-navy-light); }

/* 送信完了 */
.contact-finish {
    text-align: center;
    padding: 20px 32px;
}

.contact-finish-title {
    font-size: 25px;
    font-weight: 700;
    color: #1A3B68;
    margin-bottom: 36px;
}

.contact-finish-text {
    font-size: 15px;
    color: #333333;
    line-height: 1.95;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
.contact-finish-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.95;
    margin-bottom: 16px;
    text-align: left;
}

.contact-finish-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A3B68;
    margin: -27px 0 35px;
}
}

.back-btn {
    display: inline-block;
    background: var(--color-navy);
    color: #ffffff;
    padding: 14px 56px;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-decoration: none;
    margin-top: 36px;
    transition: background 0.2s;
    background: linear-gradient(135deg, #292A2B 0%, #1A3B68 100%);
    box-shadow: 3.5px 3.5px 1px rgba(0, 0, 0, 0.16);
}

.back-btn:hover { background: var(--color-navy-light); }


/* ============================================================
   27. PRIVACY POLICY PAGE
   ============================================================ */
.privacy-content { padding: 48px 0 40px; background: #ffffff; }

.privacy-inner { max-width: 980px; margin: 0 auto; padding: 0 24px; }

.privacy-intro {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 40px;
}

.privacy-section { margin-bottom: 40px; }

.privacy-section-title {
  font-size: 15px;
  font-weight: 500;
  color: #1A3B68;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #CBCED1;;
}

.privacy-text { font-size: 13px; line-height: 1.9; color: var(--color-text); }
.privacy-text p { margin-bottom: 12px; }

.privacy-list { padding-left: 0; margin-bottom: 12px; }

.privacy-list li {
  list-style: none;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  padding-left: 16px;
  position: relative;
}

.privacy-list li::before { content: '・'; position: absolute; left: 0; }


/* ============================================================
   28. TOP PAGE HEADER OVERLAY
   ============================================================ */
body.page-top .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  box-shadow: none !important;
}

body.page-top .logo-text {
  color: #ffffff;
}

body.page-top .logo-icon {
  filter: brightness(0) invert(1);
}

body.page-top .global-nav a .nav-en {
  color: #1A3B68;
}

body.page-top .global-nav a .nav-ja {
  color: #333333;
}

body.page-top .hamburger span {
  background: #ffffff;
}

body.page-top .top-hero-fv-img {
  min-height: 500px;
}

/* ============================================================
   29. RESPONSIVE - TABLET (960px)
   ============================================================ */
@media (max-width: 960px) {
  :root { --max-width: 100%; }

  .news-detail-layout { grid-template-columns: 1fr; }
  .plans-grid         { grid-template-columns: repeat(2, 1fr); }
  .flow-steps         { grid-template-columns: repeat(2, 1fr); }
  .gold-supporters    { grid-template-columns: repeat(2, 1fr); }

  .header-inner { padding: 0 24px; }

  .global-nav a { padding: 6px 12px; }
  .global-nav a .nav-en { font-size: 17px; }
}

@media only screen and (min-width: 530px) and (max-width: 768px) {
  .site-logo  { width: 30%; }
}
@media only screen and (max-width: 530px) {
  .site-logo  { width: 52%; }
}
/* ============================================================
   30. RESPONSIVE - MOBILE SP (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  /* ヘッダー */
  .global-nav { display: none; }
  .hamburger  { display: flex; }
  /*.site-logo  { width: 52%; }*/
  .logo-text  { font-size: 11px; }
  .header-inner { padding: 0 16px; }

  /* コンテナ */
  .container, .container-wide { padding: 0 16px; }

  /* セクション */
  .section-pickup,
  .section-news-top,
  .section-contents,
  .section-sub-contents { padding: 40px 0 70px; }
  
  .section-sub-contents { padding: 40px 20px 70px; }
  .section-contents {
  background:url("../images/background/content_bg_sp.png");
  background-size: cover;
  background-repeat: no-repeat;
  }
  /* PAGE HERO */
  .page-hero    { height: 90px; background-size: cover;}
  .page-hero-en { font-size: 28px; }

  /* PICKUP */
  .pickup-grid { grid-template-columns: 1fr; }
  .pickup-card-img-placeholder { min-height: 200px; }

  /* NEWS */
  .news-top-layout { grid-template-columns: 1fr; gap: 16px; }
  .news-more-btn   { margin: 30px auto 0; width: 100%; max-width: 179px; }

  /* CONTENTS */
  .contents-grid { grid-template-columns: repeat(2, 1fr); }
  .contents-card-en { font-size: 16px; }
  .contents-card-ja { font-size: 11px; }
  .contents-card { height: 85px;}
  .contents-card-body { padding: 14px;}
  .top-contents-card{ height: 90px;}
  .top-contents .contents-card--about{
  background:url("../images/contents/pc/contents_about.png");
  background-size: cover;
}
.top-contents .contents-card--history{
  background:url("../images/contents/pc/contents_history.png");
  background-size: cover;
}
.top-contents .contents-card--rule{
  background:url("../images/contents/pc/contents_rule.png");
  background-size: cover;
}
.top-contents .contents-card--donation{
  background:url("../images/contents/pc/contents_donation.png");
  background-size: cover;
}
.top-contents .contents-card--schedule{
  background:url("../images/contents/pc/contents_activity.png");
  background-size: cover;
}
.top-contents .contents-card--supporter{
  background:url("../images/contents/pc/contents_supporter.png");
  background-size: cover;
}
.top-contents .contents-card--supporter_list{
  background:url("../images/contents/pc/contents_supporterlist.png");
  background-size: cover;
}
.top-contents .contents-card--contact{
  background:url("../images/contents/pc/contents_contact.png");
  background-size: cover;
}

  /* SUB CONTENTS（TOP） */
  .sub-contents-layout { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sub-contents-cards  { flex-direction: column; width: 100%; }
  .sub-card            { /*aspect-ratio: 16/8;*/ flex: none; width: 100%; }

  /* SUB CONTENTS NAV（内部） */
  .section-sub-nav { padding: 60px 24px 0; }
  .sub-nav-inner  { flex-direction: column; align-items: flex-start; }
  .sub-nav-cards  { flex-direction: column; gap: 14px; width: 100%; top: -50px; position: relative; }
  .sub-nav-cards .sub-card { /*aspect-ratio: 16/6;*/ width: 100%; flex: none; }

  /* FOOTER */
  .footer-inner    { padding: 0 16px; }
  .footer-main     { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px;}
  .footer-logo     { width: 35%; }
  .footer-brand    { align-items: center; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; display: none; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }

  /* RULE */
  .rule-inner { padding: 0 16px; }
  .rule-article { flex-direction: column; gap: 6px; }
  .rule-article-num { margin-right: 0; }

  /* ABOUT */
  .about-message-text { font-size: 14px; }
  .member-table td { padding: 14px 24px; font-size: 14px; }

  /* HISTORY */
  /* SP: timeline-itemを2カラムに (左=線と点 / 右=年号横並び + 内容) */
  .timeline-item {
    grid-template-columns: 14px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 0 14px !important;
    padding: 15px 20px 20px !important;
  }
  .timeline-item:first-child {
    padding-top: 25px !important;
  }
  .timeline-item:last-child {
    padding-bottom: 24px !important;
  }
  /* 点+線: 左カラム、全行にまたがる */
  .timeline-item-dot {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    padding-top: 8px !important;
    align-self: stretch !important;
  }
  /* 年号行: 右カラム上 (横並び) */
  .timeline-item-year {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
  }
  /* 内容: 右カラム下 */
  .timeline-item-content {
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding-top: 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .timeline-item-year-num {
    font-size: 26px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  .timeline-item-year-era {
    font-size: 14px !important;
    display: inline-block !important;
    margin-top: -1px !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
  }
  /* 縦線の位置をSPの左パディング+点中心に */
  .timeline-items::before {
    left: calc(20px + 7px - 1px) !important;
    width: 2px !important;
  }
  /* historyページ専用: containerのpadding上書き */
  .history-timeline .container,
  .history-origins .container {
    padding: 0 20px !important;
  }
  /* timeline-era-name / range SP */
  .timeline-era-name {
    font-size: 18px !important;
  }
  .timeline-era-range {
    font-size: 14px !important;
  }
  .timeline-era-title {
    gap: 12px !important;
  }
  /* 令和（最後の年代）のみgapを狭める */
  .timeline-era:last-child .timeline-era-title {
    gap: 4px !important;
  }
  /* timeline-era-toggle SP: 14×14px */
  .timeline-era-toggle {
    width: 14px !important;
    height: 14px !important;
  }
  .timeline-era-toggle::before {
    width: 14px !important;
    height: 2px !important;
  }
  .timeline-era-toggle::after {
    width: 2px !important;
    height: 14px !important;
  }

  /* DONATION */
  .donation-cards  { grid-template-columns: 1fr; max-width: 320px; }
  .donation-hero-text { font-size: 12px; }

  /* SUPPORTER */
  .plans-grid     { grid-template-columns: repeat(2, 1fr); }
  .flow-steps     { grid-template-columns: 1fr 1fr; }

  /* SUPPORTER LIST */
  .supporter-list { padding: 32px 0 66px; }
  .supporter-list-intro {
    font-size: 14px;
    text-align: left;
    line-height: 1.9;
    margin-bottom: 38px;
  }
  .supporter-tier-heading { margin-bottom: 20px; }

  /* --- Platinum on SP: single column, logo full-width, info on gray band --- */
  .platinum-band {
    padding: 50px 0 67px;
    margin-bottom: 50px;
    overflow-x: hidden;
  }
  .platinum-supporters { gap: 24px; }
  .platinum-supporter-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .platinum-supporter-logo {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: auto;
    aspect-ratio: 450 / 226;
    min-height: 0;
    padding: 0;
    background: #f5f6f7;
    box-sizing: border-box;
  }
  .platinum-supporter-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
  .platinum-supporter-info {
    padding: 18px 0 4px 0;
    background: transparent;
  }
  .platinum-supporter-info .supporter-name {
    font-size: 22px;
    font-weight: 500;
    color: #3B4043;
    margin-bottom: 8px;
  }
  .platinum-supporter-info .supporter-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 14px;
    color: #3B4043;
  }
  /* Platinum SP button */
  .platinum-supporter-info .supporter-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #ffffff;
    background: #7E94B0;
    border: 1px solid #7E94B0;
    padding: 1px 26px;
    text-decoration: none;
    width: fit-content;
    align-self: flex-start;
  }

  /* --- Side padding for gold/silver tiers (38px total = container 16px + 22px) --- */
  .gold-supporters,
  .silver-supporters {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* --- Gold on SP --- */
  .gold-supporters {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gold-supporter-card { display: flex; flex-direction: column; }
  .gold-supporter-logo {
    width: 100%;
    aspect-ratio: 315 / 158;
    height: auto;
    min-height: 0;
    padding: 0;
    background: #f5f6f7;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gold-supporter-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
  .gold-supporter-card .supporter-name {
    font-size: 18px;
    font-weight: 500;
    color: #3B4043;
    margin: 3px 0 6px;
    text-align: left;
  }
  .gold-supporter-card .supporter-desc {
    font-size: 13px;
    color: #3B4043;
    line-height: 1.75;
    margin-bottom: 14px;
    text-align: left;
  }
  .gold-supporter-card .supporter-link-btn {
    font-size: 12px;
    padding: 0px 14px;
    color: #3B4043;
    border: 1px solid #707F89;
    background: transparent;
  }

  /* --- Silver on SP --- */
  .silver-supporters {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .silver-supporter-card { display: flex; flex-direction: column; }
  .silver-supporter-logo {
    width: 100%;
    aspect-ratio: 315 / 77;
    height: auto;
    min-height: 0;
    padding: 0;
    background: #f5f6f7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .silver-supporter-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
  .silver-supporter-card .supporter-name {
    font-size: 16px;
    font-weight: 500;
    color: #3B4043;
    margin-bottom: 7px;
    text-align: left;
  }
  .silver-supporter-card .supporter-link-btn {
    font-size: 12px;
    padding: 0px 14px;
    color: #3B4043;
    border: 1px solid #707F89;
    background: transparent;
  }

  /* --- Bronze on SP --- */
  .bronze-supporters {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 9px;
  }
  .bronze-supporter-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .bronze-supporter-logo {
    width: 100%;
    aspect-ratio: 241 / 61;
    height: auto;
    min-height: 0;
    padding: 0;
    background: #f5f6f7;
    border: 1px solid #e3e5e9;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bronze-supporter-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
  .bronze-supporter-text {
    padding: 0 2px;
    font-size: 12px;
    gap: 4px;
    color: #3B4043;
  }
  .bronze-supporter-name {
    font-weight: 500;
    font-size: 12px;
    color: #3B4043;
  }
  .bronze-supporter-text .ext-ico { font-size: 10px; }

  /* Divider spans full container width (exclude the 38px side padding) */
  .supporter-divider { margin: 36px 0 !important; width: 100% !important; }

  /* NEWS LIST */
  /*.news-full-item { flex-wrap: wrap; }
  .news-full-date { min-width: auto; }*/

  /* NEWS DETAIL */
  /*.news-detail-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 60px; }
  .news-detail-nav    { grid-template-columns: 1fr; }
  .news-detail-title  { font-size: 18px; }*/

  /* CONTACT */
  .contact-form-wrapper { padding: 24px 16px; }
  .form-row             { grid-template-columns: 1fr; gap: 10px; padding: 12px 0 18px;}
  .form-input-pair      { grid-template-columns: 1fr; display: flex; }
  .submit-btn           { padding: 14px 90px; }

  /* ACTIVITY PLAN */
  .act-intro-wrap { padding: 0 16px; }

  body.page-top .site-header {
    position: absolute;
    background: transparent;
    border-bottom: none;
  }
  body.page-top .top-hero-fv-img {
    min-height: 320px;
  }
}


/* ============================================================
   31. RESPONSIVE - SMALL (480px)
   ============================================================ */
@media (max-width: 480px) {
  .section-title .en { font-size: 32px; }
  .contents-grid     { grid-template-columns: repeat(2, 1fr); }
  .plans-grid        { grid-template-columns: 1fr; }
  .flow-steps        { grid-template-columns: 1fr; }
  /*.news-filters      { flex-wrap: wrap; width: 100%; }
  .news-filter-btn   { flex: 1; border-bottom: 1px solid var(--color-border); }*/
}

/* ============================================================
   ADDITIONS & OVERRIDES - Design Fidelity
   ============================================================ */

/* ---------- Supporter list tier heading ---------- */
.supporter-tier-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  margin-top: 0;
}
.supporter-tier-heading .tier-title {
  font-size: 23px;
  font-weight: 700;
  color: #1A3B68;
}
.supporter-tier-badge {
  display: inline-block;
  background: #C43704;
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  padding: 0px 10px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- Supporter card text per tier ---------- */
.gold-supporter-card .supporter-name { font-size: 14px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; text-align: left; }
.gold-supporter-card .supporter-desc { font-size: 11px; color: var(--color-text-light); line-height: 1.75; margin-bottom: 14px; text-align: left; }
.silver-supporter-card .supporter-name { font-size: 13px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; text-align: left; }

/* ---------- Rule page layout ---------- */
.rule-content {
  /*background: #f0f2f5;*/
  padding: 48px 0 64px;
}
.rule-inner {
  background: #ffffff;
  padding: 40px 48px 56px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  max-width: 860px;
  margin: 0 auto;
}
.rule-box{ margin: 0 auto 120px;}
.rule-article {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.rule-article-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-navy-light);
  padding: 2px 8px;
  color: var(--color-navy-light);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 52px;
  height: 22px;
  margin-right: 10px;
  margin-top: 2px;
}
.rule-article-body { flex: 1; }
.rule-article-text { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.rule-article-sub { margin-top: 8px; font-size: 15px; color: var(--color-text); line-height: 1.7; padding-left: 8px; }
.rule-article-sub li { margin-bottom: 4px; }
.rule-section-title {
  font-size: 18px;
  font-weight: 200;
  color: var(--color-navy-light);
  border-bottom: 1px solid #CBCED1;
  padding-bottom: 8px;
  margin-bottom: 20px;
  padding-left: 14px;
  position: relative;
}
.rule-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--color-navy-light);
  border-radius: 2px;
}

/* ---------- News full list - card style ---------- */
/*.news-full-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-direction: column;
  padding: 20px 24px;
  border: 1px solid #e4e5e8;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.2s;
  position: relative;
}
.news-full-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.news-full-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.news-full-date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #707F89;
  white-space: nowrap;
}
.news-full-content { width: 100%; }
.news-full-title { font-size: 15px; font-weight: 700; color: var(--color-text); line-height: 1.5; margin-bottom: 6px; }
.news-full-excerpt {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-full-item .news-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}*/

/* ---------- Supporter flow title ---------- */
.supporter-flow-title {
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 36px;
}

/* ---------- Donation bank section ---------- */
.bank-box-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 8px;
}
.bank-box-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- Supporter hero texture overlay ---------- */
.supporter-hero,
.donation-hero {
  position: relative;
}
.supporter-hero::before,
.donation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.supporter-hero-content,
.donation-hero-content {
  position: relative;
  z-index: 1;
}

/* ---------- Section label auto width ---------- */
.section-title .section-label {
  width: auto;
  padding: 4px 10px;
  min-width: unset;
}

/* ---------- Footer brand top padding ---------- */
.footer-brand { padding-top: 4px; }

/* ---------- History timeline open header ---------- */
.timeline-era.open .timeline-era-header { background: transparent; }

/* ---------- About message sign ---------- */
.about-message-sign p { margin-bottom: 4px; }

/* ---------- SP additional fixes ---------- */
@media (max-width: 768px) {
  .rule-section-title{}
  .rule-content{ padding:48px 0 10px !important;}
  .rule-box{ margin: 0 auto 100px;}
  .rule-inner { padding: 24px 16px 32px; }
  .rule-article { flex-direction: column; gap: 6px; }
  .rule-article-num { margin-right: 0; font-size: 12px;}
  /*.news-full-item .news-arrow { display: none; }*/
  .section-title .en { font-size: 36px; }
  /*.news-detail-nav { grid-template-columns: 1fr; }
  .news-nav-prev, .news-nav-next, .news-nav-center {
    font-size: 11px;
    padding: 10px 12px;
  }*/
}


/* ============================================================
   PATCH 2025-04 : 指定修正一括
   ============================================================ */

/* ── ヘッダー fixed/sticky 完全無効化 ── */
.site-header {
  position: static !important;
  top: auto !important;
  box-shadow: none !important;
}
body.page-top .site-header {
  position: absolute !important;
  top: 0 !important;
  background: transparent !important;
  border-bottom: none !important;
}

/* ── Activity Plan : 導入文 幅 816px、2行 ── */
.act-intro-wrap {
  max-width: 816px;
  margin: 0 auto;
  padding: 0 24px;
}
.act-intro-wrap p {
  font-size: 14px;
  line-height: 2.0;
  color: var(--color-text);
  max-width: 816px;
}
/* 「2026年度活動計画」タイトル 19px bold */
.pl-ttl-row {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #1C357B;
}

/* ── Rule : 背景なし・フル幅・ボックスなし ── */
.rule-content {
  /*background: #f0f2f5 !important;*/
  padding: 48px 0 64px;
}
.rule-inner {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  max-width: var(--max-width) !important;
  padding: 0 24px !important;
}
/* OB会会則 タイトル下線なし */
.rule-h2 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 60px 0 20px;
  text-align: center;
  color: #1A3B68;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-ja);
}
/* rule-article-sub padding-left 1px */
.rule-article-sub {
  padding-left: 1px !important;
}
/* rule-section-title::before 修正 */
.rule-section-title {
  position: relative;
}
.rule-section-title::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  width: 8px !important;
  height: 16px !important;
  background: var(--color-navy-light) !important;
  border-radius: 0px !important;
}

/* ── Supporter page ── */
/* タイトル 22px */
.supporter-hero-title {
  font-size: 22px !important;
  padding: 10px 28px;
  border: 1px solid rgba(255,255,255,0.55);
  display: inline-block;
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  margin: 19px 0 45px;
}
/* ヒーローテキスト 16px、コンテンツ幅980px */
.supporter-hero-text {
  font-size: 16px !important;
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
  width: 980px;
  max-width: 980px;
  margin-bottom: 77px;
  margin-top: 5px;
}
/* サポータープラン一覧 見出し */
.supporter-plans-title .main {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1A3B68 !important;
  font-family: var(--font-ja) !important;
}
/* Supporter Plan list → 赤帯白文字バッジ */
.supporter-plans .section-label {
  display: inline-block !important;
  background: #C43704 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  width: auto !important;
  min-width: unset !important;
  border-radius: 0 !important;
}

/* ── Plan カード 角丸 border-radius:8px ── */
.plan-card {
  border-radius: 8px !important;
  overflow: hidden !important;
  border-width: 1px !important;
  box-shadow: none !important;
  width: 233px !important;
  height: 362px !important;
}

/* PLATINA */
.plan-platina .plan-card-header {
  background: #7B9DB5 !important;
  padding: 20px 16px 14px !important;
}
.plan-platina .plan-card-price {
  background: #EBF0F4 !important;
  padding: 12px 16px !important;
}
.plan-platina .plan-card-price .plan-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
}
.plan-platina .plan-card-body {
  background: #ffffff;
  padding: 11px 23px 23px 23px !important;
}

/* GOLD */
.plan-gold .plan-card-header {
  background: #C4A24A !important;
  padding: 20px 16px 14px !important;
}
.plan-gold .plan-card-price {
  background: #F5EDD5 !important;
  padding: 13px 16px !important;
}
.plan-gold .plan-card-price .plan-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
}
.plan-gold .plan-card-body {
  background: #ffffff;
  padding: 11px 23px 23px 23px !important;
}

/* SILVER */
.plan-silver .plan-card-header {
  background: #8D9EAB !important;
  padding: 20px 16px 14px !important;
}
.plan-silver .plan-card-price {
  background: #ECF0F3 !important;
  padding: 13px 16px !important;
}
.plan-silver .plan-card-price .plan-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
}
.plan-silver .plan-card-body {
  background: #ffffff;
  padding: 11px 23px 23px 23px !important;
}

/* BRONZE */
.plan-bronze .plan-card-header {
  background: #9E8473 !important;
  padding: 20px 16px 14px !important;
}
.plan-bronze .plan-card-price {
  background: #EDE8E4 !important;
  padding: 13px 16px !important;
}
.plan-bronze .plan-card-price .plan-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
}
.plan-bronze .plan-card-body {
  background: #ffffff;
  padding: 11px 23px 23px 23px !important;
}

/* 共通: plan-name 白 */
.plan-name {
  font-family: var(--font-en) !important;
  font-size: 39px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
}
.plan-name-ja {
  font-size: 12px !important;
  color: rgba(255,255,255,0.9) !important;
  margin: -10px 0 12px;
}
/* 特典エリア: 横線付き中央タイトル */
.plan-card-body {
  padding: 16px !important;
}
.plan-feature-title {
  display: block !important;
  text-align: center !important;
  position: relative !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: none !important;
  padding: 0 !important;
  margin: 0px 0 10px !important;
}
/* 横線 */
.plan-feature-title::before,
.plan-feature-title::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  width: 31% !important;
  height: 1px !important;
  background: #333333 !important;
}
.plan-feature-title::before { left: 0 !important; }
.plan-feature-title::after  { right: 0 !important; }
/* 「特典」テキスト自体に#4D4538背景・白文字・パディング */
.plan-feature-title .tokutenText {
  display: inline-block !important;
  background: #4D4538 !important;
  color: #ffffff !important;
  padding: 1px 15px !important;
  position: relative !important;
  z-index: 1 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.plan-features {
  font-size: 12px !important;
  color: #555 !important;
  line-height: 1.8 !important;
}
.plan-features li::before { content: '・' !important; }

/* ご支援の流れ 背景 #E5ECEF */
.supporter-flow {
  background: #E5ECEF !important;
  padding: 56px 0 80px !important;
}
.flow-step {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 28px 15px 28px 19px !important;
  box-shadow: none !important;
  width: 236px !important;
  min-height: 290px !important;
}
.flow-step-icon {
  background: #E5ECEF !important;
  font-size: 26px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
}
/* お問い合わせアイコン（1番目）のみ35%サイズ */
.flow-step:nth-child(1) .flow-step-icon {
  font-size: 9px !important;
}

/* 支援金納入先 背景 #E8E8E8、幅 980px、縦 308px */
.supporter-bank-section {
  background: #E8E8E8 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 308px;
}
.supporter-bank-inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.supporter-bank-inner .bank-box {
  max-width: 640px;
  margin: 16px auto 0;
}
/* ── CONTACT ── */
/* フォームラッパー: 幅 972px、枠線なし */
.contact-form-wrapper {
  max-width: 980px !important;
  border: none !important;
  background: #ffffff !important;
  padding: 50px 80px !important;
}
.contact-section-wrap .container{
  padding: 0 24px 80px;
}
/* 入力欄の高さ 44px統一（テキストエリア除く） */
.form-input,
.form-select {
  height: 44px !important;
  padding: 0 12px !important;
}
/* 必須/任意バッジ 69×25px */
.form-tag-required,
.form-tag-optional {
  width: 69px !important;
  height: 25px !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  /* activity plan SP */
  .act-intro-wrap {
    max-width: 100%;
    padding: 0 16px;
  }

  /* news filters SP */
  /*.news-filters {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 16px !important;
  }
  .news-filter-btn {
    width: calc(50% - 8px) !important;
    height: 44px !important;
  }
  .news-full-list {
    max-width: 100% !important;
  }
  .news-full-item {
    max-width: 100% !important;
    min-height: auto !important;
  }*/

  /* contact SP */
  .contact-form-wrapper {
    padding: 0 0 !important;
  }
  .contact-form-wrapper {
  background: none !important;
}
}



/* ============================================================
   SP NAV — okamoto-optics style (translateY top-down)
   ============================================================ */

/* デスクトップ: SP関連要素を非表示 */
@media (min-width: 769px) {
  .hamburger    { display: none !important; }
  .sp-nav-wrap  { display: none !important; }
}

/* ── ハンバーガーボタン ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 64px;
    height: 64px;
    padding: 8px;
    background: #1B1485;
    border-radius: 0 0 0 6px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3100;
  }

  /* ナビが開いている間もfixedのまま（位置・z-index変わらず） */
  body.nav-open .hamburger {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 3100 !important;
    background: none;
  }

  .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 1px;
    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity   0.35s cubic-bezier(0.4, 0, 0.2, 1),
      top       0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  body.page-top .hamburger-line {
    background: #ffffff;
  }

  /* ナビ展開中はラインを白に（濃紺背景の上に固定されるため） */
  body.nav-open .hamburger-line {
    background: #ffffff;
  }

  /* nav-open 時: ハンバーガーを × に変形 */
  body.nav-open .hamburger-line:nth-child(1) {
    transform: translateY(15px) rotate(45deg);
  }
  body.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.nav-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── SP ナビ全体ラッパー ── */
  .sp-nav-wrap {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    /* 初期状態: 非表示 */
    visibility: hidden;
  }

  .sp-nav-wrap.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  /* ── オーバーレイ（背景暗転） ── */
  .sp-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .sp-nav-wrap.is-open .sp-nav-overlay {
    opacity: 1;
  }

  /* ── ナビ本体: 右からスライドイン・全画面 ── */
.sp-nav {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background: #123172;
        transform: translateX(100%);
        transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-overflow-scrolling: touch;
    }
    
  .sp-nav-wrap.is-open .sp-nav {
    transform: translateX(0);
  }

  /* ── ナビ ヘッダー行（ロゴ + ×ボタン） ── */
  .sp-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    padding-top: 64px;
    height: 64px;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.12);*/
  }

  .sp-nav-logo-img {
    height: 28px;
    width: auto;
    filter: brightness(10);
    display: block;
  }

  /* ── ナビリスト ── */
  .sp-nav-list {
    list-style: none;
    padding: 8px 0 32px;
    margin: 0;
  }

  /* 各アイテム: 順番にフェードイン（--i 変数で遅延） */
  .sp-nav-item {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity   0.35s ease calc(var(--i, 0) * 45ms + 120ms),
      transform 0.35s ease calc(var(--i, 0) * 45ms + 120ms);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sp-nav-wrap.is-open .sp-nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .sp-nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 24px 17px 28px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background 0.15s;
  }

  .sp-nav-item a:active,
  .sp-nav-item a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

   .sp-nav-en {
        font-family: var(--font-en);
        font-size: 25px;
        font-weight: 500;
        color: #ffffff;
        letter-spacing: 0em;
        line-height: 1.1;
    }

    .sp-nav-ja {
        font-size: 14px;
        color: #fff;
        line-height: 1.2;
        padding-top: 7px;
    }

  .sp-nav-arrow {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-en);
  }

  .sp-nav-item a.active .sp-nav-en {
    color: rgba(255, 255, 255, 0.6);
  }

  /* ── スクロールロック中のレイアウト補正 ── */
  body.nav-open {
    overflow: hidden;
  }

  /* ── ナビオープン中はサイトロゴを非表示（visibility でレイアウト維持） ── */
  body.nav-open .site-logo {
    visibility: hidden;
  }

  /* ── topページ: ナビオープン中はヘッダーをfixedに（ハンバーガーを前面表示） ── */
  body.page-top.nav-open .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    z-index: 3000 !important;
  }

  /* ── SPナビ内ロゴ画像は常に非表示 ── */
  .sp-nav-logo-img {
    display: none;
  }
}

/* ============================================================
   PATCH IMPORTED (from source) — 該当3ページ限定スタイル
   対象: supporter.html / supporter-list.html / schedule.html のみ
   ============================================================ */

/* ---------- from source: IMAGE PATCH v2 ---------- */

.supporter-plans       { background-color: #ffffff; }

.supporter-flow        { background-color: #E5ECEF !important; }

.act-in-sec            { background-color: #ffffff; }

.act-pl-sec            { background-color: #ffffff; }

.plan-platina .plan-card-header { background-image: url('../images/supporter/img_platina.jpg') !important; background-size: cover !important; background-position: center !important; }

.plan-gold    .plan-card-header { background-image: url('../images/supporter/img_gold.jpg')    !important; background-size: cover !important; background-position: center !important; }

.plan-silver  .plan-card-header { background-image: url('../images/supporter/img_silver.jpg')  !important; background-size: cover !important; background-position: center !important; }

.plan-bronze  .plan-card-header { background-image: url('../images/supporter/img_bronze.jpg')  !important; background-size: cover !important; background-position: center !important; }

.flow-step-icon {
  background-color: #E5ECEF !important;
  background-size: 45% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  font-size: 0 !important;
  width: 104px !important;
  height: 104px !important;
  border-radius: 50% !important;
  margin: 0 auto 16px !important;
}

.flow-step:nth-child(1) .flow-step-icon { background-image: url('../images/supporter/icon/icon_sp.png') !important; background-size: 30% !important; }

.flow-step:nth-child(2) .flow-step-icon { background-image: url('../images/supporter/icon/icon_mail.png') !important; }

.flow-step:nth-child(3) .flow-step-icon { background-image: url('../images/supporter/icon/icon_atm.png') !important; }

.flow-step:nth-child(4) .flow-step-icon { background-image: url('../images/supporter/icon/icon_pc.png') !important; }

.supporter-hero {
  background-image: url('../images/background/img_background_supporter.png') !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

.supporter-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 549px;
  background: rgba(47, 40, 26, 0.36);
  z-index: 0;
}

.supporter-hero-content { z-index: 1; position: relative; }

/* ---------- from source: PATCH v4 ---------- */

.plan-card.plan-platina { border: 1px solid #837D74 !important; }

.plan-card.plan-gold    { border: 1px solid #837D74 !important; }

.plan-card.plan-silver  { border: 1px solid #837D74 !important; }

.plan-card.plan-bronze  { border: 1px solid #837D74 !important; }

.plan-card-header {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
}

/* ---------- from source: PATCH v5 ---------- */

.plan-price-unit {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
  margin-right: 4px;
}

.plan-price-num {
  font-size: 27px !important;
  font-weight: 700 !important;
  color: #3B4043 !important;
}

.flow-step {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.flow-steps {
  display: grid !important;
  grid-template-columns: repeat(4, 236px) !important;
  gap: 16px !important;
  justify-content: center !important;
}

.bank-block { display: none; }


/* ============================================================
   SP RESPONSIVE — サポーターページ (supporter.html)
   ============================================================ */

/* SP改行用span: PCでは非表示 */
.sp-br { display: none; }

@media (max-width: 768px) {

  /* SP改行 */
  .sp-br {
    display: block !important;
  }

  /* ─────────────────────────────
     ヒーローエリア
  ───────────────────────────── */
  .supporter-hero {
    padding: 28px 0 32px !important;
  }
  .supporter-hero::after {
    height: 100% !important;
  }
  .supporter-hero-content {
    max-width: 100% !important;
    padding: 0 22px !important;
    text-align: center !important;
  }
  .supporter-hero-title {
    font-size: 18px !important;
    padding: 7px 20px !important;
    margin: 10px auto 18px !important;
    line-height: 1.45 !important;
    display: inline-block !important;
  }
  .supporter-hero-text {
    font-size: 15px !important;
    width: 330px !important;
    max-width: 100% !important;
    text-align: left !important;
    line-height: 1.85 !important;
    margin: 0 auto 28px !important;
  }

  /* ─────────────────────────────
     サポータープラン一覧
  ───────────────────────────── */
  html body section.supporter-plans {
    padding: 32px 0 48px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
  }
  .supporter-plans .container {
    padding: 0 16px !important;
  }
  .supporter-plans-title {
    text-align: center !important;
    margin-bottom: 14px 0 14px !important;
    margin: 0 auto;
  }
  .supporter-plans-title .main {
    font-size: 20px !important;
    text-align: center !important;
  }
  .supporter-plans .section-label {
    display: inline-block !important;
    width: 113px !important;
    height: 19px !important;
    font-size: 10px !important;
    padding: 0 !important;
    line-height: 19px !important;
    text-align: center !important;
  }
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    justify-items: center !important;
  }
  body .plan-card,
  body .plan-card.plan-platina,
  body .plan-card.plan-gold,
  body .plan-card.plan-silver,
  body .plan-card.plan-bronze {
    width: 306px !important;
    height: auto !important;
    max-width: 306px !important;
    min-height: unset !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .plan-platina .plan-card-header,
  .plan-gold    .plan-card-header,
  .plan-silver  .plan-card-header,
  .plan-bronze  .plan-card-header {
    padding: 28px 16px 20px !important;
    flex-shrink: 0 !important;
  }
  .plan-name {
    font-size: 32px !important;
  }
  .plan-name-ja {
    font-size: 11px !important;
    margin: -2px 0 0 !important;
  }
  .plan-card > div[style*="height"] {
    height: 14px !important;
    flex-shrink: 0 !important;
  }
  .plan-platina .plan-card-price,
  .plan-gold    .plan-card-price,
  .plan-silver  .plan-card-price,
  .plan-bronze  .plan-card-price {
    padding: 18px 16px !important;
    flex-shrink: 0 !important;
  }
  .plan-price-unit {
    font-size: 16px !important;
  }
  .plan-price-num {
    font-size: 24px !important;
  }
  .plan-platina .plan-card-body,
  .plan-gold    .plan-card-body,
  .plan-silver  .plan-card-body,
  .plan-bronze  .plan-card-body {
    padding: 16px 20px 24px !important;
    flex: 1 !important;
  }
  .plan-feature-title {
    margin: 0 0 12px !important;
    font-size: 11px !important;
  }
  .plan-feature-title .tokutenText {
    font-size: 11px !important;
    padding: 2px 12px !important;
  }
  .plan-features {
    font-size: 13px !important;
    line-height: 1.75 !important;
  }

  /* ─────────────────────────────
     ご支援の流れ
  ───────────────────────────── */
  .supporter-flow {
    background: #E5ECEF !important;
    padding: 35px 0 70px !important;
  }
  .supporter-flow .container {
    padding: 0 16px !important;
  }
  .supporter-flow-title {
    font-size: 20px !important;
    margin-bottom: 29px !important;
    text-align: center !important;
  }
  .flow-steps {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    justify-items: center !important;
  }
  body .flow-step {
    width: 349px !important;
    height: 135px !important;
    min-height: unset !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 20px !important;
    gap: 18px !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }
  .flow-step-icon {
    width: 89px !important;
    height: 89px !important;
    min-width: 89px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background-size: 45% !important;
  }
  .flow-step:nth-child(1) .flow-step-icon {
    background-size: 30% !important;
  }
  .flow-step-content {
    flex: 1 !important;
  }
  .flow-step-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    margin-bottom: 5px !important;
    color: var(--color-text) !important;
  }
  .flow-step-text {
    font-size: 14px !important;
    text-align: left !important;
    color: #3B4043 !important;
    line-height: 1.55 !important;
  }

  /* ─────────────────────────────
     支援金納入先
  ───────────────────────────── */
  .supporter-hero ~ section:not(.supporter-plans):not(.supporter-flow) {
    background: #ffffff !important;
    padding: 0 !important;
  }
  .supporter-hero ~ section:not(.supporter-plans):not(.supporter-flow) > div {
    padding: 40px 16px !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
  .supporter-hero ~ section:not(.supporter-plans):not(.supporter-flow) > div > div {
    padding: 32px 24px 47px !important;
    width: 100% !important;
    max-width: 358px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .bank-box-title {
    font-size: 23px !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  /* 説明文: 左揃え・幅304px・センター配置 */
  .supporter-hero ~ section:not(.supporter-plans):not(.supporter-flow) p[style*="font-size:14px"] {
    text-align: left !important;
    width: 304px !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    word-break: break-all !important;
    display: block !important;
  }
  /* bank-block: 独立した2ブロック構造 */
  .bank-block {
    display: block !important;
    width: 100% !important;
    max-width: 304px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border: 1px solid #707F89 !important;
    overflow: hidden !important;
  }
  .bank-block + .bank-block {
    margin-top: 21px !important;
  }
  .bank-block-label {
    background: #4D4538 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 5px 10px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .bank-block-value {
    background: #ffffff !important;
    color: #3B4043 !important;
    font-size: 14px !important;
    text-align: center !important;
    padding: 10px 12px !important;
    word-break: break-all !important;
    line-height: 1.6 !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* 既存bank-tableは非表示 */
  .bank-table {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .plan-card,
  .plan-card.plan-platina,
  .plan-card.plan-gold,
  .plan-card.plan-silver,
  .plan-card.plan-bronze {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .flow-step {
    width: 100% !important;
    height: auto !important;
    min-height: 110px !important;
  }
  .bank-table {
    width: 100% !important;
  }
  .supporter-hero ~ section p[style*="font-size:14px"] {
    width: 100% !important;
  }
}

/* ============================================================
   SP — スケジュールページ (schedule.html)
   ============================================================ */
@media (max-width: 768px) {

  .sch-tbl td {
    padding: 8px 18px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
  }

  .sch-tbl td:first-child {
    background: #1C357B !important;
    color: #fff !important;
    font-family: var(--font-ja) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: center !important;
    width: 71px !important;
  }
}

/* ============================================================
   SUPPORTER LIST - PC ONLY FINE-TUNING (769px and up)
   Mobile styles are intentionally preserved.
   ============================================================ */
@media (min-width: 769px) {
  .supporter-list-intro {
    text-align: center;
    font-size: 15px;
    color: #3B4043;
    line-height: 1.9;
    margin-bottom: 36px;
  }

  .supporter-tier-heading .tier-title {
    font-size: 25px;
    font-weight: 700;
    color: #1A3B68;
  }

  .supporter-tier-badge {
    display: inline-block;
    background: #C43704;
    color: #fff;
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 700;
    padding: 0 10px;
    letter-spacing: 0.08em;
    margin: 6px 0 20px;
  }

  /* Platinum band: #8A9FBB at 9% opacity */
  .platinum-band {
    background: rgba(138, 159, 187, 0.09);
  }

  /* Supporter name / description sizing (all tiers inherit unless overridden) */
  .supporter-name {
    font-size: 23px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
  }
  .supporter-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: 27px;
  }

  /* Platinum logo panel: fixed 450 x 226 */
  .platinum-supporter-card {
    grid-template-columns: 450px 1fr;
  }
  .platinum-supporter-logo {
    width: 450px;
    height: 226px;
    min-height: 226px;
    padding: 0;
  }

  /* Platinum-only supporter link button */
  .platinum-supporter-info .supporter-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #ffffff;
    background: #7E94B0;
    border: 1px solid #7E94B0;
    padding: 2px 27px;
    text-decoration: none;
    transition: all 0.2s;
    align-self: flex-start;
    width: fit-content;
  }
  .platinum-supporter-info .supporter-link-btn:hover {
    background: #6b809c;
    border-color: #6b809c;
    color: #ffffff;
  }

  /* ---- User-requested PC-only adjustments ---- */

  /* Platinum info padding / gap */
  .platinum-supporter-info {
    padding: 18px 0px 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .platinum-supporters {
    display: flex;
    flex-direction: column;
    gap: 39px;
  }

  /* Default link button (gold/silver/bronze) — outlined gray */
  .supporter-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #3B4043;
    background: transparent;
    border: 1px solid #707F89;
    padding: 0px 16px;
    text-decoration: none;
    transition: all 0.2s;
    align-self: flex-start;
    width: fit-content;
  }
  .supporter-link-btn:hover {
    background: #707F89;
    color: #ffffff;
  }

  /* Gold tier */
  .gold-supporters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
    margin-bottom: 0;
  }
  .gold-supporter-card .supporter-name {
    font-size: 19px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 5px;
    text-align: left;
  }
  .gold-supporter-card .supporter-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: left;
  }
  .gold-supporter-logo {
    width: 315px;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #f5f6f7;
  }

  /* Silver tier logo size */
  .silver-supporter-logo {
    width: 315px;
    height: 77px;
  }
  .silver-supporters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 20px;
    margin-bottom: 0;
  }
  .silver-supporter-card .supporter-name {
    font-size: 16px;
    font-weight: 500;
    color: #3B4043;
    margin: 0px 0 7px;
    text-align: left;
  }

  /* Bronze tier: logo sized 238x58, card stacks logo above text */
  .bronze-supporter-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .bronze-supporter-logo {
    width: 238px;
    height: 58px;
    flex-shrink: 0;
  }
  .bronze-supporters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 21px 11px;
    margin-bottom: 0;
  }
  .bronze-supporter-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #3B4043;
  }
}

/* ============================================================
   SP RESPONSIVE — DONATION ページ (donation.html)
   ============================================================ */

@media (max-width: 768px) {

  /* ヒーロー */
  .donation-hero {
    height: 467px !important;
    padding: 30px 0 !important;
  }
  .donation-hero-content {
    padding: 0 29px !important;
    max-width: 100% !important;
  }
  .donation-hero-title {
    font-size: 20px !important;
    margin-top: -23px !important;
    margin-bottom: 36px !important;
  }
  .donation-hero-text {
    font-size: 15px !important;
    line-height: 1.9 !important;
    text-align: left !important;
  }

  /* OB会費セクション */
  .donation-fee {
    padding: 50px 0 50px !important;
  }
  .donation-fee-title {
    margin-bottom: 30px !important;
  }
  .donation-fee-title .main {
    font-size: 30px !important;
  }
  .donation-fee-badge {
    font-size: 14px !important;
    padding: 0px 12px !important;
  }

  /* カードは縦積み */
  .donation-cards {
    grid-template-columns: 307px !important;
    max-width: 307px !important;
    gap: 24px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .donation-card {
    width: 307px !important;
    height: 349px !important;
  }
  .donation-card-header {
    height: 170px !important;
  }
  .donation-card-header-text {
    font-size: 24px !important;
  }
  .donation-card-body {
    padding: 12px 20px 26px !important;
  }
  .donation-card-tag {
    display: inline-block !important;
    border: 1px solid #1A3B68 !important;
    font-size: 16px !important;
    padding: 0px 27px !important;
    color: #1A3B68 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 12px !important;
  }
  .donation-card-price {
    font-size: 24px !important;
    padding: 16px 8px !important;
  }
  .donation-card-note {
    font-size: 14px !important;
    color: #1A3B68 !important;
    margin-top: 7px !important;
  }

  /* 会費納入先セクション: supporter形式のSP装飾(donation専用セレクタ) */
  .donation-hero ~ section:not(.donation-fee) {
    background: #ffffff !important;
    padding: 0 !important;
  }
  .donation-hero ~ section:not(.donation-fee) > div {
    padding: 0 16px 50px !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
  .donation-hero ~ section:not(.donation-fee) > div > div {
    padding: 32px 24px 47px !important;
    width: 100% !important;
    max-width: 358px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  /* 説明文: 左揃え・幅304px・センター配置 */
  .donation-hero ~ section:not(.donation-fee) p[style*="font-size:14px"] {
    text-align: left !important;
    width: 304px !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    word-break: break-all !important;
    display: block !important;
  }
}

.con-sup-li{
    background-color: #e0e5e8;
    width: 980px;
    margin: auto;
    padding: 200px 0;
}
.tex-box-sup{
    text-align: center;
    font-size: 25px;
}
@media (max-width: 768px) {
.supporter-list {
        padding: 32px 20px 66px !important;
}
.con-sup-li{
    background-color: #e0e5e8;
    width: auto;
    margin: auto;
    padding: 200px 0;
}
.tex-box-sup{
    text-align: center;
    font-size: 23px;
}
}