/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  --navy: #0e1a2e;
  --navy-mid: #162236;
  --navy-light: #1e3252;
  --copper: #b8692a;
  --copper-light: #d4823a;
  --copper-pale: #f5e8da;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #1a2535;
  --text-mid: #4a5568;
  --text-light: #8899aa;
  --line: rgba(184, 105, 42, 0.2);
  --f-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --f-body: 'Noto Sans JP', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor {
  position: fixed;
  z-index: 10001;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}

.cursor-ring {
  position: fixed;
  z-index: 10000;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 105, 42, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), opacity 0.3s;
}

/* ==========================================================================
   Overlay Menu
   ========================================================================== */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
}

.overlay-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.overlay-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  width: 100%;
  max-width: 700px;
  padding: 0 48px;
  cursor: default;
}

.overlay-nav-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--copper);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: none;
}

.overlay-nav-group-title::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 1px;
  background: var(--copper);
}

.overlay-nav-group ul { list-style: none; }

.overlay-nav-group li {
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.overlay-menu.open .overlay-nav-group li {
  opacity: 1;
  transform: translateY(0);
}

.overlay-nav-group a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.3s, transform 0.3s;
}

.overlay-nav-group a:hover {
  color: var(--white);
  transform: translateX(10px);
}

.overlay-nav-group a::after {
  content: '';
  position: absolute;
  right: 100%;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--copper);
  transition: right 0.3s var(--ease-out);
}

.overlay-nav-group a:hover::after { right: 0; }


.news-ticker {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-label {
    font-family: var(--f-serif);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--copper);
    border: 1px solid var(--copper);
    padding: 2px 8px;
    flex-shrink: 0;
}

.news-list {
    flex-grow: 1;
    overflow: hidden;
}

/* 3行分表示するための設定 */
.news-item {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.news-item:last-child { margin-bottom: 0; }

.news-more {
    font-size: 12px;
    color: #999;
    text-decoration: underline;
    white-space: nowrap;
}


/* ==========================================================================
   Hamburger Button
   ========================================================================== */
.menu-btn {
  position: fixed !important;
  top: 24px;
  right: 48px;
  z-index: 10000 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-btn-lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white) !important;
  transform-origin: center;
  transition: all 0.4s var(--ease-out);
}

.menu-btn.open .menu-btn-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open .menu-btn-lines span:nth-child(2) { opacity: 0; width: 0; }
.menu-btn.open .menu-btn-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-btn-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.menu-btn:hover .menu-btn-label { color: var(--white); }

/* ==========================================================================
   Header & Logo
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: padding 0.4s var(--ease-out), background 0.4s;
}

header.scrolled {
  padding: 16px 48px;
  background: rgba(14, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 105, 42, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--f-english);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.logo-img {
  display: block;
  width: auto;
  height: 32px;
  transition: height 0.4s var(--ease-out);
}

header.scrolled .logo-img { height: 28px; }

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel { position: absolute; inset: 0; z-index: 1; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel-slide.active { opacity: 1; }

.slide-visual, .slide-visual-inner, .slide-bg {
  position: absolute;
  inset: 0;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 26, 46, 0.55) 10%, rgba(14, 26, 46, 0.9) 100%);
  z-index: 1; 
  pointer-events: none; 
}

.slide-visual-inner { overflow: hidden; }

.slide-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Background Images */
.slide-1 .slide-bg { background-image: url('img/hero1.jpg'); }
.slide-2 .slide-bg { background-image: url('img/hero2.jpg'); }
.slide-3 .slide-bg { background-image: url('img/hero3.jpg'); }

.slide-caption {
  position: absolute;
  right: 56px;
  bottom: 120px;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  padding: 18px 22px;
  border-right: 2px solid rgba(184, 105, 42, 0.5);
  text-align: right;
}

.slide-caption-en {
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 9px;
  letter-spacing: 0.35em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s var(--ease-out) 0.3s;
}

.slide-caption-jp {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s var(--ease-out) 0.5s;
}

.carousel-slide.active .slide-caption-en,
.carousel-slide.active .slide-caption-jp {
  opacity: 1;
  transform: translateY(0);
}

.carousel-dots {
  position: absolute;
  left: 48px;
  bottom: 48px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.carousel-dot.active {
  width: 40px;
  background: var(--copper);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: var(--navy);
  overflow: hidden;
}

.hero-grid, .hero-streak, .hero-glow {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 105, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 105, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift { from { transform: translate(0,0); } to { transform: translate(60px,60px); } }

.hero-streak {
  top: 35%;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 105, 42, 0.3), transparent);
  transform: rotate(-8deg);
  animation: streakMove 8s ease-in-out infinite alternate;
}

@keyframes streakMove { from { top: 30%; opacity: 0.4; } to { top: 55%; opacity: 0.8; } }

.hero-glow {
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 105, 42, 0.06) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  to { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 160px 48px 100px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--copper); }
.hero-eyebrow span { color: var(--copper); font-size: 10px; letter-spacing: 0.3em; }

.hero h1 {
  margin-bottom: 32px;
  color: var(--white);
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.45;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 0 50px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s var(--ease-out) 0.5s forwards;
}

.hero h1 em { color: var(--copper-light); font-style: normal; }
.hero h1 strong { display: block; font-size: 1.05em; font-weight: 600; }

.hero-sub {
  max-width: 540px;
  margin-bottom: 56px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}

/* Common Buttons */
.btn-primary, .btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-primary {
  gap: 12px;
  padding: 18px 42px;
  background: var(--copper);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.btn-primary::before, .btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--copper-light);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(184, 105, 42, 0.35); }
.btn-primary:hover::before, .btn-cta:hover::before { transform: translateX(0); }
.btn-primary span, .btn-cta span { position: relative; z-index: 1; }

.btn-primary .arrow {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.btn-primary .arrow::after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-primary:hover .arrow { width: 28px; }

.btn-ghost {
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::after { transform: scaleX(1); }

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-50%);
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--copper));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ==========================================================================
   Section Base
   ========================================================================== */
.section { position: relative; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 130px;
  margin-bottom: 32px;
}

.section-label-line {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: #b8692a;
  opacity: 1;
}

.section-label span {
  color: #b8692a;
  font-size: 10px;
  opacity: 1;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.5;
}

.section-title strong { font-weight: 600; }
.section-title em { color: var(--copper); font-style: italic; }

/* Scroll Reveal Animations */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   Message Section
   ========================================================================== */
.message { padding: 140px 0; background: var(--cream); }

.message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.message-left { padding-top: 8px; }

.message-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: -40px;
  color: transparent;
  font-family: var(--f-serif);
  font-size: 110px;
  line-height: 1;
  /* ★04の画像と同じ設定★ */
  -webkit-text-stroke: 1.5px #b8692a; /* 不透明度100%の銅色 */
  opacity: 1 !important;
  /* 04のようにクッキリ見せるため、filterなどは一旦外すのが吉です */
  filter: none;
}

.message-right { padding-top: 40px; border-top: 1px solid var(--line); }

.message-body {
  color: var(--text);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 2.4;
  letter-spacing: 0.05em;
}

.message-body p { margin-bottom: 28px; }
.message-body p:last-child { margin-bottom: 0; }
.message-body .hl { color: var(--copper); font-weight: 700; }

.message-signature {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-mid);
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.15em;
}

/* ==========================================================================
   .message-video Section
   ========================================================================== */

.message-video {
  margin-top: 60px; /* 見出しとの余白 */
  width: 100%;
  max-width: 540px; /* 見出しの幅に合わせて調整 */
}
/* レスポンシブ対応のコンテナ [cite: 162-164] */
.video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: 4px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* スマホでの調整 [cite: 194-195] */
@media (max-width: 900px) {
  .message-video {
    margin-top: 24px;
    margin-bottom: 32px;
  }
}


/* ==========================================================================
   Features Section
   ========================================================================== */
.divider {
  height: 1px;
  margin: 0 48px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.3;
}

.features { padding: 140px 0; background: var(--navy); overflow: hidden; }

.features-header { margin-bottom: 80px; }

.features-title-dark {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.5;
}

.features-title-dark strong { font-weight: 600; }

.features-subtitle { color: rgba(255, 255, 255, 0.4); font-size: 13px; line-height: 1.8; letter-spacing: 0.06em; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(184, 105, 42, 0.1);
}

.feature-card {
  position: relative;
  z-index: 1;
  padding: 56px 48px;
  background: var(--navy-mid);
  overflow: hidden;
  cursor: default;
  transition: background 0.4s var(--ease-out);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(184, 105, 42, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover { background: var(--navy-light); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }

.feature-num {
  display: block;
  margin-bottom: 20px;
  color: transparent;
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 1px rgba(184, 105, 42, 0.8);
  transition: -webkit-text-stroke-color 0.4s;
}

.feature-card:hover .feature-num { -webkit-text-stroke-color: rgba(184, 105, 42, 0.8); }

.feature-card h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.feature-card p { color: rgba(255, 255, 255, 0.45); font-size: 13px; line-height: 2; letter-spacing: 0.04em; }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--copper);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.feature-tag::before { content: ''; width: 20px; height: 1px; background: var(--copper); }

/* ==========================================================================
   Stats Band
   ========================================================================== */
.stats-band { padding: 56px 0; background: var(--copper); }

.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left !important; }

.stat-item {
  position: relative;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--f-serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
}

.stat-unit { margin-left: 4px; font-size: 18px; }

.stat-label { color: rgba(255, 255, 255, 0.7); font-size: 11px; letter-spacing: 0.2em; }

/* ==========================================================================
   Interview Section
   ========================================================================== */
.section.interview { padding: 140px 0; background-color: var(--cream); }

.interview-flow {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 100px;
}

.iv-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.iv-row:nth-child(even) { flex-direction: row-reverse; }

.iv-text-col { flex-shrink: 0; width: 52%; }

.iv-q-num {
  display: block;
  margin-bottom: 15px;
  color: var(--copper);
  font-family: var(--f-serif);
  font-size: 20px;
}

.iv-text-col h3 {
  margin-bottom: 25px;
  color: var(--navy);
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.6;
}

.iv-a-wrapper { position: relative; overflow: hidden; }

.iv-a-content {
  max-height: 66px;
  color: var(--text-mid);
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2.2;
  transition: max-height 0.6s var(--ease-out);
}

.iv-row.is-open .iv-a-content { max-height: 1000px; }
.iv-row.is-open .fade-overlay { opacity: 0; }

.fade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, var(--cream) 95%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.iv-img-col { flex-shrink: 0; width: 42%; }

.img-frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: none !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: var(--navy-mid);
}

.iv-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: none !important;
  transform: none !important;
}

.iv-row:hover .iv-photo { transform: scale(1.05); }

.section-bridge-text {
  margin-bottom: 32px;
  color: var(--copper);
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ==========================================================================
   Special Interview Movie (PC用ベースデザイン)
   ========================================================================== */

/* SPECIAL MOVIE ヘッダーのバランス調整 */
.special-movie-header {
    text-align: center;
    margin-bottom: 48px;
}

/* 1行目：ラベル（小さく、上品に） */
.sm-label {
    display: inline-block;
    color: var(--copper);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

/* 2行目：メインタイトル（一番大きく、太く） */
.sm-title {
    color: var(--navy); /* または var(--copper) お好みで */
    font-family: var(--f-serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

/* 3行目：登壇者（少し小さく、落ち着かせる） */
.sm-speakers {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

/* 役職名（さらに小さくして、名前に目線を誘導） */
.sm-position {
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 400;
}

/* ×マーク（アクセントカラー） */
.sm-cross {
    margin: 0 16px;
    color: var(--copper);
    font-weight: 300;
}

/* スマホ閲覧時の調整（名前が横に潰れないようにする） */
@media (max-width: 768px) {
    .sm-speakers { font-size: 15px; }
    .sm-position { display: block; margin-bottom: 8px; font-size: 12px; }
    .sm-cross { display: block; margin: 8px 0; }
}


   /* ★PC用：3列グリッドレイアウト */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 動画の比率（16:9）を自動維持する設定 */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.video-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-label {
  color: var(--copper);
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   スマホ用レスポンシブデザイン (画面幅900px以下)
   ========================================================================== */
@media (max-width: 900px) {
  .special-interview {
    margin-top: 60px;
    padding-top: 60px;
  }
  
  /* ★スマホ用：縦1列グリッドレイアウトに変更 */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile { padding: 140px 0; background: var(--cream); }

.profile-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.profile-visual { position: relative; }

.profile-frame {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.profile-frame-deco {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(184, 105, 42, 0.3);
}

.profile-frame-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-frame-inner svg { width: 80px; height: 80px; opacity: 0.08; }

.profile-frame-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.profile-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.profile-tag {
  padding: 6px 14px;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.profile-tag:hover { background: var(--copper); color: var(--white); }

.profile-text { padding-top: 24px; }

.profile-name {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.profile-name-sub { margin-bottom: 32px; color: var(--copper); font-size: 11px; letter-spacing: 0.2em; }

.profile-bio {
  margin-bottom: 40px;
  color: var(--text-mid);
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 2.3;
}

.profile-history { padding-top: 28px; border-top: 1px solid var(--line); }

.history-item {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.history-year {
  flex-shrink: 0;
  min-width: 60px;
  padding-top: 2px;
  color: var(--copper);
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.history-desc { color: var(--text-mid); font-size: 13px; line-height: 1.8; letter-spacing: 0.04em; }

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Member Grid Section
   ========================================================================== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
}

.member-card { width: 100%; max-width: 280px; margin: 0 auto; }

.member-card .profile-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.member-card .profile-frame-label {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 5;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.member-bio {
  margin-bottom: 20px;
  color: var(--text-mid);
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.0;
  letter-spacing: 0.04em;
  text-align: left;
}

.member-name {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.member-name-sub {
  display: block;
  margin-bottom: 16px;
  color: var(--copper);
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   Company Info
   ========================================================================== */
.company-info { padding: 120px 0; background: var(--white); }

.company-info-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.company-table { width: 100%; border-collapse: collapse; }

.company-table tr { border-bottom: 1px solid rgba(184, 105, 42, 0.12); }
.company-table tr:first-child { border-top: 1px solid rgba(184, 105, 42, 0.12); }

.company-table th {
  width: 140px;
  padding: 20px 24px 20px 0;
  color: var(--copper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.company-table td {
  padding: 20px 0;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.company-table td .empty { color: var(--text-light); font-size: 12px; font-style: italic; }

/* ==========================================================================
   Contact Form & CTA (修正版)
   ========================================================================== */
.form-text-size { font-size: 14px; letter-spacing: 0.04em; }

.form-link-custom {
  color: #b8692a;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.form-link-custom:hover { opacity: 0.7; text-decoration: none; }

/* 修正点1：コンテナに z-index を指定し、背景の光(cta-glow)より前面に配置 */
.cta-check-container { 
  position: relative; /* 必須 */
  z-index: 10;        /* 背景より上へ */
  max-width: 480px; 
  margin: 0 auto 40px; 
}

.cta-check-list {
  margin-bottom: 24px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 105, 42, 0.2);
  border-radius: 4px;
  text-align: left;
}

.check-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  cursor: pointer; /* クリック可能であることを明示 */
}

.check-item:last-child { margin-bottom: 0; }

.step-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  margin-right: 12px;
  accent-color: #b8692a;
  appearance: auto;
  cursor: pointer;
}

.check-item label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  cursor: pointer;
}

/* 判定結果メッセージボックス */
.dynamic-message-box {
  display: none; /* JSで.is-visibleが付与された時だけ表示 */
  min-height: 60px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(184, 105, 42, 0.1);
  /* 修正点2：未定義変数を直接指定（または var(--copper) があるか確認） */
  border: 1px solid #b8692a; 
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  text-align: left;
}

/* JS連動用クラス */
.dynamic-message-box.is-visible { 
  display: block; 
  opacity: 1; 
  transform: translateY(0); 
}

.dynamic-message-box strong { display: block; margin-bottom: 5px; color: #f1d2b5; }

/* CTA Section 背景管理 */
.cta { 
  position: relative; 
  padding: 160px 0; 
  background: var(--navy); 
  overflow: hidden; 
  text-align: center; 
}

/* 修正点3：背景装飾がフォームの上にこないよう z-index を 0 に固定 */
.cta-bg, .cta-glow-left, .cta-glow-right { 
  position: absolute; 
  z-index: 0; /* フォームコンテナ(z-index:10)より後ろへ */
}

.cta-bg {
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 105, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 105, 42, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.cta-glow-left {
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 105, 42, 0.08) 0%, transparent 70%);
}

.cta-glow-right {
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 105, 42, 0.06) 0%, transparent 70%);
}

.cta-inner { 
  position: relative; 
  z-index: 1; /* 装飾よりは上、フォームコンテナと同じかそれ以下の階層 */
}

.cta-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--copper);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.cta-label::before, .cta-label::after { content: ''; width: 40px; height: 1px; background: var(--copper); opacity: 0.5; }

.cta h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cta-desc { margin-bottom: 56px; color: rgba(255, 255, 255, 0.45); font-size: 14px; line-height: 2; letter-spacing: 0.05em; }

.cta-btn-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }

.btn-cta {
  gap: 16px;
  padding: 20px 56px;
  background: var(--copper);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(184, 105, 42, 0.4); }

/* ==========================================================================
   CTA内の連絡先表記（絶対上書き版）
   ========================================================================== */
.cta-contact-info {
    margin-bottom: 32px; /* 下のチェックボックス枠との余白 */
}

.cta-contact-info p {
    color: #ffffff !important;      /* 「!important」をつけて絶対に白にする */
    font-family: var(--f-serif) !important; /* 絶対に明朝体にする */
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 12px;            /* 電話とメールの間のスキマ */
}

/* 最後の行は下の余白をなくす */
.cta-contact-info p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer { padding: 80px 0 32px; background: #080f1a; }

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  margin-bottom: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 14px; }

.footer-logo-mark { width: 22px; height: 22px; }

.footer-logo-img {
    height: 45px;  /* ここで好きなサイズに調整（24pxなど） */
    width: auto;
}

.footer-tagline { color: rgba(255, 255, 255, 0.3); font-size: 12px; line-height: 1.9; letter-spacing: 0.06em; }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

.footer-nav-group p { margin-bottom: 20px; color: var(--copper); font-size: 10px; letter-spacing: 0.2em; }

.footer-nav-group ul { list-style: none; }
.footer-nav-group li { margin-bottom: 12px; }

.footer-nav-group a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.footer-nav-group a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; }

.footer-member { color: rgba(255, 255, 255, 0.25); font-size: 11px; line-height: 1.8; letter-spacing: 0.06em; }

footer small { color: rgba(255, 255, 255, 0.15); font-size: 10px; letter-spacing: 0.12em; }

/* ==========================================================================
   Global Animations
   ========================================================================== */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ==========================================================================
   Floating Top Button
   ========================================================================== */
.shadow__btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;
  display: block;
  padding: 12px 20px;
  background: var(--copper);
  border: none;
  border-radius: 4px;
  box-shadow: 0 0 15px var(--copper);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.shadow__btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.shadow__btn:hover { transform: translateY(-5px) !important; box-shadow: 0 0 25px var(--copper); }

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 900px) {
  header { padding: 20px 24px; }
  header.scrolled { padding: 14px 24px; }
  .hero-content { padding: 140px 24px 80px; }
  .container { padding: 0 24px; }
  .message-inner { grid-template-columns: 1fr; gap: 40px; }
  .message-number { font-size: 110px; -webkit-text-stroke: 1.5px rgba(184, 105, 42, 0.8); filter: drop-shadow(0 0 5px rgba(184, 105, 42, 0.2)); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
  .stat-item:last-child { border-bottom: none; }
  .profile-inner { grid-template-columns: 1fr; }
  .profile-frame { aspect-ratio: 16/9; }
  .company-info-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .overlay-nav { grid-template-columns: 1fr; padding: 0 24px; gap: 32px; }
  .slide-caption { display: none; }
  .carousel-dots { left: 24px; bottom: 32px; }
  .iv-row, .iv-row:nth-child(even) { flex-direction: column; gap: 40px; }
  .iv-text-col, .iv-img-col { width: 100%; }
  .img-frame { aspect-ratio: 16/9; }
  .section-bridge-text { padding: 0 20px; font-size: 13px; }
}