@charset "UTF-8";
body {
  --swl-font_family: "Noto Sans JP", sans-serif;
}

.post_content > h2 {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
}

.br-sp {
  display: none;
}
@media (max-width: 599px) {
  .br-sp {
    display: block;
  }
}

@media (max-width: 599px) {
  .br-pc {
    display: none;
  }
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(50px);
          transform: translateY(50px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.fade-in-up.appear {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  -webkit-transform: translateX(50px);
          transform: translateX(50px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.fade-in-left.appear {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  -webkit-transform: translateX(-50px);
          transform: translateX(-50px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.fade-in-right.appear {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.fade-in-down {
  opacity: 0;
  -webkit-transform: translateY(-50px);
          transform: translateY(-50px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.fade-in-down.appear {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.th-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.th-btn:hover {
  text-decoration: none;
  opacity: 0.8;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
}
.th-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
@media (max-width: 599px) {
  .th-btn--sm {
    padding: 0.5rem 0.75rem;
  }
}
.th-btn--primary {
  border-color: #a91b47;
  background-color: #a91b47;
  color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(169, 27, 71, 0.3);
          box-shadow: 0 4px 15px rgba(169, 27, 71, 0.3);
}
.th-btn--primary:hover {
  color: #fff;
  -webkit-box-shadow: 0 6px 20px rgba(169, 27, 71, 0.4);
          box-shadow: 0 6px 20px rgba(169, 27, 71, 0.4);
}
.th-btn--outline {
  border-color: #a91b47;
  background-color: transparent;
  color: #a91b47;
}
.th-btn--outline:hover {
  background-color: #a91b47;
  color: #fff;
  opacity: 1;
  -webkit-box-shadow: 0 4px 15px rgba(169, 27, 71, 0.2);
          box-shadow: 0 4px 15px rgba(169, 27, 71, 0.2);
}

.th-sechd {
  margin: 0 0 2rem;
}
.th-sechd--h3 {
  margin: 2.5rem 0 1.25rem;
}

.th-zoombadge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.9rem;
  pointer-events: none;
}

/**
 * クリックで開く（拡大する）画像リンク（共通要素）。
 * 右下の拡大／外部リンクバッジは共通 .th-zoombadge（element/_th-zoombadge.scss）を入れる。
 * 客船詳細のデッキプラン画像・船内新聞の紙面画像で共用。
 */
.th-imglink {
  position: relative;
  display: block;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  overflow: hidden;
  -webkit-transition: -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease, -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
}
.th-imglink img {
  display: block;
  width: 100%;
  height: auto;
}

.th-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
}
.th-table th,
.th-table td {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
}
@media (max-width: 599px) {
  .th-table th,
  .th-table td {
    font-size: 0.9rem;
  }
}
.th-table th {
  width: 30%;
  background: #f2eee5;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 599px) {
  .th-table th {
    width: 36%;
    white-space: normal;
  }
}
.th-table a {
  color: #a91b47;
  text-decoration: underline;
}

/**
 * 選択肢リスト（.th-optlist）＝チェックボックス／ラジオを**全部並べて見せる**ための一覧。
 * 詳細検索ページ（/cruise-search/）で使用。プルダウン（.th-dropdown）と違い、開かずに全項目が見える。
 * 項目が多い場合（16件以上）はテンプレート側が `--scroll` を付け、枠内スクロール＋絞り込み入力にする。
 */
.th-optlist {
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: #fff;
}
.th-optlist__filter {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}
.th-optlist__filter-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #f9f9f9;
  color: #333;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
}
.th-optlist__filter-input:focus {
  outline: none;
  border-color: #a91b47;
  background: #fff;
}
.th-optlist__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem;
}
.th-optlist--scroll .th-optlist__body {
  max-height: 17rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 51, 51, 0.25) transparent;
}
.th-optlist--scroll .th-optlist__body::-webkit-scrollbar {
  width: 8px;
}
.th-optlist--scroll .th-optlist__body::-webkit-scrollbar-track {
  margin: 0.35rem 0;
  background: transparent;
}
.th-optlist--scroll .th-optlist__body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.22);
  background-clip: content-box;
}
.th-optlist__group {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  margin: 0.5rem 0 0.15rem;
  color: #666;
  font-size: 0.75rem;
  font-weight: 700;
}
.th-optlist__group:first-child {
  margin-top: 0;
}
.th-optlist__item {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.35rem;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.th-optlist__item:hover {
  background: #fdfbf8;
}
.th-optlist__item input {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin: 0;
  accent-color: #a91b47;
}
.th-optlist__item[hidden] {
  display: none;
}
.th-optlist__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}
.th-optlist__sub {
  color: #666;
  font-size: 0.75rem;
}
.th-optlist__noresult, .th-optlist__empty {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  padding: 0.5rem;
  color: #666;
  font-size: 0.85rem;
}
.th-optlist__noresult[hidden], .th-optlist__empty[hidden] {
  display: none;
}
.th-optlist {
  /* ── アコーディオン表示（国名ごとに折りたたむ。詳細検索の「寄港地」）── */
}
.th-optlist--acc .th-optlist__accbody {
  max-height: 26rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 51, 51, 0.25) transparent;
}
.th-optlist--acc .th-optlist__accbody::-webkit-scrollbar {
  width: 8px;
}
.th-optlist--acc .th-optlist__accbody::-webkit-scrollbar-track {
  margin: 0.35rem 0;
  background: transparent;
}
.th-optlist--acc .th-optlist__accbody::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.22);
  background-clip: content-box;
}
.th-optlist__acc-group {
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
}
.th-optlist__acc-group.is-selected > .th-optlist__acc-head {
  background: rgba(169, 27, 71, 0.05);
}
.th-optlist__acc-group.is-selected > .th-optlist__acc-head .th-optlist__acc-name {
  color: #a91b47;
}
.th-optlist__acc-group:last-of-type {
  border-bottom: none;
}
.th-optlist__acc-group[hidden] {
  display: none;
}
.th-optlist__acc-group[open] > .th-optlist__acc-head .th-optlist__acc-caret {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.th-optlist__acc-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  list-style: none;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.th-optlist__acc-head::-webkit-details-marker {
  display: none;
}
.th-optlist__acc-head:hover {
  background: #fdfbf8;
}
.th-optlist__acc-name {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  color: #333;
  font-size: 0.9rem;
  font-weight: 700;
}
.th-optlist__acc-meta {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #f2eee5;
  color: #666;
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: nowrap;
}
.th-optlist__acc-selected {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(169, 27, 71, 0.1);
  color: #a91b47;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.th-optlist__acc-caret {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-left: auto;
  color: #666;
  font-size: 0.75rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

/**
 * 詳細ページのタイトル帯（tour・cs 共通）。bg-color-alt のフルブリード帯＋タイトル。
 * 帯内のサブキャッチ（tour __subtitle）・会社リンク（cs __company-link）・タグ等は
 * 各テンプレート側のクラスで置く（このコンポーネントは帯と見出しのみ担当）。
 */
.th-pagehead {
  position: relative;
  padding: 2rem 0;
  margin-top: -4rem;
  margin-bottom: 2rem;
}
@media (max-width: 599px) {
  .th-pagehead {
    margin-top: -2rem;
    padding: 1rem 0;
  }
}
.th-pagehead::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 calc(50% - 50vw);
  background-color: #f2eee5;
  z-index: -1;
}
.th-pagehead__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}
@media (max-width: 959px) {
  .th-pagehead__title {
    font-size: 1.4rem;
  }
}
.th-pagehead--center .th-pagehead__title {
  text-align: center;
}
.th-pagehead--left .th-pagehead__title {
  text-align: left;
}

/**
 * ヒーロー画像スライダー（Swiper）＋サムネイル。tour・cs 詳細のヒーロー左カラムで共通。
 * 主画像スライダー(.th-heroslider__gallery)を、全数グリッド表示のサムネイル
 * (.th-heroslider__thumb)のクリックで切り替える（common.js）。
 * 2カラム化などレイアウトは各テンプレートの __hero / __hero-media 側で行う。
 */
.th-heroslider__gallery {
  margin-bottom: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}
.th-heroslider__gallery picture {
  display: block;
}
.th-heroslider__gallery img {
  display: block;
  -webkit-user-drag: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.th-heroslider__gallery .swiper-button-prev,
.th-heroslider__gallery .swiper-button-next {
  color: #fff;
}
.th-heroslider__gallery .swiper-button-prev:after,
.th-heroslider__gallery .swiper-button-next:after {
  font-size: 1.2rem;
}
.th-heroslider__slide-img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.th-heroslider__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.th-heroslider__thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  -webkit-transition: opacity 0.2s ease, border-color 0.2s ease;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.th-heroslider__thumb:hover {
  opacity: 1;
}
.th-heroslider__thumb.is-active {
  opacity: 1;
  border-color: #a91b47;
}
.th-heroslider__thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

/**
 * 動画グリッド「クルーズの魅力を動画でチェック」。TOP・tour詳細・cs詳細で共通。
 * PCの列数は**編集画面の「表示列数」（1〜3列・既定3列）**で決まり（2026-09-02 追加要望10）、
 * テンプレート側（template-parts/videos.php）が `--cols-1` / `--cols-2` / `--cols-3` を付与する。
 * 動画の本数が列数より少なくても列幅は変えない（3列設定で2本なら1/3幅のまま・右が空く）。
 * どの列数でも 〜959px(lg)=最大2列／〜781px(sp)=1列。
 * 入力がある動画だけ描画するのはテンプレート側の責務（空なら親セクションごと非表示）。
 */
.th-videogrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 959px) {
  .th-videogrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 781px) {
  .th-videogrid {
    grid-template-columns: 1fr;
  }
}
.th-videogrid--cols-1 {
  grid-template-columns: 1fr;
}
.th-videogrid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 781px) {
  .th-videogrid--cols-2 {
    grid-template-columns: 1fr;
  }
}
.th-videogrid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 959px) {
  .th-videogrid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 781px) {
  .th-videogrid--cols-3 {
    grid-template-columns: 1fr;
  }
}
.th-videogrid__item {
  margin: 0;
}
.th-videogrid__head {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}
.th-videogrid__frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #333;
}
.th-videogrid__frame iframe,
.th-videogrid__frame video,
.th-videogrid__frame embed,
.th-videogrid__frame object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.th-videogrid__fallback {
  margin: 0;
}
.th-videogrid__fallback a {
  color: #a91b47;
  text-decoration: underline;
}

.th-mediarow-list {
  display: grid;
  gap: 1rem;
}

.th-mediarow {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1.25rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1rem 2rem 1rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
}
@media (max-width: 959px) {
  .th-mediarow {
    grid-template-columns: 12rem 1fr;
    padding: 1rem;
  }
}
@media (max-width: 599px) {
  .th-mediarow {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
}
.th-mediarow--price {
  grid-template-columns: 15rem 1fr auto;
}
@media (max-width: 959px) {
  .th-mediarow--price {
    grid-template-columns: 12rem 1fr;
  }
}
@media (max-width: 599px) {
  .th-mediarow--price {
    grid-template-columns: 1fr;
  }
}
.th-mediarow--noimg {
  grid-template-columns: 1fr auto;
}
@media (max-width: 599px) {
  .th-mediarow--noimg {
    grid-template-columns: 1fr;
  }
}

.th-mediarow__img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.4rem;
}
.th-mediarow__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
}
@media (max-width: 599px) {
  .th-mediarow__img img {
    aspect-ratio: 16/9;
  }
}
.th-mediarow__img img {
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-mediarow__img:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
@media (max-width: 599px) {
  .th-mediarow__img {
    border-radius: 0;
  }
}

.th-mediarow__body {
  min-width: 0;
}
@media (max-width: 599px) {
  .th-mediarow__body {
    padding: 0.85rem 1rem 1rem;
  }
}

.th-mediarow__name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.25rem 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.th-mediarow__meta {
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
}

.th-mediarow__desc {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

.th-mediarow__list {
  margin: 0.6rem 0 0;
  padding-left: 0.5rem;
  list-style: none;
}
.th-mediarow__list li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #333;
}

.th-mediarow__price {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 959px) {
  .th-mediarow__price {
    grid-column: 1/-1;
    border-top: 1px dashed #ddd;
    padding-top: 0.6rem;
  }
}
@media (max-width: 781px) {
  .th-mediarow__price {
    text-align: left;
  }
}
@media (max-width: 599px) {
  .th-mediarow__price {
    padding: 0.6rem 1rem 0.85rem;
  }
}

.th-mediarow__price-num {
  color: #a91b47;
  font-weight: 700;
  font-size: 1.4rem;
}

.th-mediarow__price-suf {
  color: #a91b47;
  font-size: 0.95rem;
}

/**
 * ファイル（PDF等）を開くクリック可能パネル（共通コンポーネント）。
 * template-parts/filelink.php に対応。客船詳細のデッキプラン／船内新聞で共用。
 * ボタンだけだと寂しいため、幅いっぱいのパネル＝アイコン（アクセント丸）＋見出し＋補足＋外部リンク印。
 * トンマナは .th-btn／カードに準拠。
 */
.th-filelink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fdfbf8;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  color: #333;
  text-decoration: none;
  -webkit-transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
}
.th-filelink:hover {
  border-color: #a91b47;
}
.th-filelink:hover .th-filelink__action {
  -webkit-transform: translate(0.15rem, -0.15rem);
          transform: translate(0.15rem, -0.15rem);
}
@media (max-width: 599px) {
  .th-filelink {
    gap: 0.875rem;
    padding: 1rem;
  }
}
.th-filelink__icon {
  display: grid;
  place-items: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #a91b47;
  color: #fff;
  font-size: 1.6rem;
}
@media (max-width: 599px) {
  .th-filelink__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
  }
}
.th-filelink__body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.th-filelink__name {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
}
@media (max-width: 599px) {
  .th-filelink__name {
    font-size: 1rem;
  }
}
.th-filelink__note {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}
@media (max-width: 599px) {
  .th-filelink__note {
    font-size: 0.78rem;
  }
}
.th-filelink__action {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #a91b47;
  font-size: 1.25rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

/**
 * スタッフコメント（追加要望4）。tour / cc / cs / port / area の詳細ページ下部で共通。
 * 左にスタッフのイラスト、右に吹き出しコメント。見出しは出さない（クライアント指定）ため、
 * 前後の余白はセクション側（.th-*__section と同じ 4rem リズム）で確保する。
 * 入力が無いページは出力そのものが無い（template-parts/staff-comment.php の責務）。
 */
.th-staffcomment-sec {
  margin-bottom: 4rem;
}

.th-staffcomment {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 959px) {
  .th-staffcomment {
    grid-template-columns: 9rem 1fr;
    gap: 1.25rem;
  }
}
@media (max-width: 599px) {
  .th-staffcomment {
    grid-template-columns: 6rem 1fr;
    gap: 1rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}
.th-staffcomment--noimg {
  grid-template-columns: 1fr;
}
.th-staffcomment--noimg .th-staffcomment__bubble::before {
  display: none;
}
.th-staffcomment__illust {
  margin: 0;
}
.th-staffcomment__illust img {
  display: block;
  width: 100%;
  height: auto;
}
.th-staffcomment__bubble {
  position: relative;
  padding: 1.5rem 1.75rem;
  background: #f2eee5;
  border-radius: 0.6rem;
}
@media (max-width: 599px) {
  .th-staffcomment__bubble {
    padding: 1rem 1.25rem;
  }
}
.th-staffcomment__bubble::before {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: -0.45rem;
  width: 1rem;
  height: 1rem;
  background: #f2eee5;
  border-radius: 0.15rem;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
@media (max-width: 599px) {
  .th-staffcomment__bubble::before {
    top: 1.35rem;
    left: -0.35rem;
    width: 0.8rem;
    height: 0.8rem;
  }
}
.th-staffcomment__text {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.9;
}
@media (max-width: 599px) {
  .th-staffcomment__text {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

.th-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1.5rem;
}
.th-modal[hidden] {
  display: none;
}
.th-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.th-modal__inner {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}
.th-modal__box {
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
          box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.th-modal__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.th-modal__close:hover {
  opacity: 1;
}
.th-modal__img {
  margin-bottom: 1rem;
}
.th-modal__img[hidden] {
  display: none;
}
.th-modal__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  margin: 0 auto;
  border-radius: 0.4rem;
}
.th-modal__name {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}
.th-modal__meta {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #666;
}
.th-modal__meta[hidden] {
  display: none;
}
.th-modal__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  white-space: pre-line;
}
.th-modal__body[hidden] {
  display: none;
}
.th-modal__link {
  margin-top: 1.25rem;
}
.th-modal__link[hidden] {
  display: none;
}

/**
 * クルーズ商品（tour）詳細ページ
 * single-tour.php に対応。現行サイトの商品ページ構成に合わせ、
 * トンマナは TOP モックアップ（$accent-color / $sub-accent-color 等）に準拠。
 */
.th-tour {
  color: #333;
}
.th-tour__inner {
  margin-inline: auto;
}
.th-tour__campaign {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #d4af37;
  border-radius: 0.5rem;
  background: #fff;
  text-decoration: none;
  color: #333;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.th-tour__campaign:hover {
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.th-tour__campaign-badge {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  background: #d4af37;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.th-tour__campaign-title {
  font-weight: 700;
}
.th-tour__subtitle {
  margin-bottom: 0.5rem;
  color: #a91b47;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
}
@media (max-width: 959px) {
  .th-tour__subtitle {
    font-size: 1rem;
  }
}
.th-tour__tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0;
  list-style: none;
}
.th-tour__tag {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #a91b47;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
}
.th-tour__hero {
  margin-bottom: 4rem;
}
.th-tour__hero--split {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 2rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 781px) {
  .th-tour__hero--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.th-tour__hero-media {
  min-width: 0;
}
.th-tour__hero-cta {
  margin-top: 1rem;
}
.th-tour__hero-cta .th-btn {
  width: 100%;
}
.th-tour__hero-content {
  min-width: 0;
}
.th-tour__hero-content > *:first-child {
  margin-top: 0;
}
.th-tour__hero-content > *:last-child {
  margin-bottom: 0;
}
.th-tour__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}
.th-tour__section-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.th-tour__section-head .th-sechd {
  margin-bottom: 0;
}
.th-tour__setdates {
  margin: 1.2rem 0 1.8rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #fdfbf8;
}
.th-tour__setdates-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.1rem 0.6rem;
  border-radius: 0.2rem;
  background: #a91b47;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.th-tour__setdates-year {
  margin: 0.8rem 0 0.3rem;
  color: #a91b47;
  font-weight: 700;
  font-size: 1rem;
}
.th-tour__setdates-year:first-child {
  margin-top: 0.2rem;
}
.th-tour__setdates-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.th-tour__setdates-list li {
  font-size: 0.9rem;
}
.th-tour__price {
  color: #a91b47;
  font-weight: 700;
  font-size: 1.1rem;
}
.th-tour__price-label {
  margin-left: 0.4rem;
  color: #666;
  font-size: 1rem;
  font-weight: 400;
}
.th-tour__cta {
  margin-top: 1.5rem;
  text-align: center;
}
.th-tour__cta--wide {
  margin: 0 0 3rem;
}
.th-tour__cta--wide .th-btn {
  min-width: 22rem;
  max-width: 100%;
}
@media (max-width: 599px) {
  .th-tour__cta--wide .th-btn {
    min-width: 0;
    width: 100%;
  }
}
.th-tour__itin-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  border: 1px solid #a91b47;
  border-radius: 999px;
  overflow: hidden;
}
.th-tour__itin-btn {
  padding: 0.45rem 1.1rem;
  border: none;
  background: #fff;
  color: #a91b47;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.th-tour__itin-btn.is-active {
  background: #a91b47;
  color: #fff;
}
.th-tour__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(169, 27, 71, 0.25);
  margin-left: 0.5rem;
}
.th-tour__tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 0 2.4rem 1.5rem 1.5rem;
}
@media (max-width: 781px) {
  .th-tour__tl-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
.th-tour__tl-item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.4rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #a91b47;
  border: 2px solid #fff;
  -webkit-box-shadow: 0 0 0 1px rgba(169, 27, 71, 0.3);
          box-shadow: 0 0 0 1px rgba(169, 27, 71, 0.3);
}
.th-tour__tl-toggle {
  position: absolute;
  top: 0.05rem;
  right: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid rgba(169, 27, 71, 0.45);
  border-radius: 50%;
  background: #fff;
  color: #a91b47;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
.th-tour__tl-toggle:hover {
  background: #a91b47;
  color: #fff;
}
.th-tour__tl-toggle-minus {
  display: none;
}
.th-tour__tl-item.is-open .th-tour__tl-toggle-plus {
  display: none;
}
.th-tour__tl-item.is-open .th-tour__tl-toggle-minus {
  display: inline;
}
.th-tour__tl-marker {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}
.th-tour__tl-dayno {
  font-size: 1.25rem;
  font-weight: 700;
  color: #a91b47;
  line-height: 1.2;
}
.th-tour__tl-dayunit {
  font-size: 1rem;
  margin-left: 0.1rem;
}
.th-tour__tl-date {
  font-size: 1rem;
  margin-top: 0.05em;
  color: #666;
}
.th-tour__tl-body {
  padding: 0.1rem 0;
}
.th-tour__tl-port {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.th-tour__tl-portname {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}
.th-tour__tl-modal {
  padding: 0.1rem 0.55rem;
  border: 1px solid #a91b47;
  border-radius: 999px;
  background: #fff;
  color: #a91b47;
  font-size: 0.85rem;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.th-tour__tl-modal:hover {
  background: #a91b47;
  color: #fff;
}
.th-tour__tl-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 1rem;
}
.th-tour__tl-tag {
  position: relative;
}
.th-tour__tl-detail {
  display: none;
  gap: 0.85rem;
  margin-top: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: #fdfbf8;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
}
@media (max-width: 959px) {
  .th-tour__tl-detail {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.6rem;
  }
}
.th-tour__tl-item.is-open .th-tour__tl-detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.th-tour__tl-figure {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 14rem;
  max-width: 40%;
  margin: 0;
}
@media (max-width: 959px) {
  .th-tour__tl-figure {
    width: 100%;
    max-width: 100%;
  }
}
.th-tour__tl-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}
.th-tour__tl-note {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin: 0;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}
.th-tour__itin-note {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}
.th-tour__price-note {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.th-tour__price-note p {
  margin: 0 0 0.85rem;
}
.th-tour__price-note p:last-child {
  margin-bottom: 0;
}
.th-tour__price-note strong {
  display: inline-block;
  margin-top: 0.35rem;
  color: #333;
  font-size: 0.95rem;
}
.th-tour__price-note ul,
.th-tour__price-note ol {
  margin: 0 0 0.85rem 1.25rem;
}
.th-tour__ship-info {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
}
@media (max-width: 781px) {
  .th-tour__ship-info {
    grid-template-columns: 1fr;
  }
}
.th-tour__ship-info--noimg {
  grid-template-columns: 1fr;
}
.th-tour__ship-img {
  display: block;
  overflow: hidden;
  border-radius: 0.4rem;
}
.th-tour__ship-img img {
  width: 100%;
  aspect-ratio: 4/3;
}
@media (max-width: 599px) {
  .th-tour__ship-img img {
    aspect-ratio: 16/9;
  }
}
.th-tour__ship-img img {
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.4rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-tour__ship-img:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.th-tour__ship-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.th-tour__ship-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.th-tour__form-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2200px;
  border: 0;
}
@media (max-width: 599px) {
  .th-tour__form-iframe {
    height: 2600px;
  }
}

/**
 * 客船（cs）詳細ページ
 * single-cs.php に対応。トンマナ・数値は `docs/design-system.md`／`_th-tour.scss` に準拠。
 */
.th-cs {
  color: #333;
}
.th-cs__inner {
  margin-inline: auto;
}
.th-cs__company-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  color: #a91b47;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
@media (max-width: 959px) {
  .th-cs__company-link {
    font-size: 1rem;
  }
}
.th-cs__company-link:hover {
  opacity: 0.8;
}
.th-cs__hero {
  margin-bottom: 2.5rem;
}
.th-cs__hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 781px) {
  .th-cs__hero--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.th-cs__hero-media {
  min-width: 0;
}
.th-cs__hero-body {
  min-width: 0;
}
.th-cs__description, .th-cs__body {
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.th-cs__description > *:first-child, .th-cs__body > *:first-child {
  margin-top: 0;
}
.th-cs__description > *:last-child, .th-cs__body > *:last-child {
  margin-bottom: 0;
}
.th-cs__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}
.th-cs__section-note {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
@media (max-width: 599px) {
  .th-cs__section-note {
    font-size: 0.95rem;
  }
}
.th-cs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 959px) {
  .th-cs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .th-cs__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.th-cs__gitem {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  overflow: hidden;
}
.th-cs__gitem-img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.th-cs__gitem-img .th-cs__gitem-image {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
}
@media (max-width: 599px) {
  .th-cs__gitem-img .th-cs__gitem-image {
    aspect-ratio: 16/9;
  }
}
.th-cs__gitem-img .th-cs__gitem-image {
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-cs__gitem-img:hover .th-cs__gitem-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.th-cs__gitem-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem 1rem;
}
.th-cs__gitem-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.25rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}
.th-cs__gitem-meta {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
}
.th-cs__gitem-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.th-cs__cabinlist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5rem;
}
.th-cs__cabin {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
}
@media (max-width: 781px) {
  .th-cs__cabin {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.th-cs__cabin-imgs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 599px) {
  .th-cs__cabin-imgs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.th-cs__cabin-img {
  position: relative;
  display: block;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 13rem;
          flex: 0 0 13rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.4rem;
}
@media (max-width: 959px) {
  .th-cs__cabin-img {
    -ms-flex-preferred-size: 10rem;
        flex-basis: 10rem;
  }
}
@media (max-width: 781px) {
  .th-cs__cabin-img {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
  }
}
@media (max-width: 599px) {
  .th-cs__cabin-img {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 100%;
  }
}
.th-cs__cabin-img .th-cs__cabin-image {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
}
@media (max-width: 599px) {
  .th-cs__cabin-img .th-cs__cabin-image {
    aspect-ratio: 16/9;
  }
}
.th-cs__cabin-img .th-cs__cabin-image {
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-cs__cabin-img:hover .th-cs__cabin-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.th-cs__cabin-img--plan {
  background: #fff;
}
.th-cs__cabin-img--plan .th-cs__cabin-image--plan {
  -o-object-fit: contain;
     object-fit: contain;
}
.th-cs__cabin-body {
  min-width: 0;
}
.th-cs__cabin-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}
.th-cs__cabin-meta {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}
.th-cs .th-filelink + .th-imglink {
  margin-top: 1.5rem;
}
@media (max-width: 599px) {
  .th-cs .th-filelink + .th-imglink {
    margin-top: 1rem;
  }
}
.th-cs__paper-note {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
@media (max-width: 599px) {
  .th-cs__paper-note {
    font-size: 0.95rem;
  }
}

@media (max-width: 599px) {
  .th-cs__section .th-mediarow__name {
    font-size: 1.1rem;
  }
}

@media (max-width: 599px) {
  .th-cs__section .th-mediarow__meta {
    font-size: 0.9rem;
    font-weight: 500;
  }
}

@media (max-width: 599px) {
  .th-cs__section .th-mediarow__desc {
    margin-top: 0.35rem;
  }
}

/**
 * 客船会社（cc）詳細ページ。single-cc.php に対応。
 * 現行サイト準拠：ヒーロー2カラム（左＝画像スライダー .th-heroslider ／右＝自社客船の縦リスト）。
 * 共通部品：タイトル帯 .th-pagehead／スライダー .th-heroslider／カード .th-card+.th-cardgrid／
 * 導線 .th-morelink／見出し th_section_heading()。ここは cc 固有のみ。
 */
.th-cc {
  color: #333;
}
.th-cc__inner {
  margin-inline: auto;
}
.th-cc__labels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}
.th-cc__agent {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #d4af37;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
}
.th-cc__hero {
  margin-bottom: 3rem;
}
.th-cc__hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 781px) {
  .th-cc__hero--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.th-cc__hero-media {
  min-width: 0;
  position: sticky;
}
.th-cc__hero-ships {
  min-width: 0;
}
.th-cc__hero-ships .th-sechd {
  margin: 0 0 1rem;
}
.th-cc__shiplist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.th-cc__shiplist--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -webkit-column-gap: 2rem;
     -moz-column-gap: 2rem;
          column-gap: 2rem;
}
@media (max-width: 959px) {
  .th-cc__shiplist--grid {
    grid-template-columns: 1fr;
  }
}
.th-cc__shiplist--grid .th-cc__shipitem-thumb {
  width: 6rem;
}
.th-cc__shipitem {
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
}
.th-cc__shipitem-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  text-decoration: none;
  color: #333;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.th-cc__shipitem-link:hover {
  background: #f2eee5;
}
.th-cc__shipitem-link:hover .th-cc__shipitem-name {
  color: #a91b47;
}
.th-cc__shipitem-link:hover .th-cc__shipitem-arrow {
  -webkit-transform: translateX(0.2rem);
          transform: translateX(0.2rem);
}
.th-cc__shipitem-thumb {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 4.5rem;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #f2eee5;
}
.th-cc__shipitem-img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
.th-cc__shipitem-noimg {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #f2eee5;
  background-image: var(--th-noimg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #ddd;
}
.th-cc__shipitem-name {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 959px) {
  .th-cc__shipitem-name {
    font-size: 1rem;
  }
}
.th-cc__shipitem-arrow {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #a91b47;
  font-size: 0.85rem;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.th-cc__lead {
  margin-bottom: 3rem;
}
.th-cc__desc {
  line-height: 1.8;
}
.th-cc__desc > *:first-child {
  margin-top: 0;
}
.th-cc__desc > *:last-child {
  margin-bottom: 0;
}
.th-cc__reasons {
  line-height: 1.8;
}
.th-cc__reasons > *:first-child {
  margin-top: 0;
}
.th-cc__reasons > *:last-child {
  margin-bottom: 0;
}
.th-cc__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}

/**
 * エリア（area）詳細ページ。single-area.php に対応。
 * 現行サイト準拠：タイトル帯 → ヒーロー画像（複数）→ エリア説明 → おすすめ寄港地 → おすすめクルーズ。
 * 共通部品：タイトル帯 .th-pagehead／スライダー .th-heroslider／カード .th-card+.th-cardgrid／
 * 導線 .th-morelink／見出し th_section_heading()。ここは area 固有のみ。
 */
.th-area {
  color: #333;
}
.th-area__inner {
  margin-inline: auto;
}
.th-area__gallery {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  width: 100vw;
  max-width: 100vw;
  margin-top: -2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 3rem;
}
@media (max-width: 599px) {
  .th-area__gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1rem;
  }
  .th-area__gallery::-webkit-scrollbar {
    display: none;
  }
}
.th-area__gallery-item {
  min-width: 0;
}
@media (max-width: 599px) {
  .th-area__gallery-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    scroll-snap-align: center;
  }
}
.th-area__gallery-item picture {
  display: block;
}
.th-area__gallery-img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 599px) {
  .th-area__gallery-img {
    aspect-ratio: 16/9;
  }
}
.th-area__gallery-dots {
  display: none;
}
@media (max-width: 599px) {
  .th-area__gallery-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 0.5rem;
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
  }
}
.th-area__gallery-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.th-area__gallery-dot.is-active {
  background: #a91b47;
}
.th-area__lead {
  margin-bottom: 3rem;
}
.th-area__desc {
  line-height: 1.8;
}
.th-area__desc > *:first-child {
  margin-top: 0;
}
.th-area__desc > *:last-child {
  margin-bottom: 0;
}
.th-area__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}

/**
 * 寄港地（port）詳細ページ。single-port.php に対応。
 * 現行サイト準拠：タイトル帯＋「エリア名[国名]」→ ヒーロー2カラム（左＝画像スライダー／右＝説明＋Googleマップ）
 * → 導線ボタン2つ → おすすめクルーズ。
 * 共通部品：タイトル帯 .th-pagehead／スライダー .th-heroslider／カード .th-card+.th-cardgrid／
 * 導線 .th-morelink／見出し th_section_heading()／ボタン .th-btn。ここは port 固有のみ。
 */
.th-port {
  color: #333;
}
.th-port__inner {
  margin-inline: auto;
}
.th-port__areas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem 0.9rem;
  margin: 0 0 0.4rem;
}
.th-port__titlerow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem 0.9rem;
}
@media (max-width: 959px) {
  .th-port__titlerow {
    gap: 0.5rem 0.5rem;
  }
}
.th-port__area {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.3rem;
  color: #a91b47;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
@media (max-width: 959px) {
  .th-port__area {
    font-size: 1rem;
  }
}
.th-port__area:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.th-port__country {
  display: inline-block;
  border-radius: 999px;
  background: #f2eee5;
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 0.55em;
}
@media (max-width: 959px) {
  .th-port__country {
    font-size: 1rem;
    margin-top: 0.4em;
  }
}
.th-port__hero {
  margin: 2.5rem 0 3rem;
}
.th-port__hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 781px) {
  .th-port__hero--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.th-port__hero-media {
  min-width: 0;
}
.th-port__hero-body {
  min-width: 0;
}
.th-port__desc {
  line-height: 1.8;
}
.th-port__desc > *:first-child {
  margin-top: 0;
}
.th-port__desc > *:last-child {
  margin-bottom: 0;
}
.th-port__map {
  position: relative;
  margin-top: 1.5rem;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
}
.th-port__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.th-port__map-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #666;
}
.th-port__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (max-width: 781px) {
  .th-port__actions {
    grid-template-columns: 1fr;
  }
}
.th-port__actions .th-btn {
  width: 100%;
}
.th-port__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}

/**
 * 汎用データリスト（検索＋ページネーション付き行リスト）。
 * 現行サイトの DataTables（検索＋件数選択＋ページネーション＋固定順）を Vanilla JS で再現。JS は common.js。
 * 用途は行 modifier で切替：
 *   --port … 寄港地一覧（single-area「おすすめ寄港地」）＝サムネ｜港名＋方面/国｜概要
 *   --tour … クルーズ商品一覧（archive-tour＝クルーズ検索結果）＝サムネ｜本体（客船名・タイトル・出発日/日数/区間/料金・タグ）
 * 構造は ul/li/a：各項目は <a.th-datalist__row>（行全体がネイティブリンク）。
 * 上＝コントロール（表示件数 select ／ 検索 input）、中＝リスト、下＝件数表示＋ページャ。
 * 列クリックソートは無し（現行も無効＝サーバー出力順）。スマホ（≤599）は補助列を隠す/縦積み。
 */
.th-datalist__filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem 0.5rem;
  margin-bottom: 1.5rem;
}
.th-datalist__filters-label {
  margin-right: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
}
.th-datalist__chip {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.82rem;
  line-height: 1.5;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.th-datalist__chip:hover {
  border-color: #a91b47;
  color: #a91b47;
}
.th-datalist__chip.is-active {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-datalist__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 599px) {
  .th-datalist__controls {
    gap: 0.5rem;
  }
}
.th-datalist__length, .th-datalist__search {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}
@media (max-width: 599px) {
  .th-datalist__search {
    width: 100%;
  }
}
@media (max-width: 599px) {
  .th-datalist__search-label {
    white-space: nowrap;
  }
}
.th-datalist select,
.th-datalist input[type=search] {
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: #333;
  background: #fff;
}
.th-datalist__search input[type=search] {
  min-width: 18rem;
}
@media (max-width: 599px) {
  .th-datalist__search input[type=search] {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }
}
.th-datalist__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ddd;
}
.th-datalist__item {
  border-bottom: 1px solid #ddd;
}
.th-datalist__row {
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  color: #333;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.th-datalist__row:hover {
  background: #f2eee5;
}
.th-datalist__row--port {
  grid-template-columns: 5rem minmax(0, 15rem) minmax(0, 1fr);
}
.th-datalist__row--port:hover .th-datalist__name {
  text-decoration: underline;
}
@media (max-width: 959px) {
  .th-datalist__row--port {
    grid-template-columns: 5rem minmax(0, 11rem) minmax(0, 1fr);
  }
}
@media (max-width: 599px) {
  .th-datalist__row--port {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
}
.th-datalist__row--tour {
  grid-template-columns: 8rem minmax(0, 1fr) minmax(0, 32%);
  grid-template-areas: "thumb eyebrow aux" "thumb head    aux" "thumb meta    aux";
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  gap: 0.35rem 1.25rem;
  padding: 0.7rem 0.8rem;
}
.th-datalist__row--tour:hover .th-datalist__title {
  text-decoration: underline;
}
@media (max-width: 959px) {
  .th-datalist__row--tour {
    grid-template-columns: 8rem minmax(0, 1fr) minmax(0, 11rem);
    -webkit-column-gap: 1rem;
       -moz-column-gap: 1rem;
            column-gap: 1rem;
  }
}
@media (max-width: 781px) {
  .th-datalist__row--tour {
    grid-template-columns: 7rem minmax(0, 1fr);
    grid-template-areas: "thumb eyebrow" "thumb meta" "head  head" "aux   aux";
    -webkit-column-gap: 0.8rem;
       -moz-column-gap: 0.8rem;
            column-gap: 0.8rem;
    row-gap: 0.4rem;
  }
}
.th-datalist__row--tour .th-datalist__cell--thumb {
  grid-area: thumb;
}
.th-datalist__row--tour .th-datalist__cell--eyebrow {
  grid-area: eyebrow;
}
.th-datalist__row--tour .th-datalist__cell--head {
  grid-area: head;
}
.th-datalist__row--tour .th-datalist__cell--meta {
  grid-area: meta;
  align-self: start;
}
.th-datalist__row--tour .th-datalist__cell--aux {
  align-self: center;
  grid-area: aux;
}
.th-datalist__cell {
  min-width: 0;
}
.th-datalist__cell--summary {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.6;
}
@media (max-width: 599px) {
  .th-datalist__cell--summary {
    display: none;
  }
}
.th-datalist__img, .th-datalist__noimg {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.3rem;
}
.th-datalist__noimg {
  background-color: #ddd;
  background-image: var(--th-noimg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #ddd;
}
.th-datalist__name {
  font-weight: 700;
  color: #a91b47;
}
.th-datalist__tags {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #666;
}
.th-datalist__sep {
  color: #ddd;
}
.th-datalist__cell--eyebrow {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}
.th-datalist__badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05em 0.5em;
  border-radius: 999px;
  background: #a91b47;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.th-datalist__title {
  display: block;
  margin-top: 0.1rem;
  font-weight: 700;
  color: #a91b47;
  line-height: 1.5;
}
.th-datalist__meta {
  display: inline;
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}
@media (max-width: 599px) {
  .th-datalist__meta {
    font-size: 0.95rem;
  }
}
.th-datalist__meta--route::before {
  content: "・";
  margin: 0 0.35em;
  color: #ddd;
}
@media (max-width: 781px) {
  .th-datalist__meta {
    display: block;
  }
  .th-datalist__meta--route::before {
    content: none;
  }
}
.th-datalist__cell--aux {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.4rem;
}
.th-datalist__route {
  min-width: 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.55;
}
.th-datalist__route-label {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.03em 0.45em;
  border-radius: 0.25rem;
  background: #f2eee5;
  color: #666;
  font-size: 0.72rem;
  vertical-align: 0.05em;
}
.th-datalist__route-text {
  display: inline;
}
.th-datalist__price {
  color: #a91b47;
  font-weight: 700;
  white-space: nowrap;
}
.th-datalist__info {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}
.th-datalist__empty {
  margin-top: 1rem;
  text-align: center;
  color: #666;
}
.th-datalist__pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
}
.th-datalist__page {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.3rem;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
.th-datalist__page.is-active {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
  font-weight: 700;
}
.th-datalist__page:disabled {
  opacity: 0.4;
  cursor: default;
}
.th-datalist__page:not(:disabled):not(.is-active):hover {
  background: #f2eee5;
}
.th-datalist__ellipsis {
  padding: 0 0.2rem;
  color: #666;
}

/**
 * クルーズ検索フォーム（.th-search）。TOP FV・フローティングモーダル・tour アーカイブで共通。
 * template-parts/cruise/searchform.php に対応。レイアウト（左インラインラベル＋2カラム＋
 * カスタムドロップダウン .th-dropdown）はモック（.c-search-widget）を参考にしつつ、
 * カード装飾（枠色・角丸・影）はテーマidiom（design-system §5：$white／$light-gray枠／角丸0.6rem／軽い影）に統一。
 */
/**
 * ★高さの詰め方（2026-09-04 クライアント要望「FVはなるべく低く」）
 * FVは検索カードの高さがそのままファーストビューの高さに効くため、
 * **各部品の隙間・余白を一段ずつ小さく**してある（カード余白2rem→1.5rem／項目間0.75rem→0.5rem／
 * タブ下1.25rem→0.625rem／入力の高さ2.75rem→2.5rem 等）。
 * これ以上詰めると押しにくくなる（入力の高さ＝40pxが下限の目安）ので、
 * さらに低くしたい場合は**項目数を減らす**（詳細検索ページへ移す）方向で調整すること。
 */
.th-search {
  width: 100%;
  max-width: 32.5rem;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 0.6rem;
  background: #fff;
  border: 1px solid #ddd;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
@media (max-width: 959px) {
  .th-search {
    max-width: auto;
  }
}
@media (max-width: 781px) {
  .th-search {
    padding: 1.25rem 1.125rem;
  }
}
.th-search__title {
  margin-bottom: 0;
  font-size: 1.2rem;
  text-align: center;
  color: #a91b47;
}
@media (max-width: 781px) {
  .th-search__title {
    font-size: 1.1rem;
  }
}
.th-search:not(.th-search--wide) .th-search__title {
  margin-bottom: -0.5rem;
}
.th-search__panes {
  display: grid;
}
.th-search__panes > .th-search__pane {
  grid-area: 1/1;
}
.th-search__pane {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5rem;
}
.th-search__pane[hidden] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  visibility: hidden;
  pointer-events: none;
}
.th-search__tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0;
  margin-bottom: 0.625rem;
  border-bottom: 1px solid #ddd;
}
.th-search__tab {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  padding: 0.45rem 0.5rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: #666;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.th-search__tab:hover {
  color: #a91b47;
}
.th-search__tab.is-active {
  color: #a91b47;
  border-bottom-color: #a91b47;
}
.th-search__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.th-search__label {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 7rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #666;
}
@media (max-width: 781px) {
  .th-search__label {
    width: 7rem;
  }
}
.th-search__input,
.th-search .th-dropdown {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}
.th-search__input {
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #f9f9f9;
  color: #333;
  font-size: 0.9rem;
}
.th-search__input:focus {
  outline: none;
  border-color: #a91b47;
  background-color: #fff;
}
.th-search__range {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem;
  width: 100%;
}
.th-search__range-input {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
}
.th-search__range-sep, .th-search__range-unit {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  color: #666;
  font-size: 0.85rem;
}
.th-search__actions {
  margin-top: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.75rem;
}
@media (max-width: 781px) {
  .th-search__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 0.75rem;
  }
}
.th-search__submit, .th-search__advanced {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 781px) {
  .th-search__submit, .th-search__advanced {
    width: 100%;
  }
}
.th-search__reset {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.375rem;
  color: #a91b47;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.th-search__reset:hover {
  opacity: 0.8;
}
@media (max-width: 781px) {
  .th-search__reset {
    -ms-flex-item-align: start;
        align-self: flex-start;
  }
}
.th-search {
  /**
   * デスクトップ・アーカイブ（/tour/）用の横幅を活かした多カラムレイアウト。
   * 既定（.th-search）はテーマidiomの縦カード＝FV／フローティングモーダル用。
   * --wide は全フィールドをラベル上・縦積みにして 3→2→1 カラムのグリッドに流し込む。
   */
}
.th-search--wide {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  padding: 2rem 2.25rem;
}
@media (max-width: 959px) {
  .th-search--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 781px) {
  .th-search--wide {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }
}
.th-search--wide .th-search__title {
  grid-column: 1/-1;
  margin-bottom: 0;
}
.th-search--wide .th-search__field {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 0.375rem;
}
.th-search--wide .th-search__label {
  width: auto;
}
.th-search--wide .th-search__tabs {
  grid-column: 1/-1;
}
.th-search--wide .th-search__panes,
.th-search--wide .th-search__pane {
  display: contents;
}
.th-search--wide .th-search__pane[hidden] {
  display: none;
  visibility: visible;
}
.th-search--wide .th-search__actions {
  grid-column: 1/-1;
  margin-top: 0.25rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.th-search--wide .th-search__submit,
.th-search--wide .th-search__advanced {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  min-width: 16rem;
}
@media (max-width: 781px) {
  .th-search--wide .th-search__submit,
  .th-search--wide .th-search__advanced {
    min-width: 0;
    width: 100%;
  }
}

/**
 * 複数選択カスタムドロップダウン（.th-dropdown）。
 * 出発年月・こだわり条件のチェックボックス群を、トリガー開閉＋選択タグ表示のUIにする。
 * 開閉・タグ生成は assets/js/common.js（.js-th-dropdown）が担当。
 */
.th-dropdown {
  position: relative;
}
.th-dropdown__trigger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background-color: #f9f9f9;
  color: #333;
  font-family: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, border-color 0.3s ease;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.th-dropdown__trigger:hover {
  background-color: #f2eee5;
}
.th-dropdown__value {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.375rem 0.25rem;
  line-height: 1.4;
}
.th-dropdown__value.is-placeholder {
  color: #999;
}
.th-dropdown--single .th-dropdown__value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.th-dropdown__caret {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 0.7rem;
  opacity: 0.6;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-dropdown__tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.375rem;
  max-width: 100%;
  padding: 0.125rem 0.375rem 0.125rem 0.625rem;
  border-radius: 0.25rem;
  background-color: rgba(169, 27, 71, 0.1);
  color: #a91b47;
  font-size: 0.75rem;
  font-weight: 600;
}
.th-dropdown__tag-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.th-dropdown__tag-remove {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  font-size: 0.7rem;
  opacity: 0.6;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.th-dropdown__tag-remove:hover {
  background-color: #a91b47;
  color: #fff;
  opacity: 1;
}
.th-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 15.625rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 51, 51, 0.25) transparent;
}
.th-dropdown__panel::-webkit-scrollbar {
  width: 8px;
}
.th-dropdown__panel::-webkit-scrollbar-track {
  margin: 0.35rem 0 0.5rem;
  background: transparent;
}
.th-dropdown__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.22);
  background-clip: content-box;
}
.th-dropdown__panel::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 51, 51, 0.35);
  background-clip: content-box;
}
.th-dropdown__panel {
  border: 1px solid #a91b47;
  border-top: none;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  background-color: #fff;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-0.3125rem);
          transform: translateY(-0.3125rem);
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
.th-dropdown__option[hidden], .th-dropdown__item[hidden], .th-dropdown__group[hidden] {
  display: none;
}
.th-dropdown__filter {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.5rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
}
.th-dropdown__filter-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #f9f9f9;
  color: #333;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
}
.th-dropdown__filter-input:focus {
  outline: none;
  border-color: #a91b47;
  background: #fff;
}
.th-dropdown__noresult {
  padding: 0.75rem;
  color: #666;
  font-size: 0.85rem;
  text-align: center;
}
.th-dropdown__panel--wide {
  max-height: none;
  padding: 0.75rem;
}
.th-dropdown__group {
  padding: 0.625rem 0;
  border-bottom: 1px solid #ddd;
}
.th-dropdown__group:last-child {
  border-bottom: none;
}
.th-dropdown__group-title {
  padding: 0 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a91b47;
}
.th-dropdown__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 0.85rem;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.th-dropdown__item:hover {
  background-color: #fdfbf8;
}
.th-dropdown__item input[type=checkbox] {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: #a91b47;
}
.th-dropdown__option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  background: none;
  color: #333;
  font-family: inherit;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.th-dropdown__option:last-child {
  border-bottom: none;
}
.th-dropdown__option:hover {
  background-color: #fdfbf8;
}
.th-dropdown__option.is-selected {
  background-color: rgba(169, 27, 71, 0.08);
  color: #a91b47;
  font-weight: 700;
}
.th-dropdown--stack .th-dropdown__option {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  row-gap: 0.1rem;
}
.th-dropdown--stack .th-dropdown__optlabel {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.th-dropdown--stack .th-dropdown__optsub {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}
.th-dropdown--stack .th-dropdown__optsub::before {
  content: none;
}
.th-dropdown__optlabel {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
}
.th-dropdown__optsub {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  color: #666;
  font-size: 0.75rem;
}
.th-dropdown__optsub::before {
  content: "／";
  margin-right: 0.15rem;
  color: #ddd;
}
.th-dropdown__count {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #f2eee5;
  color: #666;
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: nowrap;
}
.th-dropdown__empty {
  padding: 0.75rem;
  color: #666;
  font-size: 0.85rem;
}
.th-dropdown.is-open .th-dropdown__trigger {
  background-color: #fff;
  border-color: #a91b47;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.th-dropdown.is-open .th-dropdown__caret {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.th-dropdown.is-open .th-dropdown__panel {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/**
 * ツアー一覧（/tour/）の旅行検索アコーディオン（.th-search-acc）。
 * 既定は折りたたみ、必要に応じて展開。条件指定中は archive-tour.php が open 属性を付ける。
 * ネイティブ <details>/<summary> ベース（JS不要）。
 * デザインはテーマ既存idiomに準拠：枠＝$light-gray／角丸0.6rem／バーのホバー＝$bg-color-alt
 * （.th-datalist 行・cc客船リストと同じ）。アコーディオン自体を1枚のカードとし、
 * 中の検索フォームのカード装飾（枠・影・背景）は外して二重枠を避ける。
 */
.th-search-acc {
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  background: #fff;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.th-search-acc__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.75rem;
  padding: 1.125rem 2rem;
  color: #a91b47;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 0.6rem;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.th-search-acc__head::-webkit-details-marker {
  display: none;
}
.th-search-acc__head:hover {
  background-color: #f2eee5;
}
@media (max-width: 599px) {
  .th-search-acc__head {
    padding: 1rem 1.25rem;
  }
}
.th-search-acc[open] .th-search-acc__head {
  border-bottom: 1px solid #ddd;
  border-radius: 0.6rem 0.6rem 0 0;
}
.th-search-acc__title {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}
.th-search-acc__title i {
  font-size: 0.95rem;
}
.th-search-acc__caret {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.7;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-search-acc[open] .th-search-acc__caret {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.th-search-acc .th-search {
  max-width: none;
  padding: 1.75rem 2rem;
  border: none;
  border-radius: 0;
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
  backdrop-filter: none;
}
@media (max-width: 599px) {
  .th-search-acc .th-search {
    padding: 1.25rem 1.25rem;
  }
}
.th-search-acc .th-search__title {
  display: none;
}

/**
 * 詳細検索ページ（/cruise-search/・追加要望7-a）。
 * ★選択肢をプルダウンに畳まず**全部並べる**ページなので、検索窓（.th-search）とは別のレイアウトを持つ。
 *   共通で使うのは 見出し帯 .th-pagehead ／ ボタン .th-btn ／ 月ピッカー .th-monthpicker ／
 *   選択肢リスト .th-optlist（element/_th-optlist.scss）。
 */
.th-cruisesearch__inner {
  max-width: 68rem;
  margin-inline: auto;
}
.th-cruisesearch__lead {
  margin-bottom: 2rem;
}
.th-cruisesearch__form {
  margin-bottom: 4rem;
}
.th-cruisesearch__block {
  margin-bottom: 2.5rem;
}
.th-cruisesearch__label {
  margin: 0 0 0.75rem;
  padding-left: 0.7rem;
  border-left: 4px solid #a91b47;
  color: #333;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 781px) {
  .th-cruisesearch__label {
    font-size: 1.1rem;
  }
}
.th-cruisesearch__note {
  margin: -0.35rem 0 0.6rem;
  color: #666;
  font-size: 0.85rem;
}
.th-cruisesearch__row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.th-cruisesearch__row2 .th-cruisesearch__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.th-cruisesearch__row2 .th-optlist {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
@media (max-width: 781px) {
  .th-cruisesearch__row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.th-cruisesearch__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(51, 51, 51, 0.08);
}
.th-cruisesearch__actions .th-btn {
  min-width: 22rem;
}
@media (max-width: 781px) {
  .th-cruisesearch__actions .th-btn {
    min-width: 0;
    width: 100%;
  }
}
.th-cruisesearch__actionsmeta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.th-cruisesearch__selected {
  color: #666;
  font-size: 0.85rem;
}
.th-cruisesearch__selected.is-active {
  color: #a91b47;
  font-weight: 700;
}
@media (max-width: 781px) {
  .th-cruisesearch__selected {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    font-size: 0.8rem;
  }
}

/**
 * 絞り込み条件バー（.th-condbar）＝詳細検索（/cruise-search/）から来た検索結果ページの上部。
 * 検索窓の代わりに「いま効いている条件」を並べ、詳細検索ページへ戻って条件を変更できるようにする
 * （詳細検索の項目は検索窓に無いものがあり、検索窓を出すと条件が消えたように見えるため）。
 */
.th-condbar {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  background: #fff;
}
@media (max-width: 781px) {
  .th-condbar {
    padding: 1rem;
  }
}
.th-condbar__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.th-condbar__title {
  margin: 0;
  color: #a91b47;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.th-condbar__title i {
  margin-right: 0.35rem;
}
.th-condbar__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.th-condbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.th-condbar__item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #f2eee5;
  font-size: 0.85rem;
  line-height: 1.6;
}
.th-condbar__label {
  color: #666;
  font-size: 0.75rem;
}
.th-condbar__value {
  color: #333;
  font-weight: 700;
}

/**
 * 出発年月の月ピッカー（.th-monthpicker）＝検索窓「出発年月」のポップアップ中身（追加要望6）。
 * 上に年タブ、下に月を3列×4行のグリッドで並べる。件数はファセット集計（inc/search-facets.php）から。
 *   ・該当0件の月＝グレーアウトして選択不可（テンプレート側で input を disabled）
 *   ・選択中の月＝アクセント色で反転
 * 外枠（トリガー・パネル・選択タグ）は共通の .th-dropdown（block/_th-search.scss）を使う。
 */
.th-monthpicker {
  padding: 0.25rem;
}
.th-monthpicker__years {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}
.th-monthpicker__year {
  padding: 0.3rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.6;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.th-monthpicker__year:hover {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-monthpicker__year.is-active {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
  font-weight: 700;
}
.th-monthpicker__grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.th-monthpicker__grid.is-active {
  display: grid;
}
.th-monthpicker__month {
  display: block;
  cursor: pointer;
}
.th-monthpicker__month input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.th-monthpicker__month.is-empty {
  cursor: not-allowed;
}
.th-monthpicker__month.is-empty .th-monthpicker__body {
  background: #f9f9f9;
  border-color: #ddd;
  color: #666;
  opacity: 0.5;
}
.th-monthpicker__month.is-empty:hover .th-monthpicker__body {
  background: #f9f9f9;
  border-color: #ddd;
  color: #666;
}
.th-monthpicker__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.1rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #fff;
  color: #333;
  text-align: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.th-monthpicker__month:hover .th-monthpicker__body {
  border-color: #a91b47;
  color: #a91b47;
}
.th-monthpicker__month input:checked + .th-monthpicker__body {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-monthpicker__month input:checked + .th-monthpicker__body .th-monthpicker__count {
  color: rgba(255, 255, 255, 0.85);
}
.th-monthpicker__mm {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}
.th-monthpicker__count {
  color: #666;
  font-size: 0.7rem;
  line-height: 1.4;
}
@media (max-width: 781px) {
  .th-monthpicker__body {
    padding: 0.6rem 0.25rem;
  }
  .th-monthpicker__mm {
    font-size: 0.95rem;
  }
}

/**
 * 出発年月マトリクス（.th-monthgrid）＝詳細検索ページ（/cruise-search/）用。
 * 検索窓は場所の都合で「年タブ＋月グリッド」だが、詳細検索は**全ての年月を一度に見渡せる表**にして、
 * 年をまたいだ複数選択と「その年をまとめて選択」をできるようにする。
 *   行＝年（左端に年まとめチェック）／列＝1〜12月。0件の月はグレーアウトして選択不可。
 */
.th-monthgrid {
  overflow-x: auto;
}
@media (max-width: 959px) {
  .th-monthgrid {
    overflow-x: visible;
  }
}
.th-monthgrid {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: #fff;
}
.th-monthgrid__row {
  display: grid;
  grid-template-columns: 6.5rem repeat(12, minmax(3.4rem, 1fr));
  gap: 0.3rem;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  min-width: 46rem;
}
.th-monthgrid__row + .th-monthgrid__row {
  margin-top: 0.3rem;
}
@media (max-width: 959px) {
  .th-monthgrid__row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-width: 0;
  }
}
@media (max-width: 781px) {
  .th-monthgrid__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 959px) {
  .th-monthgrid__year {
    grid-column: 1/-1;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-bottom: 0.15rem;
  }
}
.th-monthgrid__year {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  background: #f2eee5;
  color: #333;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.th-monthgrid__year input {
  margin: 0;
  accent-color: #a91b47;
}
.th-monthgrid__cell {
  display: block;
  cursor: pointer;
}
.th-monthgrid__cell input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.th-monthgrid__cell.is-empty {
  cursor: not-allowed;
}
.th-monthgrid__cell.is-empty .th-monthgrid__body {
  background: #f9f9f9;
  color: #666;
  opacity: 0.5;
}
.th-monthgrid__cell.is-empty:hover .th-monthgrid__body {
  border-color: #ddd;
  color: #666;
}
.th-monthgrid__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.05rem;
  height: 100%;
  padding: 0.35rem 0.2rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #fff;
  color: #333;
  text-align: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.th-monthgrid__cell:hover .th-monthgrid__body {
  border-color: #a91b47;
  color: #a91b47;
}
.th-monthgrid__cell input:checked + .th-monthgrid__body {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-monthgrid__cell input:checked + .th-monthgrid__body .th-monthgrid__count {
  color: rgba(255, 255, 255, 0.85);
}
.th-monthgrid__mm {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}
.th-monthgrid__count {
  color: #666;
  font-size: 0.65rem;
  line-height: 1.3;
}

/**
 * アーカイブ（一覧）ページ共通（.th-archive）。archive-tour / archive-cs / archive-cc に対応。
 * カードグリッドは共通 .th-cardgrid（_th-card.scss）。ここは一覧固有（検索枠・件数・ページャ・0件）。
 */
.th-archive {
  color: #333;
}
.th-archive__inner {
  margin-inline: auto;
}
.th-archive__search {
  margin-bottom: 2.5rem;
}
.th-archive__resulthead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ddd;
}
.th-archive__count {
  margin: 0;
  font-size: 1.05rem;
}
.th-archive__count strong {
  color: #a91b47;
  font-size: 1.3rem;
  margin: 0 0.15rem;
}
.th-archive__group {
  margin-bottom: 3rem;
}

.th-ccgroup__head {
  margin-bottom: 1.25rem;
}
.th-ccgroup__head h2 {
  margin-top: 0;
  border-left: none !important;
  padding: 0 !important;
}
.th-ccgroup__cclink {
  color: #a91b47;
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.th-ccgroup__cclink:hover {
  text-decoration: underline;
}
.th-ccgroup__cclink:hover .th-ccgroup__cclink-arrow {
  -webkit-transform: translateX(0.25rem);
          transform: translateX(0.25rem);
}
.th-ccgroup__cclink-arrow {
  margin-left: 0.5rem;
  font-size: 0.5em;
  vertical-align: middle;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.th-ccgroup__badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15em 0.7em;
  border-radius: 999px;
  background: #d4af37;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}
.th-ccgroup__body--split {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 2rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media (max-width: 959px) {
  .th-ccgroup__body--split {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 781px) {
  .th-ccgroup__body--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.th-ccgroup__media {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}
.th-ccgroup__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.th-ccgroup__media:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.th-ccgroup__ships {
  min-width: 0;
}

.th-archive__empty {
  padding: 3rem 1rem;
  text-align: center;
  color: #666;
}
.th-archive__empty p {
  margin: 0 0 1rem;
}
.th-archive__empty p:last-child {
  margin-bottom: 0;
}
.th-archive__pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 3rem;
}
.th-archive__pager .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  margin: 0 0.2rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  color: #333;
  text-decoration: none;
  -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.th-archive__pager .page-numbers:hover, .th-archive__pager .page-numbers.current {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-archive__pager .page-numbers.dots, .th-archive__pager .page-numbers.dots:hover {
  background: transparent;
  border-color: transparent;
  color: #333;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/**
 * 汎用カード（クルーズ商品 card-tour.php／客船 card-ship.php 共通）。
 * 構造：<a.th-card> ＞ __thumb(__img/__noimg ＋ __badge) ＋ __body(__eyebrow・__title・__meta・__price)。
 * 表示する要素はカードごとに取捨する（tour＝バッジ/価格あり・タイトル3行clamp／ship＝シンプル）。
 */
.th-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.th-card:hover {
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.th-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
}
@media (max-width: 599px) {
  .th-card__thumb {
    aspect-ratio: 16/9;
  }
}
.th-card__thumb {
  background: #f2eee5;
  overflow: hidden;
}
.th-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.th-card__noimg {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f2eee5;
  background-image: var(--th-noimg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #ddd;
}
.th-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: #a91b47;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.th-card__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem 1rem;
}
@media (max-width: 599px) {
  .th-card__body {
    padding: 0.5rem 0.5rem 0.6rem;
  }
}
.th-card__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #a91b47;
}
.th-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 599px) {
  .th-card__title {
    font-size: 0.9rem;
  }
}
.th-card__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 599px) {
  .th-card__desc {
    font-size: 0.8rem;
  }
}
.th-card__desc--full {
  display: block;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;
}
.th-card__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  font-size: 0.85rem;
  color: #666;
}
@media (max-width: 599px) {
  .th-card__meta {
    font-size: 0.8rem;
  }
}
.th-card__price {
  margin-top: 0.15rem;
  color: #a91b47;
  font-weight: 700;
  font-size: 1.1rem;
}

.th-cardgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 959px) {
  .th-cardgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .th-cardgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.th-morelink {
  margin-top: 2rem;
  text-align: center;
}
.th-morelink .th-btn {
  min-width: 22rem;
  max-width: 100%;
}
@media (max-width: 599px) {
  .th-morelink .th-btn {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 599px) {
  .th-morelink {
    margin-top: 1.5rem;
  }
}

/**
 * カードスライダー（.th-slider）。TOP の「おすすめ特集／今イチオシのツアー／目的・特徴で探す」で使用。
 * 方針：**画面からあふれる時だけスライダー**にする。カードはグリッドと同じ 4/2/2 列
 * （PC/タブレット/スマホ）の固定幅で横に並べ、収まる時はグリッド行と同じ見た目、あふれる時だけ
 * JS（common.js）が `.is-active` を付けてナビ（前後ボタン＋ドット）を表示し横スクロールさせる。
 * トンマナはサイト規約（design-system）：白丸ボタン・$light-gray 枠・ホバーでアクセント塗り／ドットは
 * $light-gray→アクセント。モックのゴールド等は使わない。
 */
.th-slider__viewport {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-block: 0.75rem 1.75rem;
  margin-block: -0.375rem -1.375rem;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.th-slider__viewport::-webkit-scrollbar {
  display: none;
}
@media (max-width: 599px) {
  .th-slider__viewport {
    gap: 0.5rem;
  }
}
.th-slider__viewport.is-dragging {
  -ms-scroll-snap-type: none;
      scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: -webkit-grabbing;
  cursor: grabbing;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.th-slider__viewport > * {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc((100% - 3rem) / 3.4);
          flex: 0 0 calc((100% - 3rem) / 3.4);
  scroll-snap-align: start;
}
@media (max-width: 959px) {
  .th-slider__viewport > * {
    -ms-flex-preferred-size: calc((100% - 1rem) / 2.4);
        flex-basis: calc((100% - 1rem) / 2.4);
  }
}
@media (max-width: 599px) {
  .th-slider__viewport > * {
    -ms-flex-preferred-size: calc((100% - 0.5rem) / 1.2);
        flex-basis: calc((100% - 0.5rem) / 1.2);
  }
}
.th-slider.is-active .th-slider__viewport {
  cursor: -webkit-grab;
  cursor: grab;
}
@media (max-width: 599px) {
  .th-slider .th-card__body {
    padding: 0.85rem 0.9rem 1rem;
  }
  .th-slider .th-card__eyebrow {
    font-size: 0.85rem;
  }
  .th-slider .th-card__title {
    font-size: 1.1rem;
  }
  .th-slider .th-card__desc {
    font-size: 0.9rem;
  }
  .th-slider .th-card__meta {
    font-size: 0.9rem;
  }
}
.th-slider__nav {
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.th-slider.is-active .th-slider__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.th-slider__arrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #a91b47;
  font-size: 1rem;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.th-slider__arrow:hover {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}
.th-slider__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: #fff;
  border-color: #ddd;
  color: #a91b47;
}
.th-slider__dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.th-slider__dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
.th-slider__dot.is-active {
  background: #a91b47;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

/**
 * お知らせ（archive-news）：タブナビ（.th-tabnav）＋お知らせリスト（.th-newslist）。
 * タブは絞り込みのアウトラインピル（datalist のチップと同idiom）。リストは 日付＋分類バッジ＋タイトル。
 */
.th-tabnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.th-tabnav__tab {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.th-tabnav__tab:hover {
  border-color: #a91b47;
  color: #a91b47;
}
.th-tabnav__tab.is-active {
  background: #a91b47;
  border-color: #a91b47;
  color: #fff;
}

.th-newslist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ddd;
}
.th-newslist__item {
  border-bottom: 1px solid #ddd;
}
.th-newslist__link {
  display: grid;
  grid-template-columns: 5.5rem 8.5rem minmax(0, 1fr);
  grid-template-areas: "date cat title";
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0 1rem;
  padding: 1rem 0.5rem;
  text-decoration: none;
  color: #333;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.th-newslist__link:hover {
  background: #f2eee5;
}
.th-newslist__link:hover .th-newslist__title {
  color: #a91b47;
  text-decoration: underline;
}
@media (max-width: 781px) {
  .th-newslist__link {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "date cat" "title title";
    gap: 0.35rem 0.5rem;
  }
}
.th-newslist__date {
  grid-area: date;
  font-size: 0.9rem;
  color: #666;
  font-variant-numeric: tabular-nums;
}
.th-newslist__cat {
  grid-area: cat;
  justify-self: start;
  display: inline-block;
  max-width: 100%;
  padding: 0.12rem 0.7rem;
  border-radius: 999px;
  background: #a91b47;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.th-newslist__title {
  grid-area: title;
  min-width: 0;
  font-weight: 500;
  line-height: 1.5;
}

/**
 * シンプル記事ページ（特集 report ／ デフォルト投稿 post＝クルーズガイド記事）。
 * template-parts/simple-article.php（single-report.php / single-post.php から共用）に対応。
 * SWELL標準の記事ヘッダー（タイトル＋日付）・SNSシェアは出さず、
 * 共通のタイトル帯（.th-pagehead＋--center/--left）→ アイキャッチ → 本文 の順で並べる。
 * 本文はSWELL標準ブロック（.post_content）なので、ここではアイキャッチの見た目のみ担当。
 */
.single-report .l-content,
.single-post .l-content {
  padding-top: 0;
}

.th-article .th-pagehead {
  padding: 3rem 0 0;
  margin-bottom: 2rem;
}
@media (max-width: 959px) {
  .th-article .th-pagehead {
    padding-top: 2rem;
    margin-bottom: 1.5rem;
  }
}
.th-article .th-pagehead::before {
  content: none;
}
.th-article .th-pagehead__title {
  font-size: 2.2rem;
}
@media (max-width: 599px) {
  .th-article .th-pagehead__title {
    font-size: 1.4rem;
  }
}
.th-article .l-mainContent__inner > .post_content {
  margin-top: 0;
}
.th-article__thumb {
  margin: 0 0 2rem;
}
@media (max-width: 959px) {
  .th-article__thumb {
    margin-bottom: 1.5rem;
  }
}
.th-article__thumb picture {
  display: block;
}
.th-article__thumb-img {
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
}

/**
 * GCBブロック「おすすめクルーズ」（blocks/th-tour-pickup/block.php）。
 * 固定ページ・LPの本文の途中に差し込むセクション。
 * 中身は既存の共通パーツ（見出し .th-sechd／カード .th-card／スライダー .th-slider／導線 .th-morelink）で、
 * ここは「本文中に置いたときの上下余白」と「本文（.post_content）のリンク装飾を持ち込ませない」だけを担当する。
 */
.th-tourpickup {
  margin-block: 3rem;
}
@media (max-width: 781px) {
  .th-tourpickup {
    margin-block: 2rem;
  }
}
.th-tourpickup a {
  text-decoration: none;
}
.th-tourpickup--preview .th-card {
  pointer-events: none;
  cursor: default;
}
.th-tourpickup .th-card__title {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 599px) {
  .th-tourpickup .th-card__title {
    font-size: 0.9rem;
  }
}
.th-tourpickup .th-card__title::before, .th-tourpickup .th-card__title::after {
  content: none;
}
.th-tourpickup__empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed #ddd;
  border-radius: 0.6rem;
  background: #f2eee5;
  color: #333;
  font-size: 0.9rem;
  text-align: center;
}

/**
 * アンカーナビ（ページ内リンク／目次）。tour・cs 詳細で共通利用。
 *
 * 要件：全リンク同じ幅（gridの等幅カラム）／文字は折り返さない（nowrap）／
 * 数が多ければ複数行。最小幅は最長ラベルが折り返さない値（既定 19rem）。
 * ラベルがさらに長いページは `--th-anchornav-min` を上書きする。
 * 狭い画面は min(100%, …) で自動的に1カラムへ。
 */
.th-anchornav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--th-anchornav-min, 19rem)), 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 599px) {
  .th-anchornav {
    gap: 0.5rem;
  }
}
.th-anchornav__item {
  padding: 0.85rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (max-width: 599px) {
  .th-anchornav__item {
    padding: 0.75rem 0.6rem;
  }
}
.th-anchornav__item:hover {
  color: #fff;
  background: #a91b47;
  border-color: #a91b47;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
}
.th-anchornav__item:hover .th-anchornav__icon {
  color: #fff;
}
.th-anchornav__icon {
  margin-left: 0.6rem;
  font-size: 1.2em;
  color: #a91b47;
}

/**
 * 全ページ共通のフローティング「クルーズ検索」ボタン（.th-floating）。template-parts/floating.php に対応。
 * モックアップ（Floating Controls）準拠で、画面右下にアクセント地の丸ボタン1つを固定。クリックで検索モーダル。
 * ・PC（≥960px）のみ表示。スマホ／タブレット（≤959px＝mq(lg)）は非表示にし、
 *   SWELL の「フッター固定メニュー」（#fix_bottom_menu・<960px で表示）に委ねる。
 * ・SWELL 標準の「トップへ戻る」（.p-fixBtnWrap #pagetop・右下隅）の上に来るよう bottom を確保。
 */
.th-floating {
  position: fixed;
  right: 1.4rem;
  bottom: 7.5rem;
  z-index: 900;
}
@media (max-width: 959px) {
  .th-floating {
    display: none;
  }
}
.th-floating__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: #a91b47;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-box-shadow: 0 10px 30px rgba(169, 27, 71, 0.3);
          box-shadow: 0 10px 30px rgba(169, 27, 71, 0.3);
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.th-floating__btn:hover {
  color: #fff;
  opacity: 0.9;
  -webkit-transform: translateY(-0.3125rem);
          transform: translateY(-0.3125rem);
  -webkit-box-shadow: 0 15px 40px rgba(169, 27, 71, 0.4);
          box-shadow: 0 15px 40px rgba(169, 27, 71, 0.4);
}
.th-floating__icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.th-floating__label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

/**
 * SWELL のスマホ用フッター固定メニュー（#fix_bottom_menu）をモックアップのボトムバー準拠に。
 * ・左端「メニュー」トグルは本サイトでは使わないため非表示（クライアント指示 2026-07-24）。
 * ・配色＝アクセント地・白アイコン/ラベル、項目間に細い区切り線、上向きの影（モック .c-floating-group@sp）。
 * ・表示条件（幅<960px・スクロールでせり上げ・最上部では隠れる）は SWELL 標準のまま（本来仕様でOK）。
 *
 * SWELL 既定：背景は白い `::before`（`content:""; inset:0`）、文字/アイコンは #333 で
 * すべて `color:inherit`。よって `#fix_bottom_menu` の color を白にすればリンク・SVGアイコン・
 * ラベルへ一括で継承し、`::before` の背景をアクセント色にすればバー全体がアクセント地になる。
 */
#fix_bottom_menu {
  color: #fff;
  -webkit-box-shadow: 0 -4px 20px rgba(51, 51, 51, 0.15);
          box-shadow: 0 -4px 20px rgba(51, 51, 51, 0.15);
}
#fix_bottom_menu::before {
  background: #a91b47;
  opacity: 1;
}
#fix_bottom_menu .menu_list {
  height: 3.75rem;
}
#fix_bottom_menu .menu_btn {
  display: none;
}
#fix_bottom_menu .menu-item {
  position: relative;
}
#fix_bottom_menu .menu-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.4);
}
#fix_bottom_menu span {
  font-size: 0.75rem;
  margin-top: 0.5em;
}
#fix_bottom_menu svg {
  font-size: 1.5em;
}

/**
 * 検索ページ（クルーズ商品一覧＝検索結果／詳細検索）では、スマホのフッター固定メニューにある
 * 「クルーズ検索」項目も隠す（PCの丸ボタンは template-parts/floating.php 側で出力しない）。
 * ページ内に検索欄があるため（2026-09-04 村上指示）。
 * ※SWELL の項目には固有クラスが無いため、JS（common.js）が検索項目に .th-fbm-search を付ける。
 */
.th-searchpage #fix_bottom_menu .th-fbm-search {
  display: none;
}

/**
 * 詳細検索ページで、フッター固定メニューの「クルーズ検索」があった位置に差し込む
 * 「この条件で検索」項目（common.js が SWELL と同じ <li><a><i><span> 構造で注入）。
 * ★固定メニュー自体がアクセント色の帯なので、この項目だけ**白地＋アクセント文字**に反転させて
 *   「リンクではなく検索を実行するボタン」だと分かるようにする（2026-09-04 村上指摘）。
 */
#fix_bottom_menu .th-fbm-submit {
  -ms-flex-item-align: stretch;
      align-self: stretch;
  margin-top: -1px;
  position: relative;
  z-index: 1;
  background: #fff;
}
#fix_bottom_menu .th-fbm-submit::after {
  display: none;
}
#fix_bottom_menu .th-fbm-submit > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  background: #fff;
  color: #a91b47;
  font-weight: 700;
}
#fix_bottom_menu .th-fbm-submit i,
#fix_bottom_menu .th-fbm-submit span {
  color: #a91b47;
}
#fix_bottom_menu .th-fbm-submit span {
  font-weight: 700;
}
#fix_bottom_menu .th-fbm-submit .th-fbm-submit__count {
  position: absolute;
  top: 0.3rem;
  right: 0.45rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #a91b47;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
}
#fix_bottom_menu .th-fbm-submit .th-fbm-submit__count[hidden] {
  display: none;
}

/**
 * 詳細検索ページの「この条件で検索」ボタン（.th-searchfab／スマホは #fix_bottom_menu 内に注入）。
 *
 * 項目が多いページなので、どこにいても検索できるように画面へ固定する。
 * ★配置は**もともと「クルーズ検索」があった場所**に置き換える（2026-09-04 村上指示）:
 *   ・PC（≥960px）＝共通フローティング `.th-floating` と同じ右下（検索ページではそちらを出さないため）
 *   ・スマホ／タブレット（≤959px）＝SWELL のフッター固定メニューの「クルーズ検索」があった位置。
 *     他の3項目と役割が違うことが分かるよう**アクセント色で塗って目立たせる**（common.js が項目を注入）。
 */
.th-searchfab {
  position: fixed;
  right: 1.4rem;
  bottom: 7.5rem;
  z-index: 900;
}
@media (max-width: 959px) {
  .th-searchfab {
    display: none;
  }
}
.th-searchfab__btn {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border: none;
  border-radius: 50%;
  background: #a91b47;
  color: #fff;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-box-shadow: 0 10px 30px rgba(169, 27, 71, 0.3);
          box-shadow: 0 10px 30px rgba(169, 27, 71, 0.3);
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.th-searchfab__btn:hover {
  color: #fff;
  opacity: 0.9;
  -webkit-transform: translateY(-0.3125rem);
          transform: translateY(-0.3125rem);
  -webkit-box-shadow: 0 15px 40px rgba(169, 27, 71, 0.4);
          box-shadow: 0 15px 40px rgba(169, 27, 71, 0.4);
}
@media (max-width: 781px) {
  .th-searchfab__btn {
    width: 4.6rem;
    height: 4.6rem;
  }
}
.th-searchfab__icon {
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
  line-height: 1;
}
.th-searchfab__label {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}
.th-searchfab__count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.5rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: #a91b47;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.th-searchfab__count[hidden] {
  display: none;
}

/**
 * クルーズ検索モーダル（.th-search-modal）。template-parts/floating.php に対応。
 * フローティング「クルーズ検索」ボタン（.js-th-search-open）や SWELL 固定メニュー等から起動し、
 * 中身は searchform.php（.th-search）を再利用する。開閉は common.js（×・背景・Esc）。
 * 値・構造は共通モーダル（.th-modal・§6-8）に準拠：fixed inset:0／z-index:9999／背景50%／モーダル影。
 */
.th-search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 4vh 1.5rem;
  overflow-y: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.th-search-modal[hidden] {
  display: none;
}
.th-search-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.th-search-modal__inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: auto 0;
}
.th-search-modal__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.th-search-modal__close:hover {
  opacity: 1;
}
.th-search-modal__body .th-search {
  max-width: none;
  -webkit-box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
          box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/**
 * 404 ページ（404.php）。SWELLデフォルトの汎用404を本サイト向け導線に差し替えたもの。
 * タイトル帯＝共通 `.th-pagehead`。リード文＋クルーズ検索ボタン＋主要ページ導線を中央寄せで並べる。
 */
.th-404__inner {
  margin-inline: auto;
  padding-bottom: 3rem;
  text-align: center;
}
.th-404__lead {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #666;
}
.th-404__search {
  margin-bottom: 2.5rem;
}
.th-404__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.75rem;
}
.th-404__links .th-btn {
  min-width: 12rem;
}
@media (max-width: 599px) {
  .th-404__links .th-btn {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 45%;
            flex: 1 1 45%;
  }
}

/**
 * SWELLブロックボタン（loos/button）のホバー挙動を本サイトの `.th-btn` に合わせる上書き。
 *
 * SWELL 既定のホバーは「ノーマル＝黒系ドロップ影のみ・非透過・浮かない」「アウトライン(line)＝塗りのみ・
 * 浮かない・影なし」で、本サイト `.th-btn--primary`/`--outline`（浮く＋アクセント色の淡い影＋塗りは opacity）と
 * 別idiomだった。LP・固定ページ等で使う SWELL ボタンのホバーを本サイトのボタンに統一する。
 * ・色/形は既に一致（SWELL `--color_main` = `$accent-color` #a91b47）。ここでは**ホバーの動きだけ**を合わせる。
 * ・SWELL 側（`.is-style-btn_* a:hover` 等）より高い詳細度＋後読みで上書き。
 * ・対象は「ノーマル」「アウトライン」のみ（solid/shiny の独自アニメは触らない）。
 */
.is-style-btn_normal .swell-block-button__link {
  -webkit-box-shadow: 0 4px 15px rgba(169, 27, 71, 0.3);
          box-shadow: 0 4px 15px rgba(169, 27, 71, 0.3);
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.is-style-btn_normal .swell-block-button__link:hover {
  opacity: 0.8;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
  -webkit-box-shadow: 0 6px 20px rgba(169, 27, 71, 0.4);
          box-shadow: 0 6px 20px rgba(169, 27, 71, 0.4);
}

.is-style-btn_line .swell-block-button__link {
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.is-style-btn_line .swell-block-button__link:hover {
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
  -webkit-box-shadow: 0 4px 15px rgba(169, 27, 71, 0.2);
          box-shadow: 0 4px 15px rgba(169, 27, 71, 0.2);
}

/**
 * トップページ（front-page.php）。カスタムフィールド中心・GCB不使用（2026-07-20 確定）。
 * 既存 `th-*` パーツのトンマナを優先し、モックの見た目細部はコピーしない：
 *   セクション見出し＝th_section_heading()（.th-sechd）／カード＝.th-card+.th-cardgrid／
 *   ニュース＝.th-newslist／動画＝.th-videogrid／導線＝.th-morelink／ボタン＝.th-btn。
 * ここは TOP 固有（full-bleed ヒーロー・ガイドリンク・バナー・セクション縦リズム）のみ。
 */
.th-top {
  color: #333;
}
.th-top__inner {
  margin-inline: auto;
}
.th-top__section {
  position: relative;
  padding-block: 4.5rem;
}
@media (max-width: 781px) {
  .th-top__section {
    padding-block: 3rem;
  }
}
.th-top__section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: #fff;
}
.th-top__news::before, .th-top__pickup::before, .th-top__ships::before, .th-top__guide::before, .th-top__banners::before {
  background: #f2eee5;
}
.th-top {
  /* ───────── 2. クルーズニュース（ベージュ帯の上に白ボックスで囲む） ───────── */
}
.th-top__news .th-newslist {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1.5rem;
  overflow: hidden;
}
@media (max-width: 781px) {
  .th-top__news .th-newslist {
    padding: 0.25rem 1rem;
  }
}
.th-top__news .th-newslist__item:last-child {
  border-bottom: none;
}
.th-top {
  /* ───────── セクション見出し（モックアップ .section-title 準拠・TOP専用） ───────── */
}
.th-top__sechd {
  position: relative;
  margin: 0 0 3rem;
  font-family: "Shippori Mincho", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #a91b47;
}
@media (max-width: 781px) {
  .th-top__sechd {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
}
.th-top__sechd::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 3.75rem;
  height: 2px;
  background: #d4af37;
  border-radius: 1px;
}
.th-top__sechd .th-brsp {
  display: none;
}
@media (max-width: 781px) {
  .th-top__sechd .th-brsp {
    display: inline;
  }
}
.th-top__sechd-sub {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--swl-font_family, "Noto Sans JP", sans-serif);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
}
.th-top {
  /* ───────── 1. ファーストビュー＋検索（full-bleed） ───────── */
}
.th-top__hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: visible;
  z-index: 3;
}
@media (max-width: 959px) {
  .th-top__hero {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    background: #fdfbf8;
  }
}
.th-top__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f2eee5;
  overflow: hidden;
}
.th-top__hero-bg picture {
  position: absolute;
  inset: 0;
  display: block;
}
@media (max-width: 959px) {
  .th-top__hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16/9;
  }
}
.th-top__hero-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.th-top__hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.35;
}
@media (max-width: 959px) {
  .th-top__hero-overlay {
    display: none;
  }
}
.th-top__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container_size, 1200px);
  margin-inline: auto;
  padding-inline: var(--swl-pad_container, 4vw);
  padding-block: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 33rem) minmax(0, 1fr);
  gap: 2.5rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 959px) {
  .th-top__hero-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 100%;
    padding: 0;
    gap: 0;
  }
}
.th-top__hero-copy {
  color: #fff;
  width: 100%;
  margin-bottom: 2.5rem;
}
@media (max-width: 959px) {
  .th-top__hero-copy {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    background: #a91b47;
    padding: 0.75rem 0.75rem;
    text-align: center;
  }
}
.th-top__hero-title {
  margin: 0;
  font-family: "Shippori Mincho", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
@media (max-width: 959px) {
  .th-top__hero-title {
    font-size: 1.15rem;
    line-height: 1.5;
    text-shadow: none;
  }
  .th-top__hero-title br {
    display: none;
  }
}
.th-top__hero-lead {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
@media (max-width: 959px) {
  .th-top__hero-lead {
    display: none;
  }
}
.th-top__hero-search {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  width: 100%;
}
@media (max-width: 959px) {
  .th-top__hero-search {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    max-width: 100%;
    margin-inline: 0;
    padding: 0 1.25rem 2rem;
    background: #fdfbf8;
  }
}
.th-top {
  /* ───────── 7. クルーズガイド（4アイコンリンク） ───────── */
}
.th-top__guidegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 959px) {
  .th-top__guidegrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .th-top__guidegrid {
    gap: 0.6rem;
  }
}
.th-top__guideitem {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  text-decoration: none;
  color: #333;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.th-top__guideitem:hover {
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
  border-color: #a91b47;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.th-top__guideitem:hover .th-top__guideicon {
  background: #a91b47;
  color: #fff;
}
.th-top__guideicon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #f2eee5;
  color: #a91b47;
  font-size: 1.5rem;
  -webkit-transition: background 0.3s ease, color 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease;
}
.th-top {
  /* ───────── 9. バナー（静的3枚） ───────── */
}
.th-top__bannergrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 781px) {
  .th-top__bannergrid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.th-top__banner {
  display: block;
  overflow: hidden;
  border-radius: 0.6rem;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.th-top__banner:hover {
  opacity: 0.85;
}
.th-top__banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.l-header__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.5rem;
  margin-left: 1.5rem;
  line-height: 1.4;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.l-header__phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  color: #a91b47;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.l-header__phone i {
  font-size: 0.9rem;
  opacity: 0.8;
}
.l-header__phone:hover {
  text-decoration: none;
  opacity: 0.85;
}
.l-header__hours {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.3rem;
  opacity: 0.75;
  font-size: 0.95rem;
}
.l-header__inner {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 959px) {
  .l-header__inner {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    position: relative;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    min-height: 3.5rem;
  }
}
.l-header__logo {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  margin-right: auto;
  -webkit-box-align: end !important;
      -ms-flex-align: end !important;
          align-items: flex-end !important;
}
.l-header__logo .c-catchphrase {
  margin-top: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 500;
}
@media (max-width: 959px) {
  .l-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    margin: 0;
  }
  .l-header__logo img {
    height: 2.25rem;
    width: auto;
  }
}
.l-header__gnav {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  width: 100%;
  margin-left: 0 !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(0.6rem, 4.5vw - 34px, 1.5rem);
  padding: 0.8rem;
  position: relative;
}
.l-header__gnav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 1px;
  margin: 0 calc(50% - 50vw);
  background-color: rgba(51, 51, 51, 0.08);
}
.l-header__gnav .c-gnav {
  width: auto;
}
.l-header__gnav .c-gnav > .menu-item > .sub-menu {
  left: 0;
  -webkit-transform: none;
          transform: none;
}
.l-header__gnav .c-gnav .menu-item a .ttl {
  font-size: clamp(0.8rem, 0.5vw + 8px, 0.9rem);
  font-weight: 500;
}
.l-header__gnav .c-gnav .th-gnav-caret {
  margin-left: 0.6em;
  font-size: 0.8em;
  vertical-align: middle;
  opacity: 0.6;
}
.l-header__gnav .c-gnav .sub-menu {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
.l-header__gnav .c-gnav .sub-menu a:hover {
  color: #a91b47;
  background-color: rgba(169, 27, 71, 0.08);
}
.l-header__gnav .l-header__cta .th-btn {
  font-size: clamp(0.72rem, 0.4vw + 7.5px, 0.8rem);
  padding: 0.55em 1.1em;
}
@media (max-width: 959px) {
  .l-header__gnav {
    display: none;
  }
}
.l-header__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
@media (max-width: 959px) {
  .l-header__spCta {
    -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
            order: 10;
    margin-left: auto;
    padding-right: 0.8rem;
  }
}
@media (max-width: 959px) {
  .l-header .l-header__menuBtn {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
}
@media (max-width: 959px) {
  .l-header .l-header__customBtn {
    display: none;
  }
}

#fix_header .l-fixHeader__inner {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 959px) {
  #fix_header .l-fixHeader__inner {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
}
#fix_header .l-fixHeader__logo {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
#fix_header .l-fixHeader__logo .c-catchphrase {
  margin-top: 0;
  font-size: 0.85rem;
  font-weight: 500;
}
#fix_header .l-header__contact {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
#fix_header .l-fixHeader__gnav {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  width: 100%;
  margin-left: 0 !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(0.6rem, 4.5vw - 34px, 1.5rem);
  padding: 0.8rem;
  position: relative;
}
#fix_header .l-fixHeader__gnav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 1px;
  margin: 0 calc(50% - 50vw);
  background-color: rgba(51, 51, 51, 0.08);
}
#fix_header .l-fixHeader__gnav .c-gnav {
  width: auto;
}
#fix_header .l-fixHeader__gnav .c-gnav > .menu-item > .sub-menu {
  left: 0;
  -webkit-transform: none;
          transform: none;
}
#fix_header .l-fixHeader__gnav .c-gnav .menu-item a .ttl {
  font-size: clamp(0.8rem, 0.5vw + 8px, 0.9rem);
  font-weight: 500;
}
#fix_header .l-fixHeader__gnav .c-gnav .th-gnav-caret {
  margin-left: 0.6em;
  font-size: 0.8em;
  vertical-align: middle;
  opacity: 0.6;
}
#fix_header .l-fixHeader__gnav .c-gnav .sub-menu {
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
          box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
#fix_header .l-fixHeader__gnav .c-gnav .sub-menu a:hover {
  color: #a91b47;
  background-color: rgba(169, 27, 71, 0.08);
}
#fix_header .l-fixHeader__gnav .l-header__cta .th-btn {
  font-size: clamp(0.72rem, 0.4vw + 7.5px, 0.8rem);
  padding: 0.55em 1.1em;
}
@media (max-width: 959px) {
  #fix_header .l-fixHeader__gnav {
    display: none;
  }
}

.p-spMenu .c-widget__title {
  display: none;
}
.p-spMenu .p-spMenu__nav {
  margin-top: 0.5rem;
}
.p-spMenu .c-spnav a {
  padding: 1rem 1.25rem;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
}
.p-spMenu .c-spnav a:hover {
  color: #a91b47;
  background-color: #f2eee5;
}
.p-spMenu .c-spnav .sub-menu a {
  padding-left: 2.25rem;
  background-color: #f2eee5;
  font-size: 1rem;
  font-weight: 500;
}
.p-spMenu .c-submenuToggleBtn::after {
  display: none;
}
.p-spMenu .th-spnav-cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem 1.25rem;
}
.p-spMenu .th-spnav-cta .th-btn {
  width: 100%;
  font-size: 1.1rem;
}
.p-spMenu .th-spnav-cta .th-btn--outline {
  color: #a91b47;
}
.p-spMenu .th-spnav-cta .th-btn--outline:hover {
  color: #fff;
}
.p-spMenu .th-spnav-cta .th-btn--primary {
  color: #fff;
}
.p-spMenu .th-spnav-cta .th-btn--primary:hover {
  color: #fff;
}

#footer.l-footer {
  padding: 0;
}
#footer.l-footer .l-footer__company,
#footer.l-footer .l-footer__contactTitle,
#footer.l-footer .l-footer__phone,
#footer.l-footer .l-footer__linkLabel {
  color: #a91b47;
}
#footer.l-footer .l-footer__contactTag {
  color: #d4af37;
}
#footer.l-footer .l-footer__linkList a {
  color: #666;
}
#footer.l-footer .l-footer__linkList a:hover {
  color: #a91b47;
}
#footer.l-footer .l-footer__snsLink {
  color: #a91b47;
}
#footer.l-footer .l-footer__snsLink:hover {
  color: #fff;
}
#footer.l-footer .th-btn--outline {
  color: #a91b47;
}
#footer.l-footer .th-btn--outline:hover {
  color: #fff;
}
#footer.l-footer .th-btn--primary {
  color: #fff;
}

.l-footer__inner {
  padding-top: 0;
  padding-bottom: 1rem;
}
.l-footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 959px) {
  .l-footer__top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
.l-footer__brand {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.l-footer__logo img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.5rem;
}
@media (max-width: 599px) {
  .l-footer__logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }
}
.l-footer__company {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a91b47;
}
@media (max-width: 599px) {
  .l-footer__company {
    text-align: center;
    font-size: 1.25rem;
  }
}
.l-footer__address {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}
@media (max-width: 599px) {
  .l-footer__address {
    text-align: center;
  }
}
.l-footer__sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}
@media (max-width: 599px) {
  .l-footer__sns {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.l-footer__snsLink {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #a91b47;
  border-radius: 50%;
  color: #a91b47;
  text-decoration: none;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
.l-footer__snsLink:hover {
  background-color: #a91b47;
  color: #fff;
}
.l-footer__contact {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 35rem;
          flex: 0 1 35rem;
  padding: 2.5rem;
  background-color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem;
  -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
          box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
@media (max-width: 599px) {
  .l-footer__contact {
    text-align: center;
  }
}
@media (max-width: 959px) {
  .l-footer__contact {
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    padding: 1.5rem;
  }
}
.l-footer__contact:hover {
  border-color: #d4af37;
  -webkit-box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
          box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}
.l-footer__contactTag {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.l-footer__contactTitle {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #a91b47;
}
.l-footer__contactBody {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5rem;
}
.l-footer__contactMain {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
}
.l-footer__phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  color: #a91b47;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 599px) {
  .l-footer__phone {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.l-footer__hours {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 1rem;
}
@media (max-width: 599px) {
  .l-footer__hours {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .l-footer__hours svg {
    margin-top: 0.3em;
  }
}
.l-footer__btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}
@media (max-width: 781px) {
  .l-footer__btns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.l-footer__btns .th-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 1rem;
}
@media (max-width: 599px) {
  .l-footer__btns .th-btn {
    font-size: 1.1rem;
  }
}
.l-footer__divider {
  height: 0;
  border: none;
  border-top: 1px solid rgba(51, 51, 51, 0.08);
  margin: 0 0 2.5rem;
}
.l-footer__linkRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2.5rem;
  padding: 1rem 0;
}
.l-footer__linkRow:not(:last-of-type) {
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}
@media (max-width: 781px) {
  .l-footer__linkRow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.75rem;
  }
}
@media (max-width: 599px) {
  .l-footer__linkRow {
    padding: 1.5rem 0;
  }
}
.l-footer__linkLabel {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 10rem;
  font-size: 1rem;
  font-weight: 700;
  color: #a91b47;
}
@media (max-width: 599px) {
  .l-footer__linkLabel {
    font-size: 1.2rem;
  }
}
@media (max-width: 781px) {
  .l-footer__linkLabel {
    width: auto;
  }
}
.l-footer__linkList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  row-gap: 0.5rem;
}
.l-footer__linkList a {
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
@media (max-width: 599px) {
  .l-footer__linkList a {
    font-size: 1rem;
  }
}
.l-footer__linkList a:hover {
  color: #a91b47;
  text-decoration: underline;
}
.l-footer__linkList a:not(:last-child)::after {
  content: "|";
  margin: 0 0.9rem;
  color: rgba(51, 51, 51, 0.25);
  font-weight: 300;
}
@media (max-width: 781px) {
  .l-footer__linkList a:not(:last-child)::after {
    margin: 0 0.5rem;
  }
}
.l-footer__bottom {
  padding: 1.875rem 0;
  border-top: 1px solid rgba(51, 51, 51, 0.08);
  text-align: center;
  color: #666;
  background-color: #fdfbf8;
}
.l-footer__legal {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.l-footer__copy {
  margin: 0;
  font-size: 0.8rem;
}
/*# sourceMappingURL=style.css.map */