html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

label {
  margin: 10px 0 5px;
}

input[type="text"],
input[type="number"],
select,
textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 10px;
  text-align: center;
  background-color: #fff;
}

.container0 {
  max-width: 800px;
  margin: auto;
  padding: 10px;
  text-align: center;
  justify-content: center;
  background-color: #fff;
}

.container1 {
  max-width: 96%;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.container1-2 {
  max-width: 100%;
  margin: 10px auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.container2 {
  display: flex;
  max-width: 800px;
  margin: 10px auto;
  padding: 10px;
  text-align: left;
  background-color: #fff;
}

.container3 {
  max-width: 100%;
  margin: 0px auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
}

.container3-1 {
  max-width: 96%;
  margin: 0px auto;
  padding: 0px;
  text-align: center;
  background-color: #fff;
}

.container3-2 {
  max-width: 100%;
  margin: 0px auto;
  padding: 0px;
  text-align: right;
  background-color: #fff;
}

.container4 {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  padding: 0;
  justify-content: center;
}

.container5 {
  max-width: 100%;
  margin: 10px auto;
  padding: 10px;
  text-align: center;
  background-color: #fff;
}

.container5-1 {
  flex: 1 1 calc(800px - 20px);
  /* コンテンツ5-1の最大幅800px */
  max-width: calc(800px - 20px);
  box-sizing: border-box;
  border: 0px solid #ccc;
  padding: 0px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

.container5-2 {
  flex: 1 1 calc(400px - 20px);
  max-width: calc(400px - 20px);
  box-sizing: border-box;
  border: 0px solid #ccc;
  padding: 0px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

@media (max-width: 400px) {
  .container5-1,
  .container5-2 {
    flex: 1 1 calc(100% - 20px);
    /* 画面幅が450px以下の場合、100%幅で表示 */
    max-width: calc(100% - 20px);
  }
}

.container66 {
  display: grid;
  /*
       通常は「幅180〜240px」の要素を
       収まるだけ横に並べる
    */
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  gap: 6px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1800px;
}

.container6 {
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.container6:hover {
  background-color: #fdf5fa;
  transform: scale(1.04);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* -------------------------
   画面幅 540px 以下の場合
   強制的に「2列表示」にする
------------------------- */
@media (min-width: 700px) {
  .container5-1 {
    flex: 1 1 calc(60% - 20px);
    max-width: calc(60% - 20px);
  }
  .container5-2 {
    flex: 1 1 calc(40% - 20px);
    max-width: calc(40% - 20px);
  }
}

@media (max-width: 540px) {
  .container66 {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 400px) {
    .container66 {
      grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
  }
}

.carousel {
  position: relative;
  width: 340px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  border: 0px solid #fff;
  background-color: #fff;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 5%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  opacity: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 340px;
  max-width: 340px;
  box-sizing: border-box;
  border-radius: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 340px;
  max-height: 453px;
  object-fit: cover;
  display: block;
  border-radius: 5%;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #717171;
}

.user-item {
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: left;
  margin: 5px;
  padding: 5px;
  border: 0px;
  border-radius: 5px;
  width: 100%;
}

.user-item:hover {
  background-color: rgb(240, 240, 240);
}

hr.style14 {
  border: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

.pro_images {
  width: 100px;
  height: auto;
  border-radius: 50px;
}

.pro_images2 {
  width: 100px;
  height: auto;
  border-radius: 50px;
  border: 5px solid #ffffff;
}

.accordion {
  margin: 0px auto;
  max-width: 100%;
}

.toggle {
  display: none;
}

.option {
  position: relative;
  margin-bottom: 1em;
}

.title {
  border: solid 1px #cccccc;
  padding: 1em;
  display: block;
  color: #333;
  font-weight: bold;
  text-align: left;
  border-radius: 5px;
  /* 角を丸くする */
}

.title:hover {
  background-color: #f5f5f5;
}

.title::after,
.title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.3s;
}

.title::after {
  transform: rotate(90deg);
}

.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  max-height: 0;
  text-align: left;
  overflow: hidden;
}

.content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 0.9em;
  line-height: 1.5;
}

.toggle:checked + .title + .content {
  max-height: 100%;
  transition: all 1.5s;
}

.toggle:checked + .title::before {
  transform: rotate(90deg) !important;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ccc;
  padding: 5px;
  height: 50px;
  width: 14.2857142857%;
  text-align: center;
}

.month-title {
  text-align: left;
  font-size: 1.3em;
}

th {
  background-color: #f2f2f2;
}

.month-title {
  text-align: left;
}

.grayed {
  color: #ccc;
}

.button-container {
  margin-top: 10px;
  width: 100%;
}

.button1 {
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 25px;
}

.button1:hover {
  background-color: #c0c0c0;
  text-decoration: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.grayed {
  color: #aaaaaa;
}

.saturday {
  color: blue;
}

.sunday {
  color: red;
}

.my-calendar td {
  height: 80px;
  vertical-align: top;
  position: relative;
}
.date-number {
  text-align: center;
}
.indicator {
  text-align: center;
  margin-top: 4px;
  font-size: 24px; /* 絵文字が適切なサイズで表示されるようにフォントサイズを調整 */
}
.highlight {
  background-color: #ff6565;
  border-radius: 50%;
  display: block; /* inline-blockをblockに変更 */
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: white;
  padding: 0;
  box-sizing: border-box;
  margin: 0 auto; /* 中央寄せ */
}

.glass-overlay {
  position: absolute;
  bottom: 0;
  left: 5px;
  right: 5px;
  height: 30%; /* オーバーレイの高さを調整 */
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px; /* 角丸を統一 */
  padding: 0px;
  border: 0.5px solid #fff;
  box-sizing: border-box;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.glass-content {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #fff;
}

.date-text {
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
}

.time-text {
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
}

.line-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.toggle-button-1 {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 15px;
  border-radius: 15px;
  background-color: #dddddd;
  cursor: pointer;
  transition: background-color 0.4s;
}

.toggle-button-1:has(:checked) {
  background-color: #546ec4;
}

.toggle-button-1::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
  background-color: rgb(231, 231, 231);
  content: "";
  transition: left 0.3s;
}

.toggle-button-1:has(:checked)::after {
  left: 15px;
}

.toggle-button-1 input {
  display: none;
}

.button1 {
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 25px;
}

.button1:hover {
  background-color: #c0c0c0;
  text-decoration: none;
  cursor: pointer;
}
