/* =========================================================
   Narukami rec — style.css
   モバイルファースト。幅 768px / 1080px で段階的に拡張。
   ========================================================= */

:root {
  --bg: #0b0c10;
  --bg-2: #121319;
  --ink: #ece8e6;
  --ink-2: #c9c4c8;
  --muted: #8f8b96;
  --line: rgba(236, 232, 230, 0.14);
  --pink: #efc2c9;
  --mauve: #c2a6c2;
  --blue: #7b91b6;
  --grad: linear-gradient(100deg, var(--pink) 0%, var(--mauve) 48%, var(--blue) 100%);

  --f-en: "Antonio", "Arial Narrow", sans-serif;
  --f-min: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  /* 行き過ぎ(跳ね)のない、静かに止まるイージング */
  --ease-calm: cubic-bezier(.16, 1, .3, 1);
  /* 下からスライドする量(スマホは PC の半分。768px 以上で上書き) */
  --rise: 12px;
  --rise-card: 20px;
  --rise-hero: 11px;
  --rise-lead: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 背景のグラデーション。ほとんど気づかない速さで漂わせる(transform のみ) */
body::before {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  inset: -25%;
  background:
    radial-gradient(38% 32% at 22% 30%, rgba(239, 194, 201, .07), transparent 70%),
    radial-gradient(42% 36% at 78% 72%, rgba(123, 145, 182, .08), transparent 70%);
  will-change: transform;
  animation: drift 48s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, -3%, 0); }
  to   { transform: translate3d(4%, 3%, 0); }
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--pink); outline-offset: 4px; }
::selection { background: var(--mauve); color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 8px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between;
}
/* スクロール後の半透明背景。別レイヤーに置き opacity だけで切り替える
   (ヘッダー本体に backdrop-filter を掛けると、スマホのメニューがヘッダー内に閉じ込められるため) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(11, 12, 16, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.brand { position: relative; z-index: 2; display: block; }
.brand img { width: 118px; height: auto; }

.menu-btn {
  position: relative; z-index: 2;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; left: 19px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(35deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; left: 11px; transform: rotate(-35deg); }

.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 12, 16, .96);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav ul { text-align: center; }
.nav li { overflow: hidden; }
.nav a {
  display: inline-block;
  font-family: var(--f-en); font-weight: 100;
  font-size: 54px; line-height: 1.3; letter-spacing: .06em;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform .6s var(--ease), color .3s;
}
.nav.is-open a { transform: none; }
.nav.is-open li:nth-child(2) a { transition-delay: .05s; }
.nav.is-open li:nth-child(3) a { transition-delay: .1s; }
.nav.is-open li:nth-child(4) a { transition-delay: .15s; }
.nav a { position: relative; }
.nav a:hover { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* 今いるセクションの下線(scaleX のみで伸ばす) */
.nav a::after {
  content: ""; position: absolute; left: 0; right: .06em; bottom: 6px; height: 1px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-calm);
}
.nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000; }
/* 黒から背景動画をフェードイン */
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease-out;
}
.hero-video.is-ready { opacity: 1; }
.hero-media::before,
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* 暗めのビネット＋下部の締め */
.hero-media::before {
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(11,12,16,.45) 0%, rgba(11,12,16,.05) 30%, rgba(11,12,16,.25) 65%, var(--bg) 100%);
}
/* ピンク〜ブルーの色かぶせ */
.hero-media::after {
  z-index: 2;
  background: linear-gradient(140deg, rgba(239,194,201,.55), rgba(123,145,182,.55));
  mix-blend-mode: soft-light;
}

.hero-inner {
  position: relative; height: 100%;
  padding: calc(var(--header-h) + 28px) var(--gutter) 128px;
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-catch {
  align-self: flex-end;
  writing-mode: vertical-rl;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(26px, 7.4vw, 44px);
  line-height: 1.9; letter-spacing: .32em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* キャッチコピー:1行ずつ下からふわっと(.hero.is-start で開始) */
.hero-catch span {
  display: block;
  opacity: 0; transform: translate3d(0, var(--rise-hero), 0);
}
.hero-catch span:nth-child(2) { margin-inline-start: 1.6em; }
.hero-catch span:nth-child(3) { margin-inline-start: 3.2em; }
.hero.is-start .hero-catch span { animation: rise 1.8s var(--ease-calm) forwards; }
.hero.is-start .hero-catch span:nth-child(1) { animation-delay: .6s; }
.hero.is-start .hero-catch span:nth-child(2) { animation-delay: 1.0s; }
.hero.is-start .hero-catch span:nth-child(3) { animation-delay: 1.4s; }

.hero-foot { max-width: 30em; }
.hero-lead {
  font-family: var(--f-min);
  font-size: 13.5px; line-height: 2.1; letter-spacing: .08em;
  color: var(--ink-2);
  opacity: 0; transform: translate3d(0, var(--rise-lead), 0);
}
.hero.is-start .hero-lead { animation: rise 1.6s var(--ease-calm) 2.2s forwards; }
.hero-lead::before {
  content: ""; display: block; width: 48px; height: 1px; margin-bottom: 18px;
  background: var(--grad);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-en); font-weight: 200; font-size: 11px; letter-spacing: .3em;
  text-decoration: none; color: var(--ink-2);
  opacity: 0;
}
.hero.is-start .scroll-cue { animation: fade 1.6s ease-out 2.8s forwards; }
/* 細い線のレールの中を、光の線がゆっくり上下する */
.cue-line {
  position: relative; display: block; overflow: hidden;
  width: 1px; height: 48px;
  background: rgba(236, 232, 230, .18);
}
.cue-line::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 1px; height: 18px;
  background: linear-gradient(transparent, var(--ink), transparent);
  will-change: transform;
  animation: cue 2.8s ease-in-out infinite alternate;
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes cue {
  from { transform: translate3d(0, -6px, 0); }
  to   { transform: translate3d(0, 36px, 0); }
}

/* ---------- Section common ---------- */
.section { position: relative; padding: 96px 0; scroll-margin-top: 0; }
.sec-title { margin-bottom: 40px; }
.title-img {
  display: block;
  height: clamp(54px, 15vw, 104px);
  background: var(--grad);
  -webkit-mask: no-repeat left center / contain;
  mask: no-repeat left center / contain;
}
.t-works { -webkit-mask-image: url("../img/h-works.png"); mask-image: url("../img/h-works.png"); aspect-ratio: 408 / 252; }
.t-service { -webkit-mask-image: url("../img/h-service.png"); mask-image: url("../img/h-service.png"); aspect-ratio: 494 / 238; }
.t-about { -webkit-mask-image: url("../img/h-about.png"); mask-image: url("../img/h-about.png"); aspect-ratio: 368 / 253; }
.t-contact { -webkit-mask-image: url("../img/h-contact.png"); mask-image: url("../img/h-contact.png"); aspect-ratio: 517 / 238; }

.sec-lead {
  font-family: var(--f-min); font-size: 16px; line-height: 2;
  margin-bottom: 40px;
}

.sub-title {
  display: flex; align-items: baseline; gap: 14px;
  margin: 72px 0 28px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.sub-title .en {
  font-family: var(--f-en); font-weight: 200; font-size: 30px; line-height: 1.25; padding-bottom: .04em; letter-spacing: .06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub-title .ja { font-size: 12px; color: var(--muted); letter-spacing: .12em; }

/* 見出し:下から幕が上がるように(clip-path) */
.js .curtain .title-img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-calm);
}
.js .curtain.is-in .title-img { clip-path: inset(0 0 0 0); }

/* スクロールで現れる要素(opacity + transform のみ)。
   順番の遅れは JS が transition-delay で付ける(768px 以上の横並びのときだけ) */
.js .reveal {
  opacity: 0; transform: translate3d(0, var(--rise), 0);
  transition: opacity 1.2s var(--ease-calm), transform 1.2s var(--ease-calm);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Works ---------- */
.works-grid { display: grid; gap: 40px; }
.work-btn {
  display: block; width: 100%; padding: 0; text-align: left;
  background: none; border: 0; cursor: pointer;
}
.work-btn { -webkit-tap-highlight-color: transparent; }
.work-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-2);
  transition: scale .45s var(--ease-calm);
}
/* タップした瞬間に少し縮む「押した感触」(タッチ操作のみ。JS が .is-pressed を付ける) */
.work-thumb.is-pressed { scale: .96; transition-duration: .12s; }
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92);
  transition: transform 1.4s var(--ease-calm);
}
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,12,16,.55));
}
.play {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(236,232,230,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  background: rgba(11,12,16,.25);
  transition: transform .8s var(--ease-calm), opacity .8s var(--ease-calm);
}
.play::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  border-style: solid; border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--ink);
  transform: translate(-35%, -50%);
}
.work-meta {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px;
  padding-top: 16px;
}
.work-no {
  grid-row: span 2;
  font-family: var(--f-en); font-weight: 100; font-size: 34px; line-height: 1.15;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.work-cat { font-size: 11px; color: var(--muted); letter-spacing: .14em; line-height: 1.4; }
.work-title { font-family: var(--f-min); font-size: 16px; line-height: 1.6; }

/* マウス操作の端末:ホバーで画像を 1.05 倍、再生ボタンが浮かび上がる。
   タッチ端末では再生ボタンを常に表示 */
@media (hover: hover) {
  .play { opacity: 0; transform: translate3d(0, 10px, 0); }
  .work-btn:hover .work-thumb img,
  .work-btn:focus-visible .work-thumb img { transform: scale(1.05); }
  .work-btn:hover .play,
  .work-btn:focus-visible .play { opacity: 1; transform: none; }
}

/* ---------- Service ---------- */
.scope {
  margin: 0 0 64px;
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
}
.scope img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }

.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc {
  position: relative;
  padding: 28px 0 30px 56px;
  border-bottom: 1px solid var(--line);
}

/* カードのホバー:少し浮かせて影を付ける。
   浮きは translate(transform 系)、影と面は疑似要素の opacity で出す */
.svc, .plan { isolation: isolate; }
.svc::after, .plan::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0;
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px var(--plan-c, rgba(194, 166, 194, .12));
  opacity: 0;
  transition: opacity .7s var(--ease-calm);
}
.svc::after { inset: 0 -14px; }
.svc, .plan { -webkit-tap-highlight-color: transparent; }
.js .svc.reveal, .js .plan.reveal {
  transform: translate3d(0, var(--rise-card), 0);
  transition: opacity 1.2s var(--ease-calm), transform 1.2s var(--ease-calm), translate .7s var(--ease-calm), scale .45s var(--ease-calm);
}
.js .svc.reveal.is-in, .js .plan.reveal.is-in { transform: none; }
/* タップした瞬間に少し縮む */
.js .svc.is-pressed, .js .plan.is-pressed {
  scale: .97;
  transition: opacity 1.2s var(--ease-calm), transform 1.2s var(--ease-calm), translate .7s var(--ease-calm), scale .12s var(--ease-calm);
}
@media (hover: hover) {
  .svc:hover, .plan:hover { translate: 0 -6px; }
  .svc:hover::after, .plan:hover::after { opacity: 1; }
}
.svc-no {
  position: absolute; left: 0; top: 28px;
  font-family: var(--f-en); font-weight: 100; font-size: 30px; line-height: 1;
  color: var(--mauve);
}
.svc-title { font-family: var(--f-min); font-weight: 500; font-size: 19px; letter-spacing: .1em; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: 14px; }

.plans { display: grid; gap: 16px; }
.plan {
  position: relative;
  padding: 28px 24px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--plan-c, var(--line));
}
/* プランごとの枠の色(グラデーションの色から。プロフェッショナルはグラデーション枠) */
.plan--photo    { --plan-c: rgba(236, 168, 182, .85); } /* ピンク */
.plan--stream   { --plan-c: rgba(184, 156, 214, .85); } /* ラベンダー */
.plan--standard { --plan-c: rgba(126, 156, 204, .9); }  /* くすんだ青 */
.plan--feature { border-color: transparent; }
.plan--feature::before {
  content: ""; position: absolute; inset: 0; padding: 1px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan-name { font-family: var(--f-min); font-weight: 500; font-size: 16px; letter-spacing: .12em; }
.plan-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
  margin: 12px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.plan-price .yen { font-family: var(--f-en); font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: .02em; }
.plan-price .range { font-family: var(--f-en); font-weight: 300; font-size: 22px; letter-spacing: .02em; }
.plan-price .range .tax { font-family: var(--f-body); }
.plan-price .tax { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.plan-items li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-2);
}
.plan-items li + li { margin-top: 4px; }
.plan-items li::before {
  content: ""; position: absolute; left: 0; top: .9em;
  width: 6px; height: 1px; background: var(--mauve);
}

.notes { margin-top: 28px; font-size: 12.5px; color: var(--muted); line-height: 2; }

.info-cols { display: grid; gap: 0; }
.policy > div, .gear > div {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.policy dt { font-size: 14px; color: var(--ink-2); }
.policy dd { font-size: 13px; color: var(--ink-2); text-align: right; white-space: nowrap; }
.policy strong { font-family: var(--f-en); font-weight: 300; font-size: 22px; color: var(--ink); margin-left: 4px; letter-spacing: .04em; }
.policy > div:last-child strong { font-family: var(--f-body); font-weight: 500; font-size: 15px; }

.gear > div { grid-template-columns: 88px 1fr; }
.gear dt {
  font-family: var(--f-en); font-weight: 300; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mauve);
}
.gear dd { font-family: var(--f-en); font-weight: 300; font-size: 18px; letter-spacing: .06em; line-height: 1.6; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, transparent 0%, rgba(18, 19, 25, .7) 40%, transparent 100%); }
.about-grid { display: grid; gap: 40px; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; max-height: 70vh; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.9); }
.role {
  font-family: var(--f-en); font-weight: 300; font-size: 13px; letter-spacing: .4em;
  color: var(--mauve);
}
.person {
  font-family: var(--f-en); font-weight: 100;
  font-size: clamp(44px, 13vw, 76px); line-height: 1.05; letter-spacing: .02em;
  margin: 8px 0 22px;
}
.bio { font-family: var(--f-min); font-size: 15px; line-height: 2.1; color: var(--ink-2); }
.about .sub-title { margin-top: 56px; }
.awards { display: grid; gap: 28px; }
.award-work { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.award-name { font-family: var(--f-min); font-weight: 500; font-size: 18px; letter-spacing: .08em; }
.award-year {
  font-family: var(--f-en); font-weight: 200; font-size: 22px; letter-spacing: .08em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.award ul li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; line-height: 1.8; color: var(--ink-2);
}
.award ul li + li { margin-top: 6px; }
.award ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border: 1px solid var(--mauve); transform: rotate(45deg);
}
.award em { font-style: normal; color: var(--pink); }

/* ---------- Instagram ---------- */
.insta { padding-top: 40px; }
.insta-card {
  position: relative; display: block; overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
}
.insta-tiles { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.insta-tiles picture:first-child { grid-row: span 2; }
.insta-tiles img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.7); transition: transform 1.4s var(--ease-calm); }
.insta-text {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px;
  padding: 48px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(11,12,16,.85));
}
.insta-title {
  width: 100%;
  font-family: var(--f-en); font-weight: 100; font-size: clamp(44px, 12vw, 88px); line-height: 1.2; letter-spacing: .04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.insta-handle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-weight: 300; font-size: 16px; letter-spacing: .1em; }
.insta-go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 300; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.arrow { position: relative; width: 36px; height: 1px; background: var(--ink); transition: transform .7s var(--ease-calm); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); }
@media (hover: hover) {
  .insta-card:hover img { transform: scale(1.04); }
  .insta-card:hover .arrow { transform: translate3d(8px, 0, 0); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 56px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; letter-spacing: .1em; margin-bottom: 8px; color: var(--ink-2); }
.req { margin-left: 6px; font-size: 10px; letter-spacing: .1em; color: var(--pink); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 14px 2px;
  font: inherit; font-size: 16px; /* iOS のズーム防止 */
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--pink); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #e7838f; }
.field-error { display: block; margin-top: 6px; font-size: 12px; color: #e7838f; }
.field--check { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.field--check input { width: 18px; height: 18px; margin: 0; accent-color: var(--mauve); }
.field--check label { margin: 0; }
.field--check a { text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.btn {
  position: relative; overflow: hidden;
  width: 100%; margin-top: 12px; padding: 18px 24px;
  font-family: var(--f-body); font-size: 14px; letter-spacing: .3em;
  color: var(--bg); background: var(--grad);
  border: 0; cursor: pointer;
  transition: opacity .3s, filter .3s;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .5; cursor: wait; }
.form-status { min-height: 1.8em; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.form-status.is-ok { color: var(--pink); }
.form-status.is-err { color: #e7838f; }

.channels { border-top: 1px solid var(--line); }
.channels a {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--f-en); font-weight: 300; font-size: 19px; letter-spacing: .06em;
  transition: color .3s;
}
.channels a:hover { color: var(--pink); }
.channels small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.channels .icon { flex: none; width: 26px; height: 26px; }

.icon { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; width: 22px; height: 22px; }
.icon .fill { fill: currentColor; stroke: none; }

.sns { display: flex; gap: 12px; margin-top: 28px; }
.sns a {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .3s, color .3s;
}
.sns a:hover { border-color: var(--pink); color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--grad); opacity: .6;
}
.footer-inner { display: grid; gap: 24px; justify-items: center; text-align: center; }
.footer-logo img { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 12px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }
.copy { font-family: var(--f-en); font-weight: 300; font-size: 11px; letter-spacing: .2em; color: var(--muted); }

/* ---------- Modal ---------- */
.modal {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink);
}
.modal::backdrop { background: rgba(5, 5, 8, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { display: flex; align-items: center; justify-content: center; animation: fade .4s var(--ease); }
.modal-inner { position: relative; width: 100%; max-width: 1100px; padding: 0 var(--gutter); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-title { margin-top: 14px; font-family: var(--f-min); font-size: 14px; color: var(--ink-2); }
.modal-close {
  position: absolute; right: calc(var(--gutter) - 10px); top: -56px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
}
.modal-close span { position: absolute; left: 10px; right: 10px; top: 21px; height: 1px; background: var(--ink); }
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
body.modal-open { overflow: hidden; }

/* ---------- Policy pages ---------- */
.doc { padding: calc(var(--header-h) + 56px) 0 96px; }
.doc .container { max-width: 760px; }
.doc h1 {
  font-family: var(--f-min); font-weight: 500; font-size: 24px; letter-spacing: .12em;
  padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.doc h1 small { display: block; font-family: var(--f-en); font-weight: 200; font-size: 13px; letter-spacing: .3em; color: var(--mauve); margin-bottom: 6px; }
.doc h2 { font-family: var(--f-min); font-weight: 500; font-size: 17px; letter-spacing: .08em; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 14px; color: var(--ink-2); }
.doc ul { margin: 8px 0; }
.doc ul li { position: relative; padding-left: 16px; }
.doc ul li::before { content: "・"; position: absolute; left: 0; }
.doc .date { margin-top: 48px; font-size: 13px; color: var(--muted); }
.doc .back { display: inline-block; margin-top: 40px; font-family: var(--f-en); letter-spacing: .2em; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.doc .back:hover { color: var(--pink); }

/* =========================================================
   Tablet 〜
   ========================================================= */
/* スマホ:背景グラデーションのアニメーションを止める */
@media (max-width: 767px) {
  body::before { animation: none; will-change: auto; }
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px; --header-h: 76px;
    --rise: 24px; --rise-card: 40px; --rise-hero: 22px; --rise-lead: 12px;
  }
  body { font-size: 15.5px; }
  .brand img { width: 136px; }

  .section { padding: 140px 0; }
  .sec-title { margin-bottom: 56px; }

  .hero-inner { padding-bottom: 110px; flex-direction: row; align-items: flex-end; }
  .hero-catch { order: 2; align-self: center; margin-right: 4%; }
  .hero-foot { order: 1; }
  .hero-lead { font-size: 14.5px; }

  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
  .works-grid .work:first-child { grid-column: 1 / -1; }
  .works-grid .work:first-child .work-title { font-size: 20px; }

  .svc-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; }
  .svc { border-top: 1px solid var(--line); border-bottom: 0; padding: 32px 0 36px 64px; }
  .svc-list { border-bottom: 1px solid var(--line); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .info-cols { grid-template-columns: repeat(2, 1fr); column-gap: 56px; }

  .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .about-photo { position: sticky; top: calc(var(--header-h) + 24px); max-height: none; }

  .insta-tiles { aspect-ratio: 21 / 9; }
  .insta-text { padding: 40px 40px 32px; }

  .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; }
  .btn { width: auto; min-width: 260px; }

  .modal-close { right: calc(var(--gutter) - 10px); }
}

/* =========================================================
   Desktop 〜
   ========================================================= */
@media (min-width: 1080px) {
  .site-header { padding: 0 48px; }
  .menu-btn { display: none; }
  .nav {
    position: static; inset: auto; background: none;
    opacity: 1; visibility: visible;
  }
  .nav ul { display: flex; gap: 44px; }
  .nav li { overflow: visible; }
  .nav a {
    font-size: 15px; font-weight: 300; letter-spacing: .26em; line-height: 1;
    transform: none; padding: 8px 0; position: relative;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: .26em; bottom: 0; height: 1px;
    background: var(--grad); transform: scaleX(0); transform-origin: right;
    transition: transform .5s var(--ease);
  }
  .nav a:hover { background: none; color: var(--ink); }
  .nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

  .hero-inner { padding-left: 48px; padding-right: 48px; max-width: none; }
  .hero-catch { margin-right: 6%; }

  .works-grid { grid-template-columns: repeat(6, 1fr); gap: 72px 40px; }
  .works-grid .work { grid-column: span 2; }
  .works-grid .work:nth-child(1),
  .works-grid .work:nth-child(2) { grid-column: span 3; }
  .works-grid .work:first-child .work-title { font-size: 16px; }

  .svc-list { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .svc { padding: 36px 0 40px; }
  .svc-no { position: static; display: block; margin-bottom: 22px; font-size: 40px; }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .plan { display: flex; flex-direction: column; }
  .plan { padding: 26px 20px 24px; }
  .plan-name { font-size: 15px; letter-spacing: .04em; }

  .about-grid { gap: 96px; }
  .scope { max-width: none; }
}

/* 「視差効果を減らす」がオンの端末:動きをすべて止め、最初から表示する */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .hero-catch span, .hero-lead, .play { opacity: 1 !important; transform: none !important; }
  .scroll-cue { opacity: 1 !important; } /* 中央寄せの transform は残す */
  .js .curtain .title-img { clip-path: none; }
  .hero-video { opacity: 1; }
  .svc:hover, .plan:hover { translate: none; }
  .work-btn:hover .work-thumb img, .insta-card:hover img { transform: none; }
}
