@charset "utf-8"; /* 文字エンコーディングを指定 */

/* フェードインアニメーションの定義 */
@keyframes fadeIn {
    0% {
        opacity: 0; /* 初期状態は透明 */
    }
    100% {
        opacity: 1; /* 最終状態は不透明 */
    }
}

/* 全ての要素に対してボックスサイズを設定 */
* {
    -webkit-box-sizing: border-box; /* ボックスサイズをborder-boxに設定（Webkit用） */
    box-sizing: border-box; /* ボックスサイズをborder-boxに設定 */
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    zoom: 1; /* ズームを1に設定 */
}

/* 擬似要素に対してもボックスサイズを設定 */
*:before, *:after {
    -webkit-box-sizing: border-box; /* ボックスサイズをborder-boxに設定（Webkit用） */
    box-sizing: border-box; /* ボックスサイズをborder-boxに設定 */
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
}

/* HTML要素の設定 */
html {
    overflow-y: scroll; /* 縦スクロールを常に表示 */
}

/* 画面幅が750px以下の場合のスタイル */
@media(max-width:750px){
    body {
        justify-content: center; /* 水平方向に中央揃え */
        align-items: center; /* 垂直方向に中央揃え */
        height: 100vh; /* ビューポートの高さを100%に設定 */
        margin: 0; /* マージンをリセット */
        position: relative; /* 相対位置に設定 */
        width: 90%; /* 画面幅の90%を使用 */
        text-align: center; /* テキストを中央揃え */
        /* margin-top: 1%; 上マージンを1%に設定 */
        margin-left: 5%; /* 左マージンを5%に設定 */
        margin-right: 5%; /* 右マージンを5%に設定 */
        font-size: 16px; /* フォントサイズを16pxに設定 */
        overflow-wrap: break-word; /* 収まらない場合に折り返す */
        word-break: normal; /* 単語の分割はデフォルトに依存 */
        line-break: strict; /* 禁則処理を厳格に適用 */
        color: #222222; /* テキストカラーを#222222に設定 */
        background-repeat: repeat-x; /* 背景画像を横方向に繰り返す */
        background-color: #f2f0ee;
        font-weight: 400; /* フォントウェイトを400に設定 */
        font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; /* フォントファミリーを設定 */
        -webkit-font-smoothing: antialiased; /* フォントのアンチエイリアスを有効にする（Webkit用） */
        text-size-adjust: 100%!important; /* テキストサイズの調整を100%に設定 */
    }
}

/* 画面幅が751px以上の場合のスタイル */
@media(min-width:751px){
  body {
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    height: 100vh; /* ビューポートの高さを100%に設定 */
    margin: 0; /* マージンをリセット */
    position: relative; /* 相対位置に設定 */
    width: 52%; /* 画面幅の52%を使用 */
    text-align: center; /* テキストを中央揃え */
    /* margin-top: 1%; 上マージンを1%に設定 */
    margin-left: 24%; /* 左マージンを24%に設定 */
    margin-right: 24%; /* 右マージンを24%に設定 */
    font-size: 16px; /* フォントサイズを16pxに設定 */
    overflow-wrap: break-word; /* 収まらない場合に折り返す */
    word-break: normal; /* 単語の分割はデフォルトに依存 */
    line-break: strict; /* 禁則処理を厳格に適用 */
    color: #222222; /* テキストカラーを#222222に設定 */
    background-repeat: repeat-x; /* 背景画像を横方向に繰り返す */
    background-color: #f2f0ee;
    font-weight: 400; /* フォントウェイトを400に設定 */
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; /* フォントファミリーを設定 */
    -webkit-font-smoothing: antialiased; /* フォントのアンチエイリアスを有効にする（Webkit用） */
    text-size-adjust: 100%!important; /* テキストサイズの調整を100%に設定 */
  }
} 

/* リストのスタイル */
ul{
  text-align: center; /* テキストを中央揃え */
}
li{
  display: inline-block; /* インラインブロック要素に設定 */
  list-style: none; /* リストスタイルをなしに設定 */
}

/* フォームコンテナのスタイル */
.form-container {
    background-color: #fff; /* 背景色を白に設定 */
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: auto; /* マージンを自動に設定 */
    padding: 20px; /* パディングを20pxに設定 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* ボックスシャドウを設定 */
}

/* フォームグループのスタイル */
.form-group {
    margin-bottom: 15px; /* 下マージンを15pxに設定 */
    display: flex; /* フレックスボックスを使用 */
    flex-direction: row; /* フレックス方向を横に設定 */
    align-items: center; /* アイテムを中央揃え */
    text-align: center; /* テキストを中央揃え */
}

/* フォームグループ内のセレクトボックスのスタイル */
.form-group select {
  background-color: white; /* 背景色を白に設定 */
}

/* フォームグループ2のスタイル */
.form-group2 {
    display: flex; /* フレックスボックスを使用 */
}

/* フォントサイズのスタイル */
h2 {
    font-size: 20px; /* フォントサイズを20pxに設定 */
    padding: 0.5em; /* パディングを0.5emに設定 */
}

h3 {
    width: 100%;
    height: 100%;
    text-align: center; /* テキストを中央揃え */
    position: relative; /* 相対位置に設定 */
    padding: 0.5em; /* パディングを0.5emに設定 */
    background-color: #262626; /* 背景色を#ffaa33に設定 */
    color: rgb(255, 255, 255); /* テキストカラーを黒に設定 */
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; /* フォントファミリーを設定 */
    font-size: 20px; /* フォントサイズを20pxに設定 */
}

/* フォントスタイルの定義 */
.fontStyle10 {
    font-size: 10px; /* フォントサイズを10pxに設定 */
    line-height: 16px; /* 行の高さを16pxに設定 */
}

.fontStyle12 {
    font-size: 12px; /* フォントサイズを12pxに設定 */
    line-height: 18px; /* 行の高さを18pxに設定 */
}

.fontStyle14 {
    font-size: 14px; /* フォントサイズを14pxに設定 */
    line-height: 20px; /* 行の高さを20pxに設定 */
}

.fontStyle16 {
    font-size: 16px; /* フォントサイズを16pxに設定 */
    line-height: 22px; /* 行の高さを22pxに設定 */
}

.fontStyle18 {
    font-size: 18px; /* フォントサイズを18pxに設定 */
    line-height: 24px; /* 行の高さを24pxに設定 */
}

.fontStyle20 {
    font-size: 20px; /* フォントサイズを20pxに設定 */
    line-height: 26px; /* 行の高さを26pxに設定 */
}

.fontStyle24 {
    font-size: 24px; /* フォントサイズを24pxに設定 */
    line-height: 30px; /* 行の高さを30pxに設定 */
}

.fontStyle32 {
    font-size: 32px; /* フォントサイズを32pxに設定 */
    line-height: 38px; /* 行の高さを38pxに設定 */
}

.fontStyle36 {
    font-size: 36px; /* フォントサイズを36pxに設定 */
    line-height: 42px; /* 行の高さを42pxに設定 */
}

.fontStyle48 {
    font-size: 48px; /* フォントサイズを48pxに設定 */
    line-height: 54px; /* 行の高さを54pxに設定 */
}

.fontStyle64 {
    font-size: 64px; /* フォントサイズを64pxに設定 */
    line-height: 70px; /* 行の高さを70pxに設定 */
}

/* リンクのスタイル */
a {
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    font-size: 100%; /* フォントサイズを100%に設定 */
    vertical-align: middle; /* 垂直方向の中央揃え */
    background: transparent; /* 背景を透明に設定 */
    text-decoration: none; /* テキストデコレーションをなしに設定 */
}

/* 入力ボックスのスタイル */
input[type="text"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="file"],
/* input[type="radio"], */
input[type="number"],
/* input[type="checkbox"], */
input[type="password"],
input[type="datetime-local"],
input[type="tel"],
textarea,
select {
    font-size: 18px; /* フォントサイズを18pxに設定 */
    font-family: sans-serif; /* フォントファミリーをsans-serifに設定 */
    box-sizing: border-box; /* ボックスサイズをborder-boxに設定 */
    border: 1px solid #aaa; /* ボーダーを設定 */
    border-radius: 3px; /* ボーダーの角を丸くする */
    margin: 2px; /* マージンを5pxに設定 */
    padding: 5px; /* パディングを10pxに設定 */
    width: 80%; /* 幅を100%に設定 */
    box-shadow: 0 7px 10px hsla(0, 0%, 80%, .50); /* ボックスシャドウを設定 */
    white-space: nowrap; /* 文字が切れないようにする */
    overflow: hidden; /* はみ出した部分を隠す */
    text-overflow: ellipsis; /* はみ出した部分を省略記号で表示 */
}

/* 画面幅が1440px以上の場合の入力ボックスのスタイル */
@media (min-width: 1440px) {
  input[type="text"],
  input[type="url"],
  input[type="date"],
  input[type="time"],
  input[type="file"],
  /* input[type="radio"], */
  input[type="number"],
  /* input[type="checkbox"], */
  input[type="password"],
  input[type="datetime-local"],
  input[type="tel"],
  textarea,
  select {
      width: 60%; /* 幅を100%に設定 */
  }
}

/* フォーカス時の入力ボックスのスタイル */
input[type="text"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="number"]:focus,
input[type="checkbox"]:focus,
input[type="password"]:focus,
input[type="datetime-local"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #6f6f6f; /* ボーダーカラーを#878787に設定 */
}

/* 無効状態の入力ボックスのスタイル */
input[type="text"]:disabled,
input[type="url"]:disabled,
input[type="date"]:disabled,
input[type="time"]:disabled,
input[type="file"]:disabled,
/* input[type="radio"]:disabled, */
/* input[type="number"]:disabled, */
/* input[type="checkbox"]:disabled, */
input[type="password"]:disabled,
input[type="datetime-local"]:disabled,
input[type="tel"]:disabled,
textarea:disabled,
select:disabled {
    background: #eeeeee; /* 背景色を#eeeeeeに設定 */
    cursor: not-allowed; /* カーソルを禁止マークに設定 */
}

/* 読み取り専用の入力ボックスのスタイル */
input[type="url"]:read-only,
input[type="date"]:read-only,
input[type="time"]:read-only,
input[type="file"]:read-only,
/* input[type="radio"]:read-only, */
/* input[type="number"]:read-only, */
/* input[type="checkbox"]:read-only, */
input[type="password"]:read-only,
input[type="datetime-local"]:read-only,
input[type="tel"]:read-only,
textarea:read-only {
    background: #eeeeee; /* 背景色を#eeeeeeに設定 */
    cursor: not-allowed; /* カーソルを禁止マークに設定 */
}

/* 読み取り専用のテキスト入力ボックスのスタイル */
input[type="text"]:read-only,
textarea:read-only {
    background: #fff; /* 背景色を白に設定 */
}

/* チェックボックスのスタイル */
input[type=checkbox] {
    transform: scale(2); /* サイズを2倍に拡大 */
    margin: 0 6px 0 0; /* マージンを設定 */
}

/* プレースホルダーのスタイル */
input::placeholder {
    font-size: 12px; /* フォントサイズを12pxに設定 */
    color: #333333; /* 濃い色に変更 */
}

/* ボタンのホバー時のスタイル */
input[type="button"]:hover {
    cursor: pointer; /* カーソルをポインターに設定 */
}

/* 送信ボタンのスタイル */
input[type="submit"] {
    width: 90%; /* 幅を90%に設定 */
    height: 100%; /* 高さを100%に設定 */
    padding: 10px; /* パディングを10pxに設定 */
    background-position: right 12px top 46%; /* 背景画像の位置を設定 */
    box-shadow: 0 9px 8px hsla(0, 0%, 75.7%, .82); /* ボックスシャドウを設定 */
    background-size: 20px 20px; /* 背景画像のサイズを設定 */
    border-radius: 8px; /* ボーダーの角を丸くする */
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 中央揃え */
    margin: 0 5%; /* マージンを設定 */
    border: none; /* ボーダーをなしに設定 */
    color: #fff; /* テキストカラーを白に設定 */
    font-weight:800; /* フォントウェイトを800に設定 */
    margin: 0 auto; /* マージンを自動に設定 */
}

/* 送信ボタンのホバー時のスタイル */
input[type="submit"]:hover {
    background-color: #5480e2; /* 背景色を#0056b3に設定 */
}

/* ラベルのスタイル */
label {
    display: inline-block; /* インラインブロック要素に設定 */
    /* width: 120px; 幅を120pxに設定 */
    vertical-align: top; /* 垂直方向の上揃え */
}

/* エラーメッセージ ============================================ */

li.error {
    margin: 20px;
    padding: 0px;
    color: deeppink;
}
/* その他（太さ・背景調整） ============================================ */

/* 文字色（サイト名用） */
.main_title {
    color: #78BC29;
}

.sub_title {
    text-align: left;
    font-size: 17px;
    line-height: 22px;
    color: #3a3e42;
    white-space: nowrap; /* 改行を防ぐ */
}

/* 背景色（タイトル用） */
.heading_background {
    color: #fff;
    background-color:  #78BC29;
}

/* テキスト太さ調整(本日の運行時間) */
.text_bold{
    font-weight:800;
    background-color:  #fffad6;
}

/* 上方向幅調整 */
.text_margin_top{
    margin-top:10px;
}

/* 上方向幅調整 */
.text_margin_top2{
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  margin: 10px;
}

/* 予約アイテム上方向幅調整 */
.item_margin_top{
    margin-top:12px;
}

/* 左方向幅調整 */
.text_margin_left{
    margin-left:29px;
}

/* 予約項目上下方向幅調整 */
.item_margin{
    margin-top:20px;
    margin-bottom:20px;
}

/* 予約項目上方向幅調整 */
.confirmation_item_margin_top{
    margin-top:30px;
}

/* 下方向幅調整 */
.text_margin_bottom{
    margin-bottom:10px;
}

/* 下方向幅調整 */
.h3_margin-bottom{
    margin-bottom:10px;
}

/* 乗車場所ラベルラッパー */
.boarding_location_label_wrapper,
.arrival_location_label_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 90px;
    padding-right: 10px;
}

/* 乗車場所背景色 */
.boarding_location_background,
.arrival_location_background {
    color: #222222;
    background-color:  #78BC29;
}

/* placeholderの文字の大きさを大きくする */
.boarding_location_background::placeholder {
  font-size: 18px; /* お好みのサイズに変更してください */
}

/* ボタン位置調整*/
.button_center {
    margin:0 auto;
    display: flex;
}

/* ボタン位置調整*/
.button_left {
    margin:0 auto;
    display: flex;
}

/* セレクトボックスの初期色（プレースホルダ用）*/
.select_holder{
  color:gray;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    padding: 20px;
    background: #fff;
    display: none;
    overflow-y: scroll;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
}

.overlay.is-show {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 項目区切りの横線 */
.item_line {
    border: 1px solid #bfbfbf;
}

.item_button {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 5px;
  }

.reservation-message {
    color: #1f1f21;
    user-select: none;
    display: block;
    padding: 15px 5px 15px 15px;
}

/*予約後画面マップ表示 */
#map_after_reservation {
    width: calc(100%);
    height: 500px;
    margin: 10px 0;
}

/*検索画面 */
.search-form input[type="text"] {
    width: 250px;
    padding: 5px;
  }

.search-form button {
    background-color: #5480e2;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
  }

.search-form button:hover {
    background-color: #5480e2;
  }

/*運行時間表示 */
.time_box{
    text-size-adjust: 100%!important;
    color: #1f1f21;
    font-family: Roboto, Noto, sans-serif;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
}

/*予約情報一覧表示 */
.reservation_list_button {
    box-sizing: border-box;
    text-align: left;
    zoom: 1;
    text-decoration: none;
    color: #4C483B;
    display: block;
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
    width: 80%;
    margin: 0 auto;
    border: 3px solid #FFF;
    background-color: #FFF;
    transition: background-color 0.5s;
    padding: 15px 15px 15px 20px;
    border-radius: 20px;
    margin-top: 30px;
    visibility: visible;
}

.operationTimeDisplay {
    padding: 0.5em;/*文字周りの余白*/
    color: #494949;/*文字色*/
    background: #fff;/*背景色*/
    /*border-left: solid 5px #ffaf58;左線（実線 太さ 色）*/
    font-weight: bold;
}

.operationTimeDisplay20 {
  display: table-cell;
  vertical-align: middle; /* 垂直方向の中央揃え */
  padding: 0.5em;/*文字周りの余白*/
  color: #494949;/*文字色*/
  background: #fff;/*背景色*/
  /*border-left: solid 5px #ffaf58;左線（実線 太さ 色）*/
  font-weight: bold;
  margin: 0px;
}



/* table テンプレート設定 ====================================== */

table th {
    font-weight: normal;
}

table.fixedTableTemplate1 {
    border-collapse: collapse;
    table-layout: fixed;
    border-collapse: collapse;
    width: calc(100% - 10px);
}
  
table.fixedTableTemplate1 th,
table.fixedTableTemplate1 td {
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid #eeeeee;
}

table.fixedTableTemplate1 th {
    position: -webkit-sticky;
    position: sticky;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    height: 40px;
    top: 0px;
    border: none;
    z-index: 10;
}

table.fixedTableTemplate1-2 {
  border-collapse: collapse;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: white;
  width: 100%;
}

table.fixedTableTemplate1-2 th,
table.fixedTableTemplate1-2 td {
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #eeeeee;
}

table.fixedTableTemplate1-2 th {
  position: -webkit-sticky;
  position: sticky;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  height: 40px;
  top: 0px;
  border: none;
  z-index: 10;
}

table.fixedTableTemplate2 {
    border-collapse: collapse;
    table-layout: fixed;
    border-collapse: collapse;
    width: calc(100% - 10px);
    border-bottom: 1px solid #d3d3d3;
}
  
table.fixedTableTemplate2 th,
table.fixedTableTemplate2 td {
    text-align: left;
    padding: 5px;
}

table.fixedTableTemplate2 th {
    position: -webkit-sticky;
    position: sticky;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    height: 40px;
    top: 0px;
    border: none;
    z-index: 10;
}

table.fixedTableTemplate2-2 {
  border-collapse: collapse;
  table-layout: fixed;
  border-collapse: collapse;
  border-bottom: 1px solid #d3d3d3;
  background-color: white;
  width: 100%;
}

table.fixedTableTemplate2-2 th,
table.fixedTableTemplate2-2 td {
  text-align: left;
  padding: 5px;
  min-width: 100px;
}

table.fixedTableTemplate2-2 th {
  position: -webkit-sticky;
  position: sticky;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  height: 40px;
  top: 0px;
  border: none;
  z-index: 10;
}

.OperationStatusTable {
  background-color: none;
}
.ReservationStatusTable {
  background-color: #fafafa;
  background-image: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

table.fixedTableTemplate3 {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-sizing: border-box;
}

table.fixedTableTemplate3 th,
table.fixedTableTemplate3 td {
  text-align: center;
  padding: 5px;
  border-bottom: 1px solid #eeeeee;
  vertical-align: middle;
  word-break: break-word;
}

table.fixedTableTemplate3 td {
  padding: 0 18px;
  line-height: 1.5;
}

/* ===== 4分割にする行（four-cols）だけ Grid を使う ===== */
table.fixedTableTemplate3 tr.four-cols {
  display: grid;
  /* grid-template-columns: 1fr auto auto 1fr; */
  grid-template-columns: 1fr minmax(200px, 1fr) minmax(300px, 1fr) 1fr;
  align-items: center;
  column-gap: 12px;
  border-bottom: 1px solid #eeeeee;
}

/* grid内のtdはグリッドアイテムとして扱う */
table.fixedTableTemplate3 tr.four-cols > td {
  display: block;
  padding: 4px 0;
  border-bottom: none;
  text-align: left;
}

/* 左右スペーサーは余白用なのでパディング不要 */
table.fixedTableTemplate3 tr.four-cols > td.col-left-spacer,
table.fixedTableTemplate3 tr.four-cols > td.col-right-spacer {
  padding: 0;
}

/* colspan相当：4列すべてを横断（1〜4列目） */
table.fixedTableTemplate3 tr.four-cols > td.full-span {
  grid-column: 1 / -1;
}

/* 行ごとの整列ルール */
table.fixedTableTemplate3 tr:nth-child(1).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(2).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(3).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(4).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(5).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(6).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(7).four-cols > td.full-span,
table.fixedTableTemplate3 tr:nth-child(8).four-cols > td.full-span {
  text-align: center;
}

/* 分割時の中央2列の整列*/
table.fixedTableTemplate3 tr.four-cols > td.col-center-left  { text-align: left; } /* ラベル */
table.fixedTableTemplate3 tr.four-cols > td.col-center-right { text-align: center; } /* 値 */

/* 中央2列の折り返し設定 */
table.fixedTableTemplate3 tr.four-cols > td.col-center-left,
table.fixedTableTemplate3 tr.four-cols > td.col-center-right {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* マークした行は下線を消す */
table.fixedTableTemplate3 tr.four-cols.no-divider {
  border-bottom: none;
}

table.fixedTableTemplate3 tr.four-cols:nth-child(2)::after,
table.fixedTableTemplate3 tr.four-cols:nth-child(4)::after,
table.fixedTableTemplate3 tr.four-cols:nth-child(6)::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 0;
  height: 1px;
  background: #eeeeee;
}

@media (max-width: 768px) {

  table.fixedTableTemplate3 tr.four-cols {
    grid-template-columns: 5px 1fr 1fr 5px;
    column-gap: 12px;
  }

  table.fixedTableTemplate3 tr.four-cols > td.col-center-left,
  table.fixedTableTemplate3 tr.four-cols > td.col-center-right {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* colspan相当：4列すべてを横断（1〜4列目） */
  table.fixedTableTemplate3 tr.four-cols > td.full-span {
    grid-column: 1 / -1;
  }
}

/*スクロールバーの実装 */
.table_sticky {
    display: block;
    overflow-y: scroll;
    height: calc(100vh/2);
    border-collapse: collapse;
}
.table_sticky thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.changelang{
    width: 130px;
    height: 20%;
    padding-right: 10px;
    margin-left: auto; /* 右側に配置 */ 
}

.flex{
    display: flex;
    flex-wrap: wrap;
  }

.align_right {
    display: flex;
    justify-content: flex-end;
}

.wrapper{
    min-height: calc(100vh - 50px);
    position: relative;/*←相対位置*/
    padding: 10px 0;
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

footer{
    width: 100%;
    background-color: #89c7de;
    text-align: center;
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
}
  .footer-text {
    color: #fff;
  }

/* ボタン テンプレート設定 ====================================== */
.item_button_all {
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
  border-radius: 20px;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
  opacity: 1.0;
  visibility: visible;
  display: inline-block;
  width: 100%;
  max-width: 300px; /* 最大幅を300pxに設定 */
  position: relative;
  padding: 1em 2em;
  font-weight: bold;
}

.item_reservation_button {
  background: #fa693a; /* 背景色 */
  border: 0.1px solid #fd7041;
  color: #ffffff; /* 文字色 */
  background: linear-gradient(to bottom, #ff6f3f, #e64500); /* グラデーション背景 */
  border-radius: 40px; /* ボーダーの角を丸くする */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドーを追加 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジションを設定 */
}

.item_move_reservation_button {
  background: #f6a623; /* 背景色 */
  border: 0.1px solid #e08a00;
  color: #ffffff; /* 文字色 */
  background: linear-gradient(to bottom, #f7b733, #f6a623); /* グラデーション背景 */
  border-radius: 40px; /* ボーダーの角を丸くする */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドーを追加 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジションを設定 */
}

.item_reservation_button:disabled,
.item_move_reservation_button:disabled {
  border: 0.1px solid rgb(146, 145, 145);
  background: linear-gradient(to bottom, #6a6a6a8d, #41414186);
  color: #ffffff; /* 文字色 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.item_reservation_button:before,
.item_move_reservation_button:before,
.item_ok_button:before,
.item_cancel_button:before,
.item_move_site_button:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #ffffff; /* 矢印の色 */
  border-right: 2px solid #ffffff; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -4px;
}

.item_reservation_button:hover,
.item_move_reservation_button:hover {
  color: #ffffff; /* 文字色 */
  opacity: 0.5;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); 
}

.item_reservation_button:hover:before,
.item_move_reservation_button:hover:before {
  border-top: 2px solid #ffffff; /* 矢印の色 */
  border-right: 2px solid #ffffff; /* 矢印の色 */
}

.item_ok_button {
  background: #fa693a; /* 背景色 */
  border: 0.1px solid #fd7041;
  color: #ffffff; /* 文字色 */
  background: linear-gradient(to bottom, #ff6f3f, #e64500); /* グラデーション背景 */
  border-radius: 40px; /* ボーダーの角を丸くする */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドーを追加 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジションを設定 */
}

.item_ok_button:disabled {
  background-color: grey; /* 背景色 */
  border: 0.1px solid grey;
  background: linear-gradient(to bottom, #6a6a6a8d, #41414186);
}

.item_ok_button:hover {
  background: #fa693a; /* 背景色 */
  color: #ffffff; /* 文字色 */
  opacity: 0.5;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* ホバー時のシャドーを強調 */
}

.item_ok_button:hover:disabled {
  background: grey; /* 背景色 */
  color: #ffffff; /* 文字色 */
  opacity: 0.6;
}

.item_ok_button:hover:before {
  border-top: 2px solid #ffffff; /* 矢印の色 */
  border-right: 2px solid #ffffff; /* 矢印の色 */
}

.item_ok_button:hover:disabled:before {
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
}

.item_cancel_button {
  background: #a99583; /* 背景色 */
  border: 0.1px solid #bead9d;
  color: #ffffff; /* 文字色 */
  background: linear-gradient(to bottom, #b8a089, #8c6e54); /* グラデーション背景 */
  border-radius: 40px; /* ボーダーの角を丸くする */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドーを追加 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジションを設定 */
}

.item_cancel_button_disabled,
.item_cancel_button:disabled {
  background-color: grey; /* 背景色 */
  border: 0.1px solid grey;
  background: linear-gradient(to bottom, #6a6a6a8d, #41414186);
}

.item_cancel_button:hover {
  background: #c0b3a8; /* 背景色 */
  color: #ffffff; /* 文字色 */
  opacity: 0.5;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* ホバー時のシャドーを強調 */
}

.item_cancel_button:hover:disabled {
  background: grey; /* 背景色 */
  color: #ffffff; /* 文字色 */
  opacity: 0.6;
}

.item_cancel_button:hover:before {
  border-top: 2px solid #ffffff; /* 矢印の色 */
  border-right: 2px solid #ffffff; /* 矢印の色 */
}

.item_cancel_button:hover:disabled:before {
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
}

/* 固定上部レール */
.top_fixed_rail {
  position: fixed;
  inset: 0 0 auto 0;
  height: 45px;
  /* background: linear-gradient(to right, #d9d6d2, #c8c4bf); */
  background: linear-gradient(to right, #e6e3e0, #ebe8e5);
  z-index: 900;
  pointer-events: none;
  isolation: isolate;
}

/* 固定上部レールのテキスト（デボス風） */
.top_fixed_rail::after {
  content: attr(data-label);
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  /* font-synthesis: none; */
  letter-spacing: 0.5px;
  color: #d9d6d2;

  /* デボス（凹み）っぽく見せる2方向の影 */
  text-shadow:
    1px 1px 2px rgba(255, 255, 255, 0.65), /* 上側が明るく → 凹みのハイライト */
    -1px -1px 2px rgba(0, 0, 0, 0.25);     /* 下側が暗く → 凹みの影 */

  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none; /* クリック透過を維持 */
}

/* 上部スペース用のダミー要素 */
.item_back_button_space {
  height: 50px;
}

/* 戻るボタン */
.item_back_button {
  /* 見た目 */
  background: #a99583; /* 背景色 */
  border: 0.1px solid #bead9d;
  color: #ffffff; /* 文字色 */
  /* background: linear-gradient(to bottom, #b8a089, #8c6e54); */
  /* background: linear-gradient(to bottom, #c8b29c, #9c7f64); */
  background: linear-gradient(to bottom, #dbc9b8, #b1937a);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドー */
  transition: 
    opacity 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.05s ease;

  /* 形状：横長の楕円（ピル） */
  display: inline-flex;
  align-items: center;
  gap: 8px;               /* 矢印とテキストの間隔 */
  padding: 6px 14px;      /* 内側余白でサイズを決める */
  border-radius: 20px;    /* ピル型にする */
  line-height: 1;         /* テキストの縦位置安定 */
  font-weight: 700;
  font-size: 18.4px;
  white-space: nowrap;    /* 改行を防ぐ */

  /* 操作感 */
  text-decoration: none;
  cursor: pointer;
  user-select: none;

  /* 固定配置（左上） */
  position: fixed;
  top: 5px;
  left: 10px;
  z-index: 1000;
}

.item_back_button:hover {
  opacity: 0.85;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.45);
}

.item_back_button:active {
  transform: translateY(1px);  /* 押し込み感 */
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
}

/* キーボード操作の可視フォーカス */
.item_back_button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (min-width: 751px) {
  body {
    position: relative;
  }
  .item_back_button {
    position: fixed;
    top: 5px;
    left: 10px;
  }
}

.item_move_site_button {
  background: #78BC29; /* 背景色 */
  border: 2px solid #78BC29;
  color: #fff; /* 文字色 */
}

.item_move_site_button:hover {
  background: #fff; /* 背景色 */
  color: #78BC29; /* 文字色 */
}

.item_move_site_button:hover:before {
  border-top: 2px solid #78BC29; /* 矢印の色 */
  border-right: 2px solid #78BC29; /* 矢印の色 */
}

.item_move_site_button {
  background: #FF7449; /* 背景色 */
  border: 2px solid rgba(#FF7449);
  color: #fff; /* 文字色 */
}

.item_move_site_button:hover {
  background: #fff; /* 背景色 */
  color: #FF7449; /* 文字色 */
}

.item_move_site_button:hover:before {
  border-top: 2px solid #FF7449; /* 矢印の色 */
  border-right: 2px solid #FF7449; /* 矢印の色 */
}

.reservationDetail {
  /* max-width: 300px; /* 最大幅を300pxに設定 */
  width: 90%; /* 幅を自動調整 */
  margin: 0 auto; /* マージンをリセット */
  border: 0.1px solid #fd7041; /* ボーダーを設定 */
  padding: 5px; /* パディングを5pxに設定 */
  color: #ffffff; /* テキストカラーを黒に設定 */
  background-color: #ff6f3f; /* 背景色を#ffb340に設定 */
  font-weight: 400; /* フォントウェイトを400に設定 */
  border-radius: 20px; /* ボーダーの角を丸くする */
  display: flex; /* フレックスボックスを使用 */
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* シャドーを追加 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジションを設定 */
  background: linear-gradient(to bottom, #ff6f3f, #e64500); /* グラデーションを追加 */
}

.reservationDetail:hover {
  opacity: 0.5; /* ホバー時に透明度を50%に設定 */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* ホバー時のシャドーを強調 */
}

/* ラジオボタンのスタイル */
.radio-inline_input {
  clip: rect(1px, 1px, 1px, 1px); /* クリップで視覚的に隠す */
  position: absolute !important; /* 絶対位置に設定 */
}

/* ラジオボタンのラベルのスタイル */
.radio-inline_label {
  display: inline-block; /* インラインブロック要素に設定 */
  padding: 0.9rem 0rem; /* パディングを設定 */
  margin-right: 2px; /* 右マージンを18pxに設定 */
  border-radius: 20px; /* ボーダーの角を丸くする */
  transition: all .2s; /* トランジションを設定 */
  border: 1px solid #b6b6b6; /* ボーダーを設定 */
  background-color: #ffffff;
  width: 103px;
}

/* チェックされたラジオボタンのラベルのスタイル */
.radio-inline_input:checked + .radio-inline_label {
  background: #5480e2; /* 背景色を#00bfffに設定 */
  color: #fff; /* テキストカラーを白に設定 */
  text-shadow: 0 0 1px rgba(0,0,0,.7); /* テキストシャドウを設定 */
}


/* フォーカスされたラジオボタンのラベルのスタイル */
.radio-inline_input:focus + .radio-inline_label {
  outline-style: auto; /* アウトラインスタイルを自動に設定 */
  outline-width: 5px; /* アウトライン幅を5pxに設定 */
}

/* フィールドセットのスタイル */
fieldset {
  border: none; /* ボーダーをなしに設定 */
  padding: 0; /* パディングをリセット */
  margin: 0; /* マージンをリセット */
  text-align: center; /* テキストを中央揃え */
}

/* 無効状態のチェックボックスのスタイル */
.check-disabled {
  color: #afafaf; /* テキストカラーを#afafafに設定 */
}

/* プライバシーポリシーのスタイル */
.privacy-policy {
  color: #555; /* テキストカラーを#555に設定 */
  font-size: 14px; /* フォントサイズを14pxに設定 */
  border: 1px solid #ccc; /* ボーダーを設定 */
  border-radius: 4px; /* ボーダーの角を丸くする */
  width: 100%; /* 幅を100%に設定 */
  height: 80%; /* 高さを80%に設定 */
  overflow-y: scroll; /* 縦スクロールを有効にする */
  padding: 6px 12px; /* パディングを設定 */
}

/* プライバシーポリシーのラベルのスタイル */
.privacy-policy_label {
  color: #333; /* テキストカラーを#333に設定 */
  line-height: 2.0; /* 行の高さを2.0に設定 */
  text-align: left; /* テキストを左揃え */
  -webkit-text-size-adjust: 100%; /* テキストサイズの調整を100%に設定 */
  width: 100%; /* 幅を100%に設定 */
  margin: 0; /* マージンをリセット */
  padding: 0; /* パディングをリセット */
  border: 0; /* ボーダーをなしに設定 */
  outline: 0; /* アウトラインをなしに設定 */
  font-size: 100%; /* フォントサイズを100%に設定 */
  font-weight: normal; /* フォントウェイトを通常に設定 */
  box-sizing: border-box; /* ボックスサイズをborder-boxに設定 */
} 

/* モーダルのスタイル */
.modal_test {
  position: fixed; /* 固定位置に設定 */
  top: 50%; /* 上から50%の位置に設定 */
  left: 50%; /* 左から50%の位置に設定 */
  transform: translate(-50%, -50%); /* 中央に配置 */
  width: 100%; /* 幅を100%に設定 */
  height: 100%; /* 高さを100%に設定 */
  padding: 20px; /* パディングを20pxに設定 */
  background: #fff; /* 背景色を白に設定 */
  display: none; /* 初期状態は非表示 */
}

/* モーダルのタイトルのスタイル */
.modal_test_title {
  font-size: 16px; /* フォントサイズを16pxに設定 */
  font-weight: bold; /* フォントウェイトを太字に設定 */
  margin-bottom: 16px; /* 下マージンを16pxに設定 */
  color: #333333; /* テキストカラーを#333333に設定 */
}

/* モーダルのテキストのスタイル */
.modal_test_text {
  font-size: 12px; /* フォントサイズを12pxに設定 */
  color: #404040; /* テキストカラーを#404040に設定 */
}

/* モーダル表示時のスタイル */
.modal_test.show {
  display: block; /* 表示状態に設定 */
}

/* 文字の折り返しスタイル */
.char_wrap_exception {
  line-break: strict; /* もっとも制限の強い規則 */
  hyphens: auto; /* 自動ハイフネーションを有効にする */
}

/* ニュースリストのスタイル */
.news-list {
  list-style: none outside; /* リストスタイルをなしに設定 */
  text-align: left; /* テキストを左揃え */
  margin: 0; /* マージンをリセット */
  padding: 0; /* パディングをリセット */
}

/* ニュースリストのアイテムのスタイル */
.news-list .item {
  display: flex; /* フレックスボックスを使用 */
  flex-wrap: wrap; /* アイテムを折り返す */
  text-decoration: none; /* テキストデコレーションをなしに設定 */
  color: #333; /* テキストカラーを#333に設定 */
  border-bottom: 1px solid #CCC; /* 下ボーダーを設定 */
  padding: 20px 20px; /* パディングを設定 */
}

/* ニュースリストの最初のアイテムのスタイル */
.news-list .item:first-child {
  border-top: 1px solid #CCC; /* 上ボーダーを設定 */
}

/* ニュースリストのアイテムの日付のスタイル */
.news-list .item .date {
  margin: 0; /* マージンをリセット */
  min-width: 120px; /* 最小幅を120pxに設定 */
  font-size: 16px; /* フォントサイズを16pxに設定 */
  color: #999; /* テキストカラーを#999に設定 */
  padding: 0 20px 0 0; /* パディングを設定 */
}

/* ニュースリストのアイテムのタイトルとメッセージのスタイル */
.news-list .item .title, .news-list .item .message{
  margin: 0; /* マージンをリセット */
  width: 100%; /* 幅を100%に設定 */
}

/* 画面幅が767px以下の場合のスタイル */
@media screen and (max-width: 767px) {
  .news-list .item {
      flex-wrap: wrap; /* アイテムを折り返す */
  }
  .news-list .item .date {
      min-width: 100px; /* 最小幅を100pxに設定 */
  }
  .news-list .item .title {
      margin-top: 10px; /* 上マージンを10pxに設定 */
  }
}

/* ロゴ画像のスタイル */
.logo {
object-fit: cover; /* オブジェクトフィットをカバーに設定 */
object-position: center center; /* オブジェクト位置を中央に設定 */
width: 428px; /* 幅を428pxに設定 */
max-width: 100%; /* 最大幅を100%に設定 */
height: auto; /* 高さを自動に設定 */
vertical-align: middle; /* 垂直方向の中央揃え */
}

/* バナー画像のスタイル */
.banner {
object-fit: cover; /* オブジェクトフィットをカバーに設定 */
object-position: center center; /* オブジェクト位置を中央に設定 */
width: 360px; /* 幅を360pxに設定 */
max-width: 100%; /* 最大幅を100%に設定 */
height: auto; /* 高さを自動に設定 */
vertical-align: middle; /* 垂直方向の中央揃え */
margin: 5px; /* マージンを5pxに設定 */
}

/* 画面幅が767px以下の場合のバナー画像のスタイル */
@media only screen and (max-width: 767px){
.banner {
  object-fit: cover; /* オブジェクトフィットをカバーに設定 */
  object-position: center center; /* オブジェクト位置を中央に設定 */
  width: 180px; /* 幅を180pxに設定 */
  max-width: 100%; /* 最大幅を100%に設定 */
  height: auto; /* 高さを自動に設定 */
  vertical-align: middle; /* 垂直方向の中央揃え */
  margin: 5px; /* マージンを5pxに設定 */
}
}

.lnk-banner{
	display: flex;
	flex-wrap:wrap;
}
.lnk-banner li {
	width: calc(100%/2);   /*←画像を横に2つ並べる場合*/
	padding:10px;          /*←画像の左右に余白を入れる場合*/
	box-sizing:border-box;
}
.lnk-banner li img {
	max-width:100%;        /*画像のはみだしを防ぐ*/
	height: auto;          /*画像の縦横比を維持 */
	border:solid 1px #ccc; /*←画像を1pxのグレーの枠線で囲む指定の場合*/
}

/* Swal.fireのカスタム ====================================== */
.swal2-title-custom {
  font-size: 18px !important; /* タイトルの文字サイズ */
}

.swal2-html-custom {
  font-size: 218x !important; /* 本文の文字サイズ */
}

.swal2-html-custom2 {
  font-size: 20px !important; /* 本文の文字サイズ */
  text-align: left; /* テキストの左寄せ */
}

.swal2-html-custom3 {
  font-size: 20px !important; /* 本文の文字サイズ */
  text-align: center; /* テキストの左寄せ */
}

.swal2-confirm-custom {
  font-size: 18px !important; /* 確認ボタンの文字サイズ */
  background-color: orange !important; /* OKボタンの背景色をオレンジに設定 */
  color: white !important; /* テキストの色を白に設定 */
}

.swal2-confirm-custom:hover {
  background-color: darkorange !important; /* ホバー時の背景色を濃いオレンジに設定 */
}

.swal2-cancel-custom {
  font-size: 18px !important; /* キャンセルボタンの文字サイズ */
}

/* 予約番号と詳細横並びカスタム ====================================== */
.reservation-container {
  display: flex;
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center; /* 垂直方向の中央寄せ */
  height: 100%; /* 親要素の高さを設定 */
  background-color:white;
}

.fontStyle16-revdetail {
  margin-right: 10px; /* 予約番号とボタンの間にスペースを追加 */
  font-size: 20px; /* キャンセルボタンの文字サイズ */
}

/* 予約番号と詳細横並びカスタム ====================================== */
.bold-red {
  color: #fa693a;
  font-weight: bold;
}

/* 予約番号と詳細横並びカスタム ====================================== */
.bold-red-left {
  color: #fa693a;
  font-weight: bold;
  text-align: left;
}

/* Copyrightの定義 ====================================== */
.copyright-text::before {
  content: "COPYRIGHT ©NISEKO BUS, ALL RIGHTS RESERVED.";
  color: #1f1f21;
  text-align: center;
  display: block;
  font-size: 12px; /* 必要に応じてフォントサイズを調整してください */
}

/* 出発予定日時・到着予定日時の表示調整=============================== */
#display_boarding_time {
  margin: 0;
}

#display_arrival_time {
  margin: 0;
}

#map {
  width: calc(100%);
  height: 500px;
}
#busstops {
  height: 200px;
  width: 100%;
  overflow-y: scroll;
  border: 1px solid #ccc;
  margin-top: 10px;
  scroll-margin-top: 380px;
}

.busstop-button {
  display: block;
  width: 100%;
  height: 22.5%;
  padding: 4px;
  margin: 4px 0;
  background-color: #ffffff;
  border: 1px solid #ccc;
  cursor: pointer;
  line-height: 1.1;
}
.busstop-button.clicked {
  background-color: #5480e2; /* クリック時の背景色 */
  color: rgb(255, 255, 255); /* クリック時の文字色 */
  font-weight: bold;
}
#bookmarks, #historys {
  height: 100px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  margin-top: 10px;
}
.bookmark-button, .history-button {
  display: block;
  width: 100%;
  height: 45%;
  padding: 10px;
  margin: 2px 0;
  background-color: #ffffff;
  border: 1px solid #ccc;
  cursor: pointer;
}
.bookmark-button.clicked, .history-button.clicked {
  background-color: #5480e2; /* クリック時の背景色 */
  color: rgb(255, 255, 255); /* クリック時の文字色 */
  font-weight: bold;
}

#scroll-to-top {
  height: 200px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  margin-top: 10px;
}
/* ハンバーガーメニュー ====================================== */
.menu-toggle.active {
  color: white;
}

/* メニュー初期状態：非表示 */
.hidden {
  display: none;
}

/* メニュー表示時 */
.menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: -5%;
  width: 230px;
  height: 100%;
  background-color: #ffffffef;
  z-index: 999;
  opacity: 0.96; /* 不透明 */

}
.menu:hover {
  opacity: 1; /* ホバー時にやや半透明にする */
  background-color: #ffffff;
}

.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  background-color: #f2f0ee;
  display: inline-block;
  margin-right: auto;
  z-index: 1000; /* 追加: 最前面に表示 */
}

.menu.active {
  background-color: #fefdfc; /* メニューの色 */
}

.menu-toggle.active {
  background-color: transparent; /* 完全に透明な背景色 */
  color: #636363; /* ボタンのテキスト色 */
}

.menu-top div a{
  padding: 8px 4px;
  color: #636363;
  text-decoration: none;
  display: block;
}

.menu-bottom div a{
  color: #636363;
  text-decoration: none;
  display: block;
}

.menu-top div a:hover, .menu-bottom div a:hover{
  background-color: #a09c9cb2;
}

/* 親要素のスタイル */
.menu-language-container {
  display: flex;
  justify-content: space-between; /* 左右に要素を配置 */
  align-items: center;
  position: relative; /* スクロールに追従 */
  width: 100%; /* 横幅を100%に設定 */
  padding: 5px 0; /* 上下のパディングを設定 */ 
}

.margin_menu-language-container{
  margin-top:10px;
}

#busstopSearchBox {
  width: 75%;
  height: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* パスワード入力欄のクリアボタンと表示切替ボタンを非表示にする */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

/* 入力コンテナのスタイル */
.input-container {
  position: relative; /* 相対位置に設定 */
}

/* 入力欄右側にアイコン分の余白を追加（重なり回避） */
.input-container input[type="password"] {
  padding-right: 2.5rem;
}

/* パスワード表示/非表示アイコンのスタイル */
.input-container .fa-eye-slash,
.input-container .fa-eye {
  position: absolute; /* 絶対位置に設定 */
  right: 12%; /* 右から12%の位置に設定 */
  top: 20px; /* 上から20pxの位置に設定 */
  transform: translateY(-50%); /* 垂直方向の中央揃え */
  cursor: pointer; /* カーソルをポインターに設定 */
}

/* 画面幅が1440px以上の場合のパスワード表示/非表示アイコンのスタイル */
@media (min-width: 1440px) {
  .input-container .fa-eye-slash,
  .input-container .fa-eye {
    right: 21.5%; /* 右から特定の位置に設定 */
  }
}

/* 確認用パスワード表示/非表示アイコンのスタイル */
.input-container .fa-eye-slash-conf,
.input-container .fa-eye-conf {
  right: 12%; /* 右から特定の位置に設定 */
  top: 50%; /* 上から特定の位置に設定 */
}

/* 画面幅が1440px以上の場合の確認用パスワード表示/非表示アイコンのスタイル */
@media (min-width: 1440px) {
  .input-container .fa-eye-slash-conf,
  .input-container .fa-eye-conf {
    right: 21.5%; /* 右から21.5%の位置に設定 */
  }
}

/* フォームセットのスタイル */
.formSet {
  position: absolute; /* 絶対位置に設定 */
  left: 10px; /* 左から10pxの位置に設定 */
  top: 50%; /* 上から50%の位置に設定 */
  transform: translateY(-50%); /* 垂直方向の中央揃え */
  font-size: 16px; /* フォントサイズを16pxに設定 */
  color: #666; /* テキストカラーを#666に設定 */
  pointer-events: none; /* マウスイベントを無効化 */
  transition: all 0.3s ease-in-out; /* トランジションを設定 */
  opacity: 0; /* 不透明度を0に設定 */
  visibility: hidden; /* 非表示に設定 */
}

/* フォームグループのスタイル（用語オプション） */
.form-group.term-option {
  justify-content: center; /* 中央揃え */
}

/* フォームセットの背景色を設定 */
.formSet::before {
  content: ''; /* コンテンツを空に設定 */
  position: absolute; /* 絶対位置に設定 */
  top: 58%; /* 上から58%の位置に設定 */
  left: -2px; /* 左から-2pxの位置に設定 */
  right: -5px; /* 右から-5pxの位置に設定 */
  height: 6px; /* 高さを6pxに設定 */
  background-color: #fff9f0; /* 背景色を#fff9f0に設定 */
  z-index: -1; /* ラベルの下に配置 */
  transform: translateY(-50%); /* 垂直方向の中央揃え */
}

/* フォーカス時にラベルを表示 */
input:focus + .formSet,
input.not-empty + .formSet,
select#residence:focus + .formSet,
select#residence.not-empty + .formSet {
  top: 8px; /* 上から8pxの位置に設定 */
  transform: translateY(0); /* 垂直方向の中央揃えを解除 */
  font-size: 12px; /* フォントサイズを12pxに設定 */
  color: #34c759; /* テキストカラーを#34c759に設定 */
  padding: 0 3px; /* パディングを設定 */
  opacity: 1; /* 不透明度を1に設定 */
  visibility: visible; /* 表示に設定 */
  z-index: 1; /* 最前面に表示 */
}

/* 性別オプションのスタイル */
.gender-options {
  display: flex; /* フレックスボックスを使用 */
  gap: 10px; /* チェックボックスとラベルの間隔を10pxに設定 */
}

/* 用語オプションのスタイル */
.term-options {
  display: flex; /* フレックスボックスを使用 */
  gap: 5px; /* 間隔を5pxに設定 */
  place-items: center; /* アイテムを中央揃え */
}

/* 性別オプション内の各項目のスタイル */
.gender-options div {
  display: flex; /* フレックスボックスを使用 */
  align-items: center; /* 垂直方向の中央揃え */
}

/* ログインフッターのスタイル */
.login-footer {
  background: none;
  color: black; /* テキストカラーを黒に設定 */
  text-align: center; /* テキストを中央揃え */
  padding: 15px; /* パディングを15pxに設定 */
  bottom: 0; /* 下に固定 */
  margin-top: 50px; /* 上マージンを50pxに設定 */
  width: 100%; /* 幅を100%に設定 */
}

/* ログインフッターのコンテンツのスタイル */
.login-footer-content {
  display: grid; /* グリッドレイアウトを使用 */
}

/* ログインフッター内のリンクのスタイル */
.login-footer a {
  color: black; /* テキストカラーを黒に設定 */
  text-decoration: none; /* テキストデコレーションをなしに設定 */
  font-size: 16px; /* フォントサイズを16pxに設定 */
}

/* ログインフッター内のリンクのホバー時のスタイル */
.login-footer a:hover {
  text-decoration: underline; /* テキストデコレーションを下線に設定 */
}

/* 言語切り替えのスタイル */
.language-switcher {
  color:#3a3e42;
  width: 100%; /* 幅を100%に設定 */
}

.body-height-adjustment{
  height: 70vh;
  margin-top: 15%;
}

.no-inline-block {
  display: inline; /* または他の適切なスタイル */
}

#categoryButtonsContainer {
  display: flex;
  flex-wrap: wrap; /* ラベルを折り返す */
  justify-content: space-between;
  gap: 2px;
}

.category-button {
  flex: 1 1 calc(33.333% - 4px); /* 1行に3列ずつ配置 */
  box-sizing: border-box; /* パディングとボーダーを含めてサイズを計算 */
  min-width: calc(33.333% - 4px); /* 最大幅を設定 */
  background-color: #ffffff;
  border-radius: 3px;

  /* 内部レイアウト（中央揃え） */
  display: flex;
  align-items: center;      /* 縦中央 */
  justify-content: center;  /* 横中央 */
  text-align: center;

  /* テキスト */
  height: 44px;
  font-size: 16px;
  padding: 0 6px;
  
  position: relative;
}

.category-button .label-text {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* Flex文脈での省略対策 */
}

/* ツールチップ：hover（PC）と.show-tooltip（モバイル）で表示 */
.category-button:hover::after,
.category-button.show-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 1000;
  left: 50%;
  bottom: calc(100% + 6px); /* ボタンの上に配置。下に出したいなら top: calc(100% + 6px) に変更 */
  transform: translateX(-50%);
  max-width: min(280px, 90vw);
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  background: rgba(0,0,0,0.88);
  border-radius: 4px;
  white-space: normal;     /* 複数行OK */
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;    /* マウスイベントを透過 */
}

.category-button:hover::before,
.category-button.show-tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: rgba(0,0,0,0.88);
  z-index: 1001;
}

/* 画面下部などで上に出すと切れる場合は、下向きにも対応可能（必要なら条件クラスで出し分け） */
.category-button.tooltip-bottom:hover::after,
.category-button.tooltip-bottom.show-tooltip::after {
  top: calc(100% + 6px);
  bottom: auto;
}
.category-button.tooltip-bottom:hover::before,
.category-button.tooltip-bottom.show-tooltip::before {
  top: 100%;
  bottom: auto;
  border: 6px solid transparent;
  border-bottom: none;
  border-top-color: rgba(0,0,0,0.88);
}

.form-caution-note {
  padding-top: 10px; /* 上部にパディングを追加 */
  text-align: left;
  padding-left: 8.5%;
  padding-right: 8.5%;
  line-height: 1.0; /* 行間を詰める */
}
@media (min-width: 1440px) {
  .form-caution-note{
  padding-left: 19%;
  }
}

.rev-table{
  background-color: white;
  padding: 5px 10px; 
}

.rev-table-border{
  border-bottom: 1px solid #eeeeee;
}

.selected-busstop-display {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  padding: 10px 10px 10px 40px; /* 左側に余白を追加 */
  margin-bottom: 10px;
  background-color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  color: #3a3e42;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.busstop-icon {
  position: absolute;
  left: 10px;
  width: 24px; /* アイコンのサイズを調整 */
  height: 24px; /* アイコンのサイズを調整 */
}

/* トグルスイッチのスタイル */
.switch {
  position: relative;
  display: inline-block;
  width: 40px; /* 幅を小さく */
  height: 20px; /* 高さを小さく */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px; /* 高さを小さく */
  width: 14px; /* 幅を小さく */
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #709dfd;
}

input:checked + .slider:before {
  transform: translateX(20px); /* 移動距離を調整 */
}

/* 丸いスライダー */
.slider.round {
  border-radius: 20px; /* 丸みを調整 */
}

.slider.round:before {
  border-radius: 50%;
}

.date_select:disabled {
  background-color: grey; /* 背景色 */
}

.custom-info-window {
  font-size: 18px; /* テキストの大きさを変更 */
}

.height-auto {
  height: auto;
}

/* クリックカーソル */
.cursor-pointer:hover {
  cursor: pointer !important;
  opacity: 0.8;
}

/* トグルスイッチのスタイル =============================== */
#layerToggleContainer.layer-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#layerToggleContainer.layer-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 8px;
}

/* ラベル全体をクリック可能に */
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-size: 14px;
  color: #333;
  transform: scale(0.85);
  transform-origin: right center;
}

/* 文字ラベル */
.toggle-label {
  line-height: 1;
  font-size: 12px;
}

/* ベースのトラック */
.toggle-track {
  position: relative;
  width: 40px;
  height: 22px;
  background: linear-gradient(180deg, #e7e7e7, #cfcfcf);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
  transition: background .25s ease, box-shadow .25s ease;
  display: inline-block;
}

/* 親のチェックボックスを隠す（でもアクセシブルに） */
.toggle-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ノブ（サム） */
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

/* Hover/Active */
.toggle-switch:hover .toggle-thumb {
  box-shadow: 0 3px 8px rgba(0,0,0,0.30);
}
.toggle-switch:active .toggle-thumb {
  transform: translateX(0) scale(0.98);
}

/* ON 状態（チェック時） */
.toggle-switch input[type="checkbox"]:checked + .toggle-track {
  background: linear-gradient(to bottom, #ff6f3f, #e64500);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15), 0 0 0 2px rgba(94, 187, 110, 0.15);
}
.toggle-switch input[type="checkbox"]:checked + .toggle-track .toggle-thumb {
  transform: translateX(18px);
}

/* キーボードフォーカス可視化（アクセシビリティ） */
.toggle-switch input[type="checkbox"]:focus-visible + .toggle-track {
  outline: 2px solid #2563eb; /* blue-600 */
  outline-offset: 3px;
}

/* 時刻強調表示 =============================== */
/* 点滅のCSS ================================== */
.blinking {
	-webkit-animation:blink 0.8s ease-in-out infinite alternate;
    -moz-animation:blink 0.8s ease-in-out infinite alternate;
    animation:blink 0.8s ease-in-out infinite alternate;
}
@-webkit-keyframes blink {
    0% {opacity:0.3;}
    20% {opacity:0.7;}
    100% {opacity:1;}
}
@-moz-keyframes blink {
    0% {opacity:0.3;}
    20% {opacity:0.7;}
    100% {opacity:1;}
}
@keyframes blink {
    0% {opacity:0.3 ;}
    20% {opacity:0.7;}
    100% {opacity:1;}
}

/* 入力欄の交換アイコン配置 =============================== */
.exchange-fields-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  margin: 0 auto;
  padding-right: 30px;
}

.exchange-fields {
  position: relative;
  width: 80%;
}

@media (min-width: 1440px) {
  .exchange-fields {
    width: 60%;
  }
}

.exchange-fields .form-group {
  position: relative;
}

.exchange-fields input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding-right: 48px;
}

.field-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%); /* 垂直中央合わせ */
  pointer-events: none;        /* クリックは拾わない */
  user-select: none;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), opacity 280ms ease;
}

.exchange-fields.swapping .field-badge {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.exchange-fields .exchange-icon {
  position: absolute;
  right: -35px;
  top: calc(50% - 8px);
  transform: translateY(-50%);
  z-index: 5;

  /* 見た目 */
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(to bottom, #dbc9b8, #b1937a);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
}

/* ホバー時の軽いアニメ */
.exchange-fields .exchange-icon:hover {
  filter: brightness(1.05);
  transform: translateY(-50%) scale(1.05);
  transition: transform 0.15s ease, filter 0.15s ease;
}

/* クリック～スワップ中は回転アニメ */
.exchange-fields.swapping .exchange-icon {
  animation: spinOnce 360ms ease;
}

@keyframes spinOnce {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* 箇条書きリストのスタイル =============================== */
.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem; /* 行間 */
  padding: 10px 0;
}

.about-item {
  position: relative;
  padding-left: 1.2em; /* 先頭インデント（本文開始位置を揃える） */
  line-height: 1.6;
}

.about-list,
.about-item {
  text-align: left !important;
}

/* 先頭に「・」を付与 */
.about-item::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* 先頭に「・」なし */
.about-item.no-bullet::before {
  content: "";
}

