/* ============================================================
   top.css - HOME専用スタイル
   ============================================================ */

/* ---------------- Hero (fullscreen slider, 写真を主役に) ---------------- */
.hero{
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--jc-black);
}
.hero-slide{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.is-active{ opacity: 1; }
.hero-slide img{
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKenBurns 14s ease-in-out forwards;
}
@keyframes heroKenBurns{
  0%{ transform: scale(1); }
  100%{ transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide img{ animation: none; }
}

/* 写真全体は暗くせず、文字まわりだけに自然なグラデーションを敷く */
.hero-inner{
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  padding: 4rem 6vw;
}
.align-top-left .hero-inner{ justify-content: flex-start; align-items: flex-start; }
.align-bottom-left .hero-inner{ justify-content: flex-end; align-items: flex-start; }

.hero-copy{
  position: relative;
  max-width: 28em;
  padding: 2rem 2.2rem;
  color: var(--jc-ivory);
}
.hero-copy::before{
  content: "";
  position: absolute; inset: -1.5rem -1.5rem;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(15,12,10,0.5) 0%, rgba(15,12,10,0.28) 55%, rgba(15,12,10,0) 85%);
}
.hero-copy .en{
  display: block; font-family: var(--jc-font-en); font-style: italic;
  letter-spacing: 0.18em; font-size: 0.85rem; color: var(--jc-gold); margin-bottom: 0.9rem;
}
.hero-copy h1{
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.hero-copy .sub{ font-size: 1.05rem; color: var(--jc-ivory-soft); line-height: 1.9; font-weight: 400; margin-bottom: 1.6rem; }

/* スマートフォン：絶対値指定をやめ、常に下寄せでコピー→説明→CTAを縦並びに */
@media (max-width: 700px){
  .hero-inner{ justify-content: flex-end; align-items: flex-start; padding: 2rem 6vw 3rem; }
  .align-top-left .hero-inner, .align-bottom-left .hero-inner{ justify-content: flex-end; }
  .hero-copy{ max-width: none; width: 100%; padding: 1.4rem 1.4rem; }
  .hero-nav-dots{ display: none; }
}

/* 下ではなくヒーロー直下に配置するタグ（絶対配置ではなく通常フロー） */
.hero-tags{
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  padding: 1.4rem 6vw; background: var(--bg-dark);
}
.hero-tags span{
  font-size: 0.85rem; font-weight: 500; color: var(--text-sub);
  border: 1px solid rgba(244,237,224,0.25); border-radius: 999px; padding: 0.4rem 1rem;
}

.hero-arrow{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,12,10,0.35); color: #f4ede0; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover{ background: rgba(15,12,10,0.55); }
.hero-arrow-prev{ left: 2vw; }
.hero-arrow-next{ right: 2vw; }
@media (max-width: 700px){ .hero-arrow{ display: none; } }

.hero-nav-dots{
  position: absolute; right: 5vw; bottom: 5vh; z-index: 3;
  display: flex; flex-direction: column; gap: 0.6rem; align-items: center;
}
.hero-nav-dots button{
  width: 8px; height: 8px; border-radius: 50%; background: rgba(244,237,224,0.35);
  transition: background .3s ease, transform .3s ease;
}
.hero-nav-dots button.is-active{ background: var(--jc-gold); transform: scale(1.3); }


/* ---------------- Concept intro (large whitespace) ---------------- */
.concept-intro{ text-align: center; padding-top: 8rem; padding-bottom: 8rem; }
.concept-intro .en{ font-family: var(--jc-font-en); font-style: italic; letter-spacing: 0.3em; color: var(--jc-gold); font-size: 0.9rem; }
.concept-intro h2{ font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0.8rem 0 2rem; }
.concept-intro p{ max-width: 28em; margin: 0 auto; color: #5f5648; line-height: 2.3; font-size: 0.95rem; }

/* ---------------- 利用シーン紹介（画像60〜65% / テキスト35〜40%、交互、ブラウン統一） ---------------- */
.scene-section{
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}
.scene-section:nth-child(even){ direction: rtl; }
.scene-section:nth-child(even) > *{ direction: ltr; }
.scene-section:nth-child(1){ background: #211a15; }
.scene-section:nth-child(2){ background: #261d17; }
.scene-section:nth-child(3){ background: #2d221b; }

.scene-visual{
  position: relative;
  overflow: hidden;
  max-height: 560px;
  aspect-ratio: 16 / 10;
}
.scene-visual a{ display: block; width: 100%; height: 100%; }
.scene-visual img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: 100%;
  transition: transform .5s ease;
}
.scene-visual:hover img{ transform: scale(1.03); }
.scene-visual .vm-overlay{
  position: absolute; inset: 0;
  background: rgba(15,12,10,0.15);
  opacity: 0; transition: opacity .35s ease;
  display: flex; align-items: center; justify-content: center;
}
.scene-visual:hover .vm-overlay{ opacity: 1; }
.scene-visual .vm-label{
  color: #fff; font-family: var(--jc-font-en); font-style: italic;
  letter-spacing: 0.2em; font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.7); padding: 0.6rem 1.4rem; border-radius: 999px;
}

.scene-text{
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 5vw;
  background: transparent;
  color: #f4ede0;
}
.scene-text .en{ font-family: var(--jc-font-en); font-style: italic; letter-spacing: 0.24em; color: #c9954b; font-size: 0.82rem; margin-bottom: 0.8rem; }
.scene-text h3{ font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.6; margin: 0 0 1rem; color: #f4ede0; }
.scene-text p{ font-size: 1rem; color: #c8b9aa; line-height: 1.95; margin-bottom: 1.6rem; }
.scene-text .btn-outline-dark{
  color: #f4ede0; border-color: rgba(244,237,224,0.38); background: transparent;
}
.scene-text .btn-outline-dark:hover{ background: #f4ede0; color: #211a15; }
.scene-text .text-link{ color: #d3a25d; }

@media (max-width: 820px){
  .scene-section, .scene-section:nth-child(even){
    grid-template-columns: 1fr; direction: ltr;
  }
  .scene-visual{ max-height: 340px; aspect-ratio: 3/2; }
  .scene-text{ padding: 2rem 6vw; }
}

/* ---------------- Course compare summary (3 cards, 料金を最優先で表示) ---------------- */
.course-compare{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--jc-line-light); border: 1px solid var(--jc-line-light); margin-bottom: 2.4rem; }
.course-compare .c-card{ background: var(--jc-paper); padding: 2.6rem 1.8rem; text-align: center; }
.course-compare .c-card h3{ font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; margin: 0 0 1rem; color: var(--jc-ash); }
.course-compare .c-card .price-main{
  font-family: var(--jc-font-en); font-weight: 600; line-height: 1.1;
  font-size: clamp(2.4rem, 4vw, 3.5rem); color: #d4a55c;
}
.course-compare .c-card .price-note{ font-size: 0.85rem; color: var(--jc-ash); margin-bottom: 1.2rem; }
.course-tags{ display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.4rem; }
.course-tags span{
  font-size: 0.82rem; border: 1px solid var(--jc-line-light); border-radius: 999px;
  padding: 0.3rem 0.9rem; color: var(--jc-gold);
}
.course-compare .c-card p{ font-size: 1rem; color: var(--jc-ash); line-height: 1.8; margin-bottom: 1.4rem; }
@media (max-width: 760px){ .course-compare{ grid-template-columns: 1fr; } }

/* レンタルスペース（3コースとは別の横長ブロック） */
.rental-strip{
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border: 1px solid var(--jc-line-light); padding: 2rem 2.4rem;
}
.rental-strip h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0.5rem 0 0.6rem; }
.rental-strip p{ font-size: 1rem; color: var(--jc-ash); margin: 0; max-width: 42em; }
@media (max-width: 700px){ .rental-strip{ flex-direction: column; align-items: flex-start; text-align: left; } }


/* ---------------- Gallery teaser grid ---------------- */
.gallery-teaser{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.gallery-teaser a{ display: block; aspect-ratio: 3/4; overflow: hidden; }
.gallery-teaser img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-teaser a:hover img{ transform: scale(1.05); }
@media (max-width: 760px){ .gallery-teaser{ grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Voice cards ---------------- */
.voice-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.voice-card{ border: 1px solid var(--jc-line-light); padding: 2rem 1.6rem; }
.voice-card .tag{ display: inline-block; font-size: 0.72rem; color: var(--jc-gold); border: 1px solid var(--jc-line-light); border-radius: 999px; padding: 0.3rem 0.8rem; margin-bottom: 1rem; }
.voice-card h4{ font-size: 1rem; margin: 0 0 0.6rem; }
.voice-card p{ font-size: 1rem; color: var(--jc-ash); line-height: 1.85; }
@media (max-width: 760px){ .voice-grid{ grid-template-columns: 1fr; } }

/* ---------------- Final full-bleed CTA ---------------- */
.final-cta{ position: relative; height: 60svh; min-height: 380px; }
.final-cta img{ width: 100%; height: 100%; object-fit: cover; }
.final-cta::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,12,10,0.8), rgba(15,12,10,0.35)); }
.final-cta .cta-copy{
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  text-align: center; color: var(--jc-ivory); padding: 0 6vw;
}
.final-cta h2{ font-size: clamp(1.4rem, 3.2vw, 2rem); }

/* ---------------- 即答エリア（6項目） ---------------- */
.quick-facts{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.1); }
.quick-facts > div{ background: var(--bg-alt); padding: 2rem 1.8rem; }
.quick-facts h3{ font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 0.6rem; color: var(--text-main); }
.quick-facts p{ font-size: 1rem; color: var(--text-sub); margin: 0; }
.quick-facts-4{ grid-template-columns: repeat(4, 1fr); }
.fact-price{ margin-top: 0.8rem; font-size: 0.95rem; color: var(--text-sub); }
.fact-price strong{ color: var(--accent); font-family: var(--jc-font-en); font-size: 1.3rem; font-weight: 700; margin-left: 0.3rem; }
@media (max-width: 820px){ .quick-facts, .quick-facts-4{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .quick-facts, .quick-facts-4{ grid-template-columns: 1fr; } }

/* ---------------- Instagram埋め込み枠 ---------------- */
.instagram-embed{
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,255,255,0.25); color: var(--jc-ash);
  font-size: 0.95rem; text-align: center; padding: 2rem;
}

/* ---------------- 利用シーン：非対称グリッド ---------------- */
.scene-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.scene-item{ display: block; grid-column: span 2; }
.scene-item-lg{ grid-column: span 2; }
.scene-item .photo{ aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1rem; }
.scene-item-lg .photo{ aspect-ratio: 16/9; }
.scene-item .photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scene-item:hover .photo img{ transform: scale(1.04); }
.scene-item h3{ font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; margin-bottom: 0.5rem; }
.scene-item p{ font-size: 1rem; color: var(--text-sub); line-height: 1.8; margin: 0; }
.scene-note{ text-align: center; font-size: 0.95rem; color: var(--text-sub); margin-top: 2.4rem; }
@media (max-width: 900px){
  .scene-grid{ grid-template-columns: repeat(2, 1fr); }
  .scene-item, .scene-item-lg{ grid-column: span 2; }
}
@media (max-width: 560px){
  .scene-grid{ grid-template-columns: 1fr; }
  .scene-item, .scene-item-lg{ grid-column: span 1; }
}

/* ---------------- ギャラリー（8枚） ---------------- */
.gallery-teaser-8{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px){ .gallery-teaser-8{ grid-template-columns: repeat(2, 1fr); } }

/* ---------------- アクセス（地図＋店舗情報を同時表示） ---------------- */
.access-block{ display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: stretch; }
.access-map{ min-height: 380px; overflow: hidden; }
.access-map iframe{ width: 100%; height: 100%; min-height: 380px; border: 0; }
.access-info{ display: flex; flex-direction: column; justify-content: center; }
.access-info h3{ font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1.6rem; }
.access-info dl{ margin-bottom: 2rem; }
.access-info dl > div{ display: flex; gap: 1.4rem; padding: 0.9rem 0; border-bottom: 1px solid var(--jc-line-light); font-size: 1rem; }
.access-info dt{ flex: 0 0 5.5em; color: var(--jc-ash); }
.access-info dd{ margin: 0; }
.access-info dd a{ color: inherit; }
@media (max-width: 820px){
  .access-block{ grid-template-columns: 1fr; }
  .access-map{ order: 1; }
  .access-info{ order: 2; }
}

/* ============================================================
   HOME限定：完全ダークカラースキーム（body.homeスコープ）
   内ページ（body.page）には影響しません
   ============================================================ */

body.home{ background: #14100d; color: #f4ede0; }

/* --- セクション背景（濃淡を変えて単調にしない） --- */
body.home .home-concept{ background: #211a15; }
body.home .home-quicknav{ background: #1a1512; }
body.home .home-reasons{ background: #181310; }
body.home .home-course{ background: #2a211b; }
body.home .home-gallery{ background: #14100d; }
body.home .home-event{ background: #211a15; }
body.home .home-voice{ background: #2a211b; }
body.home .home-faq{ background: #181310; }
body.home .home-access{ background: #211a15; }
body.home .scene-section:nth-child(1){ background: #211a15; }
body.home .scene-section:nth-child(2){ background: #261d17; }
body.home .scene-section:nth-child(3){ background: #2a211b; }

/* --- 文字色（統一） --- */
body.home h1, body.home h2, body.home h3, body.home .mincho,
body.home .concept-intro h2,
body.home .section-head h2, body.home .section-head-row h2,
body.home .card h3, body.home .voice-card h4,
body.home .c-card h3, body.home .scene-text h3{
  color: #f4ede0;
}
body.home p, body.home .concept-intro p,
body.home .card p, body.home .voice-card p,
body.home .c-card p, body.home .scene-text p,
body.home .faq-a{
  color: #c8b9aa;
}
body.home .eyebrow, body.home .en{ color: #c9954b; }
body.home .section-head .eyebrow, body.home .scene-text .en{ color: #c9954b; }
body.home .voice-card .tag{ color: #a89684; }
body.home a:not(.btn){ color: #d3a25d; }
body.home a:not(.btn):hover{ color: #f4ede0; }
body.home .text-link:hover{ color: #f4ede0; }

/* --- カード（白背景の排除） --- */
body.home .c-card,
body.home .voice-card,
body.home .card-surface{
  background: #211a15;
  border-color: rgba(244, 237, 224, 0.14);
}
body.home .course-compare{
  background: rgba(244, 237, 224, 0.12);
  border-color: rgba(244, 237, 224, 0.12);
}
body.home .course-compare .c-card{ background: #211a15; }
body.home .voice-card{ border: 1px solid rgba(244, 237, 224, 0.14); }
body.home .voice-card .tag{
  background: transparent; color: #c9954b; border-color: rgba(201,149,75,0.45);
}

/* --- FAQ --- */
body.home .faq-item{ border-color: rgba(244, 237, 224, 0.14); }
body.home .faq-item:first-child{ border-color: rgba(244, 237, 224, 0.14); }
body.home .faq-q{ color: #f4ede0; }
body.home .faq-q::before{ color: #c9954b; }
body.home .faq-q .icon{ color: #c9954b; }

/* --- ボタン --- */
body.home .btn-primary{
  background: #c9954b; color: #14100d; border: 1px solid #c9954b;
}
body.home .btn-primary:hover{ background: #d7ab68; color: #14100d; }
body.home .btn-outline, body.home .btn-outline-dark{
  background: transparent; color: #f4ede0; border: 1px solid rgba(244, 237, 224, 0.38);
}
body.home .btn-outline:hover, body.home .btn-outline-dark:hover{
  background: rgba(244, 237, 224, 0.08); color: #ffffff;
}

/* --- クイックナビゲーション --- */
body.home .quick-nav{ background: #181310; border-top-color: rgba(244, 237, 224, 0.14); }
body.home .quick-nav a{
  color: #f4ede0;
  border-right-color: rgba(244, 237, 224, 0.14);
  border-bottom-color: rgba(244, 237, 224, 0.14);
}
body.home .quick-nav a:hover{ background: #261d17; }
body.home .quick-nav .qn-jp{ color: #f4ede0; }
body.home .quick-nav .qn-desc{ color: #a89684; }

/* --- フッター（HOME内のみ最も暗い色） --- */
body.home .site-footer{ background: #0d0a08; }
