@charset "utf-8";

/* =========================================================
   ベース設定
   ========================================================= */
:root {
  --navy:      #0a1a2b;
  --navy-2:    #10293f;
  --navy-3:    #1c3c58;
  --accent:    #1f8fd6;
  --accent-dk: #1874ae;
  --forest:    #2f9161;
  --text:      #1b2733;
  --text-2:    #55677a;
  --line:      #dfe6ed;
  --bg:        #ffffff;
  --bg-soft:   #f3f7fa;
  --header-h:  76px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .7; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 48px, 880px); }

.sp-only { display: none; }

/* =========================================================
   オープニング演出（ローダー）
   ========================================================= */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* 5分割パネル：下から順にせり上がって消える */
.loader__panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.loader__panels span {
  background: var(--navy);
  transform-origin: bottom;
  transition: transform .85s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done .loader__panels span { transform: scaleY(0); }
.loader.is-done .loader__panels span:nth-child(1) { transition-delay: .00s; }
.loader.is-done .loader__panels span:nth-child(2) { transition-delay: .07s; }
.loader.is-done .loader__panels span:nth-child(3) { transition-delay: .14s; }
.loader.is-done .loader__panels span:nth-child(4) { transition-delay: .21s; }
.loader.is-done .loader__panels span:nth-child(5) { transition-delay: .28s; }

.loader__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  transition: opacity .4s ease, transform .6s var(--ease);
}
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-14px); }

.loader__mark {
  width: 56px; height: 56px;
  color: var(--accent);
  margin: 0 auto 18px;
  animation: loaderSpin 3.2s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.loader__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  opacity: 0;
  animation: loaderUp .7s var(--ease) .15s forwards;
}
.loader__sub {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
  opacity: 0;
  animation: loaderUp .7s var(--ease) .3s forwards;
}
@keyframes loaderUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.loader__bar {
  width: 180px;
  height: 2px;
  margin: 26px auto 0;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .35s ease;
}

/* =========================================================
   ページ内遷移ワイプ（メニュー選択時）
   ========================================================= */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.wipe span {
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: bottom;
}
/* 覆う */
.wipe.is-in span {
  animation: wipeIn .5s cubic-bezier(.76, 0, .24, 1) forwards;
}
/* 開く */
.wipe.is-out span {
  transform: scaleY(1);
  transform-origin: top;
  animation: wipeOut .55s cubic-bezier(.76, 0, .24, 1) forwards;
}
.wipe span:nth-child(1) { animation-delay: .00s; }
.wipe span:nth-child(2) { animation-delay: .05s; }
.wipe span:nth-child(3) { animation-delay: .10s; }
.wipe span:nth-child(4) { animation-delay: .15s; }
.wipe span:nth-child(5) { animation-delay: .20s; }

@keyframes wipeIn  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wipeOut { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* =========================================================
   共通パーツ
   ========================================================= */
.label {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.label span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-2);
  position: relative;
  padding-left: 16px;
}
.label span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 1px;
  background: currentColor;
}
.label--light { color: #6fc4f5; }
.label--light span { color: rgba(255,255,255,.65); }

.heading {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
}
.heading--light { color: #fff; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.section__lead {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 15px;
}
.heading--light + .section__lead,
.section--contact .section__lead,
.section--works .section__lead { color: rgba(255,255,255,.75); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); }

.btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }

.btn--ghost { border-color: var(--line); color: var(--text); font-family: "Barlow", sans-serif; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--text { color: #fff; padding-inline: 8px; text-decoration: underline; text-underline-offset: 6px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,43,.75), rgba(10,26,43,0));
  transition: opacity .3s;
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(10,26,43,.08);
}
.header.is-scrolled::before { opacity: 0; }

/* 下スクロールで隠れ、上スクロールで戻る */
.header {
  transform: translateY(0);
  transition: background .3s, box-shadow .3s, transform .45s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }

/* スクロール進捗バー */
.header__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.14);
  opacity: 0;
  transition: opacity .3s;
}
.header.is-scrolled .header__progress { opacity: 1; background: rgba(10,26,43,.08); }
.header__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #6fc4f5);
}

/* 現在地のメニューを強調 */
.gnav__list a {
  position: relative;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.gnav__list a:hover::after,
.gnav__list a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.gnav__list a.is-current { color: var(--accent) !important; }

.header__inner {
  position: relative;
  height: 100%;
  width: min(100% - 40px, 1500px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.header.is-scrolled .logo { color: var(--navy); }
.logo__mark { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__text strong { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.logo__text small {
  font-family: "Barlow", sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  opacity: .7;
}

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; align-items: center; gap: 22px; }
.gnav__list a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.header.is-scrolled .gnav__list a { color: var(--text); }
.gnav__cta { display: flex; align-items: center; gap: 10px; }
.header:not(.is-scrolled) .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.header.is-scrolled .hamburger span { background: var(--navy); }
.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 { background: var(--navy); }
.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); }

/* =========================================================
   1. ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: -8% 0 0;      /* パララックス移動分の余白 */
  height: 116%;
  will-change: transform;
}
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* ゆっくり寄っていくケンバーンズ効果 */
  animation: kenBurns 22s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.16); }
  to   { transform: scale(1); }
}

/* 上空を横切る光のライン */
.hero__beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__beams span {
  position: absolute;
  left: -30%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,208,245,.75), transparent);
  animation: beam 7s linear infinite;
  opacity: 0;
}
.hero__beams span:nth-child(1) { top: 26%; animation-delay: 1.2s; }
.hero__beams span:nth-child(2) { top: 58%; animation-delay: 3.6s; width: 30%; }
.hero__beams span:nth-child(3) { top: 78%; animation-delay: 5.4s; width: 55%; }
@keyframes beam {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: .9; }
  70%  { opacity: .5; }
  100% { transform: translateX(320%); opacity: 0; }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6,18,31,.88) 0%, rgba(6,18,31,.6) 48%, rgba(6,18,31,.25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-top: var(--header-h);
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  color: #8fd0f5;
  margin-bottom: 22px;
  padding-left: 46px;
  position: relative;
}
.hero__eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 34px; height: 1px; background: #8fd0f5;
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
/* 1行ずつマスクの下からせり上がる */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(.22, .78, .27, 1);
}
.is-hero-in .hero__title .line > span { transform: none; }
.hero__lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 2;
}
.hero__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,.75);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.7);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 46px;
  margin: 10px auto 0;
  background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- ヒーロー要素の登場（順番にフェードアップ） ---------- */
.hero [data-hero] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
/* タイトル行はマスク演出を使うので位置移動なし */
.hero__title .line[data-hero] { transform: none; }

.is-hero-in .hero [data-hero] { opacity: 1; transform: none; }

.is-hero-in .hero [data-hero="1"] { transition-delay: .05s; }
.is-hero-in .hero [data-hero="2"] { transition-delay: .18s; }
.is-hero-in .hero [data-hero="3"] { transition-delay: .26s; }
.is-hero-in .hero [data-hero="4"] { transition-delay: .55s; }
.is-hero-in .hero [data-hero="5"] { transition-delay: .66s; }
.is-hero-in .hero [data-hero="6"] { transition-delay: .78s; }
.is-hero-in .hero [data-hero="7"] { transition-delay: .95s; }

/* タイトル行のマスク演出にも同じ間合いを与える */
.is-hero-in .hero__title .line:nth-child(1) > span { transition-delay: .18s; }
.is-hero-in .hero__title .line:nth-child(2) > span { transition-delay: .30s; }

/* =========================================================
   2. 会社紹介
   ========================================================= */
.section--about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
}
.about__body p + p { margin-top: 22px; }
.about__body p { color: var(--text-2); }
.about__points {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.about__points li {
  flex: 1 1 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg-soft);
}
.about__points strong {
  display: block;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
}

/* =========================================================
   実績・事例
   ========================================================= */
.section--works {
  background: var(--navy);
  color: #fff;
  background-image:
    radial-gradient(900px 420px at 12% -10%, rgba(31,143,214,.24), transparent 70%),
    radial-gradient(700px 380px at 92% 108%, rgba(47,145,97,.18), transparent 70%);
}

.works__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.chip {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}

.work {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: #fff;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.work:hover {
  transform: translateY(-6px);
  border-color: rgba(111,196,245,.6);
  background: rgba(255,255,255,.07);
}
.work__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
}
.work__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.work:hover .work__thumb img { transform: scale(1.06); }

/* 素材未設定時のプレースホルダー */
.work__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  letter-spacing: .1em;
  text-align: center;
  padding: 20px;
}

.work__badge {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10,26,43,.72);
  backdrop-filter: blur(4px);
  font-size: 11px;
  letter-spacing: .06em;
}
.work__badge--movie { background: rgba(31,143,214,.9); }

.work__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.work__play span {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background .3s;
}
.work__play span::before {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 17px solid var(--navy);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.work:hover .work__play span { transform: scale(1.1); background: #fff; }

.work__body { padding: 20px 22px 24px; }
.work__cat {
  font-size: 11px;
  letter-spacing: .1em;
  color: #6fc4f5;
  margin-bottom: 8px;
}
.work__title { font-size: 17px; font-weight: 700; line-height: 1.6; }
.work__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.68);
}
.work__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.work__tags li {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.75);
}

.works__note {
  margin-top: 36px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,.55);
}

/* モーダル */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,16,26,.9);
  backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  width: min(100%, 1000px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #0d1f31;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #fff;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 3;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(10,26,43,.7);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.modal__close:hover { background: var(--accent); }
.modal__media { background: #000; }
.modal__media video,
.modal__media img { width: 100%; max-height: 68vh; object-fit: contain; }
.modal__media .placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  line-height: 2;
}
.modal__info { padding: 24px 28px 30px; }
.modal__cat { font-size: 12px; letter-spacing: .1em; color: #6fc4f5; }
.modal__title { margin-top: 8px; font-size: 22px; font-weight: 700; }
.modal__desc { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); }

/* =========================================================
   3. サービス
   ========================================================= */
.section--service { background: var(--bg-soft); }
.service__list { display: flex; flex-direction: column; gap: 28px; }
.service {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 2px 24px rgba(10,26,43,.05);
  border: 1px solid var(--line);
}
.service__num {
  font-family: "Barlow", sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--accent);
}
.service__title {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
}
.service__catch {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.service__text { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.service__uses {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.service__uses h4 {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 12px;
}
.service__uses ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px 20px;
}
.service__uses li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}
.service__uses li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.service__phrase {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--navy);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}
.service__caution {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.9;
}

/* =========================================================
   4. 選ばれる理由
   ========================================================= */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.reason__card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 32px 30px 34px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.reason__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(10,26,43,.08);
}
.reason__num {
  font-family: "Barlow", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: .35;
}
.reason__card h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
.reason__card p:not(.reason__num) {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}
.reason__note { font-size: 12px !important; opacity: .85; }

/* =========================================================
   5. 課題
   ========================================================= */
.section--problem {
  background: var(--navy-2);
  color: #fff;
  background-image: radial-gradient(800px 400px at 80% 0%, rgba(31,143,214,.2), transparent 70%);
}
.problem__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 12px;
}
.problem__list li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}
.problem__list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px; height: 16px;
  border-right: 2.5px solid #6fc4f5;
  border-bottom: 2.5px solid #6fc4f5;
  margin-top: -3px;
}
.problem__closing {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2.1;
  color: rgba(255,255,255,.9);
}

/* =========================================================
   6. 納品物
   ========================================================= */
.section--deliverables { background: var(--bg-soft); }
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.deliverables__card {
  background: #fff;
  border-radius: 12px;
  padding: 34px 32px 38px;
  border: 1px solid var(--line);
}
.deliverables__card h3 {
  font-size: 19px;
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.deliverables__card li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.2;
}
.deliverables__card li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 12px; height: 1px;
  background: var(--accent);
}
.deliverables__note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-2);
}

/* =========================================================
   7. ご依頼の流れ
   ========================================================= */
.flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow__item {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.flow__step {
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #fff;
  background: var(--navy);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
}
.flow__item h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}
.flow__item p:not(.flow__step) {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

/* =========================================================
   8. 料金
   ========================================================= */
.section--price { background: var(--bg); }
.price__box {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.price__head p { margin-top: 18px; color: var(--text-2); font-size: 15px; }
.price__items {
  background: #fff;
  border-radius: 12px;
  padding: 30px 30px 34px;
  border: 1px solid var(--line);
}
.price__items h3 {
  font-size: 15px;
  letter-spacing: .06em;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.price__items li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 2.1;
}
.price__items li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.price__cta {
  margin: 22px 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

/* =========================================================
   9. FAQ
   ========================================================= */
.section--faq { background: var(--bg-soft); }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 62px 22px 58px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q";
  position: absolute;
  left: 24px; top: 21px;
  font-family: "Barlow", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--accent);
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 28px; top: 30px;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq__answer {
  padding: 0 30px 26px 58px;
  position: relative;
}
.faq__answer::before {
  content: "A";
  position: absolute;
  left: 24px; top: 0;
  font-family: "Barlow", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--forest);
}
.faq__answer p { font-size: 15px; color: var(--text-2); }

/* =========================================================
   10. お問い合わせ
   ========================================================= */
.section--contact {
  background: var(--navy);
  color: #fff;
  background-image: radial-gradient(900px 500px at 15% 0%, rgba(31,143,214,.22), transparent 70%);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.contact__direct h3 {
  font-size: 14px;
  letter-spacing: .08em;
  color: #6fc4f5;
  margin-bottom: 8px;
}
.contact__direct h3 + * { margin-bottom: 6px; }
.contact__tel {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: .02em;
}
.contact__hours { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 34px !important; }
.contact__mail { font-size: 18px; font-weight: 500; word-break: break-all; }
.contact__addr {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 2;
}

.contact__form {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 40px);
}
.field { margin-bottom: 20px; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(255,255,255,.9);
}
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background: #c0392b;
  font-size: 10px;
  letter-spacing: .06em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(10,26,43,.5);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10,26,43,.8);
}
.field input.is-error,
.field textarea.is-error { border-color: #e05b4a; }
.field select option { color: #111; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 22px;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

.form__status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  min-height: 1.8em;
}
.form__status.is-error { color: #ff9c8f; }
.form__status.is-ok { color: #8ce0b4; }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  background: #061424;
  color: rgba(255,255,255,.8);
  padding: 68px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer__name { font-size: 21px; font-weight: 700; color: #fff; }
.footer__catch { margin-top: 8px; font-size: 14px; color: #6fc4f5; }
.footer__addr { margin-top: 22px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.6); }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.footer__nav h4 {
  font-size: 13px;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 14px;
}
.footer__nav li { font-size: 13px; line-height: 2.2; color: rgba(255,255,255,.6); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
}
.copyright {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
}

/* =========================================================
   追従CTA（スマホのみ）
   ========================================================= */
.fixed-cta { display: none; }

/* =========================================================
   スクロールアニメーション
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity  .9s var(--ease),
    transform 1s  var(--ease),
    filter    .9s var(--ease);
  filter: blur(4px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 左右から差し込むバリエーション */
.reveal--left  { transform: translate(-42px, 16px); }
.reveal--right { transform: translate( 42px, 16px); }

/* 拡大しながら現れるカード */
.reveal--zoom { transform: translateY(30px) scale(.965); }

/* 見出しはマスクで下からせり上がる
   ※ clip-path を監視対象そのものに掛けると、面積ゼロと判定されて
     IntersectionObserver が発火しなくなるため、必ず子要素側に掛ける */
.reveal--mask {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
.reveal--mask > * {
  clip-path: inset(0 0 105% 0);
  transition: clip-path 1s cubic-bezier(.22, .78, .27, 1);
}
.reveal--mask.is-visible > * {
  clip-path: inset(-.2em -.6em -.25em -.6em);
}
.reveal--mask.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal--mask.is-visible > *:nth-child(3) { transition-delay: .22s; }

/* JSが付与する連続表示のずらし */
.reveal { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .reveal--mask > * { clip-path: none; transition: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__media { inset: 0; height: 100%; }
  .hero__media img { animation: none; }

  .hero__beams,
  .hero__scroll::after,
  .loader__mark { animation: none; }

  .loader { display: none; }
  .wipe { display: none; }

  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .gnav__list { gap: 16px; }
  .gnav__list a { font-size: 13px; }
  .gnav__cta .btn--ghost { display: none; }
}

@media (max-width: 1024px) {
  .about__grid,
  .price__box,
  .contact__grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .sp-only { display: inline; }
  .container, .container--narrow { width: calc(100% - 40px); }

  .hamburger { display: block; }

  .gnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 20px) 28px 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(10,26,43,.15);
  }
  .gnav.is-open { transform: none; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__list li { border-bottom: 1px solid var(--line); }
  .gnav__list a,
  .header.is-scrolled .gnav__list a {
    display: block;
    padding: 16px 4px;
    color: var(--text);
    font-size: 15px;
  }
  .gnav__cta { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .gnav__cta .btn { width: 100%; }
  .gnav__cta .btn--ghost {
    display: inline-flex;
    border-color: var(--line);
    color: var(--text);
  }

  .hero { min-height: 640px; padding: 100px 0 90px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }

  .field--half { grid-template-columns: 1fr; }

  .footer { padding-bottom: 76px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }

  .fixed-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: #fff;
    box-shadow: 0 -2px 18px rgba(10,26,43,.14);
  }
  .fixed-cta a {
    padding: 15px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
  }
  .fixed-cta__tel { color: var(--navy); border-right: 1px solid var(--line); }
  .fixed-cta__form { background: var(--accent); color: #fff; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  /* 「る。」だけが次行に落ちないよう、画面幅に追従させる */
  .hero__title { font-size: clamp(27px, 8vw, 40px); }
  .hero__lead  { font-size: 15px; }
  .works__grid { grid-template-columns: 1fr; }
  .service__uses ul { grid-template-columns: 1fr; }
  .faq__item summary { padding: 18px 48px 18px 50px; font-size: 15px; }
  .faq__answer { padding: 0 22px 22px 50px; }
  .modal { padding: 0; }
  .modal__box { max-height: 100vh; border-radius: 0; height: 100%; }
}
