@charset "utf-8";
/* CSS Document */

.ticket-info {
    max-width: 960px;
    margin: 0 auto;
    font-family: "Yu Gothic", "游ゴシック", "Noto Sans JP", sans-serif;
    font-size: 0.95em;
    line-height: 1.6;
  }

  .section-title {
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 0.2em;
  }

  .subheading {
    text-align: center;
    font-size: 1em;
    color: #666;
    margin-bottom: 1.5em;
  }

  .card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.2em 1.2em 1em;
    margin: 1.5em 0;
  }

  .ticket-info h3 {
    font-size: 1.15em;
    margin-top: 0;
    border-left: 4px solid #aaa;
    padding-left: 0.6em;
    color: #333;
  }

  .ticket-info h4 {
    font-size: 1em;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    font-weight: bold;
  }

  .ticket-info ul,
  .ticket-info ol {
    margin-left: 1.2em;
    padding-left: 1em;
  }

  .ticket-info li {
    margin-bottom: 0.25em;
    line-height: 1.4;
    list-style-type: disc;
  }


/* 料金表 */

.fare-header {
  text-align: center;
  margin: 3em 0 2em;
}

.fare-header h2 {
  font-size: 1.6em;
  font-weight: bold;
  border-bottom: 2px solid #bbb;
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: 0.3em;
}

.fare-header .fare-area {
  font-size: 1.1em;
  font-weight: bold;
  color: #444;
  margin-top: 0;
}




/* 共通設定：表全体 */
.train-table { margin-bottom: 3em; }

.train-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1em;
}

.train-table th,
.train-table td {
  border: 1px solid #ccc;
  padding: 0.8em;
  vertical-align: top;
  text-align: left;
  background-color: #fff;
}

.train-table h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin: 1.8em 0 0.3em;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
}

/* ヘッダー */
.train-table thead th {
  background: #f5f5f5;
  font-weight: bold;
}

/* 出発 / 到着：入れ子テーブル構造 */
.nested-time {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nested-time td {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95em;
  padding: 0.1em 0.3em;
  white-space: nowrap;
  border: none;
  line-height: 1.4;
  vertical-align: top;
}

.nested-time .code {
  width: 4em;
}

/* 座席クラス欄 */
.fare-class {
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.fare-class li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95em;
  line-height: 1.4;
}

/* 備考欄の微調整 */
.train-table td:last-child {
  font-size: 0.95em;
}

/* 駅名注釈 */
.station-note {
  font-size: 0.9em;     
  color: #666;        
  margin-top: 1em;     
  line-height: 1.6;    
}
