:root {
  --color-white: #ffffff;
  --color-base: #FCFAFA;
  --color-bg-base: #FCFAFA;
  --color-bg-clay: #F5F2F0;
  --color-bg-sand: #EAE5E2;
  --color-bg-stone: #F0EDE9;
  --color-light: #E0DCD9;
  --color-accent: #B89650;
  /* Sophisticated Gold */
  --color-accent-dark: #8E733E;
  --color-text: #1C1C1C;
  /* Near Black */
  --color-text-mid: #4A4A4A;
  --color-text-light: #7A7A7A;
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Noto Serif JP', serif;
  --gradient-romantic: linear-gradient(135deg, #FCFAFA 0%, #F5F2F0 100%);
}

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 2500;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 767px) {
  .lang-switcher {
    bottom: 100px;
    /* Offset for SP fixed CTA */
    left: 16px;
  }
}

.lang-btn {
  border: none;
  background: none;
  padding: 0 10px;
  height: 24px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-en {
  display: none;
}

[data-current-lang="en"] .lang-ja {
  display: none !important;
}

[data-current-lang="en"] .lang-en {
  display: block !important;
}

/* For inline elements */
[data-current-lang="en"] span.lang-en {
  display: inline !important;
}

[data-current-lang="en"] br.lang-ja {
  display: none !important;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes imgFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

html {
  scroll-behavior: smooth;
  background-color: #ffffff; /* Base background for bounce areas */
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg-base);
  width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

p {
  font-size: 16px;
  line-height: 1.8;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100; /* Lowered to stay below header */
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ─── TYPOGRAPHY ─── */
.font-display {
  font-family: var(--font-display);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.message-text {
  font-family: var(--font-body);
  line-height: 2.2;
}

.sp-only,
br.sp-only {
  display: none;
}

.pc-only,
br.pc-only {
  display: block;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  p {
    font-size: 14px !important;
  }

  .sp-only,
  br.sp-only {
    display: block;
  }

  .pc-only,
  br.pc-only {
    display: none !important;
  }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── HEADER (SARU CURRY STYLE) ─── */
#site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 15px 5%;
  z-index: 9999 !important;
  transform: translateZ(9999px); /* Force GPU layering on iOS */
  transition: all 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

#site-header.scrolled {
  background: #ffffff !important;
  backdrop-filter: none !important; /* Remove blur on mobile if it causes issues */
  -webkit-backdrop-filter: none !important;
  padding: 8px 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 2px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 0.9rem;
  position: relative;
  letter-spacing: 1px;
}

.nav-actions {
  display: flex;
  gap: 15px;
  flex: 0 0 auto;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
}

/* Apply global spacing to headers */
h2 {
  letter-spacing: 0.22em !important;
}

h3 {
  letter-spacing: 0.12em !important;
}

/* Full-screen mobile menu */
#sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-sizing: border-box;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) 24px env(safe-area-inset-bottom);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#sp-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#sp-menu nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--color-text);
  text-decoration: none;
  padding: 1.5vh 0;
  text-align: center;
  text-transform: uppercase;
  transition: all .3s;
  opacity: 0;
  transform: translateY(20px);
}

#sp-menu.open nav a {
  opacity: 1;
  transform: translateY(0);
}

#sp-menu.open nav a:nth-child(1) {
  transition-delay: 0.1s;
}

#sp-menu.open nav a:nth-child(2) {
  transition-delay: 0.15s;
}

#sp-menu.open nav a:nth-child(3) {
  transition-delay: 0.2s;
}

#sp-menu.open nav a:nth-child(4) {
  transition-delay: 0.25s;
}

#sp-menu.open nav a:nth-child(5) {
  transition-delay: 0.3s;
}

#sp-menu.open nav a:nth-child(6) {
  transition-delay: 0.35s;
}

#sp-menu nav a:hover {
  color: var(--color-accent);
}

.sp-menu-close {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: 24px;
  font-family: var(--font-heading);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .3s;
  text-transform: uppercase;
}

.sp-menu-bottom-actions {
  margin-top: 40px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  width: min(300px, 90%) !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

#sp-menu.open .sp-menu-bottom-actions {
  opacity: 1;
  transform: translateY(0);
}

.sp-menu-bottom-actions .btn-primary,
.sp-menu-bottom-actions .btn-outline,
.sp-menu-bottom-actions .btn-dark {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px 20px !important;
  min-height: 52px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}

.sp-menu-close:hover {
  opacity: 0.7;
}

/* ─── SECTION LABEL ─── */
.section-label {
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: .4em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 1px;
  background: var(--color-accent);
}

/* ─── ACCENT LINE ─── */
.accent-line {
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  margin: 16px auto;
  opacity: 0.6;
}

.accent-line-left {
  margin-left: 0;
}

/* ─── BACKGROUND PATTERNS & ANIMATIONS ─── */




/* Moving Bokeh System */
.bokeh-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatBokeh {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.1;
  }

  25% {
    transform: translate(var(--mov-x, 100px), var(--mov-y, 50px)) scale(1.2);
    opacity: 0.4;
  }

  50% {
    transform: translate(calc(var(--mov-x, 100px) * 1.5), calc(var(--mov-y, 50px) * -1.2)) scale(0.8);
    opacity: 0.2;
  }

  75% {
    transform: translate(calc(var(--mov-x, 100px) * -0.5), calc(var(--mov-y, 50px) * 1.8)) scale(1.4);
    opacity: 0.5;
  }

  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.1;
  }
}

.bokeh-ball {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  animation: floatBokeh var(--duration, 20s) linear infinite;
  animation-delay: var(--delay, 0s);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-decoration: none;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  transition: all .4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 15px rgba(184, 150, 80, 0.2);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 150, 80, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-decoration: none;
  padding: 12px 32px;
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  transition: all .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-decoration: none;
  padding: 12px 32px;
  background: var(--color-text);
  color: var(--color-white);
  border: 1px solid var(--color-text);
  transition: all .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-dark:hover {
  background: transparent;
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: .1em;
  text-decoration: none;
  padding: 14px 36px;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-light);
  transition: all .3s;
}

.btn-phone:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── LUXURY SWIPER FIRST VIEW ─── */
#fv {
  width: 100%;
  height: 800px;
  position: relative;
  background-color: #112D4E;
  line-height: 0;
  overflow: hidden;
}

#fv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
  /* Above the background swiper */
}

.fv-right-swiper {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 55%;
  /* Take up the right side */
  height: 100%;
  padding: 40px 0 40px 0;
  z-index: 2;
  /* Above the overlay */
}

.fv-right-swiper .swiper-wrapper {
  align-items: center;
}

.fv-img-col {
  height: 90%;
  border-radius: 200px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.fv-img-col:nth-child(even) {
  transform: translateY(30px);
}

.fv-img-col:nth-child(odd) {
  transform: translateY(-30px);
}

.fv-img-col:hover {
  transform: scale(1.02) translateY(0);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.fv-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 15s infinite alternate ease-in-out;
}

@media (max-width: 768px) {
  .fv-right-swiper {
    width: 100%;
    left: 0;
    right: auto;
    padding: 20px 0;
  }

  .fv-img-col {
    height: 80%;
    border-radius: 100px;
  }

  .fv-img-col:nth-child(even) {
    transform: translateY(15px);
  }

  .fv-img-col:nth-child(odd) {
    transform: translateY(-15px);
  }
}

.fv-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.fv-text-inner {
  width: clamp(350px, 48%, 850px);
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 0 clamp(40px, 6vw, 80px);
  color: var(--color-white);
  position: relative;
  overflow: visible;
}

.fv-lead,
.fv-main-catch,
.fv-sub-catch {
  width: max-content;
  max-width: 90vw;
  position: relative;
  z-index: 20;
}

.fv-lead {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  opacity: 1;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.fv-main-catch {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  line-height: 1.2;
  color: var(--color-white);
  position: relative;
  display: inline-block;
  z-index: 5;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}



.fv-sub-catch {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-white);
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 2px 8px rgba(28, 28, 28, 0.4);
}

.fv-badges {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.fv-badge {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  letter-spacing: 0.15em;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 767px) {
  .fv-badges {
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .fv-text-inner {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .fv-content-overlay {
    align-items: flex-end;
  }

  .fv-text-inner {
    width: 100%;
    height: auto;
    padding: 40px 20px 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fv-lead {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
  }

  .fv-main-catch {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
  }

  .fv-badges {
    margin-top: 24px;
    gap: 10px;
  }

  .fv-badge {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

/* ─── SUB VISUAL (SV) PARALLAX ─── */
#sv {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sv-parallax-link {
  display: block;
  width: 100%;
  height: 600px;
  position: relative;
}

.sv-parallax-bg {
  width: 100%;
  height: 100%;
  background-image: url('../img/sv.jpg') !important;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Cinematic tint */
  position: relative;
}

@supports (-webkit-touch-callout: none) {
  /* Fix for iOS Safari background-attachment bug */
  .sv-parallax-bg {
    background-attachment: scroll !important;
  }
}


.sv-parallax-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(110deg,
      transparent 0%,
      transparent 15%,
      rgba(184, 150, 80, 0.1) 18%,
      rgba(184, 150, 80, 0.3) 20%,
      rgba(184, 150, 80, 0.1) 22%,
      transparent 25%,
      transparent 33.33%);
  background-size: 300% 100%;
  z-index: 1;
  pointer-events: none;
  animation: continuousSweep 20s infinite linear;
}

.sv-parallax-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 37, 32, 0.1);
  z-index: 2;
}

@keyframes continuousSweep {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 300% 0;
  }
}

@media (max-width: 1024px) {
  .sv-parallax-bg {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: scroll !important;
  }

  .sv-parallax-link {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 250px;
  }
}


/* Clear old animation */
@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 200%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes justFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 200%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes justFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── SECTION BASE ─── */
.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px clamp(24px, 6vw, 80px);
}

@media (max-width: 768px) {
  .section-wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--color-bg-base);
  padding: clamp(48px, 8vw, 80px) clamp(24px, 6vw, 80px);
  border-top: 1px solid rgba(184, 150, 80, 0.1);
  border-bottom: 1px solid rgba(184, 150, 80, 0.1);
}

.cta-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner .section-label {
  justify-content: center;
  display: flex;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.cta-sub {
  color: var(--color-text-mid);
  letter-spacing: .08em;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-outline,
.cta-buttons .btn-dark {
  min-width: 240px;
  justify-content: center;
}

.cta-tel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-business-hours {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ─── ABOUT CUSTOM STYLE ─── */
#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: 'ENCHANTE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 700;
  color: rgba(184, 150, 80, 0.04);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 0.1em;
}

#about .section-wrap {
  position: relative;
  z-index: 2;
}

#about .about-slider {
  border-radius: 240px 240px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Make sure Swiper wrapper handles borders properly on iOS */
  transform: translateZ(0);
}

#about .about-slider .swiper-slide {
  aspect-ratio: 3/4;
}

#about .about-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

#about .about-text {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(32px, 6vw, 64px);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  #about .about-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
  }

  #about .about-image-wrap {
    width: 48%;
    flex-shrink: 0;
  }

  #about .about-text {
    width: 47%;
    margin-left: 0;
    margin-top: 0;
    padding: 40px 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
}

/* ─── ABOUT / GLOBAL GRIDS ─── */
#about {
  background: var(--color-bg-base);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* ─── TV MODERN OVAL STYLE ─── */
#tv {
  background: var(--color-bg-clay);
}

#tv .about-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

#tv ul {
  list-style: none;
}

#tv li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--color-text-mid);
}

#tv li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.about-image-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .about-image-wrap {
    width: calc(100% + clamp(24px, 6vw, 80px) + max(0px, (100vw - 1280px) / 2));
    margin-left: calc(-1 * (clamp(24px, 6vw, 80px) + max(0px, (100vw - 1280px) / 2)));
  }

  #tv .about-image-wrap {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .about-image-wrap {
    width: calc(100% + 48px);
    margin-left: -24px;
  }
}

.about-slider {
  width: 100%;
}

.about-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.about-slider .swiper-slide {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
}

.about-text h2 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .06em;
  margin-bottom: 24px;
}

.about-text p {
  font-weight: 300;
  line-height: 2.4;
  letter-spacing: .07em;
  color: var(--color-text-mid);
}

/* ─── SERVICE ─── */
#service {
  background: #FFFDFD url('../img/bg_bokeh_pink.png') center / cover no-repeat;
  position: relative;
}

#service .section-wrap {
  position: relative;
  z-index: 2;
}

/* ─── NEW SERVICE LAYOUT (CARDS WITH IMAGES) ─── */
.service-new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* ─── GALLERY MARQUEE ─── */
.gallery-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

/* ─── GALLERY GRID ─── */
.gallery-grid-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
}

@media (max-width: 1023px) {
  .gallery-grid-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .gallery-grid-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-grid-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  cursor: pointer;
}

.gallery-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.gallery-grid-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.service-new-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(28, 28, 28, 0.04);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
  border: 1px solid var(--color-light);
}

.service-new-card .img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-new-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-new-card:hover .img-wrap img {
  transform: scale(1.05);
}

.service-new-card .text-wrap {
  background: var(--color-white);
  padding: 32px 20px;
  margin: -40px 16px 0;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1;
}

.service-new-card h3 {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--color-text);
}

.service-new-card p {
  line-height: 2.1;
  text-align: left;
  color: var(--color-text-mid);
}

.service-new-card .accent-line {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

@media (max-width: 1023px) {
  .service-new-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(44, 37, 32, .08);
}

.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-light);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: clamp(.85rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card p {
  font-size: clamp(.72rem, .95vw, .82rem);
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: .06em;
  color: var(--color-text-mid);
}

/* ─── NEW MENU & RECOMMEND ─── */
.menu-section {
  position: relative;
  padding: 100px 0;
  color: #fff;
  z-index: 0;
}

.menu-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.menu-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.menu-section:hover .menu-bg-img {
  transform: scale(1.05);
}

.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 28, 0.7);
  z-index: 0;
}

.menu-intro-card {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.menu-intro-img {
  width: 45%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.menu-intro-img .swiper-slide {
  height: 100%;
  position: relative;
}

.menu-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-intro-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-intro-text h3 {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.menu-intro-text p {
  font-size: 0.85rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.menu-tags a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  text-decoration: none !important;
}

.menu-tags a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.menu-law-link {
  font-size: 0.75rem;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.menu-law-link:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .menu-intro-card {
    flex-direction: column;
    gap: 0;
  }

  .menu-intro-img {
    width: 100%;
    aspect-ratio: 1/1;
  }

  .menu-intro-img img {
    /* No change needed here anymore, the Swiper will handle the aspect ratio container */
  }

  .menu-intro-text {
    padding: 32px 24px;
  }
}

/* ─── NEW PRICE PREMIUM CARD ─── */
.price-premium-card {
  display: flex;
  align-items: stretch;
  gap: clamp(40px, 6vw, 80px);
  background: var(--color-white);
  border-radius: 12px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

.price-img-side {
  width: 40%;
  flex-shrink: 0;
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: -20px 20px 0 rgba(184, 150, 80, .15);
  display: flex;
}

.price-img-side .swiper {
  width: 100%;
  height: 100%;
  position: absolute;
}

.price-img-side {
  position: relative;
}

.price-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.price-text-side {
  flex: 1;
}

.price-text-side h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.price-text-side>p {
  font-size: 0.85rem;
  line-height: 2.1;
  color: var(--color-text-mid);
  margin-bottom: 32px;
}

.price-text-side strong {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.promo-link {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.3s;
  margin-bottom: 32px;
  text-decoration: none !important;
}

.promo-link:hover {
  background: rgba(184, 150, 80, 0.1);
}

.ig-link {
  text-decoration: underline;
  color: var(--color-text);
  font-weight: 500;
}

.service-purchase-box {
  background: var(--color-base);
  padding: 32px;
  border-radius: 8px;
}

.service-purchase-box h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  color: var(--color-heading);
}

.service-purchase-box p {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--color-text-mid);
}

.service-purchase-box ul {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 2.2;
}

.service-purchase-box ul a {
  text-decoration: underline;
  transition: color 0.3s;
}

.service-purchase-box ul a:hover {
  color: var(--color-accent);
}

.detail-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .price-premium-card {
    flex-direction: column;
    gap: 40px;
    padding: 32px 20px;
  }

  .price-img-side {
    width: 100%;
    aspect-ratio: 3/4;
  }

  .service-purchase-box {
    padding: 24px;
  }
}

/* ─── MENU / SHOP ─── */
#shop {
  overflow: hidden;
  background: var(--color-bg-base);
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.shop-image {
  position: relative;
  aspect-ratio: 3/4;
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  border-radius: 120px 0 120px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.shop-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.shop-text p {
  font-size: clamp(.78rem, 1.05vw, .88rem);
  font-weight: 300;
  line-height: 2.4;
  letter-spacing: .07em;
  color: var(--color-text-mid);
  margin-bottom: 32px;
}

.shop-marquee {
  width: 100%;
  display: flex;
  white-space: nowrap;
  margin-top: 24px;
  padding-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 85px);
  color: #EBEBEB;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-inner span {
  padding-right: 60px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ─── GALLERY ─── */
#gallery {
  background: var(--color-white);
}

.gallery-static-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.gallery-grid-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  filter: saturate(.85);
}

.gallery-grid-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

@media (min-width: 768px) {
  .gallery-static-grid {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .gallery-static-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}


/* ─── MESSAGE ─── */
#message {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, var(--color-accent-dark), var(--color-text));
  background-blend-mode: multiply;
}



.message-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.message-inner .section-label {
  color: var(--color-white);
  opacity: 0.8;
}

.about-text h3 {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.4;
  margin-bottom: 24px;
}

.message-inner h2 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: .1em;
  line-height: 1.7;
  margin-bottom: 32px;
}

.message-inner p {
  font-size: clamp(.78rem, 1.05vw, .88rem);
  font-weight: 300;
  line-height: 2.8;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .85);
}

/* ─── Q&A ─── */
#qa {
  background: var(--color-base);
}

.qa-list {
  max-width: 800px;
  margin: 0 auto;
}

.qa-item {
  border-bottom: 1px solid var(--color-light);
}

.qa-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(.82rem, 1.1vw, .95rem);
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--color-text);
  transition: color .3s;
}

.qa-question:hover {
  color: var(--color-accent);
}

.qa-question .q-mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-accent);
  font-style: italic;
  flex-shrink: 0;
}

.qa-question .q-text {
  flex: 1;
}

.qa-question .q-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.qa-question .q-icon::before,
.qa-question .q-icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .35s, opacity .35s;
}

.qa-question .q-icon::before {
  width: 12px;
  height: 1px;
}

.qa-question .q-icon::after {
  width: 1px;
  height: 12px;
}

.qa-item.open .qa-question .q-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.qa-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .3s;
}

.qa-item.open .qa-answer {
  max-height: 300px;
}

.qa-answer-inner {
  padding: 0 0 24px 32px;
  font-size: clamp(.75rem, 1vw, .85rem);
  font-weight: 300;
  line-height: 2.3;
  letter-spacing: .07em;
  color: var(--color-text-mid);
}

/* ─── CONTACT ─── */
#contact {
  background: var(--color-white);
}

/* ─── CONTACT: INVITATION STYLE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 0;
  background: var(--color-white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.contact-info-card {
  padding: 40px;
  background: var(--color-white);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.map-wrap {
  width: 100%;
  height: 100%;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.9;
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .35em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.8;
}

.contact-info-value {
  font-family: var(--font-body);
  font-size: clamp(.82rem, 1.1vw, .92rem);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: .08em;
  line-height: 1.8;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .map-wrap {
    aspect-ratio: 16/9;
  }
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
}

.contact-info-value a:hover {
  color: var(--color-accent);
}

.map-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.sns-list .btn-outline,
.sns-list .btn-primary {
  min-width: 180px;
  justify-content: center;
}

.sns-btn {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--color-light);
  color: var(--color-text-mid);
  transition: all .3s;
}

.sns-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ─── FOOTER ─── */
footer {
  background: var(--color-text);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 6vw, 80px) clamp(24px, 3vw, 32px);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: .3em;
  color: var(--color-white);
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .25);
  text-align: center;
}

/* ─── SCROLL TO TOP ─── */
#scroll-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  border: none;
}

#scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--color-accent-dark);
}

#scroll-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}


/* ─── LIGHTBOX MODAL ─── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity .4s;
}

#lightbox.active {
  display: flex;
  opacity: 1;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3010;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--color-accent);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-accent);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* ─── NEW MESSAGE EDITORIAL LAYOUT ─── */
#message {
  background: var(--gradient-romantic);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.message-premium-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.message-img {
  width: 50%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 3.5 / 4.5;
  z-index: 1;
}

.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(28, 28, 28, 0.15);
}

.img-decorative-frame {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.3;
}

.message-text-card {
  width: 60%;
  margin-left: -3%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(32px, 6vw, 84px);
  box-shadow: 0 40px 120px rgba(28, 28, 28, 0.12);
  border-radius: 4px;
  position: relative;
  z-index: 5;
  border-left: 2px solid var(--color-accent);
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--color-accent);
  opacity: 0.08;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}

.message-text-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  color: var(--color-heading);
}

.message-text-card p {
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: var(--color-text-mid);
}

.message-signature {
  margin-top: 40px;
  text-align: right;
}

.message-signature span {
  font-family: 'Mrs Saint Delafield', cursive;
  font-size: 3.5rem;
  color: var(--color-accent);
  opacity: 0.9;
  display: inline-block;
  transform: rotate(-3deg);
}

@media (max-width: 1023px) {
  .message-premium-card {
    flex-direction: column;
    gap: 40px;
  }

  .message-img {
    width: 100%;
    aspect-ratio: 4/5;
  }

  .img-decorative-frame {
    top: -15px;
    left: -15px;
  }

  .message-text-card {
    width: 100%;
    margin-left: 0;
    margin-top: -60px;
    padding: 40px 10px;
  }
}

@media (max-width: 1023px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .site-logo {
    font-size: 13px;
    letter-spacing: .1em;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    padding: 14px 16px;
  }

  #fv {
    height: 75svh !important;
    position: relative;
    overflow: hidden;
  }

  .fv-swiper {
    height: 100% !important;
    width: 100% !important;
    position: relative;
  }

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

  .fv-content-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: flex-end !important;
    pointer-events: none !important;
    background: transparent !important;
  }

  .fv-text-inner {
    width: 100% !important;
    height: auto !important;
    padding: 40px 24px 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .fv-lead,
  .fv-main-catch,
  .fv-sub-catch {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    position: relative;
  }

  .fv-lead {
    font-size: 0.82rem !important;
    margin-bottom: 24px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.2em !important;
  }

  .fv-main-catch {
    font-size: 30px !important;
    margin-bottom: 24px !important;
    color: var(--color-white) !important;
    line-height: 1.1 !important;
    display: block !important;
  }

  .fv-main-catch::before {
    display: none !important;
    /* Hide brush stroke on mobile center for cleaner look */
  }

  .fv-sub-catch {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: var(--color-white) !important;
    letter-spacing: 0.1em !important;
  }

  /* Hide scroll indicator in stacked layout */
  #fv .fv-scroll {
    display: none !important;
  }

  .fv-right-swiper {
    height: 65% !important;
    top: 5% !important;
    width: 100% !important;
    left: 0 !important;
    padding: 0 !important;
  }

  .fv-img-col {
    height: 100% !important;
    border-radius: 60px !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
  }

  /* Swiper iOS/Mobile Stability Fix */
  .about-slider,
  .about-slider .swiper-slide {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
  }

  /* Layout Stack for SP */
  .about-grid {
    display: block !important;
  }

  .service-grid,
  #shop .shop-grid,
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  section {
    padding: 0px 0 !important;
  }

  #materials {
    padding-bottom: 80px !important;
  }

  .about-image-wrap {
    order: -1;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 24px !important;
  }

  #about .about-text {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    /* Force fully opaque background */
    padding: 32px 20px !important;
  }

  .about-slider .swiper-slide,
  #shop .shop-image {
    aspect-ratio: 3/4 !important;
    order: -1;
  }

  #shop .shop-text {
    order: 1;
  }

  .shop-image::after {
    display: none;
  }

  .gallery-placeholder {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    aspect-ratio: auto;
  }

  .gallery-item img {
    aspect-ratio: 3/4;
  }

  .sp-only {
    display: block;
  }

  /* Mobile Fixed CTA */
  #sp-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: #ffffff;
    z-index: 2000;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  #sp-fixed-cta a {
    width: 100%;
    flex: 1 1 50%;
    text-align: center;
    font-family: var(--font-body);
    font-size: .72rem;
    letter-spacing: .06em;
    padding: 11px 6px;
    text-decoration: none;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
  }

  #sp-fixed-cta .cta-phone {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
  }

  #sp-fixed-cta .cta-shop {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-light);
  }

  #sp-fixed-cta {
    display: flex;
  }

  body {
    padding-bottom: 60px; /* Space for sticky footer */
  }
  
  footer {
    padding-bottom: 32px !important;
  }

  #scroll-top {
    bottom: 76px;
    right: 16px;
  }

  .message-inner p {
    font-size: 14px;
  }

  .sns-list {
    justify-content: center;
    margin-top: 32px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-nav {
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .cta-buttons>a,
  .cta-tel-wrap {
    width: 100%;
  }

  .cta-tel-wrap .btn-primary {
    width: 100%;
  }

  .cta-buttons>a,
  .cta-tel-wrap .btn-primary {
    justify-content: center;
  }

  .fv-title {
    font-size: 2.4rem;
  }
}

/* ─── STAFF ART GALLERY OVERHAUL ─── */
.staff-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.staff-item {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.staff-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.staff-item-alt {
  align-items: stretch;
}

.staff-img-box {
  width: 100%;
  position: relative;
  z-index: 1;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.staff-img-frame {
  display: none;
}

/* Frame removed for cleaner row design */

.staff-img-main {
  height: 100%;
  width: 100%;
  object-fit: cover;
  background: var(--color-bg-stone);
  transition: transform 0.6s ease;
  padding: 0;
}

.staff-img-main:hover {
  transform: scale(1.1);
}

.staff-item-alt .staff-img-main {
  border-radius: 4px;
}

.staff-item-num {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  z-index: 10;
  pointer-events: none;
}

/* Unified numbering */

.staff-info-box {
  padding: 32px 15px;
  background: var(--color-white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-light);
}

.staff-item-alt .staff-img-box {
  margin-right: 0;
  width: 100%;
}

.staff-item-alt .staff-info-box {
  border-right: none;
  border-left: none;
}

.staff-info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-text);
  letter-spacing: 0.05em;
  min-height: 3em;
  /* Align titles */
}

.staff-info-box p {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--color-text-mid);
}

@media (max-width: 767px) {
  .staff-gallery-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .staff-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
  }

  .staff-img-box {
    width: 100%;
    margin: 0;
  }

  .staff-img-main {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
  }

  .staff-info-box {
    margin-top: -20px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 15px;
    background: #ffffff !important;
    box-shadow: none;
  }

  .staff-item-num {
    top: -30px;
    font-size: 5rem;
    opacity: 0.12;
  }

  .staff-img-frame {
    display: none;
  }

  .staff-item-alt .staff-img-main {
    border-radius: 4px;
  }
}

/* ─── PRICE SECTION ─── */
#price {
  background: #FFFDFD url('../img/bg_bokeh_pink.png') center / cover no-repeat;
}

/* ─── STAFF / MATERIALS ─── */
#staff {
  background: #FFFDFD url('../img/bg_bokeh_pink.png') center / cover no-repeat;
  position: relative;
}

#materials {
  background: #FFFDFD url('../img/bg_bokeh_pink.png') center / cover no-repeat;
  position: relative;
}


/* Force all p tags to 14px on SP */
@media (max-width: 768px) {

  p,
  p span {
    font-size: 14px !important;
  }
}

/* YouTube Trigger */
.youtube-trigger-wrap {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
}

.youtube-thumble {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.youtube-thumble:hover {
  transform: scale(1.02);
}

.youtube-thumble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(184, 150, 80, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 0 30px rgba(184, 150, 80, 0.4);
  transition: transform 0.3s, background 0.3s;
}

.youtube-thumble:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-accent);
}

.youtube-label {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  .youtube-trigger-wrap {
    margin-top: 40px;
  }

  .play-overlay {
    width: 60px;
    height: 60px;
  }
}

/* Media Button for SP */
.btn-media-sp {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}

@media (max-width: 767px) {
  .btn-media-sp {
    width: 100%;
    text-align: center;
    background: #fff;
  }
}

@media (max-width: 767px) {
  .about-text h3 {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .about-text p {
    line-height: 2 !important;
  }
}

@media (max-width: 767px) {
  .message-text-card h3 {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    margin-bottom: 24px !important;
  }

  .message-text-card p {
    font-size: 13px !important;
    /* Slightly smaller than 14px as requested */
    line-height: 2.2 !important;
  }
}

@media (max-width: 1023px) {
  #site-header {
    position: fixed !important;
    top: 0 !important;
    background: #ffffff !important;
    z-index: 9999 !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 64px; /* Space for fixed header */
    padding-bottom: 70px; /* Space for fixed CTA */
  }
}

@media (max-width: 767px) {
  .fv-right-swiper {
    overflow: visible !important;
    /* Allow rounded corners to show if they slightly bleed */
    padding: 10px 0 !important;
  }

  .fv-img-col {
    height: calc(100% - 20px) !important;
    margin: 10px 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    gap: 10px !important;
  }
}

@media (max-width: 767px) {
  .about-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .about-text {
    order: 2 !important;
  }

  .about-image-wrap {
    order: 1 !important;
    margin-bottom: 32px !important;
  }
}

/* ������ SV (Sub Visual) ������ */
#sv {
  height: clamp(300px, 50vh, 600px);
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 60px 0;
}

.sv-parallax-link {
  display: block;
  width: 100%;
  height: 100%;
}

.sv-parallax-bg {
  width: 100%;
  height: 100%;
  background-image: url('../img/eyecatch.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 1024px) {
  #sv {
    height: 300px;
    margin: 40px 0;
  }

  .sv-parallax-bg {
    background-attachment: scroll !important;
    background-position: center;
  }
}

@media (max-width: 767px) {
  .fv-right-swiper {
    position: absolute !important;
    top: 5% !important;
    height: 70% !important;
    width: 100% !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    /* Ensure it can be swiped */
  }

  .fv-img-col {
    height: 100% !important;
    border-radius: 80px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    /* Safari border-radius fix */
  }

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