/* ==========================================================================
   root
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #033492;
  --color-primary-light: #00a0e9;
  --color-accent: #2176ff;
  --color-accent2: #009d46;
  --color-text: #333333;
  --color-bg: #f3f7ff;
  --color-bg2: #7c7c7c;
  --color-bg3: #d7d7d7;
  --color-white: #ffffff;
  --color-gradation: linear-gradient(
    90deg,
    rgba(0, 160, 233, 1) 0%,
    rgba(3, 52, 146, 1) 100%
  );

  /* Typography */
  --font-body: "Noto Sans JP", sans-serif;
  --font-body-en: "Montserrat", sans-serif;

  --fs-base: 0.875rem;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;

  --fs-xl: clamp(1.75rem, 2.5vw, 3rem);
  --fs-hero: clamp(2rem, 4vw, 4rem);
  --fs-hero-sub: clamp(1rem, 1.5vw, 3rem);

  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-base: 1.5;
  --lh-loose: 2;

  /* Layout */
  --container-max: 1100px;
  --header-h: 90px;
  --header-h-sp: 70px;

  /* Radius */
  --radius-circle: 100vmax;
  --radius-base: 30px;
  --radius-base-sp: 20px;

  /* Transition */
  --transition: 0.2s ease;
}

/* ==========================================================================
  reset
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

/* ==========================================================================
  animation
========================================================================== */
.js-fade-up,
.js-fade-down,
.js-fade-left,
.js-fade-right,
.js-fade-scale {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js-fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.js-fade-up.is-done,
.js-fade-down.is-done,
.js-fade-left.is-done,
.js-fade-right.is-done,
.js-fade-scale.is-done {
  opacity: 1;
  transform: none;
}
.js-fade-in.is-done {
  opacity: 1;
}

/* ── パターン ── */
.js-fade-up {
  transform: translateY(40px);
}
.js-fade-down {
  transform: translateY(-40px);
}
.js-fade-left {
  transform: translateX(40px);
}
.js-fade-right {
  transform: translateX(-40px);
}
.js-fade-scale {
  transform: scale(0.92);
}

/* ── 遅延 ── */
.js-delay-100 {
  transition-delay: 0.1s;
}
.js-delay-200 {
  transition-delay: 0.2s;
}
.js-delay-300 {
  transition-delay: 0.3s;
}
.js-delay-400 {
  transition-delay: 0.4s;
}
.js-delay-500 {
  transition-delay: 0.5s;
}
