:root {
  --color-ivory: #f9f6f2;
  --color-sand: #ebe1d0;
  --color-line: #ba9c68;
  --color-hero-ornament: #d1ae6e;
  --color-gold: #8b5b08;
  --color-gold-soft: #a57e3b;
  --color-ink: #404039;
  --color-piano: #231815;
  --color-white: #fff;
  --color-header-band: #ddcdb2;
  --color-panel-warm: #f2ebdf;
  --color-muted-line: #d9d9d7;
  --color-focus: #bd8200;
  --font-display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "DNPShueiGoKinStd-L-83pv-RKSJ-H", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-body-strong: "DNPShueiGoKinStd-B-83pv-RKSJ-H", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --container: 1170px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-height: 140px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
figure,
address {
  margin: 0;
}

address {
  font-style: normal;
}

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

site-header,
site-footer {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

::selection {
  background: var(--color-line);
  color: var(--color-piano);
}

.l-container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.u-nowrap {
  white-space: nowrap;
}

[aria-disabled="true"] {
  cursor: default;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--color-piano);
  color: var(--color-white);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 1319px) {
  :root {
    --header-height: 86px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 74px;
  }

  body {
    font-size: 15px;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
