@charset "utf-8";
/* =========================================================
   h1「外湯混雑状況」— 前後に温泉マーク（img/spa.svg）
   ========================================================= */
.title h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-size: 2.2em;             /* style.css の 1.8em から拡大 */
  letter-spacing: .12em;
  text-indent: .12em;           /* 字間ぶんの右寄りを打ち消して中央に */
}
/* style.css の .title span（sans-serif / 0.85em / normal）が
   h1 内のテキスト span にも当たってしまうため、h1 の指定を継がせる */
.title h1 > span {
  font: inherit;
  letter-spacing: inherit;
}
.title__mark {
  flex: none;
  width: .95em;
  height: auto;
  display: block;
}

@media screen and (max-width: 640px) {
  .title h1 { gap: .35em }
  .title__mark { width: .85em }
}

/* =========================================================
   「城崎温泉」— h1 のすぐ上。黒地・白文字のラベル
   ========================================================= */
.title .site-name {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 20px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-family: sans-serif;      /* 他のゴシック（.title span 等）に合わせる */
  font-size: 1.15em;
  font-weight: bold;
  letter-spacing: .22em;
  text-indent: .22em;          /* 字間ぶんの右寄りを打ち消して中央に */
  line-height: 1.5;
}

@media screen and (max-width: 640px) {
  .title .site-name { font-size: 1.05em; padding: 5px 16px; letter-spacing: .18em; text-indent: .18em }
}

/* =========================================================
   最終更新時刻 — 黒地・白文字のバッジで目立たせる
   ========================================================= */
.title #last-update {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1.45em;
  font-weight: bold;
  letter-spacing: .05em;
  line-height: 1.35;
}

@media screen and (max-width: 640px) {
  .title #last-update { font-size: 1.2em; padding: 10px 12px }
}

/* =========================================================
   温度についての注記（最終更新の下）
   ========================================================= */
.title .temp-note {
  margin: 18px 0 0;
  text-align: center;
  color: #d8402f;
  font-family: sans-serif;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: .02em;
}

@media screen and (max-width: 640px) {
  .title .temp-note { margin-top: 14px; font-size: .95em }
}

/* =========================================================
   「旧来画面へ」「ログイン画面へ」— 注記の下に横並び
   丸アイコン＋白地・細枠のピル
   ※ style.css の #btn-go-old a / #btn-go-back a は ID セレクタで
     背景 #444・白文字を指定しているため、こちらも ID を含めて上書きする
   ========================================================= */
.title__links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
}
.title__links #btn-go-old,
.title__links #btn-go-back {
  position: static;
  width: auto;
  margin: 0;
  /* a を inline-flex のままにすると、ベースラインが「最初のフレックス項目」
     （アイコン or テキスト）で決まり、2つの高さがずれる。
     ラッパを flex にしてベースライン揃えを使わせない。 */
  display: flex;
  align-items: center;
}
.title__links #btn-go-old a,
.title__links #btn-go-back a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: none;
  color: #333;
  font-family: sans-serif;
  font-size: 1.05em;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.title__links #btn-go-old a > span,
.title__links #btn-go-back a > span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.title__links #btn-go-old a:hover,
.title__links #btn-go-back a:hover {
  background: none;
  color: #000;
}
.btn-go-old__ico,
.btn-go-back__ico {
  flex: none;
  align-self: center;
  width: 1.35em;
  height: 1.35em;
  display: block;
  overflow: visible;           /* 円が viewBox の縁で欠けないように */
  color: #333;                 /* 丸の塗り */
}

@media screen and (max-width: 640px) {
  .title__links { margin-top: 14px; gap: 8px 14px }
  .title__links #btn-go-old a,
  .title__links #btn-go-back a { font-size: 1em }
}
