@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap&subset=japanese');


/* CSS Document */

/*商品*/
 .is-tour {
	padding:10px;
}

.is-tour li {
	background-color:#fff;"
}
.ui-static-grid-lg-space-article-card {
        margin-top:20px;
    }

.card__imgTag {
          padding: 2px 8px;
          font-size: 12px;
          font-weight: bold;
          color: #fff;
          background-color: #697180;
        position: absolute;
          top: 0;
          right: 0;
          }

       &:empty {
            display: none;
}

 
 .ui-static-product-card[data-product-card-type=secondary] .ui-static-product-card-departure-arival-info {
        padding:0 14px;
	 width:51%;
    }

.product__list--point {
	background-color:#e90000;
	text-align:center;
	color:#fff;
	padding:3px;
	font-weight:bold;
	margin:10px 0 !important;
}

 .card__price--compact {
        display: block;
        font-size: 20px;
        color: #e90000;;
        font-weight: bold;
        word-break: auto-phrase;
      }

.card__calender,
      .product__list--notes {
        font-size: 12px;
        color: #697180;
      }


.ui-static-grid-item {
   height:100%;
	display:flex;
}

.ui-static-product-card .ui-static-product-card-inner {
    height:initial;
}


  .ui-static-product-card[data-product-card-type=secondary] .ui-static-product-card-label {
	  text-align:center;
}

.card__imgTag {
	display:none;
}

.ui-static-image-container img {
  height:initial;
	
}

.ui-static-product-card[data-product-card-type=secondary] .ui-static-product-card-label {
	position:static;
padding: 5px 8px;
	width: 100%;
    display: block; 
    box-sizing: border-box; 
    }

/* SP表示時のカード間の下余白追加 */
.ui-static-grid-item {
    margin-bottom: 20px;
}

/* 最後のカードのみ下余白を打ち消す指定 */
.ui-static-grid-item:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   SP版
   ========================================================================== */
.ui-static-section-wrapper {
    padding-top: 0 ;
    padding-bottom: 60px ;
}

/****セクション間隔****/
.ui-static-container-space-m {
  margin-top: 20px; 
  margin-bottom: 20px; 
}

/****MV****/

.ui-static-main-visual-bg-big {
    background-image: url("../img/main_sp.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
	aspect-ratio: 3 / 2;
	max-width: 100% !important;
    box-sizing: border-box !important;
	margin-bottom: 0 !important;
}

.ui-static-main-visual {
    position: relative;
    text-align: center;
    width: 100%;
	max-width: 100% !important;
    overflow: hidden;
}


.ui-static-main-visual-no-image {
    background: transparent;
}

/****コタキナバル説明（縦並び・1カラム構成）****/

.description-kotaki .ui-static-item-card-horizontal-reverse {
    display: flex !important;
    /* rowからcolumnに変更して縦並び化 */
    flex-direction: column !important; 
    align-items: flex-start !important;
    gap: 24px !important;
    background-color: transparent !important;
    border: none !important;
    width: 100% !important;
}

/* テキストエリア */
.description-kotaki .ui-static-item-card-details {
    display: flex !important;
    flex-direction: column !important;
    /* 幅を100%に変更 */
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: none !important;
}

/* 地図エリア */
.description-kotaki .ui-static-image-container {
    /* 幅を100%に変更 */
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* 地図画像 */
.description-kotaki .ui-static-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.description-kotaki .ui-static-image img {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
}

/* 見出し・サブタイトル（ここから下の装飾設定は維持） */
.description-kotaki h2.font-normal {
    font-weight: bold !important;
    text-align: center !important;
    padding-top: 30px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    display: block !important;
}

.description-kotaki .ui-static-heading-subtitle {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    text-align: center !important;
    font-weight: bold !important;
	margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 魅力マップ */
.description-kotaki .ui-static-content-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
    display: block !important;
}

.description-kotaki .ui-static-content-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 説明文テキスト */
h2.ui-static-heading.ui-static-heading-size-huge.ui-static-heading-left.ui-static-heading-with-subtitle-top {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.description-kotaki .ui-static-text-black {
    text-align: left !important;
    line-height: 1.8 !important;
    margin-bottom: 0 !important;
}


/****スケジュール表（SP用：往路・復路を縦積み）****/

.flight-schedule {
	background-color: #f2f2f2;
	padding: 20px 0;
}

section.flight-schedule .layout-d {
    padding: 0 20px;
    box-sizing: border-box;
}

.flight-schedule .ui-static-table-table {
    background-color: #ffffff;
}

.ui-static-table-table thead th {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
}

.ui-static-table-table-wrapper {
    display: flex;
    flex-direction: column; /* 横並びから縦並びに変更 */
    gap: 24px;
    text-align: center;
}

 .flight-schedule .ui-static-table.ui-static-table-variant-basic .ui-static-table-table-wrapper .ui-static-table-table th, .ui-static-table.ui-static-table-variant-basic .ui-static-table-table-wrapper .ui-static-table-table td {
	flex: 1;
  　text-align: center;
}


.ui-static-text.ui-static-text-small {
    color: #000000;
}

.flight-schedule h2.ui-static-heading.ui-static-heading-size-huge.font-normal {
    font-weight: bold !important;
}

.flight-schedule .ui-static-heading-subtitle {
	white-space: nowrap !important;
}

/* 早割 */


.flight-image-container-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    row-gap: 0 !important;
  }

  /* 2. 画像コンテナ自体の上下余白をゼロにする */
  .flight-image-container-wrapper .flight-image-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 3. 既存の指定＋余白リセット */
  .flight-image-container .ui-static-container.ui-static-container-space-m {
    row-gap: 0rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* 4. PC用画像は非表示 */
  .flight-bonus-item .u-pc-only { 
    display: none !important; 
  }

  /* 5. 既存のSP用画像コンテナ指定 */
  .flight-bonus-item .u-sp-only {
    display: block !important;
    text-align: center !important;
    width: 100%;
	margin-top: 30px !important;
  }

  /* 6. 既存のSP用画像タグ指定 */
  .flight-bonus-item .u-sp-only img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }



/**** コタキナバルの楽しみ方 ****/

h2.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.color-green {
    margin-top: 20px ;
	margin-bottom: 0px ; 
    padding-top: 0 ;
	color: #2e7d32 ;
	font-size: 24px;
	font-weight:bold;
}

.ui-static-heading.ui-static-heading-size-medium.color-green.ui-static-heading-left.ui-static-heading-light-lg.ui-static-heading-bold.enjoy-kotaki {
	font-size: 20px;
	font-weight: bold;
	}

.layout-c {
    margin-top: 10px;
    margin-bottom: 80px;
}

.ui-static-item-card-details .ui-static-heading.ui-static-heading-size-medium.color-green {
    font-size: 32px;
	color: #2e7d32 !important;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 4px;
    padding-top: 0;
    padding-bottom: 0;
}

.ui-static-item-card-details .ui-static-item-card-description .font-normal {
    font-size: 14px;
	font-weight: normal;
    line-height: 1.5;
    color: #333333;
    margin-top: 0;
    padding-top: 0;
}

.ui-static-item-card-details.ui-static-container-space-xs {
    padding-top: 12px;
    padding-bottom: 8px;
}

.ui-static-grid-list {
    margin-top: 20;
}

/* サバ州インスタリンク */

.saba-image-container-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* 子要素を中央配置にする */
    gap: 0 !important;
    row-gap: 0 !important;
    width: 100% !important; /* コンテナが親を超えないように */
  }

/* ラッパーの中にある画像や子要素を枠内に収める */
.saba-image-container-wrapper img,
.saba-image-container-wrapper > * {
    max-width: 100% !important; /* セクション幅を絶対に突き抜けないようにする */
    height: auto !important;     /* 縦横比を崩さない */
}

 /* 4. PC用画像は非表示 */
  .saba-item .u-pc-only { 
    display: none !important; 
  }


/**** タブ（横長・3段縦積み版） ****/

.ui-static-tab-container {
    width: 100%;
    margin-top: 40px !important; 
    margin-bottom: 40px !important; 
}

/* ボタンリストを縦並び（3段縦積み）に変更 */
.ui-static-tab-button-list {
    display: flex !important; 
    flex-direction: column !important; /* 縦並び */
    align-items: stretch !important; /* 横幅いっぱいに広げる */
    gap: 10px !important; /* ボタン間の隙間 */
    padding-bottom: 0px !important; /* 三角形が不要なため余白をリセット */
    border-bottom: none !important;
}

.ui-static-tab-button {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important; /* 横長にするため幅100% */
    /* aspect-ratio: 1 / 1 !important; を削除（正方形解除） */
    max-width: 100% !important; /* 広がりすぎ防止を解除 */
    padding: 12px 10px !important; /* 横長に合わせてパディングを調整 */
    text-align: center;
    background-color: #ffffff;
    color: #2e7d32;
    border: 1px solid #2e7d32;
    border-radius: 4px;
    position: relative; 
    box-sizing: border-box !important;
    text-decoration: none !important;
}

/* アクティブ時の色 */
.ui-static-tab-button.is-active {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
}

/* 三角形（吹き出し）を非表示にする */
.ui-static-tab-button.is-active::after {
    display: none !important; /* 非表示 */
}

/* サブタイトル：サイズ調整 */
.ui-static-tab-button .sub {
    display: block;
    font-size: 12px !important; 
    margin-bottom: 4px;
    font-weight: 700 !important;
    line-height: 1.2;
}

/* メインタイトル：サイズ調整 */
.ui-static-tab-button .main {
    display: block;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-all; /* 改行を許容 */
}

.ui-static-tab-content-item.is-active {
    display: block !important;
    margin-top: 10px; 
}

/* タブボタン内の不要なbefore/afterを完全にリセット */
.ui-static-tab-button::before {
    display: none !important;
    content: none !important;
}


/****タブ内コンテンツ****/

/****タブ１見出し****/
h2.ui-static-heading.ui-static-heading-size-huge.font-normal.tab-1-heading {
    font-weight: bold !important;
    font-size: 24px !important;
    color: #2e7d32 !important;
    margin-top: 40px !important;
    margin-bottom: 0px !important;
    padding-top: 0 !important;
    text-align: center;
    align-items: center;
    position: static !important; 
    display: flex !important;
    flex-direction: column-reverse !important;
}

/* サブタイトル */
section.tab-1 span.ui-static-heading-subtitle {
    display: block !important;
    position: static !important;
    transform: none !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    font-weight: bold;
}

/* 人気No.1を強調 */
section.tab-1 .highlight-text {
	font-weight: bold;
	font-size: 13px;
	color: #342715;
	background: linear-gradient(transparent 55%, #fcdf52 55%);
	padding: 0px 0px 0px 2px;
}

/****リスト全体****/
.ui-static-grid-list.ui-static-grid-col-1.ui-static-grid-space-01 {
	margin-top:40px
}

/* --- カードの囲い（デザイン・色は維持） --- */
.layout-e .ui-static-item-card {
    display: block !important;
    border: 1px solid #2e7d32; 
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px; 
    background-color: #ffffff;
    min-height: 0 !important;
}

/* --- 上側：画像エリア --- */
.layout-e .ui-static-image {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    padding: 8px;
    margin-bottom: 0 !important;
}

.layout-e .ui-static-image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 2px;
    overflow: hidden;
}

.layout-e .ui-static-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* --- 下側：テキスト詳細エリア --- */
.layout-e .ui-static-item-card-details {
    display: block !important;
    width: 100% !important;
    padding: 15px 20px 20px 20px !important;
    text-align: left;
}

/* --- カード内見出し（色・フォント設定を維持） --- */
.layout-e .ui-static-item-card-details h3.ui-static-heading {
    display: flex !important;
    align-items: baseline;
    gap: 8px;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    color: #2e7d32;
    font-size: 20px !important;
    font-weight: 600 !important;
	display: flex !important;
    flex-direction: column !important; /* 縦積みに変更 */
    align-items: flex-start !important;
}

/* 世界遺産アイコン --- */
.world_heritage-icon {
    width: auto;
    height: 20px;
    flex-shrink: 0;
    position: relative;
    top: 2px;
}


/* --- カード内説明文（フォント設定を維持） --- */
.layout-e .ui-static-item-card-description {
    margin: 0;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6;
    color: #333333;
    text-align: left;
    display: block;
}


/* 食事エリア */

.meal-banner-container {
  margin-top: 0px;
  padding: 0px;
  width: 100%;
}

.meal-banner-bar {
  background-color: #f24501;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 0px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.meal-banner-subtext {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  color: #333333;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.5;
}


/* --- 2つ目のタブ専用のデザイン指定 --- */

/* タブ2の大見出し */
.tab-2-heading {
    color: #2176ba !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    padding-top: 0 !important;
    text-align: center;
	font-size: 24px;
	font-weight:bold;
}

/* キナバル公園とポーリン温泉(オレンジ枠） */
.enjoy-kotakinabalu .ui-static-item-card-full-width {
    border-color: #2176ba !important;
}

/* グリッド親要素 */
.tab-item-style-02 .ui-static-grid-list {
    display: block !important;
}

.tab-item-style-02 .ui-static-image-badge {
	background-color: #2176ba !important;
}	

/* カード本体 */
.tab-item-style-02 .ui-static-item-card:nth-child(n+2) {
    width: 100% !important; 
    flex: none !important;
    border: 1px solid #2176ba !important;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: block !important;
    margin-bottom: 24px !important;
}

/* 画像エリア */
.tab-item-style-02 .ui-static-item-card:nth-child(n+2) .ui-static-image {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 15px 0 15px !important;
    margin-bottom: 0 !important;
    aspect-ratio: auto !important; 
    height: auto !important;
    min-height: 0 !important;
    
    display: block !important;
    background: transparent !important;
}

/* テキストエリア */
.tab-item-style-02 .ui-static-item-card:nth-child(n+2) .ui-static-item-card-details {
    width: 100% !important;
    padding: 10px 15px 20px 15px !important; /* 下側のパディングを調整 */
    display: block !important;
}

/* 文字色・サイズ（変更なし） */
.layout-e.tab-item-style-02 .ui-static-item-card-details h3.ui-static-heading {
    color: #2176ba !important;
    font-size: 20px !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    text-align: left !important;
	display: flex !important;
    flex-direction: column !important; /* 縦積みに変更 */
    align-items: flex-start !important;
}

.tab-item-style-02 .ui-static-item-card-description {
    color: #333333 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left !important;
}

.tab-item-style-02 .ui-static-image-container {
    width: 100% !important;
    height: auto !important;
    position: static !important;
}

/* 画像自体のフィット設定 */
.tab-item-style-02 .ui-static-image-container img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* --- ２つから選べるオプショナルツアー --- */

/* 見出し（ブルー） */
.tab-2-heading.color-blue {
    color: #2176ba !important;
    margin: 40px 0 30px !important;
    text-align: center;
	font-size: 24px;
	font-weight:bold;
}

/* 1. グリッド親要素 */
.tab-item-style-03 .ui-static-grid-list {
    display: block !important;
    width: 100% !important;
}

/* 2. カード本体 */
.layout-e.tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width {
    width: 100% !important;
    flex: none !important;
    display: block !important; /* flex-direction: row を解除 */
    border: 1px solid #2176ba !important;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px !important;
}

/* 3. 上側：画像エリア（バッジと画像を含むエリア） */
.tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width .ui-static-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 15px 0 15px !important;
    height: auto !important;
    background: none !important;
}

/* バッジ（プランA/B） */
.ui-static-image-badge {
    display: block !important;
    width: 100% !important;
    background-color: #2176ba !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 0;
    margin-bottom: 12px !important;
    border-radius: 50px;
}

/* 4. 画像コンテナ（バッジの下に配置） */
.tab-item-style-03 .ui-static-image-container {
    width: 100% !important;
    position: relative !important;
    height: 0 !important;
    padding-top: 60% !important;
    overflow: hidden !important;
    border-radius: 2px;
    margin-bottom: 0 !important;
}

.tab-item-style-03 .ui-static-image-container img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 5. 下側：テキスト詳細エリア */
.tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width .ui-static-item-card-details {
    display: block !important;
    width: 100% !important;
    padding: 15px 20px 20px 20px !important; 
}

/* テキストスタイル（色・サイズ維持） */
.layout-e.tab-item-style-03 .ui-static-item-card-details h3.ui-static-heading {
    color: #2176ba !important;
    font-size: 20px !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    display: block !important;
}

.tab-item-style-03 .ui-static-item-card-description {
    color: #333333 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin: 0 !important;
}

/* --- 3つ目のタブ専用のデザイン指定 --- */

h2.tab-3-heading {
    font-weight: bold !important;
    font-size: 28px !important;
    color: #f14300 !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    padding-top: 0 !important;
    text-align: center;
    align-items: center;
    position: static !important; 
    display: flex !important;
    flex-direction: column-reverse !important;
}

/* コンテナ全体（オレンジ背景） */
  .family_sale {
    background-color: #fff5e5;
    padding: 10px;
  }

  /* 内枠（グリーンの点線） */
  .family_sale_inner {
    border: 2px dashed #f14300;
    padding: 15px 15px 100px 15px; /* SP用に余白を少しタイトに */
    display: block; /* 左右並びを解除して縦積みに */
    position: relative; /* 画像を配置する基準点 */
  }

  /* テキストエリア */
  .family_sale_content {
    z-index: 2;
    position: relative;
  }

  /* タイトル */
  .family_sale_title {
    font-size: 17px;
    color: #f14300;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-align: center; /* タイトルを中央寄せに */
    display: block;
  }

  /* 特典リスト */
  .family_sale_list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* 各行の基本スタイル：ラベルとテキストが縦に積まれるように設定 */
  .family_sale_item {
    display: flex;
    flex-wrap: wrap; /* 幅が狭いときに自動で折り返すように変更 */
    align-items: center;
    margin-bottom: 12px; /* 行間の余白 */
  }

  /* ①ラベル（背景色付き・白文字） */
  .family_sale_item .benefit_label {
    background-color: #6c6b6b;
    color: #fff;
    font-size: 14px; /* SPサイズに調整 */
    font-weight: bold;
    padding: 2px 6px;
    margin-bottom: 4px; /* 下のテキストとの隙間 */
    display: inline-block;
    flex-basis: auto !important;
    width: fit-content; /* 文字幅に合わせる */
  }

  /* ②つなぎテキスト */
  .family_sale_item .benefit_text {
    font-size: 14px; /* SPサイズに調整 */
    color: #333;
    font-weight: bold;
    display: inline;
  }

  /* ③価格・値引き額 */
  .family_sale_item .benefit_price {
    font-size: 16px;
    color: #f50c00;
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fff60c 60%);
    display: inline-flex;
    align-items: baseline;
  }
  .family_sale_item .benefit_price .num {
    font-size: 24px; /* 金額を目立たせるサイズ */
  }

  /* --------------------------------------------------
     各行（li）の個別設定
     -------------------------------------------------- */

  /* 3行目（幼児）の価格位置微調整 */
  .family_sale_item:nth-child(3) .benefit_price {
    margin-left: 2px;
  }

  /* 4行目（3世代旅行）専用：改行禁止を解除し、テキストと下揃えにする */
  .family_sale_item:nth-child(4) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
  }
  .family_sale_item:nth-child(4) > span,
  .family_sale_item:nth-child(4) > .benefit_price {
    flex-shrink: inherit !important;
  }

  /* 3世代旅行の「（1グループあたり）」指定 */
  .family_sale_item .benefit_subtext {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-left: 5px;
    display: inline-block;
  }

  /* 5行目専用：「さらに通常5,000円〜」行全体を縦積みに */
  .family_sale_item:last-child {
    display: block !important;
    margin-top: 15px;
    margin-bottom: 0 !important;
  }

  /* 5行目：文言のサイズ調整 */
  .family_sale_item:last-child .benefit_text:first-child {
    font-size: 13px;
    display: block;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 4px;
  }

  /* 5行目：「追加代金不要で並び席アレンジ」 */
  .benefit_label2.animate_label {
    background: none !important;
    font-size: 14px;
    color: #f14300;
    font-weight: bold;
    padding: 0;
    display: inline;
  }

  /* 5行目：「をご用意♪」 */
  .family_sale_item:last-child .benefit_text:last-child {
    font-size: 13px;
    display: inline;
  }

  /* --------------------------------------------------
     右側：イラスト画像の配置設定
     -------------------------------------------------- */
  .family_sale_image {
    position: absolute;
    right: 10px;
    bottom: 15px; /* 幼児・3世代の行の右側あたりに来るよう調整 */
    margin-left: 0;
    z-index: 1;
    pointer-events: none; /* テキスト選択などの邪魔をしないように */
  }

  .family_sale_image img {
    max-width: 130px; /* SPの画面幅に合わせて画像を縮小 */
    height: auto;
    display: block;
    opacity: 0.9; /* テキストの視認性を担保するため、必要に応じて */
  }

  /* 下部のオプショナルツアー用の簡易SP調整（必要に応じて） */
  .ui-static-grid-list {
    display: block;
  }
  .ui-static-item-card-half-width {
    width: 100% !important;
    margin-bottom: 20px;
  }

/* --- ３つめタブ ツアーカード --- */


/* 見出し（ブラウン） */
.tab-3-heading.color-brown {
    color: #f14300 !important;
    margin: 40px 0 50px !important;
    text-align: center;
    font-weight: bold;
}

/* 1. グリッド親要素（3列の横並びへ変更） */
section.family .tab-item-style-03 .ui-static-grid-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* 2. カード本体（縦並びの構成へ変更） */
section.family .layout-e.tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width {
    width: 100% !important;
    flex: none !important;
    border: 1px solid #f14300 !important;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex !important;
    flex-direction: column !important; /* 横並びから縦並びに変更 */
    overflow: hidden;
    gap: 0 !important;
    margin-bottom: 24px !important;
}

/* 画像エリア（横幅を100%にし、カード上部に配置） */
section.family .tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width .ui-static-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 15px !important;
    height: auto !important;
    background: none !important;
}

/* バッジ（プランA/B） */
section.family .ui-static-image-badge {
    display: block !important;
    width: 100% !important;
    background-color: #f14300 !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 0;
    margin-bottom: 8px !important;
    border-radius: 50px;
    flex-shrink: 0;
}

/* キナバル公園用のバッジ */
section.family .tab-item-style-02 .ui-static-image-badge {
    background-color: #f14300 !important;
    margin-bottom: 8px !important;
}

section.family .tab-item-style-02 .ui-static-image {
    flex-direction: column !important;
}

/* 4. 画像コンテナ（比率の維持設定） */
section.family .tab-item-style-03 .ui-static-image-container {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important; /* 縦積みで見栄えが良い3:2比率に固定 */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 2px;
}

section.family .tab-item-style-03 .ui-static-image-container img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* テキストエリア（余白を調整し、下部に配置） */
section.family .tab-item-style-03 .ui-static-item-card.ui-static-item-card-half-width .ui-static-item-card-details {
    padding: 0 15px 20px 15px !important; /* 左側の余白を15px確保 */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
}

/* テキストスタイル */
section.family .layout-e.tab-item-style-03 .ui-static-item-card-details h3.ui-static-heading {
    color: #f14300 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    text-align: left !important;
	display: flex !important;
    flex-direction: column !important; /* 縦積みに変更 */
    align-items: flex-start !important;
}

section.family .tab-item-style-03 .ui-static-item-card-description {
    color: #333333 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* スマホ対応（画面幅が狭いときは1列の縦並びにする設定） */
@media screen and (max-width: 768px) {
    section.family .tab-item-style-03 .ui-static-grid-list {
        grid-template-columns: 1fr !important;
    }
}



/****おすすめホテル****/

/* セクション背景 */
.hotel-section {
    background-color: #fffdf2 !important;
	padding: 20px 10px 10px 10px;
}

/* 見出し */
.hotel-section h2.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.ui-static-heading-with-icon.heading-hotel {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #f39800 !important;
    font-weight: bold !important;
}

.hotel-grid {
    display: block !important;
    padding: 10px;
}

/* カード本体（オレンジ枠） */
.hotel-card {
    width: 100% !important;
    flex: none !important;
    background-color: #ffffff;
    border: 2px solid #f39800 !important;
    border-radius: 4px;
    margin-bottom: 20px !important;
    display: block !important;
}

.hotel-content {
    padding: 20px !important; /* SP用に余白を少し調整 */
    display: block !important;
}

/* タグ（丸枠見出し） */
.tag {
    display: inline-block;
    border: 1px solid #f39800;
    color: #f39800;
    font-size: 11px; /* 少し縮小 */
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 4px;
}

/* ホテル名とアイコンのコンテナ（SP用調整） */
.hotel-header-container {
    display: flex;
    align-items: center; 
    gap: 10px;
    margin: 15px 0 !important;
    width: 100%;
}

.hotel-header-container .hotel-name {
    margin: 0 !important;
    font-size: 19px !important;
    flex: 0 1 auto;
}

.hotel-section h3.hotel-name {
	font-weight: bold !important;
	color: #f39800 !important;
}
	
	
/* ★ゴルフアイコンを枠内に収める修正★ */
.icon-box {
    position: relative;
    flex: 0 0 100px;
	min-width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
}

.golf-icon {
    position: static !important;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto !important;
}

/* キャッチコピー・説明文 */
.hotel-catch {
    font-weight: bold !important;
    color: #333333;
    font-size: 15px !important;
    margin-bottom: 10px !important;
}

.hotel-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333333;
    margin-bottom: 20px !important;
}


.hotel-images {
    display: flex !important;
    gap: 10px;
    margin-top: 15px;
}

.hotel-images .img-box {
    width: 50% !important;
	flex: 1;
    aspect-ratio: 4 / 3;
    margin-bottom: 0px;
    background-color: #dfedff;
    overflow: hidden;
    border-radius: 2px;
}

.hotel-images .img-box:last-child {
    margin-bottom: 0;
}

.hotel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/****おすすめツアー****/



section.tour h2.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.ui-static-heading-with-icon.heading-tour {
	color:#333333;
	font-weight:bold !important;
	margin-top: 40px;
	margin-bottom: 10px;
}

.heading-tour-title{
	font-weight:bold;
}

.tour-section .ui-static-heading-subtitle {
	white-space: nowrap;
}	

.tour-section02 .ui-static-heading-subtitle {
	white-space: nowrap;
}	

.color-green {
	color:#f12a25;
}

.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.heading-tour-title.color-green {
 font-size: 20px;
 color:#2e7d32;
	}

/* --- セクション全体 --- */
.tour-section {
    background-color: #f4ffef;
    padding: 40px 10px 40px 10px;
}

/****ツアー見出し部分****/
.point-heading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
}

/****タグ****/

.tour-tag.size-small.color-purple {
	display: inline-block;
	border: 1px solid #2e7d32;
	color:#2e7d32;
	background-color:#FFFFFF;
	font-size: 16px;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 50px;
}

/****ツアー名見出し****/

.tour span.ui-static-heading-subtitle {
	margin-bottom: 20px;
}

h4.ui-static-heading.ui-static-heading-size-huge.ui-static-heading-left.ui-static-heading-with-subtitle-top {
	font-weight:bold;
	margin-top: 10px;
	margin-bottom: 0px;
	}

.tour .ui-static-container h4 p {
	margin-top: 20px;
	}

.tour span.ui-static-heading-subtitle {
	margin-bottom: 20px;
}

/****ツアーポイントリスト****/

/* 外側の枠 */
.point-list-wrapper {
  margin: 0 auto !important;
  width: 90%;
  padding: 0px 10px;
  background-color: #ffffff;
}

/* リスト全体 */
.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-item {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 5px;
  margin: 20px 5px 30px 5px;
  border-bottom: 2px dashed #50d528;
  border-bottom-weight:bold;
}

/* 画像コンテナ */
.point-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
　margin-right: 10px;
}

/* 画像 */
.point-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.point-text {
  margin-botton: 0px;
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  line-height: 1.5;
}

/* 商品カード下のボタン */

.ui-static-button.ui-static-button-secondary.ui-static-button-large.tour {
 margin: 0 auto;
 display: flex;
 justify-content: center;	
}

/* ２つめのツアー */

.tour-section02 {
    background-color: #fef4f2;
    padding: 40px 10px 40px 10px;
}

.point-item.color-green {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 5px;
  margin: 20px 5px 30px 5px;
  border-bottom: 2px dashed #d63384;
  border-bottom-weight:bold;
}

/* 画像コンテナ */
.point-icon.color-green {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
　margin-right: 10px;
}

/* 画像 */
.point-icon.color-green img {
  width: 100%;
  height: auto;
  display: block;
}

.tour-tag.size-small.color-green {
	display: inline-block;
	border: 1px solid #f12a25;
	color:#f12a25;
	background-color:#FFFFFF;
	font-size: 16px;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 50px;
}

/* 3つめのツアー(家族) */

.tour-section03 {
    background-color: #fff5e5;
    padding: 40px 10px 40px 10px;
}

section.tour03 .ui-static-heading-subtitle {
  white-space: nowrap;
}

.point-item.color-brown {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 5px;
  margin: 20px 5px 30px 5px;
  border-bottom: 2px dashed #f14300;
  border-bottom-weight:bold;
}

/* 画像コンテナ */
.point-icon.color-brown {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
　margin-right: 10px;
}

/* 画像 */
.point-icon.color-brown img {
  width: 100%;
  height: auto;
  display: block;
}

.tour-tag.size-small.color-brown {
	display: inline-block;
	border: 1px solid #f14300;
	color:#f14300;
	background-color:#FFFFFF;
	font-size: 16px;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 50px;
}


/****おすすめ特集****/
.tokusyuWrap {
 margin-top:80px;
}

.tokusyuWrap .title-section-category {
 text-align:center;
 font-size:28px;
 font-weight: bold;
}

.tokusyu, .reco-banner__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  box-sizing: border-box;
}

.reco-banner__item {
  width: calc(50% - 10px); 
  box-sizing: border-box;
}

.tokusyu li a, .reco-banner__link {
  display: block;
  box-shadow: 0px 0px 0px 1px #000;
  transition: opacity .4s;
}
.tokusyu li a:hover, .reco-banner__link:hover {
  box-shadow: 0px 0px 0px 2px #000;
  opacity: 0.6;
}
.tokusyu li img, .reco-banner__image {
  width: 100%;
}

/* --- 海外航空券＋ホテル --- */

/* 見出し部分 */
#airhtl h2.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.ui-static-heading-with-icon.heading-tour {
	color: #333333;
	font-weight: bold !important;
	margin-top: 60px;
	margin-bottom: 10px;
}

#airhtl .heading-tour-title {
	font-weight: bold;
}

#airhtl .color-blue {
	color: #1258af;
}

#airhtl h3.ui-static-heading.ui-static-heading-size-enormous.ui-static-heading-center.heading-tour-title.color-blue {
	font-size: 20px;
}

/* セクション全体 */
#airhtl .airhtl-section {
	background-color: #f4f8fe;
	padding: 40px 10px 40px 10px;
}

/* 見出し・タグ部分 */
#airhtl .point-heading-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: 0;
	margin-bottom: 10px;
}

#airhtl .tour-tag.size-small.color-blue {
	display: block;
	width: fit-content;
	border: 1px solid #1258af;
	color: #1258af;
	background-color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	padding: 2px 12px;
	border-radius: 50px;
	margin: 0 auto;
}

#airhtl h4.ui-static-heading.ui-static-heading-size-huge.ui-static-heading-left.ui-static-heading-with-subtitle-top {
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 0px;
}

/* ポイントリスト */
#airhtl .point-list-wrapper {
	margin: 0 auto !important;
	width: 90%;
	padding: 0px 20px;
	background-color: #ffffff;
}

#airhtl .point-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#airhtl .point-item {
	display: flex;
	align-items: center;
	padding: 5px 5px 5px 5px;
	margin: 20px 5px 30px 5px;
	border-bottom: 2px dashed #1258af;
}

#airhtl .point-icon {
	width: 35px;
	height: 35px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
}

#airhtl .point-icon img {
	width: 100%;
	height: auto;
	display: block;
}

#airhtl .point-text {
	margin-bottom: 0px;
	font-size: 16px;
	font-weight: bold;
	color: #333333;
	line-height: 1.5;
}

/*レスポンス対応（スマホ表示）*/
@media (max-width: 480px) {
	#airhtl .point-text {
		font-size: 14px;
	}
}

/* ボタン */
#airhtl .ui-static-button.ui-static-button-secondary.ui-static-button-large.tour {
	margin: 0 auto;
	display: flex;
	justify-content: center;	
}

/* 海外航空券＋ホテル 追加CSS */

.airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary-content,
#airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary-content {
	padding: 0 16px !important;
}

.airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary,
#airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary {
	gap: 1px !important;
}

/* --- カード内部の縦配置を揃える設定 --- */

/* カード全体を Flexbox にし、高さを統一 */
.ui-static-product-card,
.ui-static-product-card-inner,
.grid-col__link,
.lx_textBox {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

/* 上部グループ（タイトル・ポイントなど）: 上に寄せる */
.ui-static-product-card-title,
.product__list--point,
.heading--md,
.tagList {
	flex-shrink: 0;
}

/* 下部グループ（価格・燃油サーチャージ・注記など）: 自動で下揃え＋最低10pxの余白を確保 */
.ui-static-product-card-summary,
.text--smallPrice,
.tour_box {
	margin-top: auto !important;
	padding-top: 10px !important; /* ← 最低10pxの余白 */
}

/* 追加CSS箇所の調整 */
.airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary-content,
#airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary-content {
	padding: 0 16px !important;
}

.airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary,
#airhtl .airhtl-section .ui-static-product-card .ui-static-product-card-summary {
	gap: 1px !important;
	margin-top: auto !important;
	padding-top: 10px !important; /* ← 最低10pxの余白 */
}

/****SP用調整****/

.flight-schedule .ui-static-heading-size-huge {
    font-size: 24px;
}

.ui-static-container-space-m.hotel-section  {
        margin-top: 60px;
        margin-bottom: 0px;
    }

.hotel-section .ui-static-heading-size-enormous {
	    font-size: 28px;
}

.ui-static-container.ui-static-container-space-m {
	row-gap: 1.5rem;
}

.tour .ui-static-heading-size-enormous {
    line-height: 1.3;
    font-size: 28px;
}

.tour .ui-static-heading-size-huge {
    font-size: 24px;
}

body div.ui-static-container.tour-section02 div.point-heading-wrapper h4.ui-static-heading.ui-static-heading-size-huge.ui-static-heading-left.ui-static-heading-with-subtitle-top {
    font-size: 24px !important;
}

.ui-static-grid-lg-space-article-card {
        margin-top: 10px;
}

.airhtl .ui-static-heading-size-enormous {
    font-size: 28px;
}

.airhtl .ui-static-heading-size-huge {
    font-size: 23px;
}

/* airhtlセクション内のサブタイトル改行防止 */
#airhtl .ui-static-heading-subtitle {
    white-space: nowrap !important;
}