:root {
  --green: #036733;
  --ink: #454540;
  --paper: #fffdf9;
  --line: #dedbd2;
  --font: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

.biz-udpmincho-regular {
  font-family: "BIZ UDPMincho", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-sans{
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.gravitas-one-regular {
  font-family: "Gravitas One", serif;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

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

.home-line-float {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 16px 8px 9px;
  border: 1px solid rgba(3, 103, 51, .45);
  border-radius: 999px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 8px 24px rgba(28, 51, 38, .12);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, visibility .2s ease;
}

.menu-open .home-line-float {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.home-line-float__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
}

.home-line-float__mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .home-line-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(28, 51, 38, .18);
  }
}

.site-header {
  height: 144px;
  position: relative;
  z-index: 20;
  /*background: var(--paper);*/
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  color: var(--green);
}

.site-header__logo img {
  width: 160px;
  height: 48px;
  object-fit: contain;
  filter: none;
}

.site-header__menu {
  position: absolute;
  right: 43px;
  top: 360px;
  z-index: 4;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 20px;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
}

.home-hero {
  width: 100%;
  position: relative;
  overflow: visible;
  margin-top: 40px;
}

.home-hero picture {
  display: block;
}

.home-hero img {
  width: 100%;
  height: auto;
}

.home-hero__message {
  position: absolute;
  z-index: 25;
  top: -40px;
  left: 50%;
  width: 64.2vw;
  aspect-ratio: 804 / 96;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-hero__message-slice {
  --slice-start: 0%;
  --slice-end: 100%;
  position: absolute;
  inset: 0;
  background: url("../images/hero-message-pc@3x.png") center / contain no-repeat;
  clip-path: inset(0 calc(100% - var(--slice-end)) 0 var(--slice-start));
  opacity: 0;
  filter: blur(5px);
  animation: hero-character-in 0.55s ease-out forwards;
  animation-delay: calc(var(--character-index) * 0.18s);
}

.home-hero__message-slice:nth-child(1) {
  --slice-end: 10.2%;
}

.home-hero__message-slice:nth-child(2) {
  --slice-start: 10.2%;
  --slice-end: 16.2%;
}

.home-hero__message-slice:nth-child(3) {
  --slice-start: 16.2%;
  --slice-end: 24.5%;
}

.home-hero__message-slice:nth-child(4) {
  --slice-start: 24.5%;
  --slice-end: 32.7%;
}

.home-hero__message-slice:nth-child(5) {
  --slice-start: 32.7%;
  --slice-end: 36.7%;
}

.home-hero__message-slice:nth-child(6) {
  --slice-start: 36.7%;
  --slice-end: 44.4%;
}

.home-hero__message-slice:nth-child(7) {
  --slice-start: 44.4%;
  --slice-end: 52.1%;
}

.home-hero__message-slice:nth-child(8) {
  --slice-start: 52.1%;
  --slice-end: 60.2%;
}

.home-hero__message-slice:nth-child(9) {
  --slice-start: 60.2%;
  --slice-end: 67.7%;
}

.home-hero__message-slice:nth-child(10) {
  --slice-start: 67.7%;
  --slice-end: 74.6%;
}

.home-hero__message-slice:nth-child(11) {
  --slice-start: 74.6%;
  --slice-end: 82.7%;
}

.home-hero__message-slice:nth-child(12) {
  --slice-start: 82.7%;
  --slice-end: 90.3%;
}

.home-hero__message-slice:nth-child(13) {
  --slice-start: 90.3%;
  --slice-end: 97.4%;
}

.home-hero__message-slice:nth-child(14) {
  --slice-start: 97.4%;
}

@keyframes hero-character-in {
  from {
    opacity: 0;
    filter: blur(5px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }

}

.home-hero__links {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.home-hero__hotspot {
  position: absolute;
  display: block;
  pointer-events: auto;
  cursor: pointer;
}

.home-hero__hotspot:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.home-hero__hotspot--alter {
  left: 22%;
  top: 15%;
  width: 15%;
  height: 33%;
}

.home-hero__hotspot--order {
  left: 19%;
  top: 53%;
  width: 17%;
  height: 22%;
}

.home-hero__hotspot--school {
  left: 77%;
  top: 31%;
  width: 20%;
  height: 29%;
}

.home-services {
  position: relative;
  min-height: 1260px;
  padding: 355px 6vw 160px;
  background: var(--paper);
}

.vertical-heading {
  margin: 0;
  color: var(--green);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
}

.service-columns {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-items: start;
}

.service-column {
  text-align: center;
  color: var(--green);
  scroll-margin-top: 30px;
}

.service-column--2 {
  margin-top: 20px;
}

.service-column--3 {
}

.service-column > img {
  height: 450px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto 15px;
}

.service-column--1 > img {
  height: 440px;
}

.service-column h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 55px 0 48px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 12px;
}

.service-column p {
  color: var(--ink);
  font-size: 15px;
  line-height: 2.15;
  max-width: 400px;
  letter-spacing: -0.01em;
  margin: 0 auto 35px;
}


.service-column--2 {
  margin-top: 20px;

  h2 {
    margin-top: 75px;
  }
}


.service-column p span {
  display: block;
}

.figma-link, .figma-section-head > a, .news-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-top: 20px;
}

.home-philosophy {
  height: 1394px;
  position: relative;
  padding: 430px 8vw 0;
}

.home-philosophy .vertical-heading {
  top: -5px;
}

.philosophy-copy {
  width: 640px;
  max-width: 60vw;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 2;
}

.philosophy-copy p {
  margin: 0 0 17px;
}

.people-scene {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 20px;
  height: 475px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.people-scene__top, .people-scene__bottom {
  display: contents;
}

.people-scene__person--1 {
  width: 15.5%;
  margin-bottom: -14px;
}

.people-scene__person--2 {
  width: 16.5%;
  margin-bottom: 20px;
}

.people-scene__person--3 {
  width: 9.8%;
}

.people-scene__person--4 {
  width: 17%;
}

.home-journal {
  min-height: 1866px;
  padding: 90px 5vw 110px;
  overflow: hidden;
  background: var(--paper);
}

.figma-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 55px;
}

.figma-section-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.figma-carousel {
  max-width: 1150px;
  margin: 0 auto 80px;
  position: relative;
  overflow: hidden;
}

.figma-carousel__track {
  display: flex;
  transition: transform 0.6s ease;
  touch-action: pan-y;
}

.figma-feature {
  min-width: 100%;
}

.figma-feature > a {
  display: grid;
  grid-template-columns: 57% 43%;
  align-items: center;
}

.figma-feature > a > img {
  width: 100%;
  height: 432px;
  object-fit: cover;
   /*border: 1px solid var(--green);*/
}

.figma-feature__copy {
  border: 1px solid var(--green);
  border-left: 0;
  min-height: 360px;
  padding: 60px 55px;
  color: var(--green);
  background: var(--paper);
}

.figma-feature__copy p {
  font-size: 12px;
}

.figma-feature__copy h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.figma-feature__copy span {
  font-size: 11px;
}

.figma-carousel__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 17px;
  margin-top: 40px;
}

.figma-carousel__controls button {
  border: 0;
  background: none;
  color: var(--green);
  cursor: pointer;
  font-size: 16px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.figma-carousel__controls [data-carousel-dots] {
  display: flex;
  gap: 7px;
}

.figma-carousel__controls [data-carousel-dots] button {
  width: 24px;
  height: 1px;
  padding: 0;
  background: #bbb;
}

.figma-carousel__controls [data-carousel-dots] button.is-active {
  background: var(--green);
}

.figma-journal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 52px 18px;
}

.figma-journal-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 1px solid var(--green);
}

.figma-journal-grid p {
  font-size: 9px;
  color: var(--green);
  margin: 10px 0 5px;
}

.figma-journal-grid h3 {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  color: var(--green);
}

.home-news {
  position: relative;
  padding: 150px 5vw 100px;
  min-height: 650px;
  border-top: 1px solid var(--line);
}

.figma-news-list {
  border-top: 1px solid var(--line);
}

.figma-news-list a {
  position: relative;
  display: block;
  padding: 34px 60px 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
}

.figma-news-list h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.figma-news-list time {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.figma-news-list span {
  position: absolute;
  right: 8px;
  top: 45px;
}

.news-more {
  float: right;
  margin-top: 35px;
}

.home-news__mountain {
  clear: both;
  width: calc(100% + 10vw);
  height: 297px;
  margin: 80px -5vw -100px;
  background: url("../images/line_lg_pc.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.home-guides {
  min-height: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 0;
  padding: 55px 5vw;
  background: var(--paper);
}

.home-guides a {
  text-align: center;
  color: var(--green);
  position: relative;
}

.home-guides img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.home-guides strong {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.09em;
  padding: 0 5px 8px;
}

.home-guides a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: min(220px, 82%);
  border-top: 2px dotted var(--green);
  transform: translateX(-50%) rotate(-1deg);
  transform-origin: center;
}

.home-guides a:nth-child(2)::after {
  transform: translateX(-50%) rotate(1deg);
}

.home-guides a:nth-child(3)::after {
  transform: translateX(-50%) rotate(-1.5deg);
}

.home-guides span {
  margin-left: 15px;
}

.site-footer {
  height: 320px;
  padding: 56px 5% 48px;
  background: var(--green);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
}

.site-footer__logo {
  display: none;
}

.site-footer__social {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 15px;
  text-decoration: underline;
  font-family: "DM Sans", sans-serif;
}

.site-footer__privacy {
  align-self: end;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
}

.site-footer small {
  align-self: end;
  text-align: right;
  font-family: "DM Sans", sans-serif;
}

.global-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  background: var(--green);
  color: #fff;
}

.global-menu[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.menu-open {
  overflow: hidden;
}

.global-menu__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.global-menu__panel {
  position: relative;
  padding: 32px 5vw;
  overflow: auto;
}

.global-menu__logo img {
  filter: brightness(0) invert(1);
}

.global-menu__close {
  position: absolute;
  right: 32px;
  top: 25px;
  border: 1px solid #fff;
  background: none;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.global-menu__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 6vw;
  margin-top: 45px;
}

.global-menu__nav > a, .global-menu__parent {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: none;
  color: #fff;
  text-align: left;
}

.global-menu__children {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s;
}

.global-menu__children > * {
  overflow: hidden;
}

.global-menu__parent[aria-expanded="true"] + .global-menu__children {
  grid-template-rows: 1fr;
}

.global-menu__children a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
}

.global-menu__reservation {
  display: block;
  background: #fff;
  color: var(--green);
  text-align: center;
  padding: 16px 16px 18px 16px;
  margin-top: 28px;
}

.global-menu__international {
  display: flex;
  justify-content: space-between;
  border: 1px solid #fff;
  padding: 14px;
  margin-top: 14px;
}

.global-menu__social, .global-menu__utility {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.global-menu__social img {
  width: 19px;
  filter: brightness(0) invert(1);
}

.global-menu__utility {
  font-size: 11px;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  body {
    font-size: 13px;
    padding-top: 69px;
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 69px;
    padding-top: 8px;
    background: rgba(255, 253, 249, .96);
    backdrop-filter: blur(8px);
  }

  .site-header__logo img {
    width: 80px;
    position: absolute;
    left: 20px;
    top: 10px;
  }

  .site-header__menu {
    right: 14px;
    top: 22px;
    font-size: 17px;
    writing-mode: horizontal-tb;
  }

  .home-line-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 6px 13px 6px 7px;
    font-size: 12px;
  }

  .home-line-float__mark {
    width: 30px;
    height: 30px;
  }
  
  .home-hero {
    margin-top: 0;
  }

  .home-hero__message {
    top: 25px;
    width: 90.4vw;
    aspect-ratio: 291 / 123;
  }

  .home-hero__message-slice {
    background-image: url("../images/hero-message-sp@3x.png");
  }

  .home-hero__message-slice:nth-child(1) {
    --slice-end: 17%;
  }

  .home-hero__message-slice:nth-child(2) {
    --slice-start: 17%;
    --slice-end: 24%;
  }

  .home-hero__message-slice:nth-child(3) {
    --slice-start: 24%;
    --slice-end: 34%;
  }

  .home-hero__message-slice:nth-child(4) {
    --slice-start: 34%;
    --slice-end: 46%;
  }

  .home-hero__message-slice:nth-child(5) {
    --slice-start: 46%;
    --slice-end: 48%;
  }

  .home-hero__message-slice:nth-child(6) {
    --slice-start: 48%;
    --slice-end: 56%;
  }

  .home-hero__message-slice:nth-child(7) {
    --slice-start: 56%;
    --slice-end: 66%;
  }

  .home-hero__message-slice:nth-child(8) {
    --slice-start: 66%;
    --slice-end: 72%;
  }

  .home-hero__message-slice:nth-child(9) {
    --slice-start: 72%;
    --slice-end: 79%;
  }

  .home-hero__message-slice:nth-child(10) {
    --slice-start: 79%;
    --slice-end: 85%;
  }

  .home-hero__message-slice:nth-child(11) {
    --slice-start: 85%;
    --slice-end: 90%;
  }

  .home-hero__message-slice:nth-child(12) {
    --slice-start: 90%;
    --slice-end: 95%;
  }

  .home-hero__message-slice:nth-child(13) {
    --slice-start: 95%;
    --slice-end: 98%;
  }

  .home-hero__message-slice:nth-child(14) {
    --slice-start: 98%;
  }

  .home-hero__hotspot--school {
    left: 25%;
    top: 17%;
    width: 45%;
    height: 23%;
  }

  .home-hero__hotspot--order {
    left: 61%;
    top: 40%;
    width: 30%;
    height: 23%;
  }

  .home-hero__hotspot--alter {
    left: 34%;
    top: 66%;
    width: 45%;
    height: 24%;
  }

  .home-services {
    min-height: 1980px;
    padding: 150px 22px 70px;
  }

  .vertical-heading {
    top: 60px;
    font-size: 32px;
    gap: 12px;
  }

  .service-columns {
    display: block;
    margin-top: 80px;
  }

  .service-column, .service-column--2, .service-column--3 {
    padding: 0;
    margin: 0 auto 75px;
  }

  .service-column > img, .service-column--1 > img {
    width: 205px;
    height: 205px;
    margin-bottom: 12px;
  }

  .service-column h2 {
    font-size: 18px;
    text-underline-offset: 7px;
    margin: 6px 0 17px;
  }

  .service-column p {
    font-size: 12px;
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 0px;
    text-align: left;
    padding: 0 0px;
  }

  .service-column p span {
    display: inline;
  }

  .figma-link, .figma-section-head > a, .news-more {
    font-size: 14px;
  }

  .home-philosophy {
    height: 1180px;
    padding: 315px 26px 0;
  }

  .home-philosophy .vertical-heading {
    top: 40px;
  }

  .philosophy-copy {
    max-width: none;
    width: auto;
    font-size: 13px;
    line-height: 1.9;
  }

  .people-scene {
    left: 15px;
    right: 15px;
    bottom: 25px;
    height: 325px;
  }

  .people-scene__person--1 {
    width: 21%;
  }

  .people-scene__person--2 {
    width: 28%;
  }

  .people-scene__person--3 {
    width: 15%;
  }

  .people-scene__person--4 {
    width: 28%;
  }

  .home-journal {
    min-height: 1570px;
    padding: 62px 20px 75px;
  }

  .figma-section-head {
    margin-bottom: 32px;
  }

  .figma-section-head h2 {
    font-size: 30px;
  }

  .figma-feature > a {
    display: block;
  }

  .figma-feature > a > img {
    height: auto;
    aspect-ratio: 3/2;
  }

  .figma-feature__copy {
    min-height: 190px;
    border-left: 1px solid var(--green);
    border-top: 0;
    padding: 24px;
  }

  .figma-feature__copy h3 {
    font-size: 16px;
  }

  .figma-carousel {
    margin-bottom: 45px;
  }

  .figma-journal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 10px;
  }

  .figma-journal-grid h3 {
    font-size: 9px;
  }

  .home-news {
    min-height: 620px;
    padding: 62px 20px 75px;
  }

  .figma-news-list a {
    padding: 24px 30px 22px 0;
  }

  .figma-news-list h3 {
    font-size: 12px;
  }

  .figma-news-list time {
    font-size: 9px;
  }

  .figma-news-list span {
    top: 32px;
  }

  .home-news__mountain {
    width: calc(100% + 40px);
    height: 78px;
    margin: 45px -20px -75px;
    background-image: url("../images/line_lg_sp.svg");
  }

  .home-guides {
    min-height: 790px;
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .home-guides img {
    width: 175px;
    height: 175px;
  }

  .home-guides strong {
    font-size: 19px;
  }

  .home-guides a::after {
    bottom: -8px;
    width: min(160px, 76%);
  }

  .site-footer {
    padding: 28px 20px 24px;
    height: auto;
  }

  .site-footer__social {
    font-size: 15px;
    gap: 7px;
    padding-bottom: 90px;
  }

  .site-footer__privacy, .site-footer small {
    font-size: 13px;
  }

  .global-menu {
    grid-template-columns: 1fr;
  }

  .global-menu__visual {
    display: none;
  }

  .global-menu__panel {
    padding: 20px;
  }

  .global-menu__nav {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .global-menu__logo img {
    width: 95px;
  }

  .global-menu__close {
    right: 18px;
    top: 15px;
    width: 48px;
    height: 48px;
  }

  .global-menu__utility {
    justify-content: flex-start;
  }

}

@media (min-width: 768px) and (max-width: 1100px) {
  .service-columns {
    gap: 20px;
  }

  .service-column h2 {
    font-size: 23px;
  }

  .figma-journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .global-menu {
    grid-template-columns: 34% 66%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-hero__message-slice {
    opacity: 1;
    filter: none;
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

}

/* Shared interaction and Figma photo refinements (v0.5.74). */ @keyframes sarto-scissors-snip {
  0%, 45% {
    transform: rotate(0deg);
  }

  50%, 95% {
    transform: rotate(-30deg);
  }

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

}

.site-header__scissors, .global-menu__scissors {
  transform-origin: 50% 50%;
  animation: sarto-scissors-snip 2s steps(1, end) infinite;
}

.global-menu__visual {
  background: transparent;
}

.global-menu__visual::after {
  background: rgba(0, 0, 0, .16);
}

.service-column > .service-column__illustration {
  height: 320px;
}

.service-column--1 > .service-column__illustration {
  height: 290px;
}

.service-column--2 > .service-column__illustration {
  height: 210px;
  margin-top: 40px;
}

.service-column--3 > .service-column__illustration {
  height: 260px;
  margin-top: 20px;
  margin-bottom: 65px;
}


.home-services__photo {
  display: block;
  width: min(576px, 52vw);
  aspect-ratio: 3 / 2;
  margin: 0 auto 72px;
  object-fit: cover;
}

.home-philosophy__photo {
  position: absolute;
  z-index: 0;
  top: 350px;
  left: 50%;
  display: block;
  width: min(576px, 52vw);
  aspect-ratio: 3 / 2;
  margin: 0;
  transform: translateX(-50%);
}

.home-philosophy {
  height: 1600px;
  padding-top: 730px;
}

.home-philosophy .vertical-heading {
  z-index: 1;
}

.home-philosophy .philosophy-copy {
  margin-top: 50px;
}

.home-philosophy .people-scene {
  bottom: 44px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__scissors, .global-menu__scissors {
    animation: none;
  }

}

@media (max-width: 767px) {
  .global-menu {
    background: rgba(255, 253, 248, .9);
  }

  .global-menu__panel {
    background: rgba(255, 253, 248, .94);
  }

  .service-column > .service-column__illustration {
    height: 360px;
  }

  .service-column--1 > .service-column__illustration {
    height: 260px;
  }

  .home-services__photo {
    width: 100%;
    margin-bottom: 52px;
    margin-top: 50px;
  }

  .home-philosophy__photo {
    top: 254px;
    width: calc(100% - 52px);
  }

  .home-philosophy {
    min-height: 1350px;
    padding-top: 640px;
  }

  .home-philosophy .philosophy-copy {
    margin-top: 28px;
  }

  .home-philosophy .people-scene__bottom {
    margin-top: 60px;
  }

}

/* Figma FIX: JOURNAL two continuously moving rows */ .figma-feature__tags, .journal-marquee__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.figma-feature__tags span, .journal-marquee__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 20px;
  padding: 3px 14px;
  color: var(--green);
  font-size: 12px;
  line-height: 1.5;
}

.figma-feature__copy > p {
  color: var(--ink);
  font-size: 16px;
  margin-top: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.figma-carousel__controls {
  justify-content: space-between;
}

.figma-carousel__controls > [data-carousel-dots] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.journal-marquees {
  margin-left: -5vw;
  margin-right: -5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journal-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  margin: 38px auto 0;
  color: var(--green);
  font-size: 20px;
  letter-spacing: 0.1em;
}

.journal-marquee {
  --card-width: 540px;
  --card-gap: 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.journal-marquee:last-child {
  border-bottom: 0;
}

.journal-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--card-gap);
  padding: 48px 0;
  will-change: transform;
  animation: journal-forward 75s linear infinite;
}

.journal-marquee--reverse .journal-marquee__track {
  animation-name: journal-reverse;
}

.journal-marquee:hover .journal-marquee__track {
  animation-play-state: paused;
}

.journal-marquee__card {
  width: var(--card-width);
  flex: 0 0 var(--card-width);
  color: var(--green);
}

.journal-marquee__card > a {
  display: block;
}

.journal-marquee__card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  /*border: 1px solid var(--green);*/
  filter: grayscale(1);
  opacity: 0.82;
}

.journal-marquee__tags {
  margin-top: 24px;
}

.journal-marquee__card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.journal-marquee__card time {
  display: block;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.journal-marquee__card:nth-child(5n + 1) {
  margin-left: -336px;
}

@keyframes journal-forward {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * (var(--card-width) + var(--card-gap)) * 5));
  }

}

@keyframes journal-reverse {
  from {
    transform: translateX(calc(-1 * (var(--card-width) + var(--card-gap)) * 5));
  }

  to {
    transform: translateX(0);
  }

}

/* Closed accordions must not expose child links. */ .global-menu__children {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.global-menu__parent[aria-expanded="true"] + .global-menu__children {
  max-height: 220px;
  opacity: 1;
}

.global-menu__children > * {
  overflow: visible;
}

@media (max-width: 767px) {
  .home-journal {
    padding-left: 20px;
    padding-right: 20px;
    min-height: auto;
  }

  .journal-more {
    margin-top: 26px;
    font-size: 13px;
  }

  .journal-marquees {
    margin-left: -20px;
    margin-right: -20px;
  }

  .journal-marquee {
    --card-width: 280px;
    --card-gap: 24px;
  }

  .journal-marquee__track {
    padding: 28px 0;
    animation-duration: 48s;
  }

  .journal-marquee__card:nth-child(5n + 1) {
    margin-left: -120px;
  }

  .journal-marquee__card img {
    height: 187px;
  }

  .journal-marquee__tags {
    gap: 4px;
    margin-top: 12px;
  }

  .journal-marquee__tags span, .figma-feature__tags span {
    padding: 2px 8px;
    font-size: 8px;
  }

  .journal-marquee__card h3 {
    font-size: 13px;
    margin: 9px 0 5px;
  }

  .journal-marquee__card time {
    font-size: 9px;
  }

  .figma-carousel__controls button {
    font-size: 11px;
  }

  .global-menu__children a {
    padding: 8px 18px;
  }

  .global-menu__panel {
    padding-bottom: 40px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .journal-marquee__track {
    animation-play-state: paused;
  }

}

.journal-marquee__card:nth-child(5n + 1) {
  margin-left: 0;
}

.journal-marquee__track {
  position: relative;
  left: -336px;
}

@media (max-width: 767px) {
  .journal-marquee__track {
    left: -120px;
  }

}

/* Figma FIX v0.4: headings, JOURNAL and global menu */ .site-header:after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 107px;
  top: 0;
  height: 100vh;
  border-right: 2px dotted var(--green);
  pointer-events: none;
}

.site-header__scissors {
  position: absolute;
  z-index: 3;
  right: 48px;
  top: 24px;
  width: 120px;
  height: 120px;
  object-fit: contain;
  pointer-events: none;
}

.site-header__menu {
  z-index: 4;
}

@media (min-width: 768px) {
  .site-header:after {
    position: fixed;
  }

  .site-header__scissors {
    position: fixed;
  }

  .site-header__menu {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
  }

}

.vertical-heading {
  writing-mode: horizontal-tb;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 18px;
  letter-spacing: 0.15em;
}

.vertical-heading span {
  display: block;
  writing-mode: vertical-rl;
}

.figma-feature__copy {
  border: 0;
}

.figma-carousel__controls [data-carousel-dots] button {
  width: 7px;
  height: 7px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
}

.figma-carousel__controls [data-carousel-dots] button.is-active {
  background: var(--green);
}

.global-menu {
  grid-template-columns: 50% 50%;
  align-items: start;
  background: rgba(0, 0, 0, 0.22);
  color: var(--green);
  overflow: auto;
}

.global-menu__visual {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: #a6a697;
}

.global-menu__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.global-menu__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.global-menu__panel {
  position: relative;
  min-height: 100vh;
  padding: 72px 138px 64px 80px;
  overflow: visible;
  background: var(--paper);
  color: var(--green);
}

.global-menu__panel:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 107px;
  top: 0;
  bottom: 0;
  border-right: 2px dotted var(--green);
  pointer-events: none;
}

.global-menu__logo {
  position: fixed;
  z-index: 4;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
}

.global-menu__logo img {
  width: 160px;
  height: 48px;
  filter: none;
}

.global-menu__scissors {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 48px;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.global-menu__close {
  position: fixed;
  z-index: 5;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--green);
  font-size: 20px;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  padding: 12px 0;
}

.global-menu__nav {
  display: block;
  margin: 0;
}

.global-menu__nav > a, .global-menu__parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0 0 15px;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 24px;
  line-height: 1.6;
  text-align: left;
  letter-spacing: 0.04em;
}

.global-menu__parent span {
  position: relative;
  flex: 0 0 auto;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.global-menu__parent span::before, .global-menu__parent span::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
}

.global-menu__parent span::before {
  background-image: linear-gradient( to right, var(--green) 0 8px, transparent 8px 12px, var(--green) 12px 20px );
  background-size: 20px 2px;
}

.global-menu__parent span::after {
  background-image: linear-gradient( to bottom, var(--green) 0 8px, transparent 8px 12px, var(--green) 12px 20px );
  background-size: 2px 20px;
}

.global-menu__parent[aria-expanded="true"] span::after {
  display: none;
}

.global-menu__parent {
  justify-content: flex-start;
  font-family: inherit;
}

.global-menu__group {
  margin: 0;
}

.global-menu__children {
  margin: 0 0 0 40px;
}

.global-menu__parent[aria-expanded="true"] + .global-menu__children {
  margin: -10px 0 14px 25px;
}

.global-menu__children a {
  display: block;
  padding: 4px 0 3px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.7;
}

.global-menu__reservation {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  margin: 46px 0 0;
  background: var(--green);
  color: var(--paper);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.global-menu__international {
  display: flex;
  font-family: "DM Sans", sans-serif;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 56px 0 0;
  padding: 0;
  border: 0;
  color: var(--green);
}

.global-menu__international > span {
  flex: 1 1 auto;
  text-align: center;
}

.global-menu__international strong {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  white-space: nowrap;
}

.global-menu__international small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
}

.global-menu__tag {
  width: 178px;
  height: auto;
  object-fit: contain;
}

.global-menu__stitch {
  position: relative;
  height: 65px;
  margin: 48px -138px 0 -80px;
  overflow: hidden;
}

.global-menu__stitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/line_sm_pc.svg") center / 100% 100% no-repeat;
}

.global-menu__stitch i {
  display: none;
}

.global-menu__social {
  display: flex;
  gap: 7px;
  margin-top: 0;
}

.global-menu__social img {
  width: 40px;
  height: 40px;
  filter: none;
}

.global-menu__utility {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 25px;
  color: var(--green);
  font-size: 13px;
}

.global-menu__utility a {
  text-decoration: none;
}

@media (min-width: 768px) {
  .global-menu__logo {
    display: none;
  }

}

@media (max-width: 767px) {
  .site-header:after {
    right: auto;
    left: 0;
    top: 68px;
    width: 100%;
    height: 0;
    border-right: 0;
    border-top: 2px dotted var(--green);
  }

  .site-header__scissors {
    right: auto;
    left: 8px;
    top: 43px;
    width: 56px;
    height: 56px;
  }

  .home-services {
    min-height: 0;
    padding: 145px 22px 55px;
  }

  .service-column, .service-column--2, .service-column--3 {
    margin-bottom: 62px;
  }

  .home-philosophy {
    height: auto;
    min-height: 0;
    padding: 200px 26px 45px;
  }

  .people-scene {
    position: static;
    height: auto;
    margin: 0;
    display: block;
  }

  .people-scene__top {
    position: absolute;
    top: 62px;
    left: 50%;
    width: min(300px, calc(100% - 48px));
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
  }

  .people-scene__bottom {
    min-height: 190px;
    margin-top: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
  }

  .people-scene .people-scene__person--1 {
    width: 98px;
  }

  .people-scene .people-scene__person--2 {
    width: 98px;
  }

  .people-scene .people-scene__person--3 {
    width: 72px;
  }

  .people-scene .people-scene__person--4 {
    width: 132px;
  }

  .home-news {
    min-height: 0;
  }

  .home-guides {
    min-height: 0;
    padding-top: 45px;
    padding-bottom: 45px;
    row-gap: 75px;

    &:last-child {
      margin-bottom: 40px;
    }
  }

  .vertical-heading {
    gap: 10px;
  }

  .figma-feature__copy {
    min-height: 0;
    padding: 22px 4px 8px;
    border: 0;
  }

  .figma-feature__copy > p {
    font-size: 12px;
  }

  .global-menu {
    display: block;
    background: var(--paper);
    color: var(--green);
    overflow-y: auto;
  }

  .global-menu__visual {
    display: none;
  }

  .global-menu__panel {
    min-height: 100vh;
    padding: 114px 20px 38px;
    background: var(--paper);
    color: var(--green);
    overflow: hidden;
  }

  .global-menu__panel:after {
    right: auto;
    left: 0;
    top: 68px;
    bottom: auto;
    width: 100%;
    height: 0;
    border-right: 0;
    border-top: 2px dotted var(--green);
  }

  .global-menu__logo {
    position: absolute;
    top: 22px;
    left: 20px;
    transform: none;
  }

  .global-menu__logo img {
    width: 80px;
    height: 24px;
    filter: none;
  }

  .global-menu__scissors {
    top: 43px;
    left: 8px;
    right: auto;
    width: 56px;
    height: 56px;
  }

  .global-menu__close {
    position: absolute;
    top: 25px;
    right: 20px;
    transform: none;
    padding: 0;
    background: none;
    color: var(--green);
    font-size: 17px;
    writing-mode: horizontal-tb;
  }

  .global-menu__nav {
    margin: 0;
    padding: 0 12px;
  }

  .global-menu__nav > a, .global-menu__parent {
    margin-bottom: 12px;
    padding: 0;
    color: var(--green);
    font-size: 20px;
    line-height: 1.55;
  }

  .global-menu__parent span {
    font-size: 21px;
  }

  .global-menu__children {
    margin: 0 0 0 24px;
  }

  .global-menu__parent[aria-expanded="true"] + .global-menu__children {
    margin: -5px 0 12px 14px;
  }

  .global-menu__children a {
    padding: 3px 0;
    color: var(--green);
    font-size: 16px;
    line-height: 1.7;
  }

  .global-menu__reservation {
    height: 64px;
    margin-top: 42px;
    font-size: 19px;
  }

  .global-menu__international {
    margin-top: 28px;
    padding: 0 8px;
    gap: 8px;
  }

  .global-menu__international strong {
    font-size: 14px;
    white-space: normal;
  }

  .global-menu__international small {
    font-size: 10px;
    line-height: 1.7;
  }

  .global-menu__tag {
    width: 116px;
  }

  .global-menu__stitch {
    height: 50px;
    margin: 20px -10px 0;
  }

  .global-menu__social {
    gap: 10px;
    padding: 0 8px;
  }

  .global-menu__social img {
    width: 40px;
    height: 40px;
  }

  .global-menu__utility {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
    margin-top: 22px;
    font-size: 12px;
  }

  .global-menu__utility a {
    text-decoration: underline;
  }

}

/* Keep the open menu transparent so the current page remains visible. */ body .global-menu {
  background: rgba(3, 103, 51, .50);
}

body .global-menu__visual {
  background: transparent;
}

body .global-menu__visual::after {
  background: rgba(0, 0, 0, .14);
}

/* Home: philosophy copy follows the PC Figma typography. */ body .home-philosophy .philosophy-copy {
  width: 1000px;
  max-width: calc(100vw - 80px);
  color: #036733;
  font-size: 20px;
  line-height: 3;
  letter-spacing: .02em;
  margin: 80px auto 20px auto;
}



body .home-philosophy .philosophy-copy p {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  /* Keep the illustration below the copy instead of anchoring it into the text area. */ body .home-philosophy {
    height: 2200px;
  }

  body .home-philosophy .people-scene {
    bottom: auto;
  }

}

@media (max-width: 767px) {
  body .global-menu {
    background: rgba(255, 253, 248, .88);
  }

  body .global-menu__panel {
    background: rgba(255, 253, 248, .95);
  }

  body .home-philosophy {
    height: auto;
    min-height: 1350px;
    padding-top: 480px;
  }

  body .home-philosophy__photo {
    top: 245px;
    width: calc(100% - 52px);
  }

  body .home-philosophy .philosophy-copy {
    width: auto;
    max-width: none;
    margin-top: 28px;
    /* color: #454540; */
    font-size: 17px;
    line-height: 2.2;
    letter-spacing: .02em;
    text-align: left;
  }

  body .home-philosophy .philosophy-copy p {
    margin-bottom: 12px;
  }

  body .home-philosophy .people-scene__bottom {
    margin-top: 60px;
  }

}

/* SP typography and spacing adjustments. */ @media (max-width: 767px) {
  body, body * {
    letter-spacing: .025em !important;
  }

  .home-hero__message::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: url("../images/hero-message-sp@3x.png") center / contain no-repeat;
    content: "";
    opacity: 0;
    animation: hero-message-sharpen .12s linear 2.55s forwards;
    pointer-events: none;
  }

  .service-column h2 {
    font-size: 24px;
    margin: 20px 0 25px 0;
  }

  .service-column, .service-column--2, .service-column--3 {
    margin-bottom: 36px;
  }

  .service-column--2 > .service-column__illustration, .service-column--3 > .service-column__illustration {
    width: 246px;
    height: auto;
    margin-top: 70px;
  }


  .service-column--3 > .service-column__illustration, .service-column--3 > .service-column__illustration {
    width: 246px;
    height: auto;
    margin-top: 70px;
  }

  .home-philosophy .vertical-heading {
    font-size: 33px;
  }

  .figma-news-list h3 {
    font-size: 14.4px;
  }

}

@keyframes hero-message-sharpen {
  to {
    opacity: 1;
  }

}

/* SP typography and spacing adjustments. */
@media (max-width: 767px) {
  body,
  body * {
    letter-spacing: .025em !important;
  }

  .home-hero__message::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: url("../images/hero-message-sp@3x.png") center / contain no-repeat;
    content: "";
    opacity: 0;
    animation: hero-message-sharpen .12s linear 2.55s forwards;
    pointer-events: none;
  }

  .service-columns {
    margin-left: -20px;
    padding: 0;
    width: calc(100% + 20px * 2);
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .service-column h2 {
    font-size: 20px;
    margin-bottom: -5px;
  }

  .home-services {
    overflow-x: clip;
  }

  .service-columns {
    overflow-anchor: none;
  }

  .service-column,
  .service-column--2,
  .service-column--3 {
    margin-bottom: 36px;
  }

  .service-column--2 > .service-column__illustration {
      width: 166px;
      height: 166px;
  }

  .service-column--3 > .service-column__illustration {
      width: 176px;
      height: 176px;
      margin-bottom: 20px;
  }

  .home-philosophy .vertical-heading {
    font-size: 33px;
  }

  .figma-news-list h3 {
    font-size: 14.4px;
  }
}

@keyframes hero-message-sharpen {
  to { opacity: 1; }
}

/* SP: straight cutting-guide lines around the service list. */
@media (max-width: 767px) {
  .service-column {
    position: relative;
  }

  .service-column::before,
  .service-column::after {
    position: absolute;
    z-index: 0;
    width: var(--cut-line-width, 88px);
    border-top: 2px dotted var(--green);
    content: none;
    opacity: .82;
    pointer-events: none;
    transform: rotate(var(--cut-line-angle, 0deg)) scaleX(0);
    transform-origin: var(--cut-line-origin, left) center;
    transition: transform .9s cubic-bezier(.22, .72, .24, 1);
  }

  .service-column--1::before {
    --cut-line-width: 72px;
    --cut-line-angle: -5deg;
    --cut-line-origin: right;
    top: 4px;
    right: -38px;
    content: "";
  }

  .service-column--1::after {
    --cut-line-width: 94px;
    --cut-line-angle: 43deg;
    --cut-line-origin: left;
    bottom: -24px;
    left: -44px;
    content: "";
  }

  .service-column--2::after {
    --cut-line-width: 102px;
    --cut-line-angle: -25deg;
    --cut-line-origin: right;
    right: -46px;
    bottom: -30px;
    content: "";
  }

  .service-column--3::after {
    --cut-line-width: 98px;
    --cut-line-angle: -63deg;
    --cut-line-origin: left;
    bottom: -42px;
    left: -46px;
    content: "";
  }

  .service-column.is-cut-line-visible::before,
  .service-column.is-cut-line-visible::after {
    transform: rotate(var(--cut-line-angle, 0deg)) scaleX(1);
  }

  @media (prefers-reduced-motion: reduce) {
    .service-column::before,
    .service-column::after {
      transition: none;
    }
  }
}
