* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  background: #0e0e0e;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: white;
}

.container {
  max-width: 1152px;
  width: 100%;
  margin: auto;
  text-align: center;
}

/* ------------loading----------*/
.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: white;
}

.loading p {
  color: #f9af3c;
  padding: 24px 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.loader {
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #f9af3c;
  animation: loader 2s infinite ease;
}

.loader-inner {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  background: #f9af3c;
  animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(180deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }

  25% {
    height: 0%;
  }

  50% {
    height: 100%;
  }

  75% {
    height: 100%;
  }

  100% {
    height: 0%;
  }
}

.main-content {
  display: none;
}

/* ---------menu--------- */

header {
  display: none;
}

.nav {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 800;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-inner {
  width: 100%;
  right: 24px;
  display: flex;
  align-items: center;
  margin: auto;
}

.logo-img {
  width: 48px;
}

.nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 80px;
}

.page-link {
  text-transform: capitalize;
  transition: 0.3s ease;
}

/* ----------main---------- */
/* --------top-------- */
#top {
  height: 380vh;
}

.spacer {
  height: 100vh;
}

.sticky-area {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

#top-logo {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#top-logo img {
  width: 160px;
}

#video-container {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 60px;
}

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

#top-title {
  position: absolute;
  z-index: 2;
  text-shadow: 3px 4px 4px rgba(94, 51, 51, 0.4);
  text-align: center;
}

#top-title br {
  display: none;
}

#top-title h1,
#top-title h2 {
  font-family: "Source Serif Pro", serif;
}

#top-title h1 {
  text-transform: uppercase;
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: 0.03em;
  font-weight: 700;
}

#top-title h2 {
  text-transform: capitalize;
  font-size: 56px;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.title-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: end;
}

/* ----------top fade animation---------- */
.fade-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-item.is-visible {
  opacity: 1;
}

/* --------------scroll arrow--------------- */
.scroll-arrow {
  height: 104px;
  width: 1.5px;
  background: white;
  position: fixed;
  z-index: 5;
  bottom: 40px;
  right: 40px;
  animation: scroll 3s cubic-bezier(1, 0, 0, 1) infinite;
}

.scroll-arrow::before {
  content: "scroll";
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 8px;
  position: absolute;
  right: -24px;
}

.scroll-arrow::after {
  content: "";
  background: white;
  width: 1.5px;
  height: 28px;
  transform: rotate(-28deg);
  position: absolute;
  bottom: -2px;
  right: 6px;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  30.1%,
  70% {
    transform: scale(1, 1);
    transform-origin: 100% 0;
  }
  100% {
    opacity: 0;
    transform: scale(1, 0);
    transform-origin: 100% 0;
  }
}

.no-scroll-arrow {
  visibility: hidden;
}

/* ---------------title--------------- */
.main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subtitle {
  font-size: 160px;
  font-weight: 700;
  text-transform: capitalize;
  display: inline-block;
  grid-column: 2;
  text-align: center;
}

/* ---------------button--------------- */
.button {
  font-size: 16px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: end;
  transition: 0.3s ease;
  grid-column: 2;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  padding-right: 4px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

/* ---------------section--------------- */
#intro {
  font-size: 32px;
  font-weight: 300;
  padding-top: 160px;
  line-height: 1.6;
}

.intro-bold {
  font-weight: 600;
}

.fade-line {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#service,
#about {
  padding: 160px 0;
}

#price {
  padding-bottom: 160px;
}

#service .title-container {
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

#service p {
  font-weight: initial;
  font-size: 20px;
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 32px;
  position: relative;
  left: 8px;
}

#service .button {
  align-self: flex-end;
}

.top-img {
  display: flex;
  justify-content: center;
}

.service-img,
.about-img {
  display: block;
  width: clamp(360px, 40vw, 520px);
  height: auto;
}

#contact {
  padding-bottom: 80px;
}

#contact .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.contact-contents {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.contact-title {
  font-size: 48px;
  padding-bottom: 32px;
}

.contact-info {
  padding-top: 32px;
  width: 100%;
}

.contact-info img {
  width: 50%;
  height: auto;
  display: block;
}

.contact-list {
  padding-top: 48px;
  line-height: 1.5em;
}

.contact-row {
  display: flex;
  padding-top: 8px;
}

dt {
  width: 60px;
  font-weight: 600;
  padding: 0 80px 0 8px;
}

dd {
  width: 180px;
}

.note,
.contact-sub {
  color: #777;
}

.contact-sub {
  padding-top: 8px;
}

.mail-icon {
  width: 280px;
  height: auto;
}

.contact-svg {
  width: 180px;
}

.contact-text {
  width: 100%;
  height: auto;
  display: block;
}

.contact-text text {
  font-size: 20px;
  fill: #fff;
  letter-spacing: 0.05em;
}

/* ---------------footer------------ */
footer {
  border-top: 0.5px solid #4c5765;
  font-size: 16px;
  color: #4c5765;
  padding: 36px 0;
}

footer .container {
  position: relative;
}

.copyright,
.sns-icons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.copyright {
  left: 50%;
  transform: translate(-50%, -50%);
}

/* sns */
.sns-icons {
  font-size: 24px;
  right: 0;
}

.sns-icons ul {
  display: flex;
}

.sns-icons li {
  padding-left: 24px;
}

@keyframes rotation {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* ===============hover(for mouse)=============== */
@media (hover: hover) and (pointer: fine) {
  .page-link:hover {
    opacity: 0.6;
  }

  .button:hover {
    opacity: 0.6;
  }

  .button:hover .arrow {
    transform: scale(0.85);
  }

  .sns-link:hover {
    animation: 0.3s linear rotation;
  }
}

@media (hover: none) {
  .page-link:active {
    opacity: 0.6;
  }

  .button:active {
    opacity: 0.6;
  }

  .button:active .arrow {
    transform: scale(0.85);
  }

  .sns-link:active {
    animation: 0.3s linear rotation;
  }
}
