@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600&family=Montserrat:wght@300;400&display=swap");
/* ===== CSS Variables ===== */ :root {
  /* Colors */
  --color-primary: #0fb7b7;
  --color-text: #ffffff;
  --color-accent: #fbecc6;
  --color-shadow: rgb(4 186 187);
  /* Typography */
  --font-family-jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  --font-family-en: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-light: 300;
  --font-weight-semibold: 600;
  /* Spacing */
  --spacing-xs: 0.25em;
  --spacing-sm: 0.5em;
  --spacing-md: 1em;
  --spacing-lg: 1.25em;
  --spacing-xl: 1.8em;
  /* Shadows */
  --shadow-sm: 0 2px 20px var(--color-shadow);
  --shadow-md: 0 20px 60px var(--color-shadow);
  --shadow-glow: 0 0 16px var(--color-accent);
  /* Border radius */
  --radius-full: 999px;
  --radius-circle: 50%;
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.9s ease-out;
}
/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: var(--color-text);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 6px;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  line-height: var(--spacing-xl);
  color: var(--color-text);
  background-color: var(--color-primary);
  text-align: center;
  position: relative;
  font-family: var(--font-family-jp);
  font-weight: var(--font-weight-normal);
}
/* Background overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/bg.jpg") center / cover no-repeat;
  opacity: 0.75;
  z-index: -1;
}
/* ===== Typography ===== */
/* Japanese typography optimization */
html[lang="ja"] {
  font-feature-settings: "palt"1, "pkna"1;
  font-variant-east-asian: proportional-width ruby;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:lang(ja) {
  font-family: var(--font-family-jp);
  font-weight: var(--font-weight-normal);
}
:lang(en), .latin {
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
  font-variant-numeric: proportional-nums;
}
/* ===== Typography ===== */
h1, h2, h3 {
  letter-spacing: 0.02em;
  margin: 0 0 var(--spacing-xs);
  text-shadow: var(--shadow-sm);
}
h1 {
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.35;
  margin: 0 0 2em 0;
}
h2 {
  font-size: clamp(20px, 3.6vw, 32px);
  line-height: 1.4;
}
h3 {
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.45;
}
p.lead {
  margin: 0 auto var(--spacing-lg);
  max-width: 48ch;
  font-size: clamp(16px, 2.2vw, 20px);
  text-shadow: var(--shadow-sm);
  letter-spacing: 0.2em;
}
/* ===== Layout Components ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  background-color: transparent;
}
/* ===== UI Components ===== */
.brandmark {
  position: absolute;
  inset: 24px auto auto 24px;
  width: 10%;
}
.brandmark img {
  width: clamp(90px, 12vw, 150px);
  height: auto;
}
.notice {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: var(--shadow-sm);
}
/* ===== Footer ===== */
footer {
  position: absolute;
  inset: auto 0 18px 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  opacity: 0.9;
}
/* ===== Links ===== */
a {
  color: var(--color-accent);
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-text);
}
/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fade var(--transition-slow) both;
  }
  @keyframes fade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}