
#calendar .title_wrap {
  background: #f5fcff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15vh;
  position: relative;
}
#calendar .title_wrap h1 {
  font-size: 3.5rem;
  font-weight: 900;
}
#calendar .title_wrap button {
  text-indent: -9999px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
}
#calendar .title_wrap .prev {
  left: 0;
  background: url("./prev.png") no-repeat center / 1.5rem;
}
#calendar .title_wrap .next {
  right: 0;
  background: url("./next.png") no-repeat center / 1.5rem;
}
#calendar .date_wrap {
  height: 85vh;
}
#calendar .date_wrap table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}
#calendar .date_wrap table thead tr th {
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}
#calendar .date_wrap table tbody tr td {
  height: calc(100% / 6);
  position: relative;
}
#calendar .date_wrap table tbody tr td > span {
  font-size: 1.6rem;
  position: absolute;
  top: 8%;
  right: 10%;
  pointer-events: none;
}
#calendar .date_wrap table th,
#calendar .date_wrap table td {
  border: 1px solid #eee;
}

.holiday span {
  color: red;
}

#calendar .bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}
#calendar .move_wrap {
  width: 80%;
  background: #fff;
  padding: 2rem 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 999;
}
#calendar .move_wrap h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -.1rem;
  text-align: center;
}
#calendar .move_wrap .input_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  padding: 5rem 0 6rem;
}
#calendar .move_wrap .input_wrap > div {
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
#calendar .move_wrap .input_wrap .year_wrap {
 width: 35%; 
}
#calendar .move_wrap .input_wrap .month_wrap {
 width: 25%; 
}
#calendar .move_wrap .input_wrap > div span {
  font-size: 1.8rem;
  font-weight: 600;
  margin-left: .5rem;
}
#calendar .move_wrap .input_wrap > div button {
  text-indent: -9999px;
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
}
#calendar .move_wrap .input_wrap > div .up {
  top: -2.5rem;
  background: url("../img/up.png") no-repeat center / contain;
}
#calendar .move_wrap .input_wrap > div .down {
  bottom: -2.5rem;
  background: url("../img/down.png") no-repeat center / contain;
}
#calendar .move_wrap .input_wrap input[type="text"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: .3rem;
  outline: none;
  line-height: 1.4;
  padding: .7rem 0;
  text-align: center;
  font-size: 1.8rem;
}
#calendar .move_wrap .answer_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
#calendar .move_wrap .answer_wrap > button {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background: #444;
  padding: .6rem 0;
  border-radius: .5rem;
  width: 30%;
}

#calendar .nosmoking_wrap {
  width: 80%;
  background: #fff;
  padding: 2rem 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 999;
  text-align: center;
}
#calendar .nosmoking_wrap p {
  font-size: 1.8rem;
  font-weight: 500;
  color: #888;
}
#calendar .nosmoking_wrap h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.1rem;
  margin-bottom: 1.5rem;
}
#calendar .nosmoking_wrap .memo_wrap {
  padding: 0 2rem;
  margin-top: 1.5rem;
}
#calendar .nosmoking_wrap .memo_wrap input[type="text"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: .3rem;
  outline: none;
  line-height: 1.4;
  padding: .7rem 1rem;
  font-size: 1.6rem;
  box-sizing: border-box;
}
#calendar .nosmoking_wrap .btn_wrap {
  margin-top: 2rem;
}
#calendar .nosmoking_wrap .btn_wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#calendar .nosmoking_wrap .btn_wrap button {
  width: 8rem;
  font-size: 1.7rem;
  font-weight: 600;
  padding: .6rem 1.2rem;
  border-radius: 1rem;
  color: #fff;
}
#calendar .nosmoking_wrap .btn_wrap .yes {
  background: #119f11;
}
#calendar .nosmoking_wrap .btn_wrap .no {
  background: #e53030;
}

#calendar .mark {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: #119f11;
  pointer-events: none;
}