@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
  --color-gold: #171717;
  --color-gold-light: #71717a;
  --color-silver: #d4d4d8;
  --color-silver-dark: #9ca3af;
  --color-gray-light: #f5f5f5;
  --color-gray-dark: #333333;
  --color-black: #000000;
  --font-mincho: 'Shippori Mincho', 'Noto Sans JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

body {
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-black);
  background-color: #fff;
  overflow-x: clip;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Base Styles */
h1,
h2,
h3,
h4,
.title-font,
.section-head .title,
.font-mincho {
  font-family: var(--font-mincho);
  font-weight: 700;
  letter-spacing: 0.08em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* FV Swiper */
.fv-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.fv-swiper .swiper-slide {
  width: 100%;
  height: auto;
}

.fv-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* SECTION HEADERS */
.section-head {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head .title {
  position: relative;
  color: var(--color-black);
  font-size: 2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head .subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gray-dark);
  margin-top: 5px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.section-head::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #d4d4d8, #9ca3af);
  margin: 15px auto 0;
}

/* For dark background sections */
section.bg-black .section-head .title,
section.bg-black .section-head .subtitle,
#trouble .section-head .title,
#message .section-head .title,
.about-scroll-content .section-head .title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 6px rgba(0, 0, 0, 0.6);
}

#message .section-head .subtitle {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

.about-scroll-content .section-head .subtitle {
  color: #e4e4e7 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

#trouble .section-head::after,
#menu .section-head::after,
#gallery .section-head::after,
#message .section-head::after,
#staff .section-head::after,
#faq .section-head::after,
#contact .section-head::after,
#stores .section-head::after,
.about-scroll-content .section-head::after {
  background: linear-gradient(90deg, #8a9096, #d5d9dd, #ffffff, #d5d9dd, #8a9096);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

#menu .section-head .title,
#faq .section-head .title {
  color: #ffffff !important;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.9);
}

#menu .section-head .subtitle,
#faq .section-head .subtitle {
  color: #e5e7eb !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

/* Silver Text Gradient */
.text-silver-gradient {
  background: linear-gradient(135deg, #d1d5db 0%, #ffffff 45%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

/* SP Adjustments for Section Headers */
@media (max-width: 768px) {
  .section-head .title {
    font-size: 1.1rem;
  }
}

/* SECTION GAP */
section {
  margin-bottom: 120px;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 80px;
  }
}

/* PARALLAX (iOS Safari & All Mobile Compatible) */
.ios-parallax-section {
  position: relative;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  overflow: hidden;
}

.ios-parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Header Adjustments */

header {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, background-color, padding, box-shadow;
  transition: box-shadow 0.3s ease, background-color 0.3s ease !important;
}

@media (min-width: 1024px) {
  header#main-header {
    backdrop-filter: blur(8px);
  }
}

header.scrolled {
  background: rgba(0, 0, 0, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Top Button */
#top-button {
  transition: opacity 0.3s, transform 0.3s;
}

/* Custom Hamburger Menu overlay */
#mobile-menu-overlay {
  background-color: #000000 !important;
  transition: opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Disable animations for 375px screens */
@media (max-width: 375px) {

  header,
  #mobile-menu-overlay {
    transition: none !important;
  }
}

/* Voice Card */
.voice-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* テキスト選択許可（コピー可能） */
body {
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  -khtml-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* Black Luxury Button (btn-gold class name preserved for compatibility) */
.btn-gold {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #2b2b2b 0%, #151515 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Scroll Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Infinite Shine Animation */
@keyframes shine-loop {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }

  20% {
    transform: translateX(150%) skewX(-25deg);
  }

  100% {
    transform: translateX(150%) skewX(-25deg);
  }
}

.shine-btn {
  position: relative;
  overflow: hidden !important;
}

.shine-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: translateX(-150%) skewX(-25deg);
  animation: shine-loop 4s infinite ease-in-out;
  pointer-events: none;
}

/* Gallery Ticker Smoothness */
.gallery-ticker .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Gallery Image Hover */
.gallery-link {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.gallery-link img {
  transition: transform 0.5s ease;
}

.gallery-link:hover img {
  transform: scale(1.08);
}

.gallery-ticker .swiper-slide img {
  border-radius: 4px;
}

/* Modal Image Transition */
#modal-img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modal Button Focus Reset */
#modal-prev:focus,
#modal-next:focus,
#modal-close:focus {
  outline: none;
}

/* Logo Styling */
.logo-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: inherit;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-de {
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0.4em;
  text-transform: lowercase;
  font-style: italic;
  color: inherit;
}

/* ==========================================================================
   FAQ Accordion Styles
   ========================================================================== */
.faq-answer {
  max-height: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.35s ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
  visibility: visible;
}

.faq-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(160, 165, 175, 0.5);
}

.faq-item.is-open {
  border-color: #4b5563;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
}

.faq-item.is-open .faq-icon {
  background-color: #111827;
  color: #ffffff;
}

.faq-item.is-open .faq-icon i {
  transform: rotate(180deg);
}

.faq-question:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -2px;
}

/* ==========================================================================
   Service Section (Magazine-style Overlap Layout)
   ========================================================================== */
.service-section-wrap {
  position: relative;
  overflow: hidden;
}

.service-overlap-item {
  position: relative;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .service-overlap-item {
    margin-bottom: 7rem;
  }
}

.service-overlap-item:last-child {
  margin-bottom: 0;
}

/* Base card styling */
.service-overlap-card {
  background: #ffffff;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 20;
}

/* Number styling */
.service-num-accent {
  font-family: 'Shippori Mincho', 'Noto Sans JP', serif;
  font-style: italic;
  color: #171717;
  font-size: 2.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
}

.service-num-accent::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, #d4d4d8, #9ca3af);
}

/* Photo catch text (Plan 1: Pure White + Dark Drop Shadow) */
.service-photo-caption {
  position: absolute;
  z-index: 15;
  pointer-events: none;
}

.service-photo-caption .caption-title {
  font-family: 'Shippori Mincho', serif;
  letter-spacing: 0.15em;
  line-height: 1.8;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.7);
}

.service-photo-caption .caption-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  margin: 10px 0;
}

.service-photo-caption .caption-sub {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #f3f4f6;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   SERVICE Deep Black & Sparkling Silver Theme
   ========================================================================== */
.service-dark-bg {
  background-color: #08090b;
  position: relative;
  overflow: visible;
}

.service-bg-base {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 50% at 20% 25%, rgba(45, 48, 55, 0.65) 0%, transparent 70%),
    radial-gradient(ellipse 65% 55% at 85% 75%, rgba(35, 38, 45, 0.6) 0%, transparent 65%),
    radial-gradient(circle at 50% 50%, #0d0e12 0%, #050507 100%);
  z-index: 1;
  pointer-events: none;
}

.service-gold-shimmer {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 45% at 50% 20%, rgba(220, 228, 240, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 80% 65%, rgba(195, 205, 220, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 25% 80%, rgba(240, 245, 255, 0.10) 0%, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  animation: silverAmbientBreath 10s ease-in-out infinite alternate;
}

@keyframes silverAmbientBreath {
  0% {
    opacity: 0.55;
    transform: scale(1) translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04) translateY(-8px);
  }
  100% {
    opacity: 0.65;
    transform: scale(0.98) translateY(6px);
  }
}

/* Service Section Head for Dark Background */
#service .section-head .title {
  color: #ffffff;
  letter-spacing: 0.18em;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.9);
}

#service .section-head .subtitle {
  color: #d1d5db;
  letter-spacing: 0.15em;
}

#service .section-head::after {
  background: linear-gradient(90deg, transparent, #a0a5aa, #ffffff, #a0a5aa, transparent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
  height: 2px;
  width: 56px;
}

/* Service Card Enhancement on Dark Background */
#service .service-overlap-card {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Desktop Mint Block -> Elegant Charcoal/Silver Glass Accent */
#service .service-accent-block {
  background: linear-gradient(135deg, rgba(30, 32, 38, 0.5) 0%, rgba(15, 17, 21, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   ABOUT Scroll Experience (guf-fukuoka style)
   ========================================================================== */
.about-scroll-area {
  height: 300vh;
  position: relative;
  background-color: #ffffff;
}

.about-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
}

.about-split {
  height: 100%;
  position: relative;
  will-change: opacity;
}

.about-split-left {
  position: relative;
  width: 50vw;
  overflow: hidden;
  background-color: #ffffff;
}

.about-split-left-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  animation: slowZoomAboutVideo 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

@keyframes slowZoomAboutVideo {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.about-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
}

.about-vertical-text {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: #171717;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  z-index: 0;
  opacity: 0.9;
}

.about-split-right {
  width: 50vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: calc((75vh * 2 / 3) / 2 + 5vw);
  position: relative;
  background-color: #ffffff;
}

.about-text-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  z-index: 10;
  pointer-events: none;
}

.about-split-left-text {
  position: relative;
  width: 50vw;
  height: 100%;
}

.about-split-right-text {
  width: 50vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: calc((75vh * 2 / 3) / 2 + 5vw);
  position: relative;
}

.about-catchcopy-wrapper,
.about-vertical-text,
.about-scroll-indicator {
  pointer-events: auto;
}

.about-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 0;
  color: #52525b;
}

.about-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.about-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #d4d4d8, #171717);
  animation: scrollDrawAbout 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollDrawAbout {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

.about-catchcopy-wrapper {
  position: relative;
  max-width: 500px;
  padding: 0;
  z-index: 10;
  will-change: transform;
}

.about-center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 75vh;
  width: calc(75vh * 2 / 3);
  object-fit: cover;
  z-index: 1;
  will-change: width, height, filter, transform, top;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transform-origin: center center;
}

.about-scroll-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

@media (max-width: 1100px) {
  .about-center-image {
    height: 60vh;
    width: calc(60vh * 2 / 3);
  }
  .about-split-right,
  .about-split-right-text {
    padding-left: calc((60vh * 2 / 3) / 2 + 4vw);
  }
}

@media (max-width: 768px) {
  .about-sticky-container {
    flex-direction: column;
    top: 0;
    height: 100vh;
  }
  .about-split,
  .about-split-left,
  .about-split-right {
    width: 100vw;
    height: 100%;
  }
  .about-split-right {
    display: none;
  }
  .about-split-left-text {
    display: none;
  }
  .about-split-right-text {
    width: 100vw;
    padding-left: 0;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 90px;
  }
  .about-vertical-text {
    left: 20px;
  }
  .about-catchcopy-wrapper {
    text-align: center;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .about-scroll-indicator {
    bottom: 20px;
  }
}

/* ==========================================================================
   PAGE LOADER ANIMATION (Luxury Opening Curtain)
   ========================================================================== */
body.is-loading {
  overflow: hidden !important;
}

.page-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* Split Curtains (Radial Ambience Black) */
.loader-curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: radial-gradient(ellipse at 50% 100%, #151515 0%, #080808 60%, #000000 100%);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.loader-curtain-bottom {
  bottom: 0;
  transform: translateY(0);
  background: radial-gradient(ellipse at 50% 0%, #151515 0%, #080808 60%, #000000 100%);
}

.loader-curtain-top {
  top: 0;
  transform: translateY(0);
}

/* Exit Curtain Animation */
.page-loader.is-loaded {
  pointer-events: none;
}

.page-loader.is-loaded .loader-curtain-top {
  transform: translateY(-100%);
}

.page-loader.is-loaded .loader-curtain-bottom {
  transform: translateY(100%);
}

/* Center Content */
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 24px;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-loader.is-loaded .loader-content {
  opacity: 0;
  transform: scale(1.04) translateY(-4px);
}

/* Minimal Brand Typography Box */
.loader-minimal-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 1. Eyebrow */
.loader-eyebrow {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: clamp(0.58rem, 1.5vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.48em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Main Title (Safari-Compatible Silver Shimmer) */
.loader-main-title {
  font-family: 'Shippori Mincho', 'Noto Sans JP', serif;
  font-size: clamp(1.85rem, 5.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  color: #ffffff;
  animation: loaderTitleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 2px 20px rgba(255, 255, 255, 0.15));
}

.loader-main-title .brand-word {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #9ca3af 0%,
    #e5e7eb 25%,
    #ffffff 45%,
    #ffffff 55%,
    #d1d5db 75%,
    #9ca3af 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: loaderSilverShimmer 2.2s ease-in-out infinite 0.5s;
}

.loader-main-title .brand-de {
  display: inline-block;
  vertical-align: baseline;
  font-family: 'Shippori Mincho', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.74em;
  margin: 0 0.32em;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

/* 3. Silver Expanding Divider with Center Diamond */
.loader-silver-line {
  position: relative;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #9ca3af 30%, #ffffff 50%, #9ca3af 70%, transparent 100%);
  margin: 22px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderLineExpand 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-silver-line .line-diamond {
  width: 6px;
  height: 6px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: loaderDiamondPop 0.5s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 4. Subtitle */
.loader-sub-title {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.52em;
  color: #d1d5db;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0;
  animation: loaderFadeIn 0.85s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Keyframes */
@keyframes loaderFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    letter-spacing: 0.14em;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.22em;
  }
}

@keyframes loaderLineExpand {
  0% {
    width: 0px;
    opacity: 0;
  }
  100% {
    width: clamp(160px, 45vw, 240px);
    opacity: 1;
  }
}

@keyframes loaderDiamondPop {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0);
  }
  60% {
    transform: rotate(45deg) scale(1.4);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes loaderSilverShimmer {
  0% {
    background-position: 100% 0%;
  }
  50%, 100% {
    background-position: -100% 0%;
  }
}

/* =================================================================
   Luxury Smooth Animation (上品で滑らかなアニメーション)
   ================================================================= */
@keyframes smoothFadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes smoothFadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-26px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes smoothFadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(26px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animated.fadeInUp {
  animation-name: smoothFadeInUp !important;
  animation-duration: 0.9s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
  will-change: transform, opacity;
}

.animated.fadeInLeft {
  animation-name: smoothFadeInLeft !important;
  animation-duration: 0.9s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
  will-change: transform, opacity;
}

.animated.fadeInRight {
  animation-name: smoothFadeInRight !important;
  animation-duration: 0.9s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
  will-change: transform, opacity;
}

/* お悩みカードの描画最適化（GPU負荷軽減・60fps維持） */
.trouble-card {
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* SERVICEセクションの描画最適化（GPU負荷軽減・60fps維持） */
#service .service-overlap-card,
#service .service-photo-frame {
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* STAFFセクションの描画最適化（GPU負荷軽減・60fps維持） */
.staff-card {
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ==========================================================================
   SERVICE Horizontal Slide (tsunagu-seikotsuin style)
   ========================================================================== */
.service-sticky-wrap {
  position: relative;
  height: 320vh;
  overflow: visible !important;
}

.service-sticky-inner {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0 24px;
  z-index: 10;
}

.service-horizontal-viewport {
  width: 100%;
  overflow: hidden;
  margin: 14px 0 20px;
}

.service-track-pin {
  display: flex;
  gap: 60px;
  will-change: transform;
  padding-left: max(40px, calc((100vw - 1100px) / 2));
  padding-right: 100px;
  align-items: center;
  transition: transform 0.08s linear;
}

.service-slide-item {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 0;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 900px;
  box-sizing: border-box;
}

.service-slide-media {
  width: 440px;
  min-width: 440px;
  height: 310px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  border-radius: 0;
  background: #f1f5f9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.service-num-box {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.service-num-val {
  font-size: 2.6rem;
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1;
  color: #111827;
  letter-spacing: 0.05em;
}

.service-slide-heading {
  font-size: 1.45rem;
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.service-slide-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* Controls */
.service-bottom-bar-container {
  margin-top: 6px;
}

.service-slider-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.service-arrow-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.service-circle-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-circle-arrow:hover {
  background-color: #ffffff;
  color: #000000;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.service-circle-arrow svg {
  width: 18px;
  height: 18px;
}

.service-scroll-indicator {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.service-scroll-bar {
  height: 100%;
  width: 33.33%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* SP Mobile Adjustments (解決策B: 写真全面背景＋文字重ねスタイル) */
@media (max-width: 768px) {
  .service-sticky-wrap {
    height: 300vh;
    overflow: visible !important;
  }

  .service-sticky-inner {
    padding: 60px 0 72px !important; /* ヘッダー(60px)と固定CTA(64px)に被らないセーフゾーン */
    box-sizing: border-box;
    justify-content: center !important;
    gap: 8px !important;
  }

  #service .section-head {
    margin-bottom: 0 !important;
  }

  #service .section-head::after {
    margin-top: 6px !important;
  }

  .service-horizontal-viewport {
    margin: 4px 0 10px !important;
  }

  .service-track-pin {
    gap: 16px !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
  }

  .service-slide-item {
    width: 86vw !important;
    min-width: 86vw !important;
    max-width: 86vw !important;
    height: 330px !important; /* コンパクトな高さで上下被りを完全に防止 */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: #000000 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
  }

  /* 写真をカード全面に配置 */
  .service-slide-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    z-index: 1 !important;
  }

  .service-slide-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 写真の上に暗いグラデーションを敷いて文字の可読性を確保 */
  .service-slide-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 55%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
    pointer-events: none;
  }

  .service-photo-caption {
    z-index: 3 !important;
  }

  /* テキストをカード最下部に下揃え配置 */
  .service-slide-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    width: 100% !important;
    padding: 20px 18px 16px !important;
    box-sizing: border-box !important;
  }

  .service-num-box {
    margin-bottom: 2px !important;
  }

  .service-num-val {
    font-size: 1.8rem !important;
    color: #e5e7eb !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
  }

  .service-slide-heading {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  }

  .service-slide-text {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  }

  .service-bottom-bar-container {
    padding: 0 20px;
    margin-top: 0;
  }

  .service-slider-controls {
    gap: 14px;
  }

  .service-circle-arrow {
    width: 38px;
    height: 38px;
  }
}



