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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
}
/* /reset */

/* variables */
:root {
  --color-brand: #0068b7;
  --color-blue-01: #b6dbed;
  --color-blue-02: #d5effc;
  --color-blue-03: #f0f8fb;
  --color-text: #373131;
  --color-gray-01: #f5f5f5;
  --color-pink: #f2a7a8;
  --color-yellow: #ffe24a;
  --color-white: #fff;

  --font-jp: "Noto Sans JP", sans-serif;
  --font-heading: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Afacad", sans-serif;

  --fs-body: clamp(14px, 12.944px + 0.2817vw, 17px);
  --fs-heading: clamp(28px, 24.479px + 0.939vw, 38px);
  --fs-en-title: clamp(20px, 19.296px + 0.1878vw, 22px);
  --fs-btn: clamp(14px, 13.296px + 0.1878vw, 16px);

  --lh-lead: 2.2;
  --lh-base: 1.8;
  --lh-heading: 1.4;

  --ls-base: 0.08em;
  --ls-btn: 0.1em;

  --content-width: 1200px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
/* /variables */

/* elements */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  color: var(--color-text);
  background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
}

a,
button {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s;
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* /elements */
