@charset "utf-8";

:root {
  --main-size: 16px;
  --sub-size: 14px;
  --large-size: 18px;
  --pc-width: clamp(729px,calc(729*100vw/769),1200px);
  --sp-width: calc(322*100vw/375);
}

@media screen and (max-width: 768px) {
  :root {
    --main-size: calc(14*100vw/375);
    --sub-size: calc(12*100vw/375);
  }
}

/* reset
-----------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  word-wrap: break-word;
}

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  background: inherit;
  color: inherit;
  word-break: normal;
  vertical-align: baseline;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: var(--main-size);
  line-height: 1.5;
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  body {
    font-size: calc(16*100vw/375);
  }
}

main {
  display: block;
  width: 100%;
}

header,
footer,
article,
section {
  display: block;
}

hr {
  width: 100%;
  overflow: visible;
  border: 0;
  background-color: currentColor;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  font-size: inherit;
}

span {
  display: inline-block;
  font-weight: inherit;
  font-size: inherit;
}

strong {
  display: inline-block;
  font-weight: bold;
  font-size: inherit;
}

ol,
ul,
dl,
ol li,
ul li {
  list-style: none;
}

a {
  transition-duration: 0.2s;
  display: inline-block;
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

@media (any-hover: hover) {
  a:hover {
    opacity: 0.5;
    text-decoration: none;
  }
}

a:focus {
  outline: none;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

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

table {
  border-color: #D9D9D9;
  text-indent: 0;
  border-collapse: collapse;
  caption-side: bottom;
}

table th {
  text-align: left;
}

table thead,
table tbody,
table tfoot,
table tr,
table td,
table th {
  border-width: 0;
  border-style: solid;
  border-color: inherit;
}

label {
  display: inline-block;
}

input,
button,
select,
textarea {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 10px;
  box-shadow: none;
  background-color: white;
  border: 1px solid #DEDEDE;
  border-radius: 5px;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  outline: none;
  resize: none;
  touch-action: manipulation;
}

input[type="text"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="number"] {
  display: inline-block;
  width: 100%;
}

textarea {
  width: 100%;
  height: 100%;
  min-height: 100px;
  vertical-align: bottom;
}

input::-moz-placeholder {
  opacity: 1;
  color: #DEDEDE;
}

input::placeholder {
  opacity: 1;
  color: #DEDEDE;
}

textarea::-moz-placeholder {
  opacity: 1;
  color: #DEDEDE;
}

textarea::placeholder {
  opacity: 1;
  color: #DEDEDE;
}

input.error,
textarea.error {
  border-color: #E80101;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  border: none;
  border-radius: 0;
  text-transform: none;
  outline: none;
  transition-duration: 0.2s;
  -moz-appearance: none;
  appearance: none;
}

@media (any-hover: hover) {
  button:hover,
  [type="button"]:hover,
  [type="reset"]:hover,
  [type="submit"]:hover {
    opacity: 0.9;
  }

  button:active,
  [type="button"]:active,
  [type="reset"]:active,
  [type="submit"]:active {
    opacity: 1;
  }

  button:focus,
  [type="button"]:focus,
  [type="reset"]:focus,
  [type="submit"]:focus {
    opacity: 0.9;
  }

  button:not(disabled),
  [type="button"]:not(disabled),
  [type="reset"]:not(disabled),
  [type="submit"]:not(disabled) {
    cursor: pointer;
  }
}

select {
  text-transform: none;
  word-wrap: normal;
  cursor: pointer;
  -moz-appearance: none;
  appearance: none;
}
