@charset "UTF-8";

/* Base Resets and Variables */
:root {
  --spacing-sp: 80px;
  --spacing-pc: 140px;
  --cream: #f5f0e8;
  --warm-white: #fdfaf4;
  --charcoal: #2a2520;
  --dark-brown: #3d2b1f;
  --mid-brown: #7a5c3e;
  --gold: #b8912a;
  --light-gold: #d4aa4a;
  --red-accent: #8b2020;
  --sage: #6b7c5e;
  --muted: #9e9086;
  --border: rgba(184, 145, 42, 0.3);
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", serif;
  background: var(--warm-white);
  color: var(--charcoal);
  /* Prevent copy selection */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  /* Remove any default images selection */
  -webkit-user-drag: none;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== FV LAYOUT ===== */
.fv {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 76px);
  background: var(--warm-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Petal decorations */
.petal {
  position: absolute;
  background: rgba(184, 145, 42, 0.12);
  border-radius: 50% 0 50% 0;
  pointer-events: none;
  animation: floatPetal 8s ease-in-out infinite;
}

.petal:nth-child(1) {
  width: 28px;
  height: 28px;
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.petal:nth-child(2) {
  width: 18px;
  height: 18px;
  top: 30%;
  left: 22%;
  animation-delay: 1.5s;
}

.petal:nth-child(3) {
  width: 22px;
  height: 22px;
  top: 55%;
  left: 6%;
  animation-delay: 3s;
}

.petal:nth-child(4) {
  width: 16px;
  height: 16px;
  top: 75%;
  left: 18%;
  animation-delay: 2s;
}

.petal:nth-child(5) {
  width: 24px;
  height: 24px;
  top: 20%;
  right: 16%;
  animation-delay: 1s;
}

.petal:nth-child(6) {
  width: 14px;
  height: 14px;
  top: 60%;
  right: 8%;
  animation-delay: 3.5s;
}

.petal:nth-child(7) {
  width: 20px;
  height: 20px;
  top: 82%;
  right: 22%;
  animation-delay: 0.5s;
}

@keyframes floatPetal {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-14px) rotate(15deg);
    opacity: 1;
  }
}

/* ===== MAIN FV BODY ===== */
.fv-body {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  padding: 0 80px 40px 56px;
  align-items: center;
  min-height: calc(100vh - 76px);
  z-index: 1;
}

/* LEFT: vertical catch copy */
.fv-left-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding-top: 60px;
  animation: fadeIn 1.2s 0.3s both;
  position: relative;
  z-index: 15;
  pointer-events: none;
}

.fv-vertical-copy {
  writing-mode: vertical-rl;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.2em;
  color: var(--dark-brown);
  opacity: 0.75;
  margin-left: 24px;
}

.fv-cards-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.fv-card {
  position: absolute;
  overflow: hidden;
  pointer-events: auto;
  transition:
    top 1s cubic-bezier(0.77, 0, 0.175, 1),
    left 1s cubic-bezier(0.77, 0, 0.175, 1),
    width 1s cubic-bezier(0.77, 0, 0.175, 1),
    height 1s cubic-bezier(0.77, 0, 0.175, 1),
    border-radius 1s ease,
    box-shadow 1s ease,
    opacity 0.6s ease;
  will-change: top, left, width, height, opacity;
}

.fv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fv-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 28px;
  background: linear-gradient(to top, rgba(18, 10, 3, 0.78) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.fv-caption-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}

.fv-caption-text {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.93);
}

/* Dots */
.fv-dot-row {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  pointer-events: auto;
}

.fv-sdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(61, 43, 31, 0.22);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.fv-sdot.active {
  background: var(--gold);
  transform: scale(1.5);
}

/* RIGHT column: catchcopy */
.fv-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  padding-left: 24px;
  padding-bottom: 80px;
  animation: fadeIn 1.2s 0.5s both;
  position: relative;
  z-index: 15;
  pointer-events: none;
}

.fv-catchcopy-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: flex-end;
  padding: 24px 0;
}

.fv-catch-border {
  width: 2px;
  background: var(--dark-brown);
  align-self: stretch;
  margin-right: 24px;
  opacity: 0.3;
}

.fv-catch-lines {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.fv-catch-line {
  writing-mode: vertical-rl;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.fv-catch-line.large {
  font-size: clamp(40px, 5vw, 62px);
}

.fv-catch-line.medium {
  font-size: clamp(32px, 4vw, 50px);
}

.fv-catch-line.small-catch {
  font-size: clamp(26px, 3.2vw, 40px);
}

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

@media (min-width: 768px) {
  .sec-spacing {
    margin-bottom: var(--spacing-pc);
  }
}

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

@supports (-webkit-touch-callout: none) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Menu Custom Bullets */
ol,
ul {
  list-style: none;
}

/* Hide scrollbar for sp menu */
#sp-menu::-webkit-scrollbar {
  display: none;
}

/* Pagination Dots */
.swiper-pagination-gallery .swiper-pagination-bullet {
  background: var(--charcoal);
}

.swiper-pagination-voice .swiper-pagination-bullet {
  background: var(--gold);
}

/* Map grayscale hover effect */
iframe.grayscale {
  transition: filter 0.5s ease;
}

iframe.grayscale:hover {
  filter: grayscale(0%) contrast(100%);
}

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

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

/* Section Headings */
.section-label {
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
  text-align: center;
  font-weight: 500;
}

.section-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
}

.section-desc {
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  letter-spacing: 0.1em;
  max-width: 600px;
  margin: 20px auto 0;
  text-align: left;
}

@media (min-width: 768px) {
  .section-desc {
    text-align: center;
  }
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

@media (max-width: 600px) {
  .fv-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: auto;
  }

  .fv-left-text {
    padding: 40px 0;
    margin-left: -35px;
    height: auto;
  }
  .fv-right-col {
    position: absolute;
    top: 280px;
    right: 45px;
    padding: 0;
    height: auto;
    align-items: flex-end;
    z-index: 5;
  }.fv-catch-lines {
    flex-direction: row;
    writing-mode: horizontal-tb;
  }

  .fv-catch-line {
    writing-mode: horizontal-tb;
  }

  .fv-catch-line.large {
    font-size: 24px;
  }

  .fv-catch-line.medium {
    font-size: 18px;
  }
}

/* Utilities */
.mobile-only {
  display: inline;
}

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