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

:root {
  /* MUI-inspired Palette & Chic Black Theme */
  --primary-main: #b8912a;
  /* Gold accent */
  --primary-dark: #8c6d1f;
  --secondary-main: #f5f0e8;
  --bg-black: #0a0a0a;
  --bg-card: #141414;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(184, 145, 42, 0.3);
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-serif: 'Zen Old Mincho', serif;
  --font-mincho: 'Shippori Mincho', serif;
  --font-sans: 'Inter', 'Noto Serif JP', sans-serif;

  /* Layout */
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 500;
  /* Bolder body text */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Moving CSS Gradient Background */
.moving-gradient-bg {
  position: relative;
  background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0d0d0d, #141414);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

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

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

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

/* Subtle Aurora Effect */
.aurora-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(184, 145, 42, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Layout Components --- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

/* 2-Column Layout: Text 40%, Image 60% (Strict Requirement) */
.split-layout {
  display: flex;
  align-items: center;
  gap: 0;
}

.split-layout.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 0 0 55%;
  /* Increased from 40% */
  padding-right: 60px;
  z-index: 2;
}

.split-layout.reverse .split-text {
  padding-right: 0;
  padding-left: 60px;
}

.split-image {
  flex: 0 0 45%;
  /* Reduced from 60% */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Increased from 4px */
  box-shadow: var(--shadow-premium);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.05);
  /* Slight brightness boost */
}

/* Responsive Split Layout */
@media (max-width: 960px) {

  .split-layout,
  .split-layout.reverse {
    flex-direction: column;
  }

  .split-text,
  .split-image {
    flex: 0 0 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100%;
  }

  .split-image {
    height: 300px;
    /* Set a fixed height for mobile stacking */
  }

  .split-text {
    margin-bottom: 40px;
    text-align: left;
    /* Explicitly left-align for SP */
  }

  .fv-catchphrase-container {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .fv-badges-container {
    position: relative;
    bottom: 0;
    width: 100%;
  }

  .fv-catchphrase {
    writing-mode: horizontal-tb;
    /* Switch to horizontal for better mobile fit */
    text-align: center;
    font-size: 24px;
  }

  .fv {
    padding: 0 24px 60px 24px;
    align-items: flex-end;
    justify-content: center;
  }

  .fv-points {
    padding-left: 15px;
  }
}

/* --- Typography --- */

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  /* Maximum bold */
  margin-bottom: 24px;
  line-height: 1.2;
}

.service-item-title {
  font-size: 28px;
}

.mobile-only {
  display: none;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--primary-main);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.vertical-text {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  line-height: 1.5;
  font-weight: 900;
  /* Bolder vertical text */
}

/* --- MUI-like Components --- */

.mui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
}

.mui-btn-primary {
  background-color: var(--primary-main);
  color: #000;
}

.mui-btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 145, 42, 0.4);
}

.mui-btn-outline {
  border: 1px solid var(--primary-main);
  color: var(--primary-main);
  background: transparent;
}

.mui-btn-outline:hover {
  background: rgba(184, 145, 42, 0.1);
  transform: translateY(-2px);
}

.mui-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mui-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.premium-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 60px;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .premium-box {
    padding: 30px 20px;
  }
}

/* --- Header & Nav --- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-right: 40px;
  /* Reduced from 80px to accommodate button */
}

.header-cta {
  padding: 8px 20px;
  font-size: 12px;
  border-radius: 50px;
  /* Pill shape */
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    /* Mobile menu handles this */
  }

  .header-cta {
    margin-right: 50px;
    /* Space for hamburger */
  }
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* Readable text adjustment */
}

.nav-links a:hover {
  color: var(--primary-main);
}

/* Hamburger Menu Icon (Solid Black for SP) */
.menu-icon {
  display: none;
  width: 40px;
  height: 40px;
  background-color: #fff;
  /* Ensure visibility of black icon */
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.menu-icon span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #000;
  /* Solid Black requirement */
  position: absolute;
  left: 10px;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
  top: 12px;
}

.menu-icon span:nth-child(2) {
  top: 19px;
}

.menu-icon span:nth-child(3) {
  top: 26px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-icon {
    display: block;
  }
}

#menu {
  background: linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.65)), url('../image/bg3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Premium parallax feel */
}

#recommend {
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('../image/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#staff {
  background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)), url('../image/staf.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Gallery Section Styles */
.gallery-swiper {
  width: 100%;
  max-width: 1000px;
  /* Reduced from 1200px */
  margin: 0 auto;
  padding: 40px 0 60px;
}

.gallery-swiper .swiper-slide {
  overflow: hidden;
  border-radius: 24px;
  /* Large rounded corners for premium look */
  box-shadow: var(--shadow-premium);
  aspect-ratio: 1 / 1;
  border: none;
  transition: transform 0.3s ease;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-swiper .swiper-slide:hover img {
  transform: scale(1.05);
}

.gallery-swiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--primary-main);
}

/* GLightbox Customization (Professional & Centered) */
.glightbox-container .gslide-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gprev,
.gnext,
.gclose {
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  width: 45px !important;
  height: 45px !important;
}

.gclose {
  top: 20px !important;
  right: 20px !important;
}

/* FV based on Type14.html */
.fv {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  /* Move to bottom */
  justify-content: center;
  /* Center horizontally */
  overflow: hidden;
  padding-bottom: 100px;
  /* Space from bottom */
}

.fv-catchphrase-container {
  position: absolute;
  top: var(--header-height);
  left: 60px;
  z-index: 15;
}

.fv-badges-container {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.fv-catchphrase {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.8;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  font-weight: 900;
  writing-mode: vertical-rl;
}

.fv-badges {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  /* Center badges */
}

.fv-badge {
  width: 100px;
  height: 100px;
  border: 1px solid var(--primary-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  position: relative;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(5px);
  transition: all 0.5s ease;
  animation: floatBadge 3s ease-in-out infinite;
}

.fv-badge:nth-child(2) {
  animation-delay: 0.5s;
}

.fv-badge:nth-child(3) {
  animation-delay: 1s;
}

.fv-badge span {
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
  /* White text as requested */
  font-weight: 900;
  writing-mode: vertical-rl;
  /* Elegant vertical badges */
}

@keyframes floatBadge {

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

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

@media (max-width: 768px) {
  .fv-badges {
    gap: 15px;
    margin-top: 30px;
  }

  .fv-badge {
    width: 80px;
    height: 80px;
    padding: 10px;
  }

  .fv-badge span {
    font-size: 10px;
  }
}

/* Card System from Type14 */
.fv-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  /* Reduced from 80vw */
  height: 70vh;
  /* Reduced from 80vh */
  transform: translate(-50%, -50%) scale(1.1);
  border-radius: 12px;
  /* Increased from 4px */
  overflow: hidden;
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.fv-card.active {
  opacity: 0.9;
  /* Increased from 0.6 for more light */
  transform: translate(-50%, -50%) scale(1);
  z-index: 2;
}

.fv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.0) contrast(1.05);
  /* Removed brightness dimming */
}

/* Footer & Contact */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--primary-main);
}

.footer-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Map placeholder */
.map-container {
  width: 100%;
  height: 300px;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: #fff;
  color: var(--primary-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--primary-main);
  color: #fff;
}

/* Mobile Specific Refinements */
@media (max-width: 480px) {
  .header {
    padding: 0 15px;
  }

  .logo {
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .service-item-title {
    font-size: 18px;
  }

  .mobile-only {
    display: block;
  }

  .mui-card {
    padding: 24px 15px;
  }

  .fv-card {
    width: 90vw;
    height: 50vh;
  }

  .fv-catchphrase-container {
    position: absolute !important;
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
  }

  .fv-catchphrase {
    font-size: 20px !important;
    text-align: left !important;
  }

  #staff p {
    text-align: left !important;
    /* Left-align staff text on SP */
  }

  /* Back to top adjustment for sticky footer */
  .back-to-top {
    bottom: 80px;
    /* Move up to avoid overlapping with fixed footer */
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

/* Fixed Footer CTA (SP only) */
.fixed-footer-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: none;
  z-index: 2000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .fixed-footer-cta {
    display: flex;
  }

  body {
    padding-bottom: 60px;
    /* Space for fixed footer */
  }
}

.cta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  transition: opacity 0.3s;
}

.cta-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.cta-item.tel {
  background: var(--primary-main);
}

.cta-item.hotpepper {
  background: #ff3366;
  /* Hotpepper brand color for recognition */
}

.cta-item.top-link {
  background: #333;
  /* Darker for top link */
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-item:active {
  opacity: 0.8;
}

/* Menu Slider Section */
.menu-slider-wrapper {
  width: 100%;
  padding: 0;
  background: transparent;
}

.menu-swiper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 0 60px;
  overflow: visible;
  background: transparent;
}

.menu-swiper .swiper-slide {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease;
}

.menu-swiper .swiper-slide:hover {
  transform: scale(1.05);
}

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

@media (max-width: 768px) {
  .menu-swiper {
    width: 100%;
  }
}

.menu-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.menu-swiper .swiper-pagination-bullet-active {
  background: var(--primary-main);
  opacity: 1;
}