:root {
  --key-color: #004097;
}

/*----- base -----*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.5;
  color: var(--key-color);
  scroll-behavior: smooth;
}
body {
  font-size: 1.6rem;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
ul {
  list-style: none;
}
picture img {
  /*width: 100%;*/
}
/*
@media (max-width:1919px) {
  html {
    font-size: .526vw;
  }
}*/
@media (max-width:1000px) {
  html {
    font-size: 1vw;
  }
}
@media (max-width:767px) {
  html {
    font-size: 2.564vw;
  }
}
/*----- base end -----*/

/*----- common -----*/
.mb3 {
  margin-bottom: 3rem;
}
@media (max-width:767px) {
  .l-box {
    padding: 1.8rem;
  }
}
/*----- common end -----*/

.contain {
  width: 96rem;
  margin: 0 auto;
}
.contain-bg {
  background-image: linear-gradient(#008CD6, #004097);
}
.main {
  max-width: 1920px;
  margin: 0 auto;
}
.page-top {
  position: fixed;
  left: calc(50% + 575px);
  bottom: 10px;
  z-index: 99;
}
.flow {
  background: #fff;
  /*margin-top: 5rem;*/
}
.flow__dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
.flow__dl dt {
  width: 50px;
  margin: 0 1rem;
}
.flow__dl dd {
  width: calc(100% - 140px);
  margin-right: 70px;
}
.flow__dl dd h2 {
  font-size: 3rem;
  font-weight: bold;
}
.flow__jump {
  padding: .5em;
  display: block;
  margin: 1rem auto;
  border: 1px solid var(--key-color);
  text-decoration: none;
  font-weight: bold;
}
.flow__note {
  padding: 1em;
  background: #D4E7F4;
  margin: 1rem auto;
  display: flex;
  justify-content: center;
}
.flow__ttl {
  display: block;
  text-align: center;
  margin-bottom: 3rem;
}
.footer {
  background: #efefef;
  padding: 3em 1em;
  color: #000;
}
.footer__inquiry {
  text-align: center;
}
.footer__inquiry p {
  margin:.5em 0;
}
.footer__inquiry__tel {
  font-size: 1.3em;
}
.footer__requirement {
  margin-top: 2em;
}
.footer__requirement__ttl {
  border-bottom: 2px dotted #9e9e9f;
  padding-left: .5em;
}
.footer__requirement__body {
  padding: 1em;
}
.terms {
  background: #fff;
}
.terms h2 {
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
}
.terms h3 {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
}
.terms__before {
  color: #666666;
  text-align: center;
  margin-bottom: 1em;
}
.terms__btn {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.terms__btn__a {
  display: flex;
  background: #707070;
  width: 70rem;
  height: 11.6rem;
  justify-content: center;
  align-items: center;
  border-radius: 6rem;
  pointer-events: none;
  color: #fff;
  font-size: 4.2rem;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
}
.terms__btn__a.active {
  pointer-events: auto;
  background: #FF0100;
}
.terms__btn__a p {
  display: flex;
  align-items: center;
}
@media screen and (max-width:767px) {
  .terms__btn__a p {
    display: block;
    text-align: center;
    height: 10rem;
  }
}
.terms__btn__a p span {
  font-size: 2.6rem;
}
.terms__scroll {
  color: #000;
  border: 1px solid #707070;
  overflow-y: scroll;
  padding: 3rem;
  height: 50rem;
}
.terms__scroll__head {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
}
.terms__scroll__body {
  font-weight: 400;
  font-size: 1.5rem;
}
@media screen and (max-width:767px) {
  .terms__scroll {
    padding: 1rem;
  }
}
.upload {
  background: #008CD6;
  text-align: center;
  color: #fff;
}
.upload h2 {
  font-weight: bold;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.upload__sample {
  color: var(--key-color);
  font-size: 2.6rem;
  font-weight: bold;
  border: 3px solid var(--key-color);
  background: #fff;
  padding: .5em;
  line-height: 1;
  margin-top: 3rem;
  position: relative;
}
.upload__sample-img {
  background: #fff;
  padding: 3rem;
  border: 3px solid var(--key-color);
  border-top: none;
}
.upload__sample-img p {
  margin-bottom: 1em;
  font-size: 2rem;
  color: #707070;
  font-weight: 400;
}
.upload__sample-img--bad {
  display: none;
}
.upload__good {
  background: #fff;
  padding: 3rem;
}
.upload__sample--bad {
  cursor: pointer;
}
.upload__sample--bad:after {
  content: '';
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  border-right: 3px solid var(--key-color);
  border-top: 3px solid var(--key-color);
  rotate: 135deg;
  position: absolute;
  right: 4rem;
  top: .3rem;
}
.upload__sample--bad.is-open:after {
  rotate: -45deg;
  right: 4rem;
  top: 2rem;
}
.upload__sample--bad2 {
  padding-right: 6rem;
}
@media screen and (max-width:767px) {
  .upload__sample {
    font-size: 2.2rem;
  }
  .upload__sample--bad:after {
    width: 2.2rem;
    height: 2.2rem;
  }
}
.upload__ul {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}
.upload__ul li {
  width: 24%;
  flex: none;
}
.upload__ul li p {
  font-size: 1.4rem;
  margin-top: .5em;
}
.wrapper {
  max-width: 1920px;
  margin: 0 auto;
}
.flex__item__ttl {
  color: #fff;
  font-weight: bold;
  background: #2886C9;
  padding: 1rem;
  font-size: 2rem;
  text-align: center;
}
@media screen and (max-width:767px) {
  .flex__item__ttl {
    font-size: 2rem;
  }
}
.flex__item__body picture {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}
.line {
  border-bottom: 2px dotted var(--key-color);
  margin-top: 2rem;
}
h2 .small {
  font-size: 2.2rem;
}

@media (max-width:1309px) {
  .page-top {
    width: 10vw;
    right: 10px;
    left: auto;
  }
  .terms__btn__a picture {
    width: 37vw;
  }
}
@media (max-width:767px) {
  .contain {
    width: 100%;
  }
  .flow__note,
  .flow__jump {
    width: 100%;
    font-size: 1.4rem;
  }
  .flow__dl dd {
    font-size: 1.4rem;
    width: calc(100% - 14vw);
    margin-right: 0;
  }
  .flow__dl dd h2 {
    font-size: 2.6rem;
    line-height: 1.3;
  }
  .flow__dl dd h2 span {
    font-size: 1.6rem;
    line-height: 1;
    display: block;
    margin-bottom: .5em;
  }
  .flow__dl dt {
    width: 13vw;
    margin: 0 1vw 0 0;
  }
  .flow__jump {
    text-indent: -1em;
    padding-left: 1.5em;
    font-size: 1.6rem;
  }
  .footer {
    font-size: 1.6rem;
  }
  .terms h2 {
    font-size: 2.2rem;
  }
  .terms h3 {
    font-size: 2.9rem;
  }
  .terms__before {
    font-size: 1.4rem;
  }
  .terms__btn__a {
    width: 34.6rem;
    height: 11.6rem;
    border-radius: 10rem;
    flex-wrap: wrap;
  }
  .terms__btn__a picture {
    width: 64vw;
  }
  .terms__scroll__body {
    font-size: 1.4rem;
  }
  .terms__scroll__head {
    font-size: 1.6rem;
  }
  .upload {
    margin-top: 0;
  }
  .upload h2 {
    font-size: 2.6rem;
  }
  .upload p {
    font-size: 1.6rem;
  }
  .upload__good,
  .upload__sample-img {
    padding: 1em;
  }
  .upload__sample-img p {
    font-size: 1.8rem;
  }
  .upload__ul {
    justify-content: center;
    width: 30rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
  }
  .upload__ul li {
    width: 100%;
    margin-bottom: 2rem;
  }
  .upload__ul li p {
    font-size: 1.5rem;
  }
  .terms__btn__a span {
    font-size: 2.6rem;
  }
}

/*
 * modal
 */
.modal {
  position: fixed;
  top: calc(50% - 260px);
  left: calc(50% - 350px);
  width: 700px;
  height: 520px;
  border: none;
  border-radius: 20px;
}
.modal::backdrop {
  background: #646464;
  opacity: .75;
}
.modal .modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.modal .modal-close {
  position: absolute;
  top: 6px;
  right: 12px;
}
