@charset "UTF-8";


.contact-page {
  --space-section: clamp(120px, 16vw, 240px);
}


.contacthead {
  display: flex;
  justify-content: center;
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(72px, 10vh, 120px);
}

.contacthead__logo {
  width: 160px;
  margin: 0;
  line-height: 0;
}

.contacthead__logo img { width: 100%; height: auto; }

.contacthead__logo a {
  display: block;
  opacity: 0.92;
  transition: opacity 0.6s ease;
}

.contacthead__logo a:hover,
.contacthead__logo a:focus-visible { opacity: 1; }


.contactcut {
  position: relative;
  overflow-x: clip;
}

.contactcut__photo {
  margin: 0;
  overflow: hidden;
  background-color: var(--sumi-light);
}

.contactcut__photo img { width: 100%; }

.contactcut__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  opacity: 0;
  pointer-events: none;
}

.contactcut__edge--left {
  left: 0;
  border-right: 1px solid var(--akatsuki);
}

.contactcut__edge--right {
  left: 50%;
  border-left: 1px solid var(--akatsuki);
}


.contact-page .interlude {
  padding-top: clamp(120px, 22svh, 240px);
  padding-bottom: clamp(96px, 16svh, 180px);
}


.dm {
  padding: 0 var(--gutter);
  text-align: center;
}

.dm__text p {
  margin: 0;
  font-size: 15px;
  line-height: 2.8;
}

.dm__phrase { display: inline-block; }

.dm__action { margin: clamp(64px, 8vw, 104px) 0 0; }

.dm__link {
  margin: 0;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.dm__link a {
  position: relative;
  display: inline-block;
  padding: 0 0 0.9em 0.2em;
  color: var(--akatsuki);
}

.dm__link a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: currentColor;
  transform-origin: 0 50%;
  transition: opacity 0.6s ease;
}

.dm__link a:hover::after,
.dm__link a:focus-visible::after { opacity: 0.5; }

.dm__handle {
  margin: 1.6em 0 0;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.06em;
  opacity: 0.8;
}


.privacy {
  padding: var(--space-section) var(--gutter);
}

.contact-page .footer { margin-top: 0; }

.privacy__title {
  margin: 0 0 3.2em;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--track);
  text-align: center;
  color: var(--akatsuki);
}

.privacy__list {
  width: min(35.2em, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.1em;
  line-break: strict;
  word-break: auto-phrase;
  opacity: 0.82;
}

.privacy__list li {
  position: relative;
  padding-left: 1.8em;
}

.privacy__list li + li { margin-top: 1.1em; }

.privacy__word { white-space: nowrap; }

.privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.8em;
  height: 1px;
  background-color: var(--paper);
  opacity: 0.35;
}


@media (max-width: 767px) {
  .contacthead__logo { width: 120px; }

  .dm__text p {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .dm__link { font-size: 16px; }

  .dm__handle { font-size: 14px; }

  .privacy__list {
    font-size: 13px;
    letter-spacing: 0.06em;
  }
  .privacy__list li { padding-left: 1.5em; }
}


@media (prefers-reduced-motion: no-preference) {
  @keyframes contact-seam-draw {
    from { scale: 1 0; }
    to   { scale: 1 1; }
  }
  @keyframes contact-seam-left {
    from { translate: 0 0; }
    to   { translate: -100% 0; }
  }
  @keyframes contact-seam-right {
    from { translate: 0 0; }
    to   { translate: 100% 0; }
  }
  @keyframes contact-seam-show {
    0%, 80% { opacity: 1; }
    100%    { opacity: 0; }
  }
  @keyframes contact-slit {
    from { clip-path: inset(0 50% 0 50%); }
    to   { clip-path: inset(0 0 0 0); }
  }
  @keyframes contact-settle {
    from { scale: 1.14; }
    to   { scale: 1; }
  }

  .js .contactcut__photo {
    animation: contact-slit 0.7s var(--ease-door) 0.55s both;
  }
  .js .contactcut__photo img {
    animation: contact-settle 0.7s var(--ease-door) 0.55s both;
  }

  .js .contactcut__edge {
    transform-origin: 50% 0;
    animation:
      contact-seam-show 1.25s linear 0s both,
      contact-seam-draw 0.35s cubic-bezier(0.65, 0, 0.2, 1) 0.2s both,
      contact-seam-left 0.7s var(--ease-door) 0.55s both;
  }
  .js .contactcut__edge--right {
    animation-name: contact-seam-show, contact-seam-draw, contact-seam-right;
  }
}


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .dm__text,
    .dm__action,
    .privacy__title,
    .privacy__list li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 100%;
    }

    .dm__link a::after {
      animation: draw-x linear both;
      animation-timeline: view();
      animation-range: entry 20% entry 100%;
    }
  }
}
