@charset "UTF-8";

/* ==========================================================================
   ALVA-WORKS Cinematic Theme
   Inspired by premium product showcases (e.g. Apple, Evering, Rinnai)
   ========================================================================== */

:root {
  --bg-color: #fafafa;
  --bg-surface: #ffffff;
  --bg-surface-light: #f5f5f7;
  
  --text-main: #1d1d1f;
  --text-muted: #86868b;
  --text-dim: #a1a1a6;
  
  --primary: #ea580c;
  --primary-hover: #c2410c;
  
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  
  --header-h: 80px;
  
  /* Layout */
  --container-max: 1200px;
  --pad-x: 5%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-en);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mixed font handling */
h1, h2, h3, h4, p {
  font-family: var(--font-jp);
}
.c-hero__sub, .c-feature-num, .c-hardware__title, .c-lineup__title, .c-reels__title {
  font-family: var(--font-en);
}

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

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

/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.c-btn--outline {
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  color: var(--text-main);
}
.c-btn--outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #000;
}

.c-btn--primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.c-btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* =========================================
   Header
   ========================================= */
.c-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

body:not(.theme-cinematic) .c-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}
.c-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.c-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 var(--pad-x);
}

.c-header__logo {
  display: flex;
  align-items: center;
}
.c-header__logo img {
  height: 48px;
  width: auto;
  display: block;
}



.c-header__nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 900px) {
  .c-header__nav {
    display: flex;
  }
}

.c-header__nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.c-header__nav a:hover {
  color: var(--text-main);
}
.c-header__nav a.c-btn {
  color: var(--text-main);
}

.c-header.is-menu-open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: transparent !important;
  border-bottom: none !important;
}

.c-header__menu-btn {
  display: block;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #111111;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  z-index: 1002; /* モバイルメニュー（z-index: 990）より確実に前面 */
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.c-header__menu-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.4);
  color: #000000;
}

body:not(.theme-cinematic) .c-header__menu-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #111111;
}

/* メニュー展開中: 下層ページでも黒背景の上に目立つようオレンジ発光ボタンでMENUを表示し続ける */
.c-header__menu-btn.is-active,
.c-header.is-menu-open .c-header__menu-btn {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.5) !important;
  transform: scale(1.05);
}

@media (min-width: 900px) {
  .c-header__menu-btn {
    display: none;
  }
}

/* Mobile Menu Overlay */
.c-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 13, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 80px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s, transform 0.35s;
  transform: translateY(-16px);
  overflow-y: auto;
}

.c-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-mobile-menu a {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 4px 12px;
}

.c-mobile-menu a:hover,
.c-mobile-menu a:active {
  color: #ea580c;
  transform: scale(1.05);
}



/* =========================================
   Scrollytelling Hero
   ========================================= */
.c-hero {
  /* Increased to 250vh to allow a slight pause after animation finishes */
  height: 250vh; 
  position: relative;
}

.c-hero__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-color);
  z-index: 1;
}

.c-hero__img-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 90vw;
  max-width: 900px;
  will-change: transform;
}

.c-hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  will-change: transform;
  transform: translateZ(0);
}

.c-hero__text-1 {
  position: absolute;
  top: auto;
  bottom: 12%;
  left: 5%;
  width: auto;
  white-space: nowrap;
  text-align: left;
  z-index: 2;
  transform: translateY(-50%);
}

.c-hero__text-2 {
  position: absolute;
  top: auto;
  bottom: 12%;
  left: 5%;
  width: auto;
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
  transform: translateY(calc(-50% + var(--y-offset, 50px)));
}

@media (min-width: 900px) {
  .c-hero__text-1 {
    top: auto;
    bottom: 40%;
    left: 10%;
    transform: translateY(0);
  }
  .c-hero__text-2 {
    bottom: auto;
    top: 55%;
    left: 10%;
  }
}

.c-hero__main {
  font-size: clamp(1.8rem, 8vw, 5.0rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 
    -2px -2px 0 var(--bg-surface-light),
     2px -2px 0 var(--bg-surface-light),
    -2px  2px 0 var(--bg-surface-light),
     2px  2px 0 var(--bg-surface-light),
     0px  4px 10px rgba(255,255,255,0.8);
}

.c-hero__sub {
  font-size: clamp(0.85rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.c-hero__main .c-highlight {
  color: var(--primary);
  /* removed text-stroke for better light mode visibility */
}

.c-hero__desc {
  margin-top: 30px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
}

/* =========================================
   Sequence Animation Section
   ========================================= */
.c-sequence {
  height: 400vh; /* Scroll duration */
  position: relative;
  background: var(--bg-color);
}

.c-sequence__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-sequence__container {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  height: 70vh;
  perspective: 1200px; /* 3D depth */
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-sequence__item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.c-sequence__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* =========================================
   Features Section
   ========================================= */
.c-features {
  padding: 150px 0;
  background: var(--bg-color);
  overflow: hidden;
}

.detail-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.sticky-page-title-wrap {
  position: sticky;
  top: 80px;
  z-index: 90;
  background: transparent;
  padding: 24px 0;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}
.sticky-page-title-wrap.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 48px;
}
.sticky-page-title {
  font-family: var(--font-en);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
  transition: all 0.3s ease;
}
.sticky-page-title-wrap.is-stuck .sticky-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.c-feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto 180px;
  padding: 0 var(--pad-x);
  gap: 60px;
}
@media (min-width: 900px) {
  .c-feature-row {
    flex-direction: row;
    gap: 8%;
  }
  .c-feature-row--reverse {
    flex-direction: row-reverse;
  }
}

.c-feature-text {
  flex: 1;
}

.c-feature-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  letter-spacing: 0.1em;
}

.c-feature-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.c-feature-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.c-feature-img {
  flex: 1.2;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f7;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.c-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.1s linear; /* for JS parallax */
}

/* =========================================
   Hardware / Battery Section
   ========================================= */
.c-hardware {
  padding: 120px 0;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.c-hardware__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.c-hardware__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.c-hardware__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 80px;
}

.c-hardware__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .c-hardware__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.c-hardware__item {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 60px 40px;
  border: 1px solid rgba(255,255,255,0.02);
}

.c-hardware__img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.c-hardware__img-box img {
  max-height: 100%;
  object-fit: contain;
}

.c-hardware__item h3 {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.c-hardware__item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   Line Up Section
   ========================================= */
.c-lineup {
  padding: 150px 0;
  background: var(--bg-color);
}

.c-lineup__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.c-lineup__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.c-lineup__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 80px;
}

.c-lineup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 900px) {
  .c-lineup__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-lineup__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.c-lineup__card:hover {
  background: var(--bg-surface-light);
  transform: translateY(-10px);
}

.c-lineup__img-wrap {
  aspect-ratio: 4/3;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.c-lineup__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-lineup__card:hover .c-lineup__img-wrap img {
  transform: scale(1.08);
}

.c-lineup__card-content {
  padding: 30px;
  flex: 1;
}

.c-lineup__card-content h3 {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.c-lineup__card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   CTA Section
   ========================================= */
.c-cta {
  padding: 150px 0;
  background: #000;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.c-cta__inner h2 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: #fff;
}

.c-cta__inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.c-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.c-cta__inner .c-btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.c-cta__inner .c-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* =========================================
   Footer
   ========================================= */
.c-footer {
  padding: 60px 0 40px;
  background: #000;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.c-footer__logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.c-footer p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* =========================================
   Animation Classes (Triggered by JS)
   ========================================= */

/* Fade Up */
.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Left */
.js-fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In Right */
.js-fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Image */
.js-scale-img {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-scale-img.is-visible {
  opacity: 1;
}

/* =========================================
   LEGACY PAGES (Subpages) ADAPTATION
   ========================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.top-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
  margin-left: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.brand-sun-icon {
  width: 40px;
  height: auto;
  margin-right: 10px;
}
.brand-logo {
  display: flex;
  align-items: center;
}
.logo-main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-main span {
  color: var(--primary);
}
.logo-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.nav-menu {
  display: none;
}
@media (min-width: 900px) {
  .nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
  }
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: bold;
}
.dropdown-menu {
  display: none;
}
.page-breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.breadcrumb-list {
  display: flex;
  gap: 10px;
  list-style: none;
  color: var(--text-muted);
}
.detail-hero {
  padding: 100px 0;
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 900px) {
  .detail-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.badge-orange, .badge-primary {
  background: var(--primary);
  color: #fff;
}
.detail-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}
.detail-lead {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary);
}
.detail-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-stats-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-en);
}
.hero-stat-num span {
  font-size: 1rem;
  margin-left: 4px;
}
.hero-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.detail-hero-gallery img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head-tag {
  color: var(--primary);
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}
.section-head-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin: 10px 0 20px;
}
.section-head-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grids */
.action-tri-grid, .parts-grid, .usecase-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .action-tri-grid, .parts-grid, .usecase-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
.action-card, .part-card, .usecase-card, .gif-demo-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease;
}
.part-card {
  padding: 0;
  overflow: hidden;
}
.part-img {
  aspect-ratio: 4/3;
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.part-body {
  padding: 24px;
}
.part-name {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.part-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.gif-demos-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .gif-demos-grid { grid-template-columns: repeat(3, 1fr); }
}

.gif-demo-media img {
  border-radius: 12px;
  margin-bottom: 20px;
}
.gif-demo-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.gif-demo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA Form */
.cta-form-section {
  padding: 100px 0;
  background: var(--bg-surface-light);
}
.cta-form-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 900px) {
  .cta-form-box {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: bold;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
}
.btn-orange {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
}
.site-footer {
  background: #000;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-top {
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-bottom {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.toast-msg {
  display: none;
}


/* =========================================
   Contact Form Styles
   ========================================= */
.c-form-group {
  margin-bottom: 24px;
  text-align: left;
}
.c-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-main);
}
.c-form-req {
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.c-form-opt {
  background: #555;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.c-form-input, .c-form-select, .c-form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #f4f4f6;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.c-form-input:focus, .c-form-select:focus, .c-form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}
.c-form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* =========================================
   Official SNS Showcase & Floating Dock
   ========================================= */

/* SNS Showcase Section */
.c-sns-section {
  padding: 140px 0 130px;
  background: #09090c;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.c-sns-section::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.22) 0%, rgba(234, 88, 12, 0.06) 50%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}

.c-sns-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ea580c 50%, transparent 100%);
  opacity: 0.8;
  filter: drop-shadow(0 0 8px #ea580c);
  pointer-events: none;
}

.c-sns-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.c-sns-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.35) 0%, rgba(255, 107, 0, 0.18) 100%);
  border: 1.5px solid rgba(255, 122, 26, 0.85);
  border-radius: 40px;
  color: #ffa466;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 26px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 122, 26, 0.7);
  box-shadow: 0 0 35px rgba(234, 88, 12, 0.5), inset 0 0 20px rgba(234, 88, 12, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-sns-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 45px rgba(234, 88, 12, 0.65), inset 0 0 25px rgba(234, 88, 12, 0.35);
}

.c-sns-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  animation: badgeShimmer 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes badgeShimmer {
  0% { left: -100%; }
  30%, 100% { left: 220%; }
}

.c-sns-badge__dot {
  width: 12px;
  height: 12px;
  background: #ff5500;
  border-radius: 50%;
  box-shadow: 0 0 12px #ff5500, 0 0 24px #ff7a1a;
  animation: snsPulse 1.6s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes snsPulse {
  0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 4px #ff5500); }
  50% { transform: scale(1.5); opacity: 0.6; filter: drop-shadow(0 0 12px #ff7a1a); }
}

.c-sns-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.c-sns-desc {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

/* 4-Card Grid */
.c-sns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
}

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

@media (min-width: 1024px) {
  .c-sns-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* SNS Card */
.c-sns-card {
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.9) 0%, rgba(18, 18, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.c-sns-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.c-sns-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Brand-specific Hover Colors & Shadows */
.c-sns-card--youtube:hover {
  box-shadow: 0 20px 40px -15px rgba(255, 0, 0, 0.35);
  border-color: rgba(255, 0, 0, 0.4);
}
.c-sns-card--instagram:hover {
  box-shadow: 0 20px 40px -15px rgba(225, 48, 108, 0.35);
  border-color: rgba(225, 48, 108, 0.4);
}
.c-sns-card--x:hover {
  box-shadow: 0 20px 40px -15px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.c-sns-card--facebook:hover {
  box-shadow: 0 20px 40px -15px rgba(24, 119, 242, 0.35);
  border-color: rgba(24, 119, 242, 0.4);
}

.c-sns-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.c-sns-card__icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.c-sns-card:hover .c-sns-card__icon-box {
  transform: scale(1.08);
}

.c-sns-card--youtube .c-sns-card__icon-box {
  background: rgba(255, 0, 0, 0.12);
  color: #ff3333;
}
.c-sns-card--instagram .c-sns-card__icon-box {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(245, 96, 64, 0.15));
  color: #fa5c7c;
}
.c-sns-card--x .c-sns-card__icon-box {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.c-sns-card--facebook .c-sns-card__icon-box {
  background: rgba(24, 119, 242, 0.12);
  color: #3b82f6;
}

.c-sns-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

.c-sns-card__body {
  margin-bottom: 28px;
}

.c-sns-card__name {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-en);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.c-sns-card__handle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-en);
  margin-bottom: 12px;
}

.c-sns-card__feature {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.c-sns-card__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.c-sns-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s ease;
}

.c-sns-card:hover .c-sns-card__btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.c-sns-card__arrow {
  transition: transform 0.3s ease;
}

.c-sns-card:hover .c-sns-card__arrow {
  transform: translateX(4px);
}

/* =========================================
   Floating SNS Dock (Persistent Sidebar)
   ========================================= */
.c-floating-sns {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* 白背景でも黒背景でも色被りしないニュートラルグレー（すりガラス） */
  background: rgba(85, 92, 105, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 8px;
  border-radius: 40px;
  /* 黒背景で光るインナーリムと、白背景で際立つダークエッジ＋シャドウ */
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.c-floating-sns:hover {
  background: rgba(85, 92, 105, 0.92);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.c-floating-sns__item {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.c-floating-sns__item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.c-floating-sns__item:hover {
  transform: scale(1.12);
  color: #fff;
}

.c-floating-sns__item--youtube:hover {
  background: #ff0000;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.6);
}
.c-floating-sns__item--instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 0 16px rgba(225, 48, 108, 0.6);
}
.c-floating-sns__item--x:hover {
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}
.c-floating-sns__item--facebook:hover {
  background: #1877f2;
  box-shadow: 0 0 16px rgba(24, 119, 242, 0.6);
}

/* Tooltip on hover */
.c-floating-sns__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(14, 14, 16, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.c-floating-sns__item:hover .c-floating-sns__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  /* 携帯・スマホでは本文閲覧や親指のスクロール操作の邪魔にならないよう非表示 */
  .c-floating-sns {
    display: none !important;
  }
}

/* =========================================
   Footer & Mobile Menu SNS Links
   ========================================= */
.c-footer__sns,
.site-footer__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.c-footer__sns-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.c-footer__sns-link svg {
  width: 20px;
  height: 20px;
}

.c-footer__sns-link:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.c-footer__sns-link--youtube:hover {
  background: #ff0000;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}
.c-footer__sns-link--instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.4);
}
.c-footer__sns-link--x:hover {
  background: #000;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}
.c-footer__sns-link--facebook:hover {
  background: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

/* Mobile Menu SNS Wrap */
.c-mobile-menu__sns {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   Video Section, Facade & Modal Popup
   ========================================= */

/* Video Section Base Styling */
.video-summary-section {
  padding: 100px 0;
  background: var(--bg-surface, #121214);
  position: relative;
}

.video-summary-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .video-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-summary-card {
  background: linear-gradient(180deg, rgba(30, 30, 36, 0.7) 0%, rgba(20, 20, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-summary-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(234, 88, 12, 0.15);
}

.video-summary-body {
  padding: 24px 28px 28px;
  flex-grow: 1;
}

.video-summary-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #fff;
}

.video-summary-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Video Embed Wrap / Facade (Lazy Thumbnail + Play Button) */
.video-embed-wrap,
.c-video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  display: block;
  user-select: none;
}

.video-embed-wrap.is-vertical,
.c-video-facade.is-vertical {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  margin: 0 auto;
}

.c-video-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.video-summary-card:hover .c-video-facade__thumb,
.c-video-facade:hover .c-video-facade__thumb {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.c-video-facade__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background 0.3s ease;
}

.video-summary-card:hover .c-video-facade__overlay,
.c-video-facade:hover .c-video-facade__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
}

/* YouTube Style Modern Play Button */
.c-video-facade__play {
  width: 68px;
  height: 48px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.5), 0 0 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.c-video-facade__play svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transform: translateX(1.5px);
}

.video-summary-card:hover .c-video-facade__play,
.c-video-facade:hover .c-video-facade__play {
  transform: scale(1.18);
  background: #ff0000;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.7), 0 0 24px rgba(255, 107, 0, 0.4);
}


/* =========================================
   Video Modal Popup (Cinematic Lightbox)
   ========================================= */
.c-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.c-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.c-video-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.c-video-modal__dialog {
  position: relative;
  z-index: 2;
  width: 92vw;
  max-width: 1040px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(234, 88, 12, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-video-modal.is-open .c-video-modal__dialog {
  transform: scale(1) translateY(0);
}

/* Vertical / Shorts Dialog Styling */
.c-video-modal__dialog.is-vertical {
  width: auto;
  max-width: 480px;
  height: 85vh;
  max-height: 860px;
}

.c-video-modal__player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.c-video-modal__dialog.is-vertical .c-video-modal__player-wrap {
  aspect-ratio: 9 / 16;
  height: 100%;
}

.c-video-modal__player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Close Button */
.c-video-modal__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.c-video-modal__close:hover {
  background: #ea580c;
  border-color: #ea580c;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.6);
}

.c-video-modal__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Top page YouTube card play button badge */
.c-sns-card--youtube .c-sns-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Vertical Reels Carousel (枠付きパネル・傾きパース・5カード無限ループ)
   ========================================================================== */
.c-reels {
  position: relative;
  /* スクロール尺（空白）をしっかり稼ぐ330vhのトラック（コンテンツ完全表示後の空白・余韻を十分に確保） */
  height: 330vh;
  background-color: #000000;
  color: #ffffff;
  border-top: none;
  border-bottom: none;
}

.c-reels__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
  isolation: isolate;
}

/* Scroll-Driven Animated Vector Background (帯・尖った三角形の移動モーション) */
.c-reels__bg-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  background-color: #000000;
}

.c-reels__bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#bgShape1Group {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.04s linear;
}

#bgShape2Group {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.04s linear;
}

.c-reels__inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Header (枠の外) */
.c-reels__header {
  text-align: center;
  margin-bottom: 28px;
}

.c-reels__title {
  font-family: var(--font-en);
  /* 最初から画面横幅一杯の超高解像度ベクターフォントサイズにする（がびがび・ジャギーの完全解消） */
  font-size: clamp(2.4rem, 8.6vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
  mix-blend-mode: difference;
  -webkit-font-smoothing: antialiased;
  position: relative;
  transform-origin: center center;
  display: inline-block;
  white-space: nowrap;
  border: none;
  outline: none;
  text-decoration: none;
}

.c-reels__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: opacity, transform;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Frame Container (見出しを外に出し、スライダー専用に引き締めた角丸枠) */
.c-reels__frame {
  background-color: #f2f5fa;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 20px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  will-change: opacity, transform;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Carousel Outer & Nav Buttons */
.c-reels__carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.c-reels__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 0;
}

.c-reels__nav-btn:hover {
  background: #ffffff;
  color: #ea580c;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.c-reels__nav-btn--prev {
  left: 14px;
}

.c-reels__nav-btn--next {
  right: 14px;
}

/* Swiper 3D Coverflow Container (横の広がりを大きく開放) */
.c-reels__swiper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 16px;
  overflow: hidden;
  perspective: 1200px;
}

.swiper-slide.c-reels__slide {
  width: 335px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  /* Swiperのインラインtransformアニメーションを絶対に阻害しないため、ここにはCSS transitionを指定しない */
}

/* Card Inner & Video (装飾・影・2個隣のフェードアウトを子要素で滑らかにアニメーション) */
.c-reels__card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  background: #0a0c10;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: opacity 0.5s ease, box-shadow 0.5s ease;
  transform: translateZ(0);
  opacity: 0.12; /* 2個隣以降はほとんど見えないようにフェードアウト */
}

/* 1個隣（前後1枚）はしっかり表示 */
.swiper-slide-prev .c-reels__card-inner,
.swiper-slide-next .c-reels__card-inner {
  opacity: 0.88;
}

/* 中央（アクティブ）は100%完全表示＆ハイライト影 */
.swiper-slide-active .c-reels__card-inner {
  opacity: 1;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.c-reels__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #000000;
  transform: translateZ(0);
}

/* Swiper Shadows (3D Coverflow Depth Shadows) */
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  border-radius: 20px;
}

/* Pagination Bullets */
.c-reels__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
}

.c-reels__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
  cursor: pointer;
}

.c-reels__pagination .swiper-pagination-bullet-active {
  width: 24px;
  background: #ea580c;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.45);
}

/* Responsive (Mobile & Tablet) */
@media (max-width: 1024px) {
  .swiper-slide.c-reels__slide {
    width: 270px;
  }
  .c-reels__nav-btn--prev {
    left: 8px;
  }
  .c-reels__nav-btn--next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .c-reels {
    /* 携帯でもsticky固定し、適度なスクロール尺（230vh）でアニメーション＆動画視聴期間を確保 */
    height: 230vh;
    padding: 0;
  }
  .c-reels__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: none;
    border-bottom: none;
    isolation: isolate;
  }
  .c-reels__inner {
    padding: 0 10px;
    width: 100%;
    /* 携帯画面内に完全に収まるよう最大高さを制御 */
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .c-reels__header {
    margin-bottom: 10px;
  }
  .c-reels__title {
    /* 携帯で中央表示時のサイズ（画面幅にフィット） */
    font-size: clamp(1.8rem, 8.4vw, 3rem);
    margin-bottom: 4px;
  }
  .c-reels__lead {
    font-size: 0.8rem;
  }
  .c-reels__frame {
    padding: 14px 6px 10px;
    border-radius: 18px;
    max-width: 100%;
  }
  .swiper-slide.c-reels__slide {
    /* 携帯画面の天地で絶対に上に切れない黄金サイズ */
    width: 58vw;
    max-width: 230px;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
  }
  .c-reels__nav-btn {
    width: 36px;
    height: 36px;
  }
  .c-reels__nav-btn svg {
    width: 16px;
    height: 16px;
  }
  .c-reels__nav-btn--prev {
    left: 2px;
  }
  .c-reels__nav-btn--next {
    right: 2px;
  }
  .c-reels__pagination {
    margin-top: 8px;
    gap: 5px;
  }
}




