/* 11/25 Rick Brierley */

body{
  margin: 0;
  padding: 0;
  font-family: 'Kaisei Opti', sans-serif;
  color: #111;
  height: 100%;
}

.kaisei-opti-regular {
  font-family: "Kaisei Opti", serif;
  font-weight: 400;
  font-style: normal;
}

.kaisei-opti-bold {
  font-family: "Kaisei Opti", serif;
  font-weight: 700;
  font-style: normal;
}


body {
  background-image: url("material/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #ffffff;
}

.header {
  position: absolute;
  top: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.moji {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

#logo {
  height: 40px;
}

#title {
  position: absolute;
  font-size: 24px;
  top: 30px;
  left: 40px;
}

#time {
  position: absolute;
  font-size: 50px;
  top: 80px;
  text-align: center;
  justify-content: center;
  line-height: 1.2;
  z-index: 2;
}
#timebg {
  height: 180px;
  position: absolute;
  top: 90px;
  z-index: 1;
}


.nowtime {
  font-size: 28px;
  color: white;
}
.date {
  font-size: 30px;
}

.number {
  font-size: 30px;
}

#to-seian {
  font-size: 24px;
  position: absolute;
  left: 120px;
  top: 180px;
}
.toseiantime, .toogototime {
  font-weight: 700;
  font-size: 80px;
  margin: 16px 0;
}

#to-ogoto {
  font-size: 24px;
  position: absolute;
  right: 150px;
  bottom: 120px;
  text-align: right;
}

.timeleft {
  font-size: 28px;
}

.nexttimeleft {
  font-size: 20px;
}

.footer {
  position: absolute;
  bottom: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#service {
  font-size: 20px;
  justify-content: center;
}

#access {
  height: 50px;
}