@charset "UTF-8";
/* Contact Us */
.sub.cont{
  h2{
    display: flex;
    justify-content: center;
    margin-bottom:30px;
    position: relative;
    width: 100%;
    @media screen and (max-width: 767px) {
      margin-bottom: calc(30 / 3.75 * 1vw);
    }
    span{
      color: #215C98;
      letter-spacing: .1em;
      font-weight: 700;
      font-size: 32px;
      background: #fff;
      padding: 0 .5em;
      text-align: center;
      
      @media screen and (max-width: 767px) {
        font-size: calc(20 / 3.75 * 1vw);
      }
    }
    &.ag span{
      color: #21b4c2;
    }
    &::before{
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      border-bottom: 3px double #215C98;
      top: 50%;
      z-index: -1;
      @media screen and (max-width: 767px) {
        border-bottom: 1px solid #215C98;
      }
    }
    &.ag::before{
      border-bottom: 3px double #21b4c2;
      @media screen and (max-width: 767px) {
        border-bottom: 1px solid #21b4c2;
      }
    }
  }
  .flx-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    width: 800px;
    @media screen and (max-width: 767px) {
      padding: calc(30 / 3.75 * 1vw) calc(14 / 3.75 * 1vw);
      width: 100%;
    }
    &.priv{
      align-items: flex-start;
      padding: 30px 0 100px;
      @media screen and (max-width: 767px) {
        padding: calc(30 / 3.75 * 1vw) calc(14 / 3.75 * 1vw) calc(60 / 3.75 * 1vw);
      }
    }
  }
  .info{
    line-height: 1.75;
    font-size: 16px;
    @media screen and (max-width: 767px) {
      font-size: calc(14 / 3.75 * 1vw);
    }
    a{
      text-decoration: underline;
      color: #21b4c2;
    }
    &.ag{
      text-align: center;
    }
  }
  .notic{
    line-height: 1.75;
    font-size: 16px;
    margin-top: 1.5em;
    padding-left: 1em;
    text-indent: -1em;
    @media screen and (max-width: 767px) {
      font-size: calc(14 / 3.75 * 1vw);
    }
  }
  .btn-toform-box{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    @media screen and (max-width: 767px) {
      margin-top: calc(30 / 3.75 * 1vw);
      column-gap: calc(16 / 3.75 * 1vw);
    }
    a{
      width: 240px;
      height: 80px;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      line-height: 1.5;
      font-size: 18px;
      font-weight: 500;
      border-radius: 8px;
      color: #fff;
      @media screen and (max-width: 767px) {
        width: calc(160 / 3.75 * 1vw);
        height: calc(60 / 3.75 * 1vw);
        font-size: calc(14 / 3.75 * 1vw);
      }
      &.usr{
        background: #215C98;
      }
      &.agn{
        background: #21b4c2;
      }
    }
  }

  dl{
    line-height: 1.75;
    font-size: 16px;
    margin-top: 1.5em;
    @media screen and (max-width: 767px) {
      font-size: calc(14 / 3.75 * 1vw);
    }
    dt{
      font-weight: 700;
    }
    dd{
      padding-left: 1em;
    }
  }
}

/* Form */
.sub.cont .flx-box.form{
  padding: 0 0 120px;
  @media screen and (max-width: 767px) {
    padding: 0 calc(14 / 3.75 * 1vw) calc(80 / 3.75 * 1vw);
  }
  form{
    width: 100%;
    .input-wrap{
      border-top: 1px solid #bbb;
      border-right: 1px solid #bbb;
      @media screen and (max-width: 767px) {
        border: none;
      }
    }
    dl{
      display: flex;
      width: 100%;
      margin: 0;
      font-size: 15px;
      @media screen and (max-width: 767px) {
        flex-direction: column;
        font-size: calc(13 / 3.75 * 1vw);
      }
      dt{
        width: 240px;
        background-color: #215C98;
        color: #fff;
        font-weight: 400;
        padding: 1em;
        border-bottom: 1px solid #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        @media screen and (max-width: 767px) {
          width: 100%;
          padding: .3em .5em;
        }
        .req{
          font-size: .7em;
          color: #C1113B;
          background: #fff;
          padding: .1em .4em;
          margin-left: .5em;
          border-radius: 4px;
          @media screen and (max-width: 767px) {
            font-size: .9em;
            padding: .05em .4em;
          }
        }
      }
      dd{
        flex: 1;
        padding: 1em;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #bbb;
        @media screen and (max-width: 767px) {
          padding: .5em 0 1.5em .5em;
        }
        input[type=text],input[type=email]{
          width: 100%;
          font-size: 15px;
          padding: .8em .6em;
          border-radius: 4px;
          border: 1px solid #aaa;
          @media screen and (max-width: 767px) {
            font-size: calc(14 / 3.75 * 1vw);
          }
        }
        textarea{
          width: 100%;
          font-size: 15px;
          line-height: 1.5;
          height: 10em;
          border-radius: 4px;
          outline: none;
          border: 1px solid #aaa;
          @media screen and (max-width: 767px) {
            font-size: calc(14 / 3.75 * 1vw);
          }
        }
        &.file-info{
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          @media screen and (max-width: 767px) {
            align-items: center;
          }
          label{
            margin-bottom: 1em;
            @media screen and (max-width: 767px) {
              text-align: center;
            }
            span{
              font-size: .9em;
              color: #C1113B;
              @media screen and (max-width: 767px) {
                font-size: .8em;
              }
            }
          }          
        }
      }
    }
    .check-box{
      display: flex;
      flex-direction: column;
      align-items: center;
      row-gap: 1em;
      padding: 3em;
      font-size: 16px;
      background-color: #eee;
      margin: 1em 0;
      @media screen and (max-width: 767px) {
        padding: 2em 1em;
        font-size: calc(14 / 3.75 * 1vw);
        text-align: center;
      }
      input[type=checkbox]{
        height: 20px;
        width: 20px;
        margin-right: .4em;
        position: relative;
        top: -.1em;
        @media screen and (max-width: 767px) {
          height: calc(18 / 3.75 * 1vw);
          width: calc(18 / 3.75 * 1vw);
        }
      }
      .req{
        font-size: .8em;
        color: #fff;
        background: #C1113B;
        padding: .1em .4em;
        margin-left: .5em;
        border-radius: 4px;
      }
      .fnt-s{
        font-size: .9em;
      }
    }
    .btn-box{
      display: flex;
      justify-content: center;
      button{
        font-size: 18px;
        background: #215C98;
        color: #fff;
        padding: .5em 3em;
        border: none;
        border-radius: 8px;
        transition: .2s ease;
        @media screen and (max-width: 767px) {
          font-size: calc(18 / 3.75 * 1vw);
          padding: .5em 1em;
        }
        &:hover{
          @media screen and (min-width: 767.99px) {
            opacity: .7;
            cursor: pointer;
          }
        }
        &.hb{
          background: #999;
          margin: 0 1em;
          width: 200px;
          padding: 0;
          @media screen and (max-width: 767px) {
            margin: 0 .3em;
            width: calc(170 / 3.75 * 1vw);
          }
        }
        &.sm{
          width: 200px;
          margin: 0 1em;
          padding: .5em 0;
          @media screen and (max-width: 767px) {
            margin: 0 .3em;
            width: calc(170 / 3.75 * 1vw);
          }
        }
        &.ag{
          background: #21b4c2;
          @media screen and (max-width: 767px) {
            margin: 0 .3em;
            width: calc(170 / 3.75 * 1vw);
          }
        }
      }
    }
  }
  .input-wrap.ag{
    dt{
      background: #21b4c2;
    }
    
  }
}