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

:root {
  --primary-color: #fabe00;
  --text-color: #2f2e2e;
  --bg-color: #f3f1f1;
  --transition-speed: 0.6s;
  --font-family: 'Shippori Mincho', arial, sans-serif;
  --font-heading: 'Shippori Mincho', arial, sans-serif;
}

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

.mt-16 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* ==============================================================
   Service Ticker
============================================================== */
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#service-ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* ==============================================================
   Price Row Hover: Left → Right fill with #fabe00
============================================================== */
.price-row {
    background: linear-gradient(to right, #fabe00 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.4s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.price-row:hover {
    background-position: left bottom;
    color: #111111;
    box-shadow: 0 4px 16px rgba(250, 190, 0, 0.3);
}

.price-row:hover span {
    color: #111111 !important;
}

/* ==============================================================
   FAQ Toggle Hover: Left → Right fill with #fabe00
============================================================== */
.faq-toggle {
    background: linear-gradient(to right, #fabe00 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.4s ease, color 0.3s ease;
}

.faq-toggle:hover {
    background-position: left bottom;
    color: #111111;
}

.faq-toggle:hover span {
    color: #111111 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-feature-settings: "palt";
  /* Text Selection Protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (max-width: 768px) {
  body {
    word-break: normal;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Nav */
header {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--primary-color);
}

.nav-link {
  transition: color 0.4s ease;
}

header.header-scrolled .nav-link {
  color: var(--text-color) !important;
}

header.header-scrolled #menu-toggle span {
  background: var(--text-color) !important;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px !important;
  }
}

.section-padding {
  padding-top: 70px;
  padding-bottom: 70px;
}

/* Premium Buttons */
.btn-premium {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 900;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #fff;
  z-index: 1;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine 6s infinite;
  z-index: -1;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn-premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -2px rgba(0, 0, 0, 0.1);
}

.btn-premium-phone {
  background: linear-gradient(135deg, var(--primary-color) 0%, #d4a300 100%);
}

.btn-premium-line {
  background: linear-gradient(135deg, #06C755 0%, #039f42 100%);
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 900;
  background: #fdf9f0;
  color: var(--text-color);
  border: 1px solid #efe8d9;
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 10px 15px -3px rgba(250, 190, 0, 0.1), 0 4px 6px -2px rgba(250, 190, 0, 0.05);
  transform: translateY(-2px);
  color: var(--primary-color);
}

.btn-secondary svg,
.btn-secondary span {
  transition: all 0.3s ease;
}

.btn-secondary:hover svg {
  fill: var(--primary-color);
  transform: scale(1.1);
}

/* Animations */
.fade-in,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in  { transform: translateY(40px); }
.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.85); }

.fade-in.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }
.delay-5 { transition-delay: 0.7s; }


.scale-up {
  animation: scaleUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes scaleUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flicker {

  0%,
  18%,
  22%,
  25%,
  38%,
  42%,
  100% {
    opacity: 1;
  }

  20%,
  24%,
  40% {
    opacity: 0.9;
    text-shadow: none;
  }
}

.neon-text {
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fabe00,
    0 0 42px #fabe00,
    0 0 82px #fabe00,
    0 0 92px #fabe00,
    0 0 102px #fabe00;
  animation: flicker 1.5s infinite alternate;
  letter-spacing: 0.05em;
  font-weight: 900;
}

/* Section Header Stylist Design */
.section-header-text {
  text-align: center;
  margin-bottom: 80px;
}

.section-header-text h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-header-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .section-header-text h2 {
    font-size: 1.5rem;
  }
}

.bg-cover-dark .section-header-text h2 {
  color: #fff;
}

/* Section Background Images */
.bg-section-image {
  position: relative;
  z-index: 1;
}

.bg-section-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

.bg-service-image::before {
  background-image: url('../img/17.webp');
}

.bg-qa-image::before {
  background-image: url('../img/6.webp');
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 20px 40px rgba(250, 190, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 30px 60px rgba(250, 190, 0, 0.4);
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: marquee 60s linear infinite;
}

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

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

.marquee-item {
  display: inline-block;
  width: 500px;
  height: 375px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .marquee-item {
    width: 320px;
    height: 240px;
    margin-right: 20px;
  }
}

/* Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 10px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.3;
}

.modal-nav:hover {
  opacity: 1;
}

#modal-prev {
  left: 40px;
}

#modal-next {
  right: 40px;
}

#modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #fff;
  font-size: 3rem;
  background: none;
  border: none;
}

/* Utilities */
.img-style-about {
  border-radius: 5rem 0 5rem 0;
}

/* Fixed CTA SP */
@media (max-width: 768px) {
  .fixed-cta-sp {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 99;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  }

  .fixed-cta-sp a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .fixed-cta-sp .tel {
    background: var(--primary-color);
    color: #fff;
  }

  .fixed-cta-sp .web {
    background: #111;
    color: #fff;
  }
}

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

  100% {
    transform: translateY(100%);
  }
}

.animate-scroll-line {
  animation: scrollLine 2s infinite ease-in-out;
}

#scrollToTop {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #111;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 90;
  border-radius: 12px;
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

/* FV Text Override */
@media (min-width: 768px) {
  .md\:text-8xl {
    font-size: 48px !important;
    line-height: 1.4 !important;
  }
}

/* Neon Effects */
/* Clean Design Overrides */
.neon-text {
  text-shadow: none !important;
}

.neon-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Updated Floating CTA (Mobile Only) */
@media (max-width: 768px) {
  .fixed-cta-sp {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  }

  .fixed-cta-sp a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 10px;
    font-weight: 900;
  }

  .fixed-cta-sp .tel {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (min-width: 769px) {
  .fixed-cta-sp {
    display: none !important;
  }
}

/* SP Padding Overrides */
@media (max-width: 768px) {

  .p-10,
  .p-8 {
    padding: 40px 10px !important;
  }
}


/* FAQ Section */
#faq .faq-item {
  background: #ffffff;
}

#faq .faq-toggle {
  outline: none;
}

#faq .faq-toggle span:last-child {
  font-family: 'Shippori Mincho', serif;
  font-weight: 300;
  display: inline-block;
  line-height: 1;
}

#faq .faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#faq .faq-item:hover {
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  #faq .faq-toggle {
    padding: 25px 20px !important;
  }
}

/* Desktop Nav - Direct Spacing Control */
#desktop-nav {
  gap: 20px !important;
  letter-spacing: 0.25em;
}

@media (min-width: 1280px) {
  #desktop-nav {
    gap: 28px !important;
    letter-spacing: 0.35em;
  }
}