/* ==========================================================================
   佐々木俊一 公式サイト — 共通デザインシステム
   方向性B「劇場的」: 黒×オフホワイト×燻したブラス。黒/白のリズムで可読性を確保。
   ========================================================================== */

:root{
  /* --- neutrals --- */
  --paper:      #F7F5F0;   /* 明るいセクションの背景(温白) */
  --paper-ink:  #17160F;   /* 明るいセクション上の本文色 */
  --paper-muted:#38352E;   /* 明るいセクション上の補助文字(読みやすさ優先で濃いめ) */
  --paper-line: #E3DFD3;   /* 明るいセクションの罫線 */
  --paper-panel:#EFEBE1;   /* 明るいセクション内のカード背景 */

  --stage:      #0B0B0A;   /* 暗いセクションの背景(黒) */
  --stage-ink:  #F4F1E9;   /* 暗いセクション上の本文色 */
  --stage-muted:#DAD6C8;   /* 暗いセクション上の補助文字(読みやすさ優先で明るめ) */
  --stage-line: #2A2924;   /* 暗いセクションの罫線 */
  --stage-panel:#161513;   /* 暗いセクション内のカード背景 */

  --accent:      #B48A54;  /* ブラス(暗い背景用) */
  --accent-deep: #8A6636;  /* ブラス(明るい背景用、コントラスト確保) */

  --ok:#5B7A5E; /* フォーム成功時のみ使用する意味色 */
  --err:#A5473A; /* フォームエラー時のみ使用する意味色 */

  --font-mincho:"Hiragino Mincho ProN","YuMincho","Yu Mincho","Noto Serif JP",serif;
  --font-gothic:"Hiragino Kaku Gothic ProN","Yu Gothic Medium","Yu Gothic","Noto Sans JP",sans-serif;

  --container: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);

  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
[id]{ scroll-margin-top:var(--header-h); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--paper); color:var(--paper-ink);
  font-family:var(--font-gothic); font-size:16px; line-height:1.9;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
.br-pc-only{ display:inline; }
@media (max-width:760px){ .br-pc-only{ display:none; } }
.br-sp-only{ display:none; }
@media (max-width:760px){ .br-sp-only{ display:inline; } }
button{ font:inherit; background:none; border:none; cursor:pointer; color:inherit; }
input,textarea,select{ font:inherit; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}

/* ---------- layout helpers ---------- */
.container{ max-width:var(--container); margin:0 auto; padding:0 clamp(1.25rem,4vw,3rem); }
.section{ padding:6.5rem 0; }
.section--tight{ padding:4.5rem 0; }
.section--dark{ background:var(--stage); color:var(--stage-ink); }
.section--light{ background:var(--paper); color:var(--paper-ink); }

.section-head{ max-width:920px; margin-bottom:3.2rem; }
.section-head--wide{ max-width:920px; }
.section--center .section-head{ margin-left:auto; margin-right:auto; text-align:center; }
.section--center > .container > div{ text-align:center; }

.kicker{
  display:inline-block; font-family:var(--font-gothic); font-weight:600;
  font-size:0.72rem; letter-spacing:0.28em; text-transform:uppercase;
  margin-bottom:1rem;
}
.section--dark .kicker{ color:var(--accent); }
.section--light .kicker{ color:var(--accent-deep); }

h2.heading{
  font-family:var(--font-mincho); font-weight:600;
  font-size:clamp(1.7rem, 3.4vw, 2.6rem); line-height:1.55;
}
.lede{
  margin-top:1.1rem; font-size:1.06rem; font-weight:600; line-height:1.95;
}
.subtitle{
  font-family:var(--font-mincho); font-weight:600; margin-top:0.9rem;
  font-size:clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing:0.02em;
}
.section--dark .subtitle{ color:var(--accent); }
@media (max-width:760px){
  /* スマホ版のみ: 「失敗できないシーンに。」を大きく・太く強調 */
  .subtitle{ font-size:1.5rem; font-weight:700; }
}
@media (min-width:761px){
  /* PC版のみ: 「失敗できないシーンに。」を大きく・太く強調 */
  .subtitle{ font-size:1.95rem; font-weight:700; }
}
.section--light .subtitle{ color:var(--accent-deep); }
.section--dark .lede{ color:var(--stage-muted); }
.section--light .lede{ color:var(--paper-muted); }

.rule{ width:2.6rem; height:1px; margin:1.6rem 0; }
.section--dark .rule{ background:var(--accent); }
.section--light .rule{ background:var(--accent-deep); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:0.55rem;
  font-size:0.84rem; letter-spacing:0.05em; font-weight:600;
  padding:1rem 2.1rem; white-space:nowrap; transition:opacity .25s, background-color .25s, color .25s, border-color .25s;
}
.btn--solid{ background:var(--paper-ink); color:var(--paper); }
.section--dark .btn--solid{ background:var(--stage-ink); color:var(--stage); }
.btn--solid:hover{ opacity:0.82; }

.btn--outline{ border:1px solid currentColor; }
.btn--outline:hover{ opacity:0.7; }

.btn--text{ padding:0; font-weight:600; border-bottom:1px solid currentColor; }
.btn--text:hover{ opacity:0.6; }

.btn--sm{ padding:0.75rem 1.5rem; font-size:0.76rem; }

/* ---------- header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100; height:var(--header-h);
  display:flex; align-items:center;
  background:transparent; color:var(--stage-ink);
  transition:background-color .35s ease, border-color .35s ease, color .35s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(11,11,10,0.92); backdrop-filter:blur(6px);
  border-bottom-color:var(--stage-line);
}
.site-header.is-onlight{ color:var(--paper-ink); }
.site-header.is-onlight.is-scrolled{
  background:rgba(247,245,240,0.92); border-bottom-color:var(--paper-line);
}
.site-header .container{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; column-gap:1.5rem;
  width:100%; max-width:none; padding-left:1.25rem; padding-right:clamp(1.25rem,4vw,3rem);
}
.site-header .nav-links{ justify-self:center; }
.site-header .header-actions{ justify-self:end; }
.brand{
  font-family:var(--font-mincho); font-size:1.05rem; letter-spacing:0.08em;
}
.brand small{
  display:block; font-family:var(--font-gothic); font-size:0.6rem; letter-spacing:0.22em;
  color:var(--accent); margin-bottom:0.1rem; font-weight:600;
}

.nav-links{ display:flex; align-items:center; gap:2.2rem; }
.nav-links a{
  font-size:0.82rem; letter-spacing:0.04em; position:relative; padding:0.3rem 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .3s;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:1.2rem; }
.menu-toggle{ display:none; width:2.2rem; height:2.2rem; position:relative; }
.menu-toggle span{
  position:absolute; left:0.35rem; right:0.35rem; height:1px; background:currentColor;
  transition:transform .3s, opacity .3s;
}
.menu-toggle span:nth-child(1){ top:0.8rem; }
.menu-toggle span:nth-child(2){ top:1.15rem; }
.menu-toggle span:nth-child(3){ top:1.5rem; }
.menu-toggle.is-open span:nth-child(1){ transform:translateY(0.35rem) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity:0; }
.menu-toggle.is-open span:nth-child(3){ transform:translateY(-0.35rem) rotate(-45deg); }

.mobile-nav{
  position:fixed; inset:var(--header-h) 0 0 0; z-index:90;
  background:var(--stage); color:var(--stage-ink);
  display:flex; flex-direction:column; padding:2.5rem clamp(1.25rem,6vw,3rem);
  gap:1.6rem; transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.mobile-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-nav a{ font-family:var(--font-mincho); font-size:1.3rem; }

@media (max-width:900px){
  .nav-links{ display:none; }
  .menu-toggle{ display:block; }
}

/* ---------- footer ---------- */
.site-footer{
  background:var(--stage); color:var(--stage-muted);
  padding:4.5rem 0 2.5rem; font-size:0.85rem;
}
.footer-top{
  display:flex; gap:4.5rem; flex-wrap:wrap;
  padding-bottom:3rem; border-bottom:1px solid var(--stage-line);
}
.footer-col h3{
  font-size:0.72rem; letter-spacing:0.2em; color:var(--stage-ink); margin-bottom:1.1rem; font-weight:600;
}
.footer-col ul{ display:flex; flex-direction:column; gap:0.75rem; }
.footer-col a:hover{ color:var(--stage-ink); }
@media (min-width:761px){
  /* PC版のみ: SITE MAP/CONTACTの見出しを消し、リンクを横一列に並べる */
  .footer-top{ justify-content:flex-start; align-items:center; gap:2.5rem; }
  .footer-col h3{ display:none; }
  .footer-col ul{ flex-direction:row; gap:2.5rem; }
}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top:2rem;
  font-size:0.75rem; letter-spacing:0.02em; flex-wrap:wrap; gap:1rem;
}
@media (max-width:760px){
  /* スマホ版のみ: SITE MAP/CONTACTの幅がバラバラで右に空白ができるため均等2列にする */
  .footer-top{ display:grid; grid-template-columns:1fr 1fr; gap:2.4rem; }
}

/* ---------- hero (TOP) ---------- */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  background:var(--stage); color:var(--stage-ink); overflow:hidden;
}
.hero-media{ position:absolute; inset:0; }
.hero-media video, .hero-media img{
  width:100%; height:100%; object-fit:cover; object-position:58% 14%;
}
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(6,6,5,0.92) 0%, rgba(6,6,5,0.6) 18%, rgba(6,6,5,0.0) 42%);
}
@media (max-width:760px){
  /* スマホ版のみ: 縦長画面で顔が中央に来るよう調整(PC版のobject-positionは変更しない) */
  .hero-media img{ object-position:50% 22%; }
}
@media (max-width:760px){
  /* スマホ版のみ: 見出しが写真の明るい部分と重なっても読めるよう柔らかい影を追加(PC版は変更なし) */
  .hero-content h1{
    text-shadow:
      0 2px 6px rgba(0,0,0,0.55),
      0 6px 26px rgba(0,0,0,0.5);
  }
}
.hero-content{
  position:relative; z-index:2; padding:calc(var(--header-h) + 2rem) clamp(1.25rem,6vw,3rem) 5.5rem;
  max-width:900px; display:flex; flex-direction:column; gap:1.5rem; width:100%;
}
.hero-titles{ display:flex; flex-direction:column; gap:0.15rem; }
.hero-titles .hero-kicker{
  font-family:var(--font-gothic); font-weight:600; text-align:left;
  font-size:0.74rem; letter-spacing:0.3em; color:var(--accent);
  margin-bottom:0.35rem;
}
.hero-titles .hero-name{
  font-family:var(--font-mincho); font-weight:600; text-align:left;
  font-size:clamp(3rem, 7.2vw, 5rem); letter-spacing:0.04em;
  color:var(--stage-ink); text-shadow:0 1px 18px rgba(0,0,0,0.5);
  margin-bottom:-0.2rem;
}
.hero-content h1{
  font-family:var(--font-mincho); font-weight:600;
  font-size:clamp(2.6rem, 7.4vw, 5.6rem); line-height:1.22; text-wrap:balance;
}
.hero-actions{ display:flex; gap:1rem; margin-top:0.6rem; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; right:clamp(1.25rem,6vw,3rem); bottom:2rem; z-index:2;
  writing-mode:vertical-rl; font-size:0.68rem; letter-spacing:0.2em; color:var(--stage-muted);
  display:flex; align-items:center; gap:0.8rem;
}
.hero-scroll::after{ content:""; width:1px; height:2.6rem; background:var(--stage-muted); }

/* ---------- 動画後の紹介文 ---------- */
@media (max-width:760px){
  /* スマホ版のみ非表示(テキストはプロフィール側で流用予定のためHTMLは残す。PC版は表示のまま) */
  .intro-band{ display:none; }
}
.intro-copy{
  max-width:990px; margin:0 auto; text-align:center;
  font-family:var(--font-mincho); font-weight:600; font-size:clamp(1.18rem, 2.05vw, 1.52rem);
  line-height:2.1; letter-spacing:0.03em; color:var(--paper-ink);
}
.intro-copy p{ margin:0; }
.intro-copy__rule{
  width:2.6rem; height:1px; background:var(--accent-deep); margin:0 auto 2.2rem;
}
.intro-copy .accent-num{
  color:var(--accent-deep); font-weight:600; font-size:1.08em;
  padding-bottom:0.08em; border-bottom:1px solid rgba(138,102,54,0.55);
}
.profile-band .accent-num{ color:var(--accent); font-weight:700; }
@media (min-width:761px){
  /* PC版のみ: プロフィール要約内の実績数字(19万人・6,500万回)を上品に強調(スマホ版は現状のまま変更なし) */
  .profile-band .accent-num{
    font-weight:600; font-size:1.1em;
    padding-bottom:0.08em; border-bottom:1px solid rgba(180,138,84,0.55);
  }
}
@media (min-width:761px){
  .intro-copy p:not(.cta-line){ white-space:nowrap; }
}
.intro-copy .cta-line{
  margin-top:1.8rem; font-family:var(--font-gothic); font-size:0.85rem;
}

/* ---------- showreel (30秒ショー動画) ---------- */
.showreel-band{ background:var(--stage); padding:0; }
.showreel{ position:relative; width:100%; aspect-ratio:16/9; max-height:88svh; overflow:hidden; background:#000; }
.showreel video{ width:100%; height:100%; object-fit:cover; }
.showreel-caption{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.6rem;
  padding:1.1rem clamp(1.25rem,6vw,3rem); background:var(--stage); color:var(--stage-muted);
  font-size:0.76rem; letter-spacing:0.06em;
}

/* ---------- 対応イベント (event scenes) ---------- */
@media (min-width:761px){
  /* PC版のみ: 直前の紹介文セクション(intro-band)との間の余白が広すぎるため詰める(スマホ版は変更なし) */
  #scenes{ padding-top:3.5rem; }
}
.scene-cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--paper-line); border:1px solid var(--paper-line); }
@media (min-width:761px){
  /* PC版のみ: シーンカード全体を囲む罫線を太くする */
  .scene-cards{ gap:3px; border-width:3px; }
}
.scene-card{ background:var(--paper); display:flex; flex-direction:column; }
.scene-card .photo{ position:relative; overflow:hidden; aspect-ratio:4/2.7; border:1px solid var(--accent-deep); }
.scene-card .photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .6s ease;
}
.scene-card:hover .photo img{ transform:scale(1.04); }
.scene-card .photo.is-empty{ background:var(--stage); }
.scene-card .info{
  position:relative; overflow:hidden; flex:1;
  padding:1.7rem 1.6rem 2rem; display:flex; flex-direction:column;
}
.scene-card .info .idx{
  font-family:var(--font-mincho); font-size:1.15rem; color:var(--accent-deep); line-height:1;
}
.scene-card .info .rule{ width:1.5rem; height:1px; background:var(--accent-deep); margin:0.7rem 0 1rem; }
.scene-card .info .jp-name{
  font-family:var(--font-mincho); font-weight:700; letter-spacing:0.02em;
  font-size:clamp(1.15rem, 1.6vw, 1.4rem); line-height:1.25; color:var(--paper-ink);
}
.scene-card .info .en-name{
  font-family:var(--font-gothic); font-weight:600; font-size:0.78rem; color:var(--accent-deep);
  letter-spacing:0.06em; margin-top:0.5rem;
}
.scene-card .info p{
  margin-top:1rem; font-size:0.9rem; font-weight:600; line-height:1.85; color:var(--paper-muted);
}
.scene-card .info > *{ position:relative; z-index:1; }
@media (max-width:760px){
  /* スマホ版のみ: カード間の罫線を少し太くして見やすくする */
  .scene-cards{ grid-template-columns:1fr 1fr; gap:2px; border-width:2px; }
}
@media (max-width:480px){
  .scene-cards{ grid-template-columns:1fr 1fr; }
  .scene-card .info{ padding:1rem 1rem 1.3rem; }
  .scene-card .info .idx{ font-size:0.95rem; }
  .scene-card .info .rule{ margin:0.5rem 0 0.7rem; }
  .scene-card .info .jp-name{ font-size:0.92rem; line-height:1.3; }
  .scene-card .info .en-name{ font-size:0.62rem; margin-top:0.35rem; }
  .scene-card .info p{ font-size:0.74rem; line-height:1.65; margin-top:0.6rem; }
}

/* ---------- 選ばれる理由 ---------- */
.reason-layout{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:var(--gap); align-items:center; }
.reason-list{ display:flex; flex-direction:column; }
.reason-item{
  display:flex; gap:1.1rem; padding:1.3rem 0; border-bottom:1px solid var(--paper-line);
}
.reason-item .mark{ flex:none; width:1.6rem; height:1.6rem; margin-top:0.15rem; color:var(--accent-deep); }
.reason-item h4{ font-family:var(--font-mincho); font-size:1.02rem; margin-bottom:0.35rem; }
.reason-item p{ font-size:0.92rem; font-weight:600; color:var(--paper-muted); line-height:1.85; }
.reason-photo img{ width:100%; }
@media (max-width:760px){ .reason-layout{ grid-template-columns:1fr; } .reason-photo{ order:-1; } .reason-item h4.top-sp-tight{ font-size:clamp(0.92rem, 4.2vw, 1.02rem); white-space:nowrap; } }

/* ---------- 実績詳細(PROFILEページ) ---------- */
.achv-group{ margin-top:3.2rem; }
.achv-group:first-of-type{ margin-top:0; }
.achv-group__title{
  font-family:var(--font-mincho); font-weight:600; font-size:1.15rem;
  letter-spacing:0.03em; margin-bottom:0.8rem;
  padding-bottom:0.7rem; border-bottom:1px solid var(--paper-line);
}
.section--dark .achv-group__title{ color:var(--accent); border-bottom-color:var(--stage-line); }
.section--light .achv-group__title{ color:var(--accent-deep); }
.achv-list{ display:flex; flex-direction:column; }
.achv-item{
  display:flex; gap:1.5rem; padding:0.85rem 0; border-bottom:1px solid var(--paper-line);
  font-size:0.92rem; line-height:1.75;
}
.section--dark .achv-item{ border-bottom-color:var(--stage-line); }
.achv-item:last-child{ border-bottom:none; }
.achv-date{
  flex:none; width:8.5rem; font-family:var(--font-gothic); font-size:0.8rem; padding-top:0.2rem;
}
.section--light .achv-date{ color:var(--paper-muted); }
.section--dark .achv-date{ color:var(--stage-muted); }
.achv-text{ font-weight:600; }
.section--light .achv-text{ color:var(--paper-ink); }
.section--dark .achv-text{ color:var(--stage-ink); }
@media (max-width:760px){
  .achv-group{ margin-top:2.4rem; }
  .achv-item{ flex-direction:column; gap:0.3rem; padding:1rem 0; }
  .achv-date{ width:auto; font-size:0.76rem; }
  .section--light .achv-date{ color:var(--accent-deep); }
  .section--dark .achv-date{ color:var(--accent); }
  .achv-text{ font-size:0.88rem; line-height:1.7; }
}

/* ---------- 選ばれる理由(TV・著名人共演マーキー) ---------- */
.credibility-band{ display:flex; flex-direction:column; padding-bottom:4rem; }
.credibility-band > .container{ width:100%; }
@media (min-width:761px){
  /* PC版のみ: リード文とその下の文章(限られた時間...)の行間が空きすぎるため詰める */
  .credibility-band .section-head--wide{ margin-bottom:1.2rem; }
}
@media (max-width:760px){
  /* スマホ版のみ: 「数多くマジックを披露してきました。」と写真の間の余白を詰める */
  .credibility-band .section-head--wide{ margin-bottom:0.4rem; }
}
.credibility-band > .container:first-of-type{ order:1; }
.credibility-band > .container:last-of-type{ order:2; }
.credibility-band > .marquee{ order:3; }
@media (max-width:760px){
  /* スマホ版のみ: 文章→写真→文章の順に並び替え(PC版は文章がすべて終わってから写真、order:1のまま変更なし) */
  .credibility-band > .marquee{ order:2; }
  .credibility-band > .container:last-of-type{ order:3; margin-top:2.5rem; }
}
.marquee{
  margin-top:3.5rem; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.marquee-track{
  display:flex; align-items:center; gap:1rem; width:max-content;
  animation:marquee-scroll 75s linear infinite;
}
.marquee-track img{
  height:190px; width:auto; flex:none; object-fit:cover; border:1px solid var(--stage-line);
}
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (max-width:760px){
  .marquee-track img{ height:120px; }
  .marquee-track{ gap:0.6rem; animation-duration:47s; }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; }
}

/* ---------- 実績 (WORKS names) ---------- */
.works-band{ background:var(--stage); color:var(--stage-ink); }
.works-list{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--stage-line); }
.works-list li{
  background:var(--stage); padding:1.6rem 1.4rem; font-family:var(--font-mincho); font-size:1.02rem;
  display:flex; align-items:center; min-height:5.4rem;
}
.works-note{ margin-top:1.6rem; font-size:0.84rem; font-weight:600; color:var(--stage-muted); }
@media (max-width:760px){ .works-list{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .works-list{ grid-template-columns:1fr; } }

/* ---------- ギャラリー ---------- */
.gallery-band{ background:var(--stage); color:var(--stage-ink); }
.gallery-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:0.6rem;
}
.gallery-grid a{ display:block; overflow:hidden; position:relative; aspect-ratio:4/5; }
.gallery-grid img{
  width:100%; height:100%; object-fit:cover; transition:transform .6s ease;
}
.gallery-grid a:hover img{ transform:scale(1.045); }
.gallery-grid a.is-wide{ grid-column:span 2; aspect-ratio:8/5; }
@media (max-width:760px){
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
  .gallery-grid a.is-wide{ grid-column:span 2; }
}
/* TOPページのギャラリー入り口(スマホ版のみ・PC版はすでに別セクションで表示済みのため非表示) */
.gallery-entrance-band{ display:none; }
@media (max-width:760px){
  .gallery-entrance-band{ display:block; }
  .gallery-entrance-grid{ grid-template-columns:repeat(2, 1fr); max-width:280px; margin:0 auto; gap:0.4rem; }
  /* スマホ版のみ: TOPページのギャラリー入り口をPC版(gallery-band)と同じ7枚構成・トリミング無しにする場合の見た目調整 */
  .gallery-entrance-grid--full{ grid-template-columns:repeat(3, 1fr); max-width:100%; gap:0.35rem; align-items:start; }
  .gallery-entrance-grid--full a{ aspect-ratio:auto; }
  .gallery-entrance-grid--full img{ width:100%; height:auto; object-fit:contain; display:block; }
  .gallery-grid--top__stack{ display:flex; flex-direction:column; gap:0.35rem; }
}
/* ギャラリーページ(gallery.html)専用: 真っ白だと安っぽいので少し深みのあるクリーム色に */
.gallery-page-band{ background:var(--paper-panel); }
.gallery-grid--full{
  display:block; column-count:3; column-gap:0.6rem;
}
.gallery-grid--full a{
  display:block; break-inside:avoid; margin-bottom:0.6rem; aspect-ratio:auto; overflow:visible;
  border:1px solid var(--paper-line);
}
.gallery-grid--full img{
  width:100%; height:auto; object-fit:contain; display:block;
}
@media (max-width:760px){
  .gallery-grid--full{ column-count:2; }
}
/* スマホ版ギャラリーページ専用: column-count自動配分だと写真を1枚動かすだけで他の写真の列振り分けまでずれるため、
   スマホ版のみ列を固定で手動に分ける(PC版のgallery-desktop-onlyブロックは上記のcolumn-count:3のまま、互いに影響なし) */
.gallery-grid--mobile-split{ display:none; }
@media (max-width:760px){
  .gallery-desktop-only{ display:none; }
  .gallery-grid--mobile-split{ display:flex; gap:0.6rem; }
  .gallery-grid--mobile-col{ flex:1; min-width:0; display:flex; flex-direction:column; }
  .gallery-grid--mobile-col a{ display:block; margin-bottom:0.6rem; border:1px solid var(--paper-line); }
  .gallery-grid--mobile-col img{ width:100%; height:auto; object-fit:contain; display:block; }
}
@media (min-width:761px){
  /* PC版のみ: TOPページのギャラリートップ6枚を現状より少し小さく表示 */
  .gallery-grid--top.top-pc-only-copy{ display:grid; max-width:820px; margin:0 auto; gap:0.5rem; align-items:start; }
  .gallery-grid--top.top-pc-only-copy a{ aspect-ratio:auto; }
  .gallery-grid--top.top-pc-only-copy img{ height:auto; object-fit:contain; }
  .gallery-grid--top__stack{ display:flex; flex-direction:column; gap:0.5rem; }
}

/* lightbox */
.lightbox{
  position:fixed; inset:0; z-index:200; background:rgba(6,6,5,0.94);
  display:flex; align-items:center; justify-content:center; padding:4vh 4vw;
  opacity:0; pointer-events:none; transition:opacity .25s;
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:100%; max-height:92vh; }
.lightbox-close{
  position:absolute; top:1.6rem; right:1.6rem; color:var(--stage-ink); font-size:0.8rem;
  letter-spacing:0.1em; border:1px solid var(--stage-line); padding:0.6rem 1.1rem;
}

/* ---------- 料金目安 ---------- */
.plan-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--paper-line); }
.plan-card{
  background:var(--paper); padding:2.4rem 2rem; display:flex; flex-direction:column; gap:0.9rem;
}
.plan-card .name{ font-family:var(--font-mincho); font-size:1.15rem; }
.plan-card .price{
  font-family:var(--font-mincho); font-weight:700; font-size:1.9rem; color:var(--accent-deep);
  display:flex; align-items:baseline; gap:0.3rem;
}
.plan-card .price small{ font-family:var(--font-gothic); font-size:0.72rem; color:var(--paper-muted); }
@media (min-width:761px){
  /* PC版のみ: 料金の数字をさらに強調 */
  .plan-card .price{ font-size:2.3rem; }
}
.plan-card p{ font-size:0.9rem; font-weight:600; color:var(--paper-muted); line-height:1.85; }
.plan-note{
  margin-top:2rem; font-size:0.88rem; font-weight:600; color:var(--paper-muted); line-height:2;
  border-top:1px solid var(--paper-line); padding-top:1.6rem;
}
.plan-card--blank{ background:var(--paper); }
@media (max-width:900px){ .plan-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){
  .plan-card{ padding:1.5rem 1.3rem; }
  .plan-card .name{ font-size:0.98rem; line-height:1.35; min-height:2.7em; }
  .plan-card .price{ font-size:1.85rem; }
  .plan-card p{ font-size:0.78rem; line-height:1.7; }
}

/* ---------- プロフィール ---------- */
.profile-band{ background:var(--stage); color:var(--stage-ink); }
.profile-layout{ display:grid; grid-template-columns:0.82fr 1.18fr; gap:var(--gap); align-items:center; }
.profile-photo img{ width:100%; aspect-ratio:933/1400; object-fit:cover; }
.profile-stats{ display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; background:var(--stage-line); margin-top:2rem; }
.profile-stats div{ background:var(--stage); padding:1.4rem 1.2rem; }
.profile-stats .num{ font-family:var(--font-mincho); font-size:1.7rem; color:var(--accent); }
.profile-stats .lbl{ font-size:0.74rem; color:var(--stage-muted); margin-top:0.3rem; }
@media (max-width:760px){ .profile-layout{ grid-template-columns:1fr; } }
@media (max-width:760px){
  /* スマホ版のみ: PROFILEページの見出しと写真の間が空きすぎるため詰める(TOP側のprofile-bandには影響なし) */
  .profile-page-intro{ padding-top:0.75rem; }
  /* スマホ版のみ: PROFILEページの実績ボックスを非表示 */
  .profile-page-intro .profile-stats{ display:none; }
}
@media (min-width:761px){
  /* PC版のみ: PROFILEページの見出しと写真・文章の間が空きすぎるため詰める(TOP側のprofile-bandには影響なし) */
  .profile-page-intro{ padding-top:0.5rem; }
  /* PC版のみ: 写真と文章の上端を揃え、比率・間隔を調整して一つのまとまりに見せる */
  .profile-page-intro .profile-layout{
    grid-template-columns:0.85fr 1fr;
    column-gap:3.5rem;
    align-items:start;
  }
  /* PC版のみ: 本文の最大幅を抑えて1行あたりの文字数を読みやすくする */
  .profile-page-text{ max-width:520px; }
  /* PC版のみ: PROFILEページの実績ボックスを非表示(スマホ版は表示のまま) */
  .profile-page-intro .profile-stats{ display:none; }
  /* PC版のみ: PROFILEページの文章を読みやすく(文字サイズ・行間・明るさを調整、スマホ版は変更なし) */
  .profile-page-intro .profile-copy{
    font-size:1.14rem; line-height:2.05; color:var(--stage-ink);
  }
  .profile-page-intro .profile-copy + .profile-copy{ margin-top:1.3rem; }
}
.profile-page-intro .profile-highlight{ color:var(--accent); font-weight:700; }
.profile-social{ margin-top:2rem; }
.profile-social__label{ margin-bottom:0.9rem; }
.profile-social__icons{ display:flex; gap:1.4rem; }
.profile-social a{ color:var(--stage-muted); transition:color .25s, opacity .25s; }
.profile-social a:hover{ color:var(--accent); opacity:0.85; }
.profile-social svg{ width:34px; height:34px; display:block; }

/* ---------- 実績写真 / 声 ---------- */
.proof-layout{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); align-items:center; }
.proof-photo img{ width:100%; }
.proof-caption{ margin-top:0.9rem; font-size:0.86rem; font-weight:600; color:var(--paper-muted); }
@media (max-width:760px){ .proof-layout{ grid-template-columns:1fr; } }

/* ---------- FAQ / 流れ ---------- */
.flow-steps{ display:flex; flex-direction:column; }
.flow-step{ display:flex; gap:1.4rem; padding:1.5rem 0; border-bottom:1px solid var(--paper-line); }
.flow-step .idx{ font-family:var(--font-mincho); font-size:1.3rem; color:var(--accent-deep); flex:none; width:2.2rem; }
.flow-step h4{ font-family:var(--font-mincho); font-size:1.05rem; margin-bottom:0.4rem; }
.flow-step p{ font-size:0.92rem; font-weight:600; color:var(--paper-muted); }

.faq-list{ border-top:1px solid var(--paper-line); }
.faq-item{ border-bottom:1px solid var(--paper-line); }
.faq-q{
  width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center;
  padding:1.5rem 0.2rem; font-family:var(--font-mincho); font-weight:700; font-size:1.02rem; gap:1rem;
  color:var(--paper-ink);
}
.faq-q .plus{ flex:none; font-family:var(--font-gothic); font-size:1.2rem; color:var(--accent-deep); transition:transform .3s; }
.faq-item.is-open .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .35s ease;
  font-size:0.94rem; font-weight:600; color:var(--paper-muted); line-height:1.95;
}
.faq-a-inner{ padding:0 0.2rem 1.5rem; max-width:760px; }
.faq-cta{ justify-content:center; }
@media (min-width:761px){
  /* PC版のみ: 回答欄の横幅が狭く、不自然な位置で改行されるため広げる(スマホ版は元々760px未満なので影響なし) */
  .faq-a-inner{ max-width:960px; }
  /* PC版のみ: FAQページ見出し下のリード文を1行に収める(他ページのpage-heroには影響なし) */
  .page-hero p.faq-hero-lede{ max-width:1000px; }
  /* PC版のみ: CONTACTページ見出し下のリード文を1行に収める(他ページのpage-heroには影響なし) */
  .page-hero p.contact-hero-lede{ max-width:1000px; }
  /* PC版のみ: PROFILEページ末尾のCTAセクション上の余白が空きすぎるため詰める */
  .profile-cta-band{ padding-top:1.2rem; }
}

/* ---------- CONTACT ---------- */
.contact-layout{ max-width:820px; margin:0 auto; }
.contact-form{ display:flex; flex-direction:column; gap:1.3rem; }
.field{ display:flex; flex-direction:column; gap:0.55rem; }
.field label{ font-size:0.85rem; font-weight:700; letter-spacing:0.04em; color:var(--paper-ink); }
.field .req{ color:var(--err); font-size:1.1em; font-weight:700; margin-left:0.15em; }
.field input, .field select, .field textarea{
  background:rgba(23,22,15,0.03); border:1px solid rgba(23,22,15,0.16); border-radius:3px;
  color:var(--paper-ink); padding:0.8rem 0.9rem; font-size:0.95rem;
}
.field input::placeholder, .field textarea::placeholder{ color:var(--paper-muted); opacity:0.75; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent-deep); background:rgba(23,22,15,0.05);
}
.field textarea{ resize:vertical; min-height:7rem; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; }
.form-note{ font-size:0.84rem; font-weight:600; color:var(--paper-muted); line-height:1.9; }
.form-status{ font-size:0.85rem; min-height:1.4em; }
.form-status[data-state="ok"]{ color:var(--ok); }
.form-status[data-state="err"]{ color:var(--err); }
@media (max-width:760px){
  .field-row{ grid-template-columns:1fr; }
}

/* ---------- page hero (interior pages) ---------- */
.page-hero{
  background:var(--stage); color:var(--stage-ink);
  padding:calc(var(--header-h) + 5rem) 0 4.5rem;
}
@media (max-width:760px){
  /* スマホ版のみ: PROFILEページのファーストセクションをPC版と同じ比率に詰める(他ページのpage-heroには影響なし) */
  .profile-page-hero{ padding-bottom:1rem; }
  .profile-page-hero .kicker{ margin-bottom:0.4rem; }
}
@media (min-width:761px){
  /* PC版のみ: PROFILEページのファーストセクションのバランス調整(他ページのpage-heroには影響なし) */
  .profile-page-hero{ padding-top:calc(var(--header-h) + 3.5rem); padding-bottom:1rem; }
  .profile-page-hero .kicker{ margin-bottom:0.4rem; }
}
.page-hero .kicker{ color:var(--accent); }
.page-hero h1{
  font-family:var(--font-mincho); font-weight:600; font-size:clamp(2.1rem,4.4vw,3.2rem);
}
.page-hero p{ margin-top:1rem; font-size:1.02rem; font-weight:600; color:var(--stage-muted); max-width:800px; line-height:1.95; }

/* ---------- reveal animation ---------- */
[data-reveal]{ opacity:0; transform:translateY(16px); transition:opacity .8s ease, transform .8s ease; }
[data-reveal].in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity:1; transform:none; transition:none; } }

/* ---------- misc utility ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
@media (max-width:760px){ .two-col{ grid-template-columns:1fr; } }
.mt-lg{ margin-top:3rem; }

/* ---------- PC/SP出し分けユーティリティ(必ずファイル末尾に置き、他のコンポーネントより優先させる) ---------- */
/* TOPページのスマホ版改行調整専用: PC/SPでテキストを出し分ける(他ページでは未使用) */
.top-pc-only-copy{ display:revert; }
.top-sp-only-copy{ display:none; }
@media (max-width:760px){
  .top-pc-only-copy{ display:none; }
  .top-sp-only-copy{ display:revert; }
}
/* 汎用: PC/SPでテキストを出し分ける(サイト全体で使用可) */
.pc-only-copy{ display:revert; }
.sp-only-copy{ display:none; }
@media (max-width:760px){
  .pc-only-copy{ display:none; }
  .sp-only-copy{ display:revert; }
}
