@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  text-align: center;
  font-family: sans-serif;
  color: #fff;
  margin-top: 30px;
}

#slot-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 20px;
}

.calendar-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #111 0%, #000 100%);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid #00bfff;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.4), inset 0 0 15px rgba(0, 191, 255, 0.2);
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.header h2 {
  font-size: 30px;
  margin: 0;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.9);
  letter-spacing: 0.05em;
}

.header button {
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
  color: #00f3ff;
  border: 2px solid #00f3ff;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.4);
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.8);
  transition: 0.3s;
}

.header button:hover {
  background: #00f3ff;
  color: #000;
  box-shadow: 0 0 25px #00f3ff;
}

table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 700px;
  table-layout: fixed;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

th, td {
  border: 1px solid rgba(0, 191, 255, 0.4);
  text-align: center;
}

th {
  background-color: rgba(0, 191, 255, 0.15);
  color: #00f3ff;
  padding: 15px 0;
  font-size: 20px;
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}


td {
  height: 100px;
  font-size: 26px;
  transition: 0.2s;
  vertical-align: top;
  padding-top: 10px;
}

td:hover {
  background-color: rgba(0, 191, 255, 0.15);
}

.day-num {
  display: block;
  line-height: 1.2;
}

.rokuyo {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
  text-shadow: none;
}

.taian {
  color: #ff5555;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255, 85, 85, 0.7);
}

.ichiryu {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #ffd700;
  margin-top: 3px;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

.sun {
  color: #ff5555;
  text-shadow: 0 0 8px rgba(255, 85, 85, 0.6);
}

.sat {
  color: #55aaff;
  text-shadow: 0 0 8px rgba(85, 170, 255, 0.6);
}

.today {
  background-color: rgba(0, 243, 255, 0.25);
  color: #fff;
  font-weight: bold;
  border: 2px solid #00f3ff;
  box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.6);
  text-shadow: 0 0 10px #00f3ff;
}

.calendar-guide {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 191, 255, 0.3);
  font-size: 13px;
  line-height: 1.7;
  color: #ccc;
}

.guide-rokuyo {
  margin-bottom: 6px;
}

.guide-desc {
  font-size: 12px;
  color: #999;
}

.info-side {
  flex: 0 0 160px;
  min-height: 600px;
  border: 1px solid rgba(0, 191, 255, 0.5);
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
  padding: 20px 10px;
}

.info-inner {
  width: 100%;
  text-align: center;
}

.info-text {
  display: block;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  #slot-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .calendar-area {
    width: 100%;
    padding: 15px 10px;
    order: 1;
  }

  .header {
    gap: 10px;
  }

  .header h2 {
    font-size: 22px;
  }

  .header button {
    font-size: 14px;
    padding: 6px 12px;
  }

  table {
    width: 100%;
  }

  th {
    padding: 10px 0;
    font-size: 16px;
  }

  
 td {
    height: 56px;
    font-size: 17px;
    padding-top: 4px;
  }

  .rokuyo {
    font-size: 10px;
    margin-top: 2px;
  }

.ichiryu {
    font-size: 8px;
    margin-top: 1px;
    letter-spacing: -0.05em;
  }

  .calendar-guide {
    font-size: 11px;
    margin-top: 15px;
    padding-top: 12px;
  }

  .info-side {
    width: 100%;
    max-width: 400px;
    min-height: 100px;
    flex: 0 0 auto;
    order: 2;
  }
}
