@charset "UTF-8";
/* hotelstay.jp/pass/  書体は端末のもの、画像はほぼ使わない（速さのため） */

:root {
  --ink: #17202b;
  --sub: #5a6675;
  --line: #dfe4ea;
  --bg: #f4f6f9;
  --card: #ffffff;
  --navy: #123a6b;
  --accent: #1463d8;
  --accent-soft: #e8f0fd;
  --ok: #10764f;
  --ok-soft: #e3f5ec;
  --ng: #b3261e;
  --ng-soft: #fdeceb;
  --warn: #8a5a00;
  --warn-soft: #fff3d9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 38, 63, .06), 0 4px 14px rgba(18, 38, 63, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--accent); text-underline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 頭とおしり */
.site-head { background: var(--navy); color: #fff; }
.site-head .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; }
.site-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .01em; }
.logo { width: 22px; height: 15px; border-radius: 3px; background: #fff; position: relative; flex: none; }
.logo::before, .logo::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--navy); }
.logo::before { left: -3.5px; } .logo::after { right: -3.5px; }
.langs { display: flex; gap: 14px; font-size: 13px; white-space: nowrap; }
.langs a { color: #cfe0f7; }
.langs span { font-weight: 700; color: #fff; }
.site-foot { margin-top: 56px; background: #fff; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); padding: 14px 0 22px; }

.crumbs { font-size: 13px; color: var(--sub); margin: 14px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }

h1 { font-size: 28px; line-height: 1.35; margin: 14px 0 6px; letter-spacing: .01em; }
h2 { font-size: 21px; line-height: 1.4; margin: 44px 0 14px; padding-left: 12px; border-left: 5px solid var(--accent); scroll-margin-top: 12px; }
h3 { font-size: 17px; margin: 22px 0 8px; }
.sub { color: var(--sub); margin: 0 0 8px; }
.ad { font-size: 12px; color: var(--sub); margin: 8px 0 12px; }
.lead { font-size: 17px; }
.note { font-size: 13px; color: var(--sub); }
.checked { font-size: 13px; color: var(--sub); margin-top: 6px; }

/* 印 */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; line-height: 1.5; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--sub); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.badge.ng { background: var(--ng-soft); border-color: transparent; color: var(--ng); }
.badge.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.badge.off { background: #eef1f5; border-color: transparent; color: var(--sub); }
.badge.plain { font-weight: 400; }

/* ボタン */
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; color: #fff; line-height: 1.4; }
.btn:hover { filter: brightness(.94); }
.btn.primary { background: var(--accent); }
.btn.official { background: var(--navy); }
.btn.klook { background: #ff5b00; }
.btn.kkday { background: #1aa9b5; }
.btn.ghost { background: #fff; color: var(--accent); border: 1px solid #b9cdee; padding: 8px 16px; font-size: 14px; }
.buy, .jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump { margin: 14px 0 0; }

/* 囲み */
.alert { background: var(--ng-soft); border-left: 5px solid var(--ng); border-radius: 8px; padding: 12px 14px; }
.alert.soft { background: var(--warn-soft); border-left-color: #d9a441; }

/* トップ */
.hero { margin: 22px 0 8px; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(135deg, #123a6b 0%, #1463d8 100%); color: #fff; box-shadow: var(--shadow); }
.hero h1 { font-size: 30px; margin: 2px 0 8px; }
.hero .lead { margin: 0; color: #e6eefb; font-size: 16px; }
.hero-kicker { margin: 0; font-size: 13px; font-weight: 700; color: #bcd3f5; letter-spacing: .06em; }
.points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.points li { background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.points b { display: block; margin-bottom: 2px; }
.points span { font-size: 14px; color: var(--sub); }
.region-block h2 .n { font-size: 14px; font-weight: 400; color: var(--sub); margin-left: 6px; }
.region-block h2 a { color: var(--ink); text-decoration: none; }

/* パスのカード */
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.pcards.small { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--accent); transform: translateY(-1px); }
.pcard-name { font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--accent); }
.pcard-price { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.pcard-sum { font-size: 13.5px; color: var(--sub); line-height: 1.6; }
.pcards.small .pcard-sum { display: none; }
.pcards.small .pcard-name { font-size: 15px; }
.pcards.small .pcard-price { font-size: 15px; }

/* 探す */
.finder { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 18px 14px; margin-top: 18px; }
.finder h2 { border: none; padding: 0; margin: 12px 0 4px; }
fieldset.q { border: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.q legend { font-weight: 700; padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--sub); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid #c9d2de; background: #fff; font-size: 15px; line-height: 1.4; user-select: none; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid #9cc0f5; outline-offset: 1px; }
.count { font-weight: 700; margin: 10px 0 0; color: var(--navy); }

/* 表 */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
tr:last-child > td, tr:last-child > th { border-bottom: none; }
thead th { background: #eef2f7; font-weight: 700; white-space: nowrap; font-size: 13.5px; color: var(--sub); }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
td.ok { color: var(--ok); font-weight: 700; }
td.ng { color: var(--ng); font-weight: 700; }
table.compare th, table.compare td { white-space: nowrap; }
table.compare th:first-child, table.compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 2px 0 0 var(--line); white-space: normal; min-width: 11em; }
table.compare thead th:first-child { background: #eef2f7; z-index: 2; }

/* 券面 */
.ticket { display: flex; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-top: 6px; border-top: 6px solid var(--accent); }
.ticket.t-foreign { border-top-color: var(--ng); }
.ticket.t-unknown { border-top-color: #d9a441; }
.ticket.t-anyone { border-top-color: var(--ok); }
.ticket-main { flex: 1; padding: 16px 20px 18px; min-width: 0; }
.ticket-main h1 { margin: 0 0 2px; font-size: 27px; }
.ticket-op { margin: 0; font-size: 13px; color: var(--sub); font-weight: 700; letter-spacing: .03em; }
.ticket-main .badges { margin-top: 10px; }
.ticket-side { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 16px 20px; border-left: 2px dashed var(--line); position: relative; background: #fbfcfe; }
.ticket-side::before, .ticket-side::after { content: ""; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.ticket-side::before { top: -8px; } .ticket-side::after { bottom: -8px; }
.ticket-price { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy); }
.ticket-checked { margin: 4px 0 0; font-size: 12px; color: var(--sub); white-space: nowrap; }

/* 要点 */
dl.facts { display: grid; grid-template-columns: 10em 1fr; margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
dl.facts dt, dl.facts dd { border-bottom: 1px solid var(--line); padding: 12px 14px; margin: 0; }
dl.facts dt { font-weight: 700; background: #f7f9fc; font-size: 14.5px; }
dl.facts dt.ok { color: var(--ok); }
dl.facts dt.ng { color: var(--ng); }
dl.facts dt:last-of-type, dl.facts dd:last-of-type { border-bottom: none; }
dl.facts ul { margin: 0; padding-left: 1.2em; }
ul.caution { background: var(--warn-soft); border-radius: var(--radius); margin: 0; padding: 14px 18px 14px 36px; }
ul.caution li { margin-bottom: 4px; }

/* 計算機 */
.calc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 18px 18px; margin-top: 44px; border: 2px solid var(--accent-soft); scroll-margin-top: 12px; }
.calc h2 { border: none; padding: 0; margin: 16px 0 6px; }
.calc .q { margin: 12px 0; }
.calc .ql { display: block; font-weight: 700; margin-bottom: 4px; font-size: 14px; color: var(--sub); }
.calc select, .calc input[type=number] { font: inherit; padding: 7px 8px; border: 1px solid #c9d2de; border-radius: 8px; background: #fff; max-width: 100%; }
#calc-fare { width: 8em; }
.rides { list-style: none; padding: 0; margin: 0; }
.rides li { border-bottom: 1px dashed var(--line); padding: 8px 0; }
.rides label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.ride-label b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9d2de; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--accent); }
.stepper input { width: 3.4em; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { font-size: 13px; color: var(--sub); }
table.fac { margin-bottom: 4px; }
table.fac caption { text-align: left; font-weight: 700; font-size: 14px; color: var(--navy); padding: 12px 0 2px; }
table.fac td { padding: 8px 4px; border-bottom: 1px dashed var(--line); }
table.fac td:first-child label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
table.fac input[type=checkbox] { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--accent); }
table.fac .note { display: block; margin-left: 26px; }
table.fac td.num { font-weight: 400; color: var(--sub); }
.calc-result { position: sticky; bottom: 8px; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 14px; margin-top: 14px; box-shadow: 0 6px 20px rgba(18, 38, 63, .28); }
.calc-result table { font-size: 14px; }
.calc-result th, .calc-result td { border: none; padding: 2px 4px; color: #dce8f9; font-weight: 400; }
.calc-result td.num { color: #fff; }
.calc-result tr.total th, .calc-result tr.total td { border-top: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; }
.verdict { font-size: 17px; margin: 8px 4px 2px; font-weight: 700; }
.verdict.ok strong { color: #7ff0bd; font-size: 20px; }
.verdict.ng strong { color: #ffc9a8; font-size: 20px; }
.calc-result .alert { color: var(--ink); margin: 8px 0 2px; font-size: 14px; font-weight: 400; }

.sources { padding-left: 1.2em; }
.sources .note { word-break: break-all; }
.ended { padding-left: 1.2em; }
.ended li { margin-bottom: 8px; }
.hotel-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hotel-links a { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid #c9d2de; text-decoration: none; font-weight: 700; }
.prose { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 22px 22px; margin-top: 8px; }

@media (max-width: 720px) {
  h1 { font-size: 24px; }
  .hero h1 { font-size: 25px; }
  .points { grid-template-columns: 1fr; }
  .pcards, .pcards.small { grid-template-columns: 1fr; }
  .ticket { flex-direction: column; }
  .ticket-main h1 { font-size: 23px; }
  .ticket-side { flex-direction: row; justify-content: space-between; align-items: baseline; border-left: none; border-top: 2px dashed var(--line); padding: 10px 20px; }
  .ticket-side::before { top: -9px; left: -8px; } .ticket-side::after { top: -9px; bottom: auto; left: auto; right: -8px; }
  .ticket-price { font-size: 24px; }
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { border-bottom: none; padding-bottom: 2px; background: transparent; }
  dl.facts dd { padding-top: 2px; }
  table.compare { font-size: 14px; }
  table.compare th:first-child, table.compare td:first-child { min-width: 8.5em; max-width: 9.5em; }
  .btn { padding: 11px 16px; }
}

/* 繁体字のページは、台湾の端末に入っている繁体字の書体で出す（hokkaidodo の snowfall・clothes と同じ）。
   日本語の書体だと「。」「，」が左下に寄り、「與」「值」などはその字だけ別の書体になる。
   iPhone・Mac：PingFang TC／Windows：Microsoft JhengHei／Android：Noto Sans CJK TC。ダウンロードはしない */
html[lang='zh-Hant-TW'] body,
html[lang='zh-Hant-TW'] select,
html[lang='zh-Hant-TW'] input,
html[lang='zh-Hant-TW'] button { font-family: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', 'Noto Sans TC', sans-serif; }
