/* ==========================================================================
   メインビジュアル & 予約バナー

   対象: トップページのメインビジュアルセクション、予約バナー、
         レスポンシブ改行ユーティリティ (.tab_only, .sp_only)
   関連HTML: front-page.php / src/index.html
   ブレークポイント: 1024px以下 → タブレット、640px以下 → スマートフォン
   ========================================================================== */

.main-visual {
  background: #5c7780;
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.main-visual-content {
  max-width: 900px;
  margin: 0 auto;
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.divider-line span {
  font-size: 1rem;
  padding: 0 0 0 1rem;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 3.5em;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-family: var(--font-english);
}

.main-title-sub {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 0.5rem;
  opacity: 0.8;
  font-family: var(--font-japanese);
}

.description {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.stay-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2rem 0 0 0;
  letter-spacing: 0.15em;
}

/* Reservation Banner */
.reservation-banner {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.reservation-banner a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.banner-main-visual {
  height: 15rem;
  background: transparent;
}

.banner-border {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner-text {
  display: inline-block;
  background: rgba(70, 130, 180, 0.9);
  padding: 0.5rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1.8;
  text-align: center;
}

/* Utility classes for responsive line breaks */
.tab_only {
  display: none;
}

.sp_only {
  display: none;
}

/* Main Visual Responsive */
@media (max-width: 1024px) {
  .main-visual {
    padding: 3rem 1.5rem;
  }

  .main-visual-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .main-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .main-title-sub {
    font-size: 0.9rem;
  }

  .description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .divider-line span {
    padding: 0 0 0 3rem;
  }

  .stay-title {
    font-size: 1.5rem;
  }

  .reservation-banner {
    margin: 0;
    padding: 0;
  }

  .banner-main-visual {
    height: 12rem;
  }

  .banner-text {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .tab_only {
    display: block;
  }
}

@media (max-width: 640px) {
  .main-visual {
    padding: 3rem 1rem;
  }

  .main-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }

  .main-title-sub {
    font-size: 0.8rem;
  }

  .stay-title {
    font-size: 1.2rem;
  }

  .banner-main-visual {
    height: 10rem;
  }

  .banner-text {
    font-size: 0.9rem;
  }

  .sp_only {
    display: block;
  }
}
