/* Ouchi Honoca: the vertical continuation of its TOP horizontal world. */
.home.has-worlds-js:not(.is-ouchi-path) [data-ouchi-story] {
  display: none;
}

.home.is-ouchi-path [data-vertical-story] {
  display: none;
}

/* Only the TOP carousel's Ouchi world changes these shared controls. */
.home.is-ouchi-reading .site-context {
  position: relative;
}

.home.is-ouchi-reading .site-context .reading-top--in-signboard {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 32px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
  animation: ouchi-top-arrive .55s cubic-bezier(.22, .61, .36, 1) both;
}

.home .ouchi-store-top[hidden] {
  display: none;
}

.home.is-ouchi-reading .ouchi-store-top:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-4px);
  color: #fff;
  border-color: rgba(62, 99, 79, .35);
  background: #789d92;
  box-shadow: 0 12px 25px rgba(49, 72, 60, .22), 0 3px 8px rgba(49, 72, 60, .1);
  animation: ouchi-store-arrive .7s cubic-bezier(.22, .61, .36, 1) .1s both;
}

@keyframes ouchi-top-arrive {
  from { opacity: 0; transform: translateY(calc(-50% + 7px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

@keyframes ouchi-store-arrive {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .home.is-ouchi-reading .site-context .reading-top--in-signboard,
  .home.is-ouchi-reading .ouchi-store-top:not([hidden]) { animation: none; }
}

.home.is-ouchi-reading .mobile-actions {
  display: none !important;
}

.ouchi-story {
  --ouchi-ink: #40352e;
  --ouchi-muted: #78685d;
  --ouchi-line: rgba(94, 69, 52, .18);
  --ouchi-coral: #a85d5f;
  scroll-margin-top: 124px;
  color: var(--ouchi-ink);
  background: transparent;
  font-family: var(--at-serif, "Yu Mincho", "YuMincho", serif);
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 64px) clamp(72px, 11vw, 132px);
}

.ouchi-story__inner {
  width: min(100%, 820px);
  margin-inline: auto;
}

.ouchi-story__header {
  margin: 0 auto clamp(72px, 11vw, 120px);
  text-align: center;
}

.ouchi-story__eyebrow {
  margin: 0 0 16px;
  color: var(--ouchi-muted);
  font: 500 10px/1.7 var(--at-sans, sans-serif);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ouchi-story__header h1 {
  margin: 0;
  color: var(--ouchi-coral);
  font: 400 clamp(38px, 8vw, 66px)/1.45 var(--at-serif, "Yu Mincho", serif);
  letter-spacing: .1em;
}

.ouchi-story__lead {
  margin: 18px 0 0;
  color: var(--ouchi-muted);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: .08em;
  line-height: 1.9;
}

.ouchi-story__chapter {
  width: min(100%, 660px);
  margin: 0 auto clamp(72px, 12vw, 124px);
}

.ouchi-story__number {
  margin: 0 0 12px;
  color: #ad8e70;
  font: 500 11px/1.5 var(--at-sans, sans-serif);
  letter-spacing: .18em;
}

.ouchi-story__chapter h2,
.ouchi-story__film h2,
.ouchi-story__facts h2,
.ouchi-story__stores h2,
.ouchi-story__closing h2 {
  margin: 0;
  color: var(--ouchi-coral);
  font-size: clamp(23px, 4.2vw, 34px);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1.7;
}

.ouchi-story__copy {
  width: min(100%, 620px);
  margin: clamp(24px, 4vw, 38px) auto 0;
  font-size: clamp(16px, 2.1vw, 19px);
  letter-spacing: .035em;
  line-height: 2.15;
}

.ouchi-story__copy p {
  margin: 0 0 1.3em;
}

.ouchi-story__copy p:last-child { margin-bottom: 0; }
.ouchi-story__copy strong { font-weight: 500; }

.ouchi-story__film,
.ouchi-story__facts,
.ouchi-story__stores {
  width: min(100%, 740px);
  margin: 0 auto clamp(76px, 12vw, 128px);
}

.ouchi-story__film h2,
.ouchi-story__facts > h2,
.ouchi-story__stores > h2,
.ouchi-story__closing h2 { text-align: center; }

.ouchi-story__film video {
  display: block;
  width: min(100%, 420px, calc((100svh - 190px) * 9 / 16));
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: calc(100svh - 190px);
  margin: clamp(24px, 4vw, 40px) auto 0;
  background: #2d241d;
  object-fit: contain;
}

@media (max-width: 720px) {
  .ouchi-story__film {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    scroll-margin-top: 120px;
  }

  .ouchi-story__film video {
    width: min(100vw, calc((100svh - 190px) * 9 / 16));
    max-height: calc(100svh - 190px);
  }
}

.ouchi-story__facts > h2,
.ouchi-story__stores > h2 { margin-bottom: clamp(28px, 5vw, 44px); }

.ouchi-story__facts dl {
  margin: 0;
  border-top: 1px solid var(--ouchi-line);
}

.ouchi-story__facts dl > div {
  display: grid;
  grid-template-columns: minmax(7.5em, .7fr) 1.3fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--ouchi-line);
  font-size: 15px;
  line-height: 1.8;
}

.ouchi-story__facts dt { color: var(--ouchi-muted); }
.ouchi-story__facts dd { margin: 0; }

.ouchi-story__usage {
  width: min(100%, 620px);
  margin: 32px auto 0;
  font: 400 15px/1.95 var(--at-sans, "Yu Gothic", sans-serif);
  letter-spacing: .025em;
}

.ouchi-story__usage h3 {
  margin: 24px 0 8px;
  color: var(--ouchi-coral);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
}

.ouchi-story__usage h3:first-child { margin-top: 0; }
.ouchi-story__usage p { margin: 0 0 8px; }
.ouchi-story__usage ul { margin: 0; padding-left: 1.3em; }

.ouchi-story__stores-lead {
  margin: -16px 0 30px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}

.ouchi-story__store-list {
  display: grid;
  gap: 18px;
}

.ouchi-story__store {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--ouchi-line);
  background: rgba(255, 255, 255, .56);
}

.ouchi-story__store-prefecture {
  margin: 0 0 4px;
  color: var(--ouchi-muted);
  font: 500 11px/1.6 var(--at-sans, sans-serif);
  letter-spacing: .12em;
}

.ouchi-story__store h3 {
  margin: 0 0 12px;
  color: var(--ouchi-coral);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .08em;
}

.ouchi-story__store p,
.ouchi-story__store address {
  margin: 0 0 12px;
  font: 400 14px/1.9 var(--at-sans, "Yu Gothic", sans-serif);
  font-style: normal;
}

.ouchi-story__store a {
  display: inline-flex;
  gap: 8px;
  color: var(--ouchi-coral);
  font: 500 13px/1.8 var(--at-sans, sans-serif);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.ouchi-story__closing {
  width: min(100%, 660px);
  margin: 0 auto;
  text-align: center;
}

.ouchi-story__closing p {
  margin: 24px 0 0;
  font-size: 16px;
  letter-spacing: .05em;
  line-height: 2;
}

.ouchi-story__purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  margin-top: 40px;
  padding: 14px 28px;
  border: 1px solid #8e6552;
  border-radius: 2px 28px 2px 28px;
  background: #8e6552;
  color: #fff !important;
  font: 500 15px/1.5 var(--at-sans, sans-serif);
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}

.ouchi-story__purchase:hover { background: transparent; color: #8e6552 !important; }

@media (min-width: 760px) {
  .ouchi-story__store-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .ouchi-story__store { padding: 26px 22px; }
}

@media (max-width: 480px) {
  .ouchi-story { padding-inline: 22px; }
  .ouchi-story__facts dl > div { grid-template-columns: 6.8em minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .ouchi-story__store { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ouchi-story__purchase { transition: none; }
}
/* Soft bathwater and warm coral connect the story to the shop. */
.ouchi-story__store-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 650px);
  min-height: 100px;
  margin: clamp(22px, 4vw, 40px) auto 0;
  padding: 16px clamp(18px, 4vw, 30px);
  border: 1px solid rgba(174, 113, 99, .3);
  border-radius: 24px 4px 24px 4px;
  color: #63473d;
  background:
    linear-gradient(110deg, rgba(255, 249, 240, .6), rgba(250, 216, 204, .45)),
    url('../images/footer/淡色水彩の波紋と煌めき.png') center 70% / cover,
    #f7e6da;
  box-shadow: 0 9px 26px rgba(130, 76, 65, .1), inset 0 1px rgba(255, 255, 255, .75);
  font-family: var(--at-reference-sans, "Yu Gothic", sans-serif);
  text-align: left;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.ouchi-story__store-banner-copy { font: 400 clamp(15px, 2.1vw, 18px)/1.6 var(--at-serif, "Yu Mincho", serif); letter-spacing: .025em; }
.ouchi-story__store-banner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #67473e;
  background: rgba(250, 225, 216, .84);
  border: 1px solid rgba(158, 96, 84, .35);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}
.ouchi-story__store-banner:hover,
.ouchi-story__store-banner:focus-visible { box-shadow: 0 13px 30px rgba(130, 76, 65, .14); transform: translateY(-2px); }
@media (max-width: 600px) {
  .ouchi-story { padding-top: 28px; }
  .ouchi-story__eyebrow { margin-bottom: 8px; }
  .ouchi-story__lead { margin-top: 8px; }
  .ouchi-story__store-banner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 112px;
    margin-top: 22px;
    padding: 12px 13px;
    text-align: center;
  }
  .ouchi-story__store-banner-copy { font-size: clamp(13px, 3.55vw, 15px); letter-spacing: 0; white-space: nowrap; }
  .ouchi-story__store-banner-action { min-height: 36px; padding: 5px 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ouchi-story__store-banner { transition: none; }
}
