@charset "UTF-8";
@media print, screen and (min-width: 769px) {
  .c-resource-link {
    margin: 0rem 0 -8rem auto;
  }
}
@media (max-width: 768px) {
  .c-resource-link {
    margin: 0 auto 2rem;
  }
}

.price-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 既存のボタン・共通スタイル */
.btn-inquiry-hover {
  border: 2px solid #0055cb !important;
  color: #0055cb !important;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 30px;
}
.btn-inquiry-hover span {
  color: #004cb7 !important;
}
.btn-inquiry-hover:hover {
  background-color: #0055cb !important;
  color: #ffffff !important;
  text-decoration: none;
}
.btn-inquiry-hover:hover span {
  color: #ffffff !important;
}

/* レイアウト：ダウンロードエリア */
.header-actions {
  margin-top: 35px;
  margin-bottom: 15px;
}

.download-area {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
}

.btn-responsive-custom {
  margin-bottom: 1rem;
  width: 340px;
}

/* 検索エリアのデザイン：常にスクロールに追従（Sticky） */
.search-container {
  background: #ffffff;
  padding: 1.5rem;
  border: 2px solid #bbbbbb;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 60rem;
  position: sticky; /* スクロール追従 */
  top: 100px; /* 画面上端からの位置 */
  z-index: 100; /* テーブルのヘッダーなどより前面に */
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .search-container {
    position: relative;
    top: 0;
  }
}

.search-label {
  font-weight: bold;
  margin-bottom: 6px;
  display: block;
  color: #333;
  font-size: 13px;
}

.search-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* カスタムマルチセレクト */
.multi-select-container {
  position: relative;
  flex: 1;
}

.select-box {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  min-height: 38px;
}
.select-box::after {
  content: "▼";
  font-size: 9px;
  color: #666;
  margin-left: 5px;
}

.checkboxes-wrapper {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 2010;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 8px;
  border-radius: 0 0 5px 5px;
}
.checkboxes-wrapper.active {
  display: block;
}

.opt-group-label {
  display: block;
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px 8px;
  margin: 5px 0;
  font-size: 11px;
}

.room-option {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
}
.room-option:hover {
  background-color: #f0f7ff;
}
.room-option input {
  margin-right: 8px;
  cursor: pointer;
}

/* 検索をクリアボタン */
.btn-reset {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 0 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  transition: all 0.2s;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .btn-reset {
    margin-left: auto;
    margin-top: 1rem;
  }
}
.btn-reset:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

/* マーカー（ハイライト）背景アニメーション */
@keyframes markerHighlight {
  0% {
    background-color: transparent;
  }
  2% {
    background-color: #fffec9;
  }
  98% {
    background-color: #fffec9;
  }
  100% {
    background-color: transparent;
  }
}
.highlight-marker td {
  animation: markerHighlight 20s ease-in-out forwards;
  border-color: #fffec9 !important;
  position: relative;
}

/* 枠線の設定 */
.highlight-top td {
  border-top: 3px solid #ffcc00 !important;
}

.highlight-left-edge {
  border-left: 3px solid #ffcc00 !important;
}

.highlight-right-edge {
  border-right: 3px solid #ffcc00 !important;
}

/* ==========================================================================
   テーブルデザイン刷新 ( assets/images/price-table.jpg に基づく )
   ========================================================================== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 30px;
}
.price-table th,
.price-table td {
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
  font-size: 1.4rem;
}
.price-table thead tr:nth-child(1) {
  height: 3.5rem;
}
.price-table thead tr:nth-child(1) th {
  border-top: #a2a4a7 1px solid;
}
.price-table thead tr:nth-child(1) th.th-room-empty {
  border-top: 0 !important;
}
.price-table thead tr:nth-child(1) th[rowspan="2"] {
  border-bottom: #a2a4a7 1px solid;
}
.price-table thead tr:nth-child(2) th {
  border-bottom: #a2a4a7 1px solid;
}
.price-table th {
  padding: 0.9rem 1.2rem;
  font-weight: bold;
  font-size: 1.4rem;
  background-color: #dedede;
  border-left: #a2a4a7 1px solid;
  white-space: nowrap;
}
.price-table th.th-layout {
  padding: 0.5rem;
  line-height: 1.4;
  border-bottom: 1px solid #a2a4a7 !important;
}
.price-table th.th-table {
  border-left: 0;
}
.price-table th .time-range {
  white-space: nowrap;
  font-size: 1.2rem;
  display: block;
}
.price-table tr td {
  background-color: #fff;
  border-left: 1px solid #dedede;
}
.price-table tr td.is-paid-layout {
  background-color: #e5fbe0 !important;
}
.price-table tr td.shima {
  border-bottom: 1px solid #dedede;
}
.price-table tr td[rowspan="2"] {
  border-bottom: 1px solid #a2a4a7 !important;
}
.price-table tr:nth-child(even) td {
  border-bottom: 1px solid #a2a4a7;
  background-color: #def0fe !important;
}
.price-table .th-room-empty {
  background-color: transparent;
  border: 0;
}
.price-table .th-room {
  width: 8.8rem;
}
.price-table .th-extend-title {
  font-size: 1.4rem;
  border-bottom: 1px solid #a2a4a7;
}
td:last-child,
th:last-child {
  border-right: #a2a4a7 1px solid;
}

.price-table tr td.room-name {
  border-left: #a2a4a7 1px solid;
}

th.th-table {
  border-left: #a2a4a7 1px solid !important;
}

.room-name {
  width: 13.8rem !important;
  background-color: #dedede !important;
}
.room-name a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 8rem;
  font-size: 1.4rem;
  text-decoration: none;
  color: #333333; /* リンクの青色を黒に */
  font-weight: bold;
  transition: background-color 0.2s;
}
.room-name a:hover {
  background-color: #dfdfdf;
}
.room-name .room-area {
  font-size: 1.4rem;
  font-weight: bold;
}

.th-time-type {
  width: 7.4rem;
  font-size: 1.2rem !important;
}

.use-type {
  font-weight: bold;
  background-color: #ffffff;
  color: #333333;
  font-size: 1.2rem !important;
  height: 4.4rem;
}

.is-holiday {
  height: 4.4rem;
  background-color: #f7f7f7 !important;
}

/* 多目的ラウンジ等の特例部屋名スタイル */
.room-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 1.4rem;
}
.room-title-name {
  font-weight: bold;
}
.room-title-note {
  font-weight: normal;
  font-size: 1.2rem;
  text-align: right;
  display: block;
  width: 100%;
  text-align: right;
}

table tr:nth-child(even) td.is-paid-layout {
  background-color: #e5fbe0 !important;
}
table tr:nth-child(even) td.shima {
  border-bottom: 1px solid #dedede;
}

/* 見出しのスタイル */
.heading_main {
  border-bottom: 3px solid #bbbbbb;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* 非表示用クラス */
.d-none {
  display: none !important;
}

/* フッターの注意事項 */
.price-note-primary {
  font-size: 90%;
}

.price-note-secondary {
  font-size: 83%;
}

.price-notes-spacer {
  margin-bottom: 15px;
}

.price-table-note {
  text-align: right;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 767px) {
  .price-table-note {
    margin-top: -8.6rem;
    margin-bottom: 3rem;
  }
  .search-controls {
    display: block;
  }
  .price-table-wrapper {
    margin-right: -1.5rem;
  }
  .price-table {
    width: 130rem;
  }
  .price-table th {
    font-size: 1.2rem;
  }
  .room-name {
    font-size: 1.4rem !important;
  }
  .price-table th,
  .price-table td {
    font-size: 1.2rem;
  }
  .th-extend {
    padding-bottom: 0.25rem !important;
    padding-top: 0.25rem !important;
  }
}
#room_1203 td.td-ro,
#room_1204 td.td-ro,
#room_1205 td.td-ro,
#room_1206 td.td-ro,
#room_1207 td.td-ro,
#room_1212 td.td-ro,
#room_1604 td.td-ro,
#room_1605 td.td-ro,
#room_1606 td.td-ro,
#room_1613 td.td-ro,
#room_1614 td.td-ro,
#room_1600 td.td-ro {
  background-color: #e5fbe0 !important;
}

@media (max-width: 768px) {
  .para,
  .search-container {
    display: none;
  }
}
