@charset "UTF-8";

:root {
  --light-gray: #f5f5f5;
}

/* ---------------- アクセス／特別サービス セクションの共通レイアウト ---------------- */

/* 新しいクラス名に対応するスタイル */

/* .c-contents-links {
  display: flex;
  margin-bottom: 2rem;
  flex-wrap: wrap;
} */

.page_block {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #fafafa;
  border-radius: 10px;
}

.page_block_title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0c3387;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
  border-radius: 8px;
}

/* .unit_table {
  margin: 1.5rem 0;
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} */

.unit_table dt {
  font-weight: 700;
  color: #0c3387;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  display: inline-block;
}

.unit_table dd {
  margin-bottom: .5rem;
  padding-left: 1rem;
  color: #333;
  display: inline-block;
}

/* .unit_table::after {
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100px;
    background: #000000;
} */

/* ボタンとリンクのスタイル */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0c3387 0%, #1a4ba0 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(12, 51, 135, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 51, 135, 0.4);
  color: #fff;
}

.btn span {
  position: relative;
  z-index: 1;
}

.bus-reserve-badge {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.6em;
  color: #c40000;
  border: 1px solid #c40000;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 700;
  text-decoration: none;
}

.bus-reserve-badge:hover,
.bus-reserve-badge:focus {
  background-color: rgba(196, 0, 0, 0.1);
  color: #c40000;
}

/* テキストスタイル */
.font_bold, .font-bold {
  font-weight: 700;
}

.text12 {
  font-size: 0.75rem;
}

.text18 {
  font-size: 1.125rem;
}

.indent {
  text-indent: 1em;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

/* マージンとパディングのユーティリティ */
.mgt5 { margin-top: 0.3125rem; }
.mgt10 { margin-top: 0.625rem; }
.mgt20 { margin-top: 1.25rem; }
.mgt25 { margin-top: 1.5625rem; }
.mgb20 { margin-bottom: 1.25rem; }
.pdr10 { padding-right: 0.625rem; }
.pd_left { padding-left: 1rem; }

/* スクリーンリーダー用の非表示テキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 特定の日程に関するスタイル */
.only_15-17 {
  color: #74f676;
  font-weight: 600;
}

.only_17 {
  color: #f8ea52;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .c-section-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .c-sub-section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .c-contents-links {
    gap: 0;
  }
  
  .c-contents-links__item {
    text-align: center;
    padding: 10px 16px;
  }
  
  .c-mini-title {
    font-size: 1.2rem;
  }
  
  .page_block {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .page_block_title {
    font-size: 1.4rem;
    padding: 0.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ---------------- 高速バス時刻表 ---------------- */
.bus_info .c-aside-section {
    margin-top: 20px;
    display: flex;
    justify-content: start;
    gap: 3%;
    padding: 20px;
}

.bus_info .c-sub-section-title {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.bus_info .page_block {
  padding: 0;
  background-color: #fff;
}

.bus_info .c-contents-links__item--2col {
    background-color: #fff0f6;
}

.bus_info .c-contents-links__item--2col:nth-child(n + 3),
.bus_info .c-contents-links__item--2col:nth-child(n + 4) {
    background-color: #ecf8ff;
}

.text_small {
    font-size: .8em;
}

.indent {
    padding-left: 1em;
    text-indent: -1em;
}

.scrollbox {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 12px;
  position: relative;
}

.scrollbox.flex_col2 {
  display: flex;
  gap: 3%;
}

.scrollbox .info_area {
  padding: 10px 30px;
  background: #f9f9f9;
  box-sizing: border-box;
}

.scrollbox .info_area .font_bold {
    font-weight: 700;
}

.scrollbox .info_area .pd_left {
    padding-left: .5em;
}

.bus_tb_style {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid #d5d5d5;
  background-color: #fff;
  font-size: 0.95rem;
  table-layout: fixed;
}

.bus_tb_style.w50 {
  width: 50%;
  min-width: 450px;
}

.bus_tb_style caption {
  padding: 10px 0;
  font-weight: 700;
  text-align: left;
  color: #c40a23;
}

.bus_tb_style th,
.bus_tb_style td {
  padding: 14px 12px;
  border: 1px solid #d5d5d5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  min-width: 92px;
}

.bus_tb_style thead th {
  background-color: #0c3387;
  color: #fff;
  font-weight: 700;
}

.bus_tb_style tbody th {
  background-color: var(--light-gray);
  color: #000;
  text-align: left;
  font-weight: 700;
  text-align: center;
  min-width: 136px;
  white-space: normal;
}

.bus_tb_style tbody tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.bus_tb_style .mini {
  width: 60px;
  font-size: 0.85em;
  /* color: #6f6f6f; */
  background-color: #fafafa;
  min-width: 120px;
}

.bus_tb_style .day18 {
  background-color: #fff4f5;
  color: #c40a23;
  font-weight: 700;
}

.bus_tb_style th.narrow,
.bus_tb_style td.narrow {
  width: 60px;
  min-width: 60px;
}

.bus_info .bus_stop {
  padding-top: 20px;
}

.bus_info .bus_stop img {
  display: block;
  width: 100%;
  height: auto;
}

.bus_info .reservation{
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #dedede;
}

.l-2column-contents__main.bus_info .btn {
  position: relative;
  width: 80%;
  padding-right: 3rem;
}

.l-2column-contents__main.bus_info .btn::after {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.bus_tb_style tbody tr td.only_15-17 {
  background: #cffed0;
}

#sec04 span.only_15-17 {
  color: #74f676;
}

#sec04 span.only_17 {
  color: #f8ea52;
}

.bus_tb_style tbody tr td.only_17 {
  background: #fff79b;
}

.bus_tb_style th.wide,
.bus_tb_style td.wide {
  width: 140px;
  min-width: 140px;
}

.bus_tb_style th.wide.more,
.bus_tb_style td.wide.more {
  width: 170px;
  min-width: 170px;
}

.reservation .qr_area {
  width: 30%;
}

.bus_info_area {
  margin: 20px 0;
}

.bus_tb_style .txt_small{
  font-size: .9rem;
}

.list_2column {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list_2column li {
  width: calc(50% - 0.75rem);
}

.c-contents-links {
  justify-content: stretch;
  gap: 0;
}

.c-contents-links__item--3col {
  margin-right: 0;
  width: calc(34% - 5px);
}

.c-contents-links__item--3col {
    border-radius: 5px 0 0 0;
}

.c-contents-links__item--3col:nth-child(2) {
    border-radius: 0 0 0 0;
    border-left: 0;
}

.c-contents-links__item--3col:nth-child(3) {
    border-radius: 0 5px 0 0;
    border-left: 0;
}

.sp_only {
  display: none;
}

.bus_list {
  width: 100%;
}


@media screen and (min-width: 1000px) {
  #sec04 .scrollbox:not(.flex_col2) .bus_tb_style {
    min-width: 600px;
  }
}


@media screen and (max-width: 1000px) {

  .bus_tb_style {
    table-layout: auto;
  }

  .bus_tb_style.w50 {
  width: 50%;
    min-width: 410px;
  }
}

@media screen and (max-width: 990px) {
  .bus_info {
    display: block;
  }

  .bus_info .reservation,
  .bus_info .bus_stop {
    width: 100%;
  }

}

@media screen and (max-width: 950px) {
  .scrollbox.flex_col2 {
    flex-direction: column;
    overflow-x: hidden;
  }

  .scrollbox .info_area {
    margin-top: 20px;
    width: 100%;
    overflow-x: hidden;
  }

  .scrollbox.flex_col2 .bus_tb_style,
  .scrollbox.flex_col2 .bus_tb_style.w50 {
    width: 100%;
    min-width: auto;
    table-layout: auto;
  }

  .scrollbox.flex_col2 .bus_tb_style th,
  .scrollbox.flex_col2 .bus_tb_style td {
    min-width: auto;
    white-space: normal;
    padding: 10px 8px;
  }

  .scrollbox.flex_col2 .bus_tb_style .mini,
  .scrollbox.flex_col2 .bus_tb_style .narrow,
  .scrollbox.flex_col2 .bus_tb_style .wide {
    min-width: auto;
    width: auto;
  }
}

@media screen and (max-width: 720px) {
  .scrollbox {
    padding-bottom: 0px;
    margin-top: 0px;
  }

  .bus_tb_style {
    font-size: 0.92rem;
    min-width: 640px;
  }

  .bus_tb_style th,
  .bus_tb_style td {
    min-width: 88px;
  }

  .scrollbox.flex_col2 .bus_tb_style {
    min-width: auto;
    width: 100%;
  }

  .bus_tb_style .mini {
    min-width: 110px;
  }

  .bus_tb_style th.wide,
  .bus_tb_style td.wide {
    min-width: 140px;
  }
}


@media screen and (max-width: 640px) {
  .bus_tb_style {
    min-width: 520px;
  }

  .bus_tb_style caption {
    padding: 12px 0;
  }
}

@media screen and (max-width: 540px) {
  .list_2column {
    flex-direction: column;
  }

  .list_2column li {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .bus_info .c-aside-section {
      display: flex;
      flex-direction: column;
      justify-content: start;
  }

  .bus_info .reservation {
    flex-direction: column;
  }

  .reservation .qr_area {
    width: 50%;
    margin-top: 10px;
  }
}

@media screen and (max-width: 500px) {
  .sp_only {
  display: block;
  }
}

@media screen and (max-width: 480px) {
  .c-contents-links {
    flex-direction: column;
  }

  .c-contents-links--3item a,
  .c-contents-links--4item a {
    width: 100%;
  }

  .bus_info .c-contents-links__item {
    width: 100%;
  }

  .c-contents-links__item--3col {
    border-radius: 5px 5px 0 0;
  }

  .c-contents-links__item--3col:nth-child(2) {
      border-radius: 0 0 0 0;
      border-top: 0;
      border-left: 1px solid #ccc;
  }

  .c-contents-links__item--3col:nth-child(3) {
      border-radius: 0 0 5px 5px;
      border-top: 0;
      border-left: 1px solid #ccc;
  }

  .c-contents-links__item--2col {
    border-radius: 5px 5px 0 0;
  }

    .c-contents-links__item--2col:nth-child(2) {
    border-radius: 0 0 0 0;
    border-left: 1px solid #ccc;
    border-top: 0;
  }

    .c-contents-links__item--2col:nth-child(3) {
      border-radius: 0 0 0 0;
    }

    .c-contents-links__item--2col:nth-child(4) {
    border-radius: 0 0 5px 5px;
    border-left: 1px solid #ccc;
    }

    .bus_info .c-sub-section-title {
      flex-direction: column;
    }

    .c-price-exhibitors__box {
      font-size: 12px;
      padding: 3px 8px;
      width: 70px;
      text-align: center;
    }
}

@media screen and (max-width: 100px) {
  .bus_tb_style {
    font-size: 0.88rem;
  }

  .bus_tb_style th,
  .bus_tb_style td {
    font-size: 0.88rem;
  }
}
