@charset "utf-8";
:root {
  --color-base: #f8f3ea;
  --color-paper: #fffaf2;
  --color-text: #2b2520;
  --color-sub: #6f6258;
  --color-main: #8a5a2b;
  --color-accent: #b88a44;
  --color-border: #e4d6c4;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(228, 214, 196, 0.8);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 82px;
  padding: 0 4vw;
}

.site-logo {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.global-nav {
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--color-main);
  transition: width 0.3s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 42px;
  border: 1px solid var(--color-main);
  background: var(--color-main);
  color: #fff;
  font-size: 13px;
}

/* Common */
.top-page {
  overflow: hidden;
}

section {
  padding: 120px 6vw;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head__en {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.5;
}

.section-head p {
  margin: 0;
  color: var(--color-sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--color-main);
  background: var(--color-main);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: 0.3s ease;
}

.btn:hover {
  background: transparent;
  color: var(--color-main);
}

.btn--white {
  border-color: #fff;
  background: #fff;
  color: var(--color-main);
}

.btn--white:hover {
  background: transparent;
  color: #fff;
}

/* =========================
   Hero Slideshow
========================= */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 82px 6vw 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(20, 15, 10, 0.16) 0%,
      rgba(20, 15, 10, 0.28) 50%,
      rgba(20, 15, 10, 0.5) 100%
    );
  pointer-events: none;
}

/* ========================================
   Hero Slideshow
======================================== */

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #211b16;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  /*
   * 切り替えはフェードだけにします。
   * clip-pathは使用しません。
   */
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 2s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity;
}

/* JS読み込み前の初期表示 */
.hero-slide:first-child {
  opacity: 1;
  visibility: visible;
}

/* 表示中 */
.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* 直前のスライド */
.hero-slide.is-previous {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /*
   * 最初は少し寄った状態
   */
  transform: scale(1.1);
  transform-origin: center center;

  transition:
    transform 8s linear,
    filter 2s ease;

  filter: brightness(0.92);

  will-change: transform;
}

/*
 * 表示中はゆっくり引いていく
 */
.hero-slide.is-active img {
  transform: scale(1.02);
  filter: brightness(1);
}

/*
 * 前の画像は少しだけ拡大しながら消える
 */
.hero-slide.is-previous img {
  transform: scale(1.06);
  filter: brightness(0.9);
}

/* 表示中はゆっくりズームアウト */
.hero-slide.is-active img {
  transform: scale(1.02);
  filter: brightness(1);
}

/* 直前の画像は少し拡大しながら消える */
.hero-slide.is-previous img {
  transform: scale(1.08);
}

/* 方向違い */
.hero-slide.is-from-left {
  clip-path: inset(0 100% 0 0);
}

.hero-slide.is-from-left.is-active {
  clip-path: inset(0 0 0 0);
}

/* テキスト */
.hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 920px;
}

.hero__lead {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.24em;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 7vw, 82px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.hero__text {
  margin: 0 auto 40px;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   Pagination
========================= */

.hero-pagination {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-pagination__button {
  position: relative;
  width: 42px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-pagination__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

/* 自動再生時間を表す線 */
.hero-pagination__button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.hero-pagination__button.is-active::after {
  animation: hero-progress 6s linear forwards;
}

.hero-pagination__button.is-active.is-paused::after {
  animation-play-state: paused;
}

@keyframes hero-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* =========================
   Play / Pause
========================= */

.hero-control {
  position: absolute;
  right: 4vw;
  bottom: 34px;
  z-index: 5;
  min-width: 68px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.hero-control__play {
  display: none;
}

.hero-control.is-paused .hero-control__pause {
  display: none;
}

.hero-control.is-paused .hero-control__play {
  display: inline;
}

/* =========================
   Scroll
========================= */

.hero-scroll {
  position: absolute;
  left: 4vw;
  bottom: 36px;
  z-index: 5;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 52px;
  margin: 12px auto 0;
  background: rgba(255, 255, 255, 0.7);
  animation: hero-scroll-line 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes hero-scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* =========================
   Responsive
========================= */

@media screen and (max-width: 900px) {
  .hero {
    min-height: 86svh;
    padding-top: 120px;
  }

  .hero-pagination {
    bottom: 30px;
  }

  .hero-control {
    right: 5vw;
    bottom: 22px;
  }

  .hero-scroll {
    left: 5vw;
    bottom: 24px;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    min-height: 82svh;
    padding: 90px 5vw 70px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.45;
  }

  .hero__lead {
    font-size: 13px;
  }

  .hero__text {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero__text br {
    display: none;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-pagination {
    bottom: 24px;
    gap: 8px;
  }

  .hero-pagination__button {
    width: 28px;
  }

  .hero-control {
    right: 5vw;
    bottom: 15px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img {
    transition-duration: 0.01ms;
  }

  .hero-slide img,
  .hero-slide.is-active img,
  .hero-slide.is-previous img {
    transform: none;
  }

  .hero-pagination__button.is-active::after,
  .hero-scroll::after {
    animation: none;
  }
}

/* About */
.about,
.shop-access {
  background: var(--color-paper);
}

.about__body,
.shop-access__body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about__text p {
  margin: 0 0 1.6em;
}

.about__image img,
.kodawari-block img,
.product-card img {
  width: 100%;
  object-fit: cover;
}

/* Kodawari */
.kodawari {
  background: #fbf7ef;
}

.kodawari-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 96px;
}

.kodawari-block:nth-of-type(odd) figure {
  order: 1;
}

.kodawari-block:nth-of-type(odd) div {
  order: 2;
}

.kodawari-block:nth-of-type(even) figure {
  order: 2;
}

.kodawari-block:nth-of-type(even) div {
  order: 1;
}

.kodawari-block:last-child {
  margin-bottom: 0;
}

.kodawari-block figure {
  margin: 0;
}

.kodawari-block img {
  aspect-ratio: 5 / 4;
}

.kodawari-block .num {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.14em;
}

.kodawari-block h3 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.5;
}

.kodawari-block p {
  color: var(--color-sub);
}

/* Shop */
.shop-access__info {
  padding: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.shop-access__info h3 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
}

.shop-access__info dl {
  margin: 32px 0 36px;
}

.shop-access__info dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.shop-access__info dt {
  color: var(--color-main);
  font-weight: 600;
}

.shop-access__info dd {
  margin: 0;
  color: var(--color-sub);
}

.shop-access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  filter: grayscale(20%);
}

/* Products */
.products__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  background: var(--color-paper);
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  aspect-ratio: 4 / 3;
}

.product-card h3 {
  margin: 24px 24px 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.product-card p {
  margin: 0 24px 18px;
  color: var(--color-sub);
  font-size: 14px;
}

.product-card .price {
  margin-bottom: 28px;
  color: var(--color-main);
  font-size: 18px;
  font-weight: 600;
}

/* FAQ */
.faq__list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 20px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--color-main);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 16px 0 0;
  color: var(--color-sub);
}

/* CTA */
.cta {
  text-align: center;
  background: var(--color-main);
  color: #fff;
}

.cta h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
}

.cta p {
  margin: 0 0 36px;
}

/* Responsive */
@media screen and (max-width: 900px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header__inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 14px 5vw;
  }

  .global-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .global-nav ul {
    gap: 20px;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .header-cart {
    margin-left: auto;
  }

  section {
    padding: 88px 6vw;
  }

  .about__body,
  .shop-access__body,
  .products__list,
  .kodawari-block {
    grid-template-columns: 1fr;
  }

  .kodawari-block:nth-of-type(even) figure,
  .kodawari-block:nth-of-type(odd) figure {
    order: 1;
  }

  .kodawari-block:nth-of-type(even) div,
  .kodawari-block:nth-of-type(odd) div {
    order: 2;
  }

  .hero {
    min-height: 86vh;
    padding-top: 120px;
  }
}

@media screen and (max-width: 600px) {
  section {
    padding: 72px 5vw;
  }

  .site-header {
    position: sticky;
  }

  .site-logo {
    font-size: 20px;
  }

  .hero {
    min-height: 82vh;
    padding: 80px 5vw 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .shop-access__info {
    padding: 32px 24px;
  }

  .shop-access__info dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shop-access__map iframe {
    min-height: 360px;
  }
}