/* ==========================================================
   Magician — Iroha (Yuki Horikoshi)
   本人の実写真（鳩の背景の金錦・カード台の深緑・ステージのティール光）
   から拾った配色。黒×ゴールドの定番テンプレは避ける。
   ========================================================== */
:root {
  --pine: #12241f;         /* カード台のフェルトから拾った深緑 */
  --pine-2: #1a332c;       /* カード面（1段階明るい） */
  --paper: #f3ede1;        /* 本文・見出し */
  --paper-dim: #c3cbc4;    /* サブテキスト */
  --brass: #c7a06a;        /* 鳩の背景の金錦から拾った真鍮 */
  --teal: #5fbead;         /* ステージ照明のティール */
  --line: rgba(199, 160, 106, 0.25);

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-label: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --column: 500px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-label);
  font-size: 16px;
  line-height: 1.9;
  color: var(--paper-dim);
  background: var(--pine);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.stage {
  max-width: var(--column);
  margin: 0 auto;
  background: var(--pine);
  position: relative;
  z-index: 1;
}

@media (min-width: 1000px) {
  body { background: #090f0d; }
}

/* ==========================================================
   デスクトップの左右：HKT.co.jp参考＝非対称に大きな写真を1〜2枚、
   十分な余白と一緒に置く。細かい装飾を並べない。
   ========================================================== */
.side-art { display: none; }

@media (min-width: 1240px) {
  .side-art {
    display: block;
    position: fixed;
    top: 0;
    height: 100%;
    width: calc((100% - var(--column)) / 2);
    pointer-events: none;
    z-index: 0;
  }
  .side-art--left { left: 0; }
  .side-art--right { right: 0; }

  /* 左：鳩 → hoverでくるくる回ってジョーカーに */
  .side-art--left .art-flip {
    position: absolute;
    width: min(74%, 300px);
    aspect-ratio: 3 / 4;
    top: 50%;
    right: 14%;
    transform: translateY(-50%);
    perspective: 1200px;
    pointer-events: auto;
    cursor: pointer;
  }
  .art-flip__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.8s cubic-bezier(0.45, 0, 0.25, 1);
  }
  .art-flip:hover .art-flip__inner,
  .art-flip:focus .art-flip__inner,
  .art-flip:focus-within .art-flip__inner {
    transform: rotateY(540deg);
  }
  .art-flip__front,
  .art-flip__back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .art-flip__front {
    object-fit: cover;
    object-position: 72% 42%; /* 鳩が全部フレームに入る位置 */
    filter: grayscale(0.1) contrast(1.05);
  }
  .art-flip__back {
    object-fit: contain;
    transform: rotateY(180deg);
  }
  .side-art--right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 14%;
  }
  .side-nav {
    list-style: none;
    pointer-events: auto;
    width: 100%;
    max-width: 288px;
  }
  .side-nav li { border-top: 1px solid var(--line); }
  .side-nav li:last-child { border-bottom: 1px solid var(--line); }
  .side-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4px;
    font-family: var(--font-label);
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--paper);
    transition: color 0.3s ease;
  }
  .side-nav a::before { content: "▸"; color: var(--brass); margin-right: 12px; font-size: 12px; }
  .side-nav a .en {
    margin-left: auto;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--paper-dim);
  }
  .side-nav a:hover { color: var(--brass); }
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 26px;
  background: color-mix(in srgb, var(--pine) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--paper);
  line-height: 1.15;
}
.header-logo .pre {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2px;
}
.back-top {
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brass);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.back-top:hover { color: var(--paper); border-color: var(--brass); }

/* ==========================================================
   hero：ステージ写真を主役に（動画ではなく静止画）
   ========================================================== */
.hero { position: relative; }
.hero-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,36,31,0) 40%, rgba(18,36,31,0.95) 96%);
}
.hero-caption {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 1;
}
.hero-role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--brass);
  margin-bottom: 8px;
}
.hero-name {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.hero-below { padding: 40px 28px 8px; }
.hero-lead { font-size: 15.5px; color: var(--paper-dim); }

/* ==========================================================
   フィーチャー写真（カードを広げた一枚を大きく）
   ========================================================== */
.feature {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 60%;
}

/* ==========================================================
   セクション共通
   ========================================================== */
section { padding: 68px 28px; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 12px;
}
.heading {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.04em;
  margin-bottom: 34px;
}

/* 実写真からの引用：ポエムではなく本人の言葉をそのまま */
.quote { border-left: 2px solid var(--brass); padding-left: 22px; }
.quote p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 2;
  color: var(--paper);
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
}

/* ==========================================================
   プロフィール
   ========================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.profile-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.profile-alias {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}
.profile-name { font-family: var(--font-display); font-size: 22px; color: var(--paper); }
.profile-body p { font-size: 15px; }
.profile-body p + p { margin-top: 1.2em; }

/* ==========================================================
   マジックへの想い
   ========================================================== */
.passion-photo {
  overflow: hidden;
  border: 1px solid var(--line);
}
.passion-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.passion-body { margin-top: 30px; }
.passion-body p { font-size: 15px; }
.passion-body p + p { margin-top: 1.35em; }
.passion-body .passion-message {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 2;
  color: var(--paper);
}

/* ==========================================================
   実績：各実績の説明に対応する写真をその直後に配置
   ========================================================== */

.work-list { list-style: none; }
.work-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.work-row:first-child { border-top: 1px solid var(--line); }
.work-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.work-venue {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
  transition: color 0.25s ease;
}
a.work-venue:hover { color: var(--brass); }
.work-venue .ext {
  font-size: 12px;
  color: var(--brass);
  margin-left: 6px;
  vertical-align: 1px;
}
.work-scale {
  font-size: 12px;
  color: var(--teal);
  white-space: nowrap;
}
.work-desc { font-size: 13.5px; color: var(--paper-dim); margin-top: 6px; }
.work-media-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.work-media { margin-top: 18px; overflow: hidden; }
.work-media-grid .work-media { margin-top: 0; }
.work-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.work-media--flyer img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #eaf7ff;
}
.work-media figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--paper-dim);
}

/* 実演動画 */
.proof-grid {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.proof { border: 0; margin-top: 32px; }
.proof video { width: 100%; display: block; }
.proof-caption {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--paper-dim);
  border-top: 1px solid var(--line);
}

/* ==========================================================
   料金
   ========================================================== */
.price-table { list-style: none; }
.price-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row:first-child { border-top: 1px solid var(--line); }
.price-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.price-name { font-family: var(--font-label); font-weight: 700; font-size: 17px; color: var(--paper); }
.price-value { font-size: 21px; color: var(--brass); white-space: nowrap; }
.price-desc { font-size: 13.5px; color: var(--paper-dim); margin-top: 8px; }

/* ==========================================================
   お問い合わせ
   ========================================================== */
#contact {
  color: #40504a;
  background:
    radial-gradient(circle at 92% 8%, rgba(95, 190, 173, 0.2), transparent 38%),
    var(--paper);
}
#contact .eyebrow { color: #7d6039; }
#contact .heading { color: var(--pine); }
.contact-lead { font-size: 14.5px; margin-bottom: 30px; }
.contact-btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--pine);
  padding: 17px 42px;
  box-shadow: 0 10px 28px rgba(18, 36, 31, 0.18);
  transition: background 0.3s ease, color 0.3s ease;
}
.contact-btn:hover { background: var(--brass); color: var(--pine); }

.sns-row { margin-top: 34px; display: flex; gap: 14px; list-style: none; }
.sns-row a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--brass);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.sns-row a:hover { border-color: var(--brass); color: var(--paper); }
.sns-row svg { width: 17px; height: 17px; }

#contact .sns-row a {
  border-color: rgba(18, 36, 31, 0.22);
  color: var(--pine);
}
#contact .sns-row a:hover { border-color: var(--pine); color: var(--pine); }

.footer {
  padding: 34px 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}

/* ==========================================================
   スクロール登場アニメーション（控えめなフェードに統一）
   ========================================================== */
.reveal {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.5s ease, translate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* リスト内も小さな移動だけにし、長い時間差は付けない */
.work-row, .price-row {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.45s ease, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-list.is-visible .work-row, .price-table.is-visible .price-row {
  opacity: 1;
  translate: 0 0;
}
.work-list.is-visible .work-row:nth-child(n),
.price-table.is-visible .price-row:nth-child(n) { transition-delay: 0.03s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .work-row, .price-row {
    opacity: 1; translate: 0 0; scale: 1; clip-path: none; transition: none;
  }
}

/* ==========================================================
   PC
   ========================================================== */
@media (min-width: 1000px) {
  :root { --column: 640px; }
  section { padding: 84px 48px; }
  .hero-name { font-size: 46px; }
  .heading { font-size: 28px; }
  .quote p { font-size: 21px; }
  .work-venue { font-size: 17px; }
  .price-name { font-size: 18px; }
}
