:root {
  --kinari: #F3EAD8;
  --paper: #FBF4E7;
  --gofun: #FBF5E9;
  --suwo: #9C4A4A;
  --kuchiba: #C77B3C;
  --yamabuki: #DBA94E;
  --momiji: #B5402F;
  --moegi: #8C9A5A;
  --fuji: #9486A8;
  --kin: #B8973F;
  --sumi: #3A2A22;
  --mist: #FCF7EC;
  --mizu: #C9D6D2;
  --mizu-deep: #9FB3B2;
  --serif: 'Shippori Mincho B1', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif CJK JP', serif;
  --serif-r: 'Shippori Mincho', 'Noto Serif JP', serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  font-family: var(--serif);
  color: var(--sumi);
  background: #FBF4E7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 140% 100% at 50% 36%, var(--mist) 0%, var(--gofun) 50%, #FBF4E7 100%)
}

html:not(.js) [data-reveal] {
  opacity: 1 !important;
  transform: none !important
}

html:not(.js) .t-mist {
  display: none
}

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

a {
  color: inherit
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 20% 30%, rgba(180, 160, 120, .05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(180, 160, 120, .04) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px
}

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 118px 18px 26px;
  transition: opacity .6s ease;
  mix-blend-mode: multiply
}

.bar .logo {
  font-size: 15px;
  letter-spacing: .28em
}

.bar .ten {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--suwo)
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .62em;
  font-family: var(--serif-r);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(58, 42, 34, .56)
}

.lang-switch a {
  text-decoration: none;
  opacity: .58;
  transition: opacity .25s ease, color .25s ease
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--suwo);
  opacity: 1
}

.lang-switch span {
  opacity: .38
}

.floating-lang {
  position: fixed;
  top: 19px;
  right: 26px;
  z-index: 260;
  background: transparent;
  mix-blend-mode: multiply;
  pointer-events: auto
}

.hero-scroll {
  position: relative;
  height: 260vh
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(180deg, #FBF4E7 0%, #F6ECD9 38%, #F1E3CC 64%, #EAD9C0 100%)
}

.layer {
  position: absolute;
  inset: 0;
  will-change: transform
}

.hero-map-layer {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 34;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: heroMapIn 1.4s ease 1.1s forwards
}

.logo-map.simple-map,
.logo-map .simple-map {
  --lake-x: var(--logo-lake-x, 34%);
  --lake-y: var(--logo-lake-y, 36%);
  --ak-x: var(--logo-ak-x, 43%);
  --ak-y: var(--logo-ak-y, 11%);
  --on-x: var(--logo-on-x, 56%);
  --on-y: var(--logo-on-y, 36%);
  --bu-x: var(--logo-bu-x, 69%);
  --bu-y: var(--logo-bu-y, 55%);
  --cho-x: var(--logo-cho-x, 87%);
  --cho-y: var(--logo-cho-y, 69%);
  z-index: 3
}

.logo-map .simple-map::before,
.logo-map .simple-lake {
  display: none
}

.logo-map .simple-site {
  color: rgba(245, 245, 245, .54);
  text-shadow: 0 0 16px rgba(255, 255, 255, .18);
  opacity: .72
}

.logo-map .simple-site::before {
  opacity: .72;
  box-shadow: 0 0 18px currentColor
}

.logo-map .simple-site.akimiya {
  color: rgba(190, 182, 212, .62)
}

.logo-map .simple-site.onsenji {
  color: rgba(218, 165, 112, .58)
}

.logo-map .simple-site.buppouji {
  color: rgba(232, 202, 122, .58)
}

.logo-map .simple-site.chouenji {
  color: rgba(220, 112, 100, .58)
}

.hero-map-layer .simple-map {
  --lake-x: var(--logo-lake-x, 34%);
  --lake-y: var(--logo-lake-y, 36%);
  --ak-x: var(--logo-ak-x, 43%);
  --ak-y: var(--logo-ak-y, 11%);
  --on-x: var(--logo-on-x, 56%);
  --on-y: var(--logo-on-y, 36%);
  --bu-x: var(--logo-bu-x, 69%);
  --bu-y: var(--logo-bu-y, 55%);
  --cho-x: var(--logo-cho-x, 87%);
  --cho-y: var(--logo-cho-y, 69%)
}

.hero-map-layer .map-glow.akimiya {
  --x: var(--logo-ak-x, 43%);
  --y: var(--logo-ak-y, 11%)
}

.hero-map-layer .map-glow.onsenji {
  --x: var(--logo-on-x, 56%);
  --y: var(--logo-on-y, 36%)
}

.hero-map-layer .map-glow.buppouji {
  --x: var(--logo-bu-x, 69%);
  --y: var(--logo-bu-y, 55%)
}

.hero-map-layer .map-glow.chouenji {
  --x: var(--logo-cho-x, 87%);
  --y: var(--logo-cho-y, 69%)
}

.hero-map-layer .simple-lake {
  display: none
}

#curtain.logo-test .cur-leaf-prelude {
  opacity: 1;
  transform: none
}

#curtain.logo-test .cur-skip,
#curtain.logo-test .cur-photo,
#curtain.logo-test .cur-frame,
#curtain.logo-test .cur-frame-art,
#curtain.logo-test .cur-wash,
#curtain.logo-test .cur-flash {
  display: none
}

.simple-map {
  --lake-x: 25%;
  --lake-y: 34%;
  --ak-x: 34%;
  --ak-y: 22%;
  --on-x: 50%;
  --on-y: 34%;
  --bu-x: 61%;
  --bu-y: 52%;
  --cho-x: 82%;
  --cho-y: 66%;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: rgba(90, 70, 58, .34);
  background:
    radial-gradient(ellipse 32% 24% at 52% 48%, rgba(184, 151, 63, .055), transparent 70%)
}

.simple-map::before {
  content: "";
  position: absolute;
  left: var(--lake-x);
  top: var(--lake-y);
  width: clamp(160px, 48vw, 440px);
  height: clamp(96px, 28vw, 250px);
  transform: translate(-50%, -50%) rotate(-4deg);
  border-radius: 54% 46% 50% 50% / 42% 48% 52% 58%;
  background: radial-gradient(ellipse at 54% 42%, rgba(174, 205, 215, .23), rgba(150, 182, 190, .13) 60%, transparent 74%);
  opacity: .9
}

.simple-road {
  display: none
}

.simple-lake,
.simple-site {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: clamp(11px, 1.25vw, 16px);
  letter-spacing: .08em;
  line-height: 1;
  opacity: .55;
  text-shadow: 0 1px 10px rgba(251, 245, 233, .72)
}

.simple-lake {
  left: var(--lake-x);
  top: var(--lake-y);
  color: rgba(92, 115, 116, .32);
  font-size: clamp(20px, 5vw, 54px);
  letter-spacing: .18em;
  opacity: .35
}

.simple-site {
  color: rgba(72, 58, 48, .42);
  transform: translate(0, -50%)
}

.simple-site::before {
  content: "";
  display: inline-block;
  width: .75em;
  height: .75em;
  margin-right: .45em;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  opacity: .58;
  vertical-align: -.04em
}

.simple-site.akimiya {
  left: var(--ak-x);
  top: var(--ak-y);
  color: rgba(110, 96, 130, .42)
}

.simple-site.onsenji {
  left: var(--on-x);
  top: var(--on-y);
  color: rgba(150, 96, 52, .38)
}

.simple-site.buppouji {
  left: var(--bu-x);
  top: var(--bu-y);
  color: rgba(160, 126, 54, .4)
}

.simple-site.chouenji {
  left: var(--cho-x);
  top: var(--cho-y);
  color: rgba(150, 58, 48, .4)
}

.map-glow.akimiya {
  --x: 34%;
  --y: 22%
}

.map-glow.onsenji {
  --x: 50%;
  --y: 34%
}

.map-glow.buppouji {
  --x: 61%;
  --y: 52%
}

.map-glow.chouenji {
  --x: 82%;
  --y: 66%
}

@media (min-width: 600px) and (max-width: 1180px) and (orientation: portrait) {
  .simple-map {
    --ak-x: var(--ak-portrait-x, 34%);
    --ak-y: var(--ak-portrait-y, 22%);
  }

  .map-glow.akimiya {
    --x: var(--ak-portrait-x, 34%);
    --y: var(--ak-portrait-y, 22%);
  }

}

@media (orientation: landscape) {
  .simple-map {
    --ak-x: 17%;
    --ak-y: 30%;
    --lake-x: 34%;
    --lake-y: 54%;
    --on-x: 36%;
    --on-y: 35%;
    --bu-x: 64%;
    --bu-y: 29%;
    --cho-x: 88%;
    --cho-y: 18%
  }

  .simple-map::before {
    content: none
  }

  .simple-lake {
    display: none
  }

  .map-glow.akimiya {
    --x: 17%;
    --y: 30%
  }

  .map-glow.onsenji {
    --x: 36%;
    --y: 35%
  }

  .map-glow.buppouji {
    --x: 64%;
    --y: 29%
  }

  .map-glow.chouenji {
    --x: 88%;
    --y: 18%
  }
}

@media (max-width: 1180px) and (orientation: landscape) {
  .simple-map {
    --ak-y: 38%;
    --on-y: 43%;
    --bu-y: 37%;
    --cho-y: 26%
  }

  .map-glow.akimiya {
    --y: 38%
  }

  .map-glow.onsenji {
    --y: 43%
  }

  .map-glow.buppouji {
    --y: 37%
  }

  .map-glow.chouenji {
    --y: 26%
  }
}

@media (max-width: 760px) and (orientation: landscape) {
  .simple-map {
    --ak-y: 42%;
    --on-y: 47%;
    --bu-y: 41%;
    --cho-y: 30%
  }

  .map-glow.akimiya {
    --y: 42%
  }

  .map-glow.onsenji {
    --y: 47%
  }

  .map-glow.buppouji {
    --y: 41%
  }

  .map-glow.chouenji {
    --y: 30%
  }
}

.mountain {
  position: absolute;
  left: -15%;
  width: 130%
}

.mountain svg {
  width: 100%;
  height: auto;
  display: block
}

.lake {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  will-change: transform;
  background: linear-gradient(180deg, rgba(201, 214, 210, 0) 0%, var(--mizu) 38%, var(--mizu-deep) 100%)
}

.lake::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 9px);
  animation: shimmer 7s ease-in-out infinite alternate;
  opacity: .6
}

@keyframes shimmer {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(4px)
  }
}

.mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform, opacity;
  pointer-events: none
}

.m1 {
  width: 64vw;
  height: 26vh;
  left: -8vw;
  top: 30vh;
  background: radial-gradient(ellipse, var(--mist) 0%, transparent 70%);
  opacity: .85
}

.m2 {
  width: 52vw;
  height: 20vh;
  right: -6vw;
  top: 44vh;
  background: radial-gradient(ellipse, var(--mist) 0%, transparent 70%);
  opacity: .7
}

.m3 {
  width: 76vw;
  height: 24vh;
  left: 6vw;
  top: 58vh;
  background: radial-gradient(ellipse, var(--mist) 0%, transparent 72%);
  opacity: .6
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background: radial-gradient(ellipse at 50% 45%, var(--gofun) 0%, var(--mist) 55%, #FBF4E7 100%)
}

.washi-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none
}

.washi-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.washi-svg .wc-o {
  fill: none;
  stroke: rgba(150, 110, 60, .40);
  stroke-width: 4.5;
  vector-effect: non-scaling-stroke
}

.washi-svg .wc-i {
  fill: none;
  stroke: rgba(247, 238, 219, .95);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke
}

.title {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.8vw, 38px);
  will-change: transform, opacity
}

.col {
  writing-mode: vertical-rl;
  white-space: nowrap;
  flex: none;
  line-height: 1.5
}

.main {
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 72px);
  letter-spacing: .1em
}

.sub {
  font-weight: 500;
  font-size: clamp(21px, 2.9vw, 30px);
  letter-spacing: .18em;
  color: #4A3528;
  margin-top: .55em
}

.ch {
  display: inline-block;
  opacity: 0
}

.intro .ch {
  animation: ink .95s cubic-bezier(.2, .65, .3, 1) forwards
}

@keyframes ink {
  from {
    opacity: 0;
    filter: blur(11px);
    transform: translateY(-14px) scale(1.04)
  }

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

.aka {
  color: var(--momiji)
}

.meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: none;
  align-self: flex-start;
  margin-top: 1.1em;
  opacity: 0
}

.intro .meta {
  animation: fade 1s ease 1s forwards
}

@keyframes fade {
  to {
    opacity: 1
  }
}

.kicker {
  position: relative;
  writing-mode: vertical-rl;
  white-space: nowrap;
  line-height: 1.5;
  font-size: 12.5px;
  letter-spacing: .44em;
  color: #6E4F3C;
  padding-top: 22px
}

.kicker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 14px;
  background: linear-gradient(var(--kin), rgba(184, 151, 63, 0));
  transform: translateX(-50%)
}

.romaji {
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 13px;
  color: #7A5A40;
  line-height: 1.55;
  text-align: center
}

.dates {
  position: absolute;
  bottom: 8.5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  text-align: center;
  color: #6E4F3C;
  mix-blend-mode: multiply;
  opacity: 0
}

.intro .dates {
  animation: fade 1s ease 1.25s forwards
}

.dates .edition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--suwo)
}

.dates .edition::before,
.dates .edition::after {
  content: "";
  width: clamp(20px, 4vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 151, 63, .85))
}

.dates .edition::after {
  background: linear-gradient(90deg, rgba(184, 151, 63, .85), transparent)
}

.dates .d {
  font-size: clamp(15px, 2.4vw, 20px);
  letter-spacing: .12em
}

.dates .t {
  font-size: 12px;
  letter-spacing: .1em;
  margin-top: 7px;
  color: #8A6A50
}

.dates .t .t-seg {
  white-space: nowrap
}

.dates .n {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--suwo)
}

.dates .n .n-seg {
  white-space: nowrap
}

@media (max-width: 600px) {
  .dates .t .t-seg {
    display: block
  }

  .dates .t .t-seg+.t-seg {
    margin-top: 5px
  }

  .dates .t .t-sep {
    display: none
  }

  .dates .n .n-seg {
    display: block
  }

  .dates .n .n-seg+.n-seg {
    margin-top: 3px
  }
}

.cue {
  position: absolute;
  bottom: 3vh;
  right: 30px;
  z-index: 50;
  font-size: 11px;
  letter-spacing: .34em;
  color: var(--suwo);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  will-change: opacity
}

.cue .line {
  width: 1px;
  height: 34px;
  background: var(--suwo);
  opacity: .5;
  animation: drop 2.2s ease-in-out infinite
}

@keyframes drop {
  0% {
    transform: scaleY(.2);
    transform-origin: top;
    opacity: .2
  }

  50% {
    transform: scaleY(1);
    opacity: .7
  }

  100% {
    transform: scaleY(.2);
    transform-origin: bottom;
    opacity: .2
  }
}

.fall {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  overflow: hidden
}

.leaf {
  position: absolute;
  top: -8%;
  will-change: transform;
  opacity: .92
}

.head {
  text-align: center;
  margin: 0 auto clamp(48px, 7vw, 80px);
  position: relative
}

.head .en {
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .28em;
  color: #A07A52;
  display: block;
  margin-bottom: 14px
}

.head .ed {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--suwo)
}

.head .ed::before,
.head .ed::after {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 151, 63, .85))
}

.head .ed::after {
  background: linear-gradient(90deg, rgba(184, 151, 63, .85), transparent)
}

.head h2 {
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 38px);
  letter-spacing: .16em;
  color: #3A2A22
}

.head .lead {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 2.1;
  letter-spacing: .05em;
  color: #5A4537
}

.rule {
  width: 1px;
  height: 40px;
  margin: 0 auto 30px;
  background: linear-gradient(var(--kin), transparent)
}

.scene1 {
  position: relative;
  overflow-x: clip;
  padding: 15vh 0 10vh;
  background: transparent
}

.scene1 .fogtop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, #FBF4E7 0%, rgba(251, 244, 231, 0) 100%);
  will-change: opacity
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 4
}

.hero-year {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 65;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform
}

.hero-year .hero-lede {
  max-width: min(680px, 86vw);
  margin: 0 auto;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 2.5;
  letter-spacing: .06em;
  color: #4A372C
}

.hero-year .hero-lede .strong {
  color: var(--suwo);
  font-weight: 600
}

@media (max-width: 600px) {
  .hero-year .hero-lede {
    max-width: 80vw
  }
}

.lede {
  max-width: 620px;
  margin: 0 auto 13vh;
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease
}

.lede.in {
  opacity: 1;
  transform: none
}

.lede p {
  font-size: clamp(16px, 2.3vw, 19px);
  line-height: 2.5;
  letter-spacing: .06em;
  color: #4A372C
}

.lede .strong {
  color: var(--suwo);
  font-weight: 600
}

.meguri-map {
  margin: 0 auto clamp(84px, 12vw, 150px);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s ease, transform 1.1s ease
}

.meguri-map.in {
  opacity: 1;
  transform: none
}

.map-head {
  margin-bottom: clamp(28px, 5vw, 52px)
}

.map-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 58px)
}

.map-board {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1448 / 1086;
  overflow: hidden;
  border: 1px solid rgba(184, 151, 63, .28);
  border-radius: 2px;
  background:
    radial-gradient(circle at 54% 54%, rgba(251, 245, 233, .88), rgba(251, 244, 231, .4) 52%, transparent 72%),
    linear-gradient(180deg, rgba(251, 245, 233, .72), rgba(238, 222, 196, .44));
  box-shadow: 0 24px 70px rgba(90, 50, 30, .13)
}

.map-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 55.6% 61.7%, color-mix(in srgb, var(--yamabuki) 30%, transparent), transparent 11%),
    radial-gradient(circle at 47.3% 34.1%, color-mix(in srgb, var(--kuchiba) 24%, transparent), transparent 10%),
    radial-gradient(circle at 85.7% 91.3%, color-mix(in srgb, var(--momiji) 22%, transparent), transparent 9%),
    radial-gradient(circle at 31.1% 14%, color-mix(in srgb, var(--fuji) 24%, transparent), transparent 10%);
  mix-blend-mode: multiply;
  opacity: .55
}

.map-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: grayscale(.18) sepia(.18) contrast(.96) brightness(1.04);
  mix-blend-mode: multiply
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ac) 42%, transparent);
  animation: mapPulse 2.8s ease-in-out infinite
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(251, 245, 233, .92);
  border-radius: 50%;
  background: var(--ac);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--ac) 18%, transparent),
    0 0 26px color-mix(in srgb, var(--ac) 72%, transparent)
}

.map-pin span {
  position: absolute;
  left: calc(50% + 18px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  color: var(--sumi);
  background: rgba(251, 245, 233, .82);
  border: 1px solid color-mix(in srgb, var(--ac) 30%, rgba(184, 151, 63, .22));
  padding: 5px 9px 6px;
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(90, 50, 30, .08);
  opacity: .92
}

.map-pin.active,
.map-pin:hover,
.map-pin:focus-visible {
  transform: translate(-50%, -50%) scale(1.22);
  filter: saturate(1.12)
}

.map-pin.active::after,
.map-pin:hover::after,
.map-pin:focus-visible::after {
  box-shadow:
    0 0 0 9px color-mix(in srgb, var(--ac) 22%, transparent),
    0 0 34px color-mix(in srgb, var(--ac) 82%, transparent)
}

.map-pin:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ac) 80%, #fff);
  outline-offset: 8px
}

.map-pin.akimiya {
  --x: 31.1%;
  --y: 14%;
  --ac: var(--fuji)
}

.map-pin.onsenji {
  --x: 47.3%;
  --y: 34.1%;
  --ac: var(--kuchiba)
}

.map-pin.buppouji {
  --x: 55.6%;
  --y: 61.7%;
  --ac: var(--yamabuki)
}

.map-pin.tyouenji {
  --x: 85.7%;
  --y: 91.3%;
  --ac: var(--momiji)
}

.map-pin.tyouenji span {
  left: auto;
  right: calc(50% + 18px)
}

.map-card {
  position: relative;
  scroll-margin-top: 84px;
  min-height: 270px;
  padding: clamp(26px, 4vw, 42px);
  border-left: 3px solid var(--ac);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ac) 10%, transparent), transparent 52%),
    rgba(251, 245, 233, .72);
  box-shadow: inset 0 0 0 1px rgba(184, 151, 63, .2), 0 18px 54px rgba(90, 50, 30, .09);
  transition: border-color .35s ease, background .35s ease
}

.map-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 34px;
  height: 34px;
  background: var(--ac);
  opacity: .22;
  clip-path: polygon(50% 0, 59% 34%, 92% 20%, 70% 49%, 100% 65%, 63% 66%, 66% 100%, 50% 70%, 34% 100%, 37% 66%, 0 65%, 30% 49%, 8% 20%, 41% 34%)
}

.map-card-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ac);
  font-size: 12px;
  letter-spacing: .28em
}

.map-card h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: .12em
}

.map-card p {
  margin-bottom: 26px;
  color: #5A4030;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em
}

.map-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--suwo);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .18em
}

.map-card-link::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--ac);
  transition: transform .3s ease
}

.map-card-link:hover::after,
.map-card-link:focus-visible::after {
  transform: translateX(8px)
}

@keyframes mapPulse {

  0%,
  100% {
    transform: scale(.82);
    opacity: .2
  }

  50% {
    transform: scale(1.18);
    opacity: .52
  }
}

.temple {
  position: relative;
  scroll-margin-top: 86px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(70px, 11vw, 128px)
}

.temple.map-reorder-enter {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.15s ease, transform 1.25s cubic-bezier(.22, .61, .36, 1)
}

.temple.map-reorder-enter.map-reorder-show {
  opacity: 1;
  transform: none
}

.temple:last-of-type {
  margin-bottom: 0
}

.temple.rev .t-fig {
  order: 2
}

.t-mist {
  position: absolute;
  inset: -9% -7%;
  z-index: 6;
  pointer-events: none;
  will-change: opacity, transform;
  opacity: 1;
  transform: scale(1.04);
  filter: blur(6px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 44%,
      color-mix(in srgb, var(--ac) 42%, var(--gofun)) 0%,
      color-mix(in srgb, var(--ac) 24%, var(--mist)) 46%,
      transparent 82%),
    radial-gradient(ellipse 55% 45% at 50% 60%,
      color-mix(in srgb, var(--ac) 52%, transparent), transparent 72%);
  transition: opacity 2s ease, transform 2.6s cubic-bezier(.22, .61, .36, 1);
}

.temple.in .t-mist {
  opacity: 0;
  transform: scale(1.28) translateY(-7%);
}

.t-fig {
  position: relative;
  aspect-ratio: 4/5;
  --mat: 14px;
  --matb: 46px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(180deg, #FBF5E9, #F4EAD6);
  box-shadow: 0 18px 50px rgba(90, 50, 30, .18);
  border: 1px solid rgba(120, 80, 50, .16);
  opacity: 0;
  transform: translateY(48px) scale(.98);
  transition: opacity 1.1s ease, transform 1.1s ease
}

.t-fig.in {
  opacity: 1;
  transform: none
}

.t-ph {
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(120, 80, 50, .32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ac) 14%, transparent), transparent 70%),
    repeating-linear-gradient(45deg, rgba(120, 80, 50, .025) 0 10px, transparent 10px 20px)
}

.t-ph .icon {
  width: 42px;
  height: 42px;
  opacity: .55
}

.t-ph .ph-note {
  font-size: 11px;
  letter-spacing: .28em;
  color: #8A6A50;
  opacity: .85
}

.t-img {
  position: absolute;
  top: var(--mat);
  left: var(--mat);
  width: calc(100% - var(--mat) * 2);
  height: calc(100% - var(--mat) - var(--matb));
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.02);
  box-shadow: 0 0 0 1px rgba(184, 151, 63, .45)
}

.t-fig::before {
  content: "";
  position: absolute;
  inset: var(--mat) var(--mat) var(--matb);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .5;
  background: linear-gradient(165deg, color-mix(in srgb, var(--ac) 26%, transparent), rgba(70, 40, 24, .22))
}

.t-fig::after {
  content: "";
  position: absolute;
  right: var(--mat);
  bottom: var(--matb);
  width: 24px;
  height: 24px;
  z-index: 2;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
  background: linear-gradient(315deg, #FBF5E9 44%, rgba(120, 80, 50, .3) 50%, transparent 53%)
}

.t-fig .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--matb);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A4030;
  font-size: 12px;
  letter-spacing: .16em
}

.t-fig .cap::before {
  content: "";
  width: 16px;
  height: 1px;
  margin-right: 11px;
  background: var(--ac)
}

.t-corner {
  position: absolute;
  top: var(--mat);
  left: var(--mat);
  width: 24px;
  height: 24px;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, #FBF5E9 44%, rgba(120, 80, 50, .3) 50%, transparent 53%)
}

.t-body {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s ease .15s, transform 1.1s ease .15s
}

.t-body.in {
  opacity: 1;
  transform: none
}

.t-tab {
  display: inline-block;
  background: var(--ac);
  color: #FBF5E9;
  font-size: 12px;
  letter-spacing: .3em;
  padding: 6px 14px;
  margin-bottom: 20px
}

.t-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px
}

.t-name {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: .12em;
  line-height: 1.1
}

.t-name .pin {
  color: var(--suwo);
  font-size: .34em;
  letter-spacing: .24em
}

.t-roma {
  writing-mode: vertical-rl;
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .1em;
  color: #9A7A56;
  align-self: flex-start;
  margin-top: 6px
}

html[lang="en"] .t-head {
  display: block
}

html[lang="en"] .t-name,
html[lang="en"] .t-roma {
  writing-mode: horizontal-tb
}

html[lang="en"] .t-name {
  white-space: normal;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: .04em;
  line-height: 1.18
}

html[lang="en"] .t-name .pin {
  display: block;
  margin-top: 8px;
  letter-spacing: .08em
}

html[lang="en"] .t-roma {
  font-style: normal;
  margin-top: 12px;
  letter-spacing: .08em
}

html[lang="en"] .t-tab,
html[lang="en"] .lb,
html[lang="en"] .pg h3,
html[lang="en"] .head h2 {
  letter-spacing: .06em
}

html[lang="en"] .t-contact div {
  grid-template-columns: 72px 1fr
}

html[lang="en"] .t-contact a span {
  display: block
}

html[lang="en"] .local-address {
  margin-top: 2px;
  font-size: .92em;
  letter-spacing: .04em;
  color: rgba(90, 64, 48, .72)
}

.t-text {
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 2.35;
  letter-spacing: .05em;
  color: #43332A
}

.t-text+.t-text {
  margin-top: 1.3em
}

.t-flag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ac);
  border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent);
  padding: 5px 12px;
  border-radius: 2px
}

.t-contact {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--ac) 24%, rgba(120, 80, 50, .12))
}

.t-contact div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline
}

.t-contact dt {
  color: var(--ac);
  font-size: 11px;
  letter-spacing: .2em;
  white-space: nowrap
}

.t-contact dd {
  min-width: 0;
  color: #5A4030;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .06em
}

.t-contact a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px
}

.t-contact a:hover,
.t-contact a:focus-visible {
  color: var(--suwo);
  text-decoration: underline
}

.temple-loop {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--ac) 28%, rgba(120, 80, 50, .14))
}

.temple-loop a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5A4030;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.5;
  transition: color .28s ease, transform .28s ease
}

.temple-loop a::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ac);
  transition: transform .28s ease, width .28s ease
}

.temple-loop a:first-child {
  color: #8A6A50
}

.temple-loop a:hover,
.temple-loop a:focus-visible {
  color: var(--suwo);
  transform: translateX(3px)
}

.temple-loop a:hover::after,
.temple-loop a:focus-visible::after {
  width: 38px;
  transform: translateX(4px)
}

.programs {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  background: transparent
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 26px)
}

.pg {
  background: var(--gofun);
  border: 1px solid rgba(120, 80, 50, .12);
  border-radius: 3px;
  padding: 30px 26px 32px;
  box-shadow: 0 10px 30px rgba(90, 50, 30, .07);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform .9s ease
}

.pg.in {
  opacity: 1;
  transform: none
}

.pg .ph-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px
}

.pg .ph-no {
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 13px;
  color: var(--ac);
  letter-spacing: .1em
}

.pg .ph-bar::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ac), transparent);
  opacity: .5
}

.pg h3 {
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 21px);
  letter-spacing: .1em;
  color: #3A2A22;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ac);
  display: inline-block
}

.pg .cat {
  display: block;
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--ac);
  margin-bottom: 14px
}

.pg p {
  font-size: 14.5px;
  line-height: 2.15;
  letter-spacing: .04em;
  color: #4A372C
}

.pg .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .2em;
  background: color-mix(in srgb, var(--ac) 14%, transparent);
  color: var(--ac);
  padding: 4px 11px;
  border-radius: 99px
}

.pg-note {
  text-align: center;
  margin-top: clamp(40px, 6vw, 64px);
  font-size: 13px;
  letter-spacing: .08em;
  color: #7A5A40
}

.pg-note .em {
  color: var(--suwo)
}

.overview {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  background: transparent
}

.ov-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--gofun);
  border-radius: 4px;
  border: 1px solid rgba(120, 80, 50, .14);
  box-shadow: 0 16px 44px rgba(90, 50, 30, .12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s ease, transform 1s ease
}

.ov-card.in {
  opacity: 1;
  transform: none
}

.ov-band {
  background: linear-gradient(90deg, var(--yamabuki), var(--kuchiba) 40%, var(--momiji) 72%, var(--fuji));
  height: 6px
}

.ov-date {
  text-align: center;
  padding: 42px 24px 30px;
  border-bottom: 1px solid rgba(120, 80, 50, .12)
}

.ov-date .y {
  font-size: 14px;
  letter-spacing: .18em;
  color: #7A5A40;
  margin-bottom: 8px
}

.ov-date .span {
  font-weight: 600;
  font-size: clamp(24px, 5vw, 40px);
  letter-spacing: .04em;
  color: #3A2A22;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 26px);
  flex-wrap: wrap
}

.ov-date .span .arr {
  color: var(--momiji);
  font-size: .8em
}

.ov-date .span .wd {
  font-size: .5em;
  color: var(--suwo);
  margin-left: 3px
}

.ov-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(120, 80, 50, .12)
}

.ov-row {
  background: var(--gofun);
  padding: 28px 30px
}

.ov-row .lb {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .24em;
  color: #FBF5E9;
  background: var(--sumi);
  padding: 4px 11px;
  margin-bottom: 14px
}

.ov-row .lb.lt {
  background: var(--momiji)
}

.ov-row .vl {
  font-size: clamp(17px, 2.6vw, 20px);
  letter-spacing: .06em;
  color: #3A2A22
}

.ov-row .nt {
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: #7A5A40;
  margin-top: 8px
}

.ov-notes {
  padding: 24px 30px 34px;
  background: #FBF4E7
}

.ov-notes li {
  list-style: none;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: #6E5440;
  padding-left: 18px;
  position: relative
}

.ov-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--kuchiba)
}

.foot {
  position: relative;
  background: linear-gradient(180deg, #5A2A22 0%, #43201A 100%);
  color: #F3E3CF;
  padding: clamp(70px, 10vw, 110px) 0 0
}

.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--yamabuki), var(--kuchiba) 40%, var(--momiji) 72%, var(--fuji))
}

.f-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 26px
}

.f-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(243, 227, 207, .18)
}

.f-mark {
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: .14em;
  line-height: 1.5
}

.f-mark .aka {
  color: #E8A05A
}

.f-mark .en {
  display: block;
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .22em;
  color: #C99A6E;
  margin-top: 14px
}

.f-photo {
  background: rgba(243, 227, 207, .06);
  border: 1px solid rgba(243, 227, 207, .16);
  border-radius: 3px;
  padding: 26px 28px
}

.f-photo .cat {
  font-family: var(--serif-r);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .16em;
  color: #E8A05A;
  display: block;
  margin-bottom: 10px
}

.f-photo h3 {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .1em;
  margin-bottom: 12px
}

.f-photo p {
  font-size: 13.5px;
  line-height: 2;
  color: #D9C4AC
}

.f-photo .ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .14em;
  color: #E8A05A;
  border: 1px solid rgba(232, 160, 90, .5);
  padding: 7px 14px;
  border-radius: 99px
}

.f-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 46px 0
}

.f-item .lb {
  font-size: 11px;
  letter-spacing: .24em;
  color: #C99A6E;
  margin-bottom: 10px
}

.f-item .vl {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em
}

.f-item a {
  color: #F3E3CF;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 160, 90, .5);
  transition: color .25s
}

.f-item a:hover {
  color: #E8A05A
}

.foot-lang {
  justify-content: center;
  width: 100%;
  padding: 22px 0;
  color: rgba(243, 227, 207, .58);
  border-top: 1px solid rgba(243, 227, 207, .14)
}

.foot-lang a:hover,
.foot-lang a.active {
  color: #E8A05A
}

.pagetop {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 4vw, 38px);
  z-index: 240;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 6px;
  border: 0;
  color: rgba(90, 64, 48, .62);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, .7, .28, 1), color .25s ease
}

.pagetop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.pagetop-text {
  font-family: var(--serif-r);
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: .18em;
  writing-mode: vertical-rl
}

html[lang="en"] .pagetop-text {
  writing-mode: horizontal-tb;
  letter-spacing: .12em
}

.pagetop:hover,
.pagetop:focus-visible {
  color: rgba(181, 64, 47, .72);
  outline: none;
  transform: translateY(-3px)
}

.opt3 {
  gap: 4px
}

.opt3 .ln-peak {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--kin)
}

.opt3 .ln {
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--kin), rgba(184, 151, 63, .15))
}

.f-bot {
  text-align: center;
  padding: 26px 0 30px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: #B89476;
  border-top: 1px solid rgba(243, 227, 207, .14)
}

@media(max-width:880px) {
  .hero-map-layer {
    width: 100%
  }

  .map-experience {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .map-board {
    max-width: 680px;
    margin: 0 auto
  }

  .map-card {
    width: min(100%, 680px);
    margin: 0 auto
  }

  .pg-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 1180px) and (orientation: portrait) {
  .map-card {
    display: none
  }

  .map-experience {
    display: block
  }
}

@media (orientation: landscape) and (max-height: 480px) and (max-width: 980px) {
  .map-card {
    display: none
  }

  .map-experience {
    display: block
  }
}

@media(max-width:760px) {
  .bar {
    padding: 16px 88px 16px 22px
  }

  .bar-right {
    gap: 12px
  }

  .floating-lang {
    top: 17px;
    right: 22px;
    font-size: 10px;
    letter-spacing: .12em
  }

  .title {
    gap: 12px
  }

  .sub {
    margin-right: -14px
  }

  .meta {
    margin-right: -12px
  }

  .dates {
    width: min(92vw, 360px)
  }

  .dates .d {
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: .08em
  }

  .dates .t {
    font-size: 11px
  }

  .map-experience {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .map-board {
    width: calc(100vw - 52px);
    max-width: 540px;
    margin: 0 auto
  }

  .map-pin {
    width: 38px;
    height: 38px
  }

  .map-pin::after {
    width: 13px;
    height: 13px
  }

  .map-pin span {
    padding: 4px 7px 5px;
    font-size: 10px;
    letter-spacing: .06em
  }

  .map-pin.buppouji span,
  .map-pin.tyouenji span {
    left: auto;
    right: calc(100% + 8px)
  }

  .map-card {
    min-height: 0;
    padding: 24px
  }

  .temple {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 84px
  }

  .temple.rev .t-fig {
    order: 0
  }

  .t-name {
    writing-mode: horizontal-tb;
    white-space: normal;
    font-size: clamp(26px, 8vw, 36px)
  }

  .t-roma {
    writing-mode: horizontal-tb;
    margin: 0
  }

  .t-head {
    flex-direction: column;
    gap: 6px
  }

  .temple-loop {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .temple-loop a {
    width: auto;
    justify-content: flex-start;
    gap: 12px;
    font-size: 12px
  }

  .temple-loop a::after {
    width: 24px
  }

  .t-contact div {
    grid-template-columns: 38px 1fr;
    gap: 10px
  }

  .t-contact dd {
    font-size: 12px
  }

  .t-fig {
    width: 100%;
    max-width: 360px;
    margin: 0 auto
  }

  .pg-grid {
    grid-template-columns: 1fr
  }

  .ov-rows {
    grid-template-columns: 1fr
  }

  .f-top {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .f-rows {
    grid-template-columns: 1fr;
    gap: 26px
  }
}

#curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  background: #241310;
  opacity: 1;
  transform-origin: center;
  will-change: opacity, transform;
  transition: opacity 1.3s ease, transform 1.6s cubic-bezier(.22, .61, .36, 1)
}

#curtain.done {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none
}

.cur-leaf-prelude {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  background: #000;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22, .7, .28, 1)
}

.cur-leaf-prelude.hide {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1)
}

.cur-leaf-prelude.handoff .loading-scene {
  animation: loadingSceneHandoff .9s cubic-bezier(.22, .7, .28, 1) forwards
}

.loading-map-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transform: translate(-50%, -50%);
  opacity: .34;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: screen;
  isolation: isolate
}

.loading-map-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .86;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at var(--logo-ak-x, 43%) var(--logo-ak-y, 11%), rgba(255, 255, 255, .26) 0 2.6%, rgba(255, 255, 255, .1) 7%, transparent 14%),
    radial-gradient(circle at var(--logo-on-x, 56%) var(--logo-on-y, 36%), rgba(255, 255, 255, .24) 0 2.4%, rgba(255, 255, 255, .1) 7%, transparent 13%),
    radial-gradient(circle at var(--logo-bu-x, 69%) var(--logo-bu-y, 55%), rgba(255, 255, 255, .24) 0 2.6%, rgba(255, 255, 255, .1) 7.5%, transparent 14%),
    radial-gradient(circle at var(--logo-cho-x, 87%) var(--logo-cho-y, 69%), rgba(255, 255, 255, .26) 0 2.6%, rgba(255, 255, 255, .1) 7%, transparent 14%)
}

.loading-map-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .68))
}

.hero-map-layer .map-glow {
  width: clamp(14px, 1.8vw, 28px);
  mix-blend-mode: multiply;
  opacity: .42
}

.map-glow {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(18px, 2.1vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--glow), var(--gofun) 58%) 0 16%, color-mix(in srgb, var(--glow), var(--gofun) 38%) 30%, transparent 70%);
  box-shadow: 0 0 18px 5px color-mix(in srgb, var(--glow), transparent 58%);
  opacity: .9;
  z-index: 2;
  animation: mapGlow 2.8s ease-in-out infinite
}

.map-glow.akimiya {
  --x: 34%;
  --y: 22%;
  --glow: var(--fuji);
  animation-delay: .1s
}

.map-glow.onsenji {
  --x: 50%;
  --y: 34%;
  --glow: var(--kuchiba);
  animation-delay: .45s
}

.map-glow.buppouji {
  --x: 61%;
  --y: 52%;
  --glow: var(--yamabuki);
  animation-delay: .8s
}

.map-glow.chouenji {
  --x: 82%;
  --y: 66%;
  --glow: var(--momiji);
  animation-delay: 1.15s
}

@media (min-width: 600px) and (max-width: 1180px) and (orientation: portrait) {
  .map-glow.akimiya {
    --x: var(--ak-portrait-x, 34%);
    --y: var(--ak-portrait-y, 22%)
  }
}

@media (orientation: landscape) {
  .map-glow.akimiya {
    --x: 17%;
    --y: 30%
  }

  .map-glow.onsenji {
    --x: 36%;
    --y: 35%
  }

  .map-glow.buppouji {
    --x: 64%;
    --y: 29%
  }

  .map-glow.chouenji {
    --x: 88%;
    --y: 18%
  }
}

@media (max-width: 1180px) and (orientation: landscape) {
  .map-glow.akimiya {
    --y: 38%
  }

  .map-glow.onsenji {
    --y: 43%
  }

  .map-glow.buppouji {
    --y: 37%
  }

  .map-glow.chouenji {
    --y: 26%
  }
}

@media (max-width: 760px) and (orientation: landscape) {
  .map-glow.akimiya {
    --y: 42%
  }

  .map-glow.onsenji {
    --y: 47%
  }

  .map-glow.buppouji {
    --y: 41%
  }

  .map-glow.chouenji {
    --y: 30%
  }
}

.loading-scene {
  position: absolute;
  left: var(--logo-lake-x, 34%);
  top: var(--logo-lake-y, 36%);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(58vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center
}

.loading-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148%;
  height: 148%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .105) 0%, rgba(255, 255, 255, .052) 34%, rgba(255, 255, 255, .018) 58%, rgba(255, 255, 255, .006) 78%, rgba(0, 0, 0, 0) 100%);
  opacity: .92
}

.loading-halo::before,
.loading-halo::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .032) 36%, rgba(255, 255, 255, .012) 62%, rgba(0, 0, 0, 0) 82%);
  transform: scale(.25);
  opacity: 0;
  animation: loadingLakeWave 3.8s cubic-bezier(.22, .65, .32, 1) infinite
}

.loading-halo::after {
  animation-delay: 1.9s
}

.loading-maple {
  position: fixed;
  left: auto;
  top: auto;
  right: clamp(14px, 3vw, 44px);
  bottom: clamp(14px, 3vw, 44px);
  width: clamp(72px, 13vw, 150px);
  height: auto;
  transform-origin: 50% 72%;
  opacity: .9;
  transform: rotate(-10deg);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(255, 255, 255, .08))
}

@keyframes loadingLakeWave {
  0% {
    opacity: 0;
    transform: scale(.22)
  }

  18% {
    opacity: .72
  }

  100% {
    opacity: 0;
    transform: scale(2.45)
  }
}

@keyframes mapGlow {

  0%,
  100% {
    opacity: .45;
    transform: translate(-50%, -50%) scale(.78)
  }

  50% {
    opacity: .95;
    transform: translate(-50%, -50%) scale(1.08)
  }
}

@keyframes heroMapIn {
  to {
    opacity: 1
  }
}

@keyframes loadingSceneHandoff {
  0% {
    opacity: 1
  }

  100% {
    opacity: .58
  }
}

.cur-photo {
  position: absolute;
  inset: 0;
  --cap-y: 26vh
}

.cur-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease
}

.cur-slide.show {
  opacity: 1
}

.cur-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform
}

.cur-slide span {
  position: absolute;
  left: 50%;
  bottom: var(--cap-y, 26vh);
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  color: rgba(251, 245, 233, .96);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 46px);
  letter-spacing: .24em;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .6)
}

html[lang="en"] .cur-slide span {
  top: 50%;
  bottom: auto;
  width: min(88vw, 860px);
  transform: translate(-50%, -50%);
  writing-mode: horizontal-tb;
  text-align: center;
  font-size: clamp(24px, 4.4vw, 44px);
  letter-spacing: .08em;
  line-height: 1.35
}

@media (max-width: 1180px) and (orientation: landscape) {
  .stage {
    min-height: 100svh
  }

  .hero-map-layer {
    top: 50%;
    width: 100%
  }

  .title {
    top: 43%;
    gap: clamp(12px, 3.2vh, 20px)
  }

  .main {
    font-size: clamp(30px, 11vh, 46px)
  }

  .sub {
    font-size: clamp(16px, 5.2vh, 22px)
  }

  .kicker {
    font-size: 10px;
    letter-spacing: .32em
  }

  .dates {
    bottom: 4vh;
    width: min(82vw, 520px)
  }

  .dates .edition {
    margin-bottom: 6px;
    font-size: 11px
  }

  .dates .d {
    white-space: nowrap;
    font-size: clamp(12px, 3.1vh, 15px);
    letter-spacing: .08em
  }

  .dates .t {
    margin-top: 4px;
    font-size: 10px
  }

  .dates .n {
    margin-top: 5px;
    font-size: 9.5px
  }

  .cur-slide span {
    font-size: clamp(22px, 4vh, 32px)
  }

  .cur-slide.s4 {
    --cap-y: 12vh
  }
}

@media (orientation: landscape) and (max-height: 480px) and (max-width: 980px) {
  .hero-map-layer .simple-map {
    --ak-y: 29%;
    --on-y: 27%;
    --bu-y: 25%;
    --cho-y: 16%
  }

  .hero-map-layer .map-glow.akimiya {
    --y: 29%
  }

  .hero-map-layer .map-glow.onsenji {
    --y: 27%
  }

  .hero-map-layer .map-glow.buppouji {
    --y: 25%
  }

  .hero-map-layer .map-glow.chouenji {
    --y: 16%
  }

  .title {
    top: 34%;
    gap: 6px
  }

  .title .col {
    line-height: 1.08
  }

  .main {
    font-size: clamp(21px, 6.3vh, 25px);
    letter-spacing: .02em
  }

  .sub {
    font-size: clamp(11px, 3.35vh, 13px);
    letter-spacing: .08em;
    margin-top: .25em
  }

  .kicker {
    font-size: 7.5px;
    letter-spacing: .16em;
    padding-top: 10px
  }

  .kicker::before {
    height: 10px
  }

  .dates {
    bottom: .7vh;
    width: min(90vw, 560px)
  }

  .dates .edition {
    margin-bottom: 2px;
    font-size: 8.2px
  }

  .dates .d {
    font-size: clamp(8.8px, 2.45vh, 10px)
  }

  .dates .t {
    margin-top: 1px;
    font-size: 7.8px
  }

  .dates .n {
    margin-top: 2px;
    font-size: 7.1px
  }
}

.cur-slide.s1 .cur-bg {
  background-image: linear-gradient(rgba(20, 8, 4, .06), rgba(20, 8, 4, .32)), url('img/buppouji.jpg')
}

.cur-slide.s2 .cur-bg {
  background-image: linear-gradient(rgba(20, 8, 4, .06), rgba(20, 8, 4, .32)), url('img/onsenji.jpg')
}

.cur-slide.s3 .cur-bg {
  background-image: linear-gradient(rgba(20, 8, 4, .06), rgba(20, 8, 4, .32)), url('img/tyouenji.jpg')
}

.cur-slide.s4 .cur-bg {
  background-image: linear-gradient(rgba(20, 8, 4, .06), rgba(20, 8, 4, .32)), url('img/akimiya.jpg')
}

.cur-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse 66% 62% at 50% 50%, transparent 32%, rgba(40, 18, 12, .32) 74%, rgba(28, 11, 8, .72) 100%)
}

.cur-frame-art {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.05s ease;
  --fs: 1
}

#curtain.frames-ready .cur-frame-art {
  opacity: 1
}

.ff {
  max-width: none;
  position: absolute;
  opacity: 0;
  will-change: opacity
}

.ff-top {
  top: 0;
  left: 0;
  width: 100%;
  transform-origin: top center;
  transform: scale(var(--fs))
}

.ff-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  transform-origin: bottom center;
  transform: scale(var(--fs))
}

.ff-left {
  left: 0;
  top: 0;
  height: 100%;
  transform-origin: left center;
  transform: scale(var(--fs))
}

.ff-right {
  right: 0;
  top: 0;
  height: 100%;
  transform-origin: right center;
  transform: scale(var(--fs))
}

.cur-wash {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 45%, #C24A2C 0%, #9C2F1E 55%, #5E1B12 100%)
}

.cur-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 45%, var(--gofun) 0%, var(--mist) 60%, #F0E6D2 100%)
}

.cur-skip {
  position: absolute;
  bottom: 22px;
  right: 26px;
  z-index: 7;
  cursor: pointer;
  font-family: var(--serif-r);
  font-style: normal;
  letter-spacing: .2em;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  color: rgba(251, 245, 233, .92);
  background: rgba(32, 14, 10, .34);
  border: 1px solid rgba(251, 245, 233, .58);
  padding: 7px 14px;
  border-radius: 99px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  backdrop-filter: blur(6px);
  transition: opacity .45s ease, color .25s, border-color .25s, background .25s
}

#curtain.frames-ready .cur-skip {
  opacity: 1;
  pointer-events: auto
}

.cur-skip:hover {
  color: #fff;
  background: rgba(32, 14, 10, .5);
  border-color: rgba(251, 245, 233, .82)
}

.ins {
  display: inline-block;
  overflow: hidden;
  height: 0;
  transition: height .9s cubic-bezier(.2, .7, .3, 1)
}

.ch.hold {
  animation: none !important;
  opacity: 0
}

html[lang="en"] .title {
  top: 43%;
  width: min(78vw, 620px);
  justify-content: center;
  text-align: center
}

html[lang="en"] .title .col.sub,
html[lang="en"] .title .meta {
  display: none
}

html[lang="en"] .title .main.en-hero-title {
  writing-mode: horizontal-tb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  width: 100%;
  white-space: normal;
  line-height: 1.15;
  letter-spacing: normal
}

html[lang="en"] .en-hero-line {
  display: block;
  width: 100%;
  transform-origin: center
}

html[lang="en"] .en-hero-main {
  font-family: var(--serif-r);
  font-size: clamp(38px, 5.5vw, 50px);
  font-weight: 400;
  letter-spacing: .07em;
  color: rgba(63, 46, 39, .88)
}

html[lang="en"] .en-hero-jp {
  font-size: clamp(19px, 2.15vw, 27px);
  font-weight: 500;
  letter-spacing: .22em;
  color: #3F2E27
}

html[lang="en"] .en-hero-jp-red {
  color: #B74736
}

html[lang="en"] .en-hero-jp-dark {
  color: rgba(63, 46, 39, .9)
}

html[lang="en"] .en-hero-sub {
  font-family: var(--serif-r);
  font-size: clamp(12px, 1.35vw, 17px);
  font-weight: 400;
  letter-spacing: .18em;
  color: rgba(110, 79, 60, .96)
}

@media (min-width:1181px) {
  html[lang="en"] .title .main.en-hero-title {
    position: relative
  }

  html[lang="en"] .title .main.en-hero-title::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 54%;
    width: min(52vw, 780px);
    height: 170px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
      radial-gradient(ellipse at center,
        rgba(255, 250, 238, .58) 0%,
        rgba(255, 250, 238, .35) 28%,
        rgba(255, 250, 238, .12) 54%,
        rgba(255, 250, 238, 0) 100%);
    filter: blur(14px);
    pointer-events: none
  }
}

@media(max-width:760px) {
  html[lang="en"] .title {
    top: 40%;
    width: min(86vw, 420px)
  }

  html[lang="en"] .title .main.en-hero-title {
    gap: 9px
  }

  html[lang="en"] .en-hero-main {
    font-size: clamp(31px, 9.1vw, 40px);
    letter-spacing: .045em
  }

  html[lang="en"] .en-hero-jp {
    font-size: clamp(16px, 4.25vw, 19px);
    letter-spacing: .14em
  }

  html[lang="en"] .en-hero-sub {
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: .11em
  }
}

@media (orientation: landscape) and (max-height: 480px) and (max-width: 980px) {
  html[lang="en"] .title {
    top: 31%;
    width: min(58vw, 440px)
  }

  html[lang="en"] .title .main.en-hero-title {
    gap: 5px
  }

  html[lang="en"] .en-hero-main {
    font-size: clamp(24px, 8.4vh, 34px);
    letter-spacing: .05em
  }

  html[lang="en"] .en-hero-jp {
    font-size: clamp(11px, 3.2vh, 13px);
    letter-spacing: .14em
  }

  html[lang="en"] .en-hero-sub {
    font-size: clamp(8px, 2.5vh, 10px);
    letter-spacing: .1em
  }
}
