@charset "UTF-8";

/* Josh's Custom CSS Reset
/* https://www.joshwcomeau.com/css/custom-css-reset/
================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

#root {
  isolation: isolate;
}

/* prefers-reduced-motionのサポート確認 */
@supports (prefers-reduced-motion: reduce) {
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* PC / SP display toggle
================================================ */
.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (width <= 750px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* clearfix */
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

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

img,
picture {
  max-width: 100%;
  display: block;
}

li {
  list-style: none;
}

ul,
li {
  margin: 0;
  padding: 0;
}
