@charset "UTF-8";
/* ==========================================================================
   common.css : 全ページ共通（リセット・変数・ベース・ユーティリティ）
   ========================================================================== */

/* --------------------------------------------------------------------------
   変数
   -------------------------------------------------------------------------- */
:root {
  --color-red: #b70000;
  --color-red-dark: #b40101;
  --color-red-bright: #fa0100;
  --color-black: #000;
  --color-text: #353535;
  --color-text-sub: #5e5e5e;
  --color-gray-bg: #f2f3f5;
  --color-placeholder: #d9d9d9;
  --color-white: #fff;

  --font-base: "Mohave", "Noto Sans JP", sans-serif;
  --font-sans: "Noto Sans", "Noto Sans JP", sans-serif;
  --font-mincho: "BIZ UDMincho", serif;

  --side-padding: 7rem;
}

/* --------------------------------------------------------------------------
   リセット
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd,
figure, blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   ベース
   デザイン幅1920pxを基準に、1rem = 10px（1920px時）で可変させる
   -------------------------------------------------------------------------- */
html {
  font-size: min(10px, calc(100vw / 192));
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 2.9rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   ユーティリティ
   -------------------------------------------------------------------------- */
.u-red {
  color: var(--color-red);
}

.u-sans {
  font-family: var(--font-sans);
}

.u-sp-only {
  display: none;
}

.u-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   [共通]レスポンシブ対応
   ========================================================================== */
/*960px以下*/
@media only screen and (max-width: 960px) {
  /* 750px幅のSPデザインを想定し、375px時に1rem = 5px */
  html {
    font-size: calc(100vw / 75);
  }

  :root {
    --side-padding: 4rem;
  }

  .u-sp-only {
    display: inline;
  }

  .u-pc-only {
    display: none;
  }
}
