/* ---------- base ---------- */
:root {
  --color-main: #3e332c;
  --color-face: #f5efe6;
  --color-text: #1a1a1a;
  --color-text-sub: #6e6359;
  --color-line: #e3dace;
  --color-line-strong: #958879;
  --color-white: #fff;
  --color-error: #a8322d;

  --gutter: 32px;
  --page-side: 40px;
  --face-side: 12px;
  --space-l: 64px;
  --space-xl: 120px;

  --fs-small: 14px;
  --fs-body: 16px;
  --fs-h3: 24px;
  --fs-h2: 36px;
  --fs-h1: 44px;
  --fs-about: 28px;
  --fs-kv: clamp(38px, 4.6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.is-menu-open { overflow: hidden; scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 {
  font-feature-settings: "palt";
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  word-break: auto-phrase;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-main); outline-offset: 2px; }
.site-footer a:focus-visible { outline-color: var(--color-white); }

.container {
  max-width: calc(1120px + var(--page-side) * 2);
  margin-inline: auto;
  padding-inline: var(--page-side);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.face {
  position: relative;
  margin-inline: var(--face-side);
  border-radius: 56px;
}
.face > .container {
  max-width: calc(1120px + (var(--page-side) - var(--face-side)) * 2);
  padding-inline: calc(var(--page-side) - var(--face-side));
}

.stars {
  position: absolute;
  top: 40px;
  right: 48px;
  width: 64px;
  height: 18px;
  fill: var(--color-text);
}
.page-head .stars { fill: var(--color-white); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  padding: 8px 16px;
  background: var(--color-main);
  color: var(--color-white);
}
.skip-link:focus { top: 8px; z-index: 20; }

.en-label, .page-head__label, .site-footer__name, .site-footer__copy, .home-story__word, .site-nav__en {
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.en-label, .page-head__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.en-label {
  margin-bottom: 12px;
  color: var(--color-text-sub);
}

.section-label {
  color: var(--color-main);
  font-size: var(--fs-small);
  font-weight: 500;
}

.round-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-main);
  font-weight: 500;
  text-decoration: none;
}
.round-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-text);
}
.round-link__icon svg { width: 16px; height: 16px; }
.round-link:hover .round-link__icon { border-color: var(--color-main); color: var(--color-main); }
@media (hover: hover) {
  .site-nav__link:hover .round-link__icon { border-color: var(--color-main); color: var(--color-main); }
}

/* ---------- marquee ---------- */
.marquee__view { display: flex; overflow-x: auto; }
.marquee__group { display: flex; flex: none; align-items: flex-start; }

/* ---------- reveal ---------- */
.reveal { overflow: hidden; }
.reveal__inner { display: block; }
.photo-zoom {
  overflow: hidden;
  border-radius: 48px;
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; }
.site-header.is-scrolled:not(.is-open) { pointer-events: none; }
.site-header__name, .site-header__toggle, .site-nav { pointer-events: auto; }
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-white);
  clip-path: inset(0 0 0 0 round 0);
}
.site-header.is-scrolled::after {
  background: rgb(255 255 255 / 95%);
  clip-path: inset(16px 16px 8px 16px round 30px);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header::after {
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }
  .site-header.is-scrolled::after {
    background: rgb(255 255 255 / 70%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
@media (min-width: 1200px) {
  .site-header.is-scrolled::after { clip-path: inset(16px calc(50% - 584px) 8px calc(50% - 584px) round 30px); }
}
@media (min-width: 1280px) {
  .site-header.is-scrolled .site-header__name, .site-header.is-scrolled .site-nav { transform: translateY(4px); }
  .site-header.is-scrolled .site-nav__link--contact { border-radius: 21px; }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.site-header__name { display: block; color: var(--color-text); }
.site-header__logo { display: block; width: 108.3px; height: 48px; }
.site-header__toggle { display: none; }
.site-nav__en, .site-nav .round-link__icon, .site-nav__menu-only { display: none; }
.site-nav__list { display: flex; align-items: center; gap: 32px; }
.site-nav__link {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--color-main); }
.site-nav__link--contact, .site-nav__link--contact:hover, .site-nav__link--contact[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--color-main);
  color: var(--color-white);
}
.site-nav__link--contact:hover { background: var(--color-text); }
.site-nav__link--contact svg { flex: none; width: 14px; height: 14px; }

/* ---------- breadcrumb ---------- */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 10px 14px;
  color: var(--color-text-sub);
  font-size: var(--fs-small);
}
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin-right: 8px; color: var(--color-line); }
.breadcrumb__item a:hover { color: var(--color-main); }

/* ---------- page head ---------- */
.page-head {
  margin-bottom: calc(var(--space-l) + 72px);
  padding-top: var(--space-l);
  background: var(--color-main);
}
.page-head__title-area {
  grid-column: 1 / span 4;
  padding-bottom: var(--space-l);
}
.page-head__label {
  margin-bottom: 8px;
  color: var(--color-line);
}
.page-head__title { color: var(--color-white); font-size: var(--fs-h1); }
.page-head__photo { grid-column: 5 / -1; margin-bottom: -72px; }
.page-head__photo img {
  width: 100%;
  aspect-ratio: 736 / 339;
  object-fit: cover;
  border-radius: 48px;
}
.page-head--plain { margin-bottom: 0; padding-block: var(--space-l); }
.page-head--plain .page-head__title-area { grid-column: 1 / -1; padding-bottom: 0; }

/* ---------- lead ---------- */
.lead { margin-bottom: var(--space-xl); }
.lead__text {
  grid-column: 2 / span 10;
  font-size: var(--fs-about);
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: center;
}
.lead__text span { display: inline-block; }

/* ---------- home : kv ---------- */
.kv { position: relative; z-index: 1; padding-top: 24px; }
.kv__title {
  font-size: var(--fs-kv);
  word-break: normal;
}
.kv__title > span {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.kv__marquee { margin-top: 78px; }
.kv__photos {
  box-sizing: content-box;
  height: clamp(440px, 60vh, 640px);
  height: clamp(440px, 60svh, 640px);
  padding-bottom: 40px;
}
.kv__group { gap: 16px; height: 100%; padding-right: 16px; }
.kv__photo { position: relative; flex: none; }
.kv__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.kv__photo--wide { height: 100%; aspect-ratio: 3 / 2; }
.kv__photo--reuse { top: 5%; height: 88%; aspect-ratio: 3 / 4; }
.kv__photo--tray { top: 20%; height: 70%; aspect-ratio: 1 / 1; }
.kv__photo--food { height: 82%; aspect-ratio: 3 / 4; }
.kv__photo--scale { top: 14%; height: 74%; aspect-ratio: 4 / 5; }
.kv__photo--stall { top: 6%; height: 86%; aspect-ratio: 3 / 4; }

/* ---------- home : about ---------- */
.home-story { position: relative; }
.home-story__stage {
  position: absolute;
  inset: -18vw 0 0;
  overflow: hidden;
  pointer-events: none;
}
.home-story__word {
  position: absolute;
  top: 2vw;
  left: -70vw;
  width: 190vw;
  height: 190vw;
  max-width: none;
  fill: var(--color-face);
  font-weight: 600;
  transform: rotate(45deg);
  user-select: none;
  will-change: transform;
}
.home-about, .photo-band { position: relative; }
.home-about { padding-block: 160px var(--space-xl); }
.home-about__body { grid-column: 2 / span 10; }
.home-about__text {
  font-size: var(--fs-about);
  letter-spacing: 0.04em;
  line-height: 2;
  word-break: auto-phrase;
}
.home-about__text p + p { margin-top: 1em; }

/* ---------- home : photo band ---------- */
.photo-band { margin-bottom: calc(var(--space-xl) - 24px); }
.photo-band .marquee__view { padding-bottom: 24px; }
.photo-band .marquee__group { align-items: center; gap: 1.1vw; padding-right: 1.1vw; }
.photo-band img {
  flex: none;
  border-radius: 12px;
}
.photo-band img:nth-child(1) { width: 18.5vw; }
.photo-band img:nth-child(2) { width: 19vw; }
.photo-band img:nth-child(3) { width: 16vw; }
.photo-band img:nth-child(4) { width: 17.5vw; }
.photo-band img:nth-child(5) { width: 18vw; }
.photo-band img:nth-child(6) { width: 19.5vw; }

/* ---------- home : business ---------- */
.home-biz { padding-block: 96px; background: var(--color-face); }
.home-biz__head {
  grid-column: 1 / -1;
  margin-bottom: var(--space-l);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}
.home-biz__title { font-size: var(--fs-h2); }
.home-biz__row + .home-biz__row {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--color-line);
}
.home-biz__photo { align-self: start; }
.home-biz__photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 48px;
}
.home-biz__row--left .home-biz__photo { grid-column: 1 / span 7; }
.home-biz__row--left .home-biz__photo img { aspect-ratio: 4 / 3; }
.home-biz__row--left .home-biz__text { grid-column: 9 / -1; align-self: end; }
.home-biz__row--right .home-biz__text { grid-column: 1 / span 4; align-self: center; }
.home-biz__row--right .home-biz__photo { grid-column: 6 / -1; }
.home-biz__row--right .home-biz__photo img { aspect-ratio: 3 / 2; }
.home-biz__name { margin-top: 4px; font-size: var(--fs-h3); }
.home-biz__desc { margin-block: 12px 24px; }

/* ---------- home : entries ---------- */
.home-entry { padding-block: var(--space-xl); }
.home-entry__item {
  padding-block: 32px;
  border-top: 1px solid var(--color-line);
}
.home-entry__item--company { grid-column: 1 / span 7; }
.home-entry__item--contact { grid-column: 8 / -1; }
.home-entry__title { font-size: var(--fs-h3); }
.home-entry__text { margin-block: 6px 20px; color: var(--color-text-sub); font-size: 15px; }

/* ---------- business ---------- */
.biz-item { padding-bottom: var(--space-xl); scroll-margin-top: 24px; }
.biz-item--face { margin-bottom: var(--space-xl); padding-block: 96px; background: var(--color-face); scroll-margin-top: 0; }
.biz-item .grid { align-items: center; }
.biz-item__text { grid-column: 1 / span 5; }
.biz-item__photo { grid-column: 7 / -1; }
.biz-item--face .biz-item__text { grid-column: 8 / -1; }
.biz-item--face .biz-item__photo { grid-row: 1; grid-column: 1 / span 6; }
.biz-item__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 48px;
}
.biz-item--face .biz-item__photo img { aspect-ratio: 3 / 2; }
.biz-item__name { margin-top: 4px; font-size: var(--fs-h2); }
.biz-item__logo { margin-top: 16px; }
.biz-item__logo img { width: 240px; }
.biz-item__logo--reuse img { width: 160px; }
.biz-item__catch { margin-top: 28px; font-size: var(--fs-about); font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }
.biz-item__desc { margin-top: 16px; }

.biz-next { padding-bottom: var(--space-xl); }
.biz-next__inner { grid-column: 1 / -1; }

/* ---------- company ---------- */
.company-info { padding-bottom: var(--space-xl); }
.company-info__head { grid-column: 1 / span 4; }
.company-info__title { font-size: var(--fs-h2); }
.company-info__list { grid-column: 5 / -1; border-top: 1px solid var(--color-line); }
.company-info__row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-block: 20px;
  border-bottom: 1px solid var(--color-line);
}
.company-info__row dt { grid-column: 1 / span 2; color: var(--color-main); font-weight: 500; }
.company-info__row dd { grid-column: 3 / -1; }

/* ---------- contact ---------- */
.contact { padding-block: 96px var(--space-xl); }
.contact__body { grid-column: 3 / span 8; }
.contact__title { font-size: var(--fs-h2); }
.contact__title:focus { outline: none; }
.contact__desc { margin-top: 12px; }
.contact__alert {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--color-error);
  border-radius: 12px;
  color: var(--color-error);
  font-weight: 500;
}
.contact__home { margin-top: 32px; }

.contact-form { margin-top: 40px; border-top: 1px solid var(--color-line); }
.contact-form__field { padding-block: 24px; border-bottom: 1px solid var(--color-line); }
.contact-form__label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.contact-form__required {
  flex: none;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.contact-form__input {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--color-line-strong);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.contact-form__input--short { max-width: 320px; }
.contact-form__textarea { min-height: 200px; resize: vertical; }
.contact-form__input:focus-visible { outline: 3px solid var(--color-main); outline-offset: 2px; }
.contact-form__input[aria-invalid="true"] { border-color: var(--color-error); }
.contact-form__error { color: var(--color-error); font-size: var(--fs-small); font-weight: 500; }
.contact-form__error:not(:empty) { margin-top: 8px; }
.contact-form__error:not(:empty)::before { content: "! "; }
.contact-form__agree { margin-top: 32px; text-align: center; word-break: auto-phrase; }
.contact-form__agree a { color: var(--color-main); text-underline-offset: 4px; }
.contact-form__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 48px; }

.contact-confirm { margin-top: 32px; border-top: 1px solid var(--color-line); }
.contact-confirm__row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-block: 20px;
  border-bottom: 1px solid var(--color-line);
}
.contact-confirm__row dt { grid-column: 1 / span 2; color: var(--color-main); font-weight: 500; }
.contact-confirm__row dd { grid-column: 3 / -1; overflow-wrap: anywhere; }
.contact-confirm__message { white-space: pre-wrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  min-height: 60px;
  padding: 12px 32px;
  border: 1px solid var(--color-main);
  border-radius: 16px;
  background: var(--color-main);
  color: var(--color-white);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.button svg { flex: none; width: 14px; height: 14px; }
.button--back { border-color: var(--color-line-strong); background: var(--color-white); color: var(--color-text); }
@media (hover: hover) {
  .button:hover { border-color: var(--color-text); background: var(--color-text); }
  .button--back:hover { border-color: var(--color-main); background: var(--color-white); color: var(--color-main); }
}

/* ---------- privacy ---------- */
.privacy { padding-block: 96px var(--space-xl); }
.privacy__body { grid-column: 3 / span 8; }
.privacy__section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.privacy__body ol { margin-top: 16px; padding-left: 1.6em; list-style: decimal; }
.privacy__body li + li { margin-top: 6px; }
.privacy__sign { margin-top: 24px; }
.privacy__section h2 { font-size: var(--fs-h3); }
.privacy__section h3 { margin-top: 36px; font-size: 18px; font-weight: 700; }
.privacy__section h4 { margin-top: 20px; font-size: var(--fs-body); font-weight: 700; }
.privacy__section p { margin-top: 10px; }

/* ---------- not found ---------- */
.not-found { padding-block: 96px var(--space-xl); }
.not-found__title { font-size: var(--fs-h2); }
.not-found__link { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 0;
  padding-block: var(--space-l) 28px;
  color: var(--color-white);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 56px 56px 0 0;
  background: var(--color-main);
}
.site-footer__company { grid-column: 1 / span 6; }
.site-footer__logo { display: block; width: 198.6px; height: 88px; margin-bottom: 24px; }
.site-footer__name { font-feature-settings: "palt"; font-size: 20px; font-weight: 500; letter-spacing: 0.06em; }
.site-footer__info { margin-top: 12px; font-size: var(--fs-small); }
.no-break { white-space: nowrap; }
.site-footer__nav { grid-column: 8 / -1; }
.site-footer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--gutter); font-size: 15px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__list svg { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }
.site-footer__copy {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  font-size: 12px;
}

/* ---------- motion ---------- */
@keyframes line-rise {
  from { transform: translateY(105%); }
}
@keyframes photo-rise {
  from { opacity: 0; transform: translateY(40px); }
}
@keyframes flow-left {
  to { transform: translateX(-100%); }
}
@keyframes word-turn {
  from { transform: rotate(45deg); }
  to { transform: rotate(-315deg); }
}
@keyframes flow-right {
  from { transform: translateX(-100%); }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .kv__title .reveal__inner {
    animation: line-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .kv__title > span:nth-of-type(n+3) .reveal__inner { animation-delay: 0.1s; }

  .kv__photo { animation: photo-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .kv__photo:nth-child(2) { animation-delay: 0.1s; }
  .kv__photo:nth-child(3) { animation-delay: 0.2s; }
  .kv__photo:nth-child(4) { animation-delay: 0.3s; }
  .kv__photo:nth-child(5) { animation-delay: 0.4s; }
  .kv__photo:nth-child(6) { animation-delay: 0.5s; }

  .js-motion .marquee__view { overflow: hidden; }
  .js-motion .kv__group { animation: flow-left 50s linear infinite; }
  .js-motion .photo-band .marquee__group { animation: flow-right 48s linear infinite; }
  .home-story__word { animation: word-turn 90s linear infinite; }

  .js-motion .fade-up, .js-motion .photo-band .marquee__view {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-motion .fade-up.is-visible, .js-motion .photo-band.is-visible .marquee__view {
    opacity: 1;
    transform: none;
  }

  .js-motion .reveal .reveal__inner {
    transform: translateY(105%);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-motion .reveal.is-visible .reveal__inner { transform: none; }

  .js-motion .photo-zoom img {
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-motion .photo-zoom.is-visible img {
    opacity: 1;
    transform: none;
  }

  .site-header::after {
    transition: clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1), -webkit-backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-header__name, .site-header__toggle { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

  .js-motion .site-footer::before {
    clip-path: inset(100% 0 0 0 round 56px 56px 0 0);
    transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-motion .site-footer.is-visible::before { clip-path: inset(0 0 0 0 round 56px 56px 0 0); }
  .js-motion .site-footer > .container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  }
  .js-motion .site-footer.is-visible > .container { opacity: 1; transform: none; }
}

@media screen and (prefers-reduced-motion: no-preference) and (max-width: 1279px) {
  .site-header::before, .site-nav {
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
  }
  .site-header.is-open::before, .site-header.is-open .site-nav {
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }
  .site-header__line { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
}

@media (hover: hover) and (max-width: 1279px) {
  .site-header__toggle:hover { border-color: var(--color-main); color: var(--color-main); }
  .site-nav__sub a:hover { color: var(--color-main); }
}

@media screen and (prefers-reduced-motion: no-preference) and (min-width: 1280px) {
  .site-nav { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
  .site-nav__link--contact { transition: border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
}

@media screen and (prefers-reduced-motion: no-preference) and (hover: hover) {
  .marquee__view:hover .marquee__group { animation-play-state: paused; }
}

@media screen and (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .js-motion .site-footer::before { clip-path: inset(100% 0 0 0 round 32px 32px 0 0); }
  .js-motion .site-footer.is-visible::before { clip-path: inset(0 0 0 0 round 32px 32px 0 0); }
  .kv__title > span:nth-of-type(2) .reveal__inner { animation-delay: 0.1s; }
  .kv__title > span:nth-of-type(3) .reveal__inner { animation-delay: 0.2s; }
  .kv__title > span:nth-of-type(4) .reveal__inner { animation-delay: 0.3s; }
}

/* ---------- tablet ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 24px; --page-side: 32px; --space-xl: 96px; --fs-about: 24px; --fs-h1: 38px; --fs-h2: 32px; }

  .site-header { min-height: 84px; }
  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--color-white);
    opacity: 0;
    visibility: hidden;
  }
  .site-header.is-open::before { opacity: 1; visibility: visible; }
  .site-header.is-open .site-header__inner { position: fixed; top: 0; right: 0; left: 0; }
  .site-header__name, .site-header__toggle { position: relative; z-index: 2; }

  .site-header__toggle {
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-line-strong);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header__line {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 18px;
    height: 1.5px;
    margin-top: -0.75px;
    background: currentColor;
    transform: translateY(-3px);
  }
  .site-header__line + .site-header__line { transform: translateY(3px); }
  .site-header.is-open .site-header__line { transform: rotate(45deg); }
  .site-header.is-open .site-header__line + .site-header__line { transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 88px 20px 20px;
    border-radius: 28px;
    background: var(--color-face);
    opacity: 0;
    transform: translateY(16px);
    visibility: hidden;
  }
  .site-header.is-scrolled .site-nav {
    clip-path: inset(4px 4px calc(100% - 64px) 4px round 30px);
    transform: none;
  }
  .site-header.is-open .site-nav,
  .site-header.is-open.is-scrolled .site-nav {
    clip-path: inset(0 0 0 0 round 28px);
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .site-header.is-scrolled:not(.is-open) .site-header__name,
  .site-header.is-scrolled:not(.is-open) .site-header__toggle { transform: translate(8px, 4px); }
  .site-nav__list {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav__list > li { flex: none; }
  .site-nav__menu-only { display: block; }
  .site-nav__list li + li:not(.site-nav__contact, .site-nav__sub) { border-top: 1px solid var(--color-line); }
  .site-nav__link {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 16px;
    padding-block: 20px;
  }
  .site-nav__en {
    display: block;
    color: var(--color-text-sub);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }
  .site-nav__ja {
    grid-row: 2;
    margin-top: 4px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
  }
  .site-nav .round-link__icon { display: flex; grid-column: 2; grid-row: 1 / span 2; }
  .site-nav__contact { margin-top: auto; padding-top: 32px; }
  .site-nav__sub { margin-top: 4px; text-align: center; }
  .site-nav__sub a {
    display: inline-block;
    padding-block: 12px;
    color: var(--color-text-sub);
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
  }
  .site-nav__link--contact, .site-nav__link--contact:hover, .site-nav__link--contact[aria-current="page"] {
    display: flex;
    justify-content: center;
    min-height: 60px;
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
  }

  .contact__body { grid-column: 2 / span 10; }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  .site-header.is-scrolled .site-nav { clip-path: inset(4px calc(50% - 584px) calc(100% - 64px) calc(50% - 584px) round 30px); }
  .site-header.is-scrolled:not(.is-open) .site-header__name,
  .site-header.is-scrolled:not(.is-open) .site-header__toggle { transform: translateY(4px); }
}

/* ---------- sp ---------- */
@media (max-width: 767px) {
  html { scroll-padding-top: 66px; }
  :root {
    --gutter: 16px;
    --page-side: 16px;
    --face-side: 0px;
    --space-l: 40px;
    --space-xl: 72px;
    --fs-h3: 22px;
    --fs-h2: 26px;
    --fs-h1: 30px;
    --fs-about: 20px;
    --fs-kv: clamp(28px, 8.6vw, 40px);
  }

  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1; }

  .face { border-radius: 32px; }
  .stars { top: 24px; right: 20px; width: 48px; height: 13.5px; }

  .site-header { min-height: 66px; }
  .site-header__inner { min-height: 66px; }
  .site-header.is-scrolled::after { clip-path: inset(12px 12px 2px 12px round 26px); }
  .site-header.is-scrolled:not(.is-open) .site-header__name { transform: translate(12px, 5px); }
  .site-header.is-scrolled:not(.is-open) .site-header__toggle { transform: translate(0, 5px); }
  .site-header.is-scrolled .site-nav { clip-path: inset(0 0 calc(100% - 52px) 0 round 26px); }
  .site-header.is-open .site-header__name { transform: translate(16px, 12px); }
  .site-header.is-open .site-header__toggle { transform: translate(-16px, 12px); }
  .site-nav { padding-top: 76px; }
  .site-header__logo { width: 90.3px; height: 40px; }

  .page-head { margin-bottom: 64px; padding-top: 32px; }
  .page-head__title-area { padding-bottom: 24px; }
  .page-head__photo { margin-bottom: -32px; }
  .page-head__photo img { aspect-ratio: 3 / 2; border-radius: 28px; }
  .page-head--plain { padding-block: 32px; }

  .lead__text { font-size: 17px; text-align: left; }

  .kv__title > span { display: block; }
  .kv__title br { display: none; }
  .kv__marquee { margin-top: 72.5px; }
  .kv__photos {
    height: max(55vh, 320px);
    height: max(55svh, 320px);
  }
  .kv__group { gap: 8px; padding-right: 8px; }
  .kv__photo img { border-radius: 10px; }
  .kv__photo--wide { width: 62vw; aspect-ratio: auto; }
  .kv__photo--wide img { object-position: 58% 50%; }
  .kv__photo--reuse { top: 4%; width: 56vw; height: 92%; aspect-ratio: auto; }
  .kv__photo--reuse img { object-position: 60% 50%; }
  .kv__photo--tray { top: 10%; width: 52vw; height: 82%; aspect-ratio: auto; }
  .kv__photo--food { width: 58vw; height: 96%; aspect-ratio: auto; }
  .kv__photo--scale { top: 6%; width: 54vw; height: 88%; aspect-ratio: auto; }
  .kv__photo--stall { top: 8%; width: 56vw; height: 90%; aspect-ratio: auto; }

  .home-story__word { top: -2vw; left: -165vw; width: 300vw; height: 300vw; }
  .home-about { padding-block: 96px var(--space-xl); }
  .home-about__text { line-height: 1.95; }
  .home-about__text br { display: none; }

  .photo-band .marquee__group { gap: 2.4vw; padding-right: 2.4vw; }
  .photo-band img { border-radius: 10px; }
  .photo-band img:nth-child(1) { width: 34vw; }
  .photo-band img:nth-child(2) { width: 36vw; }
  .photo-band img:nth-child(3) { width: 30vw; }
  .photo-band img:nth-child(4) { width: 33vw; }
  .photo-band img:nth-child(5) { width: 34vw; }
  .photo-band img:nth-child(6) { width: 36vw; }

  .home-biz { padding-block: 56px; }
  .home-biz__title { margin-bottom: 28px; }
  .home-biz__row + .home-biz__row { margin-top: 56px; }
  .home-biz__photo { order: -1; margin-bottom: 20px; }
  .home-biz__photo img { border-radius: 28px; }
  .photo-zoom { border-radius: 28px; }
  .home-biz__row--left .home-biz__photo,
  .home-biz__row--left .home-biz__text,
  .home-biz__row--right .home-biz__photo,
  .home-biz__row--right .home-biz__text { grid-column: 1 / -1; }

  .home-entry__item { padding-block: 24px; }

  .biz-item--face { padding-block: 56px; }
  .biz-item--face .biz-item__text, .biz-item--face .biz-item__photo { grid-row: auto; grid-column: 1 / -1; }
  .biz-item__photo { margin-top: 28px; }
  .biz-item__photo img { border-radius: 28px; }
  .biz-item__logo img { width: 210px; }
  .biz-item__logo--reuse img { width: 140px; }
  .biz-next { padding-bottom: 64px; }

  .company-info__title { margin-bottom: 16px; }
  .company-info__row { display: block; padding-block: 16px; }

  .contact { padding-block: 48px 64px; }
  .contact-form { margin-top: 32px; }
  .contact-form__input--short { max-width: none; }
  .contact-form__actions { flex-direction: column-reverse; margin-top: 40px; }
  .button { width: 100%; }
  .contact-confirm__row { display: block; padding-block: 16px; }
  .contact-confirm__row dt { margin-bottom: 4px; }

  .privacy { padding-block: 40px 64px; }
  .privacy__section { margin-top: 36px; }

  .site-footer::before { border-radius: 32px 32px 0 0; }
  .site-footer__nav { margin-top: 32px; }
}
