/* 白基調・極小ナビ・余白広め（参照サイト風） */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #111;
  background: #e0e0e0; /* 全体背景を一段濃いグレーに */
  font-family: Poppins, "Yantramanav", "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  line-height: 1.8;
  overflow: auto;
}
/* サブページは白背景に */
body.subpage { background: #ffffff; }
body.home { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

:root { --header-h: 82px; /* ヒーロー位置調整 */
  --brand-top: 68%;
  /* 顔が見えるよう上方向へ寄せる（小さいほど上寄せ） */
  --s1-pos: center 22%;
  --s2-pos: center 24%;
  --s3-pos: center 50%;
  --s4-pos: center 48%;
}

/* ヘッダー（背景を全体と揃えたグレー） */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 20;
  background: #e0e0e0; /* 背景を本体と揃える */
  border-bottom: 1px solid rgba(0,0,0,0.08); /* 罫線をわずかに強める */
}
/* サブページではヘッダーも白に */
.subpage .site-header { background: #ffffff; }
.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  line-height: 1;
  font-family: "Yantramanav", Poppins, sans-serif;
}
.home .site-header .logo { display: none; }
.nav { display: flex; gap: 22px; align-items: center; }
.global-nav, .sns { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.global-nav a { font-size: 13px; letter-spacing: 0.16em; font-family: Poppins, "Yantramanav", sans-serif; }
.sns a { font-size: 1.05rem; opacity: .85; }
.sns .imdb a { font-weight: 700; letter-spacing: 0.02em; }
.sns-icon { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 0.8rem; padding: 2px 6px; border: 1px solid rgba(0,0,0,.2); border-radius: 4px; }
.sns-icon.imdb { font-weight: 700; letter-spacing: 0.02em; }

/* ハンバーガー */
.menu { position: relative; width: 28px; height: 20px; display: none; cursor: pointer; }
.menu__line { position: absolute; left: 0; width: 100%; height: 2px; background: #111; transition: transform .2s ease, opacity .2s ease; }
.menu__line--top { top: 0; }
.menu__line--center { top: 9px; }
.menu__line--bottom { bottom: 0; }
.menu.open .menu__line--top { transform: translateY(9px) rotate(45deg); }
.menu.open .menu__line--center { opacity: 0; }
.menu.open .menu__line--bottom { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 840px) {
  .nav { display: none; }
  .menu { display: inline-block; }
}

/* ヒーロー（全画面、文字は下部左） */
/* ヒーロー → 参照サイトのIDに合わせる */
.home #container { height: 100vh; height: 100svh; height: 100dvh; overflow: hidden; }
.home #catchArea { position: relative; margin-top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
.home #catchArea_wrapper { position: relative; height: 100%; }
.home #catchArea_image { position: relative; height: 100%; background: #e0e0e0; isolation: isolate; }
.home #catchArea_image::before { content: ""; position: absolute; inset: 0; background-image: var(--bg-image); background-size: cover; background-position: center; filter: blur(90px) saturate(110%) brightness(0.98); transform: scale(1.20); z-index: 0; opacity: 0.96; }
.home #catchArea_image .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: var(--pos, center center); opacity: 0; transition: opacity 1s ease; transform: scale(var(--scale, 1)); z-index: 1; }
.home #catchArea_image .slide.active { opacity: 1; }
.home #catchArea_image .s1 { --pos: var(--s1-pos, center 50%); --scale: var(--s1-scale, 1); }
.home #catchArea_image .s2 { --pos: var(--s2-pos, center 50%); --scale: var(--s2-scale, 1); }
.home #catchArea_image .s3 { --pos: var(--s3-pos, center 50%); --scale: var(--s3-scale, 1); }
.home #catchArea_image .s4 { --pos: var(--s4-pos, center 50%); --scale: var(--s4-scale, 1); }
.home #catchArea_image.slick, 
.home #catchArea_image.slick .slick-list,
.home #catchArea_image.slick .slick-track { height: 100%; }
.home #catchArea_image.slick .slick-slide { height: 100%; }
.home #catchArea_image.slick .slick-slide > div { position: absolute; inset: 0; height: 100%; }
/* 背景指定は <img> に変更したため不要（残す場合はコメント解除） */

/* セクション（ゆったり余白） */
.section {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 28px;
}
.section h2 { margin: 0 0 20px; font-size: 1.4rem; letter-spacing: 0.08em; }
.section h3 { margin: 28px 0 8px; font-size: 0.95rem; letter-spacing: 0.1em; opacity: 0.9; text-transform: uppercase; }

.profile-list, .credit-list, .news-list { list-style: none; margin: 0; padding: 0; }
.profile-list li { opacity: 0.9; }
/* シンプルなプロフィール行 */
.profile-list.simple li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.profile-list.simple .label { width: 8rem; flex: 0 0 auto; opacity: 0.6; letter-spacing: 0.06em; }
.profile-list.simple .value { flex: 1; }

/* プロフィール写真（未使用） → 画像再掲載時に復帰 */
.credit-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.credit-list .year { width: 4.5rem; opacity: 0.5; flex: 0 0 auto; }

/* ギャラリー（2〜3列） */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; border-radius: 2px; }

/* ニュース */
.news-list li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.news-list time { display: inline-block; width: 8rem; opacity: 0.6; }

/* 問い合わせ */
.contact .contact-lead { margin: -6px 0 22px; color: rgba(0,0,0,0.72); }

/* CONTACT シンプル構成 */
/* CONTACT: アコーディオン仕様 */
.contact-accordion { max-width: 860px; }
details.contact-acc { border-top: 1px solid rgba(0,0,0,0.08); }
details.contact-acc + details.contact-acc { margin-top: 8px; }
details.contact-acc summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(20px, 3.6vw, 26px);
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.82);
}
details.contact-acc summary::-webkit-details-marker { display: none; }
details.contact-acc summary::after {
  content: "+";
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: rgba(0,0,0,0.7);
  transition: transform .2s ease;
}
details.contact-acc[open] summary::after { content: "−"; transform: rotate(0deg); }
.contact-accordion .acc-body { padding: 0 0 8px; }
.contact-need { list-style: none; margin: 0 0 10px; padding: 0; }
.contact-need li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.contact-need li span { display: inline-block; min-width: 6rem; opacity: 0.6; }

/* 連絡先の表示（クリックで露出） */
.reveal { margin: 10px 0 6px; }
.reveal-btn { border: 1px solid rgba(0,0,0,0.6); background: transparent; color: #111; border-radius: 999px; padding: 8px 12px; letter-spacing: 0.06em; cursor: pointer; }
.reveal-box { margin-top: 10px; padding: 12px; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; background: #fff; }
.reveal-box .email { margin: 0 0 8px; font-weight: 600; letter-spacing: 0.02em; }
.reveal-actions { display: flex; gap: 10px; }
.copy-btn { border: 1px solid rgba(0,0,0,0.5); background: transparent; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.template-link { font-size: 0.95rem; }

/* CONTACT: Googleフォーム埋め込み */
.contact-forms { max-width: 980px; }
.contact-stack .form-block { padding: 18px 0 22px; border-top: 1px solid rgba(0,0,0,0.08); }
.contact-stack .form-block:first-of-type { margin-top: 4px; }
.contact-heading { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: clamp(20px, 3.6vw, 26px); letter-spacing: 0.08em; margin: 0 0 8px; color: rgba(0,0,0,0.82); }
.contact-desc { margin: 0 0 12px; color: rgba(0,0,0,0.72); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.contact-forms .btn { border: 1px solid rgba(0,0,0,0.85); background: #111; color: #fff; border-radius: 999px; padding: 9px 14px; letter-spacing: 0.06em; cursor: pointer; }
.contact-forms .btn:hover { opacity: .9; }
.contact-forms .alt-link { font-size: 0.95rem; }
.embed-wrap { position: relative; width: 100%; }
.embed-wrap iframe { width: 100%; height: 1700px; border: 0; background: #fff; }
@media (max-width: 720px) { .embed-wrap iframe { height: 1900px; } }
.form-alt { margin: 10px 0 0; font-size: 0.95rem; }

/* フッター */
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; border: 0; padding: 12px 28px; text-align: center; color: rgba(255,255,255,0.92); background: transparent; z-index: 3; }
.site-footer small { letter-spacing: 0.04em; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
/* サブページではフッターを追従させず、本文の下に配置 */
.subpage .site-footer { position: static; color: rgba(0,0,0,0.56); padding: 20px 28px; }
.subpage .site-footer small { text-shadow: none; }

/* ライトボックス（白基調に合わせ調整） */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 2px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: transparent; color: #fff; border: 0; font-size: 28px; cursor: pointer; }

/* オーバーレイナビ */
.gnav { position: fixed; inset: 0; background: rgba(255,255,255,0.98); display: none; z-index: 30; }
.gnav.open { display: block; }
.gnav__wrap { height: 100%; display: grid; place-items: center; }
.gnav__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; text-align: center; }
.gnav__menu li a { font-size: 1.2rem; letter-spacing: 0.14em; }
/* オーバーレイSNS行（中央に横並び） */
.gnav__sns { list-style: none; margin: 2px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }
.gnav__sns li { display: inline-flex; }
.gnav__sns a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; }
.gnav__sns a i { font-size: 1.15rem; }

/* スクロール時ヘッダー背景 */
.site-header.scrolled { background: #fff; }

/* プレローダー（名前が浮かび上がる） */
#preloader { position: fixed; inset: 0; background: #ffffff; display: grid; place-items: center; z-index: 100; opacity: 1; }
#pre_logo .brand {
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(40px, 8vw, 96px);
  letter-spacing: 0.34em;
  color: #111;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap; /* 1行固定（改行させない） */
}
/* ロード時に付与してアニメ開始 */
#preloader.ready #pre_logo .brand {
  /* 表示アニメーションを少しゆっくり（2.5s） */
  animation: brandReveal 2.5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes brandReveal {
  0%   { opacity: 0; letter-spacing: 0.58em; filter: blur(6px); transform: translateY(14px); }
  60%  { opacity: 1; filter: blur(0.5px); transform: translateY(0); }
  100% { opacity: 1; letter-spacing: 0.12em; filter: blur(0); }
}
/* オーバーレイのフェードアウト */
#preloader.fadeout { animation: preFade 1.0s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes preFade { to { opacity: 0; visibility: hidden; } }

/* ユーザーの簡易アニメ設定に配慮 */
@media (prefers-reduced-motion: reduce) {
  #preloader { display: none !important; }
}

/* モバイルでのプレローダー文字調整（左右バランスを取りつつ画面内に収める） */
@media (max-width: 600px) {
  #pre_logo .brand {
    font-size: clamp(26px, 7.2vw, 34px);
    letter-spacing: 0.12em; /* モバイルでは字間をやや狭く固定して横幅を安定させる */
  }
  #preloader.ready #pre_logo .brand {
    animation: brandRevealMobile 2.5s cubic-bezier(.2,.7,.2,1) forwards;
  }
  @keyframes brandRevealMobile {
    0%   { opacity: 0; filter: blur(6px); transform: translateY(14px); }
    60%  { opacity: 1; filter: blur(0.5px); transform: translateY(0); }
    100% { opacity: 1; filter: blur(0); }
  }
}

/* モノクロ化（全体） */
body.mono {
  filter: grayscale(100%) contrast(1.06) brightness(0.98);
}
#catchArea .hero-brand {
  position: absolute;
  left: 50%;
  top: var(--brand-top, 68%);
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.92);
  font-family: "Bodoni Moda", "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  word-spacing: 0.06em;
  text-align: center;
  z-index: 2;
  font-size: clamp(24px, 6.2vw, 68px);
  line-height: 1.08;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
  opacity: 0.98;
  pointer-events: none;
  white-space: nowrap; /* 1行固定 */
}

/* サブページ */
.page-hero { margin-top: var(--header-h); padding: 18vh 28px 10vh; text-align: center; }
.page-hero .title { font-family: "Bodoni Moda", serif; font-size: clamp(28px, 5.2vw, 56px); letter-spacing: 0.08em; color: rgba(0,0,0,0.82); }
.page-section { max-width: 980px; margin: 0 auto; padding: 56px 28px 88px; color: rgba(0,0,0,0.85); }
.page-section h2 { font-family: "Bodoni Moda", serif; font-weight: 500; letter-spacing: 0.06em; color: rgba(0,0,0,0.82); margin: 36px 0 12px; }
.page-section h2:first-of-type { margin-top: 0; }
@media (max-width: 600px) {
  .page-section { padding: 40px 14px 72px; }
}

/* BIOGRAPHY: サブナビ（カテゴリ） */
.category-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 12;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 16px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.category-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(0,0,0,0.72);
  padding: 6px 10px;
}
.category-nav a:hover { opacity: 0.7; }

/* アンカー位置補正（ヘッダー＋サブナビ分の余白） */
#movie, #drama, #stage, #cm, #other { scroll-margin-top: calc(var(--header-h) + 56px); }

/* BIOGRAPHY: 年ごとのまとまり */
.year-group { margin: 12px 0 20px; }
.year-heading {
  margin: 24px 0 8px;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.56);
}
.credit-list.clean li {
  display: block;
  padding: 8px 0;
  border-bottom: none;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* BIOGRAPHY経歴のモバイル文字サイズ調整（デスクトップより一段小さく） */
@media (max-width: 600px) {
  .credit-list.clean li {
    font-size: 0.6rem;
    line-height: 1.35;
  }
}

/* BIOGRAPHY: アコーディオン */
details.bio-acc { border-top: 1px solid rgba(0,0,0,0.08); }
details.bio-acc + details.bio-acc { margin-top: 8px; }
details.bio-acc summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(20px, 3.6vw, 28px);
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.82);
}
details.bio-acc summary::-webkit-details-marker { display: none; }
details.bio-acc summary::after {
  content: "+";
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: rgba(0,0,0,0.7);
  transition: transform .2s ease;
}
details.bio-acc[open] summary::after { content: "−"; transform: rotate(0deg); }
.acc-body { padding: 0 0 4px; }
