﻿
#nobeoka_map {
    height: 40vh; /* 高さを適切に設定 */
    width: 95%; /* 幅を100%に設定 */
    margin: 0 auto; /* 中央揃え */
}

.txtCenter{
	text-align: center;
}

.search-button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #0056b3;
}

.day-type.weekday {
    color: #0077cc;
    font-weight: bold;
}

.day-type.holiday {
    color: #cc0033;
    font-weight: bold;
}


/* 検索結果表示 */
.accordion-item {
    border: 1px solid #ccc;
    border-radius: 6px;
    margin: 8px 0;
    overflow: hidden;
    background-color: #f9f9f9;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 10px;
    background-color: #eee;
    font-weight: bold;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.2s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-header.active {
    background-color: #ccc;
}

.accordion-icon {
    font-size: 1.2rem;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.accordion-panel {
    padding: 10px;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 曜日色分け */
.day-type.weekday {
    color: #0077cc;
    font-weight: bold;
}
.day-type.saturday {
    color: #009933;
    font-weight: bold;
}
.day-type.holiday {
    color: #cc0033;
    font-weight: bold;
}

/* 曜日判定 */
.day-type.平日 {
    color: #007bff;
}
.day-type.土曜 {
    color: #17a2b8;
}
.day-type.日祝 {
    color: #dc3545;
}


/* =========================サーチフォーム用 */
.search-form {
  max-width: 900px;
  margin: auto;
  font-family: sans-serif;
  padding: 16px;
  box-sizing: border-box;
}
.search-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.search-form label {
  font-weight: bold;
}
.search-form input[type="text"],
.search-form input[type="date"],
.search-form select {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.search-form .search-type label {
  margin-right: 12px;
  font-weight: normal;
}
.search-form button {
  width: 100%;
  background-color: #005BAC;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
@media (max-width: 600px) {
	
.search-form {
  width: 100%;
  margin: auto;
  font-family: sans-serif;
  padding: 16px;
  box-sizing: border-box;
}
	
  .search-form .row {
	  align-items: normal;
    flex-direction: column;
    gap: 12px;
  }
}

#clear-textboxes {
	background-color: #8e8e8e;
	width: 100%; padding: 8px;
}


/* ========================発着入れ替え */
.swap-column {
  display: flex;
  align-items: flex-end; /* 下に揃える */
  justify-content: center;
  padding-bottom: 0;
  min-width: 50px;
}

#swap-stopnames {
    font-size: 30px;
    margin: 15px 0 1px 0;
    line-height: 1;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
}

#swap-stopnames:focus {
  outline: none;
}
