/*
Theme Name: KENSO
Theme URI: 
Author: sbcc
Description: 神奈川県立相模原高等学校 同窓会公式サイト WordPressテーマ
Version: 1.3.28
*/
/* ============================================
   神奈川県立相模原高等学校 同窓会公式サイト
   メインスタイル
   ============================================ */

/* CSS Variables */
:root {
  /* Fonts */
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --font-sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;

  /* Background Colors */
  --color-bg-base: #FAF7F2;
  --color-bg-header: rgba(250, 247, 242, 0.94);
  --color-bg-header-solid: #FFFCF7;
  --color-bg-section: #FAF7F2;
  --color-bg-section-soft: #F2E8D5;
  --color-bg-card: #FFFCF7;
  --color-bg-footer: #F2E8D5;

  /* Text & Brand Colors */
  --color-navy: #0F2A44;
  --color-navy-deep: #0a1f33;
  --color-navy-soft: #1E3D32;
  --color-gold: #C99A47;
  --color-gold-light: #d9b272;
  --color-green-dark: #2A4A36;
  --color-text-base: #1a2a3d;
  --color-text-muted: #5a6878;
  --color-border: rgba(15, 42, 68, 0.12);
  --color-border-soft: rgba(15, 42, 68, 0.08);

  /* Breakpoints (for reference) */
  --bp-desktop: 1200px;
  --bp-laptop: 1024px;
  --bp-tablet: 768px;
  --bp-mobile: 375px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-base);
  background-color: var(--color-bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

/* Container */
.container {
  width: min(100% - 80px, 1120px);
  margin-inline: auto;
}

.header-container,
.hero-container {
  width: 100%;
  padding-inline: 60px;
}

@media (max-width: 1023px) {
  .container, .header-container, .hero-container {
    width: min(100% - 48px, 100%);
    padding-inline: 24px;
  }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* section */
.header-utility-bar {
  background: var(--color-navy, #0F2A44);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.header-utility-bar .header-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
}

.utility-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.utility-nav-list li {
  display: flex;
  align-items: center;
}

.utility-nav-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 16px;
}

.utility-nav-list a {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.utility-nav-list a:hover {
  opacity: 0.7;
}

/* section */
.header-main-bar {
  background: var(--color-bg-base, #FAF7F2);
  border-bottom: 1px solid #eaeaea;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  width: 100%;
}

.site-name-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.site-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.global-nav {
  margin-left: auto;
}

.global-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav-list li {
  display: flex;
  align-items: center;
}

.global-nav-list a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  transition: color 0.25s ease, border-color 0.25s ease;
  padding: 8px 20px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.global-nav-list a:hover,
.global-nav-list li.current-menu-item a,
.global-nav-list li.current_page_item a {
  color: var(--color-gold, #C99A47);
  border-bottom-color: var(--color-gold, #C99A47);
}

/* Navy CTA menu item */
.global-nav-list li.menu-cta a {
  background: var(--color-navy);
  color: #FFFCF7 !important;
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
}

.global-nav-list li.menu-cta a:hover {
  background: var(--color-navy-soft);
  box-shadow: 0 8px 20px rgba(15, 42, 68, 0.18);
  transform: translateY(-1px);
}

/* section */
.site-header.is-scrolled .header-main-bar {
  box-shadow: 0 4px 16px rgba(15, 42, 68, 0.08);
}

/* section */
.site-header.is-transparent .header-utility-bar {
  background: var(--color-navy, #0F2A44);
}

.site-header.is-transparent .header-main-bar {
  background: transparent;
  border-bottom: none;
}

.site-header.is-transparent .site-name,
.site-header.is-transparent .global-nav-list a {
  color: #FFFFFF;
}

.site-header.is-transparent .global-nav-list a:hover,
.site-header.is-transparent .global-nav-list li.current-menu-item a {
  color: var(--color-gold-light, #d9b272);
  border-bottom-color: var(--color-gold-light, #d9b272);
}

.site-header.is-scrolled .header-utility-bar {
  background: var(--color-navy, #0F2A44);
}

.site-header.is-scrolled .header-main-bar {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eaeaea;
}

.site-header.is-scrolled .site-name,
.site-header.is-scrolled .global-nav-list a {
  color: var(--color-navy);
}

.site-header.is-scrolled .global-nav-list a:hover,
.site-header.is-scrolled .global-nav-list li.current-menu-item a {
  color: var(--color-gold, #C99A47);
  border-bottom-color: var(--color-gold, #C99A47);
}

/* section */
.site-header.is-menu-open .header-main-bar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header.is-menu-open .site-name,
.site-header.is-menu-open .menu-toggle .material-symbols-outlined {
  color: var(--color-navy) !important;
}

/* section */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(15, 42, 68, 0.06);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle .material-symbols-outlined {
  font-size: 28px;
  color: var(--color-navy);
}

.site-header.is-transparent:not(.is-scrolled) .menu-toggle .material-symbols-outlined {
  color: #FFFFFF;
}

.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
  font-size: 24px;
  color: var(--color-navy);
  font-weight: 300;
  line-height: 1;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* section */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-bg-base, #FAF7F2);
  border-top: 1px solid var(--color-border-soft);
  box-shadow: 0 12px 24px rgba(15, 42, 68, 0.08);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--color-border-soft);
}

.mobile-utility-links a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-right: 1px solid var(--color-border-soft);
  transition: background-color 0.2s ease;
}

.mobile-utility-links a:hover {
  background: var(--color-bg-section-soft);
}

.mobile-menu .mobile-nav-list a {
  display: block;
  padding: 16px 24px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border-soft);
  transition: background-color 0.2s ease, border-left-color 0.2s ease;
  border-left: 4px solid transparent;
  text-decoration: none;
}

.mobile-menu .mobile-nav-list a:hover,
.mobile-menu .mobile-nav-list li.current-menu-item a {
  background: var(--color-bg-section-soft);
  border-left-color: var(--color-gold);
}

/* section */
.breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid #f0ebe0;
  padding: 14px 0;
  font-size: 13px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--color-text-muted, #5a6878);
}

.breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #ccc;
  font-size: 12px;
}

.breadcrumb-item a {
  color: var(--color-navy, #0F2A44);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-gold, #C99A47);
}

.breadcrumb-current {
  color: var(--color-text-muted, #5a6878);
  font-weight: 500;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 76vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #f0f0f0; /* Fallback color */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent; /* Hide alt text if broken */
  text-indent: -9999px; /* Extra measure to hide broken image text */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text {
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  padding: 48px 64px;
  max-width: 800px;
  margin-top: 140px;
  margin-bottom: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #000000;
  padding: 4px 12px;
  margin-bottom: 32px;
}

.hero-tag .material-symbols-outlined {
  font-size: 16px;
  margin-right: 6px;
  color: #000000;
}

.hero-tag-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000000;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  color: #000000;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

/* Lead wrapper removed */

.hero-lead {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #333333;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 180px;
}

.hero-actions .btn-primary {
  background: var(--color-gold);
  color: #FFFFFF;
  border: none;
}

.hero-actions .btn-primary:hover {
  background: var(--color-gold-light);
}

.hero-actions .btn-outline {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid var(--color-border);
}

.hero-actions .btn-outline:hover {
  background: #f8f8f8;
  border-color: #999999;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  z-index: 10;
  animation: fadeIn 1s ease 1s both;
}

.hero-scroll-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.8;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #FFFFFF 50%, transparent 50%);
  background-size: 100% 200%;
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}


/* End of hero styles */

/* ============================================
   BUTTONS (general)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  min-width: 200px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--color-navy);
  color: #FFFCF7;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-navy-soft);
  box-shadow: 0 10px 24px rgba(15, 42, 68, 0.16);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid rgba(15, 42, 68, 0.30);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-navy);
  color: #FFFCF7;
  border-color: var(--color-navy);
  box-shadow: 0 8px 20px rgba(15, 42, 68, 0.12);
  transform: translateY(-1px);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  transition: color 0.25s ease;
}

.view-all:hover,
.view-all:focus-visible {
  color: var(--color-gold);
}

.view-all .arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.view-all:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
  padding: 64px 0 56px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 4px;
  padding: 28px 26px 64px;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
  font-family: inherit;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 42, 68, 0.10);
  border-color: rgba(15, 42, 68, 0.14);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.news-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}

.news-tag-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.tag-oshirase { background-color: var(--color-navy); }
.tag-event { background-color: #D67A2A; }
.tag-bokin { background-color: #2A4A36; }

.news-tag-icon .tag-text {
  line-height: 1;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.55;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.news-excerpt {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-text-base);
}

.news-arrow {
  position: absolute;
  bottom: 22px;
  right: 24px;
  transition: transform 0.25s ease;
}

.news-arrow .material-symbols-outlined {
  font-size: 28px;
  color: var(--color-gold);
}

.news-card:hover .news-arrow {
  transform: translateX(3px);
}

/* ============================================
   IMPORTANT INFO SECTION (3 panels)
   ============================================ */
.important-section {
  padding: 8px 0 56px;
}

.important-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.important-main {
  position: relative;
  background: url('image/20260525kenso_top_1.png') no-repeat center center;
  background-size: cover;
  border: 1.5px solid #d9c79a;
  border-radius: 4px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}

.important-main::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 154, 71, 0.25);
  border-radius: 2px;
  pointer-events: none;
}

.important-main-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.important-main-head .material-symbols-outlined {
  font-size: 38px;
  color: var(--color-navy);
}

.important-main-head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
}

.important-main p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text-base);
  margin-bottom: 24px;
}

.important-main .btn {
  align-self: flex-start;
  min-width: 180px;
  padding: 14px 22px;
}

.important-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner-card {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 4px;
  padding: 24px 28px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
  min-height: 96px;
  overflow: hidden;
}

.banner-card-custom, .banner-card-vertical {
  min-height: 160px;
}

.banner-card-custom {
  padding: 24px;
  align-items: flex-end;
}

.banner-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.banner-card-vertical {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-card-icon-large.material-symbols-outlined {
  font-size: 64px;
  margin: 12px 0 0;
  color: var(--color-gold);
}

.banner-card-arrow-abs {
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.banner-card:hover,
.banner-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 42, 68, 0.10);
}

.banner-card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  flex: 1;
}

.banner-card-icon {
  width: 44px;
  height: 44px;
  margin-right: 16px;
  flex-shrink: 0;
}

.banner-card-arrow.material-symbols-outlined {
  font-size: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.banner-card:hover .banner-card-arrow {
  transform: translateX(3px);
}

.banner-card-cream {
  background: url('image/20260525kenso_top_2.png') no-repeat center center;
  background-size: cover;
  border-color: rgba(201, 154, 71, 0.20);
}

.banner-card-green {
  background: url('image/20260525kenso_top_3.png') no-repeat center center;
  background-size: cover;
  border-color: var(--color-green-dark);
}

.banner-card-green .banner-card-title {
  color: #FFFCF7;
}

.banner-card-green .banner-card-arrow {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.banner-card-green .banner-card-icon {
  filter: brightness(0) saturate(100%) invert(75%) sepia(48%) saturate(421%) hue-rotate(2deg) brightness(91%) contrast(89%);
}

.banner-card-pen-icon {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  opacity: 0.7;
}

.banner-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.banner-wide {
  width: 100%;
}

.banner-wide .banner-card-title {
  font-size: 17px;
}

.banner-wide-sub {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
}

.banner-wide-content {
  flex: 1;
}

/* ============================================
   REPORT + ALUMNI SECTION
   ============================================ */
.report-section {
  padding: 32px 0 72px;
}

.report-area {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 40px;
}

.report-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 4px;
  padding: 28px 28px 24px;
  min-width: 0;
}

/* Tabs */
.report-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.report-tab {
  position: relative;
  padding: 14px 4px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: color 0.25s ease;
}

.report-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.report-tab:hover,
.report-tab:focus-visible {
  color: var(--color-gold);
}

.report-tab:hover::after,
.report-tab:focus-visible::after {
  width: 100%;
}

.report-tab.is-active {
  color: var(--color-navy);
  font-weight: 600;
}

.report-tab.is-active::after {
  width: 100%;
}

.report-panel {
  display: none;
  animation: fadeIn 0.25s ease both;
}

.report-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.report-list {
  display: flex;
  flex-direction: column;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-border-soft);
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.report-item:hover {
  background: rgba(201, 154, 71, 0.05);
}

.report-item:hover .report-item-title {
  color: var(--color-gold);
}

.report-item-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  font-feature-settings: "tnum";
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.report-item-title {
  flex: 1;
  font-size: 14.5px;
  color: var(--color-text-base);
  line-height: 1.7;
  transition: color 0.25s ease;
}

.report-item-icon.material-symbols-outlined {
  font-size: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Alumni */
.alumni-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 4px;
  padding: 28px 28px 24px;
}

.alumni-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.alumni-head .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-navy);
}

.alumni-head h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
}

.alumni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.alumni-item {
  display: flex;
  flex-direction: column;
}

.alumni-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--color-border-soft);
  margin-bottom: 8px;
}

.alumni-item-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.55;
  letter-spacing: 0.02em;
  flex: 1;
}


.alumni-secondary-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-base);
  margin-bottom: 4px;
}

.alumni-secondary-date {
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-feature-settings: "tnum";
  margin-bottom: 18px;
}

.alumni-card .btn {
  width: 100%;
  min-width: 0;
  padding: 12px 18px;
  font-size: 13px;
  justify-content: center;
}

.alumni-card .btn .btn-arrow {
  margin-left: auto;
}

/* ============================================
   GOGO + NEWSPAPER SECTION
   ============================================ */
.feature-section {
  padding: 0 0 56px;
}

.feature-block {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 280px;
}

.feature-text {
  padding: 36px 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 18px;
}

.feature-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--color-text-base);
  margin-bottom: 24px;
}

.feature-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-actions .btn {
  min-width: 0;
  padding: 12px 20px;
  font-size: 13px;
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-block:hover .feature-image img {
  transform: scale(1.03);
}

.feature-image-overlay {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #FFFCF7;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-navy, #0F2A44);
  color: #ffffff;
  padding: 48px 0 40px;
  text-align: center;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.8;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* section */
.footer-menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.footer-menu-list li {
  display: flex;
  align-items: center;
}

/* section */
.footer-menu-list li:not(:last-child)::after {
  content: "｜";
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-org-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
  color: #ffffff;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 68, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  animation: overlayFade 0.2s ease both;
}

.modal-overlay.is-open {
  display: flex;
}

@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.news-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--color-bg-card);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(15, 42, 68, 0.22);
  padding: 48px 48px 40px;
  position: relative;
  animation: modalFadeUp 0.28s ease both;
}

@keyframes modalFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-base);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--color-bg-section-soft);
  transform: rotate(90deg);
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-meta .news-date {
  font-size: 14px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border-soft);
}

.modal-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-base);
  margin-bottom: 28px;
}

.modal-body p + p {
  margin-top: 14px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Body lock when modal open */
body.modal-open {
  overflow: hidden;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  /* section */
  .header-utility-bar {
    display: none;
  }

  .global-nav,
  .header-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    height: 60px;
  }

  .site-logo {
    width: 36px;
    height: 36px;
  }

  /* section */
  .breadcrumb {
    padding: 10px 0;
    font-size: 12px;
  }

  .site-name {
    font-size: 15px;
  }

  /* Hero */
  .hero {
    padding: 32px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  /* News grid */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Important */
  .important-grid {
    grid-template-columns: 1fr;
  }

  /* Report area */
  .report-area {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Feature blocks */
  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container, .header-container, .hero-container {
    width: 100%;
    padding-inline: 16px;
  }

  .header-inner {
    height: 60px;
    width: 100%;
  }

  .site-name {
    display: block;
    font-size: clamp(12px, 3.5vw, 15px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-name-mobile {
    display: none;
  }

  .site-header.is-transparent:not(.is-scrolled):not(.is-menu-open) .site-name {
    color: #FFFFFF;
  }

  /* Hero */
  .hero {
    padding: 24px 0 40px;
  }

  .hero-text {
    text-align: center;
    padding: 32px 20px;
    margin-top: 48px;
    margin-bottom: 24px;
  }

  .hero-tag {
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .hero-lead {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-scroll {
    display: none;
  }

  /* Section */
  .section {
    padding: 48px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 28px);
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Important panel */
  .important-main {
    padding: 28px 24px;
  }

  .important-main-head h3 {
    font-size: 19px;
  }

  .important-main-head img {
    width: 30px;
    height: 30px;
  }

  /* Banner cards */
  .banner-double {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .banner-card {
    padding: 20px 22px;
  }

  .banner-card-custom, .banner-card-vertical {
    min-height: 120px;
  }

  .banner-card-title {
    font-size: 16px;
  }

  /* Report tabs - allow horizontal scroll */
  .report-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    padding-bottom: 8px;
  }
  
  .report-tabs::-webkit-scrollbar {
    display: none;
  }
  .report-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .report-item {
    gap: 16px;
    padding: 16px 4px;
  }

  .report-item-date {
    font-size: 12px;
  }

  .report-item-title {
    font-size: 13.5px;
  }

  /* Alumni */
  .alumni-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .alumni-card {
    padding: 24px 20px;
  }

  /* Feature */
  .feature-text {
    padding: 28px 24px;
  }

  .feature-actions {
    flex-direction: column;
    gap: 10px;
  }

  .feature-actions .btn {
    width: 100%;
  }

  .feature-image-overlay {
    font-size: 18px;
    left: 18px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  /* Modal */
  .modal-overlay {
    padding: 16px;
  }

  .news-modal {
    padding: 36px 24px 28px;
    border-radius: 8px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .hero-title {
    font-size: 28px;
  }

  .important-main {
    padding: 24px 18px;
  }

  .feature-text {
    padding: 24px 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   SINGLE POST (single.php)
   ============================================ */
.single-post {
  background-color: var(--color-bg-base);
  padding-bottom: 100px;
}

.post-header {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.post-date {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-feature-settings: "tnum";
}

.post-category {
  font-size: 11px;
  background: var(--color-gold);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.post-title {
  font-size: clamp(32px, 4.5vw, 44px);
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 0;
}

.post-thumbnail {
  max-width: 1000px;
  margin: 0 auto 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 42, 68, 0.06);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto 100px;
  font-size: 17px;
  line-height: 2.1;
  color: var(--color-text-base);
}

.post-content p {
  margin-bottom: 2.2em;
}

.post-content h2 {
  font-size: 26px;
  color: var(--color-navy);
  border-left: 4px solid var(--color-gold);
  padding-left: 24px;
  margin: 2.5em 0 1.2em;
  line-height: 1.4;
}

.post-content h3 {
  font-size: 21px;
  color: var(--color-navy);
  margin: 2em 0 1em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.post-content img {
  border-radius: 4px;
  margin: 2em 0;
}

.post-footer {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border-soft);
  padding-top: 60px;
}

.post-navigation {
  margin-bottom: 60px;
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.post-navigation a {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 15px;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-navigation a:hover {
  color: var(--color-gold);
}

.post-navigation .nav-arrow {
  font-size: 18px;
}

.back-to-list {
  text-align: center;
}

.back-to-list .btn {
  min-width: 240px;
}

/* Responsive for Single Post */
@media (max-width: 767px) {
  .post-header {
    margin-bottom: 40px;
  }
  
  .post-title {
    font-size: 28px;
  }
  
  .post-content {
    font-size: 16px;
    line-height: 1.9;
  }

  .post-navigation .nav-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* ============================================
   PAGE TEMPLATE (page.php)
   ============================================ */

/* section */
.page-hero {
  position: relative;
  padding: 120px 0 50px;
  background: linear-gradient(135deg, #FAF7F2 0%, #F2EBDB 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('image/hero.png') no-repeat center / cover;
  opacity: 0.15;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 252, 247, 0.15), rgba(242, 235, 219, 0.40));
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-title {
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 600;
  color: var(--color-navy, #001f3f);
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin: 0 0 18px;
}

.page-hero-underline {
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--color-gold, #c5a059);
}

/* section */
.page-main {
  background-color: var(--color-bg-base);
  padding-bottom: 80px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 60px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-base);
}

.page-content p {
  margin-bottom: 1.8em;
}

.page-content h2 {
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  font-size: 24px;
  color: var(--color-navy, #001f3f);
  padding: 15px 0 15px 20px;
  border-left: 5px solid var(--color-navy, #001f3f);
  border-bottom: 1px solid #eee;
  margin: 60px 0 30px;
}

.page-content h3 {
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  font-size: 20px;
  color: var(--color-navy);
  margin: 2em 0 1em;
  font-weight: 700;
}

.page-content h3::before {
  content: '◆';
  color: var(--color-gold, #c5a059);
  margin-right: 10px;
  font-size: 18px;
  vertical-align: text-bottom;
}

/* section */
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

/* section */
.page-content a {
  color: var(--color-navy, #001f3f);
  text-decoration: underline;
  text-decoration-color: rgba(0, 31, 63, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s;
}

.page-content a:hover {
  color: var(--color-gold, #c5a059);
  text-decoration-color: var(--color-gold, #c5a059);
}

/* section */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.page-content th,
.page-content td {
  padding: 16px;
  border: 1px solid var(--color-border-soft);
  text-align: left;
}

.page-content th {
  background-color: var(--color-bg-section-soft);
  font-weight: 600;
}

/* section */
.page-content ul, .page-content ol {
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-content li {
  margin-bottom: 10px;
}

/* section */
.page-content blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background-color: #f9f9f9;
  border-left: 4px solid var(--color-gold, #c5a059);
  font-style: italic;
  color: #666;
}

/* section */
@media (max-width: 1023px) {
  .page-hero {
    height: 240px;
  }
  .page-hero-title {
    font-size: 44px;
  }
}

/* section */
@media (max-width: 767px) {
  .page-hero {
    height: 180px;
    margin-bottom: 0;
  }
  .page-hero-title {
    font-size: 32px;
  }
  .page-hero-underline {
    width: 40px;
  }
  .page-content {
    padding-top: 40px;
  }
}

/* ============================================
   HERO EDITABLE CONTENT (Top Page Template)
   ============================================ */
.hero-editable-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.hero-editable-content p {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-base);
  margin-bottom: 40px;
}

/* ============================================
   HISTORY TIMELINE (Overview Page)
   ============================================ */
.history-era-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 64px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

/* section */
.history-era-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
}
.history-era-title::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border: 1px solid #fff;
}

.history-timeline {
  position: relative;
  margin-top: 32px;
  padding-left: 48px;
  /* section */
  border-left: 1px solid var(--color-gold);
}

.history-timeline-item {
  position: relative;
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  align-items: center;
}

/* section */
.history-timeline-item::before {
  content: "";
  position: absolute;
  left: -60.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  /* section */
  background: radial-gradient(circle, #a38246 35%, transparent 40%), #fbf5e6;
  border: 3px solid #e0cda7;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(163, 130, 70, 0.4), inset 0 2px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.history-timeline-year {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-year-wrap {
  display: flex;
  flex-direction: column;
}

/* section */
.history-year-seireki {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

/* section */
.history-year-wareki {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

/* section */
.history-year-arrow {
  width: 0; 
  height: 0; 
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #bfa373;
  margin-left: 16px;
}

/* section */
.history-timeline-item-text {
  flex-grow: 1;
  background-color: #faf7f2;
  padding: 24px 32px;
  border-radius: 8px;
  border: 1px solid #eaddc4;
  color: var(--color-text-base);
  margin: 0;
  line-height: 1.8;
  box-shadow: 0 4px 12px rgba(163, 130, 70, 0.05);
}

@media (max-width: 768px) {
  .history-timeline {
    padding-left: 32px;
  }
  .history-timeline-item::before {
    left: -45px;
    top: 24px;
    transform: none;
  }
  .history-timeline-item {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .history-timeline-year {
    width: 100%;
    justify-content: flex-start;
  }
  .history-year-arrow {
    margin-left: auto;
    margin-right: 16px;
  }
}

/* ============================================
   BYLAWS ACCORDION STYLES (Overview Page)
   ============================================ */
.accordion-panel {
  padding: 32px 40px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-base);
}

.accordion-panel p {
  margin-bottom: 24px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.accordion-panel p:last-child {
  margin-bottom: 0;
}

/* section */
.accordion-panel strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: 16px;
  margin-bottom: 8px;
  margin-left: -1.5em;
  text-indent: 0;
  border-left: 3px solid var(--color-gold);
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(201, 154, 71, 0.1) 0%, transparent 100%);
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  .accordion-panel {
    padding: 24px 20px;
    font-size: 14px;
  }
}

/* ============================================
   PAGE OVERVIEW - SCROLL OFFSET & NAV ICONS
   ============================================ */
/* section */
#greeting,
#officers,
#history,
#bylaws {
  scroll-margin-top: 160px;
}

/* section */
.overview-side-nav-item .material-symbols-outlined {
  font-size: 24px;
  color: var(--color-navy);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.overview-side-nav-item.is-active .material-symbols-outlined {
  opacity: 1;
  color: #ffffff;
}

.overview-side-nav-item:hover:not(.is-active) .material-symbols-outlined {
  opacity: 1;
  color: var(--color-navy);
}

.overview-side-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* section */
.newsletter-single {
    padding: 2rem 0 4rem;
}

/* section */
.newsletter-article {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
}

.newsletter-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 1.5rem;
}

.newsletter-issue-badge {
    display: inline-block;
    background: #1a2744;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.newsletter-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    margin: 0.5rem 0;
}

.newsletter-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #777777;
    margin: 0;
}

.newsletter-pdf-area {
    margin: 2rem 0;
}

.newsletter-pdf-viewer {
    width: 100%;
}

.newsletter-pdf-unavailable {
    background: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #777777;
    font-family: 'Noto Sans JP', sans-serif;
}

/* section */
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    color: #777777;
}

.breadcrumb li + li::before {
    content: '›';
    margin-right: 0.5rem;
}

.breadcrumb a {
    color: #777777;
    text-decoration: underline;
}

/* section */
.newsletter-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #DDDDDD;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
}

.newsletter-pagination a {
    color: #1a2744;
    text-decoration: none;
}

.newsletter-pagination a:hover {
    text-decoration: underline;
}

/* =============================================
   同窓会新聞バックナンバー 個別ページ調整
   ============================================= */

/* section */
.newsletter_archive-template-default .breadcrumb ol {
    margin-bottom: 0.25rem;
}

/* section */
.newsletter_archive-template-default .newsletter-single {
    padding-top: 0.5rem !important;
}

/* section */
.newsletter_archive-template-default .newsletter-header {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

/* 号数バッジ */
.newsletter_archive-template-default .newsletter-issue-badge {
    display: inline-block;
    background: #1a2744;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* section */
.newsletter_archive-template-default .newsletter-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    margin: 0.25rem 0 0.25rem;
}

/* 発行日 */
.newsletter_archive-template-default .newsletter-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #777777;
    margin: 0.25rem 0 1.5rem;
}

/* PDF表示エリア */
.newsletter_archive-template-default .newsletter-pdf-area {
    margin-top: 0;
}

/* section */
.newsletter_archive-template-default .pdfp_wrapper p {
    margin-top: 0;
}

/* =============================================
   同窓会新聞バックナンバー 一覧ページ
   ============================================= */

.nl-archive-main {
    padding: 2.5rem 0 4rem;
}

/* section */
.nl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nl-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* section */
.nl-card {
    display: flex;
    flex-direction: column;
    border: 0.5px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.nl-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* 号数エリア */
.nl-card-badge-area {
    background-image: url('https://kenso-dosokai.net/a/wp-content/uploads/kenso-newspaper-bg.png');
    background-size: cover;
    background-position: center;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.nl-card-issue-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    letter-spacing: 0.05em;
}

/* カード情報エリア */
.nl-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nl-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #1a2744;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.nl-card-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    color: #777777;
    margin: 0;
}

/* section */
.nl-empty {
    text-align: center;
    color: #777777;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 3rem 0;
}

/* =============================================
   同窓会新聞バックナンバー 一覧ページ：ヒーローセクション
   ============================================= */
.nl-archive-hero {
    position: relative;
    padding: 120px 0 50px;
    background: linear-gradient(135deg, #FAF7F2 0%, #F2EBDB 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.nl-archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('image/hero.png') no-repeat center / cover;
    opacity: 0.15;
    z-index: 0;
}

.nl-archive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 252, 247, 0.15), rgba(242, 235, 219, 0.40));
    z-index: 1;
}

.nl-archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.nl-archive-hero-title {
    font-family: var(--font-serif, 'Noto Serif JP', serif);
    font-size: clamp(48px, 5.2vw, 64px);
    font-weight: 600;
    color: var(--color-navy, #1a2744);
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 18px;
}

.nl-archive-hero-underline {
    display: block;
    width: 60px;
    height: 2px;
    margin: 0 auto 16px;
    background: var(--color-gold, #C99A47);
}

.nl-archive-hero-sub {
    font-family: var(--font-sans, 'Noto Sans JP', sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy, #1a2744);
    letter-spacing: 0.12em;
}

/* =============================================
   同窓会新聞：本文エリア
   ============================================= */
.newsletter-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #1a2a3d;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #DDDDDD;
}

.newsletter-body h2,
.newsletter-body .article-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a2744;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #C99A47;
}

.newsletter-body h3,
.newsletter-body .section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a2744;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-body h4,
.newsletter-body .topic-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a2744;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.newsletter-body p {
    margin-bottom: 1rem;
}

.newsletter-body ul,
.newsletter-body .topic-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.newsletter-body .topic-item {
    margin-bottom: 1.5rem;
}

/* section */
.newsletter-pdf-viewer .pdfp_wrapper iframe {
    height: 1684px !important;
}

@media (max-width: 1024px) {
    .newsletter-pdf-viewer .pdfp_wrapper iframe {
        height: 1400px !important;
        height: 1400px !important;
    }
}

@media (max-width: 768px) {
    .newsletter-pdf-viewer .pdfp_wrapper iframe {
        height: 800px !important; /* モバイル：400px × 2 */
    }
}

/* =============================================
   GOGO！県相 個別記事ページ
   ============================================= */

.gogo-single {
    padding: 0;
}

/* ---------------------------------------------
   シアターエリア（ダークモード）
   --------------------------------------------- */
.gogo-theater-area {
    background: #1a2744;
    padding: 0.5rem 0 4rem;
    color: #ffffff;
}

/* section */
.breadcrumb-dark {
    margin-bottom: 0.75rem;
}
.breadcrumb-dark a {
    color: #a0aec0;
}
.breadcrumb-dark a:hover {
    color: #ffffff;
}
.breadcrumb-dark li::after {
    color: #a0aec0;
}
.breadcrumb-dark li[aria-current="page"] {
    color: #ffffff;
}

/* section */
.gogo-header-dark {
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
}

/* section */
.gogo-title-dark {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    margin: 1rem 0 0.5rem;
}

/* section */
.gogo-date-dark {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #cccccc;
    margin: 0;
}

/* バッジエリア */
.gogo-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.gogo-badge-season,
.gogo-badge-episode,
.gogo-badge-announcement {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
}

.gogo-badge-season-dark {
    background: #ffffff;
    color: #1a2744;
}

.gogo-badge-episode {
    background: #C99A47;
    color: #FFFFFF;
}

.gogo-badge-announcement {
    background: #6c757d;
    color: #FFFFFF;
}

/* section */
.gogo-youtube-dark {
    margin: 0 auto;
    max-width: 900px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.gogo-youtube-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.gogo-youtube-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* ---------------------------------------------
   コンテンツエリア（通常）
   --------------------------------------------- */
.gogo-content-area {
    padding: 3rem 0 4rem;
}

/* section */
.gogo-article {
    max-width: 900px;
    margin: 0 auto;
}

/* section */
.gogo-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a2744;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #C99A47;
}

/* section */
.gogo-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #F8F6F0;
    border-radius: 8px;
}

.gogo-summary-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}

/* section */
.gogo-past {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #F0F4F8;
    border-radius: 8px;
}

.gogo-past-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
}

/* section */
.gogo-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #DDDDDD;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    gap: 1rem;
}

.gogo-pagination a {
    color: #1a2744;
    text-decoration: none;
    line-height: 1.5;
}

.gogo-pagination .nav-next {
    text-align: right;
}

.gogo-pagination a:hover {
    text-decoration: underline;
}

/* =============================================
   GOGO！県相 シーズン別カード一覧
   ============================================= */

/* =============================================
   GOGO！県相 一覧ページ：ヒーロー（新聞一覧と同パターン）
   ============================================= */
.gogo-archive-hero {
    position: relative;
    padding: 120px 0 50px;
    background: linear-gradient(135deg, #FAF7F2 0%, #F2EBDB 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.gogo-archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('image/hero.png') no-repeat center / cover;
    opacity: 0.15;
    z-index: 0;
}

.gogo-archive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 252, 247, 0.15), rgba(242, 235, 219, 0.40));
    z-index: 1;
}

.gogo-archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.gogo-archive-hero-title {
    font-family: var(--font-serif, 'Noto Serif JP', serif);
    font-size: clamp(48px, 5.2vw, 64px);
    font-weight: 600;
    color: var(--color-navy, #1a2744);
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 18px;
}

.gogo-archive-hero-underline {
    display: block;
    width: 60px;
    height: 2px;
    margin: 0 auto 16px;
    background: var(--color-gold, #C99A47);
}

.gogo-archive-hero-sub {
    font-family: var(--font-sans, 'Noto Sans JP', sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy, #1a2744);
    letter-spacing: 0.12em;
}

@media (max-width: 1024px) {
    .gogo-archive-hero {
        padding: 100px 0 40px;
    }
    .gogo-archive-hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .gogo-archive-hero {
        padding: 80px 0 32px;
    }
    .gogo-archive-hero-title {
        font-size: 32px;
    }
    .gogo-archive-hero-underline {
        width: 40px;
    }
}

.gogo-archive-main {
    padding: 2.5rem 0 4rem;
}

.gogo-season-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gogo-season-section {
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
}

.gogo-season-header {
    background: #1a2744;
    padding: 1rem 1.5rem;
}

.gogo-season-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gogo-on-air-badge {
    display: inline-block;
    background: #e53935;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    animation: gogo-blink 2s ease-in-out infinite;
}

@keyframes gogo-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* カードグリッド */
.gogo-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: #FAFAFA;
}

@media (min-width: 640px) {
    .gogo-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gogo-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* カード */
.gogo-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 0.5px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.gogo-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* サムネイルエリア */
.gogo-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a2744;
}

.gogo-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gogo-card:hover .gogo-card-thumb img {
    transform: scale(1.03);
}

/* 再生ボタンオーバーレイ */
.gogo-card-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255,0,0,0.85);
    color: #FFFFFF;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s ease;
}

.gogo-card:hover .gogo-card-play-overlay {
    background: rgba(255,0,0,1);
}

/* サムネイルなし（案内・YouTube未設定） */
.gogo-card-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2744;
}

.gogo-card.is-announcement .gogo-card-no-thumb {
    background: #3a5278;
}

.gogo-card-no-thumb span {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.3;
}

/* 情報エリア */
.gogo-card-content {
    padding: 0.875rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.gogo-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gogo-ep-badge {
    display: inline-block;
    background: #1a2744;
    color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
}

.gogo-ep-badge.is-announcement {
    background: #6c757d;
}

.gogo-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1a2744;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gogo-card-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: #999999;
    margin: 0;
}

.gogo-empty {
    text-align: center;
    color: #777777;
    padding: 3rem 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ============================================
   RECRUITMENT BLOCK CUSTOM STYLES
   ============================================ */
.feature-block-recruit {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
}

.feature-block-recruit .feature-image {
  min-height: auto;
  aspect-ratio: 1 / 1;
  margin: 32px 32px 32px 0;
  border-radius: 4px;
  overflow: hidden;
}

.feature-block-recruit .feature-desc-large {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-navy);
}

@media (max-width: 1023px) {
  .feature-block-recruit {
    grid-template-columns: 1fr;
  }
  .feature-block-recruit .feature-image {
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
  }
  .feature-block-recruit .feature-desc-large {
    font-size: 14px;
  }
}

/* ============================================
   ARCHIVE / POST GRID
   ============================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card, #FFFCF7);
  border: 1px solid var(--color-border-soft, rgba(15, 42, 68, 0.08));
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 42, 68, 0.08);
}

.post-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f0ebe0;
}

.post-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.post-card-date {
  color: var(--color-text-muted, #5a6878);
  font-weight: 500;
}

.post-card-tag {
  background: var(--color-bg-section-soft, #F2E8D5);
  color: var(--color-navy, #0F2A44);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.post-card-title {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-navy, #0F2A44);
  font-family: var(--font-serif);
  font-weight: 600;
}

.post-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted, #5a6878);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

@media (max-width: 1023px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination / Load more */
.load-more-wrapper {
  text-align: center;
  margin-top: 56px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: #ffffff;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-load-more:hover {
  background: var(--color-navy);
  color: #ffffff;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   お問い合わせフォーム カスタムスタイル
   ============================================ */
.form-group-section {
  margin-bottom: 40px;
  background: #FFFCF7;
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid rgba(15, 42, 68, 0.08);
}

.form-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
}

.form-item {
  margin-bottom: 24px;
}

.form-item:last-child {
  margin-bottom: 0;
}

.form-item label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-size: 15px;
}

.required-badge {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-number {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  transition: border-color 0.3s;
}

.wpcf7-form-control:focus {
  border-color: var(--color-gold);
  outline: none;
}

.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

.privacy-acceptance-wrap .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-acceptance-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-notice {
  background: #f8f9fa;
  padding: 20px;
  border-left: 4px solid var(--color-navy);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #555;
}

.form-submit {
  text-align: center;
}

.form-submit .wpcf7-submit {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  font-size: 16px;
  padding: 16px 24px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .form-group-section {
    padding: 24px 16px;
  }
}

/* ============================================
   お問い合わせ・住所変更フォーム 追加スタイル
   ============================================ */
.optional-badge {
  display: inline-block;
  background: #757575;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-item-note {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ラジオボタンの調整 */
.wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  margin-bottom: 8px;
}

.wpcf7-radio input[type="radio"] {
  margin-right: 6px;
  transform: scale(1.2);
}

.h-adr {
  display: block;
}

/* =========================================
   Contact Form 7 エラー表示デザイン
========================================= */

/* フォーム送信後の共通メッセージ */
.wpcf7 form .wpcf7-response-output {
  position: relative;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 24px 28px 24px 96px;
  border: 1px solid #d93636;
  border-left: 6px solid #c62828;
  border-radius: 6px;
  background: #fff3f3;
  color: #2f2f2f;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* エラー時のみ */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #d93636;
  border-left-color: #c62828;
  background: #fff3f3;
}

/* 左側の警告アイコン */
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.payment-required .wpcf7-response-output::before {
  content: "!";
  position: absolute;
  left: 30px;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 3px solid #c62828;
  border-radius: 50%;
  color: #c62828;
  background: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  box-sizing: border-box;
}

/* エラーメッセージの冒頭を見出し風にする */
.wpcf7 form.invalid .wpcf7-response-output::after,
.wpcf7 form.unaccepted .wpcf7-response-output::after,
.wpcf7 form.payment-required .wpcf7-response-output::after {
  content: "入力内容をご確認ください";
  display: block;
  margin-bottom: 6px;
  color: #b71c1c;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Contact Form 7が出力する本文 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  font-weight: 400;
}

/* 入力エラー項目の赤枠 */
.wpcf7-not-valid {
  border-color: #d93636 !important;
  background-color: #fffafa;
}

/* 各項目下のエラー文 */
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #c62828;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

/* チェックボックス・ラジオ周りのエラー表示 */
.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  margin-top: 6px;
}

/* スマートフォン対応 */
@media screen and (max-width: 767px) {
  .wpcf7 form .wpcf7-response-output {
    margin-top: 24px;
    padding: 22px 18px 22px 72px;
    font-size: 14px;
    line-height: 1.7;
  }

  .wpcf7 form.invalid .wpcf7-response-output::before,
  .wpcf7 form.unaccepted .wpcf7-response-output::before,
  .wpcf7 form.payment-required .wpcf7-response-output::before {
    left: 20px;
    width: 36px;
    height: 36px;
    font-size: 23px;
    line-height: 30px;
  }

  .wpcf7 form.invalid .wpcf7-response-output::after,
  .wpcf7 form.unaccepted .wpcf7-response-output::after,
  .wpcf7 form.payment-required .wpcf7-response-output::after {
    font-size: 16px;
  }
}

/* =========================================
   エラーアラート (JS連動) & 成功時背景色
========================================= */
.wpcf7-response-output.kenso-form-alert {
  display: flex !important;
  align-items: flex-start !important;
  gap: 22px !important;
  padding: 26px 30px !important;
}

.wpcf7-response-output.kenso-form-alert::before,
.wpcf7-response-output.kenso-form-alert::after {
  display: none !important;
}

.kenso-form-alert__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 3px solid #c62828;
  border-radius: 50%;
  color: #c62828;
  background: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  box-sizing: border-box;
}

.kenso-form-alert__body {
  flex: 1 1 auto;
  min-width: 0;
}

.kenso-form-alert__title {
  margin: 0 0 8px;
  color: #b71c1c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.kenso-form-alert__text {
  margin: 0;
  color: #2f2f2f;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 767px) {
  .wpcf7-response-output.kenso-form-alert {
    gap: 16px !important;
    padding: 22px 18px !important;
  }
  .kenso-form-alert__icon {
    width: 40px;
    height: 40px;
    font-size: 25px;
    line-height: 34px;
  }
  .kenso-form-alert__title {
    font-size: 16px;
  }
  .kenso-form-alert__text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* 送信完了メッセージ */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #4ade80 !important;
  border-left-color: #16a34a !important;
  background-color: #f0fdf4 !important;
  color: #166534 !important;
}

/* カレンダーアイコンの拡大 */
input[type="date"]::-webkit-calendar-picker-indicator {
    width: 32px;
    height: 32px;
    padding: 4px;
    cursor: pointer;
}

/* ============================================
   Back to Top Button
   ============================================ */
.kenso-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--color-navy, #0F2A44);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-sans);
  line-height: 1.2;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .2s ease, background-color .2s ease;
}
.kenso-back-to-top.is-visible {
  opacity: 0.5;
  visibility: visible;
}
.kenso-back-to-top.is-visible:hover,
.kenso-back-to-top.is-visible:focus-visible {
  opacity: 1;
  background: var(--color-gold, #C99A47);
  transform: translateY(-2px);
}
.kenso-back-to-top__arrow { font-size: 20px; font-weight: bold; }
.kenso-back-to-top__label { white-space: nowrap; font-weight: 500; }

@media (max-width: 600px) {
  .kenso-back-to-top { right: 14px; bottom: 14px; width: 56px; height: 56px; font-size: 10px; }
}

/* ============================================
   お問い合わせフォーム（テーブル型）
   ============================================ */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  border-top: 1px solid #e5e5e5;
  background-color: #fff;
}

.contact-table th,
.contact-table td {
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.contact-table th {
  width: 35%;
  background-color: #fcf9f5;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
}

.contact-table td {
  width: 65%;
}

.contact-table .required-badge {
  display: inline-block;
  background-color: #f06a6a;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 0;
  margin-right: 12px;
  vertical-align: middle;
}

.contact-table .optional-badge {
  display: inline-block;
  background-color: #888;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 0;
  margin-right: 12px;
  vertical-align: middle;
}

.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="url"],
.contact-table select,
.contact-table textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.2s;
  background-color: #fff;
}

.contact-table input:focus,
.contact-table select:focus,
.contact-table textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

.contact-table textarea {
  min-height: 120px;
  resize: vertical;
}

/* 重複しているウィジェットのタイトルを非表示 */
#pl-3840 .widget-title { 
  display: none !important; 
}

@media (max-width: 767px) {
  .contact-table th,
  .contact-table td {
    display: block;
    width: 100%;
  }
  .contact-table th {
    border-bottom: none;
    padding-bottom: 8px;
  }
  .contact-table td {
    padding-top: 0;
  }
}
