@charset "UTF-8";
/* CSS Document */

@media screen and (min-width: 768px) {
  header{
    background: url("../img/form/mv_bk.png") repeat-x;
    background-size: auto 100%;
  }
}

header{
  text-align: center;
  margin-bottom: 60px;
}

.agree {
  margin-bottom: 65px;
}

.agree h1{
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 15px;
  border-bottom: 3px solid #016373;
}

.agree h2{
  font-size: 20px;
  line-height: 1;
  color: #0e707e;
  font-weight: 600;
  margin-bottom: 10px;
}

.agree div + h2{
  margin-top: 25px
}

.agree p.sb{
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 35px;
}

.agree p.sb span{
  color: #db1d91;
}

.agree .ap{
  height: 210px;
  padding: 20px;
  background: #f1f1f1;
  border: 1px solid #919191;
}

.agree .ap > div{
  width: 100%;
  height: 100%;
  overflow: auto;
}

.agree .ap h3{
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 5px;
}

.agree .ap p,
.agree .ap li{
  font-size: 16px;
  line-height: 1.4;
}

.agree .ap p + h3,
.agree .ap ul + h3{
  margin-top: 20px;
}

.agree .ap p + p,
.agree .ap ul + p{
  margin-top: 10px;
}

.agree .ap p + ul{
  margin-top: 5px;
}

.agree .ap li{
  padding-left: 1.1em;
}

.agree .ap li::before{
  width: 1.1em;
  content: "●";
  color: #8ba8aa;
  transform: scale(.6);
  display: inline-block;
  margin-left: -1.1em;
}

.agree_box{
  margin-top: 35px;
  text-align: center;
  background: #dbf0f2;
  padding: 13px;
}

.checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.input .checkbox,
.qa .checkbox{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.checkbox + .checkbox{
  margin-top: 5px;
}

.checkbox input[type="checkbox"] {
  appearance: none;
  width: 25px;
  height: 25px;
  border: 1px solid #919191;
  background: #FFF;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0;
}

.checkbox input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform 0.2s ease;
  background: white;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox input[type="checkbox"]:checked {
  background: #016373;
  border-color: #016373;
}

.checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox span {
  width: 100%;
  font-size: 16px;
  line-height: 1.3;
  cursor: pointer;
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid #016373;
  outline-offset: 2px;
}

input[type="text"],
input[type="mail"],
input[type="tel"]{
  font-size: 16px;
  line-height: 1.3;
  padding: 13px;
  border: 1px solid #919191;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
}

input[type="text"]:focus,
input[type="mail"]:focus,
input[type="tel"]:focus{
  outline: none;
  border-color: #016373;
  box-shadow: 0 0 0 3px rgba(1, 99, 115, 0.15);
}

input::placeholder,
select:invalid {
  color: #919191;
}

input[type="text"] + input[type="text"]{
  margin-top: 10px;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  appearance: none;
  width: 25px;
  height: 25px;
  border: 1px solid #919191;
  background: #FFF;
  border-radius: 50%;
  display: grid;
  cursor: pointer;
  place-content: center;
  transition: 0.2s;
}

.radio-group input[type="radio"]::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
  background: #016373;
}

.radio-group input[type="radio"]:checked {
  border-color: #016373;
}

.radio-group input[type="radio"]:checked::before {
  transform: scale(1);
}

.radio-group input[type="radio"]:focus-visible {
  outline: 2px solid #016373;
  outline-offset: 2px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 50%;
}

.select-wrap select {
  appearance: none;
  width: 470px;
  font-size: 16px;
  line-height: 1.3;
  color: #282828;
  padding: 13px;
  border: 1px solid #919191;
  background: #FFF;
  cursor: pointer;
  transition: 0.2s;
}

.select-wrap select:focus {
  outline: none;
  border-color: #016373;
  box-shadow: 0 0 0 3px rgba(1, 99, 115, 0.15);
}

.file-box {
  display: flex;
  width: 633px;
  max-width: 100%;
  border: 1px solid #919191;
  overflow: hidden;
  cursor: pointer;
  font-size: 16px;
  left: 1.3;
}

.file-box input {
  display: none;
}

.file-btn {
  background: #3f3f3f;
  color: #fff;
  padding: 12px 20px;
  white-space: nowrap;
}

.file-name {
  flex: 1;
  padding: 13px 16px;
  background: #FFF;
  color: #919191;
}

.wsm{
  width: 290px;
}

.wmd{
  width: 470px;
}

.wla{
  width: 633px;
}

.input{
  padding: 70px 0 60px;
  background: #f1f1f1;
  border-top: 9px solid #016373;
}

.input dl > div{
  display: flex;
  justify-content: flex-start;
  gap: 0 20px;
}

.input dl > div + div{
  margin-top: 20px;
}

.input dl dt{
  width: 165px;
  font-size: 16px;
  line-height: 1.3;
  padding: 15px 0;
}

.input dl dt span,
.qa h3 span{
  font-size: 12px;
  line-height: 1;
  color: #FFF;
  background: #db1d91;
  padding: 3px 3px;
  margin-left: .5em;
  display: inline-block;
  transform: translateY(-2px)
}

.input dl dd{
  font-size: 16px;
  line-height: 1.3;
}

.input p.sm{
  font-size: 13px;
  line-height: 1.4;
  margin-top: 5px;
}

.input p.sm + input{
  margin-top: 8px;
}

.re{
  width: 633px;
  margin-top: 20px;
}

.re p{
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.re p span{
  color: #db1d91;
}

.qa{
  width: 800px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.qa h2{
  font-size: 25px;
  line-height: 1;
  text-align: center;
  margin-bottom: 35px;
}

.qa h3{
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 8px;
  padding-left: 2em;
}

.qa h3.check_point{
  padding-left: 0;
  margin-top: 60px;
}

.qa h3 i{
  width: 2em;
  font-family: "Roboto", sans-serif;
  color: #016373;
  font-weight: 600;
  display: inline-block;
  margin-left: -2em;
}

.qa input + h3,
.qa div + h3,
.qa p + h3{
  margin-top: 20px;
}

.qa .select-wrap,
.qa .select-wrap select{
  width: 550px;
}

.qa input[type="text"]{
  width: 100%;
  margin-top: 8px;
}

.qa input.ml{
  margin-left: 35px;
}

.btn_box{
  padding-top: 30px;
  text-align: center;
  border-top: 3px solid #016373;
}

.btn-primary {
  display: inline-block;
  width: 365px;
  font-size: 22px;
  padding: 23px 0;
  background: #db1d91;
  color: #FFF;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

@media screen and (min-width: 768px) {
  .btn-primary:hover {
    opacity: 0.8;
  }
}
  
.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}


footer{
  padding-top: 50px;
}

.error{
  font-size: 14px;
  line-height: 1;
  color: #BC292B;
  margin: 5px 0;
}

.check .agree{
  margin-bottom: 35px;
}

.check .input{
  padding: 30px 0 35px;
  border-top: none;
}

.check .input .inner{
  max-width: 800px;
  margin: 0 auto;
}

.check dl > div + div{
  margin-top: 9px;
}

.check dt span{
  display: none !important;
}

.check dt{
  padding: 5px !important;
}
.check dd{
  width: 100%;
}

.check dd p{
  font-size: 16px;
  line-height: 1.4;
  padding: 5px 9px;
  background: #FFF;
}

.check dd p + p{
  margin-top: 9px;
}

.check dd p img{
  display: block;
  margin-top: 5px;
}

.check .qa{
  padding: 30px 0 40px;
}

.check .qa h2{
  text-align: left;
  margin-bottom: 30px;
}

.check .qa h3 span{
  display: none;
}

.check .qa > div{
  padding: 5px 9px;
  background: #f1f1f1;
}

.check .qa > div p{
  font-size: 16px;
  line-height: 1.4;
}

.check .btn-primary {
  width: 280px;
}

.check .btn_box a.pbk {
  display: inline-block;
  width: 280px;
  font-size: 22px;
  padding: 23px 0;
  background: #FFF;
  color: #282828;
  border: 2px solid #2e99ab;
  margin-right: 18px;
}


@media screen and (max-width: 767px) {
  
  header{
    margin-bottom: 10vw;
  }

  .agree {
    margin-bottom: 15vw;
  }

  .agree h1{
    font-size: 6vw;
    line-height: 1;
    font-weight: 600;
    padding-bottom: 2vw;
    margin-bottom: 3vw;
    border-bottom: 2px solid #016373;
  }

  .agree h2{
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 2vw;
  }

  .agree div + h2{
    margin-top: 8vw
  }

  .agree p.sb{
    font-size: 3.6vw;
    line-height: 1.5;
    margin-bottom: 5vw;
  }

  .agree .ap{
    height: 80vw;
    padding: 4vw;
    background: #f1f1f1;
    border: 1px solid #919191;
  }

  .agree .ap h3{
    font-size: 3.6vw;
    line-height: 1.4;
  }

  .agree .ap p,
  .agree .ap li{
    font-size: 3.6vw;
    line-height: 1.4;
  }
  
  .agree .ap p + h3,
  .agree .ap ul + h3{
    margin-top: 5vw;
  }

  .agree .ap p + p,
  .agree .ap ul + p{
    margin-top: 3vw;
  }

  .agree .ap p + ul{
    margin-top: 2vw;
  }
  
  
  .agree_box{
    margin-top: 8vw;
    text-align: center;
    background: #dbf0f2;
    padding: 2vw;
  }

  .checkbox {
    gap: 1vw;
  }

  .input .checkbox,
  .qa .checkbox{
    gap: 1vw;
  }

  .checkbox + .checkbox{
    margin-top: 2vw;
  }

  .checkbox input[type="checkbox"] {
    width: 5vw;
    height: 5vw;
    border: 1px solid #919191;
  }

  .checkbox input[type="checkbox"]::before {
    width: 3vw;
    height: 3vw;
  }

  .checkbox span {
    font-size: 3.6vw;
    line-height: 1.3;
  }

  input[type="text"],
  input[type="mail"],
  input[type="tel"]{
    font-size: 3.6vw;
    line-height: 1.3;
    padding: 2vw;
  }

  input[type="text"] + input[type="text"]{
    margin-top: 2vw;
  }

  .radio-group {
    display: flex;
    gap: 4vw;
    padding: 0;
  }

  .radio-group label {
    display: flex;
    align-items: center;
    gap: 1vw;
    cursor: pointer;
  }

  .radio-group input[type="radio"] {
    width: 5vw;
    height: 5vw;
  }

  .radio-group input[type="radio"]::before {
    width: 3vw;
    height: 3vw;
  }
  
  .select-wrap::after {
    width: 8px;
    height: 8px;
    right: 4vw;
  }

  .select-wrap select {
    appearance: none;
    width: 100%;
    font-size: 3.8vw;
    line-height: 1.3;
    padding: 2vw;
  }

  .file-box {
    display: flex;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    font-size: 3.8vw;
    left: 1.3;
  }

  .file-box input {
    display: none;
  }

  .file-btn {
    background: #3f3f3f;
    color: #fff;
    padding: 2vw 4vw;
    white-space: nowrap;
  }

  .file-name {
    flex: 1;
    padding: 2vw 4vw;
  }

  .wsm{
    width: 100%;
  }

  .wmd{
    width: 100%;
  }

  .wla{
    width: 100%;
  }

  .input{
    padding: 10vw 0 15vw;
    border-top: 9px solid #016373;
  }

  .input dl > div{
    display: block;
  }

  .input dl > div + div{
    margin-top: 8vw;
  }

  .input dl dt{
    width: 100%;
    font-size: 3.6vw;
    line-height: 1.3;
    padding: 0;
    margin-bottom: 2vw;
  }

  .input dl dt span,
  .qa h3 span{
    font-size: 2.8vw;
    line-height: 1;
    color: #FFF;
    background: #db1d91;
    padding: 1vw;
    transform: translateY(-.5vw)
  }

  .input dl dd{
    font-size: 3.6vw;
    line-height: 1.3;
  }

  .input p.sm{
    font-size: 3vw;
    line-height: 1.4;
    margin-top: 1vw;
  }

  .input p.sm + input{
    margin-top: 3vw;
  }

  .re{
    width: 100%;
    margin-top: 5vw;
  }

  .re p{
    font-size: 3.6vw;
    line-height: 1.4;
    margin-bottom: 2vw;
  }

  .qa{
    width: 100%;
    padding: 15vw 4vw;
  }

  .qa h2{
    font-size: 5vw;
    line-height: 1;
    text-align: center;
    margin-bottom: 5vw;
  }

  .qa h3{
    font-size: 3.6vw;
    line-height: 1.4;
    margin-bottom: 2vw;
    padding-left: 2em;
  }
  
  .qa h3.check_point{
    margin-top: 10vw;
  }
  
  .qa input + h3,
  .qa div + h3,
  .qa p + h3{
    margin-top: 5vw;
  }

  .qa .select-wrap,
  .qa .select-wrap select{
    width: 100%;
  }

  .qa input[type="text"]{
    width: 100%;
    margin-top: 2vw;
  }

  .qa input.ml{
    width: 90%;
    margin-left: 8vw;
  }

  .btn_box{
    padding-top: 10vw;
  }

  .btn-primary {
    width: 80%;
    font-size: 5vw;
    padding: 4vw 0;
  }

  footer{
    padding-top: 15vw;
  }
  
  .error{
    font-size: 3vw;
    line-height: 1;
    color: #BC292B;
    margin: 2vw 0;
  }
  
  .check .agree{
    margin-bottom: 5vw;
  }

  .check .input{
    padding: 5vw 0 8vw;
    border-top: none;
  }

  .check dl > div + div{
    margin-top: 5vw;
  }

  .check dt{
    padding: 0 !important;
  }

  .check dd p{
    font-size: 3.6vw;
    line-height: 1.4;
    padding: 2vw;
  }

  .check dd p + p{
    margin-top: 1vw;
  }

  .check dd p img{
    display: block;
    margin-top: 2vw;
  }

  .check .qa{
    padding: 10vw 4vw;
  }

  .check .qa h2{
    text-align: left;
    margin-bottom: 5vw;
  }

  .check .qa h3 span{
    display: none;
  }

  .check .qa > div{
    padding: 2vw;
  }

  .check .qa > div p{
    font-size: 3.6vw;
    line-height: 1.4;
  }

  .check .btn-primary {
    width: 80%;
  }

  .check .btn_box a.pbk {
    width: 80%;
    font-size: 5vw;
    padding: 4vw 0;
    margin-bottom: 8vw;
  }
  
  
}





