@charset "UTF-8";

:root {
  --color-primary: #FFF8DC;
  --color-primary-light: #FFFBEA;
  --color-base: #FFFFFF;
  --color-accent: #F5E8B8;
  --color-text: #333333;
  --color-text-sub: #666666;
  --color-border: #E5E5E5;
  --color-button: #E8B84A;
  --color-button-hover: #D9A838;
  --color-error: #C94A4A;
  --color-error-bg: #FFF0F0;
  --color-error-border: #E8AAAA;

  --container-max: 1080px;
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-nav: -4px 0 16px rgba(0, 0, 0, 0.08);

  --color-focus-ring: rgba(232, 184, 74, 0.15);
  --color-white-glass: rgba(255, 255, 255, 0.5);

  --transition-base: 0.25s ease-in-out;

  --z-header:  100;
  --z-drawer:  110;
  --z-overlay: 200;
  --z-modal:   300;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  overflow-wrap: anywhere;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

a:hover,
a:focus-visible {
  opacity: 0.7;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

.js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-fade--delay-1 {
  transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
