main {
  padding-bottom: 10vw;
  background-color: #f8f8f8;
}

.rainbow {
  width: 100%;
  display: block;
  padding: 1vw;
  font-size: 2vw;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  overflow: hidden;

  /* レインボー背景設定 */
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffa64d,
    #ffff4d,
    #4dff88,
    #4dd9ff,
    #7a7aff,
    #ff4dff,
    #ff4d4d
  );
  background-size: 800% auto; /* 水平方向に長くして自然にループ */
  animation: rainbowLoop 50s linear infinite;

  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* レインボー */
@keyframes rainbowLoop {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 1000% 50%;
  }
}

.slider {
  position: relative;
  overflow: hidden;
  width: 70%;
  margin: auto;
  margin-top: 5vw;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  display: block;
  aspect-ratio: 5/3;
  object-fit: cover;
}

.dots {
  text-align: center;
  margin-top: 2vw;
}

.dots button {
  border: none;
  background: #ccc;
  border-radius: 50%;
  width: 1vw;
  height: 1vw;
  margin: 0 1vw;
  cursor: pointer;
}

.dots button.active {
  background: #333;
}

.open {
  background-color: white;
  width: 100%;
  margin: 5vw 0;
  padding: 2vw 0;
}

.open-container {
  width: 50%;
  display: flex;
  justify-content: space-between;
  margin: 5vw auto;
}

.open .time h2,
.open .tel h2 {
  font-size: 1.5vw;
  font-weight: 600;
  color: #d4af37;
  text-align: center;
}

.open .tel h2 {
  font-size: 1.8vw;
  font-weight: 500;
}

.open li {
  font-size: 1.2vw;
  font-weight: 500;
  margin-top: 1vw;
  color: #555;
  text-align: center;
}

.open .tel .tel-link {
  display: inline-block;
  font-size: 1.5vw;
  text-align: center;
  letter-spacing: 0.1vw;
}

/* .open h3 {
  text-align: center;
  font-size: 2vw;
  font-weight: 500;
  color: #333;
  margin-top: 5vw;
} */

.information {
  width: 50%;
  margin: 5vw auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.information h2 {
  font-size: 1.5vw;
  font-weight: 500;
}

.information p {
  text-align: center;
  margin-top: 3vw;
  font-size: 1vw;
  font-weight: 300;
  line-height: 2.5vw;
}

.information strong {
  font-size: 1.1vw;
  font-weight: 700;
}

.concept {
  background-color: white;
  border-radius: 1vw;
  width: 60%;
  margin: 0 auto;
  line-height: 2vw;
  color: #333;
  padding: 2vw 3vw 5vw;
  margin-top: 5vw;
  position: relative; /* 疑似要素に必要 */
  overflow: hidden; /* はみ出し防止（必要に応じて） */
}

.concept-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.5vw;
  text-align: center;
  font-weight: 600;
  color: #d4af37;
  letter-spacing: 0.2vw;
  margin-top: 3vw;
  position: relative;
  z-index: 1;
}

.concept p {
  margin-top: 3vw;
  font-size: 1.2vw;
  color: #444;
  font-weight: 300;
  text-align: center;
  font-family: "Playfair Display", serif;
  line-height: 3vw;
}

.concept::before {
  content: "concept";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10vw;
  color: rgba(200, 200, 200, 0.15); /* 薄くグレー表示 */
  font-family: "Playfair Display", serif;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.concept h4,
.concept p {
  position: relative;
  z-index: 1; /* 背景文字の上に表示 */
}

.commitment {
  width: 50%;
  margin: 10vw auto;
}

.commitment h2 {
  text-align: center;
  font-size: 3.5vw;
  font-weight: 500;

  background: linear-gradient(
    to bottom,
    #0077b6 0%,
    #00b4d8 25%,
    #90e0ef 50%,
    #00b4d8 75%,
    #0077b6 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.commitment h3 {
  text-align: center;
  margin-top: 1vw;
  font-size: 2vw;
  font-weight: 400;
  color: #333;
}

.commitment h3:not(:first-of-type) {
  margin-top: 10vw;
}

.commitment h3 span {
  font-weight: 600;
}

.commitment p {
  margin-top: 1vw;
  letter-spacing: 0.1vw;
  line-height: 3vw;
  font-size: 1.2vw;
  font-weight: 300;
  text-align: center;
}

.commitment .headbath {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 5vw 0;
}

.commitment img {
  width: 35%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.commitment a {
  display: block;
  margin: 5vw auto;
  text-align: center;
  font-size: 1.5vw;
}

.style {
  width: 100%;
  margin-top: 10vw;
  overflow: hidden; /* はみ出す部分を隠す */
}

.slide-track {
  display: flex;
  width: calc(200%);
  animation: scroll 20s linear infinite;
  gap: 0 4vw;
}

.style img {
  width: 15vw;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* アニメーション定義 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.recruit {
  width: 50%;
  margin: 10vw auto 0;
}

.recruit p {
  color: #444;
  font-size: 1.5vw;
  text-align: center;
}
.recruit a {
  display: block;
  width: 25%;
  padding: 1vw;
  border: solid 0.1vw black;
  background-color: white;
  color: #444;
  font-size: 1vw;
  font-weight: 400;
  margin: 3vw auto 0;
  text-align: center;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.recruit a:hover {
  color: white;
  background-color: #444;
}

.recruit a:hover span {
  transform: scale(1.05);
}

.recruit span {
  display: inline-block;
  transition: transform 0.3s ease;
}

@media screen and (orientation: portrait) {
  .rainbow {
    padding: 2vw;
    font-size: 4vw;
    font-weight: 700;
  }

  .slider {
    width: 90%;
  }

  .open-container {
    width: 90%;
  }

  .open .time h2,
  .open .tel h2 {
    font-size: 4vw;
  }

  .open .tel h2 {
    font-size: 4.8vw;
  }

  .open li {
    font-size: 3vw;
  }

  .open .tel .tel-link {
    font-size: 4vw;
  }

  /* .open h3 {
    text-align: center;
    font-size: 4vw;
    font-weight: 500;
    margin-top: 10vw;
  } */

  .information {
    width: 90%;
    margin: 10vw auto;
  }

  .information h2 {
    font-size: 4vw;
  }

  .information p {
    margin-top: 6vw;
    font-size: 3vw;
    font-weight: 300;
    line-height: 5vw;
  }

  .information strong {
    font-size: 3.1vw;
  }

  .concept {
    width: 90%;
    padding: 5vw 3vw 5vw;
  }

  .concept-heading {
    font-size: 6vw;
  }

  .concept p {
    font-size: 3.5vw;
    line-height: 1.8;
  }

  .concept p:first-of-type {
    margin-top: 7vw;
  }

  .concept::before {
    font-size: 15vw;
  }

  .commitment {
    width: 80%;
    margin: 20vw auto;
  }

  .commitment h2 {
    font-size: 6vw;
  }

  .commitment h3 {
    font-size: 4vw;
  }

  .commitment h3:not(:first-of-type) {
    margin-top: 20vw;
  }

  .commitment p {
    margin-top: 2vw;
    font-size: 3vw;
    line-height: 6vw;
  }

  .commitment img {
    width: 45%;
  }

  .commitment a {
    font-size: 3.5vw;
    font-weight: 500;
  }

  .style .container {
    width: 90%;
  }

  .style {
    width: 100%;
    margin: 15vw 0;
  }

  .slide-track {
    animation: scroll 10s linear infinite;
  }

  .style img {
    width: 27vw;
  }

  .recruit {
    width: 80%;
  }

  .recruit p {
    font-size: 3vw;
  }
  .recruit a {
    width: 50%;
    font-size: 3vw;
    padding: 3vw;
  }
}
