@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --color-primary: #3F352F;
  /* Dark Brown */
  --color-secondary: #fdfaf8;
  /* Cream/Off-white */
  --color-accent: #d4af37;
  /* Gold/Accent */
  --color-peach: #FFCCB6;
  /* Sophisticated Peach */
  --color-text: #4a4a4a;
  /* Soft Charcoal */
  --color-line: #06c755;
  /* LINE Green */

  --spacing-sp: 80px;
  --spacing-pc: 120px;
}

html {
  scroll-behavior: smooth;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  background-color: var(--color-secondary);
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-size: 16px;
  user-select: none;
  /* Disable text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1,
h2,
h3,
.font-serif {
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }
}

/* Section Spacing */
section {
  margin-bottom: var(--spacing-sp);
}

@media (min-width: 1024px) {
  section {
    margin-bottom: var(--spacing-pc);
  }
}

/* Header Styles */
header {
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(253, 250, 248, 0.95);
  backdrop-filter: blur(10px);
}

/* FV Section */
.fv-section {
  margin-bottom: 60px;
}

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

@media (min-width: 1024px) {
  .fv-section {
    margin-bottom: 0;
  }
}

/* CTA 1 Section Padding Adjustment */
.cta-section {
  padding-top: 4rem; /* Default */
}

@media (min-width: 1024px) {
  .cta-section {
    padding-top: 0; /* Remove top padding on PC */
  }
}

/* FV Swiper Styles */
.fv-swiper {
  width: 100%;
  height: 85vh;
}

@media (max-width: 768px) {
  .fv-swiper {
    height: 70vh;
  }
}

.fv-swiper img {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .fv-swiper img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .img-portrait {
    object-position: 85% center !important;
  }
}

/* FV Badges */
.fv-badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 90%;
}

.fv-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  pointer-events: auto;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .fv-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.75rem;
  }
  .fv-badge-container {
    gap: 1.25rem;
    margin-top: 3rem;
  }
}

.fv-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Section Headings */
.section-header {
  text-align: center;
  margin: 0 auto 4rem auto;
  position: relative;
  padding-bottom: 1.25rem;
}

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

.section-header-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-header-subtitle {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .section-header-title {
    font-size: 1.5rem !important;
    letter-spacing: 0.1em !important;
  }
}

/* Beauty Box Styling */
.beauty-box {
  background-color: #ffffff;
  padding: 4rem 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.5s ease;
  border: 1px solid var(--color-peach);
  border-radius: 16px;
  /* Rounded corners for boxes */
}

@media (max-width: 768px) {
  .beauty-box {
    padding: 2rem 1rem !important;
    /* Reduced padding for SP */
  }
}

.beauty-box::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--color-peach);
  border-right: 2px solid var(--color-peach);
  opacity: 0.3;
  pointer-events: none;
}

.bg-peach-light {
  background-color: #FFF5F1;
}

.text-peach {
  color: #E8A88A;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f2d26d);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  /* Rounded pill style */
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

/* Back to Top */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 100px;
  /* Adjust based on SP floating CTA */
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 90;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* SP Floating CTA */
@media (max-width: 1023px) {
  .floating-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    /* Pill shape for floating bar */
    overflow: hidden;
    border: 1px solid rgba(255, 204, 182, 0.3);
  }

  .floating-cta a {
    flex: 1;
    height: 56px;
    /* Unified height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    /* Reset individual button radius */
    box-shadow: none !important;
    /* Remove individual button shadow */
    padding: 0 !important;
    /* Reset padding to use height/flex-1 */
  }
}

/* Hamburger Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Gallery Hover - Removed Effect */
.gallery-item {
  overflow: hidden;
}

/* Utility for Asymmetry */
.asym-cols {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .asym-cols-40-60 {
    grid-template-columns: 4fr 6fr;
  }

  .asym-cols-60-40 {
    grid-template-columns: 6fr 4fr;
  }
}

/* Image Styling - Rounded */
.section-image {
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  border-radius: 8px;
}

/* Table Style */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table tr {
  border-bottom: 1px solid #eee;
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 1.5rem 0;
}

/* Map Style */
iframe {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#access {
  margin-bottom: 0 !important;
}

#access iframe {
  border-radius: 0;
}

/* SP SNS Centering */
.sns-container-sp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* Access Styling */
.access-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  /* Aligned left for content */
  text-align: left;
}

.access-label {
  display: inline-block;
  background-color: var(--color-peach);
  color: white;
  width: 80px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .access-item {
    flex-direction: row;
    justify-content: flex-start;
    /* Aligned left for row content */
    align-items: center;
  }
}

/* Mobile-only Utility */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}