@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Jost", sans-serif;
  color: #b3b3b3;
  overflow-x: hidden;
}
/* ローディング動画のスタイル修正 */
#loadingVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* または contain */
  object-position: center;
}

.overlay-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* 重要：はみ出しを防ぐ */
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  overflow: hidden; /* 重要 */
}

.container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.frame {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease-out, visibility 0s linear 0.6s;
}

#loading.fade-out {
  opacity: 0;
  visibility: hidden;
}

#loading video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#loading.hidden {
  display: none;
}

.fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-inner {
  width: 100%;
  max-width: 460px;
  height: 100%;
  max-height: 100vh;
}

.overlay-inner video,
.overlay-inner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hidden {
  display: none !important;
}

.top-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
}

.mid-container {
  display: flex;
}

.mid-layer {
  display: grid;
  position: relative;
}

.bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.size-selector {
  display: inline;
}

.size-selector-flex {
  display: flex;
}

.size-btn {
  font-family: "Jost", sans-serif;
  color: #b3b3b3;
  background: none;
  border: none;
}

.size-btn.active {
  color: #333333;
  border-bottom-color: #333333;
}

.title {
  writing-mode: vertical-rl;
  display: flex;
  font-family: "Jost", sans-serif;
}

.title-text {
  color: #595757;
}

.title-rect {
  display: flex;
  align-items: center;
}

.dial-container {
  position: relative;
  justify-self: left;
}

.color-dial {
  width: 100%;
  height: 100%;
}

.dial-center {
  position: absolute;
  writing-mode: vertical-rl;
  text-align: center;
  font-style: italic;
  color: #b3b3b3;
}

.bottle-preview {
  position: absolute;
  pointer-events: none;
  grid-area: 1/1;
  z-index: 0;
}

.bottle-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.part-selector {
  display: flex;
  flex-direction: column;
}

.part-btn {
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
  font-style: italic;
  color: #b3b3b3;
  text-align: left;
  display: flex;
  align-items: center;
  z-index: 999;
}

.part-btn.active {
  color: #333333;
}

.part-indicator {
  visibility: hidden;
  font-style: normal;
}

.part-btn.active .part-indicator {
  visibility: visible;
}

.next-btn-container {
  display: flex;
  align-items: flex-end;
}

.next-btn {
  background: #e63946;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}

@keyframes cutin {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
body {
  font-family: "Jost", sans-serif;
  color: #b3b3b3;
  overflow-x: hidden;
}

@media (min-width: 320px) {
  .container {
    padding: 24px 60px 24px 17px;
  }
  .size-selector {
    padding: 1.8em 1.3em 0 0;
  }
  .size-selector-flex {
    gap: 1.6em;
  }
  .size-btn {
    font-size: 24px;
    font-weight: 400;
    border-bottom: 3px solid transparent;
    line-height: 1.3;
  }
  .title {
    margin-left: -8px;
  }
  .title-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 4px;
  }
  .title-rect {
    margin: 8px 0 0 0;
    gap: 5px;
    font-size: 10px;
  }
  .dial-container {
    width: 17rem;
    margin-top: 3.5rem;
    margin-left: -9.5rem;
  }
  .color-dial {
    width: 100%;
    height: 100%;
  }
  .dial-center {
    inset: 0% 38%;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1.2px;
  }
  .bottle-preview {
    width: 210px;
    height: 500px;
    left: 6.1rem;
    top: -4rem;
  }
  .part-selector {
    margin-top: 1.6rem;
    padding-left: 0.1rem;
    gap: 13px;
  }
  .part-btn {
    font-size: 20px;
    font-weight: 400;
    z-index: 999;
  }
  .part-btn.active {
    font-weight: 450;
  }
  .part-indicator {
    font-size: 10px;
    margin-right: 9px;
  }
  .next-btn-container {
    padding-right: 2%;
  }
  .next-btn {
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  }
  .sample img {
    height: 100vh;
  }
}
@media (min-width: 375px) {
  .container {
    max-width: 413px;
    padding: 24px 60px 24px 17px;
  }
  .size-selector {
    padding: 1.8em 0 0 0;
  }
  .size-selector-flex {
    gap: 1.5em;
  }
  .size-btn {
    font-size: 26px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    line-height: 1.3;
  }
  .title {
    margin-left: -6px;
  }
  .title-text {
    font-size: 1.4rem;
    font-weight: 500;
    margin-left: 8px;
  }
  .title-rect {
    margin: 10px 0 0 0;
    gap: 5px;
    font-size: 12px;
  }
  .dial-container {
    width: 19rem;
    margin-top: 2.5rem;
    margin-left: -9.3rem;
  }
  .dial-center {
    inset: 0% 35%;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1.2px;
  }
  .bottle-preview {
    width: 240px;
    height: 500px;
    left: 6rem;
    top: -4rem;
  }
  .part-selector {
    margin-top: 1.1rem;
    padding-left: 0rem;
    gap: 10px;
  }
  .part-btn {
    font-size: 21px;
    font-weight: 400;
  }
  .part-btn.active {
    font-weight: 450;
  }
  .part-indicator {
    font-size: 10px;
    margin-right: 12px;
  }
  .next-btn-container {
    padding-right: 2%;
  }
  .next-btn {
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  }
  .sample img {
    height: 100vh;
  }
}
@media (min-width: 414px) {
  .container {
    max-width: 460px;
    padding: 30px 20px;
  }
  .size-selector {
    padding: 2.7em 2em 0 0;
  }
  .size-selector-flex {
    gap: 2em;
  }
  .size-btn {
    font-size: 31px;
    font-weight: 400;
    border-bottom: 3px solid transparent;
    line-height: 1.3;
  }
  .size-btn.active {
    color: #333333;
    border-bottom-color: #333333;
  }
  .title {
    margin-left: -8px;
  }
  .title-text {
    font-size: 1.56rem;
    font-weight: 500;
    margin-left: 8px;
  }
  .title-rect {
    margin: 10px 0 0 0;
    gap: 5px;
    font-size: 15px;
  }
  .dial-container {
    width: 22rem;
    margin-top: 4.5rem;
    margin-left: -12rem;
  }
  .color-dial {
    width: 100%;
    height: 100%;
  }
  .dial-center {
    inset: 0% 38%;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1.2px;
  }
  .bottle-preview {
    width: 300px;
    height: 500px;
    left: 7rem;
    top: -1.5rem;
  }
  .part-selector {
    margin-top: 2rem;
    padding-left: 0.5rem;
    gap: 14px;
  }
  .part-btn {
    font-size: 28px;
    font-weight: 400;
  }
  .part-btn.active {
    font-weight: 450;
  }
  .part-indicator {
    font-size: 12px;
    margin-right: 12px;
  }
  .next-btn-container {
    padding-right: 2%;
  }
  .next-btn {
    width: 75px;
    height: 75px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  }
  .frame {
    max-width: 460px;
    min-height: 100vh;
  }
  .sample img {
    width: 414px;
    margin: 0 auto;
    height: auto;
  }
}
@media (min-width: 460px) {
  .container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    overflow: hidden;
  }
  body {
    background: #fff;
  }
}/*# sourceMappingURL=style.css.map */