/* ===== Base ===== */
body {
  font-family: "Helvetica", "YuGothic", sans-serif;
  background: #e5e5e5;
  margin: 0;
  color: #222;


  width: 100%;
  height: 100vh;
}

/* ===== Animation ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Header ===== */
.header {
  position: relative;              
  max-width: 1400px;
  height: 240px;
  margin: 0 auto;
}

.logo-img {
  position: absolute;
  top: 45px;
  left: 15px;
  width: 450px;

  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.15s;
}

/* 右上：日時 */
.datetime {
  position: absolute;
  top: 60px;
  right: 20px;                   
  font-size: 55px;
  text-align: right;

  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

/* 右上：Holiday / Weekday */
.subtitle {
  position: absolute;
  top: 120px;
  right: 20px;                  
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1f3f74;
  text-align: right;

  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.45s;
}

/* ===== Panels ===== */
.content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.panel {
  position: absolute;
  top: 100px;
  display: flex;
  align-items: flex-start;

  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.panel.left {
  left: 50px;
  animation-delay: 0.7s;
}

.panel.right {
  right: 300px;       
  animation-delay: 0.7s;
}

/* 青線 */
.panel-line {
  width: 24px;
  height: 340px;
  background: #1f3f74;
  margin-top: 10px;
  margin-right: 30px;
}


/* テキスト */
.panel-content {
  width: 320px;
}

/* 路線 */
.route {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  margin: 10px;
}

/* 矢印行 */
.arrow-line {
  display: block;
  white-space: nowrap;
  margin-top: 2px;
  padding-left: 2px;
}

.arrow-line .arrow {
  font-size: 0.8em;
  color: #777;
  margin-right: 4px;
}

.arrow-line .dest {
  font-size: 1em;
  color: #222;
  font-weight: 600;
}

/* ===== Time Block ===== */
.time-block {
  margin-top: 15px;
}

.time-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.time {
  font-size: 150px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin: 0;
}

/* in ○○ min */
.in {
  font-size: 16px;
  color: #1f3f74;
  background: rgba(31, 63, 116, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}

/* Next */
.next {
  font-size: 30px;
  color: #555;
  opacity: 0.4;
  margin-top: 6px;
}

/* ===== Footer ===== */
.footer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: calc(100% - 80px);
  height: 80px;
}

.mdl-logo {
  position: absolute;
  left: 0;
  top: 23px;
  height: 30px;
}

.more-btn {
  position: absolute;
  right: 0;
  top: 22px;
  font-size: 25px;
  color: #1f3f74;
  text-decoration: none;
  font-weight: 600;
}

.bus-icon {
  width: 50px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ===== Hover Effect ===== */
.mdl-logo,
.more-btn {
  transition: opacity 0.25s ease;
}

.mdl-logo:hover,
.more-btn:hover {
  opacity: 0.6;
}
