@charset "UTF-8";
:root {
  --blue: #007752;
  --ink: #007752;
  --line: #d2e1d7;
  --cream: #fcfdf0;
  --yellow: #f5ff75;
  --mint: #e5f4ed;
}

/* 表示切り替えユーティリティ */
.mobile {
  display: block;
}
@media print, screen and (min-width: 920px) {
  .mobile {
    display: none;
  }
}

.desktop-table {
  display: none;
}
.desktop-table.expanded {
  display: block;
}
@media print, screen and (min-width: 920px) {
  .desktop-table {
    display: block;
  }
}

[hidden] {
  display: none !important;
}

/* 時刻表パネル全体 */
.timetable-panel .hint {
  font-size: 12px;
  font-weight: bold;
  color: #007752;
  margin-bottom: 10px;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .hint {
    font-size: 13px;
  }
}
.timetable-panel button {
  font: inherit;
  cursor: pointer;
}
.timetable-panel button:focus-visible {
  outline: 3px solid #bc8717;
  outline-offset: 4px;
}
.timetable-panel a:focus-visible {
  outline: 3px solid #bc8717;
  outline-offset: 4px;
}
.timetable-panel .tabs {
  display: flex;
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 6px;
  border: 2px solid #007752;
  background: #fff;
  gap: 4px;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .tabs {
    padding: 5px;
    margin-bottom: 24px;
    border-width: 3px;
    gap: 5px;
  }
}
.timetable-panel .tabs button {
  flex: 1;
  border: 0;
  border-radius: 4px;
  background: #f3f7ef;
  font-weight: 900;
  font-size: 1.6rem;
  text-align: center;
  color: #007752;
  padding: 8px 12px;
  transition: background 0.2s;
  cursor: pointer;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .tabs button {
    font-size: inherit;
    padding: 11px 22px;
  }
}
@media (hover: hover) {
  .timetable-panel .tabs button:where(:any-link, :enabled, summary, span, dt, div, li):hover {
    background-color: #eef2d3;
  }
}
@media (hover: none) {
  .timetable-panel .tabs button:where(:any-link, :enabled, summary, span, dt, div, li):active {
    background-color: #eef2d3;
  }
}
.timetable-panel .tabs button[aria-pressed=true] {
  background: #007752;
  border-color: #007752;
  color: #fff;
}
.timetable-panel {
  /* 停留所別アコーディオン（SP用） */
}
.timetable-panel .stop {
  border: 2px solid #007752;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
}
.timetable-panel .stop .stop-button {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 17px 14px;
  background: #fff;
  border: 0;
  border-left: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: #007752;
  cursor: pointer;
}
@media (max-width: 374px) {
  .timetable-panel .stop .stop-button {
    padding: 14px 10px;
  }
}
.timetable-panel .stop .stop-button:hover {
  background: #f6faef;
}
.timetable-panel .stop .stop-button[aria-expanded=true] {
  background: var(--mint);
}
.timetable-panel .stop .stop-button[aria-expanded=true] .chevron {
  transform: rotate(180deg);
}
.timetable-panel .stop .stop-copy {
  flex-wrap: wrap;
}
.timetable-panel .stop .stop-content {
  padding: 18px 16px;
  border-top: 1px solid #d7e8dc;
  background: #fff;
}
.timetable-panel {
  /* 停留所見出し共通スタイル（アコーディオン & 全体テーブル共通） */
}
.timetable-panel .stop-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
@media print, screen and (min-width: 920px) {
  .timetable-panel .stop-heading {
    width: 449px;
  }
}
@media (max-width: 374px) {
  .timetable-panel .stop-heading {
    gap: 8px;
  }
}
.timetable-panel .stop-number {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid #007752;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  background: var(--cream);
  color: #007752;
}
.timetable-panel .stop-copy {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0px 6px;
  min-width: 0;
}
@media print, screen and (min-width: 920px) {
  .timetable-panel .stop-copy {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px 6px;
  }
}
.timetable-panel .stop-location {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #007752;
  margin-bottom: 3px;
  line-height: 1.4;
}
@media print, screen and (min-width: 920px) {
  .timetable-panel .stop-location {
    font-size: 14px;
  }
}
.timetable-panel .stop-name {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}
@media print, screen and (min-width: 920px) {
  .timetable-panel .stop-name {
    font-size: 15px;
  }
}
.timetable-panel .chevron {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  transition: transform 0.2s;
}
.timetable-panel .chevron:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #007752;
  border-bottom: 2px solid #007752;
  transform: translate(-50%, -50%) rotate(45deg);
  margin-top: -2px;
}
.timetable-panel .notice-wrap {
  width: 100%;
}
.timetable-panel .notice {
  display: table;
  font-size: 10px;
  color: #4e7147;
  background: #f6f9e9;
  border: 1px solid #d9e3bb;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 6px;
}
@media print, screen and (min-width: 920px) {
  .timetable-panel .notice {
    font-size: 11px;
    margin-top: 0;
  }
}
.timetable-panel .times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.timetable-panel .time {
  border: 1px solid #cfdfd3;
  border-radius: 4px;
  text-align: center;
  padding: 6px 0;
  background: #fcfdf6;
  color: #007752;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}
.timetable-panel .duration {
  text-align: center;
  background: var(--mint);
  border-radius: 4px;
  margin: 16px 0 0;
  padding: 10px 3px;
  font-size: 13px;
  font-weight: bold;
  color: #007752;
}
.timetable-panel .duration strong {
  color: #007752;
  font-size: 16px;
}
.timetable-panel {
  /* 全体一覧表トグルボタン（SP用） */
}
.timetable-panel .table-toggle {
  display: block;
  border: 1px solid #b9d2c3;
  border-radius: 40px;
  background: var(--cream);
  color: #007752;
  width: 100%;
  padding: 16px;
  margin: 22px 0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .table-toggle {
    display: none;
  }
}
.timetable-panel .table-title {
  text-align: left;
  font-size: 16px;
  font-weight: 900;
  color: #007752;
  margin-bottom: 10px;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .table-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
}
.timetable-panel {
  /* 全体時刻表テーブル */
}
.timetable-panel .table-wrap {
  overflow: auto;
  border: 3px solid #007752;
  border-radius: 6px;
  cursor: grab;
  user-select: none;
}
.timetable-panel .table-wrap:active {
  cursor: grabbing;
}
.timetable-panel .scroll-hint-icon {
  top: 90px !important;
  left: 520px !important;
}
.timetable-panel table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  width: auto !important;
  max-width: none;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.timetable-panel table th,
.timetable-panel table td {
  padding: 10px 8px;
  border: 0;
  border-right: 1px solid #d5e2d8;
  border-bottom: 1px solid #d5e2d8;
  text-align: center;
  white-space: nowrap;
}
.timetable-panel table thead th {
  background: #007752;
  color: #fff;
  line-height: 1.2;
}
.timetable-panel table thead th:first-child {
  background: #006545;
  color: #fff;
  height: 57px;
}
.timetable-panel table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  white-space: nowrap;
  width: 490px;
  background: #fff;
  padding-inline: 20px;
}
.timetable-panel table th:not(:first-child),
.timetable-panel table td {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}
.timetable-panel table tbody tr:nth-child(even) th,
.timetable-panel table tbody tr:nth-child(even) td {
  background: #f7faef;
}
.timetable-panel table tfoot th,
.timetable-panel table tfoot td {
  background: #e8f4df !important;
  color: #007752;
  font-weight: bold;
}
.timetable-panel .stop-address {
  display: block;
  color: #68778c;
  font-weight: 400;
}
.timetable-panel {
  /* 送り専用便セクション */
}
.timetable-panel .send {
  position: relative;
  background: #007752;
  color: #fff;
  border-radius: 6px;
  padding: 16px;
  margin-top: 28px;
  margin-bottom: 24px;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .send {
    padding: 25px;
  }
}
.timetable-panel .send h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding-top: 0;
  padding-right: 0;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .send h3 {
    font-size: 22px;
    padding-top: 0;
    padding-right: 90px;
  }
}
.timetable-panel .send h3 small {
  font-size: 11px;
  font-weight: 700;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .send h3 small {
    font-size: 14px;
  }
}
.timetable-panel .send .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--yellow);
  color: #007752;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 0 5px 0 6px;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .send .badge {
    font-size: 16px;
  }
}
.timetable-panel .send .send-times {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.timetable-panel .send .send-times span {
  padding: 4px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3764705882);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.0705882353);
  font-size: 19px;
  font-weight: 900;
}
.timetable-panel .send p {
  font-size: 12px;
  margin-top: 12px !important;
  margin-bottom: 0;
  color: #e0f1e8;
}
@media print, screen and (min-width: 768px) {
  .timetable-panel .send p {
    font-size: 13px;
  }
}