/* style.css */

/* ===== Reset ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* =========================================================
   Top banner
========================================================= */
.top-banner{
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ロゴ：少し大きめ（カンプ寄せ） */
.title-logo{
  height: 70px; /* ←少し大きめ */
  width: auto;
  display: block;
}

/* 上部横線 */
.top-divider{
  position: relative;
  width: 100%;
  height: 3px;
  background: #000;
  z-index: 1;
}

/* =========================================================
   左上：平日/休日タブ（縦長）
========================================================= */
.schedule-badge{
  position: absolute;
  right: 56px;  /* ←右側（カンプ寄せ） */
  left: auto;
  top: -22px;

  width: 190px;
  height: 210px;

  background: #fff;
  border: 3px solid #000;
  border-radius: 0 0 95px 95px;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 3; /* 線を隠す */
}

/* タブ内テキスト：筑紫A丸ゴシック */
.schedule-text{
  font-family:
    "筑紫A丸ゴシック",
    "Tsukushi A Round Gothic",
    "Tsukushi A Round Gothic Std",
    "Hiragino Maru Gothic ProN",
    "Hiragino Maru Gothic Pro",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    "Meiryo",
    sans-serif;

  font-size: 20px; /* 少し小さめ */
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

/* =========================================================
   Center Stage（時刻ブロックの位置はここで下げている）
========================================================= */

/* 下げ量（今のベスト位置を維持） */
:root{
  --stage-shift: 40px;
}

.stage {
  min-height: calc(100vh - 120px - 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 220px;
}

/* 2つの時刻を「左半分の中心」「右半分の中心」に配置 */
.times-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 左 / 線 / 右 */
  align-items: center;
  justify-items: center;
  transform: translateY(var(--stage-shift));
  padding: 0 6vw; /* 端の余白はそのまま感 */
}

.time-col {
  width: 360px; /* サイズは固定のまま */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-text {
  font-weight: 800;
  font-size: 92px;
  line-height: 1;
  letter-spacing: 1px;
}

/* 中央の縦線 */
.mid-divider {
  width: 3px;
  height: 230px;
  background: #000;
}

/* =========================================================
   Remaining Time Bar
========================================================= */
.remain-bar {
  margin-top: 22px;
  width: 320px;
  height: 26px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
}

/* 先端（右側）は直線、左だけ角丸 */
.remain-fill {
  height: 100%;
  width: 0%;
  background: #00FF00;
  border-radius: 999px 0 0 999px;
  transition: width 0.5s linear, background-color 0.5s linear;
}

.remain-bar--dummy {
  background: transparent;
}

/* =========================================================
   Bottom Semi-circle Button
========================================================= */
.semi-circle {
  position: fixed;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 420px;
  height: 210px;
  background: #000;
  border-radius: 420px 420px 0 0;
  text-decoration: none;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease;
  z-index: 10;
}

.semi-circle:hover {
  transform: translateX(-50%) translateY(-12px);
}

.semi-inner {
  text-align: center;
  transform: translateY(6px);
}

.semi-clock {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.semi-click {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* =========================================================
   Bottom Left Info
========================================================= */
.left-info {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  font-size: 14px;
  line-height: 1.25;
}

.left-info__label { margin-bottom: 6px; }

.left-info__link {
  color: #000;
  text-decoration: underline;
}

/* =========================================================
   Bottom Right Logo
========================================================= */
.right-logo {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.right-logo img {
  width: 70px;
  height: auto;
  display: block;
}

/* =========================================================
   右下：吹き出し（logo03.png）＋ 残り分秒
========================================================= */
.nextinfo{
  position: fixed;
  right: 110px;   /* MDLロゴと被らない */
  bottom: 70px;  /* 半円に被らない */
  width: 370px;
  height: auto;
  z-index: 6;
  pointer-events: none;
}

.nextinfo__img{
  width: 100%;
  height: auto;
  display: block;
}

.nextinfo__text{
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 78%;
  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
}

#leftTimeText{
  font-size: 50px;
  letter-spacing: 1px;
}

/* =========================================================
   左上：赤のときだけ出す（logo02.png）
========================================================= */
.go-burst{
  position: fixed;
  left: 25px;
  top: 135px;      /* 上の横線の少し下 */
  width: 325px;
  height: auto;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* bustime.js が body に is-red を付けたら表示 */
body.is-red .go-burst{
  opacity: 1;
}

/* =========================================================
   ★追加：方向アーチ文字（既存のまま）
========================================================= */
.direction-arc{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 196px;
  width: min(520px, 92vw);
  height: 140px;
  z-index: 9;
  pointer-events: none;
}

.direction-arc text{
  font-family: Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  fill: #000;
}

