@charset "UTF-8";

/* ページタイトル
--------------------------------*/
.topimg
{
      background-image: url(../img/inquiry-topimg.webp);
      background-size: cover;
}

/* 見出し
--------------------------------*/
h3
{
      text-align: center;
      font-size: 2.5rem;
      font-weight: 400;
      padding-bottom: 3rem;
}

@media screen and (max-width: 1100px)
{
      h3
      {
            font-size: 2rem;
            padding-bottom: 20px;
      }
}

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

.write
{
      margin: 80px 0 40px;
}

p.comment
{
      text-align: center;
      font-weight: 400;
}

#formarea
{
      width: 700px;
      margin: 40px auto 0;
}

dl
{
      display: flex;
      padding-bottom: 30px;
}

dl.term
{
      display: block;
      padding-bottom: 0;
      padding-top: 30px;
}

dt
{
      width: 250px;
      white-space: nowrap;
}

.term dt
{}

dd
{
      font-size: 1.5rem;
      width: calc(100% - 250px);
}

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

.Required
{
      font-size: 1.1rem;
      color: #fff;
      background: #80A4BC;
      display: inline-block;
      padding: 0.1em 1em 0.3em;
      border-radius: 9999px;
}

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;
}

dl.term dt,
dl.term dd
{
      width: 100%;
}

label input
{
      padding: 1rem;
      border: 1px #8A9CAB solid;
      vertical-align: middle;
}

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

input[type="text"],
input[type="email"],
input[type="tel"]
{
      width: 100%;
}
input[type="file"]{
border:none;
padding: 0;
}
input[name="amount"]
{
      width: 100% !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;
      width: 100%;
      padding: 1em;
      border: 1px #8A9CAB solid;
}

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

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

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

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

input[type="checkbox"]+span
{
      position: relative;
      padding-left: 35px;
      margin-bottom: 20px;
      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 #01295D;
      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);
}
   select
   {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      font-size: 13px;
      color: #595757;
      width: 100%;
      padding: 1rem;
      border: 1px solid #8A9CAB;
      background: #FFF url(../img/icon-arrow-bk.svg) center right 1rem no-repeat;
      vertical-align: middle;
      margin: 0 auto;
   }

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

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

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

/*送信ボタン*/
input[name="btn_submit"]
{
      display: block;
      width: 230px;
      height: 50px;
      background: linear-gradient(90deg, #81a2bd 0%, #8be2a7 100%);
      color: #fff;
      text-align: center;
      border-style: none;
      vertical-align: middle;
      margin: 0 0 0 2rem;
}

.back-index
{
      display: block;
      width: 230px;
      height: 50px;
      line-height: 47px;
      background: #8A9CAA;
      color: #fff;
      text-align: center;
      border-style: none;
      vertical-align: middle;
      margin: 3em auto;
}

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

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

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

::placeholder
{
      color: #707070;
}

@media (max-width: 900px)
{
      .write
      {
            margin: 40px auto;
      }

      p.comment
      {
            display: block;
            width: 85%;
            margin: 0 auto;
            text-align: left;
      }

      #formarea
      {
            width: 85%;
      }

      dl
      {
            display: block;
            padding-bottom: 15px;
      }

      dt
      {
            width: 100%;
            padding: 0;
            padding-bottom: 0.5em;
      }

      dd
      {
            width: 100%;
      }

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

      dl.term p
      {
            line-height: 1.5;
      }

      .Required
      {
            margin-left: 1em;
      }

      label input
      {}

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

      textarea
      {
            width: 100%;
      }

      #check_button
      {
            display: block;
            width: 100%;
      }

      button.back
      {
            margin: 0 auto 30px;
      }

      input[name="btn_submit"]
      {
            margin: 0 auto 50px;
      }

      input[name="btn_confirm"]
      {
            margin: 50px auto !important;

      }
}