/*
 * FV display switch
 * Change the body class only:
 *   fv-mode-old: front-facing woman FV (current production)
 *   fv-mode-new: rear-view woman FV (CV comparison, currently hidden)
 */
.fv-new {
  display: none;
}

.fv-mode-new .fv-old {
  display: none !important;
}

.fv-mode-new .fv-new {
  display: block;
}

.fv-mode-old .fv-old {
  display: block;
}

.fv-mode-old .fv-new {
  display: none;
}

.fv-new {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 680px;
  max-height: 940px;
  overflow: hidden;
  background: #f3e9e3;
  color: #3f3337;
}

.fv-new__picture,
.fv-new__picture img,
.fv-new__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fv-new__picture img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.fv-new__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 252, 249, 0.76) 0%, rgba(255, 250, 246, 0.38) 33%, rgba(255, 250, 246, 0) 58%),
    linear-gradient(0deg, rgba(73, 54, 58, 0.13) 0%, rgba(73, 54, 58, 0) 30%);
}

.fv-new__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 8vw), 1500px);
  height: 100%;
  margin-inline: auto;
}

.fv-new__logo {
  position: absolute;
  top: clamp(28px, 4.5vh, 54px);
  left: -12px;
  width: clamp(230px, 21vw, 330px);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.22));
}

.fv-new__copy {
  position: absolute;
  top: 48%;
  left: 0;
  transform: translateY(-50%);
  max-width: min(48vw, 680px);
  font-family: var(--serif, "Noto Serif JP", serif);
  isolation: isolate;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.35);
}

.fv-new__copy h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.45;
}

.fv-new__kicker,
.fv-new__main {
  display: block;
}

.fv-new__kicker {
  color: #7f2643;
  font-size: clamp(27px, 2.45vw, 42px);
}

.fv-new__main {
  margin-top: 0.3em;
  color: #3a3033;
  font-size: clamp(38px, 3.65vw, 62px);
  font-weight: 500;
  line-height: 1.18;
  white-space: nowrap;
}

.fv-new__mobile-break {
  display: none;
}

.fv-new__action {
  position: absolute;
  bottom: clamp(24px, 4.5vh, 48px);
  left: 0;
  display: flex;
  width: min(390px, 36vw);
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fv-new__button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  box-sizing: border-box;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 2px;
  background: linear-gradient(110deg, #76122e 0%, #a92a50 52%, #7f1735 100%);
  box-shadow: 0 12px 28px rgba(94, 22, 46, 0.24), inset 0 1px rgba(255, 255, 255, 0.32);
  color: #fff;
  font-family: var(--serif, "Noto Serif JP", serif);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.fv-new__button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.fv-new__offer-note {
  color: #f1d8a9;
  font-weight: 700;
}

.fv-new__offer-main {
  font-weight: 600;
}

.fv-new__venue {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 5px 12px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at center, rgba(250, 247, 246, 0.48) 0%, rgba(250, 247, 246, 0.2) 64%, rgba(250, 247, 246, 0) 100%);
  box-shadow: none;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 74%, transparent 100%);
}

.fv-new__venue img {
  display: block;
  width: 64px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.55));
}

.fv-new__venue p {
  margin: 0;
  color: #4a4042;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.25;
  white-space: nowrap;
}

.fv-new--squaregate .fv-new__venue {
  background: radial-gradient(ellipse at center, rgba(250, 247, 246, 0.44) 0%, rgba(250, 247, 246, 0.17) 64%, rgba(250, 247, 246, 0) 100%);
}

.fv-new--squaregate .fv-new__venue p {
  font-family: var(--serif, "Noto Serif JP", serif);
  font-size: 14px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .fv-new {
    min-height: 620px;
  }

  .fv-new__inner {
    width: calc(100% - 64px);
  }

  .fv-new__copy {
    max-width: 52vw;
  }

  .fv-new__main {
    font-size: clamp(34px, 4vw, 48px);
  }

  .fv-new__action {
    width: min(370px, 43vw);
  }
}

@media (max-width: 767px) {
  .fv-new {
    height: 100svh;
    min-height: 620px;
    max-height: 900px;
  }

  .fv-new__picture img {
    object-position: center center;
  }

  .fv-new__shade {
    background:
      linear-gradient(180deg, rgba(255, 252, 249, 0.4) 0%, rgba(255, 250, 246, 0.03) 50%, rgba(63, 48, 52, 0.22) 100%),
      linear-gradient(90deg, rgba(255, 252, 249, 0.43) 0%, rgba(255, 250, 246, 0.08) 74%, rgba(255, 250, 246, 0) 100%);
  }

  .fv-new__inner {
    width: calc(100% - 36px);
  }

  .fv-new__logo {
    top: 22px;
    left: -42px;
    width: min(92vw, 360px);
  }

  .fv-new__copy {
    top: 59%;
    left: 0;
    max-width: calc(100vw - 36px);
    transform: translateY(-50%);
  }

  .fv-new__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20px -72px -20px -18px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0) 100%);
    filter: blur(10px);
    pointer-events: none;
  }

  .fv-new__copy h1 {
    letter-spacing: 0.035em;
    line-height: 1.5;
  }

  .fv-new__kicker {
    font-size: clamp(20px, 5.6vw, 24px);
  }

  .fv-new__main {
    margin-top: 0.3em;
    font-size: clamp(28px, 7.8vw, 33px);
    font-weight: 500;
    line-height: 1.18;
    white-space: nowrap;
  }

  .fv-new__mobile-break {
    display: initial;
  }

  .fv-new__action {
    right: 0;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 0;
    width: 100%;
    gap: 8px;
  }

  .fv-new__button {
    width: min(100%, 360px);
    min-height: 54px;
    padding: 11px 17px;
    gap: 0.52em;
    font-size: clamp(14px, 4vw, 17px);
    border-radius: 2px;
  }

  .fv-new__venue {
    gap: 7px;
    padding: 4px 10px;
  }

  .fv-new__venue img {
    width: 56px;
  }

  .fv-new__venue p {
    font-size: clamp(10px, 3vw, 12px);
  }

  .fv-new--squaregate .fv-new__venue p {
    font-size: 13px;
  }
}

@media (max-height: 680px) and (max-width: 767px) {
  .fv-new__logo {
    top: 14px;
    width: min(82vw, 320px);
  }

  .fv-new__copy {
    top: 56%;
  }

  .fv-new__action {
    bottom: 10px;
  }
}
