/* =============================================
   TABLE OF CONTENTS
   1.  Custom Properties (Design Tokens)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Common Components (Buttons, Section Header)
   6.  Header
   7.  Hero Section
   8.  Schedule Section      [AI提案①]
   9.  Message Section
   10. System Section
   11. Cast Section
   12. Gallery Section
   13. Event Section
   14. Blog Section
   15. Reviews Section
   16. Access Section
   17. Company Section
   18. FAQ Section           [AI提案②]
   19. Contact Section
   20. Footer
   21. Page Top Button
   22. Recruit Page Styles
   23. Animations & Transitions
   24. Media Queries
   ============================================= */


/* =============================================
   1. Custom Properties
   ============================================= */
:root {
  /* Navy palette */
  --navy-900: #050c1a;
  --navy-800: #080e1a;
  --navy-700: #0d1629;
  --navy-600: #122040;
  --navy-500: #1a2f55;
  --navy-400: #243d6e;

  /* Gold palette */
  --gold-300: #e8d08a;
  --gold-400: #d4b868;
  --gold-500: #c9a84c;
  --gold-600: #9d7a30;

  /* Silver palette */
  --silver-300: #c5d0de;
  --silver-400: #a8b5c5;
  --silver-500: #7a8a9e;

  /* Text */
  --text-primary:   #eceef3;
  --text-secondary: #a0aabb;
  --text-muted:     #6b7889;

  /* Borders */
  --border-gold:   rgba(201, 168, 76, 0.28);
  --border-silver: rgba(168, 181, 197, 0.18);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.2);

  /* Transitions */
  --tr-base: 0.3s ease;
  --tr-slow: 0.6s ease;

  /* Layout */
  --container-max: 1200px;
  --section-pad: 80px;
  --section-pad-sm: 56px;
  --header-h: 72px;

  /* Fonts */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}


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

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

body {
  font-family: var(--font-sans);
  background-color: var(--navy-800);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color var(--tr-base), opacity var(--tr-base);
}
a:hover { color: var(--gold-300); }

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}


/* =============================================
   3. Typography
   ============================================= */
h1, h2, h3 { line-height: 1.3; font-weight: 700; }
h4, h5, h6 { line-height: 1.4; font-weight: 500; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }


/* =============================================
   4. Layout Utilities
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-pad-sm) 0;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

.section--dark  { background-color: var(--navy-800); }
.section--mid   { background-color: var(--navy-700); }
.section--light { background-color: var(--navy-600); }

/* Reveal animation target */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================
   5. Common Components
   ============================================= */

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--tr-base), color var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-800);
  border-color: var(--gold-500);
}
.btn-gold:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  color: var(--navy-800);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.btn-outline:hover {
  background: var(--gold-500);
  color: var(--navy-800);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gold-500);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: gap var(--tr-base), color var(--tr-base);
}
.btn-text:hover { gap: 10px; color: var(--gold-300); }

/* ----- Section Header ----- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-500);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold-500);
  vertical-align: middle;
  margin: 0 10px;
  opacity: 0.7;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ----- Subsection Title ----- */
.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}


/* =============================================
   6. Header
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--tr-base), box-shadow var(--tr-base);
  background: transparent;
}

/* Scrolled state - added via JS */
.site-header.is-scrolled {
  background: rgba(8, 14, 26, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

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

/* Logo */
.header-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header-logo .logo-en {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-500);
}
.header-logo .logo-ja {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--silver-400);
  margin-top: 2px;
}

/* Desktop Nav */
.header-nav {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  transition: color var(--tr-base);
}
.nav-list li a:hover { color: var(--gold-500); }
.nav-list .nav-recruit a {
  background: var(--gold-500);
  color: var(--navy-800);
  border-radius: 4px;
  font-weight: 500;
}
.nav-list .nav-recruit a:hover {
  background: var(--gold-300);
  color: var(--navy-800);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-sns {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-sns a {
  font-size: 1rem;
  color: var(--silver-400);
  transition: color var(--tr-base);
}
.header-sns a:hover { color: var(--gold-500); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--silver-300);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-base);
  transform-origin: center;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav Drawer */
.header-nav.is-open {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: rgba(8, 14, 26, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  padding: 20px 0 32px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.header-nav.is-open .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.header-nav.is-open .nav-list li a {
  padding: 14px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-silver);
}
.header-nav.is-open .nav-list .nav-recruit {
  margin: 16px 24px 0;
}
.header-nav.is-open .nav-list .nav-recruit a {
  text-align: center;
  border-bottom: none;
}


/* =============================================
   7. Hero Section
   ============================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 12, 26, 0.4) 0%,
    rgba(5, 12, 26, 0.65) 100%
  );
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  padding-top: var(--header-h);
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--gold-400);
  margin-bottom: 12px;
  animation: fadeInDown 1s ease 0.3s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  animation: fadeInDown 1s ease 0.5s both;
}
.hero-title span { color: var(--gold-400); }

.hero-catch {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  letter-spacing: 0.15em;
  color: var(--silver-300);
  margin-bottom: 36px;
  animation: fadeInDown 1s ease 0.7s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease 0.9s both;
}

/* Swiper overrides for hero */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: var(--gold-500);
  opacity: 0.7;
  transition: opacity var(--tr-base);
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { opacity: 1; }
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 1.4rem; }

.hero-swiper .swiper-pagination-bullet {
  background: var(--silver-400);
  opacity: 0.6;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--gold-500);
  opacity: 1;
}


/* =============================================
   8. Schedule Section [AI提案①]
   ============================================= */
.schedule-section { background: var(--navy-700); }

.schedule-date {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  margin-top: -8px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.schedule-card {
  background: var(--navy-600);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.schedule-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.schedule-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.schedule-card:hover .schedule-card-img img { transform: scale(1.05); }

.schedule-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.schedule-badge--now {
  background: var(--gold-500);
  color: var(--navy-800);
}
.schedule-badge--later {
  background: var(--silver-400);
  color: var(--navy-800);
}

.schedule-card-body { padding: 14px; }

.schedule-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.name-suffix { font-size: 0.8rem; font-weight: 400; margin-left: 2px; }

.schedule-card-time {
  font-size: 0.8rem;
  color: var(--gold-400);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.schedule-card-comment {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}


/* =============================================
   9. Message Section
   ============================================= */
.message-section { background: var(--navy-800); }

.message-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.message-img {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.message-img img {
  width: 100%;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}
.message-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  pointer-events: none;
}

.message-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(5, 12, 26, 0.9));
  padding: 32px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.msg-position {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--silver-400);
}
.msg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.message-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.message-text-wrap p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.message-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-gold);
  font-size: 0.85rem;
  color: var(--silver-400);
  letter-spacing: 0.1em;
}
.sig-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-primary);
}


/* =============================================
   10. System Section
   ============================================= */
.system-section { background: var(--navy-700); }

.system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.system-card {
  background: var(--navy-600);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-base);
}
.system-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.system-card--featured {
  border-color: var(--border-gold);
  position: relative;
  overflow: hidden;
}
.system-card--featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: -24px;
  background: var(--gold-500);
  color: var(--navy-800);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 32px;
  transform: rotate(45deg);
  transform-origin: center;
}

.system-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.system-card-header i {
  font-size: 1.4rem;
  color: var(--gold-500);
}
.system-card-header h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.system-card-price {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-silver);
}
.price-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
}
.price-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.system-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.system-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.system-card-list li i {
  color: var(--gold-500);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.system-note {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}


/* =============================================
   11. Cast Section
   ============================================= */
.cast-section { background: var(--navy-800); }

.cast-list-wrap { margin-bottom: 60px; }

/* Cast Grid */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* post-card: 共通クラス (WordPress ループ対象) */
.cast-card.post-card {
  background: var(--navy-700);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-base);
}
.cast-card.post-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

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

.cast-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.cast-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cast-card:hover .cast-card-img img { transform: scale(1.06); }

.cast-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr-base);
}
.cast-card:hover .cast-card-overlay { opacity: 1; }
.cast-card-overlay span {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  border: 1px solid var(--gold-300);
  padding: 8px 20px;
}

.cast-card-body { padding: 14px; }

.cast-rank {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 4px;
}
.cast-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cast-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cast-comment {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Hall Staff */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.staff-card {
  display: flex;
  gap: 20px;
  background: var(--navy-700);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  padding: 20px;
  align-items: flex-start;
}

.staff-card-img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-gold);
}
.staff-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-position {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 2px;
}
.staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.staff-comment {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}


/* =============================================
   12. Gallery Section
   ============================================= */
.gallery-section { background: var(--navy-700); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-600);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.85;
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { /* handled in desktop MQ */ }


/* =============================================
   13. Event Section
   ============================================= */
.event-section { background: var(--navy-800); }

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

/* post-card: 共通クラス (WordPress ループ対象) */
.event-card.post-card {
  background: var(--navy-700);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-base);
}
.event-card.post-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.event-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card:hover .event-card-img img { transform: scale(1.05); }

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-500);
  color: var(--navy-800);
  padding: 6px 10px;
  text-align: center;
  border-radius: 4px;
  line-height: 1;
}
.event-date-month {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.event-date-day {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2px;
}

.event-card-body { padding: 20px; flex: 1; }

.event-tag span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.event-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.event-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}


/* =============================================
   14. Blog Section
   ============================================= */
.blog-section { background: var(--navy-700); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* post-card: 共通クラス (WordPress: while(have_posts()) ループ対象) */
.blog-card.post-card {
  background: var(--navy-600);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-base);
}
.blog-card.post-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

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

.blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 18px; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-cat {
  font-size: 0.7rem;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  border-radius: 20px;
}

.blog-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color var(--tr-base);
}
.blog-card:hover .blog-title { color: var(--gold-400); }

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =============================================
   15. Reviews Section
   ============================================= */
.reviews-section { background: var(--navy-800); }

.reviews-swiper-wrap { position: relative; padding: 0 8px; }

.reviews-swiper .swiper-slide {
  height: auto;
  padding: 8px 0 32px;
}

.review-card {
  background: var(--navy-700);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  padding: 32px 24px;
  position: relative;
  height: 100%;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-500);
  opacity: 0.25;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.review-stars i { font-size: 0.9rem; color: var(--gold-500); }
.review-stars .far { color: var(--navy-500); }

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 20px;
}

.review-author { border-top: 1px solid var(--border-silver); padding-top: 14px; }
.review-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.review-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0; }

/* Swiper reviews pagination */
.reviews-swiper .swiper-pagination { bottom: 0; }
.reviews-swiper .swiper-pagination-bullet { background: var(--silver-500); opacity: 0.6; }
.reviews-swiper .swiper-pagination-bullet-active { background: var(--gold-500); opacity: 1; }


/* =============================================
   16. Access Section
   ============================================= */
.access-section { background: var(--navy-700); }

.access-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.access-list { display: flex; flex-direction: column; gap: 0; }

.access-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-silver);
}
.access-item:last-child { border-bottom: none; }

.access-item dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  font-weight: 500;
}
.access-item dt i { width: 14px; }

.access-item dd {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 22px;
}
.access-item dd a { color: var(--text-secondary); }
.access-item dd a:hover { color: var(--gold-400); }

.access-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-silver);
  background: var(--navy-600);
}
.access-map iframe { display: block; }


/* =============================================
   17. Company Section
   ============================================= */
.company-section { background: var(--navy-800); }

.company-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.company-table tr {
  border-bottom: 1px solid var(--border-silver);
  transition: background var(--tr-base);
}
.company-table tr:last-child { border-bottom: none; }
.company-table tr:hover { background: rgba(201, 168, 76, 0.04); }

.company-table th {
  width: 40%;
  padding: 16px 20px;
  text-align: left;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  white-space: nowrap;
  vertical-align: top;
}
.company-table td {
  padding: 16px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  word-break: break-word;
}
.company-table td a { color: var(--text-secondary); }
.company-table td a:hover { color: var(--gold-400); }


/* =============================================
   18. FAQ Section [AI提案②]
   ============================================= */
.faq-section { background: var(--navy-700); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border-silver); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--navy-600);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--tr-base);
  color: var(--text-primary);
}
.faq-question:hover { background: var(--navy-500); }
.faq-question[aria-expanded="true"] { background: var(--navy-500); }

.faq-q, .faq-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.faq-q {
  background: var(--gold-500);
  color: var(--navy-800);
}
.faq-a {
  background: var(--navy-500);
  color: var(--silver-300);
  border: 1px solid var(--border-silver);
}

.faq-question-text {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.faq-icon {
  color: var(--gold-500);
  transition: transform var(--tr-base);
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  background: var(--navy-700);
  overflow: hidden;
  /* JS controls display:none → display:flex with slide animation */
}
.faq-answer:not([hidden]) {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  align-items: flex-start;
  animation: faqSlideIn 0.3s ease;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 0;
  flex: 1;
}

@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================
   19. Contact Section
   ============================================= */
.contact-section { background: var(--navy-800); }

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form, .entry-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.required {
  font-size: 0.68rem;
  background: #8b2a2a;
  color: #ffcccc;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--navy-700);
  border: 1px solid var(--border-silver);
  border-radius: 4px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-input:invalid:not(:placeholder-shown),
.form-select:invalid,
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(200, 80, 80, 0.6);
}

/* Custom select arrow */
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--silver-500);
  pointer-events: none;
  font-size: 0.75rem;
}
.form-select-wrap .form-select { padding-right: 36px; cursor: pointer; }

.form-textarea { resize: vertical; min-height: 140px; }

/* Radio & Checkbox groups */
.form-radio-group,
.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-radio-label,
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-radio,
.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-privacy { margin-top: 4px; }
.form-privacy a { color: var(--gold-400); }

.form-submit { display: flex; justify-content: center; margin-top: 8px; }


/* =============================================
   20. Footer
   ============================================= */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border-gold);
  position: relative;
}

.footer-inner { padding: 56px 20px 32px; }

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-silver);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-logo .logo-en {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-500);
}
.footer-logo .logo-ja {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--silver-500);
}

.footer-sns {
  display: flex;
  gap: 20px;
}
.footer-sns a {
  font-size: 1.2rem;
  color: var(--silver-500);
  transition: color var(--tr-base), transform var(--tr-base);
}
.footer-sns a:hover { color: var(--gold-500); transform: translateY(-2px); }

.footer-nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}
.footer-nav ul li a {
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--silver-500);
  transition: color var(--tr-base);
}
.footer-nav ul li a:hover { color: var(--gold-400); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-silver);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-address {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0;
}


/* =============================================
   21. Page Top Button
   ============================================= */
.pagetop {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--gold-500);
  color: var(--navy-800);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--tr-base), visibility var(--tr-base), transform var(--tr-base), background var(--tr-base);
  z-index: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pagetop:hover { background: var(--gold-300); }


/* =============================================
   22. Recruit Page Styles
   ============================================= */

/* Recruit Hero */
.recruit-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--navy-900);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
}
.recruit-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(5,12,26,0.5), rgba(5,12,26,0.85));
  pointer-events: none;
}
.recruit-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../images/hero/トップビュー.jpg');
  opacity: 0.35;
}

.recruit-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.recruit-hero-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.recruit-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.recruit-hero-catch {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--silver-400);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.recruit-hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Benefits */
.benefits-section { background: var(--navy-700); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--navy-600);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-base);
}
.benefit-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.2rem;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.benefit-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Requirements */
.requirements-section { background: var(--navy-800); }

.requirements-table-wrap { overflow-x: auto; }

.requirements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.requirements-table tr { border-bottom: 1px solid var(--border-silver); }
.requirements-table tr:last-child { border-bottom: none; }
.requirements-table tr:hover { background: rgba(201,168,76,0.04); }

.requirements-table th {
  width: 40%;
  padding: 16px 20px;
  text-align: left;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  white-space: nowrap;
  vertical-align: top;
  background: var(--navy-700);
}
.requirements-table td {
  padding: 16px 20px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* Recruit Message */
.recruit-message-section { background: var(--navy-700); }

.recruit-message-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.recruit-message-card {
  background: var(--navy-600);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-msg-person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.recruit-msg-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-gold);
}
.recruit-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.recruit-msg-role {
  font-size: 0.75rem;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.recruit-msg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.recruit-msg-tenure {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.recruit-msg-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 0;
  border-left: 2px solid var(--border-gold);
  padding-left: 16px;
}

/* Day Flow */
.dayflow-section { background: var(--navy-800); }

.dayflow-list {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.dayflow-list::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-gold);
}

.dayflow-item {
  display: flex;
  gap: 20px;
  padding: 0 0 32px;
  position: relative;
}
.dayflow-item:last-child { padding-bottom: 0; }

.dayflow-time {
  width: 56px;
  text-align: right;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--gold-500);
  padding-top: 4px;
  line-height: 1.3;
}

.dayflow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--navy-800);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
  position: relative;
  z-index: 1;
}

.dayflow-content {
  flex: 1;
  padding-bottom: 4px;
}
.dayflow-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.dayflow-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Staff Interview */
.interview-section { background: var(--navy-700); }

.interview-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.interview-card {
  background: var(--navy-600);
  border: 1px solid var(--border-silver);
  border-radius: 8px;
  overflow: hidden;
}

.interview-card-header {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--border-silver);
  align-items: center;
}
.interview-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-gold);
}
.interview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.interview-meta { flex: 1; }
.interview-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.interview-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.interview-card-body { padding: 24px; }

.interview-qa { display: flex; flex-direction: column; gap: 16px; }
.interview-q {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.interview-q-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gold-500);
  color: var(--navy-800);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.interview-q p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.7;
}
.interview-a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 10px;
}
.interview-a-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--navy-500);
  color: var(--silver-300);
  border: 1px solid var(--border-silver);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.interview-a p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.85;
}

/* Entry Form */
.entry-section { background: var(--navy-800); }


/* =============================================
   23. Animations & Transitions
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Gold shimmer on hover for cards */
.system-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}


/* =============================================
   24. Media Queries
   ============================================= */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  :root {
    --section-pad: 96px;
    --section-pad-sm: 72px;
  }

  .section { padding: var(--section-pad-sm) 0; }

  /* Header nav visible */
  .header-nav { display: flex; align-items: center; }
  .hamburger { display: none; }
  .header-sns { display: none; /* show in footer on mobile */ }

  /* Hero */
  .hero-btns { gap: 20px; }

  /* Schedule */
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
  .schedule-card-img { aspect-ratio: 3 / 4; }

  /* Message */
  .message-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }
  .message-img { flex: 0 0 320px; margin: 0; }
  .message-body { flex: 1; }

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

  /* Cast */
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .gallery-item--tall { grid-row: span 2; }

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

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

  /* Access */
  .access-inner { flex-direction: row; gap: 48px; }
  .access-info { flex: 0 0 280px; }
  .access-map { flex: 1; }

  /* Company */
  .company-table th { width: 30%; }

  /* Recruit */
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .recruit-message-grid { flex-direction: row; }
  .recruit-message-card { flex: 1; }
  .interview-grid { display: grid; grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-nav-wrap { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  :root {
    --section-pad: 112px;
    --section-pad-sm: 80px;
    --header-h: 80px;
  }

  .section { padding: var(--section-pad-sm) 0; }

  .header-sns { display: flex; }

  /* Message */
  .message-img { flex: 0 0 380px; }

  /* Cast */
  .cast-grid { grid-template-columns: repeat(4, 1fr); }

  /* Event */
  .event-grid { grid-template-columns: repeat(3, 1fr); }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(3, 1fr); }

  /* System */
  .system-grid { grid-template-columns: repeat(4, 1fr); }

  /* Recruit benefits */
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* Dayflow */
  .dayflow-list { max-width: 700px; }
}

/* Wide: 1280px+ */
@media (min-width: 1280px) {
  .container { padding: 0 32px; }
}


/* =============================================
   25. Single Cast Page
   ============================================= */

/* ページヘッダー（シンプル版） */
.page-hero-simple {
  padding: 100px 0 40px;
  background: var(--navy-800);
  border-bottom: 1px solid var(--border-gold);
  text-align: center;
}
.page-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold-300);
  letter-spacing: 0.1em;
  margin: 0;
}

/* キャストプロフィールカード */
.single-cast-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: var(--navy-700);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

/* 画像 */
.single-cast-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  max-height: 480px;
}
.single-cast-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.single-cast-body {
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-cast-rank {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin: 0;
}
.single-cast-name {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.05em;
}
.single-cast-comment {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  border-left: 2px solid var(--gold-300);
  padding-left: 12px;
  margin: 0;
  line-height: 1.7;
}

/* プロフィール詳細 dl */
.single-cast-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 16px;
  background: var(--navy-800);
  border-radius: 8px;
}
.single-cast-detail-row {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
}
.single-cast-detail-row dt {
  flex: 0 0 90px;
  color: var(--gold-300);
  font-weight: 600;
}
.single-cast-detail-row dd {
  color: var(--text-secondary);
  margin: 0;
}

/* Instagram ボタン（カード下部・小） */
.btn-insta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 0 0 8px 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-insta-card:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.btn-insta-card .fa-instagram {
  font-size: 1.1rem;
}

/* Instagram ボタン（大） */
.btn-insta-large {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 20px rgba(220, 39, 67, 0.35);
  margin-top: 8px;
}
.btn-insta-large:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.btn-insta-large .fa-instagram {
  font-size: 2rem;
  flex-shrink: 0;
}
.btn-insta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex: 1;
}
.btn-insta-text strong { font-size: 1rem; }
.btn-insta-text small  { font-size: 0.78rem; opacity: 0.85; }
.btn-insta-arrow { font-size: 0.75rem; opacity: 0.7; }

/* 戻るボタン */
.single-cast-back { align-self: flex-start; }

/* 他のキャストセクション */
.single-cast-others { background: var(--navy-900); }

/* -----------------------------------------------
   Responsive: 768px+
   ----------------------------------------------- */
@media (min-width: 768px) {
  .single-cast-card {
    grid-template-columns: 340px 1fr;
  }
  .single-cast-img {
    max-height: none;
    aspect-ratio: unset;
    height: 100%;
    min-height: 420px;
  }
  .single-cast-others .cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .single-cast-card { grid-template-columns: 380px 1fr; }
  .single-cast-others .cast-grid { grid-template-columns: repeat(4, 1fr); }
}


/* =============================================
   26. Cast Detail: 2-Column Layout (override)
   ============================================= */

.single-cast-section .container {
  max-width: 1000px;
}

.single-cast-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid rgba(212, 184, 104, 0.2);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.single-cast-image {
  flex: 0 0 350px;
  max-width: 100%;
}

.single-cast-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.single-cast-info {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.cast-header {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gold-400, #c9a84c);
  padding-bottom: 15px;
}

.single-cast-info .cast-name {
  font-size: 2.2rem;
  color: #fff;
  margin: 4px 0 0;
  letter-spacing: 0.05em;
}

.info-label {
  font-size: 0.85rem;
  color: var(--gold-400, #c9a84c);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 28px 0 10px;
  display: block;
  font-weight: 600;
}

.cast-excerpt {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #eee;
}

.cast-excerpt p { margin-bottom: 1em; }

.comment-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-300, #d4b86a);
  line-height: 1.7;
  margin: 0;
}

.cast-social {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* スマホ対応 */
@media (max-width: 850px) {
  .single-cast-card {
    flex-direction: column;
    padding: 25px;
    gap: 30px;
  }
  .single-cast-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .single-cast-info .cast-name { font-size: 1.8rem; }
  .cast-social { margin-top: 20px; }
}


/* =============================================
   27. Cast Detail: Instagram Profile Button
   ============================================= */

.cast-individual-social {
  margin-top: 30px;
}

.btn-insta-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 350px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}

.btn-insta-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
  opacity: 0.9;
  color: #fff;
}

.btn-insta-profile .fa-instagram {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.btn-insta-profile .btn-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.2;
}

.btn-insta-profile .main-text {
  font-size: 1rem;
  font-weight: 700;
}

.btn-insta-profile .sub-text {
  font-size: 0.7rem;
  opacity: 0.8;
}

.btn-insta-profile .fa-external-link-alt {
  font-size: 0.8rem;
  opacity: 0.7;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .btn-insta-profile {
    max-width: 100%;
  }
}


/* =============================================
   28. Cast Detail: btn-insta-detail-card
   ============================================= */

.cast-social-wrapper {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 184, 104, 0.2);
}

.btn-insta-detail-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
  max-width: 100%;
}

.btn-insta-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
  filter: brightness(1.1);
  color: #fff;
}

.btn-insta-detail-card .fa-instagram {
  font-size: 2rem;
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.2;
}

.btn-main-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.btn-sub-text {
  font-size: 0.75rem;
  opacity: 0.85;
}

.btn-insta-detail-card .arrow-icon {
  font-size: 0.9rem;
  opacity: 0.6;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .btn-insta-detail-card {
    padding: 10px 15px;
  }
}


/* =============================================
   29. Instagram Feed Section
   ============================================= */

.instagram-feed-section {
  background-color: var(--navy-800);
}

.insta-feed-container {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(212, 184, 104, 0.1);
}

.insta-footer-link {
  text-align: center;
  margin-top: 20px;
}

/* フォーム送信完了メッセージ */
.form-sent-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  margin-bottom: 24px;
  background: rgba(212, 184, 104, 0.1);
  border: 1px solid var(--gold-300, #d4b86a);
  border-radius: 8px;
  color: var(--gold-300, #d4b86a);
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}
.form-sent-message .fa-check-circle {
  font-size: 1.3rem;
}

/* Smash Balloon 出力要素の上書き */
#sb_instagram {
  padding: 0 !important;
  width: 100% !important;
}
