/* =========================================
   Dreadnought — Business Video Editing HP
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');

:root {
  --navy-900: #0A2540;
  --navy-800: #12224A;
  --navy-700: #1E3A8A;
  --navy-100: #E7ECF3;
  --blue-400: #6CA0FF;
  --red:      #FF0000;
  --white:    #ffffff;
  --gray-700: #48576E;
  --gray-500: #8897AE;
  --gray-200: #D7DEEA;
  --gray-100: #F2F5FA;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(10,37,64,.08);
  --shadow-md: 0 12px 30px rgba(10,37,64,.12);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.18);

  --font-jp: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --easing: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Lenis smooth scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll progress bar (top of viewport) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--red);
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255,0,0,.55);
}

/* =========================================
   LOADER
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__inner {
  width: min(80%, 420px);
  text-align: center;
}
.loader__logo {
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .8s var(--easing) forwards .1s;
}
.loader__bar {
  margin-top: 22px;
  height: 2px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  border-radius: 2px;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--red);
  animation: loadBar 1.6s var(--easing) forwards .2s;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 70px;
  overflow: visible;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.header.is-scrolled,
body:not([data-page="home"]) .header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0 36px;
  height: 70px;
}
.header__logo img { height: 150px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
}
.header__nav a {
  color: var(--navy-900);
  transition: color .2s ease;
}
.header__nav a:hover { color: var(--red); }
.header__cta {
  padding: 10px 18px;
  background: var(--navy-900);
  color: var(--white) !important;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.header__cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}
.header__burger {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 28px;
  position: relative;
  cursor: pointer;
}
.header__burger span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--navy-900);
  transition: transform .3s ease, top .3s ease, opacity .2s ease;
}
.header__burger span:nth-child(1) { top: 4px; }
.header__burger span:nth-child(2) { top: 13px; }
.header__burger span:nth-child(3) { top: 22px; }
.header.is-open .header__burger span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.header.is-open .header__burger span:nth-child(2) { opacity: 0; }
.header.is-open .header__burger span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #F7F9FD 0%, #EBF1FA 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(108,160,255,.2), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(255,0,0,.08), transparent 35%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 40%, transparent 85%);
          mask-image: radial-gradient(ellipse at 30% 50%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  grid-column: 1;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--red);
  margin-bottom: 26px;
  opacity: 0;
  padding: 7px 16px 7px 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255,0,0,.15);
  animation: heroDot 1.8s ease-in-out infinite;
}
@keyframes heroDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,0,0,.15); }
  50%      { box-shadow: 0 0 0 8px rgba(255,0,0,0); }
}

.hero__title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(40px, 7.4vw, 92px);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 32px;
  color: var(--navy-900);
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-right: 0.1em;
}
.hero__title-word > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
  white-space: nowrap;
}
.hero__title-word--accent > span {
  color: var(--red);
  position: relative;
}
.hero__sub {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 36px;
  opacity: 0;
  max-width: 560px;
  line-height: 1.95;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  margin-bottom: 60px;
}
.btn--arrow {
  gap: 10px;
}
.btn--arrow svg {
  transition: transform .3s var(--easing);
}
.btn--arrow:hover svg {
  transform: translateX(4px);
}

.hero__meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(10,37,64,.12);
  max-width: 560px;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__meta-num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.hero__meta-num em {
  font-style: normal;
  color: var(--red);
  font-size: 22px;
  margin-left: 2px;
}
.hero__meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .1em;
}
.hero__scene {
  position: relative;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}
.iso-scene { width: 100%; height: auto; }

/* Idle float animation for the whole scene */
.iso-scene {
  animation: isoFloat 6s ease-in-out infinite;
}
@keyframes isoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.iso-timeline polygon {
  transform-origin: center;
  animation: tlPulse 3s ease-in-out infinite;
}
.iso-timeline polygon:nth-child(1) { animation-delay: 0s; }
.iso-timeline polygon:nth-child(2) { animation-delay: .3s; }
.iso-timeline polygon:nth-child(3) { animation-delay: .6s; }
.iso-timeline polygon:nth-child(4) { animation-delay: .9s; }
@keyframes tlPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
.iso-steam path {
  opacity: .0;
  animation: steamRise 3s ease-in-out infinite;
}
.iso-steam path:nth-child(2) { animation-delay: 1s; }
@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(6px); }
  30%  { opacity: .8; }
  100% { opacity: 0; transform: translateY(-8px); }
}
.iso-play ellipse { filter: drop-shadow(0 0 0 rgba(255,0,0,0)); animation: playGlow 2s ease-in-out infinite; }
@keyframes playGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,0,0,0)); }
  50%      { filter: drop-shadow(0 0 12px rgba(255,0,0,.6)); }
}

.hero__scroll-hint {
  position: absolute;
  left: 36px;
  bottom: 28px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gray-500);
  z-index: 2;
}
.hero__scroll-line {
  margin-top: 8px;
  width: 1px;
  height: 60px;
  background: var(--gray-500);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-900);
  transform: translateY(-100%);
  animation: scrollHint 2s var(--easing) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* =========================================
   PAGE HEAD (sub-pages)
   ========================================= */
.page-head {
  position: relative;
  padding: 160px 36px 80px;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}
/* Per-page background images (drop files into /assets/page-heads/).
   Missing images gracefully fall back to the navy color above. */
body[data-page="about"]   .page-head { background-image: url('../assets/page-heads/about.jpg'); }
body[data-page="works"]   .page-head { background-image: url('../assets/page-heads/works.jpg'); }
body[data-page="service"] .page-head { background-image: url('../assets/page-heads/service.jpg'); }
body[data-page="price"]   .page-head { background-image: url('../assets/page-heads/price.jpg'); }
body[data-page="flow"]    .page-head { background-image: url('../assets/page-heads/flow.jpg'); }
body[data-page="contact"] .page-head { background-image: url('../assets/page-heads/contact.jpg'); }

/* Navy gradient overlay — keeps text readable on top of any image */
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,37,64,.86) 0%, rgba(30,58,138,.66) 60%, rgba(10,37,64,.92) 100%),
    radial-gradient(circle at 85% 20%, rgba(108,160,255,.15), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(255,0,0,.12), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
/* Corner stripe accent */
.page-head::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  background:
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.05) 75%, transparent 75%);
  background-size: 18px 18px;
  opacity: .6;
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 2;
}
.page-head__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
}
.page-head__bread {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-head__bread a {
  color: rgba(255,255,255,.8);
  transition: color .2s ease;
}
.page-head__bread a:hover { color: var(--red); }
.page-head__bread span[aria-hidden] { color: rgba(255,255,255,.4); }

.page-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--red);
  margin-bottom: 18px;
  opacity: 0;
  text-transform: uppercase;
}
.page-head__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.page-head__title {
  font-weight: 900;
  font-size: clamp(38px, 5.2vw, 66px);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 22px;
  opacity: 0;
}
.page-head__lead {
  max-width: 640px;
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.95;
  opacity: 0;
}
.page-head__lead a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.5);
  transition: border-color .2s ease, color .2s ease;
}
.page-head__lead a:hover { color: var(--red); border-color: var(--red); }

/* Active nav indicator */
.header__nav a.is-active { color: var(--red); }
.header__nav a.header__cta.is-active {
  background: var(--red);
  color: var(--white) !important;
}

/* =========================================
   NAV CARDS (Home)
   ========================================= */
.nav-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.nav-card {
  position: relative;
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--easing), border-color .3s ease, box-shadow .35s ease;
  color: var(--navy-900);
}
.nav-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.nav-card__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--red);
}
.nav-card h3 {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  margin: 12px 0 4px;
  letter-spacing: -.01em;
}
.nav-card p {
  font-size: 13px;
  color: var(--gray-700);
}
.nav-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 22px;
  color: var(--navy-900);
  transition: transform .3s var(--easing), color .2s ease;
}
.nav-card:hover .nav-card__arrow {
  transform: translateX(6px);
  color: var(--red);
}
.nav-card--cta {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.nav-card--cta p { color: rgba(255,255,255,.75); }
.nav-card--cta .nav-card__arrow { color: var(--white); }
.nav-card--cta:hover { background: var(--red); border-color: var(--red); box-shadow: 0 14px 40px rgba(255,0,0,.3); }
.nav-card--cta:hover .nav-card__arrow { color: var(--white); }

/* =========================================
   BOTTOM CTA
   ========================================= */
/* ====== THUMBNAIL COLLECTION ====== */
.thumb-collection-section { padding-top: 0; margin-top: -60px; }
.thumb-collection {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.thumb-collection img {
  width: 100%;
  height: auto;
  display: block;
}

.bottom-cta {
  max-width: var(--container);
  padding: 80px 36px 120px;
}
.bottom-cta__inner {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, var(--gray-100) 0%, #EBF1FA 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.bottom-cta__inner h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--navy-900);
  line-height: 1.3;
}
.bottom-cta__inner p {
  color: var(--gray-700);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================
   FOOTER NAV
   ========================================= */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}
.footer__nav a {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.75);
  padding-left: 0;
  transition: color .25s ease, padding-left .25s var(--easing);
}
.footer__nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--red);
  transform: translateY(-50%);
  transition: width .25s var(--easing);
}
.footer__nav a:hover {
  color: var(--white);
  padding-left: 28px;
}
.footer__nav a:hover::before {
  width: 20px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  transition: transform .25s var(--easing), background .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer;
  border: 0;
}
.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10,37,64,.2);
}
.btn--primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,0,0,.35);
}
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn--ghost:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
}
.btn--large {
  padding: 18px 44px;
  font-size: 16px;
}

/* =========================================
   SECTION (shared)
   ========================================= */
.section {
  padding: 120px 36px;
  max-width: var(--container);
  margin: 0 auto;
}
.section__head {
  text-align: center;
  margin-bottom: 76px;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--red);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.section__title {
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 60px);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.section__lead {
  margin: 22px auto 0;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.95;
  max-width: 620px;
}

/* =========================================
   ABOUT
   ========================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 64px;
  align-items: start;
}
.about__text p { margin-bottom: 22px; color: var(--gray-700); font-size: 17px; line-height: 1.9; }
.about__text p:first-child {
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 700;
}

.about__stats {
  display: grid;
  gap: 18px;
}
.stat {
  padding: 28px 28px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  border: 1px solid transparent;
  transition: transform .3s var(--easing), border-color .3s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--navy-900);
}
.stat__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -.03em;
}
.stat__num em {
  font-size: 0.45em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: baseline;
}
.stat__label {
  font-weight: 800;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-700);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stat__small {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* =========================================
   WORKS
   ========================================= */
.works { max-width: 1240px; }

/* Editorial subtitle (横型 / 縦型) */
.works__subtitle {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .12em;
  color: var(--navy-900);
  text-transform: uppercase;
  margin: 80px 0 36px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.works__subtitle::before {
  content: '';
  width: 42px;
  height: 3px;
  background: var(--red);
  flex-shrink: 0;
}
.works__subtitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.works__subtitle:first-of-type { margin-top: 0; }

/* Grid */
.works__grid {
  display: grid;
  gap: 32px;
}
.works__grid--horizontal {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.works__grid--vertical {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
}

/* Dim siblings on hover — focus on the one being looked at */
.works__grid:hover .work-card {
  opacity: 0.45;
  transition: opacity .35s ease, transform .45s var(--easing);
}
.works__grid:hover .work-card:hover {
  opacity: 1;
}

/* Card — overflow:visible so the external arrow badge can sit outside */
.work-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  transition: transform .45s var(--easing);
}
.work-card:hover {
  transform: translateY(-8px);
}

.work-card__thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.work-card__thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Custom poster thumbnail */
.work-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--easing);
  pointer-events: none;
  z-index: 1;
}
.work-card:hover .work-card__poster {
  transform: scale(1.04);
}

/* Play button overlay sits above the poster */
.work-card__thumb::before,
.work-card__thumb::after {
  z-index: 2;
  pointer-events: none;
}

/* Play button overlay */
.work-card__thumb {
  text-decoration: none;
}
.work-card__thumb--v {
  aspect-ratio: 9 / 16;
}
.work-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.6);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .1em;
}

/* Play button image */
.work-card__thumb::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 100px; height: 100px;
  background: url("../assets/play-button.png") center / contain no-repeat;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .32s var(--easing), filter .32s ease;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
}
.work-card:hover .work-card__thumb::after {
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.45));
}

.work-card__thumb {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(10,37,64,.12);
  transition: box-shadow .45s var(--easing);
}
.work-card:hover .work-card__thumb {
  box-shadow: 0 22px 55px rgba(10,37,64,.25);
}
.work-card__title {
  padding: 22px 4px 6px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--navy-900);
  transition: color .3s ease;
}
.work-card:hover .work-card__title {
  color: var(--red);
}
.work-card__tag {
  padding: 0 4px 4px;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.work-card__note {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(255,0,0,.08);
  color: var(--red);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

/* =========================================
   SERVICE
   ========================================= */
.service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform .35s var(--easing), border-color .25s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  width: 80px; height: 80px;
  margin-bottom: 22px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.4;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.85;
}

/* =========================================
   PRICE
   ========================================= */
.price__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.price__grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.price-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--easing), box-shadow .35s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Colored header band */
.price-card__header {
  padding: 20px 16px;
  text-align: center;
}
.price-card__header h3 {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1.3;
  margin: 0;
}
.price-card__header--blue {
  background: linear-gradient(135deg, #2E5AC9 0%, #1E3A8A 100%);
}
.price-card__header--navy {
  background: linear-gradient(135deg, #1B2F55 0%, #0A2540 100%);
}

.price-card__body {
  padding: 28px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.price-card__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 38px;
  color: var(--navy-900);
  line-height: 1;
  text-align: center;
  margin: 4px 0 14px;
  letter-spacing: -.02em;
}
.price-card__num--accent { color: var(--red); }
.price-card__unit {
  display: inline-block;
  font-size: 13px;
  color: inherit;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
}
.price-card__desc {
  font-size: 12.5px;
  color: var(--gray-700);
  line-height: 1.75;
  text-align: center;
  padding: 0 2px 18px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
  flex: 1;
  /* 日本語の折り返しを語句単位に (対応ブラウザのみ。非対応ではデフォルト動作) */
  word-break: auto-phrase;
  line-break: strict;
}

/* Spec list */
.price-spec {
  margin-bottom: 20px;
}
.price-spec__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 13px;
}
.price-spec__row:last-child { border-bottom: 0; }
.price-spec__row dt {
  font-weight: 700;
  color: var(--gray-500);
  font-size: 11.5px;
  padding-top: 2px;
  letter-spacing: .02em;
}
.price-spec__row dd {
  color: var(--navy-900);
  font-weight: 700;
}
.price-spec__ok {
  color: var(--red) !important;
  font-size: 16px;
  line-height: 1;
}
.price-spec__note {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--gray-500);
  font-weight: 500;
}

.price-card__cta {
  width: 100%;
  padding: 12px 16px;
  font-size: 13px;
}

/* =========================================
   FLOW
   ========================================= */
.flow__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  padding: 36px 28px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--easing), background .3s ease;
}
.flow-step:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.flow-step__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
  letter-spacing: -.03em;
}
.flow-step h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.005em;
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.85;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { max-width: 780px; }
.contact__form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact__form label {
  display: block;
  margin-bottom: 20px;
}
.contact__form label > span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.contact__form label em {
  color: var(--red);
  font-style: normal;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 4px rgba(10,37,64,.08);
}
.contact__form textarea { resize: vertical; }

.contact__note {
  text-align: center;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 14px;
  font-weight: 600;
}

.contact__thanks {
  margin-top: 24px;
  padding: 44px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  animation: thanksIn .6s var(--easing) both;
}
.contact__thanks-icon { margin-bottom: 18px; display: inline-block; }
.contact__thanks h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}
.contact__thanks p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.8;
}
.contact__thanks small { color: var(--gray-500); font-size: 12px; }
@keyframes thanksIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 80px 36px 36px;
  position: relative;
  overflow: hidden;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

/* ---- Main grid ---- */
.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer__brand { max-width: 360px; }
.footer__logo {
  height: auto;
  width: 200px;
  margin: 40px 0 6px -12px;
}
.footer__tagline {
  font-size: 14px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
}
.footer__email {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 3px;
  letter-spacing: .02em;
  transition: color .25s ease, border-color .25s ease;
}
.footer__email:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---- Giant brand mark ---- */
.footer__mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(80px, 22vw, 320px);
  line-height: .88;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.05);
  text-align: right;
  margin: 0 -120px 36px 0;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* ---- Bottom line ---- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy,
.footer__made {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
  margin: 0;
  text-transform: uppercase;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1080px) {
  .price__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { padding: 120px 24px 80px; min-height: auto; grid-template-columns: 1fr; }
  .hero__inner { grid-column: 1; max-width: 100%; }
  .hero__scene {
    grid-column: 1;
    width: 100%;
    max-width: 460px;
    margin: 40px auto 0;
  }
  .hero__title { font-size: 8vw; line-height: 1.15; }
  .hero__title .hero__title-line { white-space: nowrap; }
  .hero__title .hero__title-word { white-space: nowrap; }
  .hero__meta { gap: 28px; padding-top: 22px; margin-top: 4px; }
  .hero__meta-num { font-size: 28px; }
  .hero__meta-num em { font-size: 18px; }
  .hero__grid { background-size: 40px 40px; }
  .section { padding: 90px 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 32px 24px; }

  .header { padding: 14px 20px; }
  .header.is-scrolled { padding: 10px 20px; }
  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .header.is-open .header__nav { opacity: 1; visibility: visible; }
  .header__burger { display: block; z-index: 101; }
}

@media (max-width: 720px) {
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .price__grid--four { grid-template-columns: 1fr; }
  .footer { padding: 60px 24px 28px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ====== VIDEO MODAL ====== */
.yt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--easing);
}
.yt-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.yt-modal-box {
  position: relative;
  width: min(880px, 92vw);
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  transform: scale(.92);
  transition: transform .28s var(--easing);
}
.yt-modal-overlay.is-open .yt-modal-box { transform: scale(1); }
.yt-modal-box--vertical {
  aspect-ratio: 9/16;
  width: min(360px, 60vw);
}
.yt-modal-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.yt-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: .8;
  transition: opacity .15s;
}
.yt-modal-close:hover { opacity: 1; }
