/* IRVVEE サイト共通スタイル
   焦げ茶の地に明朝体（映画らしさ）＋英字はグロテスク体の大文字と丸ボタン（Webデザイン寄り）。
   フッターは大きな一文・リンク一覧・画面幅いっぱいのロゴタイプ */
:root {
  --bg: #15100c;
  --bg2: #1d1611;
  --bg3: #271e16;
  --foot: #0e0a07;
  --ink: #efe5d6;
  --soft: #d6c8b4;
  --muted: #a69580;
  --line: rgba(239, 229, 214, 0.14);
  --line-strong: rgba(239, 229, 214, 0.35);
  --accent: #c89b62;
  --danger: #e58a72;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;
  --grot: "Inter Tight", "Noto Sans JP", sans-serif;
  --gut: 2.5rem;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }

/* 英字の小さなラベル（ナビ・分類・注記で共通） */
.kicker, .feat-cat, .wl-cat, .reel-caption, .profile dt, .crumb, .foot-label, .foot-bottom {
  font-family: var(--grot); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
}

/* 丸いボタン（制作物のリンク・フッター・フォームで共通） */
.feat-links a, .pill, .form-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-family: var(--grot); font-size: 0.76rem; letter-spacing: 0.08em; text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feat-links a::after { content: "→"; transition: transform 0.3s var(--ease); }
.feat-links a:hover, .pill:hover, .form-submit:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.feat-links a:hover::after { transform: translateX(3px); }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gut);
  background: rgba(21, 16, 12, 0.88);
  backdrop-filter: blur(6px);
}
.logo { color: var(--ink); line-height: 0; }
.logo svg { height: 18px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  font-family: var(--grot); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--soft); transition: color 0.3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:last-child { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 1rem; color: var(--ink); }
.site-nav a:last-child:hover { background: var(--ink); color: var(--bg); }

/* ---------- ショーリール ---------- */
.reel { position: relative; overflow: hidden; height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 520px; background: #000; }
.reel::before, .reel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7vh; background: #000; z-index: 2;
}
.reel::before { top: 0; }
.reel::after { bottom: 0; }
.reel-frames { position: absolute; inset: 0; overflow: hidden; }
.reel-frames::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 11, 8, 0.88) 0%, rgba(15, 11, 8, 0.4) 55%, rgba(15, 11, 8, 0.1) 100%);
}
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.frame.is-on { opacity: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 7s linear; }
.frame.is-on img { transform: scale(1.1); }
.reel-copy {
  position: absolute; left: 0; right: 0; bottom: calc(7vh + 4rem); z-index: 3;
  max-width: 1180px; margin: 0 auto; padding: 0 var(--gut);
}
.kicker { color: var(--accent); margin: 0 0 1rem; }
.reel h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.5; letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
}
.reel .lead { color: var(--soft); max-width: 34em; margin: 0; }
.reel-caption {
  position: absolute; right: var(--gut); bottom: calc(7vh + 1.2rem); z-index: 3; margin: 0;
  display: flex; align-items: baseline; gap: 0.2rem; color: var(--muted);
}
.reel-index { color: var(--ink); }
.reel-title { margin-left: 1rem; letter-spacing: 0.1em; text-transform: none; }

/* ---------- 見出し：英字を大きく ---------- */
main > section { padding: 7rem 0; }
main > section.reel { padding: 0; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  margin: 0 0 4rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.sec-label {
  font-family: var(--grot); font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 0.95; letter-spacing: -0.04em;
  margin: 0;
}
.sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.2em; color: var(--muted); margin: 0 0 0.35rem; }

/* ---------- 主な制作物 ---------- */
.feat { display: grid; grid-template-columns: 1.45fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 6.5rem; }
.feat:last-child { margin-bottom: 0; }
.feat:nth-of-type(even) { grid-template-columns: 1fr 1.45fr; }
.feat:nth-of-type(even) .feat-media { order: 2; }
.feat-media { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #000; border-radius: 6px; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat-media:hover img { transform: scale(1.04); }
.feat-cat { color: var(--accent); margin: 0 0 1rem; }
.feat-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.4; margin: 0 0 1rem; }
.feat-desc { color: var(--muted); margin: 0 0 1.75rem; }
.feat-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }

/* ---------- そのほかの制作物 ---------- */
.all-works { background: var(--bg2); }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list a {
  display: grid; grid-template-columns: 56px 10em 9.5em 1fr 2.5rem; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0.75rem; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.work-list img { width: 56px; height: 56px; border-radius: 12px; }
.wl-name { font-family: var(--serif); font-size: 1.15rem; }
.wl-cat { color: var(--accent); }
.wl-desc { color: var(--muted); font-size: 0.9rem; }
.wl-arrow {
  justify-self: end; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
@media (hover: hover) {
  .work-list a:hover { background: var(--bg3); padding-left: 1.25rem; }
  .work-list a:hover .wl-arrow { background: var(--ink); color: var(--bg); }
}

/* ---------- 概要 ---------- */
.profile { margin: 0; max-width: 780px; }
.profile div { display: grid; grid-template-columns: 10em 1fr; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.profile dt { color: var(--muted); padding-top: 0.25rem; }
.profile dd { margin: 0; }
.profile a { text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ---------- フッター（お問い合わせを兼ねる） ---------- */
.big-foot { background: var(--foot); padding: 6.5rem 0 1.5rem; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: end; padding: 0 var(--gut); }
.foot-label { color: var(--accent); margin: 0 0 1.75rem; }
.foot-call h2 {
  font-family: var(--grot); font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}
.foot-sub { color: var(--muted); margin: 0 0 2rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.foot-links { list-style: none; margin: 0 0 0.5rem; padding: 0; font-family: var(--grot); font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.45; }
.foot-links a { text-decoration: none; transition: color 0.3s var(--ease); }
.foot-links a:hover { color: var(--accent); }
.foot-logo { display: block; color: var(--ink); line-height: 0; padding: 5.5rem 0.75rem 0; }
.foot-logo svg { width: 100%; height: auto; display: block; }
.foot-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center;
  padding: 1.75rem var(--gut) 0; color: var(--muted); letter-spacing: 0.08em;
}
.foot-bottom > :last-child { justify-self: end; text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- 制作物の詳細ページ ---------- */
.detail { padding: 4rem 0 7rem; }
.crumb { display: flex; gap: 0.6rem; align-items: baseline; margin-bottom: 3rem; color: var(--muted); }
.crumb a { text-decoration: none; color: var(--accent); }
.detail-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.3; letter-spacing: 0.04em; margin: 0 0 1rem; }
.detail-head .lead { color: var(--muted); margin: 0 0 2rem; }
.detail-hero { margin: 4rem auto; max-width: 1400px; background: #000; padding: 4vh 0; }
.detail-hero img { width: 100%; }
.detail h2 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0 0 1.25rem; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; margin-bottom: 5rem; }
.detail-grid p { color: var(--soft); margin: 0; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 6em 1fr; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.detail .inner > section { margin-bottom: 5rem; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-list li { background: var(--bg); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--accent); }
.feature-list span { color: var(--muted); font-size: 0.92rem; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.next a { text-decoration: none; color: var(--accent); }

/* ---------- お問い合わせページ ---------- */
.page { padding: 5rem 0 7rem; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.3; letter-spacing: 0.04em; margin: 0 0 1.25rem; }
.page .lead { color: var(--soft); max-width: 36em; margin: 0 0 2rem; }
.page address { font-style: normal; color: var(--muted); font-size: 0.92rem; margin: 0 0 3.5rem; }
.contact-form { max-width: 560px; }
.contact-form .field { margin-bottom: 1.75rem; }
.contact-form label { display: block; font-family: var(--grot); font-size: 0.74rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.5rem; }
.contact-form .optional { letter-spacing: 0; margin-left: 0.4em; opacity: 0.8; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 0.6rem 0; border-radius: 0; outline: none;
  transition: border-color 0.3s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form .form-note { font-size: 0.85rem; color: var(--muted); margin: 0 0 1.5rem; }
.form-submit { font-size: 0.82rem; padding: 0.85rem 1.6rem; }
.form-submit::after { content: "→"; }
.contact-form .form-error { color: var(--danger); font-size: 0.9rem; margin: 1rem 0 0; }
.contact-form .form-success { color: var(--soft); font-size: 0.9rem; margin: 1rem 0 0; }

/* ---------- タブレット ---------- */
@media (max-width: 960px) {
  :root { --gut: 2rem; }
  .work-list a {
    grid-template-columns: 52px 1fr auto;
    grid-template-areas: "img name arrow" "img cat arrow" "desc desc desc";
    gap: 0.1rem 1.25rem;
  }
  .work-list img { grid-area: img; width: 52px; height: 52px; }
  .wl-name { grid-area: name; }
  .wl-cat { grid-area: cat; }
  .wl-desc { grid-area: desc; margin-top: 0.6rem; }
  .wl-arrow { grid-area: arrow; }
  .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-top { grid-template-columns: 1fr 0.8fr; }
}
@media (max-width: 860px) {
  .feat, .feat:nth-of-type(even) { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4.5rem; }
  .feat:nth-of-type(even) .feat-media { order: 0; }
}

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  :root { --gut: 1.25rem; }
  .site-head { padding: 0.9rem var(--gut); }
  .site-nav { gap: 0.9rem; }
  .site-nav a { font-size: 0.66rem; letter-spacing: 0.1em; }
  .site-nav a:last-child { padding: 0.35rem 0.75rem; }
  .reel { min-height: 480px; }
  .reel-copy { bottom: calc(7vh + 4.5rem); }
  .reel-caption { left: var(--gut); right: auto; }
  main > section { padding: 5rem 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 3rem; }
  .work-list a { grid-template-columns: 48px 1fr auto; gap: 0.1rem 1rem; padding: 1.25rem 0.25rem; }
  .work-list img { width: 48px; height: 48px; }
  .profile div { grid-template-columns: 1fr; gap: 0.25rem; }
  .big-foot { padding-top: 4.5rem; }
  .foot-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot-logo { padding: 3.5rem 0.5rem 0; }
  .foot-bottom { grid-template-columns: 1fr; gap: 0.4rem; }
  .foot-bottom > :last-child { justify-self: start; }
  .detail { padding-top: 2.5rem; }
  .detail-hero { margin: 2.5rem auto; }
  .feature-list { grid-template-columns: 1fr; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; }
  .page { padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame, .frame img { transition: none; }
  .frame.is-on img { transform: scale(1.03); }
}
