@charset "utf-8";

#linkSection {

    background-color: #ecfaff;

}
.mvContainer {
    background-color: #999;
    padding: 0;
    height: 182px;
    overflow: hidden;
    position: relative;
}

/* agreeSention */

#agreeSection{
    background: #f6f6f6;
    line-height:1.6;
    font-size: 1.6rem;
    text-align: center;
    padding-bottom: 40px;
}

#agreeSection .infoText{
    margin-bottom: 30px;
}

#agreeSection .infoText.confirm,
#agreeSection .infoText.thanks{
    font-weight: bold;
    font-size: 2rem;
}

#agreeSection .agree{
    color: #009481;
    font-weight: bold;
    margin-top: 20px;
    vertical-align: middle;
}

#agreeSection .agree input[type=checkbox] {
  display: none;
}

.checkbox {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  margin: 0 20px 8px 0;
  padding: 12px 12px 12px 42px;
  vertical-align: middle;
  cursor: pointer;
}

.checkbox:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #c9c9c9;
  content: '';
}

.checkbox:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 21px;
  display: block;
  margin-top: -7px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #009481;
  border-bottom: 3px solid #009481;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type=checkbox]:checked + .checkbox:before {
  opacity: 1;
}

#formSection table{
    width: 100%;
    margin-bottom: 50px;
}

#formSection table th,
#formSection table td{
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    vertical-align:middle;
    padding: 16px 0;
}

#formSection table th{
    width: 27%;
    background: #d3fff9;
    position:  relative;
    font-size: 1.6rem;
    color:#009481;
    text-align: left;
    padding-left: 20px;
}

#formSection table td input{
    width: 60%;
    margin-left: 20px;
    padding: 8px;
}

#formSection table td textarea{
    width: 90%;
    margin-left: 20px;
    padding: 8px;
}
#formSection .error{
	margin-left:20px;
	margin-top:10px;
	color:#ff1a5b;
}
#agreeSection .error{
	color:#ff1a5b;
	margin-top:-10px;
}

#formSection table th:before{
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    top:0;
    left: 0;

}

#formSection table th:after{
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom:0;
    left: 0;

}

#btn-submit {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    display: block;
    background-color: #ff1a5b;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    width: 280px;
    margin: 0 auto;
    border-radius: 25px;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 3px #ea1041;
}

#btn-submit:hover {
    opacity: 0.8;
}

#btn-back {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    display: block;
    background-color: #7fcef4;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    width: 280px;
    margin: 0 auto;
	margin-top:20px;
    border-radius: 25px;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 3px #6cafd0;
}

#btn-back:hover {
    opacity: 0.8;
}

.confirmText{
    padding-left: 20px;
}

#thanksSection{
    text-align: center;
}

#thanksSection p{
    font-size: 1.8rem;
    line-height:1.8;
    margin-bottom: 70px;
}

/* PC */
@media screen and (min-width: 768px) {

}

/* SP */
@media screen and (max-width: 767px){

    .mvContainer {
        height: auto;
    }

    #agreeSection{

        padding-bottom: 30px;
    }



    #agreeSection .infoText{
        margin-bottom: 20px;
        padding: 0 20px;
    }


    #formSection table{
        display: block;
    }

    #formSection table tbody,
    #formSection table tr,
    #formSection table th,
    #formSection table td{
        display: block;
        width: 100%;
    }


    #formSection table td{
        border-top: none;
        border-bottom: none;


    }


    #formSection table th{

        background: #d3fff9;
        position:  relative;
        font-size: 1.6rem;
        color:#009481;
        text-align: left;
        padding-left: 20px;
    }


    #formSection table td input{
        width: 90%;
        margin-left: 20px;
        padding: 8px;
    }

    #formSection table td textarea{
        width: 90%;
        margin-left: 20px;
        padding: 8px;
    }

    .checkbox {

      padding: 12px 12px 12px 54px;

    }


    .checkbox:after {

      width: 22px;
      height: 22px;

    }


    .checkbox:before {
      left: 24px;
    }

}