@charset "UTF-8";


.about-page {
  --space-section: clamp(120px, 16vw, 240px);
  --inset-max: 420px;
}


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

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

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

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

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


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

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

.aboutcut__photo img { width: 100%; }

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

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

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


.about-page .interlude {
  padding-top: clamp(120px, 22svh, 240px);
}


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

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

.about__phrase { display: inline-block; }

.about__info {
  margin: clamp(88px, 11vw, 160px) auto 0;
  line-height: 1;
}

.about__row + .about__row::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 2.8em auto;
  background-color: var(--paper);
  opacity: 0.22;
}

.about__info dt {
  font-size: 12px;
  letter-spacing: var(--track);
  color: var(--akatsuki);
  opacity: 0.85;
}

.about__info dd {
  margin: 1.2em 0 0;
  font-size: 14px;
  letter-spacing: 0.24em;
  line-height: 1.8;
}

.about__note {
  margin: clamp(56px, 7vw, 96px) 0 0;
  font-size: 12px;
  line-height: 2.6;
  letter-spacing: 0.2em;
  color: rgba(237, 232, 223, 0.8);
}


.aboutinset {
  padding: var(--space-section) 0 0;
}

.aboutinset__photo {
  width: min(var(--inset-max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  background-color: var(--sumi-light);
}

.aboutinset__photo img { width: 100%; }


.greet {
  padding: var(--space-section) var(--gutter) 0;
  font-size: 15px;
}

.greet__scroller {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-end;
  gap: 3.5em;
}

.greet__text,
.greet__sign {
  writing-mode: vertical-rl;
  letter-spacing: 0.14em;
}

.greet__text {
  height: 30em;
  line-height: 2.5;
  line-break: strict;
  word-break: auto-phrase;
}

.greet__para { margin: 0; }

.greet__para + .greet__para { margin-block-start: 1.75em; }

.greet__line { display: block; }

.greet__kakko {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

.greet__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  line-height: 1.8;
}

.greet__name {
  font-size: 14px;
  letter-spacing: 0.24em;
}

.greet__mark {
  flex-shrink: 0;
  width: clamp(40px, 5vw, 52px);
  height: auto;
  opacity: 0.92;
}

.greet__hint { display: none; }


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

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

  .about__info dd { font-size: 13px; }

  .aboutinset__photo { width: 74vw; }

  .greet {
    padding-left: 0;
    padding-right: 0;
    font-size: 14px;
  }

  .greet__scroller {
    writing-mode: vertical-rl;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px;
    overflow-x: auto;
    padding: 0 var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .greet__scroller::-webkit-scrollbar { display: none; }

  .greet__text {
    height: min(40em, 96svh);
    line-height: 2.05;
    letter-spacing: 0.13em;
    margin-block-start: auto;
  }

  .greet__sign { margin-block-end: auto; }

  .greet__line { display: inline; }

  .greet__para + .greet__para { margin-block-start: 0.6em; }

  .greet__hint {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 28px var(--gutter) 0;
    color: var(--akatsuki);
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .greet__hint-arrow {
    position: relative;
    width: 36px;
    height: 1px;
    background-color: currentColor;
    opacity: 0.7;
  }

  .greet__hint-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    translate: 1px -50%;
    rotate: 135deg;
  }

  .greet.has-scroll .greet__hint { opacity: 0.85; }
  .greet.is-scrolled .greet__hint { opacity: 0; }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  @keyframes hint-nudge {
    0%, 55%, 100% { translate: 0 0; }
    25%           { translate: -7px 0; }
  }

  .greet__hint-arrow {
    animation: hint-nudge 2.6s ease-in-out infinite;
  }
}


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

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

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


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about__text,
    .about__row,
    .about__note,
    .greet__para,
    .greet__sign {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 100%;
    }

    .aboutinset__photo {
      animation: show linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    @media (max-width: 767px) {
      .greet__para,
      .greet__sign { animation: none; }

      .greet {
        animation: rise linear both;
        animation-timeline: view();
        animation-range: entry 10% entry 100%;
      }
    }
  }
}
