@charset "UTF-8";
/* @mixin  絶対位置の指定*/
/* -------------------------------------
   レイアウト
------------------------------------- */
.thanks p {
  text-align: center;
  padding: 5rem 0;
  font-size: 17px;
  font-size: 1.0625rem;
  font-weight: normal;
  line-height: 200%;
}

::-webkit-input-placeholder {
  color: #bebebe;
}

:-ms-input-placeholder {
  color: #bebebe;
}

::-ms-input-placeholder {
  color: #bebebe;
}

::placeholder {
  color: #bebebe;
}

#mailform dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

#mailform dl dt {
  background: #EBEBEB;
  padding: 8px 10px 6px 10px;
  margin-bottom: 15px;
  margin-right: 1%;
  width: 30%;
  position: relative;
}

#mailform dl dt span {
  font-size: 90%;
  font-weight: normal;
}

#mailform dl dt .required {
  position: absolute;
  top: 5px;
  right: 10px;
  display: inline-block;
  background: #6fb92c;
  border-radius: 2px;
  color: #FFF;
  padding: 4px 10px 4px 10px;
  font-size: 68%;
  line-height: 100%;
}

#mailform dd {
  position: relative;
  width: 68%;
  margin-bottom: 15px;
}

#mailform.check dl dd {
  padding: 8px 5px;
  border-bottom: 1px dotted #333;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="select"],
input[type="checkbox"],
textarea,
select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0.6em;
  outline: none;
  border: 1px solid #DDD;
  border-radius: 3px;
  font-size: 16px;
  width: 100%;
  resize: vertical;
}

input[type="text"]:required,
input[type="tel"]:required,
input[type="email"]:required,
input[type="select"]:required,
textarea:required,
select:required {
  border: 1px solid #bbb;
}

textarea#post {
  width: 100%;
  height: 200px;
  resize: vertical;
}

#gakureki_yy,
#gakureki_mm,
#age {
  width: 4rem;
}

#zip11 {
  width: 8rem;
}

#busuu {
  width: 8rem;
}

#graduation {
  width: 12rem;
}

/* IE */
input::-ms-clear {
  visibility: hidden;
}

select {
  width: 100%;
  resize: vertical;
}

input,
label {
  -webkit-transition: all .2s;
  transition: all .2s;
  font-size: 15px;
}

label {
  position: absolute;
  top: .7em;
  left: .5em;
  color: #aaa;
  line-height: 1;
  display: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #6fb92c;
}

input[type="text"]:focus + label,
input[type="email"]:focus + label,
input[type="tel"]:focus + label {
  position: absolute;
  display: block;
  top: -2.5em;
  left: 0;
  padding: .4em .7em .45em;
  border-radius: .2em;
  background-color: #6fb92c;
  color: #fff;
  font-size: 14px;
}

div {
  position: relative;
}

div input[type="tel"],
div input[type="email"] {
  border: 1px solid #bbb;
}

div input[type="email"]:focus + label,
div input[type="tel"]:focus + label {
  position: absolute;
  display: block;
  top: -2rem;
  left: 0;
  padding: .4em .7em .45em;
  border-radius: .2em;
  background-color: #6fb92c;
  color: #fff;
  font-size: 14px;
}

div input[type="tel"]:focus + label::after,
div input[type="email"]:focus + label::after,
input[type="email"]:focus + label::after,
input[type="text"]:focus + label::after,
input[type="tel"]:focus + label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #6fb92c;
}

/* ラジオボタン */
input[type=radio],
input[type=checkbox] {
  opacity: 0;
}

.checkbox {
  color: #000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 5px 12px;
  position: relative;
  width: auto;
}

.checkbox::before {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  content: '';
  display: block;
  height: 16px;
  left: -10px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}

.checkbox::after {
  border-right: 6px solid #00cccc;
  border-bottom: 3px solid #00cccc;
  content: '';
  display: block;
  height: 20px;
  left: 0;
  margin-top: -16px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  width: 9px;
}

input[type=radio]:checked + .checkbox::before,
input[type=checkbox]:checked + .checkbox::before {
  border-color: #666;
}

input[type=radio]:checked + .checkbox::after,
input[type=checkbox]:checked + .checkbox::after {
  opacity: 1;
}

/* ボタン */
#btn_wrap {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

input.btn {
  width: 500px;
  max-width: 90%;
  padding: 20px;
  background: #6fb92c;
  color: #fff;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: bold;
  border: solid 1px;
  border-radius: 5px;
}

input.btn:hover {
  background: #fff;
  color: #333;
  border: solid 1px #6fb92c;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  cursor: pointer;
}

input.btn:active {
  background: #6fb92c;
  color: #fff;
}

#btn_wrap2 {
  text-align: left;
  position: relative;
  width: 130px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  margin: 10px 0;
}

#btn_wrap2:before {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  content: "";
  width: .6em;
  height: .6em;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
  -webkit-transform: rotate(-45deg);
  transform: rotate(45deg);
}

input.back {
  padding: 10px 80px;
  background: #4b4b4b;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

#agreement {
  text-align: center;
}

/* エラー */
.error_text {
  background-color: #FF0004;
  color: #FFFFFF;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  margin-top: 20px;
}

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

input.error:focus,
textarea.error:focus {
  border-color: #319DE5;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 736px) {
  body {
    margin: 0;
  }
  * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
    font-size: 14px;
    font-size: 0.875rem;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .pc_only {
    display: none;
  }
  .sphone_only {
    display: block;
  }
  main {
    margin: 1rem auto;
  }
  main h1 {
    border: 2px solid #004097;
    padding: 10px 0;
    font-size: 16px;
    font-size: 1rem;
    margin-bottom: .4rem;
  }
  main h2 {
    font-size: 15px;
    font-size: 0.9375rem;
    margin: 1rem 0 .5rem 0;
  }
  #mailform dl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-top: 1rem;
  }
  #mailform dl dt {
    width: 98%;
    margin-bottom: 5px;
  }
  #mailform dl dd {
    width: 98%;
  }
  #mailform.check dl dd {
    padding: 0 0 10px 5px;
    border-bottom: none;
  }
  .checkbox {
    margin-bottom: 1rem;
  }
}

p.kanryo {
  text-align: center;
  padding-top: 20%;
}
