/* ==========================================================================
   火廻（ひまわり） — スタイルシート
   色・フォントを変えたいときは、まず下の :root を編集してください。
   ========================================================================== */

:root {
  /* 色（ロゴの朱色を基準にしています） */
  --sumi:        #0b0908;   /* 背景・墨 */
  --sumi-alt:    #100c0b;   /* 交互に敷く背景 */
  --surface:     #17110f;   /* カード面 */
  --line:        #2b201d;   /* 罫線 */
  --line-soft:   #1e1614;   /* 薄い罫線 */

  --text:        #ece3d9;
  --text-muted:  #a2938a;

  --hi:          #d9482a;   /* 朱（ロゴの「火廻」） */
  --hi-warm:     #e8763a;   /* 炎のオレンジ */
  --hi-amber:    #dfa261;   /* 火の粉の琥珀 */

  /* かたち */
  --radius:      3px;
  --container:   1140px;
  --section-y:   clamp(4.5rem, 9vw, 8rem);

  /* 文字 */
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
           "Yu Gothic", Meiryo, sans-serif;
}

/* --- ベース ------------------------------------------------------------ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;   /* 固定ヘッダーの分 */
}

body {
  margin: 0;
  background: var(--sumi);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--hi-amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}
p { margin: 0 0 1.4em; }

code {
  padding: .1em .45em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .85em;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--hi-amber);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--hi);
  color: #fff;
}
.skip-link:focus { left: 0; }

/* 矢印つきのテキストリンク */
.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  color: var(--hi-amber);
  font-size: .88rem;
  letter-spacing: .06em;
}
.link-arrow::after {
  content: "→";
  transition: transform .25s ease;
}
.link-arrow:hover { text-decoration: none; color: var(--hi-warm); }
.link-arrow:hover::after { transform: translateX(.3em); }

/* --- ヘッダー ---------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* ヒーローの写真の上でもロゴとメニューが読めるよう、上端に暗い膜を敷いています */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(11, 9, 8, .8), rgba(11, 9, 8, 0));
  pointer-events: none;
  transition: opacity .3s;
}
/* ここで backdrop-filter は使いません。
   backdrop-filter を付けた要素は、その中の position: fixed の基準（包含ブロック）に
   なってしまうため、中に入れているメニュー（.nav）の高さがヘッダーの高さまで縮み、
   下から本文が透けて見えてしまいます。 */
.site-header.scrolled {
  padding: .55rem 0;
  background: var(--sumi);
  border-bottom-color: var(--line);
}
.site-header.scrolled::before { opacity: 0; }

/* メニューを開いている間はヘッダーも透けさせない */
.site-header.nav-open {
  background: var(--sumi);
  border-bottom-color: var(--line);
}
.site-header.nav-open::before { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

/* ロゴ画像は黒背景なので、screen 合成で地の色になじませています */
.brand-mark {
  width: 44px;
  height: 44px;
  mix-blend-mode: screen;
  transition: width .3s, height .3s;
}
.site-header.scrolled .brand-mark { width: 38px; height: 38px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.brand-read {
  color: var(--text-muted);
  font-size: .58rem;
  letter-spacing: .34em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--text-muted);
  font-size: .88rem;
  letter-spacing: .06em;
  transition: color .2s;
}
.nav a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  padding: .5rem 1.15rem;
  border: 1px solid var(--hi);
  border-radius: var(--radius);
  color: var(--hi-amber) !important;
}
.nav-cta:hover { background: var(--hi); color: #fff !important; }

/* ハンバーガー（スマホのみ）
   開いたメニューより手前に置いて、閉じる × が隠れないようにしています */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--sumi);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--hi); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- ヒーロー ---------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

/* 背景写真。上に暗いグラデーションを重ねて、文字が読める明るさに落としています。
   写真を差し替えたら object-position で見せたい位置を調整してください。 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(11, 9, 8, .93) 0%,
      rgba(11, 9, 8, .84) 34%,
      rgba(11, 9, 8, .42) 68%,
      rgba(11, 9, 8, .54) 100%),
    linear-gradient(to bottom,
      rgba(11, 9, 8, .78) 0%,
      rgba(11, 9, 8, .14) 26%,
      rgba(11, 9, 8, .24) 60%,
      rgba(11, 9, 8, .97) 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 78% 55%, rgba(217, 72, 42, .20), transparent 72%),
    radial-gradient(ellipse 80% 45% at 20% 100%, rgba(232, 118, 58, .12), transparent 70%);
}

/* 舞い上がる火の粉 */
.ember {
  position: absolute;
  bottom: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hi-amber);
  box-shadow: 0 0 7px 1.5px rgba(223, 162, 97, .6);
  opacity: 0;
  animation: rise linear infinite;
}
.ember:nth-child(1) { left: 12%; animation-duration: 13s;   animation-delay: 0s;   }
.ember:nth-child(2) { left: 27%; animation-duration: 16s;   animation-delay: 3.4s; }
.ember:nth-child(3) { left: 41%; animation-duration: 11.5s; animation-delay: 6.2s; }
.ember:nth-child(4) { left: 58%; animation-duration: 17s;   animation-delay: 1.6s; }
.ember:nth-child(5) { left: 71%; animation-duration: 12.5s; animation-delay: 8s;   }
.ember:nth-child(6) { left: 84%; animation-duration: 15s;   animation-delay: 4.8s; }
.ember:nth-child(7) { left: 93%; animation-duration: 14s;   animation-delay: 10s;  }

@keyframes rise {
  0%   { transform: translateY(0) scale(1);        opacity: 0;  }
  12%  { opacity: .75; }
  75%  { opacity: .35; }
  100% { transform: translateY(-100svh) scale(.25); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* 背表紙のように縦組みにした見出し */
.hero-vertical {
  writing-mode: vertical-rl;
  margin: 0;
  padding-top: 5.5rem;
  position: relative;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .55em;
  color: var(--hi-amber);
}
.hero-vertical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 4.5rem;
  background: linear-gradient(var(--hi), transparent);
}

.hero-copy { min-width: 0; max-width: 46rem; }

.hero-eyebrow {
  margin: 0 0 1.4rem;
  color: var(--hi);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .38em;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .06em;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 18px rgba(11, 9, 8, .85);
}

/* 折り返しは画面幅まかせ。em 指定なので、狭い画面では自然に幅いっぱいまで使います */
.hero-lead {
  max-width: min(100%, 34em);
  color: var(--text);
  font-size: clamp(.94rem, 1.4vw, 1rem);
  margin-bottom: 2.4rem;
  text-wrap: pretty;
  text-shadow: 0 1px 14px rgba(11, 9, 8, .9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 3rem;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .55rem;
  font-size: .84rem;
  color: var(--text-muted);
}
.hero-facts span {
  display: inline-block;
  min-width: 5.5em;
  color: var(--hi-amber);
  font-size: .74rem;
  letter-spacing: .16em;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: var(--text-muted);
  font-size: .6rem;
  letter-spacing: .3em;
}
.scroll-hint:hover { color: var(--hi-amber); text-decoration: none; }
.scroll-hint span {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--line), var(--hi-amber));
  transform-origin: top;
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { transform: scaleY(.25); opacity: .5; }
  50%      { transform: scaleY(1);   opacity: 1;  }
}

/* --- セクション共通 ---------------------------------------------------- */

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--sumi-alt); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 .9rem;
  color: var(--hi);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .34em;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--hi);
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: .1em;
}

.section-lead {
  margin: 1.3rem 0 0;
  color: var(--text-muted);
  font-size: .94rem;
}

.section-more { margin: 2.5rem 0 0; }

/* --- ボタン ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: .9rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { text-decoration: none; }

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

.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--hi-amber); color: var(--hi-amber); }

.btn-outline { border-color: var(--hi); color: var(--hi-amber); }
.btn-outline:hover { background: var(--hi); color: #fff; }

.btn-block { display: block; width: 100%; }

/* --- 火廻について ------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: .06em;
  margin-bottom: 1.8rem;
}
.about-text p:not(.lead) { color: var(--text-muted); font-size: .95rem; }

.about-card {
  padding: 2rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-card h3 {
  font-size: 1.05rem;
  letter-spacing: .12em;
  margin-bottom: 1.3rem;
}

.info-list { margin: 0 0 1.7rem; }
.info-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-list dt {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .1em;
}
.info-list dd {
  margin: 0;
  font-size: .86rem;
  text-align: right;
  word-break: break-word;
}

/* --- 道具 -------------------------------------------------------------- */

.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}

.prop {
  padding: 2.4rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s;
}
.prop:hover { border-color: var(--hi); }

.prop-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  transition: color .3s;
}
.prop-icon svg { width: 100%; height: 100%; }
.prop-icon .flame { color: var(--hi-warm); transition: color .3s; }
/* ホバー時は持ち手と炎をそろって明るく（炎は琥珀色へ） */
.prop:hover .prop-icon { color: var(--text); }
.prop:hover .prop-icon .flame { color: var(--hi-amber); }

.prop h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: 1.2rem;
  letter-spacing: .14em;
  margin-bottom: .9rem;
}
.prop-en {
  color: var(--hi-amber);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .28em;
}
.prop p { margin: 0; color: var(--text-muted); font-size: .9rem; }

/* 「その他多数」だけは横幅いっぱいの帯にして、3 つの道具と区別しています */
.prop-more {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
}
.prop-more .prop-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  margin-bottom: 0;
}
.prop-more-body { min-width: 0; }
.prop-more p { max-width: 68ch; }

/* --- 映像 -------------------------------------------------------------- */

.movie-main { margin-bottom: 1.4rem; }

/* 押されるまで YouTube を読み込まない、軽いサムネイル */
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s;
}
.yt-facade:hover { border-color: var(--hi); }
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .3s, transform .5s;
}
.yt-facade:hover img { opacity: 1; transform: scale(1.02); }

/* サムネイルと差し替わるプレイヤー。ボタンごと置き換わるので、
   .yt-facade の子孫ではなく単独のクラスで大きさを指定します */
.yt-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}

.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(236, 227, 217, .55);
  border-radius: 50%;
  background: rgba(11, 9, 8, .45);
  color: #fff;
  backdrop-filter: blur(2px);
  transition: background .3s, border-color .3s;
}
.yt-facade:hover .yt-play { background: var(--hi); border-color: var(--hi); }
.yt-play svg { width: 26px; height: 26px; margin-left: 2px; }

.yt-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(11, 9, 8, .92));
  text-align: left;
}
.yt-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
}
.yt-meta { color: var(--text-muted); font-size: .76rem; letter-spacing: .06em; }

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.movie-card { display: block; color: var(--text); }
.movie-card:hover { text-decoration: none; }

.movie-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: .9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s;
}
.movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity .3s, transform .5s;
}
.movie-card:hover .movie-thumb { border-color: var(--hi); }
.movie-card:hover .movie-thumb img { opacity: 1; transform: scale(1.03); }

.movie-title {
  display: block;
  font-family: var(--serif);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.6;
}
.movie-meta {
  display: block;
  margin-top: .25rem;
  color: var(--text-muted);
  font-size: .76rem;
  letter-spacing: .12em;
}

/* --- 写真 -------------------------------------------------------------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.photo-full { grid-column: 1 / -1; }

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photo:hover img { transform: scale(1.03); }

.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem .85rem;
  background: linear-gradient(transparent, rgba(11, 9, 8, .88));
  color: var(--text);
  font-size: .74rem;
  letter-spacing: .08em;
}

/* --- 写真のトリミング ---
   いま置いている写真は YouTube のサムネイル（1280×720）で、
   動画タイトルの文字が焼き込まれています。
   枠の縦横比を決めると object-fit: cover で見える範囲も決まるので、
   それを使って文字の部分を画面の外に出しています。

     crop-wide  … 下から約 427px ぶん（上の文字を切る）
     crop-side  … 左から約 900px ぶん（右端の縦書き文字を切る）
     crop-strip … 下から約 388px ぶん（上 3 行の文字を切る）

   文字がわずかに見えてしまう場合は、その比率を少し大きくしてください。
   撮り下ろしの写真に差し替えたら、この 3 つの指定は削除して構いません。 */
.crop-wide  { aspect-ratio: 3;    }
.crop-side  { aspect-ratio: 5 / 4;}
.crop-strip { aspect-ratio: 3.3;  }

.crop-side img { object-position: 0% center; }
.crop-wide img,
.crop-strip img { object-position: center 100%; }

.photo-note { margin-top: 1.8rem; }

/* 写真がそろうまでの「準備中」表示。写真を載せるときは削除して構いません */
.photo-pending {
  display: grid;
  place-items: center;
  gap: .7rem;
  padding: clamp(3.5rem, 9vw, 6rem) 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.photo-pending-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .3em;
  text-indent: .3em;          /* 字間ぶん右に寄るのを打ち消しています */
  color: var(--hi-amber);
}
.photo-pending-text {
  margin: 0;
  max-width: 34em;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.9;
}

/* --- 出演履歴 ---------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 2rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line-soft);
}
.timeline li:last-child { border-bottom: 1px solid var(--line-soft); }

.timeline-date {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  line-height: 1.4;
}
.timeline-date .y {
  display: block;
  color: var(--hi);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .26em;
}

.timeline-body h3 {
  font-size: 1.1rem;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}
.timeline-body p {
  margin: 0 0 .7rem;
  color: var(--text-muted);
  font-size: .89rem;
}

/* --- 出演のご依頼 ------------------------------------------------------ */

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
}

.booking-card {
  padding: 2.3rem 2.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.booking-card h3 {
  font-size: 1.1rem;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.booking-card > p { color: var(--text-muted); font-size: .9rem; }

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.3rem;
  color: var(--text-muted);
  font-size: .89rem;
  line-height: 1.8;
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--hi);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.steps strong {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: .98rem;
  letter-spacing: .08em;
}

.check-list { list-style: none; margin: 1.6rem 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .7rem;
  color: var(--text-muted);
  font-size: .89rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 7px;
  height: 1px;
  background: var(--hi);
}

/* 予算についてのひとこと（依頼をためらわせないための注記） */
.budget-note {
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.3rem;
  background: rgba(217, 72, 42, .08);
  border: 1px solid var(--line);
  border-left: 2px solid var(--hi);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .87rem;
}
.budget-note strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .06em;
}

.note {
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.85;
}

/* --- お問い合わせ ------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color .3s, background .3s;
}
.contact-card:hover {
  border-color: var(--hi);
  background: #1c1512;
  text-decoration: none;
}

.contact-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--hi-amber);
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-body { display: flex; flex-direction: column; min-width: 0; }
.contact-name {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.contact-id {
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .03em;
  word-break: break-word;
}

/* --- フッター ---------------------------------------------------------- */

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--sumi-alt);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand-mark {
  width: 56px;
  height: 56px;
  margin-bottom: .9rem;
  mix-blend-mode: screen;
}
.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.footer-name span {
  display: block;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .3em;
}
.footer-note {
  margin: .7rem 0 0;
  color: var(--text-muted);
  font-size: .8rem;
  letter-spacing: .08em;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
}
.footer-heading {
  margin: 0 0 1rem;
  color: var(--hi);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .3em;
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.footer-cols a { color: var(--text-muted); font-size: .84rem; }
.footer-cols a:hover { color: var(--hi-amber); }

.copyright {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-align: center;
}

/* --- スクロールでふわっと表示 ------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* --- レスポンシブ ------------------------------------------------------ */

@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 460px; }
}

@media (max-width: 900px) {
  .prop-more { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

@media (max-width: 820px) {
  .hero { min-height: 92svh; padding: 7.5rem 0 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-vertical { display: none; }
  /* 縦長の画面では、人物が写っている中央寄りを見せます */
  .hero-bg img { object-position: 44% center; }
  .hero-bg::after {
    background:
      linear-gradient(to bottom,
        rgba(11, 9, 8, .84) 0%,
        rgba(11, 9, 8, .42) 20%,
        rgba(11, 9, 8, .62) 50%,
        rgba(11, 9, 8, .97) 100%);
  }
  .scroll-hint { display: none; }

  .timeline li { grid-template-columns: 1fr; gap: .6rem; }
  .timeline-date { display: flex; align-items: baseline; gap: .7rem; font-size: 1.1rem; }
  .timeline-date .y { display: inline; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  /* 背景は不透過。後ろの写真や本文が透けないようにしています */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1;
    width: min(80vw, 320px);
    padding: 6rem 2rem 2rem;
    background: var(--sumi-alt);
    box-shadow: -22px 0 46px rgba(0, 0, 0, .55);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1.7rem; }
  .nav a { font-size: 1rem; }
  .nav-cta { padding: .6rem 1.3rem; }

  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .footer-cols { gap: 2.5rem; }
}

@media (max-width: 560px) {
  .photo-grid { grid-template-columns: 1fr; }
  .yt-label { padding: 2.2rem 1.1rem 1rem; }
  .yt-play { width: 58px; height: 58px; }
  .yt-play svg { width: 21px; height: 21px; }
}

/* --- アニメーションを控えたいユーザー向け ------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
