/*
  index.css
  2025 coded by ZHANG XIN
*/

@charset "utf-8";

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  margin: 0;
  padding: 0;
  background: #b4d3c4;
  text-align: center;
  color: #111;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}


.top{
  padding: 32px 28px 18px;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: 0.02em;
}

.now-title{
  display: none;
}

.current-time{
  margin: 14px 28px 26px;
  background: black;
  border-radius: 18px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  text-align: center;
}

.current-time .date{
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.current-time .clock{
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 0.03em;
}

.current-time .dia{
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
  opacity: 0.95;
}


.current-time::before{
  content: "現在の時刻";
  display: block;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 2px;
  opacity: 0.95;
}


.section{
  padding: 0;
  color: white;
}

/* 蓝条 */
.top-section{
  background: #0542b1;
  padding: 18px 24px 16px;
  margin-bottom: 14px;
}

/* 橙条 */
.bottom-section{
  background: #fd4501;
  padding: 18px 24px 16px;
}


.route-title{
  font-weight: 900;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}


.next-bus{
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}


.next-bus span[data-format="hh:mm"]{
  font-weight: 900;
  font-size: 96px;         /* 大数字 */
  letter-spacing: 0.02em;
  line-height: 0.95;
}


.next-bus .remain{
  font-weight: 900;
  font-size: 36px;
  white-space: nowrap;
}


.after-bus{
  flex-wrap: wrap;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.05;
}


.after-bus::before{
  content: "次のバス：";
  font-weight: 900;
  font-size: 40px;
}


.after-bus span[data-format="hh:mm"]{
  letter-spacing: 0.10em; 
}


.after-bus span[data-format="(残りl分)"]{
  font-size: 38px;
  opacity: 0.98;
}


.media{
  padding: 28px 0 0px;
  display: flex;
  justify-content: center;
}

.media a{
  display: inline-block;
}

.media img{
  width: 400px;
  height: auto;
  display: block;
}

.seian_link{
  color: black;
  text-decoration: none;
  padding-bottom: 45px;
  font-size: 20px;
}