@charset "utf-8";

/* --- 全体的なセクションの余白 --- */
.main {
  background-color: #FFFFFF;
}


/* headerArea */
#headerArea {
  position: relative;
}

.mv__header--wrapper {
  background: #f34f8a;
  color: #fff;
}

.mv__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: var(--default-width);
  height: min((120vw / 7.5), 120px);
  margin: 0 auto;
  font-size: min((24vw / 7.5), 24px);
  font-weight: 700;
  padding-bottom: min((8vw / 7.5), 8px);
}

.mv__header--bg--image {
  height: 31vw;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.mv__header--galaxy {
  text-align: center;
  line-height: 1;
}

.mv__header--galaxy--en {
  font-size: min((54vw /7.5), 62px);
  display: block;
}

.mv__header--galaxy--special {
  font-size: min((54vw /7.5), 62px);
  padding: min((18vw / 7.5), 18px) min((48vw / 7.5), 115px) 0 min((15vw / 7.5), 20px);
}

.mv__logo-image {
  width: 100%;
  height: auto;
  display: block;
}

.mv__logo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -51%);
  z-index: 10;
}

@media (max-width: 749px) {
  .mv__logo-wrapper {
    width: 90vw;
  }

  .mv__header--bg--image {
    height: 80vw;
  }

  .ui-static-heading-subtitle {
    line-height: 1.6rem;
  }
}

@media (min-width: 750px) {
  .mv__logo-wrapper {
    width: 38vw;
    transform: translate(-50%, -51%);
  }

  .mv__header--bg--image {
    height: 31vw;
  }

  .ui-static-heading-subtitle {
    font-size: 18px;
    line-height: 2rem;
  }

  #ranking-new-year h2,
  #warm-overseas h2,
  #long-stay h2,
  #short-vacation h2,
  #campaign-section h2,
  #coupon h2,
  #product h2 {
    font-size: 36px;
  }
}

/* mainArea */
#mainArea {
  font-weight: var(--default-fw);
}

/* --- ui-static-card-body のパディング --- */
/* PC/SP共通でカードの内部パディングを設定 */
.ui-static-card-body {
  border-radius: 8px;
  padding: 5%;
  background-color: #FFFFFF;
  position: relative;
}

/* --- ui-static-button のパディング --- */
/* PC/SP共通でボタンのパディングを設定 */
.ui-static-button {
  padding: 10px 30px;
  margin-bottom: 10px;

}
.ui-static-button1{
    padding: 16px 30px;
  margin: 20px 0; 
}

.ui-static-heading1 {
  font-weight: bold;
}

.ui-static-heading {
  color: #333333;
  font-weight: bold;

}

#text-new-year {
  background-color: #ba0e0c;
}

#text-new-year h1 {
  color: #FFFFFF;
}


.ui-static-heading_campaign {
  font-weight: bold;
  margin-bottom: 10px;
}

.ui-static-heading-subtitle {
  margin-top: 20px;
}

/* --- ranking-swiper の共通スタイル (PCデフォルト) --- */
.ranking-swiper .swiper-wrapper {
  display: flex;
      align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding-left: 0;
}

.ranking-swiper .swiper-slide {
  width: calc(33.333% - 13.333px);
  flex-shrink: 0;
  margin-right: 0 !important;
  box-sizing: border-box;
    height: auto;
}

/* PCではSwiperのナビゲーションとページネーションを非表示にする */
.ranking-swiper .swiper-button-prev,
.ranking-swiper .swiper-button-next,
.ranking-swiper .swiper-pagination {
  display: none;
}

/* --- 各カードの高さ揃え --- */
/* 全てのセクションのカードに適用 */
#ranking-new-year .ui-static-item-list-item,
#warm-overseas .ui-static-item-list-item,
#long-stay .ui-static-item-list-item,
#short-vacation .ui-static-item-list-item {
  height: 100%;
}

/*#warm-overseas,
#long-stay,
#short-vacation {
  background-color: #f9f4f2;
}*/


/* --- ui-static-card の見た目の調整 (枠線や影を追加) --- */
.ui-static-card-type-a {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  margin-right: 10px;
}

.ui-static-card-type-a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#ranking-new-year {
  background-color: #FFFFFF;
}

#ranking-new-year h2{
  background-color: #ba0e0c;
  color: #FFFFFF;
  padding: 20px 10px;
}

/* 写真風グリッドスライダーのコンテナスタイル */
.photo-grid-swiper {
  width: 100%;
  height: auto;
  margin: 40px auto 0;
  padding: 0 10px;
  /* 両端に余白を追加 */
}

/* スライド内の画像のスタイル */
.photo-grid-swiper .swiper-slide {
  background-color: #fff;
  /* 背景色を白にする */
  border: 10px solid #fff;
  /* 白い枠線（写真の縁） */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* ほんのり影をつける */
  padding: 0;
  border-radius: 4px;
}

#warm-overseas img {
  max-height: 204px;
  object-fit: cover;
}

#long-stay img {
  max-height: 204px;
  object-fit: cover;
}

#short-vacation img {
  max-height: 204px;
  object-fit: cover;
}

/*画像を丸くする */
#ranking-new-year .rounded-image {
  width: 35vw;
  height: 35vw;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
    max-width: 290px;
    max-height: 290px;
}

#ranking-new-year .ranking-info {
  align-items: baseline;
  /* ベースラインで揃える */
  justify-content: center;
  /* 中央揃え */
  gap: 10px;
  /* 数字と地名の間隔 */
  margin-bottom: 20px;
  /* 地名と説明文の間隔 */
}

#ranking-new-year .ranking-info .ranking-number {
  font-size: 2.5em;
  /* 数字のサイズを少し小さく */
  font-weight: bold;
  color: #E53935;
  line-height: 1;
  /* 行の高さを調整 */
}

#ranking-new-year .ranking-info .ranking-title {
  font-size: 1.5em;
  /* 地名のサイズを調整 */
  font-weight: bold;
  margin-bottom: 0;
  /* pタグのデフォルトマージンをリセット */
  line-height: 1;
  /* 行の高さを調整 */
}

/* ラベルを囲むコンテナのスタイル */
.ranking-labels {
  display: flex;
  /* 子要素を横並びにする */
  justify-content: center;
  /* 中央に配置 */
  gap: 8px;
  /* ラベル間のスペース */
  margin-top: 10px;
  /* タイトルとの間の余白 */
  margin-bottom: 10px;
  /* 説明文との間の余白 */
}

/* ラベル自体のスタイル */
.ranking-label {
  display: inline-block;
  /* パディングやマージンが効くようにする */
  background-color: #e0f2e8;
  /* 背景色（お好みの色に変更可） */
  color: #2e7d32;
  /* テキストの色（背景色に合わせて変更） */
  border: 1px solid #c8e6c9;
  /* ボーダーの色（背景色に合わせて変更） */
  border-radius: 2px;
  /* 角を丸くする */
  padding: 4px 10px;
  /* 内側の余白 */
  font-size: 12px;
  /* 文字サイズ */
  font-weight: 500;
  white-space: nowrap;
  /* テキストの折り返しを防ぐ */
}

/* --- テーマ別セクションのスタイル (#warm-overseas, #long-stay, #short-vacation) --- */
/* 数字と地名のヘッダー部分 */
.ranking-header {
  /* 共通クラスにすることで、テーマ別セクションに適用される */
  display: flex;
  /* 基本はFlexboxで、以下で個別調整 */
  align-items: baseline;
  justify-content: left;
  /* 今回のHTMLでranking-headerが残っている場合 */
  gap: 10px;
  margin-bottom: 15px;
}

.ranking-number {
  font-size: 0;
  /* 数字テキストを隠すために必要 */
  line-height: 0;
  /* 数字テキストを隠すために必要 */
  display: inline-block;
  /* widthとheightを適用するために必要 */
  width: 90px;
  /* ★ ここを画像の実際の幅に合わせて調整 ★ */
  height: 90px;
  /* ★ ここを画像の実際の高さに合わせて調整 ★ */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* 画像が要素内に収まるようにする */
  vertical-align: middle;
  /* 必要に応じて調整 */
  position: absolute;
  top: 10px;
  /* 上からの距離を調整 */
  left: -1px;
  /* 左からの距離を調整 */
  /* 必要に応じて z-index を設定して、他の要素の上に表示されるようにする */
  z-index: 10;
}

/* 各ランキング番号に対応する画像 */
.ranking-number-1 {
  background-image: url('../img/ranking1.webp');
  /* 1位の画像パス */
}

.ranking-number-2 {
  background-image: url('../img/ranking2.webp');
  /* 2位の画像パス */
}

.ranking-number-3 {
  background-image: url('../img/ranking3.webp');
  /* 3位の画像パス */
}

/* テーマ別のセクションでは数字を非表示にし、タイトルをブロック要素にする */
#warm-overseas .ranking-header,
#long-stay .ranking-header,
#short-vacation .ranking-header {
  display: block;
  /* Flexboxを解除してブロック要素に戻す */
  margin-bottom: 0;
  /* 不要な余白をリセット */
}

#warm-overseas .ranking-number,
#long-stay .ranking-number,
#short-vacation .ranking-number {
  display: none;
  /* 数字を非表示 */
}

#warm-overseas .ranking-title,
#long-stay .ranking-title,
#short-vacation .ranking-title {
  font-size: 1.5em;
  /* タイトルのサイズ */
  font-weight: bold;
  margin-top: 10px;
  /* 画像とタイトル間の余白 */
  margin-bottom: 15px;
  /* タイトルと説明文間の余白 */
  line-height: 1.2;
  /* 行の高さを調整 */
}


/* --- ページ内ナビゲーションのスタイル --- */
.theme-nav-list {
  list-style: none;
  padding-left: 0;
}

.theme-nav-list .ui-static-button {
  min-width: 120px;
  /* ボタンの最小幅を確保して揃える */
  text-align: center;
}

.ui-static-section-wrapper {
  padding: 30px 0px;
}
/* --- 画面幅が768px以下の場合 (スマートフォン) --- */
@media (min-width: 750px) and (max-width: 1024px) {

  /* Swiperを有効化するためのCSS */
  .ui-static-section-wrapper {
    padding: 20px 10px;
  }
 .ranking-swiper .swiper-slide {
        width: 69% !important;
        margin-bottom: 15px;
        }
.ranking-swiper .swiper-wrapper{
              justify-content: center;

}
  #ranking-number {
      left: 45px;
  }
  #warm-overseas img {
  max-height: 304px;
  object-fit: cover;
}

#long-stay img {
  max-height: 304px;
  object-fit: cover;
}

#short-vacation img {
  max-height: 304px;
  object-fit: cover;
}
}
/* --- 画面幅が768px以下の場合 (スマートフォン) --- */
@media (max-width: 749px) {

  /* Swiperを有効化するためのCSS */
  .ui-static-section-wrapper {
    padding: 20px 20px;
  }
  .ui-static-button1{
    padding: 16px 30px;
  margin: 10px 0; 
}

  .ranking-swiper.swiper-initialized .swiper-wrapper {
    display: flex;
    /* SwiperがFlexboxを使うため */
    flex-wrap: nowrap;
    /* 折り返しを無効にする */
  }

  #ranking-new-year .rounded-image {
    width: 70vw;
    height: 70vw;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
  }

  .ranking-swiper .swiper-slide {
    width: 89% !important;
    /* スライド幅を調整（必要に応じて） */
    margin-right: 20px;
    /* スライド間の余白 */
  }

  .ranking-swiper .swiper-button-prev,
  .ranking-swiper .swiper-button-next,
  .ranking-swiper .swiper-pagination {
    display: block;
    /* SPで表示 */
    margin-bottom: 10px;
  }

  /* Swiperのボタンとページネーションの調整 (JCOMのデザインシステムに合わせて) */
  .swiper-button-prev,
  .swiper-button-next {
    color: #697180;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }


  /* Swiperコンテナ全体の左右パディング (任意) */
  .ranking-swiper {
    padding: 0 20px;
    /* スライドが端にくっつかないように左右に余白 */
  }

  /* ナビゲーションボタンのSP調整 */
  .theme-nav-list {
    justify-content: flex-start;
    padding: 0 10px;
  }

  .theme-nav-list li {
    flex: 1 1 auto;
    margin-bottom: 10px;
  }

  #warm-overseas img {
    max-height: 180px;
    object-fit: cover;
  }

  #long-stay img {
    max-height: 180px;
    object-fit: cover;
  }

  #short-vacation img {
    max-height: 155px;
    object-fit: cover;
  }
}
@media (max-width: 370px) {
  .ranking-labels {
  flex-direction: column;
}
}

/* 特典リストのコンテナ */
#campaign-section {
  background-color: #ffffff;
}
#campaign-section h2{
  color:#2c2a52;

}

.campaign-items {
  padding: 2%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}


/* 各特典アイテムのスタイル（クリック可能な要素） */
.campaign-item {
  flex: 1 1 300px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  text-align: center;
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}


.campaign-item-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px;
  text-decoration: none;
}

.ranking-labels {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ranking-label {
  display: inline-block;
  background-color: #e0f2e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.campaign-item-image-small img {
  width: 50%;
  height: auto;
  border-radius: 8px;
}

.campaign-highlight {
  display: inline-block;
  /* パディングとボーダーを適用するために必要 */
  border: 1px solid #7dc4c9;
  /* 四角の枠線（色はお好みに合わせて変更してください） */
  padding: 4px 8px;
  /* 枠内の余白 */
  border-radius: 4px;
  /* 角を少し丸くする */
  margin-bottom: 5px;
  /* 下の要素との間に少し余白を作る */
}

/* スマートフォン向けのスタイル (縦並び) */
@media (max-width: 600px) {
  .campaign-items {
    flex-direction: column;
    max-width: 310px;
    margin: 0 auto;
    font-size: 4vw;
  }

  .campaign-item {
    flex: 1 1 300px;
  }
}


.campaign-info-text {
  text-align: center;
  padding: 10px 0;
  line-height: 1.5rem;
}


/* ポップアップの内容コンテナ */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.modal-content p {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-content .campaign-item-image {
  text-align: center;
}

.modal-content .campaign-item-image img {
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
.campaign-info-text {
  text-align: left;
  }

}

/* ポップアップの内容コンテナ */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  /* より強い影に */
}

/* 下部のボタンエリアのスタイル */
.modal-button-area {
  text-align: center;
  margin-top: 20px;
}

/* 下部のボタンのスタイル */
.modal-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #007bff;
  /* ボタンの色 */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.modal-action-button-text {
  margin-right: 8px;
}

.modal-action-button i {
  font-size: 24px;
}

/* 「詳細はこちら」のリンクスタイルを調整 */
.campaign-more-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  position: absolute;
  bottom: 10px;
  /* 下端からの距離 */
  right: 10px;
  /* 右端からの距離 */
  margin: 0;
  /* 元のCSSにある margin-top: 15px; は不要になるので削除します */
}

.campaign-more-link i {
  font-size: 32px;
  /* 矢印アイコンを大きく */
  color: #888;
  /* 矢印の色 */
  transition: transform 0.3s ease, color 0.3s ease;
  /* ホバー時のアニメーション */
  margin-left: 0;
  /* 左寄せにするためマージンをリセット */
}


.campaign-text {
  text-align: left;
  padding: 2%;
}
.campaign-text1{
 padding: 0 2%;
}

/* Breakpoint SP */
.br-sp {
  display: none;
}

.small {
  font-size: 10px;
  padding-left: 2px;
}
.small {
  font-size: 13px;
  padding-left: 4px;
}
@media (max-width: 500px) {
  .br-sp {
    display: block;
  }

  .small_sp {
    font-size: 19px;
  }
  .small {
  padding-left: 0px;
}
}


.coupon__copy-message {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  color: green;
  font-weight: bold;
}


.ui-static-accordion-trigger:hover{
  background-color: #2c2a52;
  color: #FFFFFF;
}
.ui-static-accordion-trigger{
  text-decoration: none;
    font-size: 30px;
    color: #FFFFFF;
}
.ui-static-accordion{
  margin: 20px auto;
}

.couponbutton{
text-align: center;
}

.button1{
background-color: #007aff;
border-color:#333333;
color: #FFFFFF;

}
.button2{
background-color: #2e7d32;
color: #FFFFFF;
border-color:#333333;
}
.ui-static-accordion-trigger{
background: #2c2a52;
  color: #FFFFFF;

}

.ui-static-icon-color-gray{
    color: #FFFFFF;

}

.ui-static-accordion-trigger .ui-static-accordion-text{
  color: #FFFFFF;
  text-decoration: none;
}
.ui-static-accordion-trigger:hover .ui-static-accordion-text, .ui-static-accordion-trigger:hover .ui-static-icon{
  color: #FFFFFF;
}
#coupon{
      margin-bottom: 40px;
}