/*
色は以下で統一
【基本】
00a7e3  :  色1-水色
0062b2  :  色2-青
49585f  :  文字色1-微薄グレー
3c4549  :  文字色2-微濃グレー
ffffff  :  バックグラウンド
c6cccf  :  テーブルボーダー
f0f0f0  :  th濃兼テーブルホバー
f4f6f8  :  th薄
3cbceb  :  hover
f1f9fd  :  メニュー
【原色】
d93232  :  red
3cbceb  :  blue
f18a2b  :  orange
189e13  :  green
e8351b  :  star
【ニュース】
6b8c3a  :  お知らせ
c24644  :  重要
9f8a38  :  イベント
af4c93  :  企画
1e3b8b  :  沿線情報
00a7e3  :  運行関連
6c717c  :  その他
*/

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica", "Arial", sans-serif;
  background-color: #ffffff;
  color: #49585f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #00a7e3;
  color: #ffffff;
  padding: 1.5em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

.container {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 120px);
}

aside#menu {
  width: 220px;
  min-width: 180px;
  max-width: 100%;
  background-color: #f1f9fd;
  border-right: 1px solid #c6cccf;
  padding: 1.5em;
  box-sizing: border-box;
}

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

  aside#menu {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #c6cccf;
  }

  main#content {
    padding: 1.5em;
  }
}

aside#menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside#menu li {
  margin-bottom: 1em;
}

aside#menu a {
  text-decoration: none;
  color: #00a7e3;
  font-weight: bold;
  transition: color 0.2s ease;
}

aside#menu a:hover {
  color: #3cbceb;
}

main#content {
  flex: 1;
  padding: 2em;
  background-color: #ffffff;
}

main h2 {
  color: #00a7e3;
  border-bottom: 2px solid #c6cccf;
  padding-bottom: 0.3em;
  margin-top: 0;
}

main h3 {
  color: #0062b2;
  border-bottom: 2px solid #c6cccf;
  padding-bottom: 0.3em;
  margin-top: 0;
}

main ul {
  padding-left: 1.2em;
}

footer {
  background-color: #ffffff;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #3c4549;
  border-top: 1px solid #3c4549;
}

.notice-text {
  width: 40ch;
  background-color: #000000;
  color: inherit;
  font-weight: bold;
  font-size: 1em;
  font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
  letter-spacing: 0.15em;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0.5em;
}

.contact-button {
  display: inline-block;
  background-color: #00a7e3;
  color: #ffffff;
  font-weight: bold;
  font-size: 1em;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #0062b2;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 6px rgba(0, 167, 227, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
  margin-top: 1em;
}

.contact-button:hover {
  background-color: #3cbceb;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 167, 227, 0.6);
  transform: translateY(-2px);
}

.contact-button-square {
  display: inline-block;
  width: 80px;
  height: 80px;
  background-color: #00a7e3;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9em;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #0062b2;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 6px rgba(0, 167, 227, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-align: center;
  line-height: 76px; /* height - border * 2 */
  margin-top: 1em;
}

.contact-button-square:hover {
  background-color: #3cbceb;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 167, 227, 0.6);
  transform: translateY(-2px);
}

.contact-button-round {
  display: inline-block;
  background-color: #00a7e3;
  color: #ffffff;
  font-weight: bold;
  font-size: 1em;
  padding: 0.6em 1.6em;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid #0062b2;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 6px rgba(0, 167, 227, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
  margin-top: 1em;
}

.contact-button-round:hover {
  background-color: #3cbceb;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(0, 167, 227, 0.6);
  transform: translateY(-2px) scale(1.05);
}

.text-image {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1.5em;
  font-family: "Segoe UI", "Helvetica", "Arial", sans-serif;
  font-size: 1em;
  color: #49585f;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

table thead {
  background-color: #f4f6f8;
}

table th,
table td {
  border: 1px solid #c6cccf;
  padding: 0.8em 1em;
  text-align: left;
  vertical-align: top;
}

table th {
  background-color: #f0f0f0;
  font-weight: bold;
  color: #00a7e3;
}

table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

table tbody tr:hover {
  background-color: #f0f0f0;
}

.line-color {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: middle;
}

.line-link {
  display: inline-block;
  margin: 0.3em 0;
  font-weight: bold;
  color: #00a7e3;
  text-decoration: none;
}

.line-link:hover {
  color: #3cbceb;
  text-decoration: underline;
}

.text-image {
  height: 1em;
  width: auto;
  vertical-align: middle;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
  font-weight: bold;
}

.spacer {
  display: block;
  width: 100%;
  height: 2em;
}

.icon {
  display: inline-block;
  width: 5em;
  color: #ffffff;
  border-radius: 2px;
  text-align: center;
  padding: 5px 0;
  margin: 2px;
}

.icon_1 { background-color: #6b8c3a; } /*お知らせ*/
.icon_2 { background-color: #c24644; } /*重要*/
.icon_3 { background-color: #9f8a38; } /*イベント（更新）*/
.icon_4 { background-color: #af4c93; } /*企画（特集）*/
.icon_5 { background-color: #1e3b8b; } /*沿線情報（リクエスト）*/
.icon_6 { background-color: #00a7e3; } /*運行情報（修正）*/
.icon_7 { background-color: #6c717c; } /*その他*/
