/* ===============================
   リセット
================================ */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  display: flex;
  justify-content: center;
  background: #fff;
}

/* ===============================
   全体幅
================================ */
.wrapper {
  width: 100%;
  max-width: 390px;
  min-width: 360px;
}

/* ===============================
   上部 シアン
================================ */
.container {
  background: #7fe3cd;
  padding: 16px 14px 0;
}

/* 青エリア */
.top {
  background: #555;
  border-radius: 18px;
  padding: 12px;
}

.top-inner {
  height: 36px;
  background: #0b3fb3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.marquee {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 36px;
  animation: marquee 14s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-200%); }
}

/* ===============================
   カード
================================ */
.card-wrapper {
  background: #555;
  border-radius: 26px;
  padding: 12px;
  margin-top: 14px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 14px 20px;
}

.card + .card {
  margin-top: 12px;
}

.route {
  text-align: center;
  font-size: 16px;
  margin-bottom: 8px;
}

.time-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clock {
  font-size: 40px;
  font-weight: 700;
}

.remain {
  font-size: 18px;
}

.next {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

/* ===============================
   ライン
================================ */
.lines .line { height: 6px; }
.red { background: #e74c3c; }
.white { background: #7fe3cd; }
.darkblue { background: #0b3fb3; }
.thick { height: 16px; }

/* ===============================
   黒エリア
================================ */
.panel {
  background: #000;
  padding: 10px 0;
  border-bottom: 6px solid #7fe3cd;
  position: relative; /* 追加 */
}

.panel-inner {
  display: flex;
  align-items: flex-end;
}

.panel-orange {
  width: 12px;
  height: 34px;
  background: #ff8a00;
}

.panel-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.panel-gray-small {
  width: 15px;
  height: 23px;
  background: #bfbfbf;
  border-radius: 4px;
}

.panel-gray-big {
  width: 60px;
  height: 35px;
  background: #e6e6e6;
  border-radius: 6px;
}

.panel-yellow {
  width: 30px;
  height: 18px;
  background: #ffff3b;
  border-radius: 4px;
}

.panel-dark {
  width: 110px;
  height: 36px;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.3em;
}

/* ===============================
   下エリア
================================ */
.footer {
  background: #bfbdb0;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-orange {
  width: 40px;
  height: 20px;
  background: #ff8a00;
  border-radius: 5px;
}

.btn-green {
  width: 100px;
  height: 32px;
  background: #0b6b3a;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-green img {
  height: 24px; /* 必要に応じてサイズ調整 */
  width: auto;
}

/* ===============================
   ロゴ
================================ */
.bottom-white {
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-logo {
  height: 60px;
  width: auto;
  display: block;
}