@charset "UTF-8";
/* =========================================================
   FRAME ONE — Corporate Site
   style.css
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* color */
  --navy-950: #030817;
  --navy-900: #061031;
  --navy-800: #0a1a45;
  --navy-700: #10265e;
  --blue-600: #1b56e8;
  --blue-500: #2f6dff;
  --blue-400: #5b8dff;
  --blue-300: #8fb4ff;
  --sky-200: #cfe0ff;
  --white: #ffffff;
  --ink-900: #0d1b3e;
  --ink-700: #33436b;
  --ink-500: #64749b;
  --line: rgba(255, 255, 255, 0.16);

  /* layout */
  --container: 1240px;
  --gutter: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --header-h: 82px;

  /* typography */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;

  /* effects */
  --shadow-card: 0 18px 40px rgba(2, 8, 26, 0.35);
  --shadow-btn: 0 10px 24px rgba(27, 86, 232, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* PCデザイン(1440px)を基準に、画面幅に応じて全体を等比で縮小する。
     これにより「PCの縮小版」としてタブレット〜スマホでも同じ見た目を保つ。 */
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--white);
  background: var(--navy-950);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

/* セクション背景画像（素材の抽象背景を敷く） */
.section__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 8, 23, 0.55) 0%,
    rgba(3, 8, 23, 0.25) 35%,
    rgba(3, 8, 23, 0.55) 100%
  );
}

/* セクション見出し（S01 ABOUT など） */
.section__label {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--blue-400);
  text-align: center;
  margin-bottom: 34px;
}
.section__label span { margin-left: 0.9em; }

.section__title {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 54px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  padding: 0.95em 2.1em;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(47, 109, 255, 0.55);
}
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.btn--lg { font-size: 1.125rem; padding: 1.15em 3em; }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.header.is-scrolled {
  height: 68px;
  background: rgba(4, 11, 32, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.header__inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__logo { display: flex; align-items: center; }
.header__logo img {
  width: auto;
  height: 52px;
  transition: height 0.35s var(--ease);
}
.header.is-scrolled .header__logo img { height: 44px; }
.header__nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 2px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--white); }

/* ドロワー内のお問い合わせボタン（SPのみ表示） */
.nav__cta { display: none; }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7em 1.6em;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-btn);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(47,109,255,.55); }
.header__cta img { width: 18px; }

/* ハンバーガー */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
  flex: 0 0 auto;
}
.hamburger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero (FV) ---------- */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/frameone_fv_background.png");
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,8,23,.72) 0%, rgba(3,8,23,.3) 55%, rgba(3,8,23,.1) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--sky-200);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.4);
}
.hero__title em { font-style: normal; color: var(--blue-300); }
.hero__sub {
  font-family: var(--font-en);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.7;
  color: var(--blue-300);
  margin-bottom: 26px;
}
.hero__lead {
  font-size: 0.9375rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); }

/* ---------- 7. S01 ABOUT ---------- */
.about__head { max-width: 820px; margin-bottom: 56px; }
.about__title {
  font-size: clamp(1.65rem, 2.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.about__lead { font-size: 0.9375rem; line-height: 2.1; color: rgba(255, 255, 255, 0.88); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.feature {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 34px 30px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(2, 8, 26, 0.5); }
.feature__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-600);
  margin-bottom: 20px;
}
.feature__icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eaf1ff;
  display: grid;
  place-items: center;
}
.feature__icon img { width: 52px; }
.feature__title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-bottom: 14px;
  margin-bottom: 18px;
  position: relative;
}
.feature__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 74px;
  height: 2px;
  background: var(--blue-500);
}
.feature__text {
  font-size: 0.8125rem;
  line-height: 1.95;
  color: var(--ink-700);
  text-align: left;
}

/* ---------- 8. S02 SERVICE ---------- */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin-inline: auto;
}
.service__grid--lower { margin-top: 26px; }
.service-card {
  border: 1px solid rgba(91, 141, 255, 0.55);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(10, 26, 69, 0.7) 0%, rgba(4, 11, 32, 0.7) 100%);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-400);
  box-shadow: 0 22px 44px rgba(27, 86, 232, 0.3);
}
.service-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.service-card__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--blue-400);
  background: rgba(27, 86, 232, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-300);
}
.service-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.service-card__title small { display: block; font-size: 0.8125rem; font-weight: 500; }
.service-card__img { margin: 4px 0 18px; }
.service-card__img img {
  width: 100%;
  max-width: 190px;
  margin-inline: auto;
  border-radius: 10px;
}
.service-card__text {
  margin-top: auto;
  font-size: 0.8125rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.82);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-300);
  border-bottom: 1px solid rgba(143, 180, 255, 0.5);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card__link:hover { color: var(--white); border-color: var(--white); }

/* ---------- 9. S03 WORKS ---------- */
.works-teaser {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(9, 22, 58, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 58px 56px 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
}
.works-teaser__reel {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-45%);
  width: 52%;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.works-teaser__body { position: relative; z-index: 1; }
.works-teaser__text {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}
.works-teaser__visual { position: relative; z-index: 1; }
.works-teaser__visual img { width: 100%; filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.5)); }

/* ---------- 10. S04 FLOW ---------- */
.flow__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.flow-card {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.flow-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(2, 8, 26, 0.5); }
.flow-card__step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.flow-card__num {
  font-family: var(--font-en);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--blue-600);
  line-height: 1;
}
.flow-card__en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-900);
  position: relative;
  padding-left: 18px;
}
.flow-card__en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink-900);
}
.flow-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.flow-card__text { font-size: 0.8125rem; line-height: 1.95; color: var(--ink-700); }
.flow-card__img { margin-top: auto; padding-top: 22px; }
.flow-card__img img { width: 78%; margin-inline: auto; }

/* ---------- 11. S05 CONTACT ---------- */
.contact { text-align: center; padding-bottom: 100px; }
.contact__character { width: 168px; margin: 0 auto 26px; }
.contact__character img { width: 100%; }
.contact__title {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 26px;
}
.contact__title em { font-style: normal; color: var(--blue-400); }
.contact__lead {
  font-size: 0.9375rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 42px;
}

/* お問い合わせフォーム */
.form {
  max-width: 780px;
  margin: 70px auto 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 46px 48px 50px;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.form__note {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 34px;
}
.form__row { margin-bottom: 22px; }
.form__row--half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 9px;
}
.form__req {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--blue-600);
}
.form__req--any { background: rgba(255, 255, 255, 0.2); }
.form__control {
  width: 100%;
  padding: 0.85em 1.05em;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(3, 8, 23, 0.55);
  color: var(--white);
  font-size: 0.9375rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form__control::placeholder { color: rgba(255, 255, 255, 0.38); }
.form__control:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(47, 109, 255, 0.25);
}
.form__control:disabled { opacity: .5; }
select.form__control { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue-300) 50%),
                    linear-gradient(135deg, var(--blue-300) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select.form__control option { background: var(--navy-900); }
textarea.form__control { min-height: 150px; resize: vertical; line-height: 1.9; }
.form__error {
  display: none;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #ff8a8a;
}
.form__row.has-error .form__control { border-color: #ff6b6b; }
.form__row.has-error .form__error { display: block; }
.form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 28px;
  cursor: pointer;
}
.form__privacy input { margin-top: 0.45em; accent-color: var(--blue-500); }
.form__submit { display: flex; justify-content: center; }
.form__thanks {
  display: none;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(47, 109, 255, 0.18);
  border: 1px solid rgba(91, 141, 255, 0.5);
  font-size: 0.875rem;
  text-align: center;
}
.form__thanks.is-visible { display: block; }

/* ---------- 12. Page Hero (下層ページ) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) 0 74px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,8,23,.75) 0%, rgba(3,8,23,.35) 60%, rgba(3,8,23,.1) 100%);
}
.page-hero__inner { display: flex; align-items: center; gap: 32px; }
.page-hero__body { flex: 1 1 auto; }
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.page-hero__lead { font-size: 0.9375rem; line-height: 2.1; color: rgba(255, 255, 255, 0.9); }
.page-hero__character { flex: 0 0 auto; width: 180px; }

/* ---------- 13. Works List ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.filter__btn {
  padding: 0.55em 1.7em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.filter__btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.18); }
.filter__btn.is-active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
}
.work-card { transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.work-card.is-hidden { display: none; }
.work-card__thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #0a1430;
  box-shadow: var(--shadow-card);
}
.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__thumb img { transform: scale(1.06); }
.work-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(3, 8, 23, 0.72);
  border: 1px solid rgba(143, 180, 255, 0.6);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.work-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.work-card__play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  backdrop-filter: blur(3px);
}
.work-card__play span::before {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.work-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.work-card__title i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}
.work-card__client { font-size: 0.8125rem; color: var(--blue-300); margin-bottom: 6px; }
.work-card__type {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-500);
}
.works-empty { display: none; padding: 60px 0; text-align: center; color: rgba(255,255,255,.7); }
.works-empty.is-visible { display: block; }

/* ---------- 14. Company ---------- */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.9375rem;
}
.company-table th,
.company-table td { padding: 22px 30px; text-align: left; vertical-align: middle; }
.company-table th {
  width: 220px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  font-weight: 700;
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.company-table td {
  background: rgba(238, 243, 255, 0.96);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(13, 27, 62, 0.12);
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table td a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.company-table td ul li { line-height: 2.1; }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--navy-950);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 42px;
}
.footer__logo img { width: auto; height: 66px; margin-bottom: 18px; }
.footer__desc { font-size: 0.8125rem; line-height: 2; color: rgba(255, 255, 255, 0.62); max-width: 420px; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 12px 46px;
  margin-left: auto;
}
.footer__nav a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover { color: var(--blue-300); }
.footer__copy {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

/* ---------- 16. Scroll Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-38px); }
.reveal--right { transform: translateX(38px); }
.reveal--zoom { transform: scale(0.94); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 17. Page Top Button ---------- */
.pagetop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: var(--shadow-btn);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg) translate(-2px, 2px);
}

/* =========================================================
   18. Responsive
   1200px 以下は PC レイアウトをそのまま等比縮小（PCの縮小版）
   768px 以下はスマホ用に段組みを1〜2カラムへ再構成
   ========================================================= */

/* --- タブレット〜小型PC：等比縮小 --- */
@media screen and (max-width: 1200px) {
  html { font-size: 15px; }
  :root { --gutter: 26px; --header-h: 74px; }
  .hero { min-height: 660px; }
}

@media screen and (max-width: 1024px) {
  html { font-size: 14px; }
  .section { padding: 90px 0 96px; }
  .header__inner { padding-inline: 22px; gap: 18px; }
  .nav__list { gap: 20px; }
  .works-teaser { padding: 44px 40px 48px; }
  .company-table th { width: 180px; }
}

/* --- スマートフォン --- */
@media screen and (max-width: 768px) {
  html { font-size: 15px; }
  :root { --gutter: 20px; --header-h: 64px; }

  body { line-height: 1.85; }
  .section { padding: 72px 0 76px; }
  .section__title { margin-bottom: 38px; }
  .section__label { margin-bottom: 24px; letter-spacing: 0.26em; }

  /* header */
  /* ▼ 重要：backdrop-filter を持つ要素は position:fixed の子要素の基準になってしまい、
     ドロワーがヘッダーの高さに切り取られる。SPでは blur を使わず不透明背景にする。 */
  .header.is-scrolled {
    background: rgba(4, 11, 32, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hamburger { display: block; margin-left: auto; }
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 110;
    width: min(82vw, 340px);
    height: 100%;
    height: 100dvh;
    padding: calc(var(--header-h) + 30px) 26px 40px;
    background: #060f2b;
    border-left: 1px solid rgba(91, 141, 255, 0.35);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 0;
  }
  .header__nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { width: 100%; }
  .nav__link {
    display: block;
    width: 100%;
    padding: 17px 4px;
    font-size: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .nav__link::after { display: none; }
  .nav__link.is-current { color: var(--blue-300); }
  /* ドロワー内のお問い合わせボタン */
  .nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    padding: 0.95em 1.2em;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-btn);
  }
  .nav__cta img { width: 18px; }
  .header__cta { padding: 0.6em 1.05em; font-size: 0.75rem; }
  .header__cta span { display: none; }
  .header__cta img { width: 17px; }
  .header__logo img { height: 40px; }
  .header.is-scrolled .header__logo img { height: 36px; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 99;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  body.is-nav-open { overflow: hidden; }

  /* hero */
  .hero { min-height: 0; padding: calc(var(--header-h) + 44px) 0 62px; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__title { font-size: 1.9rem; line-height: 1.5; }
  .hero__sub { font-size: 1rem; letter-spacing: 0.16em; }
  .hero__lead { font-size: 0.875rem; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(3,8,23,.78) 0%, rgba(3,8,23,.5) 100%); }

  /* about */
  .about__title { font-size: 1.5rem; }
  .about__grid { grid-template-columns: 1fr; gap: 20px; }
  .feature { padding: 28px 24px 30px; }

  /* service */
  .service__grid { grid-template-columns: 1fr; max-width: 460px; gap: 18px; }
  .service__grid--lower { margin-top: 18px; }
  .service-card__img img { max-width: 168px; }

  /* works teaser */
  .works-teaser { grid-template-columns: 1fr; padding: 34px 24px 38px; text-align: left; }
  .works-teaser__text { font-size: 0.9375rem; margin-bottom: 26px; }
  .works-teaser__reel { width: 88%; left: 4%; opacity: 0.14; }

  /* flow */
  .flow__grid { grid-template-columns: 1fr; gap: 18px; max-width: 460px; margin-inline: auto; }
  .flow-card { flex-direction: row; align-items: center; gap: 18px; padding: 22px 20px; }
  .flow-card__body { flex: 1 1 auto; }
  .flow-card__img { flex: 0 0 92px; padding-top: 0; margin-top: 0; }
  .flow-card__img img { width: 100%; }

  /* contact */
  .contact__character { width: 130px; }
  .contact__title { font-size: 1.6rem; }
  .contact__lead { font-size: 0.875rem; }
  .form { padding: 32px 22px 36px; margin-top: 48px; }
  .form__row--half { grid-template-columns: 1fr; gap: 22px; }

  /* page hero */
  .page-hero { padding: calc(var(--header-h) + 46px) 0 48px; }
  .page-hero__inner { flex-direction: row; align-items: flex-start; }
  .page-hero__title { font-size: 1.85rem; }
  .page-hero__lead { font-size: 0.875rem; }
  .page-hero__character { width: 96px; }

  /* works list */
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .work-card__title { font-size: 0.875rem; margin-top: 12px; gap: 6px; }
  .work-card__client { font-size: 0.75rem; }
  .work-card__play span { width: 44px; height: 44px; }
  .filter { margin-bottom: 30px; gap: 8px; }
  .filter__btn { padding: 0.5em 1.2em; font-size: 0.75rem; }

  /* company */
  .company-table { display: block; font-size: 0.875rem; }
  .company-table tbody,
  .company-table tr { display: block; }
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 14px 18px; }
  .company-table th { letter-spacing: 0.16em; }

  /* footer */
  .footer { padding: 44px 0 26px; }
  .footer__inner { flex-direction: column; gap: 26px; margin-bottom: 30px; }
  .footer__nav { margin-left: 0; gap: 12px 26px; }

  .pagetop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media screen and (max-width: 480px) {
  html { font-size: 14px; }
  .hero__title { font-size: 1.7rem; }
  .works-grid { gap: 22px 12px; }
  .flow-card { flex-direction: column; align-items: flex-start; }
  .flow-card__img { flex: none; width: 60%; margin-inline: auto; padding-top: 14px; }
}
