/* AokI Movie Design — v2「ダークの映画的＋一部白」(2026-11-18) */
:root {
  --bg: #0b0b0c;
  --bg2: #141416;
  --ink: #f2efe8;
  --sub: #9a968e;
  --line: rgba(242, 239, 232, 0.14);
  --paper: #efece5;
  --paper-ink: #111111;
  --paper-sub: #5f5b54;
  --paper-line: rgba(17, 17, 17, 0.14);
  --accent: #ffb547;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --side: clamp(20px, 4vw, 56px);
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --en: "Syne", "Zen Kaku Gothic New", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--jp); font-size: 15px; line-height: 2; letter-spacing: 0.04em;
  font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); }
@media (max-width: 760px) { .pc { display: none; } }

/* 粒子の質感 */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* カーソル（マウスのときだけ） */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink);
    mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
  }
  .cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); mix-blend-mode: normal; }
  .cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #111; opacity: 0; transition: opacity .2s; }
  .cursor.is-label .cursor__label { opacity: 1; }
}

/* ヘッダー */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--side);
  transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 11, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__logo img { width: 150px; height: 16px; filter: invert(1); }
.header__nav { display: flex; gap: 32px; margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.header__nav a { color: var(--sub); transition: color .25s; }
.header__nav a:hover { color: var(--ink); }
.header__cta { font-size: 13px; font-weight: 500; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 999px; transition: background .25s, color .25s; }
.header__cta:hover { background: var(--ink); color: var(--bg); }

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 28px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.4; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: #111; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* ヒーロー */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--side) 80px; overflow: hidden; }
.hero__bg { position: absolute; z-index: -2; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(42px) saturate(1.2) brightness(.55); transform: scale(1.1); }
.hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.7) 45%, rgba(11,11,12,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__inner { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: clamp(32px, 5vw, 96px); }
.hero__text { flex: 1 1 auto; min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; color: var(--ink); opacity: .75; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero__logo { width: min(560px, 100%); aspect-ratio: 1044 / 120; filter: invert(1); mix-blend-mode: screen; margin-bottom: 28px; }
.hero__catch { font-size: clamp(30px, 4.6vw, 72px); font-weight: 700; line-height: 1.32; letter-spacing: .02em; margin-bottom: 28px; }
.hero__catch .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__catch .line > span { display: inline-block; white-space: nowrap; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__catch .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__catch .line > span { transform: none; }
.hero__lead { font-size: clamp(14px, 1.25vw, 17px); color: rgba(242,239,232,.78); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__reel { position: relative; flex: 0 0 auto; width: min(26vw, calc((100svh - 220px) * .5625), 400px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px var(--line); transform: rotate(2deg); transition: transform .8s var(--ease); }
.hero__reel:hover { transform: rotate(0) scale(1.02); }
.hero__reel video { width: 100%; height: 100%; object-fit: cover; }
.hero__reel-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(11,11,12,.66); backdrop-filter: blur(8px); color: var(--ink); font-size: 10px; display: flex; justify-content: space-between; gap: 8px; align-items: center; white-space: nowrap; }
.hero__reel-tag b { font-weight: 500; } .hero__reel-tag b span { color: #ff4d4d; }
.hero__scroll { position: absolute; left: var(--side); bottom: 28px; z-index: 1; writing-mode: vertical-rl; padding-bottom: 56px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 44px; background: var(--ink); transform-origin: top; animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { 0%{transform:scaleY(0)} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }


/* セクション共通 */
.sec { position: relative; padding: clamp(96px, 12vw, 180px) var(--side); }
.sec__head { display: grid; grid-template-columns: minmax(180px, 26%) 1fr; column-gap: 4%; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec__no { grid-column: 1; align-self: start; padding-top: .9em; }
.sec__title { grid-column: 2; font-family: var(--jp); font-weight: 700; font-size: clamp(34px, 5.4vw, 84px); line-height: 1.2; letter-spacing: .01em; }
.sec__title > span { display: block; overflow: hidden; }
.sec__lead { grid-column: 2; margin-top: 28px; max-width: 40em; color: var(--sub); font-size: 15px; }

/* 見出しの出方：行ごとに下から */
.reveal > span { position: relative; }
.js .reveal > span { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.js .reveal > span:nth-child(2) { transition-delay: .1s; }
.js .reveal.is-in > span { clip-path: inset(0 0 -10% 0); transform: none; }
.js .reveal-up { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-up.is-in { opacity: 1; transform: none; }

/* できること */
.svc { border-top: 1px solid var(--line); }
.svc__row { position: relative; display: grid; grid-template-columns: minmax(64px, 8%) minmax(0, 1.25fr) minmax(0, 1fr) 110px; column-gap: 4%; align-items: center; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: color .4s; isolation: isolate; }
.svc__row::before { content: ""; position: absolute; inset: 0 calc(var(--side) * -1); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.svc__name { font-size: clamp(22px, 2.6vw, 40px); font-weight: 700; line-height: 1.3; transition: transform .55s var(--ease); }
.svc__text { color: var(--sub); font-size: 14px; line-height: 1.9; transition: color .4s; }
.svc__en { transition: color .4s; }
@media (hover: hover) {
  .svc__row:hover { color: var(--bg); }
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__name { transform: translateX(14px); }
  .svc__row:hover .svc__text, .svc__row:hover .svc__no, .svc__row:hover .svc__en { color: #4a4740; }
}

/* タッチ */
.sec--touch { padding-right: 0; }
.sec--touch .sec__head { padding-right: var(--side); }
.touch { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--side) 24px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.touch__item { flex: 0 0 clamp(220px, 22vw, 340px); scroll-snap-align: start; }
.touch__item img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; object-position: center 30%; border-radius: 14px; transition: transform .8s var(--ease), filter .8s; filter: saturate(.9); }
.touch__item:hover img { transform: translateY(-8px); filter: saturate(1.1); }
.touch__item figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-weight: 700; font-size: 17px; }
.touch__item figcaption .mono { color: var(--accent); }
.touch__note { margin-top: 28px; padding-right: var(--side); font-size: 12px; color: var(--sub); }

/* 選ばれる理由 */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.why__item { border-top: 1px solid var(--line); padding-top: 28px; }
.why__num { display: block; font-family: var(--en); font-weight: 800; font-size: clamp(64px, 8vw, 128px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--sub); margin-bottom: 28px; transition: color .5s, -webkit-text-stroke-color .5s; }
.why__item:hover .why__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.why__head { font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; line-height: 1.5; margin-bottom: 18px; }
.why__text { color: var(--sub); font-size: 14px; line-height: 2; }

/* 実績 */
.sec--works { background: var(--bg2); }
.work { display: grid; grid-template-columns: minmax(180px, 26%) 1fr; column-gap: 4%; border-top: 1px solid var(--line); padding-top: 40px; }
.work__meta p { font-size: 15px; line-height: 1.8; }
.work__meta .mono { margin-top: 20px; margin-bottom: 4px; }
.work__meta .mono:first-child { margin-top: 0; }
.work__client { font-weight: 700; font-size: 18px !important; }
.work__badge { display: inline-block; white-space: nowrap; margin-top: 28px !important; padding: 7px 12px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent) !important; text-transform: none; letter-spacing: .04em; font-family: var(--jp); font-size: 12px; }
.work__quote { font-size: clamp(26px, 3.4vw, 52px); font-weight: 700; line-height: 1.4; margin-bottom: 40px; }
.work__list li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); color: rgba(242,239,232,.82); font-size: 15px; line-height: 1.8; }
.work__list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 12px; height: 1px; background: var(--accent); }

/* 明るいセクション */
.sec--light { background: var(--paper); color: var(--paper-ink); }
.sec--light .mono { color: var(--paper-sub); }
.sec--light + .sec--light { padding-top: 0; }

/* 制作の流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--paper-ink); }
.flow__step { position: relative; padding: 28px 24px 40px 0; border-bottom: 1px solid var(--paper-line); min-height: 220px; }
.flow__step:not(:nth-child(4n)) { border-right: 1px solid var(--paper-line); }
.flow__step:not(:nth-child(4n+1)) { padding-left: 24px; }
.flow__no { display: block; margin-bottom: 40px; }
.flow__step h3 { font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.flow__step p { color: var(--paper-sub); font-size: 13px; line-height: 1.9; }
.flow__tag { position: absolute; top: 26px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--paper-ink); color: var(--accent) !important; font-size: 10px; }

/* 安心 */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--paper-ink); }
.trust__item { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--paper-line); }
.trust__item:nth-child(2n) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--paper-line); }
.trust__item h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.trust__item p { color: var(--paper-sub); font-size: 14px; line-height: 2; }

/* FAQ */
.faq { border-top: 1px solid var(--paper-ink); }
.qa { border-bottom: 1px solid var(--paper-line); }
.qa summary { position: relative; display: block; cursor: pointer; padding: 26px 56px 26px 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; line-height: 1.6; list-style: none; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #6b5a3a; }
.qa summary i { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 56px 28px 0; color: var(--paper-sub); font-size: 15px; line-height: 2; }

/* プロフィール */
.profile { display: grid; grid-template-columns: minmax(180px, 26%) 1fr; column-gap: 4%; border-top: 1px solid var(--line); padding-top: 40px; }
.profile__brand { font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 6px; }
.profile__name { font-size: 26px; font-weight: 700; line-height: 1.5; }
.profile__name .mono { display: block; margin-top: 4px; }
.profile__area { margin-top: 16px; color: var(--sub); font-size: 13px; }
.profile__bio { font-size: clamp(17px, 1.6vw, 22px); line-height: 2; }

/* お問い合わせ */
.contact { padding: clamp(96px, 12vw, 180px) var(--side) clamp(80px, 8vw, 120px); border-top: 1px solid var(--line); background: radial-gradient(120% 80% at 80% 0%, rgba(255,181,71,.12), transparent 60%); }
.contact__big { font-weight: 700; font-size: clamp(40px, 7.4vw, 124px); line-height: 1.15; letter-spacing: -.01em; margin: 24px 0 clamp(48px, 6vw, 88px); }
.contact__big > span { display: block; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: start; }
.contact__lead { color: rgba(242,239,232,.82); font-size: 15px; line-height: 2.1; }
.contact__cards { display: grid; gap: 14px; }
.ccard { position: relative; display: grid; gap: 6px; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.ccard:hover { border-color: var(--ink); transform: translateY(-3px); }
.ccard strong { font-size: 20px; font-weight: 700; }
.ccard__text { color: var(--sub); font-size: 13px; line-height: 1.8; }
.ccard__go { margin-top: 14px; font-weight: 500; font-size: 14px; }
.ccard--line { background: var(--accent); border-color: var(--accent); color: #111; }
.ccard--line .mono, .ccard--line .ccard__text { color: rgba(17,17,17,.7); }
.ccard--line:hover { border-color: var(--accent); }

/* フッター */
.footer { padding: 0 var(--side) 32px; overflow: hidden; }
.footer__logo { display: block; width: min(720px, 100%); aspect-ratio: 1044 / 120; margin: clamp(48px, 7vw, 96px) auto clamp(32px, 4vw, 56px); filter: invert(1); mix-blend-mode: screen; opacity: .92; }
.footer { isolation: isolate; background: var(--bg); }
.footer__row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; }
.footer__row a:hover { color: var(--ink); }

/* 動きを控えたい人 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  
.grain, .hero__scroll::after { animation: none; }
  .js .reveal > span, .js .reveal-up, .hero__catch .line > span { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* タブレット */
@media (max-width: 990px) {
  .header__nav { display: none; }
  .hero { padding-top: 120px; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__reel { width: min(64vw, 340px); align-self: center; transform: rotate(0); }
  .sec__head, .work, .profile { grid-template-columns: 1fr; }
  .sec__no, .sec__title, .sec__lead { grid-column: 1; }
  .sec__title { margin-top: 14px; }
  .svc__row { grid-template-columns: 56px 1fr; row-gap: 8px; }
  .svc__text { grid-column: 2; }
  .svc__en { display: none; }
  .why { grid-template-columns: 1fr; }
  .work__meta { margin-bottom: 32px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step:not(:nth-child(4n)) { border-right: 0; }
  .flow__step:nth-child(odd) { border-right: 1px solid var(--paper-line); padding-left: 0; }
  .flow__step:nth-child(even) { padding-left: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* スマホ */
@media (max-width: 600px) {
  .header { height: 60px; }
  .header__logo img { width: 128px; height: 14px; }
  .header__cta { font-size: 12px; padding: 7px 14px; }
  .hero__eyebrow { font-size: 9px; margin-bottom: 28px; }
  .hero__logo { width: 100%; }
  .hero__catch { font-size: clamp(25px, 7.2vw, 34px); }
  .hero__catch .line > span { white-space: normal; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__scroll { display: none; }
  .hero__reel { width: 78vw; }
  .flow { grid-template-columns: 1fr; }
  .flow__step, .flow__step:nth-child(odd), .flow__step:nth-child(even) { border-right: 0; padding-left: 0; min-height: 0; padding-bottom: 28px; }
  .flow__no { margin-bottom: 16px; }
  .trust { grid-template-columns: 1fr; }
  .trust__item, .trust__item:nth-child(2n) { padding: 28px 0 32px; border-left: 0; }
  .touch__item { flex-basis: 64vw; }
  .qa summary { padding-right: 40px; }
  .qa p { padding-right: 0; }
  .ccard { padding: 24px; }
}
