@charset "UTF-8";


/*フォーム
-------------------------------------*/

.write {
      border-left: 1px solid #000;
      padding-bottom: 100px;
}

.flow {
      width: 611px;
      margin: 0 auto 60px;
      padding: 2rem 1rem;
      border-top: 1px solid #000;
      border-bottom: 1px solid #000;
}

.flow ul {
      display: flex;
      width: 100%;
}

.flow ul li {
      flex: 1;
      text-align: center;
      font-size: 1.6rem;
      font-family: "Noto-Serif-JP-medium";
}

.flow ul li.current {
      color: #ffb068;
}

h3 {
      font-size: 1.6rem;
      text-align: center;
      line-height: 1.6;
}

#formarea {
      width: 610px;
      margin: 40px auto 0;
      font-size: 1.6rem;
}

dl {
      display: flex;
}

dl.term {
      display: block;
}

dt {
      width: 320px;
      white-space: nowrap;
      padding: 40px 0;
      font-size: 1.6rem;
      font-weight: 300;
}

.term dt {
      padding: 40px 0 0;
}

dd {
      padding: 20px 0;
      font-size: 1.5rem;
}

.send dt,
.send dd {
      padding: 20px 0;
}

.Required {
      font-size: 1.5rem;
      color: #ffb068;
      margin-left: 0.5em;
}

dl .pt-txt {
      font-size: 90%;
      padding-bottom: 1rem;
}

dl .vali {
      display: block;
      color: #9D1E1E;
      margin-top: 0.5rem;
}

dl.term p {
      font-size: 1.4rem;
      padding-bottom: 1rem;
}

select {
      position: relative;
      width: 346px;
      font-size: 1.6rem;
      padding: 1rem;
      border: 1px #707070 solid;
      vertical-align: middle;
}

select::after {
      position: absolute;
      content: url(../img/contact/select.svg);
      width: 100px;
      height: 30px;
      top: 0;
      right: 0;
}

label input {
      font-size: 1.6rem;
      padding: 1rem;
      border: 1px #707070 solid;
      vertical-align: middle;
}

label input.error {
      background-color: #ebc5c5;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
      width: 346px;
}

input[name="amount"] {
      width: 346px !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
}

input[type="radio"] {
      width: 22px;
      height: 22px;
      vertical-align: middle;
      margin-right: 1rem;
}

input[type="radio"]:last-child {
      margin: 0 1rem 0 0;
}

textarea {
      font-family: inherit;
      font-size: 1.5rem;
      width: 346px;
      padding: 1em;
      border: 1px #707070 solid;
}

#scroll {
      width: 100%;
      height: 123px;
      padding: 1rem;
      border: 1px solid #707070;
      overflow: scroll;
}

p.term-txt {
      font-size: 1.5rem;
      line-height: 1.8;
}

p.term-check {
      text-align: center;
      font-size: 1.6rem;
      padding-top: 2rem;
}

.term a {
      display: initial;
      color: blue;
      text-decoration: underline;
}

input[type="checkbox"] {
      display: none;
}

input[type="checkbox"]+span {
      position: relative;
      padding-left: 35px;
      margin-bottom: 20px;
      font: 1.6rem;
      color: #000;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
}

input[type="checkbox"]+span:last-child {
      margin-bottom: 0;
}

input[type="checkbox"]+span:before {
      content: '';
      display: block;
      width: 20px;
      height: 20px;
      border: 1px solid #ffb068;
      position: absolute;
      left: 0;
      top: 0;
      opacity: .6;
      -webkit-transition: all .12s, border-color .08s;
      transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked+span:before {
      width: 10px;
      top: -5px;
      left: 5px;
      border-radius: 0;
      opacity: 1;
      border-top-color: transparent;
      border-left-color: transparent;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
}

/*確認画面へボタン*/
input[name="btn_confirm"] {
      width: 193px;
      height: 47px;
      display: block;
      color: #fff;
      background: #ccc;
      text-align: center;
      vertical-align: middle;
      margin: 3em auto !important;
      font-size: 1.6rem;
}

#check_button {
      display: flex;
      justify-content: center;
      width: 50%;
      margin: 3rem auto;
}

/*確認画面*/
/*戻るボタン*/
button.back {
      display: block;
      width: 193px;
      height: 47px;
      background: #000;
      color: #fff;
      text-align: center;
      border-style: none;
      vertical-align: middle;
      font-size: 1.6rem;
      margin: 0 2rem 0 0;
}

/*送信ボタン*/
input[name="btn_submit"] {
      display: block;
      width: 193px;
      height: 47px;
      background: #ffb068;
      color: #fff;
      text-align: center;
      border-style: none;
      vertical-align: middle;
      font-size: 1.6rem;
      margin: 0 0 0 2rem;
}

.back-index {
      display: block;
      width: 193px;
      height: 47px;
      line-height: 47px;
      background: #000;
      color: #fff;
      text-align: center;
      border-style: none;
      vertical-align: middle;
      font-size: 1.6rem;
      margin: 3em auto;
}

::-webkit-input-placeholder {
      opacity: 0.5;
}

::-moz-placeholder {
      opacity: 0.5;
}

:-ms-input-placeholder {
      opacity: 0.5;
}

::placeholder {
      color: #707070;
}

p.send_text {
      font-size: 16px;
      text-align: center;
}

@media (max-width: 900px) {
      .write {
            border-left: none;
      }

      .flow {
            width: 85%;
            margin: 0 auto 40px;
      }

      h3 {
            display: block;
            width: 85%;
            margin: 0 auto 2rem;
            font-size: 1.4rem;
            text-align: left;
            line-height: 1.4;
      }

      #formarea {
            width: 85%;
            margin-top: 0;
      }

      dl {
            display: block;
      }

      dt {
            padding: 0;
            font-size: 1.4rem;
      }

      dd {
            padding: 5px 0 10px;
      }

      .term dt {
            padding: 10px 0 0;
      }

      dl.term p {
            line-height: 1.5;
            padding-bottom: 1rem;
      }

      p.term-check {
            padding: 0 0 3rem;
            text-align: left;
      }

      .Required {
            font-size: 1.2rem;
      }

      select {
            width: 100%;
            font-size: 1.4rem;
      }

      label input {
            font-size: 1.4rem;
      }

      input[type="text"],
      input[type="email"],
      input[type="tel"] {
            width: 100%;
            height: 37px;
      }

      textarea {
            width: 100%;
      }

      input[name="btn_confirm"] {
            margin: 0 auto !important;
            font-size: 1.4rem;
      }

      input[name="btn_submit"],
      button.back,
      .back-index {
            font-size: 1.4rem;
      }

      p.send_text {
            font-size: 14px;
            text-align: center;
      }
}