:root {
  color-scheme: light;
}

.pc-none {
  display: none;
}

.sp-none {
  display: block;
}

@media (max-width: 1000px) {
  .pc-none {
    display: block;
  }

  .sp-none {
    display: none;
  }
}

.sakura-studio {
  background-color: #fbf8f3;

  .hero-container {
    background-image: url(../images/rental-studio/sakuragaoka.png);
  }
}

.thehall-studio {
  background-color: #000;

  .hero-container {
    background-image: url(../images/rental-studio/thehall-studio.jpg);
  }
}

.yokohama-c-studio {
  background-color: #000;

  .hero-container {
    background-image: url(../images/rental-studio/gallery/c_studio@2x.jpg);
    background-position: bottom;
  }
}

.yokohama-d-studio {
  background-color: #000;

  .hero-container {
    background-image: url(../images/rental-studio/gallery/d_studio@2x.jpg);
    background-position: bottom;
  }
}

.memo {
  font-size: 14px;
}

.reserve-studio {
  position: fixed;
  right: 40px;
  bottom: 80px;
  z-index: 1000;

  @media (max-width: 767px) {
    right: 20px;
    bottom: 40px;
  }

  a {
    /* width: 200px;
    height: 200px;
    background-color: #4ab9a6;
    color: #fff;
    font-weight: 600;
    border-radius: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 24px; */
  }
}
.reserve-studio a {
  /* 색/속도 커스텀 */
  --c1: #ff7a18;
  --c2: #af002d;
  --c3: #319197;
  --speed: 1.8s; /* 숨쉬기 리듬 */

  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1; /* 정원형 유지 */
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;

  /* 배경: 살짝 도는 그라디언트 + 내부 광택 */
  background: radial-gradient(120% 120% at 30% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(120deg, var(--c1), var(--c2), var(--c3));
  background-size: 200% 200%;

  /* 숨쉬기(스케일) + 은은한 빛 번짐 + 배경 미세 이동 */
  animation: breathe var(--speed) ease-in-out infinite,
    glow calc(var(--speed) * 1.2) ease-in-out infinite, drift calc(var(--speed) * 2) linear infinite;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  font-size: 24px;
  line-height: 1.8em;

  @media (max-width: 767px) {
    width: 150px;
    height: 150px;
    font-size: 18px;
  }
}

/* 호버: 리듬 살짝 빠르게 */
.reserve-studio a:hover {
  animation-duration: 2.2s;
}

/* 포커스 접근성 */
.reserve-studio a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

/* 모션 최소화 환경 존중 */
@media (prefers-reduced-motion: reduce) {
  .reserve-studio a {
    animation: none;
    transform: none;
  }
}

/* 숨쉬기(커졌다 작아짐) */
@keyframes breathe {
  0% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(0.96);
  }
}

/* 은은한 외곽 광채 맥동 */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 122, 24, 0);
  }
  50% {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 24px 8px rgba(255, 122, 24, 0.25);
  }
}

/* 그라디언트 천천히 흘림 */
@keyframes drift {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  100% {
    background-position: 100% 100%, 100% 100%;
  }
}

.main-wrapper {
  padding-bottom: 120px;
  .section.header {
    margin: 0;
  }

  .header {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 12px 0;
    z-index: 999;
    box-shadow: 0 4px 8px -6px rgba(0, 0, 0, 0.18);

    .header-container {
      display: flex;
      align-items: center;
      max-width: 1024px;
      padding: 0 12px;
      margin: 0 auto;
      flex-wrap: wrap;
      gap: 12px 0;

      .reserve-studio {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: #4abaa7;
        color: #fff;
        padding: 8px 32px;
        border-radius: 50px;
      }

      a {
        text-align: center;
        display: inline-block;
        padding: 4px 8px;
        font-size: 15px;
        width: 25%;
        box-sizing: border-box;

        @media (max-width: 767px) {
          width: 50%;
          font-size: 12px;
        }
      }

      a.active {
        font-weight: 600;
        background-color: black;
        color: #fff;
      }
    }
  }
}

.footer {
  text-align: center;
  padding: 8px 0 12px;
  background-color: #000;
  color: #fff;
}

.btn-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;

  @media (max-width: 767px) {
    flex-direction: column;
    padding: 0 20px;
  }

  a {
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    width: 100%;
    text-align: center;

    @media (max-width: 767px) {
      font-size: 14px;
    }
  }

  a:hover {
    background-color: #3e3e3e;
    font-weight: 600;
  }
}

.section {
  max-width: 862px;
  margin: 60px auto 0;

  @media (max-width: 767px) {
    padding: 0 24px;
    font-size: 14px;
  }

  .section-wrapper {
    border-radius: 20px;
    background-color: #fff;
    padding: 48px 40px;
    @media (max-width: 767px) {
      padding: 48px 24px;
      line-height: 1.8em;
    }
  }

  .section-header {
    text-align: center;
    margin-bottom: 40px;

    @media (max-width: 767px) {
      margin-bottom: 24px;
    }
  }
}

.section.hero {
  max-width: 100%;
  margin: 0;
  padding: 0;

  .hero-container {
    width: 100%;
    height: 70svh;
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    max-height: 600px;
  }
}

.section.aboutus {
  img {
    margin: 0 auto;
  }

  .studio-spec {
    padding: 20px 0;
  }
}

.youtube-wrapper,
.access-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 20px;
}

.youtube-wrapper iframe,
.access-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section.gallery {
  .photo {
    h3 {
      margin-bottom: 12px;
      font-size: 16px;

      @media (max-width: 767px) {
        font-size: 12px;
      }
    }
  }

  .photo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;

    @media (max-width: 767px) {
      gap: 8px;
    }
  }
}

.section.price {
  .table-wrapper {
    max-width: 100%;
    overflow-x: auto; /* 가로 스크롤 */
    -webkit-overflow-scrolling: touch; /* iOS 관성 스크롤 */

    .price-table {
      border-collapse: collapse;
      width: 100%;

      th,
      td {
        border: 1px solid #000;
        text-align: center;
        padding: 8px 12px;
      }

      th {
        background-color: #eee;

        .time {
          display: block;
          font-size: 12px;
        }
      }
    }
  }
}

.section.access {
  .access-map {
    width: 100%;
    iframe {
      width: 100%;
    }
  }
}

.section.faq {
  .faq-item {
    margin-bottom: 32px;

    .item {
      display: flex;
      align-items: flex-start;
      gap: 8px;

      p {
        margin-block-start: 0;
        margin-block-end: 0;
        line-height: 1.8em;
      }
    }
  }

  .faq-item:last-child {
    margin-bottom: 0;
  }
}

.section.contact {
  .contact-area {
    .notice {
      margin-bottom: 24px;
    }
  }
}

.select-studio {
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 20px;
}
