* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  font-size: 62.5%;
  text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

body {
  font-family: var(--noto-sans);
  font-size: calc(var(--standard-font-size) * 100vw / var(--standard-width));
  line-height: var(--standard-line-height);
  color: var(--font);
  overflow-x: hidden;
  overflow-y: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

address {
  text-decoration: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--gray);
  outline: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  border-radius: calc(5 * 100vw / var(--standard-width));
  padding: calc(5 * 100vw / var(--standard-width));
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"]{
  max-width: calc(288 * 100vw / var(--standard-width));
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  position: relative;
  width: 1em;
  height: 1em;
  vertical-align: bottom;
}

input[type="checkbox"] {
  border-radius: 0.25em;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--main);
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
  content: '';
  position: absolute;
}
input[type="checkbox"]:checked::after {
  top: calc(0.275em - 2px);
  left: calc(0.2425em - 2px);
  width: 0.5em;
  height: 0.25em;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

input[type="radio"]:checked::after {
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  width: 0.5em;
  height: 0.5em;
  background-color: #fff;
  border-radius: 50%;
}