:root {
  /* primitive */
  --c-cream: #f4ecdf;
  --c-cream-2: #ebdfcc;
  --c-paper: #fbf7f0;
  --c-brown: #5a3a26;
  --c-brown-dk: #3e2718;
  --c-ink: #2b1d14;
  --c-caramel: #a0612f;
  --c-rust: #a24722;
  --c-rust-bg: #b4532a;
  --c-mustard: #c89b3c;
  /* semantic */
  --bg: var(--c-cream);
  --surface: var(--c-paper);
  --text: var(--c-ink);
  --text-muted: #6b5444;
  --accent: var(--c-rust);
  --line: #d9c7ae;
  --ring: var(--c-rust);
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-mincho: "Shippori Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
  --font-num: "Montserrat", sans-serif;
  --font-script: "Great Vibes", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--c-brown-dk);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.hd {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 236, 223, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hd .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}
.hd img {
  height: 56px;
  width: auto;
  mix-blend-mode: multiply;
}

/* hero：KV画像 */
.hero {
  background: var(--bg);
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1890px;
  margin: 0 auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* period */
.period {
  background: var(--c-brown-dk);
  color: #fff;
  text-align: center;
  padding: 22px 20px;
}
.period dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 16px;
}
.period dt {
  font-family: var(--font-en);
  letter-spacing: 0.3em;
  font-size: 14px;
  color: var(--c-mustard);
}
.period dd {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: clamp(17px, 4vw, 22px);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.period p {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.85;
}

/* lead */
.lead {
  text-align: center;
  padding: 72px 20px 40px;
}
.sec-en {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--c-caramel);
  letter-spacing: 0.3em;
  font-size: 15px;
}
.lead h2,
.sec-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(22px, 4.6vw, 30px);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--c-brown-dk);
}
.lead p {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* item index */
.index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 24px;
  list-style: none;
}
.index a {
  display: block;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-brown);
}
.index img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 6px;
  transition: transform 0.25s var(--ease);
}
.index a:hover img {
  transform: scale(1.05);
}

/* items */
.items {
  padding-top: 24px;
  padding-bottom: 40px;
}
.item {
  display: grid;
  gap: 28px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.item:first-child {
  border-top: 0;
}
@media (min-width: 900px) {
  .item {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 72px 0;
  }
  .item:nth-child(even) .gallery {
    order: 2;
  }
}
.gallery .main {
  position: relative;
  background: #fff;
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery .main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s var(--ease);
}
.gallery .main .off {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-rust-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 700;
  line-height: 1;
}
.gallery .main .off b {
  font-size: 24px;
}
.gallery .main .off b em {
  font-style: normal;
  font-size: 0.55em;
}
.gallery .main .off i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.thumbs button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs button[aria-pressed="true"],
.thumbs button:hover {
  opacity: 1;
  border-color: var(--c-brown);
}

.info .no {
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  color: var(--c-mustard);
  font-weight: 500;
}
.info .code {
  font-family: var(--font-num);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 14px;
  color: var(--c-caramel);
  margin-top: 4px;
}
.info h3 {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(21px, 3.6vw, 26px);
  line-height: 1.5;
  margin-top: 6px;
  color: var(--c-brown-dk);
}
.only {
  display: inline-block;
  margin-top: 12px;
  background: var(--c-cream-2);
  border: 1px solid var(--c-caramel);
  color: var(--c-brown-dk);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
}
.info .desc {
  margin-top: 16px;
  color: var(--text-muted);
  text-wrap: pretty;
}
.price {
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  font-variant-numeric: tabular-nums;
}
.price .reg {
  font-size: 15px;
  color: var(--text-muted);
}
.price .reg s {
  font-family: var(--font-num);
}
.price .sale {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(30px, 6vw, 38px);
  line-height: 1;
}
.price .sale small {
  font-size: 14px;
  font-family: var(--font-jp);
  font-weight: 500;
  margin-left: 2px;
}
.price .rate {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--c-rust-bg);
  padding: 3px 10px;
  border-radius: 2px;
  align-self: center;
}
.spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin-top: 16px;
  font-size: 14px;
}
.spec dt {
  color: var(--text-muted);
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  min-height: 56px;
  background: var(--c-brown-dk);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.cta:hover {
  background: var(--c-brown);
}
.cta:active {
  transform: scale(0.98);
}
.cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.cta:hover svg {
  transform: translateX(4px);
}
@media (min-width: 900px) {
  .cta {
    max-width: 360px;
  }
}

/* notes */
.notes {
  background: var(--surface);
  padding: 56px 0;
}
.notes h2 {
  font-family: var(--font-mincho);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--c-brown-dk);
  text-align: center;
}
.notes ul {
  max-width: 760px;
  margin: 20px auto 0;
  padding-left: 1.2em;
  font-size: 14px;
  color: var(--text-muted);
  display: grid;
  gap: 6px;
}

/* footer */
.ft {
  background: var(--c-brown-dk);
  color: #fff;
  text-align: center;
  padding: 56px 20px 40px;
}
.ft .script {
  display: block;
  line-height: 1;
  white-space: nowrap;
  font-family: var(--font-script);
  letter-spacing: 0;
  color: #fff;
  font-size: clamp(52px, 14vw, 80px);
  margin: 0;
}
.ft p {
  font-family: var(--font-mincho);
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.ft .cta {
  background: var(--c-cream);
  color: var(--c-brown-dk);
  margin: 28px auto 0;
  max-width: 360px;
}
.ft .cta:hover {
  background: #fff;
}
.ft small {
  display: block;
  margin-top: 36px;
  font-size: 12px;
  opacity: 0.7;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition: none !important;
  }
}

/* ===== 秋の背景装飾 ===== */
/* 紙の質感（ノイズ） */
body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main {
  position: relative;
  overflow-x: clip;
}
main > * {
  position: relative;
  z-index: 1;
}
main > .deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.deco .lf,
.ft .lf {
  position: absolute;
  display: block;
}
.deco .lf svg,
.ft .lf svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 期間帯：イチョウの柄 */
.period {
  background-color: var(--c-brown-dk);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80' viewBox='0 0 120 80'%3E%3Cg fill='%23C89B3C' opacity='.16'%3E%3Cpath transform='translate(14 10) scale(.28) rotate(-20 50 50)' d='M50 96V60C30 58 8 44 6 24 24 10 40 8 50 22 60 8 76 10 94 24 92 44 70 58 50 60Z'/%3E%3Cpath transform='translate(74 40) scale(.24) rotate(30 50 50)' d='M50 96V60C30 58 8 44 6 24 24 10 40 8 50 22 60 8 76 10 94 24 92 44 70 58 50 60Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 偶数アイテム：全幅の色帯 */
.item {
  position: relative;
  isolation: isolate;
}
.item:nth-child(even),
.item:nth-child(even) + .item {
  border-top-color: transparent;
}
.item:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  background: radial-gradient(ellipse at 15% 0%, rgba(200, 155, 60, 0.22), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(180, 83, 42, 0.16), transparent 55%), rgba(226, 207, 178, 0.75);
}

/* 注意事項：上部に葉のライン */
.notes {
  background: linear-gradient(180deg, #efe3d0, var(--surface) 70%);
}
.notes::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28' viewBox='0 0 96 28'%3E%3Cpath d='M0 14H96' stroke='%23C9B497' stroke-width='1'/%3E%3Cpath fill='%23B4532A' transform='translate(6 4) scale(.2)' d='M50 4 56 22 68 14 64 32 82 26 74 42 92 46 76 56 84 70 64 66 60 84 52 72 52 98 48 98 48 72 40 84 36 66 16 70 24 56 8 46 26 42 18 26 36 32 32 14 44 22Z'/%3E%3Cpath fill='%23C89B3C' transform='translate(40 5) scale(.18)' d='M50 96V60C30 58 8 44 6 24 24 10 40 8 50 22 60 8 76 10 94 24 92 44 70 58 50 60Z'/%3E%3Cpath fill='%23A0612F' transform='translate(70 5) scale(.18) rotate(40 50 50)' d='M50 4C70 22 86 42 80 66 75 84 60 94 50 98 40 94 25 84 20 66 14 42 30 22 50 4Z'/%3E%3C/svg%3E")
    center/96px 28px repeat-x;
}

/* フッター：葉のシルエット */
.ft {
  position: relative;
  overflow: hidden;
}
.ft > *:not(.lf) {
  position: relative;
  z-index: 1;
}

@media (max-width: 899px) {
  main > .deco {
    opacity: 0.5;
  }
  .deco .lf {
    scale: 0.65;
  }
}
