@charset "UTF-8";
/* ==========================================================================
   コーディングルール / デザイントークン
   - rem 基準は 10px（html { font-size: 62.5% }）。 1.6rem = 16px
   - 余白・サイズは 8 の倍数を基本に統一
   - 値を変えるときは上（:root）だけ触れば全体に反映される
   ========================================================================== */
:root {
  --site-width: 1400px;
  --inner-width: 1100px;
  --gutter: 24px;

  --space-section: 80px;
  --space-content: 40px;
  --space-list: 20px;
  --space-2xs: 8px;
  --space-xs: 16px;
  --space-sm: 24px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;

  --fs-title: clamp(2.4rem, 2.1rem + 0.8vw, 3.2rem);
  --fs-heading: clamp(2.0rem, 1.8rem + 0.5vw, 2.4rem);
  --fs-text: 1.6rem;
  --fs-small: 1.4rem;
  --fs-fv-title: clamp(3.2rem, 2.4rem + 2.4vw, 5.6rem);
  --fs-en-head: clamp(3.2rem, 2.2rem + 2.6vw, 5.2rem);
  --fs-display: clamp(4.8rem, 2.4rem + 6vw, 11rem);

  --lh-tight: 1.4;
  --lh-base: 1.8;
  --ls-base: 0.04em;

  --font-base: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", var(--font-base);
  --font-fv: var(--font-base);

  --c-main: #1272AD; /* 白地で4.5:1以上（旧 #1580BE は4.3） */
  --c-accent: #FF6B57;
  --c-text: #333333;
  --c-text-weak: #6B6B6B; /* 白地で4.5:1以上（旧 #777 は4.48） */
  --c-bg: #ffffff;
  --c-bg-sub: #f5f5f7;
  --c-border: #e0e0e0;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;

  --z-base: 1;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}
@media (max-width: 1024px) {
  :root {
    --space-section: 64px;
    --space-content: 32px;
  }
}
@media (max-width: 768px) {
  :root {
    --space-section: 48px;
    --space-content: 24px;
    --space-list: 16px;
    --gutter: 16px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-base);
  font-size: var(--fs-text);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 0.7;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
h1, h2, h3, h4 {
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-base);
}
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.l-site {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.l-inner {
  width: 100%;
  max-width: var(--inner-width);
  margin-inline: auto;
}
.l-section {
  padding-block: var(--space-section);
}
.l-stack > * + * {
  margin-top: var(--space-content);
}
.l-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-list);
}
.t-title   { font-size: var(--fs-title); }
.t-heading { font-size: var(--fs-heading); }
.t-text    { font-size: var(--fs-text); }
.t-small   { font-size: var(--fs-small); color: var(--c-text-weak); }
.t-fv      { font-size: var(--fs-fv-title); }
