@charset "utf-8";

/* Font */
@font-face {
  font-family: "Romie";
  src: url("../fonts/romie-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Utsukushi Mincho";
  src: url("../fonts/utsukushi-font.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body:    "Gothic A1", -apple-system, BlinkMacSystemFont, "Meiryo", sans-serif;
  --font-display: "DM Sans", sans-serif;
  --font-romie:   "Romie", serif;
  --font-hand:    "Utsukushi Mincho", serif;
}

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

html {
  font-size: 62.5%;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(20px + 1.5rem);
}

body {
  min-height: 100vh;
  color: #251b0f;
  line-height: 1.8;
  font-size: 1.4rem;
  font-family: var(--font-body);
  background-color: #edede9;
  transition: background-color 0.9s ease;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background-color: #7d0809;
  border-radius: 4px;
}
.skip-link:focus {
  top: 1rem;
}

/* ── Layout ── */
.l-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .pc-none { display: none !important; }
}

@media screen and (max-width: 500px) {
  .sp-none { display: none !important; }
}

.u-romie {
  color: #7d0809;
  font-family: var(--font-romie);
  letter-spacing: 0.05em;
}

.pc-order-reversed {
  order: -1;
}

/* ── Cursor label ── */
.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 99999;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: #251B0F;
  background: transparent;
  border: 1px dashed #251B0F;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  isolation: isolate;
}

.cursor-label__text {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
  transition: opacity 0.15s ease;
}

.cursor-label.is-wait,
.cursor-label.is-go {
  color: #251B0F;
  background: transparent;
  border-color: #251B0F;
  border-style: dashed;
  mix-blend-mode: normal;
}

.cursor-label.is-wait .cursor-label__text,
.cursor-label.is-go .cursor-label__text {
  opacity: 1;
}

.cursor-label.is-link {
  background: #fff;
  border-color: #fff;
  border-style: solid;
  color: transparent;
  mix-blend-mode: difference;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.cursor-label.is-link .cursor-label__text {
  opacity: 0;
}

@media screen and (max-width: 1024px), (hover: none), (pointer: coarse) {
  .cursor-label { display: none; }
}

@media screen and (prefers-reduced-motion: reduce) {
  .cursor-label { display: none; }
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background-color: #edede9;
  opacity: 0;
  filter: blur(0px);
  will-change: opacity, filter;
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter  0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.is-active {
  pointer-events: all;
}

/* ── Loader ── */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #edede9;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-loader__logo-mask {
  width: min(320px, 56vw);
  aspect-ratio: auto;
  margin-inline: auto;
}

.site-loader__logo-reveal {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.site-loader__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  perspective: 800px;
}

.site-loader__policy {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 2;
  opacity: 0;
  transform-origin: 50% 0;
  transform: rotateX(-120deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  white-space: nowrap;
  transition: none;
}

.site-loader__name {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  opacity: 0;
  opacity: 0;
  transform-origin: 50% 0;
  transform: rotateX(-120deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.site-loader__policy.is-visible,
.site-loader__name.is-visible {
  opacity: 1;
  transform: rotateX(0deg);
}

@media screen and (prefers-reduced-motion: reduce) {
  .site-loader { transition: none; }
  .site-loader__policy,
  .site-loader__name {
    transform: none;
    transition: opacity 0.3s ease;
  }
  .site-loader__policy.is-visible,
  .site-loader__name.is-visible {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .site-loader__inner {
    max-width: 92vw;
    padding: 1rem;
  }
  .site-loader__logo-mask {
    width: min(66vw, 300px);
  }
  .site-loader__policy {
    font-size: 13px;
  }
  .site-loader__name {
    margin-top: 1rem;
  }
}


/* Toggle */
.menu-toggle {
  position: fixed;
  top: 10px;
  right: clamp(0.75rem, 3vw, 4rem);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;

  /* PC: 初期は非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

@media screen and (max-width: 1024px) {
  .menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* スクロール後 or 常に表示クラス */
.menu-toggle.is-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Lines ── */
.menu-toggle__line {
  display: block;
  width: 30px;
  height: 2.5px;
  background-color: #251b0f;
  border-radius: 0px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* ── Label texts ── */
.menu-toggle__text {
  font-size: 12px;
  font-family: var(--font-display);
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.menu-toggle__text--menu {
  order: -1;
}

.menu-toggle__text--close {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
}

/*ホバー：線が近づく*/
.menu-toggle[aria-expanded="false"]:hover .menu-toggle__line:first-of-type {
  transform: translateY(2px);
}

.menu-toggle[aria-expanded="false"]:hover .menu-toggle__line:nth-of-type(2) {
  transform: translateY(-2px);
}

/*ホバー：縮小 ＋ 背景円*/
.menu-toggle[aria-expanded="true"]:hover {
  transform: scale(0.92);
}

/* ── X形態 ── */
.menu-toggle[aria-expanded="true"] .menu-toggle__line:first-of-type {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__text--menu {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__text--close {
  opacity: 1;
}


/* Drawer */
.drawer-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background-color: #edede9;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
}

.drawer-nav.is-animating {
  transition:
    transform 0.52s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.52s ease;
}

.drawer-nav.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer-nav.is-closing {
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}

html.is-drawer-open body {
  overflow: hidden;
  height: 100%;
}

.drawer-nav__panel {
  width: 100%;
  min-height: 100%;
}

.drawer-nav__panel .l-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.drawer-nav__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2.5rem;
  text-align: center;
  background-color: #edede9;
}

.drawer-nav__logo-wrap {
  margin-bottom: 2rem;
}

.drawer-nav__logo {
  width: min(280px, 80%);
  margin-inline: auto;
}

.drawer-nav__policy {
  color: #251b0f;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.drawer-nav__name {
  margin: 1rem 0 0.5rem;
  color: #251b0f;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: bold;
}

.drawer-nav__tel {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 2.5rem);
  font-weight: bold;
  color: #251b0f;
  line-height: 1.2;
}

.drawer-nav__hours {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #251B0F;
}

.drawer-nav__menu {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  border-left: 1px dashed #251b0f;
  background-color: #edede9;
}

.drawer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.drawer-nav__item {
  margin-bottom: 1.8rem;
}

.drawer-nav__item > a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: #251b0f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.drawer-nav__item a:hover {
  color: #7d0809;
}

.drawer-nav__sublist a {
  font-size: clamp(1.5rem, 1.5vw, 1.3rem);
  font-family: var(--font-display);
  font-weight: normal;
  color: #251b0f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.drawer-nav__sublist a:hover {
  color: #7d0809;
}

/* Header Bar */
.site-header {
  position: relative;
  z-index: 1000;
}

.site-header__bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header__bar.is-scrolled {
  background-color: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem clamp(1rem, 3vw, 2.5rem);
  max-width: 1400px;
  margin-inline: auto;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

/* ── Desktop Nav & CTA ── */
.site-nav {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-nav.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-nav__list {
  display: flex;
  gap: clamp(1rem, 2.8vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px dashed #251B0F;
}

.site-nav__item .menu-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #251b0f;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-nav__item .menu-link:hover,
.site-nav__item .menu-link.is-active {
  color: #7d0809;
}

.site-header__cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: #251b0f;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;
  border: 1px solid #251b0f;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background-color 0.25s ease;
}

.site-header__cta:hover {
  background-color: #7D0809;
}

.site-header__cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ≤1024px：モバイル・タブレット */
@media screen and (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* ≤767px：スマートフォン → 1カラム */
@media screen and (max-width: 767px) {
  .drawer-nav__panel .l-container {
    grid-template-columns: 1fr;
    min-height: unset;
    height: auto;
  }

  .drawer-nav__brand {
    padding: 5rem 2rem 2rem;
    border-bottom: 1px dashed #251b0f;
  }

  .drawer-nav__menu {
    border-left: none;
    border-top: none;
    padding: 2rem 2rem 4rem;
    display: block;
    justify-content: unset;
    align-items: unset;
  }
}

@media screen and (max-width: 500px) {
  .drawer-nav__policy {
    font-size: 12px;
  }
}

/* ── Main ── */
.site-main {
  margin-top: clamp(8rem, 1rem + 10vw, 10rem);
  transition:
    opacity 0.52s cubic-bezier(0.4, 0, 0.2, 1),
    filter  0.52s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: filter, opacity;
}

html.is-drawer-open .site-main {
  opacity: 0.25;
  filter: blur(4px);
}


/* ── Hero ── */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100dvh - 100px);
  min-height: calc(100svh - 100px);
  min-height: calc(100vh  - 100px);
  isolation: isolate;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__layer {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity, mask-position, -webkit-mask-position;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero__layer--color {
  z-index: 1;
  background-image: url('../images/top-hero-color.png');
}

.hero__layer--old {
  z-index: 2;
  background-image: url('../images/top-hero-vintage.png');
}

.hero__layer--old::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reveal {
  --mask-frames:   23;
  --mask-duration: 2.5s;
  --mask-easing:   steps(22);
  --mask-image:    url('../images/nature-sprite.png');
  --mask-size-x:   calc(var(--mask-frames) * 100%);
  --mask-size-y:   100%;

  -webkit-mask-image: var(--mask-image);
  mask-image: var(--mask-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: var(--mask-size-x) var(--mask-size-y);
  mask-size: var(--mask-size-x) var(--mask-size-y);
  -webkit-mask-position: 0% 0%;
  mask-position: 0% 0%;
}

.reveal.is-playing {
  -webkit-animation: heroMaskPlay var(--mask-duration) var(--mask-easing) forwards;
          animation: heroMaskPlay var(--mask-duration) var(--mask-easing) forwards;
}

@keyframes heroMaskPlay {
  from {
    -webkit-mask-position: 0% 0%;
            mask-position: 0% 0%;
  }
  to {
    -webkit-mask-position: 100% 0%;
            mask-position: 100% 0%;
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: calc(70px + clamp(2rem, 4vh, 4rem));
  padding-bottom: clamp(2rem, 4vh, 4rem);
}

.hero__copy {
  width: min(100%, 900px);
}

.hero__title {
  opacity: 0;
  color: #fff;
  font-family: var(--font-hand);
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  perspective: 2000px;
  perspective-origin: 50% 0%;
  overflow: hidden;
}

.hero__title-line {
  display: block;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transform-origin: 50% 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: rotateX(-120deg);
  mix-blend-mode: difference;
  transform-style: preserve-3d;
}

@media screen and (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-playing {
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-mask-image: none !important;
            mask-image: none !important;
  }
  .hero__title {
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
  }
}

/* perspective コンテナ */
.js-reveal-title {
  perspective: 1200px;
  perspective-origin: 50% 0%;
}

.js-reveal-body {
  perspective: 1200px;
  perspective-origin: 50% 0%;
}

/* 本文子要素の transform-origin を上端に統一 */
.js-reveal-body > * {
  transform-origin: 50% 0%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* 3D ラッパー行 */
.reveal3d-line {
  display: block;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ── About ── */
.about {
  position: relative;
  z-index: 2;
  padding: clamp(10rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading__title {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 10vw, 7.8rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: #251B0F;
  transition: color 0.8s ease;
}

.about__body {
  display: grid;
  text-align: center;
  gap: 2rem;
}

.about__body p {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 2.8;
}

@media screen and (max-width:767px) {
  .about__body p {
    line-height: 2.5;
  }
}

/* ── Gallery ── */
.gallery__inner {
  position: relative;
  overflow-x: hidden;
}

.gallery__track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.gallery__item {
  flex: 0 0 calc((100vw - 20px) / 3);
}

@media screen and (max-width: 767px) {
  .gallery__item {
    flex: 0 0 70vw;
  }
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(0.1) sepia(0.5) contrast(1.2) brightness(0.9) saturate(1) blur(0.2px);
  opacity: 1;
  transition: filter 0.9s ease, opacity 0.9s ease;
}

@media screen and (max-width:767px) {
  .gallery__item img {
    height: 280px;
  }
}

.gallery__link {
  margin-top: 1rem;
  margin-right: clamp(1rem, 4vw, 3rem);
  text-align: right;
}

.gallery__link a {
  color: #a56139;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  text-decoration: underline dashed currentColor 1px;
  text-underline-position: under;
}

/* ── Feature common ── */
.section-heading--right {
  text-align: right;
}

@media screen and (max-width: 950px) {
  .section-heading--right {
    text-align: left;
  }
}

.feature {
  background-color: #edede9;
  padding-top: clamp(10rem, 15vw, 15rem);
}

.feature--repair {
  padding-bottom: clamp(10rem, 15vw, 15rem);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media screen and (max-width: 950px) {
  .feature__grid {
    grid-template-columns: 1fr;
  }
  .pc-order-reversed {
    order: 0;
  }
}

.feature__media {
  position: relative;
  overflow: hidden;
}

.feature__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__media::before {
  content: "";
  display: block;
  padding-top: 66.6667%;
}

.feature__img--color {
  z-index: 1;
}

.feature__img--old {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.feature__img--old.is-fadeout {
  opacity: 0;
}

.feature__img--old.is-reveal {
  -webkit-mask: url("../images/nature-sprite.png");
          mask: url("../images/nature-sprite.png");
  -webkit-mask-size: 2300% 100%;
          mask-size: 2300% 100%;
  -webkit-animation: mask-play 1.8s steps(22) forwards;
          animation: mask-play 1.8s steps(22) forwards;
}

@keyframes mask-play {
  from {
    -webkit-mask-position: 0% 0;
            mask-position: 0% 0;
  }
  to {
    -webkit-mask-position: 100% 0;
            mask-position: 100% 0;
  }
}

.feature__lead {
  margin-top: clamp(2rem, 4vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-hand);
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  line-height: 1.8;
  color: transparent;
  transition: color 0.7s ease;
}

.feature__body p {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 2.8;
}

/* Feature ボディ行3D用 */
.feature__body p {
  transform-style: preserve-3d;
}

.feature__body .reveal3d-line {
  display: block;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media screen and (max-width: 767px) {
  .feature__body p {
    line-height: 2.5;
  }
}

/* Magazine */
.magazine-callout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  color: #ffffff;
  text-align: center;
  background: url("../images/magazine-bg.jpg") center / cover no-repeat;
}

.magazine-callout {
  clip-path: inset(48% 0%);
  will-change: clip-path;
}

@media screen and (max-width: 767px) {
  .magazine-callout {
    min-height: 280px;
  }
}

.magazine-callout__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.magazine-callout__inner {
  position: relative;
  z-index: 2;
}

.magazine-callout__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 6rem);
  line-height: 1;
  letter-spacing: 0.05em;
}

.magazine-callout__lead {
  margin-top: 1.5rem;
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3.3vw, 1.8rem);
  line-height: 1.8;
}

/* Flow */
.flow {
  padding-block: clamp(10rem, 12vw, 15rem);
}

@media screen and (max-width:1024px) {
  .flow {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
  }
}

.flow__heading {
  margin-bottom: 3rem;
  text-align: center;
}

.flow__subheading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.2rem);
}

.flow__title {
  font-family: var(--font-display);
  font-size: clamp(6rem, 11vw, 8rem);
  letter-spacing: 0.05em;
  line-height: 1;
}

/* flow__inner: pinのコンテナとして幅を明示 */
.flow__inner {
  width: 100%;
  margin-inline: auto;
}

.flow__panel {
  padding: clamp(2rem, 3.5vw, 4rem);
  border-top: 1px dashed #a56139;
  border-bottom: 1px dashed #a56139;
}

.flow__panel.gsap-pin-spacer-auto > * {
  max-width: 100%;
}

.flow__lead {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
}

@media screen and (max-width: 950px) {
  .flow__lead {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
}

.flow__pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.flow__pag-prev,
.flow__pag-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 25px;
  color: #251b0f;
  border-radius: 50%;
  transition: background 0.18s ease;
}

.flow__pag-info {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
}

.flow__pag-current {
  font-size: 28px;
  line-height: 1;
  color: #251b0f;
}

.flow__pag-sep {
  font-size: 20px;
  color: #9e9e9e;
}

.flow__pag-total {
  font-size: 20px;
  color: #251b0f;
}

.flow__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(0.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem;
}

@media screen and (max-width: 950px) {
  .flow__content {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

.flow__step-image {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: grayscale(0.1) sepia(0.5) contrast(1.2) brightness(0.9) saturate(1);
  opacity: 1;
}

.flow__text {
  line-height: 2.8;
}

.flow__text {
  perspective: 1200px;
  perspective-origin: 50% 0%;
  transform-style: preserve-3d;
}

@media screen and (max-width: 950px) {
  .flow__text {
    line-height: 2.5;
  }
}

.flow__text h3,
.flow__step-title {
  font-family: var(--font-hand);
  font-size: clamp(2.5rem, 4vw, 3rem);
}

.flow__step-title {
  transform-origin: 50% 0%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.flow__text p,
.flow__step-body {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.flow__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding-top: 4rem;
}

@media screen and (max-width: 950px) {
  .flow__nav {
    padding-bottom: 2rem;
  }
}

.flow__nav-dot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #251b0f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow__nav-dot:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1px;
  border-top: 1px dashed #251B0F;
  z-index: 1;
}

.flow__nav-dot.is-active {
  width: 20px;
  height: 20px;
  background-color: #7D0809;
  box-shadow: 0 0 0 7px #edede9, 0 0 0 9px #7D0809;
}

.flow__nav-dot:hover:not(.is-active) {
  transform: scale(1.25);
}

.flow__after {
  padding-top: clamp(8rem, 4vw, 5rem);
  text-align: center;
}

.flow__after-title {
  display: inline-flex;
  align-items: center;
  margin-bottom: 2rem;
  font-family: var(--font-hand);
  font-size: clamp(2.5rem, 3vw, 3.8rem);
  color: #251B0F;
}

.flow__after-title::before {
  content: "";
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
  background-image: url("../images/svg/top-after-services.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

.flow__after-body {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 2.8;
}

.flow__after-body p {
  transform-style: preserve-3d;
  perspective: 1200px;
}

@media screen and (max-width:500px) {
  .flow__after-body {
    text-align: justify;
  }
}

/* Access */
.access__visual {
  min-height: 350px;
  background-image: url("../images/shop-shomen.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
}

.access__visual {
  clip-path: inset(48% 0%);
  will-change: clip-path;
}

.access__info {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 4vw, 3rem);
}

@media screen and (max-width: 950px) {
  .access__grid {
    grid-template-columns: 1fr;
  }
}

.access__title {
  margin-bottom: 2.0rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5vw, 4rem);
  line-height: 1;
}

.access__address {
  margin-bottom: 1.25rem;
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 2.5vw, 2.7rem);
  line-height: 1.2;
}

.access__map-link a {
  display: inline-block;
  color: #a56139;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.5vw, 3rem);
  text-decoration: underline dashed currentColor 1px;
  text-underline-position: under;
}

.access__routes {
  margin-top: clamp(3rem, 2vw, 2rem);
}

.access__route + .access__route {
  margin-top: 1.5rem;
}

.access__route-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 2;
}

.access__route-text {
  font-size: clamp(1.5rem, 2vw, 1.6rem);
  line-height: 2;
}

.access__note {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 14px;
  color: #a56139;
}

.access__map iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 4px;
}

.access__hours {
  margin-top: 4rem;
}

.access__hours-title {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5vw, 4rem);
  line-height: 1;
}

.access__hours-time {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 2.5vw, 3rem);
  line-height: 1;
}

.access__hours-note {
  font-size: 15px;
  line-height: 1.8;
}

@media screen and (max-width:767px) {
  .access__visual {
    min-height: 210px;
  }

  .access__map {
    margin-top: 30px;
  }

  .access__hours-note {
    font-size: 13px;
  }
}


/* Contact */
.contact {
  padding-top: clamp(10rem, 12vw, 15rem);
  text-align: center;
}

.contact__subheading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.2rem);
  line-height: 2;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(6rem, 11vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.contact__lead {
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 2.8;
}

.contact__tel {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 5.7rem);
  font-weight: 700;
  line-height: 1.2;
}

.contact__tel a {
  color: #251b0f;
}

.contact__time {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1;
}

/* Footer */
.site-footer {
  padding-top: 10vw;
  padding-bottom: 3vw;
  text-align: center;
}

.site-footer__logo {
  width: min(320px, 62vw);
  margin-inline: auto;
}

.site-footer__policy {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 2;
}

.site-footer__name {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.site-footer__copy {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.8;
}

@media screen and (max-width:767px) {
  .site-footer {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .site-footer__policy {
    font-size: 13px;
  }
}