/* ============================================
   Facility Page
   ============================================ */

/* --------------------------------------------
   Section heading (shared pattern)
   -------------------------------------------- */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading__en {
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-navy);
  font-style: normal;
}

.section-heading__en em {
  color: var(--color-pink);
  font-style: normal;
}

.section-heading__ja {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

/* --------------------------------------------
   FC Tour Section
   -------------------------------------------- */
.fc-tour {
  padding: 40px 40px 0;
}

.fc-tour__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .fc-tour {
    padding: 60px 120px 0;
  }
}

/* --------------------------------------------
   FC Tour Hero
   -------------------------------------------- */
.fc-tour__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fc-tour__hero-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fc-tour__hero-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

/* Hero photos (two overlapping rectangular images) */
.fc-tour__hero-photos {
  position: relative;
  width: 100%;
  max-width: 323px;
  aspect-ratio: 323 / 277;
  margin: 0 auto;
  flex-shrink: 0;
}

.fc-tour__hero-photo {
  position: absolute;
  overflow: hidden;
  width: 99%;
  aspect-ratio: 4 / 3;
}

.fc-tour__hero-photo--back {
  top: 0;
  left: 0;
}

.fc-tour__hero-photo--front {
  bottom: 0;
  right: 0;
  z-index: 1;
}

.fc-tour__hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .fc-tour__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .fc-tour__hero-text {
    flex: 1;
    min-width: 0;
  }

  .fc-tour__hero-photos {
    max-width: 404px;
    aspect-ratio: 404 / 347;
    margin: 0;
  }
}

/* --------------------------------------------
   FC Table (floor overview)
   -------------------------------------------- */
.fc-table__row {
  display: flex;
}

.fc-table__label {
  flex-shrink: 0;
  width: 80px;
  padding: 12px 16px;
  background: var(--color-pink-bg);
  color: var(--color-pink);
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--color-pink);
  border-right: 1px solid var(--color-pink);
  border-bottom: 1px solid var(--color-pink);
}

.fc-table__value {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--color-pink);
  border-bottom: 1px solid var(--color-pink);
}

.fc-table__row:first-child .fc-table__label,
.fc-table__row:first-child .fc-table__value {
  border-top: 1px solid var(--color-pink);
}

@media (min-width: 769px) {
  .fc-table__label {
    width: 100px;
    padding: 12px 30px;
  }

  .fc-table__value {
    padding: 12px 30px;
  }
}

/* --------------------------------------------
   FC Block (subsection with diamond + h3)
   -------------------------------------------- */
.fc-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fc-block__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

.fc-block__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

.fc-block__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

/* --------------------------------------------
   FC Divider (dotted pink line via SVG)
   -------------------------------------------- */
.fc-divider {
  border: none;
  height: 2px;
  background: url('../images/facility/divider.svg') no-repeat center;
  background-size: 100% 2px;
  margin: 0;
}

/* --------------------------------------------
   FC Video
   -------------------------------------------- */
.fc-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.fc-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 769px) {
  .fc-video {
    width: 500px;
  }
}

/* --------------------------------------------
   FC Note & Highlight (utility)
   -------------------------------------------- */
.fc-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-pink);
}

.fc-highlight {
  font-weight: 700;
  color: var(--color-pink);
}

/* --------------------------------------------
   FC Guide Section (gradient background)
   -------------------------------------------- */
.fc-guide {
  padding: 80px 40px 60px;
  background: linear-gradient(to bottom, #fff, var(--color-pink-bg));
}

.fc-guide__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .fc-guide {
    padding: 100px 120px 60px;
  }
}

/* --------------------------------------------
   FC Floor (1F, 2F, 3F groups)
   -------------------------------------------- */
.fc-floor {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fc-floor__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-pink);
}

.fc-floor__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

/* --------------------------------------------
   FC Card (room detail card)
   -------------------------------------------- */
.fc-card {
  background: var(--color-white);
  border: 1px solid #cce8fe;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fc-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-pink);
}

.fc-card__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

/* Card content wrapper (text + photos) */
.fc-card__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fc-card__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.fc-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

/* --------------------------------------------
   FC Card Photos
   -------------------------------------------- */
.fc-card__photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 769px) {
  .fc-card__photos {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

/* --------------------------------------------
   FC Photo (rectangular image container)
   -------------------------------------------- */
.fc-photo {
  position: relative;
  width: 240px;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.fc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pink gradient overlay modifier */
.fc-photo--overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: linear-gradient(to bottom, #ffe3ec, transparent);
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}

/* Blur modifier */
.fc-photo--blur img {
  filter: blur(3px);
}

/* Photo labels (LDR rooms) */
.fc-photo__label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  line-height: 1.3;
  padding: 2px 16px;
  white-space: nowrap;
  z-index: 1;
}

.fc-photo__label--pink {
  background: var(--color-pink-bg);
  color: var(--color-pink);
}

.fc-photo__label--blue {
  background: #e6f0fa;
  color: #589dd8;
}

/* --------------------------------------------
   FC Cards Row (side-by-side layout on PC)
   -------------------------------------------- */
.fc-cards-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 769px) {
  .fc-cards-row {
    flex-direction: row;
  }

  .fc-cards-row .fc-card {
    flex: 1;
    min-width: 0;
  }
}
