/*----------------------------
* foundation／デフォルト設定
*----------------------------*/

@layer foundation {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-feature-settings: "palt" 1;
  }

  ul {
    list-style: none;
  }

  img,
  picture {
    border: none;
    display: block;
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
  }

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

  @font-face {
    font-family: "MontserratWF";
    src: url("../font/MontserratWF.woff2") format("woff2"), url("../font/MontserratWF.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  html {
    font-size: 62.5%;
  }

  body {
    position: relative;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    color: #000;
    background-color: #f5f5f5;
    font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro", sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }

  @media (max-width: 480px) {
    body {
      font-size: 1.6rem;
      line-height: 1.8;
    }
  }

  @media (max-width: 375px) {
    body {
      font-size: 1.5rem;
    }
  }

  a:link,
  a:active,
  a:visited,
  a:hover,
  a:focus {
    text-decoration: none;
  }
}
