:root {
  --bg: #ffffff;
  --text: #252525;
  --accent: #9b4b0f;
  --ornament: #e8d9b9;
  --ornament-soft: #efe5d0;
  --card-glow: rgba(232, 200, 168, 0.38);
  --section-max: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  /* font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; */
  letter-spacing: 0.02em;
}

.brand-experience {
  position: relative;
  background: #fff;
  z-index: 1;
}

.brand-experience .splash,
.brand-experience .splash *,
.brand-experience .content,
.brand-experience .content * {
  font-family: "ten-mincho-text", 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
}


a {
  color: #954000;
  text-decoration-color: rgba(149, 64, 0, 0.45);
}

a:hover {
  color: #7f3600;
  text-decoration-color: rgba(127, 54, 0, 0.55);
}

.pagetop {
  z-index: 41;
}

body {
  position: relative;
  overflow-x: clip;
  isolation: isolate;
}

.brand-experience {
  position: relative;
  min-height: 100%;
  --scrollbar-comp: 0px;
}

.brand-experience.splash-lock {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  padding-right: var(--scrollbar-comp, 0px);
}

.brand-fixed-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.brand-fixed-bg.is-outside {
  opacity: 0;
}

.brand-fixed-bg::before,
.brand-fixed-bg::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.brand-fixed-bg::before {
  width: min(56vh, 580px);
  height: min(56vh, 580px);
  right: 0;
  top: 0;
  background-image: url('/common/img/brand/brand_bg_right_top.svg');
  background-position: top right;
}

.brand-fixed-bg::after {
  width: min(50vh, 520px);
  height: min(50vh, 520px);
  left: 0;
  bottom: 0;
  background-image: url('/common/img/brand/brand_bg_left_bottom.svg');
  background-position: bottom left;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(155, 75, 15, 0.15);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: 60;
}

.fixed-header.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fixed-header__dummy {
  max-width: var(--section-max);
  margin: 0 auto;
  color: #4a4a4a;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.08em;
}

.splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 80;
  visibility: visible;
  opacity: 1;
  transition: visibility 1.2s steps(1, end), opacity 1.15s ease;
  overflow: hidden;
  pointer-events: none;
}

.splash.hidden {
  visibility: hidden;
  opacity: 0;
}

.splash__cover {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 0.95s ease;
  will-change: opacity;
}

.splash.peeling .splash__cover {
  opacity: 0;
}

.splash__group {
  display: grid;
  justify-items: center;
  gap: 28px;
  position: relative;
}

.splash__logo {
  width: min(280px, 38vw);
  margin: 0 auto;
  display: block;
  opacity: 0;
  transform-origin: center;
  animation: splashLogoIn 0.95s cubic-bezier(0.18, 0.84, 0.32, 1) 0.08s forwards;
}

@keyframes splashLogoIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
    filter: blur(5px);
  }

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

.splash__tagline {
  margin: 0;
  width: 100%;
  text-align: center;
}

.splash__catch-host {
  display: inline-block;
}

.splash__catch-svg {
  width: min(380px, 52vw);
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.splash__catch-svg path {
  opacity: 0;
  fill: rgba(47, 48, 48, 1);
  transform: translateY(4px);
  filter: blur(1.5px);
}

.splash__catch-svg.is-ready path {
  animation: catchPathReveal 560ms ease-out forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes catchPathReveal {
  from {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(1.5px);
  }

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

.content {
  position: relative;
  z-index: 30;
}

.viewport-soft-mask {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}

.viewport-soft-mask::before,
.viewport-soft-mask::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  transition: opacity 0.35s ease;
}

.viewport-soft-mask::before {
  top: 0;
  height: 15vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  opacity: 1;
}

.viewport-soft-mask::after {
  bottom: 0;
  height: 15vh;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  opacity: 1;
}

.viewport-soft-mask.bottom-off::after {
  opacity: 0;
}

.viewport-soft-mask.is-outside::before,
.viewport-soft-mask.is-outside::after {
  opacity: 0;
}

.panel {
  min-height: 100svh;
  padding: clamp(110px, 16vh, 160px) 24px clamp(80px, 12vh, 110px);
  display: grid;
  align-items: center;
}

.panel--mission-reveal,
.panel--vision-reveal,
.panel--value-reveal {
  min-height: auto;
  padding-top: clamp(88px, 10vh, 132px);
  padding-bottom: clamp(64px, 8vh, 96px);
}

.panel--history-reveal {
  padding-bottom: 150px;
}

.panel__inner {
  width: min(var(--section-max), 86vw);
  margin: 0 auto;
  opacity: 1;
  transform: none;
}

.panel--statement-wide .panel__inner {
  width: min(1080px, 92vw);
}

.panel__lead {
  font-size: clamp(22px, 2.8vw, 44px);
  margin: 0 0 24px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: clamp(20px, 2vw, 36px);
  line-height: 1.35;
}

.eyebrow.statement {
  font-size: clamp(24px, 2vw, 36px);
}

.statement {
  margin: 0 0 32px;
  font-size: clamp(24px, 6.8vw, 82px);
  line-height: 1.6;
}

.title {
  font-size: clamp(22px, 4.2vw, 62px);
  line-height: 1.45;
  margin: 0 0 30px;
}

.copy {
  width: fit-content;
  max-width: 1080px;
  font-size: clamp(20px, 1.55vw, 22px);
  line-height: 2;
  padding: 0 0 0 40px;
}

.copy p {
  margin: 0 auto 22px;
}

.copy p:last-child {
  margin-bottom: 0;
}

[data-reveal] .eyebrow,
[data-reveal] .title,
[data-reveal] .statement,
[data-reveal] .value-intro h2 {
  opacity: 0;
  transform: translateX(-24px);
  filter: blur(2px);
  transition: opacity 0.96s ease, transform 0.96s cubic-bezier(0.2, 0.72, 0.2, 1), filter 0.96s ease;
}

[data-reveal] .copy,
[data-reveal] .copy p,
[data-reveal] .value-card,
[data-reveal] .history-item {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
  transition: opacity 0.96s ease, transform 0.96s cubic-bezier(0.2, 0.72, 0.2, 1), filter 0.96s ease;
}

[data-reveal].in-view .eyebrow {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.12s;
}

[data-reveal].in-view .title,
[data-reveal].in-view .statement,
[data-reveal].in-view .value-intro h2 {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  transition-delay: 0.26s;
}

[data-reveal].in-view .copy {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.36s;
}

[data-reveal].in-view .copy p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal].in-view .copy p:nth-child(1) {
  transition-delay: 0.46s;
}

[data-reveal].in-view .copy p:nth-child(2) {
  transition-delay: 0.58s;
}

[data-reveal].in-view .copy p:nth-child(3) {
  transition-delay: 0.7s;
}

[data-reveal].in-view .value-card {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal].in-view .history-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal].in-view .value-card:nth-child(1) {
  transition-delay: 0.36s;
}

[data-reveal].in-view .value-card:nth-child(2) {
  transition-delay: 0.48s;
}

[data-reveal].in-view .value-card:nth-child(3) {
  transition-delay: 0.6s;
}

[data-reveal].in-view .value-card:nth-child(4) {
  transition-delay: 0.72s;
}

[data-reveal].in-view .value-card:nth-child(5) {
  transition-delay: 0.84s;
}

[data-reveal].in-view .history-item:nth-child(1) {
  transition-delay: 0.34s;
}

[data-reveal].in-view .history-item:nth-child(2) {
  transition-delay: 0.46s;
}

[data-reveal].in-view .history-item:nth-child(3) {
  transition-delay: 0.58s;
}

[data-reveal].in-view .history-item:nth-child(4) {
  transition-delay: 0.70s;
}

[data-reveal].in-view .history-item:nth-child(5) {
  transition-delay: 0.82s;
}

[data-reveal].in-view .history-item:nth-child(6) {
  transition-delay: 0.94s;
}

[data-reveal].in-view .history-item:nth-child(7) {
  transition-delay: 1.06s;
}

[data-reveal].in-view .history-item:nth-child(8) {
  transition-delay: 1.18s;
}

[data-reveal].in-view .history-item:nth-child(9) {
  transition-delay: 1.30s;
}

[data-reveal].in-view .history-item:nth-child(10) {
  transition-delay: 1.42s;
}

[data-reveal].in-view .history-item:nth-child(11) {
  transition-delay: 1.54s;
}

[data-reveal].in-view .history-item:nth-child(12) {
  transition-delay: 1.66s;
}

[data-reveal].in-view .history-item:nth-child(13) {
  transition-delay: 1.78s;
}

[data-reveal].in-view .history-item:nth-child(14) {
  transition-delay: 1.90s;
}

[data-reveal].in-view .history-item:nth-child(15) {
  transition-delay: 2.02s;
}

[data-reveal].in-view .history-item:nth-child(n+16) {
  transition-delay: 2.02s;
}

.value-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 76px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 70px);
}

.value-intro h2 {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 62px);
  line-height: 1.45;
  max-width: none;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.value-card {
  position: relative;
  padding: 24px 28px 12px;
}

.value-card::before {
  content: '';
  position: absolute;
  width: 168px;
  aspect-ratio: 1;
  border-radius: 50%;
  top: -14px;
  left: -18px;
  background: radial-gradient(circle, var(--card-glow), transparent 70%);
  z-index: -1;
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 22px);
}

.value-card .lead {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.55vw, 22px);
  line-height: 1.45;
}

.value-card p {
  margin: 0;
  font-size: clamp(20px, 1.55vw, 22px);
  line-height: 1.8;
  padding: 0 0 0 10px;
}

.history-wrap {
  position: relative;
  max-width: 900px;
  margin: 6px auto 0;
  padding-left: 42px;
}

.history-wrap::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(47, 48, 48, 0.28), rgba(47, 48, 48, 0.12));
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.72, 0.2, 1);
}

[data-reveal].in-view .history-wrap::before {
  opacity: 1;
  transform: scaleY(1);
  transition-delay: 0.22s;
}

.history-item {
  position: relative;
  padding: 0 0 34px 0;
}

.history-item:last-child {
  padding-bottom: 0;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(149, 64, 0, 0.46);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(149, 64, 0, 0.12);
}

.history-year {
  margin: 0 0 10px;
  color: #954000;
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0.08em;
}

.history-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.55;
}

.history-text {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.95;
  color: #2f3030;
}

@media (max-width: 980px) {
  .panel {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 92px;
  }

  .panel:not(.panel--statement-wide) {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .panel--statement-wide {
    min-height: 100svh;
    padding-top: clamp(72px, 12svh, 120px);
    padding-bottom: clamp(72px, 12svh, 120px);
    align-items: center;
  }

  .statement,
  .title {
    line-height: 1.55;
  }

  .value-intro,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .copy {
    padding: 0;
  }

  .copy p {
    font-size: clamp(16px, 1.55vw, 22px);
  }

  .value-card {
    padding: 10px;
  }

  .value-card p {
    font-size: clamp(16px, 1.55vw, 22px);
    padding: 0;
  }

  .history-wrap {
    padding-left: 28px;
  }

  .history-item::before {
    left: -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .splash {
    display: none;
  }

  .panel__inner {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-reveal] .eyebrow,
  [data-reveal] .title,
  [data-reveal] .statement,
  [data-reveal] .value-intro h2,
  [data-reveal] .copy,
  [data-reveal] .copy p,
  [data-reveal] .value-card,
  [data-reveal] .history-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .fixed-header {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}