/* ============================================================ 
common css
============================================================ */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  min-width: 100%;
  width: 100%;
  color: #333;
  font-family: 'Noto Sans JP','sans-serif';
  background: #fff;
}

main {
  display: block;
  background: #fff;
}

p, li, span, a, dt, dd, input, textarea, button {
  color: #333;
  font-family: 'Noto Sans JP','sans-serif';
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  p, li, span, a, dt, dd, input, textarea, button {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 414px) {
  p, li, span, a, dt, dd, input, textarea, button {
    font-size: 1.4rem;
  }
}

a {
  text-decoration: none;
}

img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  vertical-align: bottom;
}

.wrap {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.inner {
  padding-left: 40px;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .inner {
    padding-left: 4%;
    padding-right: 4%;
  }
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .flex {
    display: block;
  }
}

input[type="text"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}
