@import url('Common.css');
@import url('Spinner.css');

#target {
  width: 100%;
  padding: 0;
}
#menu-select {
  min-width: 10rem;
}
.menu-name {
  font-size: 1.4rem;
  text-align: center;
}
.prev,
.next {
  cursor: pointer;
}

.week-flexPC {
  width: 84%;
  margin: 0 8%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
}
select {
  font-size: 1.4rem;
  width: 100%;
  min-width: 10rem;
}
.avail-flex {
  width: 84vw;
  margin: 1rem 8vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2vw;
}
.avail-flexitem {
  width: 41vw;
}
#target table {
  width: 41vw;
  border-collapse: collapse;
  border: 1px solid rgb(85, 85, 85);
  margin: 0 0 2vw;
  table-layout: fixed;
  background-color: var(--base-color);
}
.week-flexSP {
  display: none;
}

thead.scrollHead,
tbody.scrollBody {
  width: 49vw;
  display: block;
}
tbody.scrollBody {
  height: 55vh;
  overflow-y: auto;
  overflow-x: hidden;
}
#target th {
  border: 1px solid rgb(85, 85, 85);
  text-align: center;
  background-color: var(--base-color);
  color: rgb(51, 51, 51);
  height: 4.68vw;
  width: 4.68vw;
  padding: 0px;
  font-weight: normal;
}
#target td {
  border: 1px solid rgb(100, 100, 100);
  background-color: #bbb;
  height: 4.68vw;
  width: 4.68vw;
  text-align: center;
  line-height: 2rem;
  padding: 0;
  color: var(--sub-color);
}
#target .topleft {
  background-color: var(--baseth-color);
  width: 8vw;
  font-size: 1.2rem;
}
#target .left {
  background-color: var(--base-color);
  width: 8vw;
  font-size: 1.2rem;
}

.maru {
  width: 100%;
  margin: 0;
}
/* .waku {
  cursor: pointer;
} */
.hit-name {
  cursor: pointer;
}
.yoyaku-information {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #007BFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 300px;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.close-button:hover {
  color: #000;
}

/* アニメーション効果（オプション） */
.yoyaku-information.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
.star {
  cursor: pointer;
  color: red;
}
.yellow {
  color: yellow;
}
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.kari-tsujo-pop-delete {
  cursor: pointer;
}

/* 赤枠用クラス */
.red-border {
  border: 2px red solid !important;
}
/* 赤枠用クラス */
.red-border {
  border: 2px red solid !important;
}


@media screen and (max-width: 1000px) {
.avail-flex {
  width: 94vw;
  margin: 1rem 2vw 100px 1vw;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.avail-flexitem {
  width: 94vw;
}
#target table {
  width: 94vw;   
}
thead.scrollHead,
tbody.scrollBody {
  width: 94vw;
}
#target th {
  width: 10.5vw;
  height: 10.5vw;
}
#target td {
  width: 10.5vw;
  height: 10.5vw;
}
#target .topleft {
  width: 16vw;
}
#target .left {
  width: 16vw;
}
.week-flexPC {
  display: none;
}

.week-flexSP {
  width: 96%;
  margin: 100px 2% 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
}
.SP {
  display: block;
}
.menu-name {
  /* width: 100%; */
  margin-bottom: 0.5em;
}
.menu-name select {
  width: 100%;
  font-size: 1.1rem;
  padding: 0.3em;
}

}



