/* ==========================================================================
   FC FIDA & DEPORTARE - JOINT WEBSITES STYLING SYSTEM (PURE MODERN CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* FC FIDA Brand Colors (Burgundy & Champagne Gold) */
  --fida-crimson: #7A0C0D;
  --fida-crimson-rgb: 122, 12, 13;
  --fida-crimson-dark: #4A0506;
  --fida-gold: #D4AF37;
  --fida-gold-rgb: 212, 175, 55;
  --fida-gold-light: #F6ECD2;
  --fida-gold-dark: #AA841C;

  /* DEPORTARE Brand Colors (Slate Navy & Emerald Green) */
  --deportare-navy: #10171E;
  --deportare-navy-rgb: 16, 23, 30;
  --deportare-navy-light: #1A252F;
  --deportare-emerald: #2ECC71;
  --deportare-emerald-rgb: 46, 204, 113;
  --deportare-emerald-dark: #27AE60;

  /* Neutrals & Base Colors */
  --bg-dark: #0F0303;          /* 深い暗色（FIDAベース） */
  --bg-light: #FDFBF8;         /* 暖かみのあるオフホワイト */
  --text-dark: #2A2421;        /* 柔らかい墨色 */
  --text-light: #FFFFFF;
  --text-muted: #8E847F;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Glassmorphism & UI Tokens */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-dark: rgba(16, 23, 30, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Helper classes for mobile responsive layout */
.mobile-br {
  display: none;
}
.mobile-hide {
  display: inline;
}
.keep-br {
  display: inline !important;
}

/* Typography Scale using clamp() for responsiveness */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

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

.relative-z {
  position: relative;
  z-index: 2;
}

.font-italic {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   3. REUSABLE BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  letter-spacing: 0.05em;
  text-align: center;
}

.btn-full {
  display: flex;
  width: 100%;
}

.btn-gold {
  background-color: var(--fida-gold);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(var(--fida-gold-rgb), 0.3);
}
.btn-gold:hover {
  background-color: var(--fida-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--fida-gold-rgb), 0.4);
}

.btn-emerald {
  background-color: var(--deportare-emerald);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(var(--deportare-emerald-rgb), 0.3);
}
.btn-emerald:hover {
  background-color: var(--deportare-emerald-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--deportare-emerald-rgb), 0.4);
}

.btn-outline {
  background-color: transparent;
}
.btn-gold.btn-outline {
  border-color: var(--fida-gold);
  color: var(--fida-gold);
}
.btn-gold.btn-outline:hover {
  background-color: var(--fida-gold);
  color: var(--text-light);
}

.btn-emerald.btn-outline {
  border-color: var(--deportare-emerald);
  color: var(--deportare-emerald);
}
.btn-emerald.btn-outline:hover {
  background-color: var(--deportare-emerald);
  color: var(--text-light);
}

.btn-primary {
  background-color: var(--deportare-navy);
  color: var(--text-light);
}
.btn-primary:hover {
  background-color: #000;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. SITE HEADER (GLASSMORPHISM & SCROLL ACTIVE)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(253, 251, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  height: 80px;
}

.header-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logos in Header */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.logo-separator {
  color: var(--text-muted);
  opacity: 0.3;
  font-size: 1.2rem;
}

.fida-text {
  color: var(--fida-crimson);
}
.deportare-text {
  color: var(--deportare-navy);
}

/* Desktop Navigation Items */
.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--deportare-navy);
  transition: var(--transition-fast);
}
.nav-item:hover::after {
  width: 100%;
}

.nav-item.fida-nav:hover {
  color: var(--fida-crimson);
}
.nav-item.fida-nav:hover::after {
  background-color: var(--fida-crimson);
}

.nav-item.deportare-nav:hover {
  color: var(--deportare-emerald-dark);
}
.nav-item.deportare-nav:hover::after {
  background-color: var(--deportare-emerald-dark);
}

.contact-btn {
  background-color: var(--deportare-navy);
  color: var(--text-light) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-size: 0.8rem;
}
.contact-btn:hover {
  background-color: var(--fida-crimson);
  transform: translateY(-2px);
}
.contact-btn::after {
  display: none;
}

.portal-back-btn {
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
}
.portal-back-btn::after {
  display: none !important;
}
.page-fida .portal-back-btn {
  border-color: var(--fida-crimson);
  color: var(--fida-crimson) !important;
}
.page-fida .portal-back-btn:hover {
  background-color: var(--fida-crimson);
  color: var(--text-light) !important;
}
.page-deportare .portal-back-btn {
  border-color: var(--deportare-navy);
  color: var(--deportare-navy) !important;
}
.page-deportare .portal-back-btn:hover {
  background-color: var(--deportare-navy);
  color: var(--text-light) !important;
}

/* Hamburger button */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  padding: 5px;
  z-index: 101;
}

.hamburger-menu .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* Hamburger transition when active */
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-light);
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  z-index: 99;
  padding: 120px 2.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-item {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
}

.mobile-contact-btn {
  background-color: var(--fida-crimson);
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (DYNAMICS SPLIT GATES)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 10% 20%, rgba(var(--fida-crimson-rgb), 0.15) 0%, rgba(var(--deportare-navy-rgb), 0.05) 90%), var(--bg-light);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 細かなグリッドパターンをCSSで表現（プレミアム感の創出） */
  background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background-color: rgba(var(--fida-crimson-rgb), 0.06);
  color: var(--fida-crimson);
  border: 1px solid rgba(var(--fida-crimson-rgb), 0.15);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.hero-title .highlight {
  position: relative;
  color: var(--fida-crimson);
  z-index: 1;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: rgba(var(--fida-gold-rgb), 0.3);
  z-index: -1;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-dark);
  max-width: 700px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* 2ゲートレイアウト */
.hero-gates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
}

.gate-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  transition: var(--transition-smooth);
}

.gate-fida::before {
  background-color: var(--fida-crimson);
}
.gate-deportare::before {
  background-color: var(--deportare-emerald);
}

.gate-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  padding: 10px;
}

.gate-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gate-tag {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.gate-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.gate-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.gate-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

/* Hover effects for Hero Gates */
.gate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gate-fida:hover {
  background-color: rgba(var(--fida-crimson-rgb), 0.02);
  border-color: rgba(var(--fida-crimson-rgb), 0.3);
}
.gate-fida:hover .gate-icon-wrapper {
  box-shadow: 0 8px 20px rgba(var(--fida-crimson-rgb), 0.15);
  transform: scale(1.05);
}
.gate-fida:hover .gate-arrow {
  color: var(--fida-crimson);
}

.gate-deportare:hover {
  background-color: rgba(var(--deportare-emerald-rgb), 0.02);
  border-color: rgba(var(--deportare-emerald-rgb), 0.3);
}
.gate-deportare:hover .gate-icon-wrapper {
  box-shadow: 0 8px 20px rgba(var(--deportare-emerald-rgb), 0.15);
  transform: scale(1.05);
}
.gate-deportare:hover .gate-arrow {
  color: var(--deportare-emerald-dark);
}

/* --------------------------------------------------------------------------
   6. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sub-heading {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.heading-line {
  width: 50px;
  height: 3px;
  background-color: var(--deportare-navy);
  margin-top: 1rem;
}

.gold-bg {
  background-color: var(--fida-gold);
}
.emerald-bg {
  background-color: var(--deportare-emerald);
}
.gold-text {
  color: var(--fida-gold) !important;
}
.emerald-text {
  color: var(--deportare-emerald) !important;
}
.white-text {
  color: var(--text-light);
}

.section-logo-img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 700px;
  margin: 1.5rem auto 0 auto;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION (REPRESENTATIVE MESSAGE)
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 3.5rem;
  align-items: center;
}

.profile-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
}

.profile-avatar {
  width: 110px;
  height: 110px;
  background-color: var(--fida-crimson);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--fida-gold-light);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.avatar-initial {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
}

.profile-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.profile-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.profile-sns {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.profile-sns a {
  color: var(--fida-crimson);
  font-weight: 700;
}

.about-text-content .lead-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.8;
  color: var(--fida-crimson);
  margin-bottom: 1.8rem;
  position: relative;
  padding-left: 1.2rem;
  border-left: 4px solid var(--fida-gold);
}

.about-text-content .body-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.quote-box {
  background-color: rgba(var(--fida-crimson-rgb), 0.03);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(var(--fida-gold-rgb), 0.15);
}

.quote-phrase {
  font-weight: 700;
  color: var(--fida-crimson-dark);
  margin: 0;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   8. FC FIDA TEAM SECTION (DARK BURGUNDY THEME)
   -------------------------------------------------------------------------- */
.fida-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.section-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--fida-gold) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Philosophy Cards Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--radius-md);
  padding: 3rem 2rem 2.5rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.philosophy-letter {
  position: absolute;
  top: -15px;
  right: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(var(--fida-gold-rgb), 0.04);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.philosophy-title {
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.philosophy-title .english {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fida-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.philosophy-title .japanese {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.8;
  letter-spacing: 0.1em;
}

.philosophy-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Philosophy Hover States */
.philosophy-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(var(--fida-gold-rgb), 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.philosophy-card:hover .philosophy-letter {
  color: rgba(var(--fida-gold-rgb), 0.12);
  transform: scale(1.1) translateY(5px);
}

/* Slogans Section */
.slogans-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0;
}

.slogan-item {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fida-gold-light);
}

.slogan-bracket {
  color: var(--fida-gold);
  opacity: 0.7;
}

.slogan-text {
  padding: 0 0.2rem;
}

/* Universal Info Block System */
.info-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3.5rem;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.team-info-block {
  background: radial-gradient(circle at 100% 100%, rgba(var(--fida-crimson-rgb), 0.04) 0%, rgba(255,255,255,0) 80%), #ffffff;
}

.info-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3.5rem;
  align-items: center;
}

.info-left h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.info-left h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--fida-gold);
}

.info-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.info-meta {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.meta-item {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.8rem;
  align-items: center;
}

.meta-item-note {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.meta-label {
  font-weight: 700;
  font-size: 0.85rem;
  width: 120px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.meta-value.font-highlight {
  color: var(--fida-crimson);
}

.attention-box {
  background-color: rgba(var(--fida-crimson-rgb), 0.04);
  border: 1.5px solid rgba(var(--fida-crimson-rgb), 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}

.attention-box h4 {
  font-size: 1.15rem;
  color: var(--fida-crimson);
  margin-bottom: 0.8rem;
}

.attention-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. DEPORTARE SCHOOL SECTION (WHITE & EMERALD THEME)
   -------------------------------------------------------------------------- */
.deportare-section {
  background-color: #ffffff;
  position: relative;
}

.school-concept {
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.school-concept h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--deportare-navy);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.lead-text-school {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* Features Grid */
.school-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5.5rem;
}

.feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: var(--deportare-navy);
  margin-bottom: 0.8rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--deportare-navy-rgb), 0.06);
  border-color: rgba(var(--deportare-emerald-rgb), 0.25);
  background-color: #ffffff;
}

/* School Info Block Adaptations */
.school-info-block {
  background: radial-gradient(circle at 100% 100%, rgba(var(--deportare-emerald-rgb), 0.04) 0%, rgba(255,255,255,0) 80%), #ffffff;
}

.school-info-block .info-left h3::after {
  background-color: var(--deportare-emerald);
}

.school-info-block .meta-value.font-highlight {
  color: var(--deportare-emerald-dark);
}

.attention-box-school {
  background-color: rgba(var(--deportare-emerald-rgb), 0.04);
  border: 1.5px solid rgba(var(--deportare-emerald-rgb), 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}

.attention-box-school h4 {
  font-size: 1.15rem;
  color: var(--deportare-emerald-dark);
  margin-bottom: 0.8rem;
}

.attention-box-school p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   10. INSTAGRAM FEED SECTION (STATIC FEED WRAPPERS)
   -------------------------------------------------------------------------- */
.instagram-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.brand-accounts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
}

.brand-account-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.brand-badge-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
}

.brand-header h4 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.brand-header .handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* Static Mock Grid inside Instagram Cards */
.insta-grid-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

/* 公式埋め込みグリッドの最適化 */
.insta-grid-mock.official-embeds {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
  justify-items: center;
}

.insta-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.insta-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-smooth);
}

/* Styling simulated mock imagery backgrounds */
.fida-p1 { background: linear-gradient(135deg, var(--fida-crimson), #c41e20); }
.fida-p2 { background: linear-gradient(135deg, var(--fida-crimson-dark), var(--fida-crimson)); }
.fida-p3 { background: linear-gradient(135deg, var(--fida-gold-dark), var(--fida-crimson)); }

.deportare-p1 { background: linear-gradient(135deg, var(--deportare-navy), var(--deportare-navy-light)); }
.deportare-p2 { background: linear-gradient(135deg, var(--deportare-navy-light), var(--deportare-emerald-dark)); }
.deportare-p3 { background: linear-gradient(135deg, var(--deportare-emerald-dark), var(--deportare-emerald)); }

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}

.insta-overlay span {
  font-size: 0.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  border: 1px solid #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item:hover .insta-img-placeholder {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   11. CONTACT & TRIAL SECTION (SAFE FORM DESIGN)
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: #ffffff;
}

.contact-methods {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3.5rem;
  margin-top: 3.5rem;
}

/* DM Card Styling */
.dm-contact-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.2rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.dm-contact-card h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.dm-contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.dm-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.dm-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* Safe Form Card */
.form-contact-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.form-contact-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.safe-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.safe-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.safe-form label .required {
  background-color: rgba(var(--fida-crimson-rgb), 0.08);
  color: var(--fida-crimson);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 0.4rem;
}

.safe-form input,
.safe-form select,
.safe-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: inherit;
  transition: var(--transition-fast);
}

.safe-form input:focus,
.safe-form select:focus,
.safe-form textarea:focus {
  outline: none;
  border-color: var(--fida-crimson);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--fida-crimson-rgb), 0.1);
}

.safe-form select {
  cursor: pointer;
}

.security-badge-container {
  margin-top: 1.5rem;
  text-align: center;
}

.security-badge {
  font-size: 0.72rem;
  color: var(--deportare-emerald-dark);
  background-color: rgba(var(--deportare-emerald-rgb), 0.06);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--deportare-navy);
  color: var(--text-light);
  padding: 5rem 0 2rem 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 4.5fr 3.5fr 4fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 3.5rem;
  margin-bottom: 2rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.footer-logos .fida-text {
  font-family: 'Outfit', sans-serif;
  color: var(--fida-gold);
  font-weight: 900;
  font-size: 1.4rem;
}

.footer-logos .sep {
  opacity: 0.3;
  color: #fff;
}

.footer-logos .deportare-text {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-location {
  font-weight: 700;
  color: var(--text-light);
}

.footer-links h4,
.footer-sns h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--deportare-emerald);
  padding-left: 4px;
}

.sns-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sns-link {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition-smooth);
}

.fida-sns {
  background-color: var(--fida-crimson);
  color: #fff;
}
.fida-sns:hover {
  background-color: var(--fida-gold-dark);
}

.deportare-sns {
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.deportare-sns:hover {
  background-color: var(--deportare-emerald);
  border-color: var(--deportare-emerald);
}

.rep-info {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.rep-info a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* Simple Hero Gates (Buttons without emblems) */
.hero-simple-gates {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
  margin-top: 1rem;
}

.simple-gate-btn {
  flex: 1;
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
}

.gate-btn-fida {
  background-color: var(--fida-crimson);
  color: #ffffff;
  border-color: var(--fida-crimson);
  box-shadow: 0 4px 15px rgba(var(--fida-crimson-rgb), 0.3);
}
.gate-btn-fida:hover {
  background-color: transparent;
  color: var(--fida-crimson);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--fida-crimson-rgb), 0.4);
}

.gate-btn-deportare {
  background-color: var(--deportare-navy-light);
  color: #ffffff;
  border-color: var(--deportare-navy-light);
  box-shadow: 0 4px 15px rgba(var(--deportare-navy-rgb), 0.3);
}
.gate-btn-deportare:hover {
  background-color: transparent;
  color: var(--deportare-navy-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--deportare-navy-rgb), 0.4);
}

/* News Section Styles */
.news-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

/* Features Section overrides (light theme high-contrast for index.html) */
.features-section {
  background-color: var(--bg-light) !important;
  color: var(--text-dark) !important;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-section .section-header h2 {
  color: var(--text-dark) !important;
}



.features-section .section-intro {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}






.features-section .philosophy-card {
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--text-dark) !important;
}

.features-section .philosophy-card:hover {
  background: #ffffff !important;
  border-color: rgba(var(--fida-gold-rgb), 0.35) !important;
  box-shadow: var(--shadow-md) !important;
}

.features-section .philosophy-letter {
  color: rgba(var(--fida-gold-rgb), 0.08) !important;
}

.features-section .philosophy-title .japanese {
  color: var(--text-dark) !important;
  opacity: 1 !important;
}

.features-section .philosophy-desc {
  color: var(--text-muted) !important;
  opacity: 0.9 !important;
}

.features-section .slogan-item {
  color: var(--fida-crimson) !important;
}

.features-section .slogan-bracket {
  color: var(--fida-gold) !important;
}

/* Contact DM Core Styling */
.contact-dm-center {
  max-width: 800px;
  margin: 0 auto;
}

.dm-action-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.dm-action-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.dm-action-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dm-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.btn-lg-action {
  flex: 1;
  max-width: 320px;
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.btn-line {
  background-color: #06C755;
  color: #ffffff !important;
  border: 2px solid #06C755;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.btn-line:hover {
  background-color: #05b04b;
  border-color: #05b04b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.45);
}

/* ==========================================================================
   PORTAL HERO MULTI-LINE BUTTON STYLES
   ========================================================================== */
.hero-simple-gates .simple-gate-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  padding: 1.2rem 2.2rem;
  min-height: 110px;
}

.btn-brand-title {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.btn-sub-title {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-action-text {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.7;
  margin-top: 5px;
  text-transform: uppercase;
}

/* ==========================================================================
   FLOW STEP-BY-STEP FLOWCHART CARDS (FIDA & DEPORTARE)
   ========================================================================== */
.flow-section-light {
  background-color: #ffffff;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.flow-step-card {
  background-color: var(--bg-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.8rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.flow-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--fida-gold);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.flow-step-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.flow-step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Deportare flow custom step borders & pastel colors */
.card-pastel-flow {
  background-color: #ffffff !important;
  border-top: 4px solid var(--border-light) !important;
}
.card-pastel-flow.border-green { border-top-color: var(--deportare-emerald) !important; }
.card-pastel-flow.border-yellow { border-top-color: #F1C40F !important; }
.card-pastel-flow.border-blue { border-top-color: #3498DB !important; }
.card-pastel-flow.border-dark { border-top-color: var(--deportare-navy) !important; }

.step-num.text-green { color: var(--deportare-emerald) !important; }
.step-num.text-yellow { color: #F1C40F !important; }
.step-num.text-blue { color: #3498DB !important; }
.step-num.text-dark { color: var(--deportare-navy) !important; }


/* ==========================================================================
   FIDA ACA.page-fida {
  background-color: #FAF8F6 !important; /* Soft Cream Off-white */
  color: #332D2B !important; /* Soft Charcoal Black */
}

/* Ensure all headings on FIDA page have clear dark contrast */
.page-fida h1,
.page-fida h2,
.page-fida h3,
.page-fida h4,
.page-fida h5,
.page-fida h6 {
  color: #2A2421 !important;
}

/* Header Overrides for FIDA Page (Premium Burgundy & Gold) */
.page-fida .site-header {
  background-color: rgba(122, 12, 13, 0.96) !important; /* Rich Burgundy solid translucent */
  border-bottom: 2px solid var(--fida-gold) !important;
}

.page-fida .site-header .nav-item {
  color: #ffffff !important;
}

.page-fida .site-header .nav-item.active {
  color: var(--fida-gold) !important;
}

.page-fida .site-header .nav-item::after {
  background-color: var(--fida-gold) !important;
}

.page-fida .site-header .logo-text.fida-text {
  color: var(--fida-gold) !important;
}

.page-fida .site-header .logo-text.deportare-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

.page-fida .hamburger-menu .bar {
  background-color: #ffffff !important;
}

/* Mobile Nav Drawer for FIDA Page */
.page-fida .mobile-nav {
  background-color: #7A0C0D !important;
  color: #ffffff !important;
}

.page-fida .mobile-nav-item {
  color: #ffffff !important;
}

.page-fida .mobile-nav-item:hover {
  color: var(--fida-gold) !important;
}

.page-fida .mobile-contact-btn {
  background-color: var(--fida-gold) !important;
  color: #120203 !important;
}

.hero-fida-theme {
  background: radial-gradient(circle at 10% 20%, rgba(122, 12, 13, 0.96) 0%, rgba(45, 5, 6, 0.99) 90%), #120203;
}

/* Override text color and enhance FC FIDA badge in Hero section */
.hero-fida-theme .hero-title,
.hero-fida-theme .hero-description {
  color: #ffffff !important;
}

.hero-fida-theme .hero-badge {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em !important;
  padding: 0.6rem 2.2rem !important;
  border: 2px solid var(--fida-gold) !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 2rem !important;
  display: inline-block;
}

.highlight-gold {
  color: var(--fida-gold);
  position: relative;
  z-index: 1;
}
.highlight-gold::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background-color: rgba(var(--fida-gold-rgb), 0.35);
  z-index: -1;
}

/* FIDA Light Philosophy Section overrides */
.fida-philosophies-section-page {
  background-color: #ffffff !important; /* Pure white background for contrast */
  color: #332D2B !important;
}

.fida-philosophies-section-page h2 {
  color: var(--fida-crimson) !important;
}

.page-fida .burgundy-text {
  color: var(--fida-crimson) !important; /* Crimson sub-headings */
}

.burgundy-bg {
  background-color: var(--fida-crimson) !important;
}

.page-fida .heading-line.burgundy-bg {
  background-color: var(--fida-crimson) !important; /* Crimson line under headings */
}

.philosophy-card-light {
  background: #ffffff !important;
  border: 1px solid rgba(122, 12, 13, 0.12) !important;
  border-radius: var(--radius-md);
  padding: 3rem 2rem 2.5rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  color: #332D2B !important;
}

.philosophy-card-light:hover {
  transform: translateY(-8px);
  border-color: var(--fida-gold) !important;
  box-shadow: 0 12px 30px rgba(122, 12, 13, 0.08) !important;
  background: rgba(122, 12, 13, 0.02) !important;
}

.philosophy-letter-light {
  position: absolute;
  top: -15px;
  right: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(122, 12, 13, 0.04) !important; /* Light Crimson letter backdrop */
  line-height: 1;
  pointer-events: none;
}

.philosophy-title-light {
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.philosophy-title-light .english-light {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--fida-crimson) !important; /* Crimson title english */
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.philosophy-title-light .japanese-light {
  font-size: 0.85rem;
  font-weight: 700;
  color: #554D4A !important;
  opacity: 0.9;
  letter-spacing: 0.1em;
}

.philosophy-desc-light {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #554D4A !important;
  position: relative;
  z-index: 2;
}

.slogans-container-light {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 4.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 2.2rem 0;
}

.slogan-item-light {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fida-crimson) !important;
}

.schedule-section-light {
  background-color: #FAF8F6 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.schedule-section-light h2 {
  color: var(--fida-crimson) !important;
}

.info-block-light {
  background: #ffffff !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md) !important;
  padding: 3.5rem;
  color: #332D2B !important;
  border: 1px solid rgba(122, 12, 13, 0.1) !important;
}

.page-fida .info-meta .meta-item {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

.page-fida .info-meta .meta-label {
  color: var(--fida-crimson) !important;
}

.page-fida .info-meta .meta-value {
  color: #332D2B !important;
}

.attention-box-light {
  background-color: rgba(212, 175, 55, 0.06) !important; /* Soft Gold/Champagne tint */
  border: 1.5px solid rgba(212, 175, 55, 0.25) !important;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}

.attention-box-light h4 {
  font-size: 1.15rem;
  color: var(--fida-crimson) !important;
  margin-bottom: 0.8rem;
}

.attention-box-light p {
  font-size: 0.85rem;
  color: #554D4A !important;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fida-box-page {
  border-color: rgba(122, 12, 13, 0.1) !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.btn-lg-action-fida {
  background-color: var(--fida-crimson);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(var(--fida-crimson-rgb), 0.3);
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  border: 2px solid var(--fida-crimson);
}

.btn-lg-action-fida:hover {
  background-color: transparent;
  color: var(--fida-crimson) !important;
  border-color: var(--fida-crimson) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--fida-crimson-rgb), 0.25);
}

.page-fida .btn-gold {
  background-color: var(--fida-crimson) !important;
  color: #ffffff !important;
  border: 2px solid var(--fida-crimson) !important;
}

.page-fida .btn-gold:hover {
  background-color: transparent !important;
  color: var(--fida-crimson) !important;
}

/* FIDA Light Staff Section Overrides */
.page-fida .staff-section-page {
  background-color: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.page-fida .staff-section-page h2 {
  color: var(--fida-crimson) !important;
}

.page-fida .staff-detailed-card {
  background: #FAF8F6 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: var(--shadow-md) !important;
}

.page-fida .staff-detailed-card:hover {
  border-color: var(--fida-crimson) !important;
  background: rgba(122, 12, 13, 0.02) !important;
  box-shadow: 0 15px 40px rgba(122, 12, 13, 0.06) !important;
}

.page-fida .staff-detailed-info h4 {
  color: #2A2421 !important;
}

.page-fida .staff-detailed-info h4 .en {
  color: rgba(0, 0, 0, 0.45) !important;
}

.page-fida .staff-detailed-info .desc {
  color: #554D4A !important;
}

.page-fida .staff-detailed-info .career {
  color: var(--fida-crimson) !important;
  border-left-color: var(--fida-crimson) !important;
}

.page-fida .staff-meta-block {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.page-fida .meta-section-title {
  color: var(--fida-crimson) !important;
  border-bottom-color: rgba(122, 12, 13, 0.15) !important;
}

.page-fida .meta-section-desc {
  color: #554D4A !important;
}

/* FIDA Light Flow Section Overrides (Legacy) */
.page-fida .flow-section-light {
  background-color: #FAF8F6 !important;
}

/* FIDA Light Instagram overrides */
.page-fida .instagram-section-page {
  background-color: #FAF8F6 !important;
}

.page-fida .instagram-section-page h2 {
  color: var(--fida-crimson) !important;
}

/* FIDA Light Contact overrides */
.page-fida .contact-section {
  background-color: #ffffff !important;
}

.page-fida .contact-section h2 {
  color: var(--fida-crimson) !important;
}

.page-fida .contact-section .section-intro {
  color: #554D4A !important;
}

/* FIDA Page Footer - Premium Burgundy & Gold */
.page-fida .site-footer {
  background-color: #3A0405 !important; /* Deep Crimson Burgundy (Dark Footer) */
  color: var(--text-light) !important;
  border-top: 3px solid var(--fida-gold) !important;
}

.page-fida .site-footer h4,
.page-fida .site-footer .footer-logos .fida-text {
  color: var(--fida-gold) !important;
}

.page-fida .site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.page-fida .site-footer .footer-links a:hover {
  color: var(--fida-gold) !important;
}

.page-fida .sns-link {
  background-color: var(--fida-crimson) !important;
  color: #fff !important;
}

.page-fida .sns-link:hover {
  background-color: var(--fida-gold) !important;
}

.page-fida .portal-back a {
  color: var(--fida-gold) !important;
}
.page-fida .portal-back a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   DEPORTARE BRAND DEDICATED PASTEL STYLES (White & Black Base + Friendly Pastels)
   ========================================================================== */
.page-deportare {
  background-color: #ffffff !important;
  color: var(--text-dark) !important;
}

.page-deportare .site-header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid var(--deportare-navy);
}

.page-deportare .site-header .logo-text {
  color: var(--deportare-navy) !important;
}

.hero-deportare-theme {
  background: radial-gradient(circle at 10% 20%, rgba(46, 204, 113, 0.08) 0%, rgba(0,0,0,0.03) 90%), #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.page-deportare .hero-title {
  color: var(--deportare-navy) !important;
}

.page-deportare .hero-description {
  color: var(--text-muted) !important;
}

.badge-deportare-light {
  background-color: rgba(var(--deportare-emerald-rgb), 0.08);
  color: var(--deportare-emerald-dark);
  border: 1px solid rgba(var(--deportare-emerald-rgb), 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.highlight-emerald {
  color: var(--deportare-emerald-dark);
  position: relative;
  z-index: 1;
}
.highlight-emerald::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background-color: rgba(var(--deportare-emerald-rgb), 0.25);
  z-index: -1;
}

/* DEPORTARE Friendly Child-focused Pastel Cards */
.deportare-features-section-page {
  background-color: #ffffff;
}

.feature-card-pastel {
  border-radius: var(--radius-md);
  padding: 3rem 2.2rem;
  text-align: center;
  border: 1.5px solid transparent;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.feature-card-pastel:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.pastel-green {
  background-color: #F0FDF4; /* ソフトパステルグリーン */
  border-color: #DCFCE7;
}
.pastel-green .feature-icon-pastel {
  background-color: #DCFCE7;
  color: #16A34A;
}

.pastel-yellow {
  background-color: #FEFCE8; /* ソフトパステルイエロー */
  border-color: #FEF9C3;
}
.pastel-yellow .feature-icon-pastel {
  background-color: #FEF9C3;
  color: #CA8A04;
}

.pastel-blue {
  background-color: #F0F9FF; /* ソフトパステルブルー */
  border-color: #E0F2FE;
}
.pastel-blue .feature-icon-pastel {
  background-color: #E0F2FE;
  color: #0284C7;
}

.feature-icon-pastel {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-sm);
}

.feature-card-pastel h4 {
  font-size: 1.25rem;
  color: var(--deportare-navy);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.feature-card-pastel p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.schedule-section-deportare {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.info-block-deportare {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3.5rem;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.meta-label-dark {
  font-weight: 700;
  font-size: 0.85rem;
  width: 120px;
  color: var(--text-muted);
}
.meta-value-dark {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.attention-box-deportare {
  background-color: #F0FDF4; /* ソフトパステルグリーン */
  border: 1.5px solid #DCFCE7;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}

.attention-box-deportare h4 {
  font-size: 1.15rem;
  color: var(--deportare-emerald-dark);
  margin-bottom: 0.8rem;
}

.attention-box-deportare p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-deportare-pastel {
  background-color: #F0F9FF !important; /* ソフトブルーパステル */
  border-color: #E0F2FE !important;
}

.btn-lg-action-deportare {
  background-color: var(--deportare-navy);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--deportare-navy-rgb), 0.3);
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  border: 2px solid var(--deportare-navy);
}
.btn-lg-action-deportare:hover {
  background-color: transparent;
  color: var(--deportare-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--deportare-navy-rgb), 0.4);
}


/* ==========================================================================
   /* --------------------------------------------------------------------------
   DEDICATED BRAND COLOR & STYLES FOR SUB-PAGES
   ========================================================================== */
.bg-emerald {
  background-color: var(--deportare-emerald) !important;
}

.border-emerald {
  border-left: 4px solid var(--deportare-emerald) !important;
}

.text-navy {
  color: var(--deportare-navy) !important;
}

.font-highlight-emerald {
  color: var(--deportare-emerald-dark) !important;
  font-weight: 700;
}

/* FIDA Brand Custom Highlights */
.page-fida .site-header {
  border-bottom: 2px solid var(--fida-gold);
}

.highlight-gold {
  color: var(--fida-gold);
  position: relative;
  z-index: 1;
}
.highlight-gold::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background-color: rgba(var(--fida-gold-rgb), 0.2);
  z-index: -1;
}


.fida-box-page {
  border-color: rgba(var(--fida-gold-rgb), 0.2);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.btn-lg-action-fida {
  background-color: var(--fida-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--fida-gold-rgb), 0.3);
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
}
.btn-lg-action-fida:hover {
  background-color: var(--fida-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--fida-gold-rgb), 0.4);
}

/* DEPORTARE Brand Custom Highlights */
.page-deportare .site-header {
  border-bottom: 2px solid var(--deportare-emerald);
}

.highlight-emerald {
  color: var(--deportare-emerald);
  position: relative;
  z-index: 1;
}
.highlight-emerald::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background-color: rgba(var(--deportare-emerald-rgb), 0.25);
  z-index: -1;
}


.deportare-box-page {
  border-color: rgba(var(--deportare-emerald-rgb), 0.2);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.deportare-features-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.btn-lg-action-deportare {
  background-color: var(--deportare-emerald);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--deportare-emerald-rgb), 0.3);
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
}
.btn-lg-action-deportare:hover {
  background-color: var(--deportare-emerald-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--deportare-emerald-rgb), 0.4);
}

/* ==========================================================================
   STICKY SUB-NAVIGATION BAR
   ========================================================================== */
.sub-navbar-sticky {
  position: sticky;
  top: 80px; /* メインヘッダー(80px)の直下に配置 */
  left: 0;
  width: 100%;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--border-light);
}

.navbar-fida {
  background-color: rgba(74, 5, 6, 0.98); /* 深いバーガンディ */
  border-bottom-color: var(--fida-gold);
}

.navbar-deportare {
  background-color: rgba(16, 23, 30, 0.98); /* スレートネイビー */
  border-bottom-color: var(--deportare-emerald);
}

.sub-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sub-navbar-container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  overflow-x: auto;
  white-space: nowrap;
  gap: 2rem;
}

/* スクロールバー非表示 (Chrome, Safari, Firefox) */
.sub-navbar-container ul::-webkit-scrollbar {
  display: none;
}
.sub-navbar-container ul {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sub-navbar-container a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0;
  position: relative;
  display: block;
}

.navbar-fida a:hover, 
.navbar-fida a.active {
  color: var(--fida-gold);
}

.navbar-deportare a:hover, 
.navbar-deportare a.active {
  color: var(--deportare-emerald);
}

/* ==========================================================================
   DETAILED COACHING STAFF LIST (LP STYLE)
   ========================================================================== */
.staff-section-page {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Horizontal Scrolling Staff Slider Layout */
.staff-detailed-grid {
  display: flex;
  overflow-x: auto;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding: 1rem 0.5rem 2.5rem 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.staff-detailed-grid::-webkit-scrollbar {
  height: 8px;
}
.staff-detailed-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.staff-detailed-grid::-webkit-scrollbar-thumb {
  background: var(--fida-gold);
  border-radius: 10px;
}
.page-deportare .staff-detailed-grid::-webkit-scrollbar-thumb {
  background: var(--deportare-emerald);
}

.staff-detailed-card {
  flex: 1 1 calc(25% - 2rem);
  min-width: 320px;
  max-width: 500px;
  scroll-snap-align: start;
  display: flex;
  gap: 1.8rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.staff-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.staff-detailed-card.card-full-width {
  flex: 0 0 100%;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .staff-detailed-card {
    flex: 0 0 420px;
  }
}

@media screen and (max-width: 1024px) {
  .staff-detailed-card {
    flex: 0 0 380px;
  }
}

@media screen and (max-width: 768px) {
  .staff-detailed-card {
    flex: 0 0 290px;
  }
}

.staff-pic-placeholder {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--fida-crimson), var(--fida-gold));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid var(--fida-gold-light);
  box-shadow: var(--shadow-sm);
}

.staff-pic-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--fida-gold-light);
  box-shadow: var(--shadow-sm);
  background: #f0f0f0;
}

.page-deportare .staff-pic-container {
  border-color: rgba(46, 204, 113, 0.25) !important;
}

.staff-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.staff-pic-placeholder.bg-emerald {
  background: linear-gradient(135deg, var(--deportare-navy), var(--deportare-emerald));
  border-color: rgba(var(--deportare-emerald-rgb), 0.15);
}

.staff-detailed-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.staff-detailed-info .role {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--fida-gold);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.staff-detailed-info .role.emerald-text {
  color: var(--deportare-emerald-dark);
}

.staff-detailed-info h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
}

.staff-detailed-info h4 .en {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.6rem;
  letter-spacing: 0.05em;
}

.staff-detailed-info .career {
  font-size: 0.75rem;
  color: var(--fida-crimson);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--fida-gold);
  padding-left: 0.6rem;
}

.staff-detailed-info .desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.staff-detailed-info .desc:last-child,
.staff-detailed-info .desc.font-bold {
  margin-bottom: 0;
}

.staff-detailed-info .font-bold {
  font-weight: 700;
}

.staff-action-in-card {
  margin-top: 1.5rem;
}

/* 活動概要などを1カラムで美しく中央寄せする汎用クラス */
.max-width-container {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   13. MEDIA QUERIES (RESPONSIVE BREAKPOINTS)
   -------------------------------------------------------------------------- */

/* Tablet Portrait & Landscape Breakpoint */
@media screen and (max-width: 1024px) {
  .hero-simple-gates {
    gap: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .profile-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .brand-accounts-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

}

/* Mobile Breakpoint */
@media screen and (max-width: 768px) {
  .mobile-br {
    display: inline !important;
  }
  
  .mobile-hide {
    display: none !important;
  }
  
  .hero-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
  }
  
  .hero-description {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem) !important;
  }
  
  .meta-item {
    align-items: flex-start !important;
  }
  
  .meta-label,
  .meta-label-dark {
    width: 80px !important;
    font-size: 0.8rem !important;
  }
  
  .meta-value,
  .meta-value-dark {
    font-size: 0.82rem !important;
  }
  
  .meta-item-note {
    font-size: 0.72rem !important;
  }

  /* Navigation mobile states */
  .desktop-nav {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hero-simple-gates {
    flex-direction: column;
    gap: 1rem;
    width: 90%;
  }

  .sub-navbar-sticky {
    top: 70px; /* スマホヘッダー(70px)の直下に配置 */
  }

  .sub-navbar-container ul {
    justify-content: flex-start;
    padding: 0 0.5rem;
    gap: 1.5rem;
  }

  .staff-unified-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .staff-detailed-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1.5rem;
    gap: 1.5rem;
  }

  .staff-detailed-info h4 {
    justify-content: center;
  }

  .staff-detailed-info .career {
    border-left: none;
    border-top: 2.5px solid var(--fida-gold);
    padding-left: 0;
    padding-top: 0.6rem;
    margin-top: 0.4rem;
  }

  .dm-buttons-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .btn-lg-action {
    max-width: 100%;
    width: 100%;
  }
  
  .slogans-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .info-block {
    padding: 2.2rem 1.5rem;
  }
  
  .attention-box,
  .attention-box-school {
    padding: 1.8rem 1.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-contact-card {
    padding: 2.2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .site-header {
    height: 70px;
  }
  
  .header-logo {
    height: 38px;
    width: 38px;
  }
  
  .logo-text {
    font-size: 1rem;
  }

  /* スマホ幅では説明文・文章中の強制改行を無効化し、自然な折り返しにする */
  .section-intro br,
  .hero-description br,
  p br {
    display: none;
  }
  
  /* ボタンの間隔調整 */
  .contact-dm-center {
    margin-top: 1.5rem;
  }

  /* スマホ表示での公式埋め込みを1カラムにする */
  .insta-grid-mock.official-embeds {
    grid-template-columns: 1fr !important;
  }
}

/* Ultra Small Screens */
@media screen and (max-width: 480px) {
  .logo-text {
    display: none; /* スマホ極小サイズではロゴ画像のみにして崩れを防ぐ */
  }
  
  .logo-separator {
    display: none;
  }
  
  .brand-header h4 {
    font-size: 1rem;
  }
}


/* ==========================================================================
   14. CUSTOM STAFF DETAILED PROFILES (ADDED SECURELY)
   ========================================================================== */
.staff-license-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--fida-crimson);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.page-deportare .staff-license-badge {
  background: var(--deportare-emerald-dark);
}
.staff-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}
.meta-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.meta-section-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--fida-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}
.page-deportare .meta-section-title {
  color: var(--deportare-navy);
}
.meta-section-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .staff-license-badge {
    align-self: center;
  }
  .staff-meta-block {
    text-align: center;
  }
}


/* ==========================================================================
   15. VERTICAL STACKED STAFF LAYOUT (スタッフ縦並び配置)
   ========================================================================== */
.staff-detailed-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
  gap: 2rem !important;
  max-width: 850px !important;
  margin: 3.5rem auto 0 auto !important;
  padding: 0 1rem !important;
}
.staff-detailed-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 850px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 2.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-light) !important;
}
.staff-detailed-grid::-webkit-scrollbar {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .staff-detailed-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2rem 1.5rem !important;
    gap: 1.5rem !important;
  }
}


/* ==========================================================================
   16. CENTERED PROFILE CARD LAYOUT (写真・プレースホルダーを名前の上に配置)
   ========================================================================== */
.staff-detailed-card {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 3rem 2rem !important;
}
.staff-detailed-info {
  width: 100% !important;
  align-items: center !important;
}
.staff-detailed-info h4 {
  justify-content: center !important;
  margin-bottom: 0.5rem !important;
}
.staff-license-badge {
  align-self: center !important;
  margin-bottom: 1.5rem !important;
}
.staff-meta-block {
  text-align: left !important;
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  background: rgba(0, 0, 0, 0.02);
  padding: 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.page-deportare .staff-meta-block {
  background: rgba(var(--deportare-emerald-rgb), 0.03);
  border-color: rgba(var(--deportare-emerald-rgb), 0.06);
}
.meta-section-title {
  display: inline-block;
  font-size: 0.78rem !important;
  border-bottom: 1.5px solid var(--fida-gold);
  padding-bottom: 0.1rem;
  width: fit-content;
}
.page-deportare .meta-section-title {
  border-bottom-color: var(--deportare-emerald);
}
.staff-detailed-info h4 .en {
  margin-left: 0 !important;
  font-size: 0.7rem !important;
}
.staff-license-badge {
  font-size: 0.62rem !important;
  padding: 0.2rem 0.5rem !important;
  margin-bottom: 1rem !important;
}
.staff-meta-block {
  padding: 1rem !important;
  gap: 0.6rem !important;
}
.meta-section-title {
  font-size: 0.7rem !important;
}
.meta-section-desc {
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
}


/* ==========================================================================
   17. 4-COLUMN ROSTER GRID LAYOUT (4列並びメンバーグリッド)
   ========================================================================== */
.staff-detailed-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.2rem !important;
  max-width: 1200px !important;
  margin: 3.5rem auto 0 auto !important;
  padding: 0 1rem !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
}
.staff-detailed-card {
  flex: 1 1 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 1.8rem 1.2rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  background: #ffffff !important;
}

/* Tablet (2x2 Grid) */
@media screen and (max-width: 1024px) {
  .staff-detailed-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .staff-detailed-card {
    padding: 2.2rem 1.5rem !important;
  }
}

/* Mobile (1 Column Stack) */
@media screen and (max-width: 600px) {
  .staff-detailed-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}


/* ==========================================================================
   18. EQUAL HEIGHTS ALIGNMENT (スタッフカードの高さ統一)
   ========================================================================== */
.staff-detailed-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
.staff-detailed-info {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  width: 100% !important;
}
.staff-meta-block {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0.85rem !important;
}
.meta-section {
  flex-shrink: 0 !important;
}

/* ==========================================================================
   19. INSTAGRAM EMBED EFFECTS (Instagramボタン・埋め込みの装飾)
   ========================================================================== */
.btn-insta {
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}
.btn-insta:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px) scale(1.02);
}
.insta-embed-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.insta-embed-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45) !important;
}
.page-deportare .insta-embed-wrapper:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

/* ==========================================================================
   21. SANITY DYNAMIC NEWS LIST STYLING (お知らせ一覧のスタイル)
   ========================================================================== */
/* お知らせ一覧全体のスタイル */
/* ニュースリスト全体のスタイル */
#news-list {
  list-style: none !important;
  padding: 0 !important;
  max-width: 850px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important; /* カード間のスペース */
}

/* ニュースカードのスタイル (ライト背景用) */
.news-card-item {
  background-color: #ffffff !important; /* カード背景：白 */
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important; /* 目立たない薄い枠線 */
  border-left: 5px solid var(--fida-crimson) !important; /* 左側のアクセントえんじ線 */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important; /* 柔らかな影 */
}

.news-card-item:hover {
  transform: translateY(-3px) !important;
  background-color: #f8fafc !important; /* ホバーで少し明るいグレー */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

/* カードの中身をリンクとして全域クリック可能に */
.news-card-link {
  display: flex !important;
  align-items: center !important;
  padding: 18px 20px !important;
  text-decoration: none !important;
  color: #1e293b !important; /* タイトル色：濃いチャコール */
  gap: 1.25rem !important;
  width: 100% !important;
}

/* サムネイル画像ラッパー */
.news-card-thumb-wrapper {
  width: 80px !important;
  height: 60px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background-color: #f1f5f9 !important;
}

.news-card-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.news-card-item:hover .news-card-thumb {
  transform: scale(1.08) !important;
}

/* テキストコンテンツエリア */
.news-card-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  flex-grow: 1 !important;
  min-width: 0 !important; /* 長いタイトルの省略・折り返し対策 */
}

/* 日付 */
.news-card-date {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--fida-crimson) !important; /* えんじ色 */
  letter-spacing: 0.05em !important;
}

/* タイトル */
.news-card-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1e293b !important; /* 濃いチャコール */
  line-height: 1.45 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important; /* 長すぎる場合は...で省略 */
}

/* 矢印アイコン(>) */
.news-card-arrow {
  color: rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.news-card-arrow svg {
  width: 20px !important;
  height: 20px !important;
}

.news-card-item:hover .news-card-arrow {
  transform: translateX(4px) !important;
  color: var(--fida-crimson) !important;
}

/* --- レスポンシブ対応 (モバイル表示最適化) --- */
@media screen and (max-width: 600px) {
  .news-card-link {
    padding: 12px 14px !important;
    gap: 0.85rem !important;
  }
  
  .news-card-thumb-wrapper {
    width: 65px !important;
    height: 50px !important;
  }

  .news-card-title {
    font-size: 0.92rem !important;
    white-space: normal !important; /* スマホでは2行まで許容する */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .news-card-date {
    font-size: 0.8rem !important;
  }
  
  .news-card-arrow svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* もっと見るボタンのコンテナ・スタイル */
.news-more-container {
  margin-top: 2.5rem;
  text-align: center;
}

/* ダーク・アウトライン・ボタン */
.btn-dark-outline {
  border-color: var(--text-dark) !important;
  color: var(--text-dark) !important;
  background-color: transparent !important;
}
.btn-dark-outline:hover {
  background-color: var(--text-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
}

/* ==========================================================================
   22. NEWS ARCHIVE CARD GRID STYLING (画像付きカード型お知らせ一覧)
   ========================================================================== */
/* お知らせ一覧ページ用のカード型グリッドレイアウト */
.news-archive-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* カード個別のスタイル */
.news-archive-list .news-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  background-color: #1a1a1a !important; /* ダーク背景 */
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  overflow: hidden !important;
  padding: 0 !important;
  transition: var(--transition-smooth) !important;
  height: 100% !important;
}

.news-archive-list .news-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* カード画像エリア */
.news-archive-list .news-image-wrapper {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
  background-color: #2b2b2b !important;
}

.news-archive-list .news-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.news-archive-list .news-item:hover .news-image {
  transform: scale(1.05) !important;
}

/* カードテキスト内容エリア */
.news-archive-list .news-content-area {
  padding: 1.8rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* 日付表示 */
.news-archive-list .news-date {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--fida-gold) !important; /* ゴールド/オレンジ色 */
  margin-bottom: 0.8rem !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

/* カテゴリーラベル */
.news-archive-list .news-label {
  display: inline-block !important;
  color: #fff !important;
  font-weight: bold !important;
  font-size: 10px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  margin-bottom: 1rem !important;
  width: fit-content !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

/* タイトル */
.news-archive-list .news-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: #ffffff !important; /* 白文字 */
  margin-bottom: 1.5rem !important;
  flex-grow: 1 !important;
}

.news-archive-list .news-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.news-archive-list .news-title a:hover {
  color: var(--fida-gold) !important;
}

/* READ MORE リンク */
.news-archive-list .news-readmore {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--fida-gold) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: auto !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
  width: fit-content !important;
}

.news-archive-list .news-readmore:hover {
  color: var(--fida-gold-light) !important;
  transform: translateX(3px) !important;
}

/* レスポンシブ対応 (Tablet: 2列、Mobile: 1列) */
@media screen and (max-width: 900px) {
  .news-archive-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media screen and (max-width: 600px) {
  .news-archive-list {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .news-archive-list .news-image-wrapper {
    height: 180px !important;
  }
}

/* ==========================================================================
   23. NEWS DETAIL MODAL STYLE (お知らせ本文ポップアップモーダル)
   ========================================================================== */
.news-title-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: color 0.25s ease !important;
}

.news-title-link:hover {
  color: var(--fida-crimson, #c026d3) !important;
  text-decoration: underline !important;
}

.page-portal .news-title-link:hover {
  color: var(--fida-crimson, #8b0000) !important;
}

.news-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.news-modal.active {
  display: flex !important;
}

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

.news-modal-container {
  position: relative !important;
  background: #ffffff !important; /* 白基調の紙面デザイン */
  border-radius: 16px !important;
  width: 100% !important;
  max-width: 750px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
  z-index: 100000 !important;
  overflow: hidden !important;
  animation: modalFadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

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

.news-modal-scroll-area {
  overflow-y: auto !important;
  max-height: 100% !important; /* 親の max-height: 90vh に合わせてスクロールさせる */
  flex-grow: 1 !important;
  padding: 45px 45px 35px !important;
}

@media screen and (max-width: 600px) {
  .news-modal-scroll-area {
    padding: 35px 20px 25px !important;
  }
}

.news-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: none !important;
  color: #57534e !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 100002 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.news-modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #000000 !important;
}

.news-modal-header {
  padding: 0 50px 15px 0 !important; /* ボタンとの衝突を防ぐために右余白を追加 */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.news-modal-meta {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

.news-modal-date {
  color: #b45309 !important; /* 濃いゴールド/ブラウン色 */
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.news-modal-title {
  color: #1c1917 !important; /* 濃い石板色 */
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  margin-top: 10px !important;
  line-height: 1.45 !important;
  letter-spacing: -0.01em !important;
}

@media screen and (max-width: 600px) {
  .news-modal-title {
    font-size: 1.35rem !important;
  }
}

.news-modal-image-container {
  width: 100% !important;
  height: 340px !important;
  margin: 25px 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.news-modal-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media screen and (max-width: 600px) {
  .news-modal-image-container {
    height: 180px !important;
    margin: 15px 0 !important;
  }
}

.news-modal-body {
  padding: 20px 0 0 !important;
  color: #292524 !important; /* 濃い目の灰色 */
  font-size: 1.05rem !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
}

.blog-paragraph {
  margin-bottom: 1.6rem !important;
}

.blog-paragraph:last-child {
  margin-bottom: 0 !important;
}

.news-modal-footer {
  padding: 25px 0 10px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 30px !important;
}

.news-modal-link {
  padding: 10px 22px !important;
  font-size: 0.85rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  background-color: var(--fida-crimson, #8b0000) !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2) !important;
}

.news-modal-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.3) !important;
}

/* ==========================================================================
   NEWS DETAIL MODAL - PREMIUM BLOG-STYLE LAYOUT & TYPOGRAPHY
   ========================================================================== */

/* カテゴリーバッジのグローバル定義 */
.label-fida {
  background-color: #7a0b0b !important;
}

.label-deportare {
  background-color: #27ae60 !important;
}

/* モーダルの全体最適化：ブログ風タイポグラフィ */
.news-modal-container {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif !important;
}

.news-modal-label.news-label {
  display: inline-block !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important; /* 丸薬型バッジ */
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-right: 0 !important;
}

/* モーダル内のブログ本文レイアウトと装飾 */
.news-modal-body {
  padding: 25px 0 0 !important;
  color: #292524 !important; /* 石板グレー */
  font-size: 1.08rem !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  text-align: left !important; /* 日本語の文字間隔の乱れを防ぐため左揃え */
  word-break: break-all !important;
}

/* 太字ハイライト効果 */
.news-modal-body strong {
  font-weight: 700 !important;
  color: #111111 !important;
  background: linear-gradient(transparent 70%, rgba(217, 119, 6, 0.15) 70%) !important;
  padding: 0 2px !important;
}

/* 見出しのスタイル (# 見出し) */
.blog-heading {
  color: #1c1917 !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.4 !important;
}

.blog-h1 {
  font-size: 1.55rem !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
  padding-bottom: 0.6rem !important;
}

.blog-h2 {
  font-size: 1.4rem !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding-bottom: 0.4rem !important;
}

.blog-h3 {
  font-size: 1.25rem !important;
}

/* 日本語お知らせ風のセクション見出し (■, 【, ◆ など) */
.blog-section-title {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 2.2rem 0 1rem !important;
  padding: 4px 0 4px 14px !important;
  border-left: 4px solid #b45309 !important; /* デフォルトゴールド */
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  display: flex !important;
  align-items: center !important;
}

/* モーダルコンテナに付与されたカテゴリー別のアクセント分け */
.news-modal-container[data-category="fida"] .blog-section-title {
  border-left-color: var(--fida-crimson, #8b0000) !important;
}

.news-modal-container[data-category="deportare"] .blog-section-title {
  border-left-color: #27ae60 !important;
}

.blog-section-icon {
  display: none !important; /* 左線で装飾するためアイコン自体は非表示にしてすっきりさせる */
}

/* 箇条書きリストのスタイル (・, -, * 等から自動生成) */
.blog-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 1.8rem !important;
}

.blog-list li {
  position: relative !important;
  padding-left: 1.5rem !important;
  margin-bottom: 0.6rem !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #292524 !important;
}

/* リストアイテムの弾丸丸ポチ (ゴールド色で統一し高級感を出す) */
.blog-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 10px !important;
  width: 6px !important;
  height: 6px !important;
  background-color: #d97706 !important; /* アンバー */
  border-radius: 50% !important;
}

.news-modal-container[data-category="fida"] .blog-list li::before {
  background-color: var(--fida-crimson, #8b0000) !important;
}

.news-modal-container[data-category="deportare"] .blog-list li::before {
  background-color: #27ae60 !important;
}

/* 本文中の自動変換リンク */
.blog-inline-link {
  color: #b45309 !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.news-modal-container[data-category="fida"] .blog-inline-link {
  color: var(--fida-crimson, #8b0000) !important;
}

.news-modal-container[data-category="deportare"] .blog-inline-link {
  color: #27ae60 !important;
}

.blog-inline-link:hover {
  opacity: 0.8 !important;
  text-decoration: none !important;
}

/* モーダルのスクロールバーのカスタマイズ (細くスマートにしてノイズを減らす) */
.news-modal-scroll-area::-webkit-scrollbar {
  width: 6px !important;
}

.news-modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02) !important;
}

.news-modal-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15) !important;
  border-radius: 10px !important;
}

.news-modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3) !important;
}
