@charset "utf-8";

/* Fonts */
:root {
  --font-serif: "Shippori Mincho", serif;
  --font-body: "Noto Serif JP", serif;
  --color-primary: #87CEEB; /* Skyblue */
  --color-black: #333333;
  --color-gray: #757575;
  --letter-spacing: 0.05em;
  --line-height: 1.8;
}

body {
  font-family: var(--font-body);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  color: var(--color-black);
  overflow-x: hidden;
  user-select: none; /* Disable text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

/* Section Spacing */
section {
  margin-bottom: 80px;
}

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

/* Custom Utilities */
.section-title-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto 80px;
  text-align: center;
}

.section-title-text {
  position: relative;
  display: inline-block;
  color: var(--color-black);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding-bottom: 20px;
  text-transform: uppercase;
}

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

.section-title-text::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background-color: var(--color-primary);
  opacity: 0.4;
}

@media (min-width: 1024px) {
  .section-title-text {
    font-size: 2.25rem;
  }
}

/* FV Swiper Fixes */
.fv-swiper {
  width: 100%;
  height: 70vh; /* Slightly increased from 60vh */
}

@media (min-width: 1024px) {
  .fv-swiper {
    height: 85vh; /* Slightly increased from 75vh */
  }
}

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

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

/* Mobile responsive fix for parallax on iOS */
@supports (-webkit-touch-callout: none) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Right click protection message (optional, but keep it quiet) */
.no-select {
  user-select: none;
}

/* Header Glassmorphism */
header.sticky {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(135, 206, 235, 0.5);
}

/* Scroll Accents */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Decorative background accents */
.bg-deco-dots {
  background-image: radial-gradient(#87CEEB 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

.section-bg-image {
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .section-bg-image {
    background-attachment: scroll;
  }
}

.section-bg-image-2 {
  background-image: url('../img/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .section-bg-image-2 {
    background-attachment: scroll;
  }
}

/* Glass Header Enhancement */
header.sticky.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 206, 235, 0.1);
}

/* Image Hover Refinement */
.img-zoom-hover {
  overflow: hidden;
}

.img-zoom-hover img {
  transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Transitions */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* CTA Buttons */
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

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

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

.price-table td {
  padding: 15px 0;
}

.price-table .price {
  text-align: right;
  font-weight: 600;
}

/* Gallery Hover */
.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Modal / Lightbox */
#lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  padding: 40px;
  justify-content: center;
  align-items: center;
}

#lightbox-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#lightbox-modal.active {
  display: flex;
}

.shadow-blue {
  box-shadow: 0 15px 40px -5px rgba(135, 206, 235, 0.4), 0 10px 15px -5px rgba(135, 206, 235, 0.2);
}

/* SP Only Line Break */
.mobile-only {
  display: none;
}

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