:root {
  --color-primary: #1a2a40; /* Navy */
  /* --color-secondary: #008f51; Fresh Green */
  --color-secondary: #facc15;
  --color-accent: #f5b041;
  --color-gold: #cfb53b;
  --color-silver: #a0a0a0;
  --color-bronze: #cd7f32;
  
  --color-text: #2c3e50;
  --color-text-light: #596a7a;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #121d2d;
  --color-border: #e2e8f0;
  
  --font-base: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.container--large {
  max-width: 1300px;
}

.section { padding: 120px 0; }
.section:nth-child(even) { background-color: var(--color-bg-alt); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.header__inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; height: 80px; }
.header__logo a { font-family: var(--font-en); font-size: 1.6rem; font-weight: 900; color: var(--color-primary); display: flex; flex-direction: column; line-height: 1.1; }
.tennis_logo { display: inline-block; color: var(--color-secondary); }
.tennis_name { font-family: var(--font-base); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; }
.header__nav ul { display: flex; align-items: center; gap: 40px; }
.header__nav a { font-family: var(--font-en); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;}
.header__nav a:hover:not(.btn-primary-small) { color: var(--color-secondary); }

.btn-primary-small {
  background: var(--color-secondary); color: white; padding: 12px 28px; border-radius: 40px; font-family: var(--font-base);
  font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow-md); letter-spacing: 0;
}
.btn-primary-small:hover { background: var(--color-primary); color: white;  transform: translateY(-3px); color: white; box-shadow: var(--shadow-lg); }

.hamburger { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--color-primary); border-radius: 2px; transition: 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; padding-left: 10%; overflow: hidden; }
.hero__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/* .hero__bg::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(26, 42, 64, 0.9) 0%, rgba(26, 42, 64, 0.4) 60%, rgba(255,255,255,0) 100%); z-index: 1;} */
.hero__bg img.slideshow-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; animation: scale-up 30s infinite alternate linear; z-index: 0; }
.hero__bg img.slideshow-img.active { opacity: 1; }
.hero__bg img.slideshow-img.zoom-out { object-position: center 30%; }
@keyframes scale-up { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }

.hero__content {
  position: relative; z-index: 10; color: white; width: 90%; max-width: 800px;
  opacity: 0; transform: translateX(-30px); animation: slide-right 1s forwards cubic-bezier(0.2, 1, 0.2, 1) 0.5s;
}
@keyframes slide-right { to { opacity: 1; transform: translateX(0); } }

.hero__catch { font-size: 3.9rem; font-weight: 900; line-height: 1.2; margin-bottom: 80px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); letter-spacing: -0.02em; }
.hero__sub { font-size: 1.25rem; font-weight: 500; line-height: 1.8; text-shadow: 0 2px 10px rgba(0,0,0,0.6); border-left: 4px solid var(--color-secondary); padding-left: 20px; }

.scroll-down { position: absolute; bottom: -320px; left: 70%; color: white; display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 2px; z-index: 10; opacity: 0.8;}
.scroll-down i { animation: bounce-x 2s infinite; }
@keyframes bounce-x { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-4px); } }

/* Section Headers */
.section-header { margin-bottom: 60px; text-align: center; }
.section-header--left { text-align: left; }
.section-header__en { font-family: var(--font-en); font-size: 1rem; font-weight: 800; color: var(--color-secondary); letter-spacing: 5px; display: block; margin-bottom: 5px; }
.section-header__jp { font-size: 2.5rem; font-weight: 800; color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2;}

/* About Section (Magazine Layout) */
.about-section {
  position: relative;
  overflow: hidden; /* SVGがセクション外にはみ出すのを防ぐ */
}
/* 既存のコンテナをSVGより前面（z-index: 2）に出す */
.about-section .container {
  position: relative;
  z-index: 2; 
}
/* 円形テキストの配置とサイズ */
.bg-circle-text {
  position: absolute;
  top: -100px;     /* 上下の配置位置（お好みで調整） */
  right: -100px;  /* 左右の配置位置（お好みで調整） */
  width: 600px;   /* 背景として大きく表示 */
  height: 600px;
  z-index: 1;     /* 背面に設定 */
  pointer-events: none; /* 前面のテキスト選択を邪魔しないようにする */
  animation: rotateText 20s linear infinite;
  transform-origin: center;
}
/* テキストのスタイル */
.bg-circle-text textPath {
  font-family: var(--font-en); /* サイト共通の英語フォントを適用 */
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  fill-opacity: 0.5; 
}
/* TENNIS部分のスタイル */
.bg-circle-text .highlight {
  fill: #facc15;
}
/* 回転アニメーション */
@keyframes rotateText {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loading Screen */
/* .loading-screen {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--color-primary); z-index: 99999;
  min-height: -webkit-fill-available;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-screen.fade-out {
  opacity: 0; visibility: hidden;
}
.loading-circle-text {
  width: 250px; height: 250px;
  animation: rotateText 10s linear infinite;
  transform-origin: center;
}
.loading-circle-text textPath {
  font-family: var(--font-en); font-size: 14px; font-weight: 900;
  letter-spacing: 0.1px; fill: rgba(255, 255, 255);
}
.loading-circle-text .highlight { fill: var(--color-secondary); } */

.about-magazine { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; margin-bottom: 60px; align-items: center; }
.magazine-title { font-size: 2rem; color: var(--color-primary); margin-bottom: 35px; line-height: 1.4; border-bottom: 2px solid var(--color-border); padding-bottom: 30px;}
.magazine-columns { column-count: 2; column-gap: 30px; font-size: 0.95rem; color: var(--color-text-light); text-align: justify; }
.magazine-columns p { margin-bottom: 20px; break-inside: avoid; font-size: 1.1rem;}

.about-magazine__image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-magazine__image::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.3); border-radius: inherit; pointer-events: none; }
.image-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(26, 42, 64, 0.85); color: white; padding: 15px 20px; font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(5px); }

/* Bento Team Stats */
.team-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bento-box { border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.bento-box h3 { font-size: 1.5rem; margin-bottom: 25px; }
.bento-box--dark { background: var(--color-primary); color: white; }
.bento-box--dark h3 { color: white; }

.team-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-list h4 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--color-secondary); margin-bottom: 15px; }
.team-list ul li { margin-bottom: 10px; display: flex; flex-direction: column; font-size: 1rem; font-weight: 700; }
.team-list ul li span { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.team-list .note { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 15px; }

.bento-box--highlight { background: var(--color-bg); border: 1px solid var(--color-border); }
.member-stats { display: flex; flex-direction: column; height: 100%; justify-content: center; }
.member-label { font-size: 0.9rem; font-weight: 700; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 2px; }
.member-total { font-size: 4rem; font-weight: 900; color: var(--color-secondary); line-height: 1; margin: 10px 0 30px; }
.member-total span { font-size: 1.2rem; margin-left: 5px; color: var(--color-text); }
.bar-row { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; }
.bar-row .grade { width: 40px; font-weight: 700; font-size: 0.9rem; }
.bar-row .bar { flex: 1; height: 8px; background: var(--color-bg-alt); border-radius: 4px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--color-primary); border-radius: 4px; }
.bar-row .count { width: 30px; text-align: right; font-weight: 700; font-size: 0.9rem; }

/* Activities Environment */
.environment-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-bottom: 80px; align-items: center;}
.environment-split__content h3 { font-size: 2.2rem; color: var(--color-primary); line-height: 1.3; margin-bottom: 25px; }
.environment-split__content p { color: var(--color-text-light); font-size: 1rem; margin-bottom: 30px; }
.facility-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.f-tag { background: white; border: 1px solid var(--color-border); padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; color: var(--color-primary); display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.f-tag i { color: var(--color-secondary); }
.environment-split__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 400px; }
.environment-split__image img { width: 100%; height: 100%; object-fit: cover; }

/* Environment Slider */
.environment-slider-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.env-slider {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
.env-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.env-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 42, 64, 0.85);
  color: white;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}
.env-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.env-slider-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
}
.env-prev { left: 15px; }
.env-next { right: 15px; }

/* Schedule Grid */
.schedule-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.schedule-tabs-container h3, .costs-container h3 { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 25px; display: flex; align-items: center; gap: 12px; }
.schedule-tabs-container h3 i, .costs-container h3 i { color: var(--color-secondary); }

.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { flex: 1; background: transparent; border: 2px solid var(--color-border); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700; color: var(--color-text-light); cursor: pointer; transition: all 0.3s ease; text-align: left; }
.tab-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tab-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); box-shadow: var(--shadow-sm); }

.tab-content { display: none; background: white; padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); animation: fadeIn 0.4s; }
.tab-content.active { display: block; }
.schedule-details .detail-row { display: flex; gap: 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--color-border); }
.schedule-details .detail-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.detail-row .day { font-weight: 800; color: var(--color-secondary); width: 50px; flex-shrink: 0; font-size: 1.1rem; }
.detail-row p { font-size: 0.95rem; color: var(--color-text-light); margin: 0; }

.costs-container { background: white; padding: 35px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.cost-list li { display: flex; flex-direction: column; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--color-bg-alt); }
.cost-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.cost-head { font-weight: 700; font-size: 0.95rem; margin-bottom: 5px; color: var(--color-text); }
.cost-price { font-size: 1.5rem; font-weight: 900; color: var(--color-primary); font-family: var(--font-en); }
.cost-desc { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.6; margin-top: 5px; background: var(--color-bg-alt); padding: 12px; border-radius: var(--radius-sm); }

/* Achievements Layout */
.achievements-section { background-color: var(--color-bg-dark); color: white; position: relative; padding: 140px 0;}
.achievements-section .section-header__jp { color: white; }
.achievements-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.achievements-sticky { position: sticky; top: 120px; }
.history-desc { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 40px; margin-top: 20px; }
.history-image { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: relative; }
.history-image::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.2); border-radius: inherit; }

.accordion-item { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; border-radius: var(--radius-md); overflow: hidden; backdrop-filter: blur(10px); }
.accordion-header { width: 100%; text-align: left; background: transparent; border: none; padding: 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: white; transition: all 0.3s; }
.accordion-header:hover, .accordion-header.active { background: rgba(255, 255, 255, 0.08); }
.accordion-header h3 { font-size: 1.5rem; font-family: var(--font-en); font-weight: 800; letter-spacing: 2px; }
.accordion-header i { font-size: 1.2rem; color: var(--color-secondary); transition: transform 0.3s; }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); background: rgba(0,0,0,0.2); }
.accordion-content.open { transition: max-height 0.5s ease-in-out; }
.tournament { padding: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.tournament.p-0 { padding: 15px 30px; }
.tournament h4 { font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 20px; }

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.result-box { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; background: rgba(255,255,255,0.05); padding: 10px 15px; border-radius: var(--radius-sm); }
.dense-list { display: flex; flex-direction: column; gap: 15px; }
.dense-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 500; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 800; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.badge-gold { background: linear-gradient(135deg, #f5b041, #c59b27); box-shadow: 0 4px 10px rgba(245, 176, 65, 0.3); }
.badge-silver { background: linear-gradient(135deg, #e0e0e0, #9e9e9e); }
.badge-bronze { background: linear-gradient(135deg, #e69d58, #b66110); }
.badge-large { font-size: 1.1rem; padding: 8px 20px; border-radius: 30px; }
.badge-tag { border: 1px solid var(--color-secondary); color: var(--color-secondary); padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; margin-left: auto; font-weight: 700; background: rgba(0, 143, 81, 0.1); }

.highlight-result { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.05); padding: 20px; border-radius: var(--radius-sm); border: 1px solid rgba(245, 176, 65, 0.3); }
.highlight-result .note { color: var(--color-accent); font-weight: 700; }
.other-results { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Information Section */
.information-section { background-color: var(--color-bg); }
.info-list {
  display: flex; flex-direction: column; gap: 15px;
  max-width: 900px; margin: 0 auto 40px;
}
.info-item {
  display: flex; align-items: center; background: white;
  padding: 25px 30px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.info-item:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.info-item::before {
  content: ''; position: absolute; left: 0; top: 0;
  height: 100%; width: 4px; background: var(--color-secondary);
  opacity: 0; transition: opacity 0.3s ease;
}
.info-item:hover::before { opacity: 1; }
.info-meta {
  display: flex; align-items: center; gap: 15px;
  width: 210px; flex-shrink: 0;
}
.info-date {
  font-family: var(--font-en); font-size: 0.95rem;
  color: var(--color-text-light); font-weight: 500;
}
.info-category {
  background: var(--color-bg-alt); color: var(--color-primary);
  border: 1px solid var(--color-border); font-size: 0.75rem;
  font-weight: 700; padding: 4px 12px; border-radius: 20px;
  transition: all 0.3s;
}
.info-item:hover .info-category {
  background: var(--color-secondary); color: white; border-color: var(--color-secondary);
}
.info-title {
  flex-grow: 1; font-size: 1.1rem; font-weight: 700;
  color: var(--color-primary); padding-right: 20px; line-height: 1.4;
}
.info-arrow {
  color: var(--color-secondary); font-size: 1.2rem; transition: transform 0.3s;
}
.info-item:hover .info-arrow { transform: translateX(5px); }

.info-btn-wrap { text-align: center; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 45px; border: 2px solid var(--color-primary);
  color: var(--color-primary); font-weight: 700; font-size: 1rem;
  border-radius: 40px; transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--color-primary); color: white;
}

/* Pagination */
.pagination { text-align: center; margin-top: 50px; }
.pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
.pagination .page-numbers {
  display: inline-flex; justify-content: center; align-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: white; color: var(--color-primary); text-decoration: none;
  font-weight: 700; border: 1px solid var(--color-border); transition: all 0.3s;
}
.pagination .page-numbers:hover {
  background: var(--color-secondary); color: white; border-color: var(--color-secondary);
}
.pagination .page-numbers.current {
  background: var(--color-primary); color: white; border-color: var(--color-primary);
}
.pagination .page-numbers.prev, .pagination .page-numbers.next {
  width: auto; padding: 0 20px; border-radius: 20px;
}
.pagination .screen-reader-text { display: none; }

/* Recruit */
.recruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--color-primary); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.recruit-message { padding: 80px 60px; color: white; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.recruit-message::before { content: ''; position: absolute; top:0; right:0; bottom:0; width: 50%; background: url('../images/court_bg.png') center/cover; opacity: 0.1; z-index: -1; mask-image: linear-gradient(to right, transparent, black); -webkit-mask-image: linear-gradient(to right, transparent, black); }
.recruit-label { font-family: var(--font-en); font-size: 0.9rem; color: var(--color-secondary); font-weight: 800; letter-spacing: 3px; display: block; margin-bottom: 20px; }
.recruit-message h2 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2; letter-spacing: -0.03em; }
.recruit-message p { font-size: 1.05rem; opacity: 0.8; line-height: 1.8; }

.recruit-contact { background: var(--color-bg-alt); padding: 60px; display: flex; align-items: center; }
.contact-card { width: 100%; }
.contact-card h3 { font-size: 1.6rem; color: var(--color-primary); margin-bottom: 15px; }
.contact-desc { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 30px; }
.contact-person { font-weight: 700; font-size: 1.1rem; margin-bottom: 20px; color: var(--color-primary); display: flex; align-items: center; gap: 10px; }
.contact-person i { color: var(--color-secondary); }
.contact-actions { display: flex; flex-direction: column; gap: 15px; }
.action-btn { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem; transition: all 0.3s; }
.tel-btn { background: white; color: var(--color-primary); border: 2px solid var(--color-border); }
.tel-btn:hover { border-color: var(--color-primary); background: var(--color-bg-alt); }
.email-btn { background: var(--color-secondary); color: white; }
.email-btn:hover { background: var(--color-primary); color: white;  transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Footer */
.footer { background: #0b1524; color: white; padding: 80px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { font-family: var(--font-en); font-size: 2.2rem; font-weight: 900; line-height: 1; }
.footer-logo span { color: var(--color-secondary); }
.school-name { font-family: var(--font-base); font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 10px; letter-spacing: 1px; }
.footer-links { display: flex; gap: 40px; }
.footer-links a { font-family: var(--font-en); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero__catch { font-size: 3.5rem; }
  .about-magazine { grid-template-columns: 1fr; }
  .magazine-columns { column-count: 1; }
  .team-bento, .environment-split { grid-template-columns: 1fr; gap: 40px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .achievements-layout { grid-template-columns: 1fr; gap: 40px; }
  .achievements-sticky { position: relative; top: 0; }
  .history-image { display: block; margin-top: 25px; }
  .recruit-grid { grid-template-columns: 1fr; }
  .recruit-message { padding: 50px 30px; }
  .recruit-contact { padding: 40px 30px; }
}

@media (max-width: 768px) {
  /* スマホ時のスライドショー微調整 */
  /* 右にずらす（100%に近いほど右に寄る / デフォルトは 50% ） */
  .hero__bg img.slideshow-img.sp-shift-right { object-position: 80% 50%; }
  /* 左にずらす（0%に近いほど左に寄る / デフォルトは 50% ） */
  .hero__bg img.slideshow-img.sp-shift-left  { object-position: 0% 80%; }

  .hamburger { display: block; }
  .header__nav {
    position: fixed; top: 80px; right: -100%; width: 100%; height: calc(100vh - 80px);
    background: white; transition: 0.3s; padding-top: 50px;
  }
  .header__nav.active { right: 0; }
  .header__nav ul { flex-direction: column; text-align: center; gap: 30px; }
  
  .hero { padding-left: 5%; justify-content: center; text-align: center; }
  .hero__catch { font-size: 2.5rem; }
  .hero__sub { border-left: none; padding-left: 0; }
  .scroll-down { left: 50%; transform: translateX(-50%); }

  .bg-circle-text {
  top: -28px;     /* 上下の配置位置（お好みで調整） */
  right: -32px;  /* 左右の配置位置（お好みで調整） */
  width: 180px;   /* 背景として大きく表示 */
  height: 180px;
  }

  
  .info-item { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .info-meta { width: 100%; gap: 10px; }
  .info-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .info-item:hover .info-arrow { transform: translate(5px, -50%); }
  .info-title { font-size: 1rem; padding-right: 30px; }
  
  .section { padding: 80px 0; }
  .section-header__jp { font-size: 1.8rem; }
  .magazine-title { font-size: 1.25rem; }
  .bento-box h3, .schedule-tabs-container h3, .costs-container h3, .contact-card h3 { font-size: 1.25rem; }
  .environment-split__content h3 { font-size: 1.4rem; }
  .recruit-message h2 { font-size: 1.8rem; }
  
  /* Achievements Mobile Adjustments */
  .accordion-header { padding: 20px 15px; }
  .accordion-header h3 { font-size: 1.25rem; }
  .tournament { padding: 20px 15px; }
  .tournament.p-0 { padding: 10px 15px; }
  .tournament h4 { font-size: 1.05rem; margin-bottom: 12px; }
  .dense-list li { font-size: 0.8rem; gap: 6px; white-space: nowrap; letter-spacing: -0.02em; }
  .badge { padding: 3px 6px; font-size: 0.7rem; }
  .badge-tag { padding: 2px 4px; font-size: 0.65rem; margin-left: 2px; }
  
  .team-lists { grid-template-columns: 1fr; }
  .facility-tags { flex-direction: column; }
  .tabs { flex-direction: column; }
  
  .footer-top { flex-direction: column; gap: 40px; text-align: center; align-items: center; }
  .footer-links { flex-direction: column; gap: 20px; }
}

/* =========================================================
   Single Post Page Styles
   ========================================================= */

/* Page Header (Eye Catch) */
.page-header {
  position: relative;
  margin-top: 80px; /* Offset for fixed header */
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 29, 45, 0.4) 0%, rgba(18, 29, 45, 0.8) 100%);
}
.page-header__content {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  width: 100%;
}
.page-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 12px;
  margin-left: 12px; /* Offset to perfectly center visually */
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  position: relative;
  display: inline-block;
}
.page-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-secondary); /* Update matching site */
}

/* Post Header Inside Content */
.post-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-bg-alt);
}
.post-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--color-text-light); /* Update color as it's no longer on dark img */
}
.post-category {
  background: var(--color-secondary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-base);
}
.post-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-primary);
}

/* 2-Column Layout */
.layout-2col {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Post Content */
.post-content {
  background: white;
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.post-body p {
  margin-bottom: 25px;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}
.post-body h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.post-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  color: var(--color-text-light);
}
.post-body ul li {
  margin-bottom: 10px;
}
.post-body img {
  border-radius: var(--radius-md);
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}
.callout {
  background: var(--color-bg-alt);
  padding: 25px;
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 30px 0;
  color: var(--color-text-light);
}
.callout--accent {
  border-left-color: var(--color-accent);
  background: rgba(245, 176, 65, 0.05);
}

/* Sidebar / Archive Widget */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-widget {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.widget-title {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-secondary);
  padding-left: 10px;
  line-height: 1.2;
}
.widget-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.widget-list a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--color-text-light);
}
.widget-list a:hover {
  color: var(--color-secondary);
}
.widget-date {
  font-size: 0.8rem;
  font-family: var(--font-en);
  color: var(--color-silver);
}
.widget-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Archive list specific */
.archive-list a {
  flex-direction: row;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
}
.archive-list a::before {
  content: "\f0da"; /* fa-caret-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--color-secondary);
  margin-right: 8px;
}
.archive-list li:last-child a {
  border-bottom: none;
}

/* Responsive constraints for Single Post */
@media (max-width: 1024px) {
  .layout-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .page-header {
    height: 300px;
    padding-bottom: 30px;
  }
  .page-header__title {
    font-size: 1.5rem;
  }
  .post-content {
    padding: 30px 20px;
  }
}
