@charset "UTF-8";
/* CSS Document */
:root {
  --max-width: 1014px;
  --accent: rgba(0, 123, 148, 1);
  --border: #ddd;
  --bg-light: #f9f9f9;
  --radius: 6px;
}

body {
  line-height: 1.7;
  color: #222;
  margin: 0;
  background: #fff;
}

main {
  padding: 10rem 4% 0;
}

h1 {
  margin-top: 0;
  border-bottom: 3px solid var(--accent);
  padding-bottom: .3rem;
}

h2 {
  color: var(--accent);
  margin-top: 2rem;
  border-left: 4px solid var(--accent);
  padding-left: .5rem;
}

h3 {
  margin-top: 1rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
}
a:visited { opacity: 0.8; }

p, ul {
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
}

caption {
  text-align: left;
  font-weight: bold;
  margin: .5rem;
}

th, td {
  border: 1px solid var(--border);
  padding: .5rem .6rem;
  vertical-align: top;
}

th {
  background: var(--bg-light);
  text-align: center;
}

td.center, th.center {
  text-align: center;
}

.table-wrap table tr:nth-child(even) td {
  background: #fcfcfc;
}

.note {
  font-size: .95rem;
  color: #333;
}

address {
  font-style: normal;
  line-height: 1.5;
}

.contact {
  border: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 2rem 0;
  background: #fff;
}

.contact h2 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 0;
}
.topsite-button {
  display: inline-flex; /* フレックスで中央寄せ */
  align-items: center; /* 縦方向中央 */
  justify-content: center; /* 横方向中央 */
  height: 3rem; /* 高さを決めて左右を半円に */
  margin-top: 3rem;
  padding: 0 5rem; /* 左右の余白 */
  background-color: rgba(0, 123, 148, 1);
  color: #fff; /* 文字色を白 */
  text-decoration: none; /* 下線を消す */
  font-size: 1.6rem;
  font-weight: 400;
  border-radius: 9999px; /* 両端を丸く（ピル型） */
  transition: background .2s ease, transform .2s ease;
}
.topsite-button:hover {
  background-color: rgba(0, 123, 148, 0.85); /* 少し淡く */
  transform: translateX(2px); /* ふわっと */
}
.topsite-button:active {
  transform: translateX(0);
}
.topsite-button:focus {
  outline: 3px solid rgba(0, 123, 148, 0.4);
  outline-offset: 2px;
}


/* Media Queries */
@media (min-width: 768px) {
  table { min-width: 0; }
  .table-wrap { border: none; overflow: visible; }
}

