:root {
  --text-base-color: #333333;
  --text-emphasis-color: #840000;
  --accent-color: #ffff5f;
  --sub-color1: #1b0046;
  --font-family-sansserif: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --font-family-serif: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-base-color);
  font-family: var(--font-family-sansserif);
  font-size: 1.6rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2.1rem;
}

h4 {
  font-size: 1.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h4,
h5,
h6 {
  margin: 0;
  line-height: 1.5;
}

p {
  margin-bottom: 0;
  line-height: 1.75;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

figure {
  margin: 0;
  text-align: center;
  line-height: 0;	
}

figcaption {
  font-size: 1.2rem;
}

nav ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

address {
  font-style: normal;
}

iframe {
  border: none;
}

button {
  padding: 0;
  background-color: transparent;
  border: none;
}

input,
textarea {
  padding: 6px 9px;
  width: 100%;
  font-size: 1.6rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  background-color: #ffffff;
  border: solid 1px #cccccc;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

select {
  padding: 6px 9px;
  height: 34px;
  font-size: 1.5rem;
  background-color: #ffffff;
  border: solid 1px #999999;
  border-radius: 4px;
}

hr {
  margin-top: 24px;
  border-bottom: none;
}
