/* 
  Colors & Theme: 
  Backgrounds: Pearl White (#FDFBF7), Soft Beige (#F4EFEA), Deep Charcoal (#2A2725)
  Text: Charcoal (#333333), Muted (#666666)
  Accents: Gold (#C5A059), Gold Gradient
*/

:root {
  --bg-primary: #FDFBF7;
  --bg-secondary: #F4EFEA;
  --bg-dark: #2A2725;
  --text-main: #333333;
  --text-muted: #666666;
  --gold-solid: #C5A059;
  --gold-hover: #b38f4d;
  --gold-gradient: linear-gradient(135deg, #d4af37, #aa7c11);
  --white: #FFFFFF;
  
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* モバイル表示マニュアル準拠：横スクロール完全防止 */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 2;
  color: var(--text-main);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* タイポグラフィ改行制御 */
.text-nowrap {
  display: inline-block;
  white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-main);
}

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.w-100 { width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.max-w-700 { max-width: 700px; }

/* マニュアル準拠：スマホ時のパディング最適化 */
.section-padding {
  padding: 100px 0;
}
@media screen and (max-width: 768px) {
  .section-padding {
    padding: 60px 0 !important;
  }
}

.bg-light {
  background-color: var(--bg-secondary);
}

/* ヘッダー・ナビゲーション */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  z-index: 100;
  transition: background 0.3s ease;
}
@media screen and (max-width: 1200px) {
  header {
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    box-sizing: border-box;
  }
  .header-right-group {
    gap: 10px;
    flex-shrink: 0;
  }
}
header.scrolled {
  background: rgba(253, 251, 247, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header.scrolled .desktop-nav a {
  color: var(--text-main);
  text-shadow: none;
}
header.scrolled .desktop-nav a:hover {
  color: var(--gold-solid);
}
.header-right-group {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-solid);
  border: 1.5px solid var(--gold-solid);
  transition: all 0.3s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.header-insta-btn:hover {
  background: var(--gold-solid);
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}
.mobile-only-insta-btn {
  display: none;
}
@media screen and (max-width: 1200px) {
  .mobile-only-insta-btn {
    display: inline-flex;
  }
}
/* ヘッダーロゴ (2行構成・センタリング) */
.header-logo-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
}
.header-logo-group .logo-main {
  font-family: var(--font-en);
  font-size: 25px;
  font-weight: 600;
  color: var(--gold-solid);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header-logo-group .logo-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--gold-solid);
  letter-spacing: 0.18em;
  white-space: nowrap;
  margin-top: 3px;
}

/* フッターロゴ (2行構成・センタリング) */
.footer-logo-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
}
.footer-logo-group .logo-main {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-solid);
  letter-spacing: 0.08em;
}
.footer-logo-group .logo-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--gold-solid);
  letter-spacing: 0.18em;
  margin-top: 4px;
}

@media screen and (max-width: 1200px) {
  .header-logo-group .logo-main { font-size: 21px; }
  .header-logo-group .logo-sub { font-size: 15.5px; }
}
@media screen and (max-width: 768px) {
  .header-logo-group .logo-main { font-size: 18px; }
  .header-logo-group .logo-sub { font-size: 13.5px; }
}
@media screen and (max-width: 480px) {
  .header-logo-group .logo-main { font-size: 15px; }
  .header-logo-group .logo-sub { font-size: 12px; }
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.desktop-nav a {
  text-decoration: none;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.6);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  white-space: nowrap;
}
.desktop-nav a:hover {
  color: var(--gold-solid);
}
.desktop-nav a.nav-insta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
.desktop-nav a.nav-insta-icon:hover {
  transform: scale(1.2);
  color: var(--gold-solid);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  flex-shrink: 0;
  margin-right: 0;
}
.hamburger span {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}
.bgm-btn {
  background: var(--gold-gradient);
  border: none;
  color: var(--white);
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  width: 130px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.bgm-text-desktop {
  display: inline;
}
.bgm-text-mobile {
  display: none;
}
.bgm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
.bgm-btn.is-playing {
  background: #333;
  color: var(--white);
  box-shadow: none;
}
@media screen and (max-width: 768px) {
  .bgm-text-desktop {
    display: none;
  }
  .bgm-text-mobile {
    display: inline;
  }
  .bgm-btn {
    width: 70px;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-primary);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  transition: right 0.4s ease;
  z-index: 100;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 40px;
  color: var(--text-main);
  cursor: pointer;
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu a {
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: 0.1em;
}

@media screen and (max-width: 1200px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--gold-solid);
}
@media screen and (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* タイトル周り */
.section-title {
  margin-bottom: 60px;
}
.en-title {
  display: block;
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--gold-solid);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-title h2 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  letter-spacing: 0.1em;
}

/* ボタン (折り返し禁止設定) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.4s ease;
  border-radius: 0; 
  cursor: pointer;
  border: none;
  white-space: nowrap; /* PCでは折り返し禁止 */
  max-width: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .btn {
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important; /* スマホでは画面幅に合わせて自然に折り返す */
    text-align: center;
    line-height: 1.4;
    max-width: 100% !important;
  }
}
.btn-gold {
  background: var(--gold-gradient);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(212, 175, 55, 0.3);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-solid);
  color: var(--gold-solid);
}
.btn-outline:hover {
  background: var(--gold-solid);
  color: var(--white);
}

/* ヒーロービュー (固定パララックス) */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 0;
}

/* それ以下のセクションがヒーローの上にスライドして被さる設定 */
.concept, .mechanism, .gallery, .instagram, .pricing, .treatment-flow, .voice, .profile, .faq, .contact, footer {
  position: relative;
  z-index: 10;
}
/* スライドする際に下が透けないように背景色を明示 */
.concept, .gallery, .treatment-flow, .profile, .faq {
  background-color: var(--bg-primary);
}

@keyframes slowFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./images/relaxing_landscape_1783578769383.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0;
  animation: slowFadeIn 4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(20,20,20,0.7) 0%, rgba(20,20,20,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 80px;
}
.hero-glass {
  padding: 60px 0;
  max-width: 650px;
}
@media screen and (max-width: 768px) {
  .hero-glass {
    padding: 2.5rem 0 !important;
  }
}
.hero-subtitle {
  font-family: var(--font-serif);
  color: #FFFFFF !important;
  letter-spacing: 0.15em;
  font-size: 22px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 0;
  animation: floatUp 3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.5s;
}
.hero h1 {
  /* マニュアル準拠：clampで最適化 */
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  line-height: 1.5;
  margin-bottom: 30px;
  color: #FFFFFF !important;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  opacity: 0;
  animation: floatUp 3.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 1.2s;
}
.hero-text {
  font-size: 20px;
  color: #FFFFFF !important;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  opacity: 0;
  animation: floatUp 3.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 2.0s;
}
.hero .btn {
  opacity: 0;
  animation: floatUp 3.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 2.8s;
}

/* スクロールダウンのインジケーター */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  text-align: center;
  animation: scrollFloatUp 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 3.2s;
  opacity: 0;
}

@keyframes scrollFloatUp {
  0% { opacity: 0; transform: translate(-50%, 30px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
.scroll-down a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  transition: opacity 0.3s;
}
.scroll-down a:hover {
  opacity: 0.7;
}
.scroll-down span {
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.scroll-line {
  position: relative;
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--gold-solid);
  animation: scrollAnim 2.2s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
}

@keyframes scrollAnim {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.6rem) !important;
  }
  .hero-text {
    font-size: 16px !important;
  }
}


/* コンセプト */
.concept {
  margin-top: 100vh; /* 画面1枚分下に配置し、初期状態では固定されたヒーローが見えるようにする */
}
.concept-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.concept-image-wrapper {
  flex: 1;
  position: relative;
}
.concept-image-wrapper .main-img {
  width: 100%;
  height: auto;
  box-shadow: -20px 20px 0 var(--bg-secondary);
}
.img-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--gold-solid);
  z-index: -1;
}
.concept-text {
  flex: 1.2;
}
.concept-text .lead {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-family: var(--font-serif);
  margin-bottom: 30px;
  color: var(--gold-solid);
  line-height: 1.8;
}

/* メカニズム (効能・効果詳細) */
.mechanism-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.mech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
.mech-card {
  background: var(--white);
  padding: 50px 30px;
  text-align: left;
  border-top: 3px solid var(--gold-solid);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .mech-card {
    padding: 2rem 1.25rem !important;
  }
}
.mech-number {
  font-family: var(--font-en);
  font-size: 56px;
  color: var(--gold-solid);
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}
.mech-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}
.mech-card p {
  font-size: 18px;
  color: var(--text-muted);
  flex-grow: 1;
}

/* ギャラリー (MKD完全同等 Swiper 3D Creative スライダー) */
.works-slider-wrapper {
  margin: 2rem auto 0;
  padding: 2rem 0;
  width: 100%;
  max-width: 1100px; /* 横に広がりすぎないよう中央にきゅっとまとめる */
  position: relative;
  perspective: 2000px;
  overflow: hidden;
}
.works-swiper {
  padding: 4rem 0 !important;
  width: 100%;
  overflow: visible !important; 
}
.works-swiper .swiper-slide {
  width: 500px !important;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  display: flex !important;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}
.works-swiper .swiper-slide-active,
.works-swiper .swiper-slide-next,
.works-swiper .swiper-slide-prev {
  opacity: 1 !important;
  pointer-events: auto;
}
.works-swiper .swiper-slide-active { z-index: 10; }
.works-swiper .swiper-slide-next,
.works-swiper .swiper-slide-prev { z-index: 1; }

.works-slider-wrapper .swiper-button-prev,
.works-slider-wrapper .swiper-button-next {
  color: #ffffff !important;
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 30 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.works-slider-wrapper .swiper-button-prev {
  left: 60px !important; /* 両端から内側に寄せる */
}
.works-slider-wrapper .swiper-button-next {
  right: 60px !important; /* 両端から内側に寄せる */
}
.works-slider-wrapper .swiper-button-prev:hover,
.works-slider-wrapper .swiper-button-next:hover {
  background: rgba(197, 160, 89, 0.9);
  border-color: var(--gold-solid);
  transform: translateY(-50%) scale(1.1) !important;
}
.works-slider-wrapper .swiper-button-prev::after,
.works-slider-wrapper .swiper-button-next::after {
  font-size: 1.1rem !important;
  font-weight: 900;
}
@media screen and (max-width: 768px) {
  .works-slider-wrapper {
    max-width: 100%;
  }
  .works-slider-wrapper .swiper-button-prev {
    left: 10px !important;
  }
  .works-slider-wrapper .swiper-button-next {
    right: 10px !important;
  }
  .works-slider-wrapper .swiper-button-prev,
  .works-slider-wrapper .swiper-button-next {
    width: 38px !important;
    height: 38px !important;
  }
  .works-slider-wrapper .swiper-button-prev::after,
  .works-slider-wrapper .swiper-button-next::after {
    font-size: 0.9rem !important;
  }
}

.work-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.work-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-secondary);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border: 1px solid rgba(197, 160, 89, 0.2);
}
.work-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  .works-swiper .swiper-slide {
    width: 300px !important;
  }
}


/* プロフィール */
.profile-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  background: var(--white);
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
@media screen and (max-width: 900px) {
  .profile-inner {
    flex-direction: column;
    padding: 2.5rem 1.25rem !important;
    gap: 40px;
  }
  .profile-text-col {
    order: 1;
    width: 100%;
  }
  .profile-cert-col {
    order: 2;
    width: 100%;
  }
}
.profile-cert-col {
  flex: 1;
  text-align: center;
}
.profile-cert-col img {
  width: 100%;
  max-width: 300px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.profile-cert-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}
.profile-text-col {
  flex: 1.5;
}
.profile-text-col h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.name-en {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--gold-solid);
  display: block;
  margin-top: 5px;
}
.profile-greeting {
  font-size: 24px;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  color: var(--gold-solid);
}
@media screen and (max-width: 768px) {
  /* We can leave this space clean */
}

/* ==================================
   よくある質問 (FAQ)
================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.faq-question {
  padding: 20px 25px;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  list-style: none; /* Hide default arrow */
  color: var(--text-main);
}
/* Hide default details marker in WebKit */
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-q-icon {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--gold-solid);
  font-weight: 700;
}
.faq-toggle-icon {
  margin-left: auto;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--gold-solid);
  transition: transform 0.3s ease;
}
.faq-toggle-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}
.faq-toggle-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}
details[open] .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 25px 25px 25px;
  display: flex;
  gap: 15px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  margin-top: 5px;
  padding-top: 20px;
}
.faq-a-icon {
  font-family: var(--font-en);
  font-size: 24px;
  color: var(--text-muted);
  font-weight: 700;
}
.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  margin-top: 3px;
}
@media screen and (max-width: 768px) {
  .faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 0 20px 20px 20px;
  }
}

/* 予約・コンタクト */
.contact {
  background-color: var(--bg-dark);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 60px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
@media screen and (max-width: 768px) {
  .contact-card { padding: 2.5rem 1.25rem !important; }
}
.contact-card h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 24px;
}
.contact-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.form-card {
  text-align: left;
}
.form-card h3 {
  text-align: center;
}
.btn-contact-line, .btn-contact-phone {
  white-space: nowrap;
}
.btn-contact-phone {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-solid);
  padding-bottom: 5px;
  transition: color 0.3s;
}
.btn-contact-line {
  display: inline-block;
  background: #06C755;
  color: #fff;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 0.1em;
  transition: transform 0.3s;
}

/* フォーム (モダン) */
.modern-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.modern-form input, .modern-form textarea {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.modern-form textarea {
  resize: vertical;
  min-height: 120px;
}
.modern-form input::placeholder, .modern-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.modern-form input:focus, .modern-form textarea:focus {
  outline: none;
  border-color: var(--gold-solid);
}

/* Footer & ステルスクレジット */
footer {
  background: #1a1817;
  padding: 60px 0 40px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 32px;
  color: var(--gold-solid);
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}
.footer-copy {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.stealth-credit {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.1);
  text-decoration: none;
}
.stealth-credit:hover {
  color: rgba(255,255,255,0.3);
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================
   施術の流れ (Treatment Flow)
================================== */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--gold-solid);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  min-height: 120px; /* Force uniform spacing between dots */
  margin-bottom: 20px;
  padding-left: 60px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: var(--gold-solid);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}
.timeline-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.timeline-image {
  flex: 1;
  max-width: 250px;
}
.timeline-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.timeline-text {
  flex: 2;
}
.timeline-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  line-height: 1.4;
}
.timeline-text h3 span {
  /* Cormorant Garamond uses old-style figures (where 7 dips below the baseline).
     Changing to Noto Serif JP ensures all numbers sit cleanly on the baseline. */
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold-solid);
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-solid);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
  font-variant-numeric: lining-nums; /* Just in case */
}
@media screen and (max-width: 768px) {
  .timeline-content {
    flex-direction: column;
    gap: 15px;
  }
  .timeline-image {
    max-width: 100%;
  }
  .timeline-text h3 {
    font-size: 18px;
    /* Keeping row layout so the badge doesn't jump above the text */
    flex-direction: row; 
    align-items: flex-start;
    gap: 10px;
  }
}


/* プライシングリスト調整 */
.price-details {
  text-align: left;
  padding-left: 1.5rem;
  margin: 15px 0;
}
.price-details li {
  margin-bottom: 10px;
}

@media screen and (max-width: 900px) {
  .hidden-on-mobile {
    display: none !important;
  }
}

/* レスポンシブ */
@media (max-width: 900px) {
  .concept-inner, .profile-inner {
    flex-direction: column;
    gap: 40px;
  }
  .hero-bg { width: 100%; }
  .hero-glass { padding: 40px 0; }
  .mech-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

/* キラキラ演出 (Sparkle & Shimmer) */
.sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9999; /* サイト全体の手前に表示 */
  pointer-events: none;
}
.sparkle {
  position: absolute;
  color: #FFFFFF;
  text-shadow: 0 0 5px #d4af37, 0 0 15px #d4af37;
  font-family: Arial, sans-serif;
  opacity: 0;
  animation: sparkleAnim linear infinite;
}

@keyframes sparkleAnim {
  0% { transform: translateY(0) scale(0) rotate(0deg); opacity: 0; }
  20% { opacity: 1; transform: translateY(-20px) scale(1) rotate(45deg); }
  50% { opacity: 0.3; transform: translateY(-50px) scale(0.6) rotate(90deg); }
  80% { opacity: 1; transform: translateY(-80px) scale(1.2) rotate(135deg); }
  100% { transform: translateY(-100px) scale(0) rotate(180deg); opacity: 0; }
}

/* ゴールドボタンのシマーエフェクト */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: buttonShimmer 5s infinite;
}

@keyframes buttonShimmer {
  0% { left: -100%; }
  30% { left: 200%; } /* 5秒のうち、1.5秒かけて光が通り過ぎる */
  100% { left: 200%; }
}

/* 呼吸（ふわふわフロート）アニメーション */
.floating-element {
  animation: floatBreathing 6s ease-in-out infinite;
}
@keyframes floatBreathing {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ==================================
   お客様の声 (Voice)
================================== */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.voice-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--gold-solid);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.1);
}

.voice-stars {
  color: var(--gold-solid);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.voice-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 25px;
  flex-grow: 1;
}

.voice-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  padding-top: 15px;
}

.voice-age {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-main);
}

.voice-tag {
  align-self: flex-start;
  font-size: 11px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--gold-solid);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}

@media screen and (max-width: 900px) {
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==================================
   ギャラリーマーキー（自動スクロール）
================================== */
.gallery-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  padding: 10px 0;
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-item {
  width: 240px;
  height: 320px;
  margin: 0 15px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.marquee-item:hover img {
  transform: scale(1.05);
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media screen and (max-width: 768px) {
  .marquee-item {
    width: 180px;
    height: 240px;
    margin: 0 10px;
  }
}

/* ==================================
   Instagram セクション
================================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.instagram-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  cursor: pointer;
  background: #f4efea;
  text-decoration: none;
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.insta-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid #fff;
  padding: 8px 16px;
  border-radius: 4px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.instagram-item:hover img {
  transform: scale(1.05);
}
.instagram-item:hover .insta-overlay {
  opacity: 1;
}
.instagram-item:hover .insta-overlay span {
  transform: translateY(0);
}

@media screen and (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* ==================================
   画像拡大ライトボックス
================================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.active img {
  transform: scale(1);
}
.profile-cert-col img {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-cert-col img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 50px;
  font-weight: 200;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
  user-select: none;
}
.lightbox-close:hover {
  color: var(--gold-solid);
  transform: scale(1.1);
}
@media screen and (max-width: 768px) {
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }
}



