@charset "UTF-8";
@media screen and (min-width: 770px) {
  h1:after {
    background-image: url(../img/contact/fv_img.jpg);
  }
  #form_area .form_box {
    margin-bottom: 68px;
    width: 950px;
  }
  #form_area dl {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
  }
  #form_area dl:last-of-type {
    margin-bottom: 0;
  }
  #form_area dl dt {
    width: 190px;
    line-height: 1.4;
    margin-top: -14px;
  }
  #form_area dl dd {
    width: calc(100% - 228px);
  }
  #form_area .tag {
    font-size: 11px;
    padding: 5px 2px 4px;
    line-height: 1;
    width: 30px;
    color: #fff;
    display: inline-block;
    border-radius: 6px;
    margin: -3px 0 0 10px;
    vertical-align: middle;
    text-align: center;
  }
  #form_area .required {
    background-color: #f14e38;
  }
  #form_area .any {
    background-color: #b4b4b4;
  }
  #form_area .caution {
    font-size: 14px;
    line-height: 1.2;
    display: block;
    color: #f14e38;
    width: 100%;
  }
  #form_area input[type="text"], #form_area input[type="email"], #form_area input[type="tel"], #form_area textarea {
    width: 100%;
    padding: 10px 14px 10px;
    height: 60px;
    font-size: 18px;
    border: 1px solid #cad8e5;
    border-radius: 6px;
  }
  #form_area textarea {
    min-height: 200px;
    width: 100%;
  }
  #form_area input::placeholder, #form_area textarea::placeholder {
    color: #d5d3d3;
  }
  #form_area .radio dd {
    display: flex;
    flex-wrap: wrap;
  }
  #form_area .radio dd label {
    margin-right: 38px;
    position: relative;
    cursor: pointer;
    padding-left: 28px;
    line-height: 1;
  }
  #form_area input[type="radio"] {
    display: none;
  }
  #form_area .radio dd label::before {
    content:"";
    display: block;
    width: 22px;
    height: 22px;
    border: 1px solid #cad8e5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  #form_area input[type="radio"]:checked + label:after{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2778BE;
    border-radius: 50%;
  }
  #form_area input[type="file"] {
    font-size: 16px;
    cursor: pointer;
  }
  #form_area .submit_btn input[type="submit"] {
    width: 100%;
    font-size: 22px;
    cursor: pointer;
    padding: 22px 60px 21px;
    border-radius: 15px;
    border: 2px solid var(--btn-border-blue);
    line-height: 1.3;
    color: var(--text-color-white);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    font-weight: 600;
    transition: all 0.3s;
    background-color: var(--btn-bg-color-blue);
    background-image: url(../img/share/btn_right_arrow.png);
    background-position: right 15px center;
    background-size: 38px;
    background-repeat: no-repeat;
    transition: all 0.3s;
  }
  #form_area .submit_btn input[type="submit"]:hover {
    background-color: var(--btn-bg-color-white);
    color: var(--btn-bg-color-blue);
    background-image: url(../img/share/btn_right_arrow_hover.png);
  }
  #form_area .error {
    color: #f14e38;
    padding-top: 14px;
    width: 100%;
    font-size: 16px;
    line-height: 1.4;
  }
}


@media screen and (max-width: 769px) {
  h1:after {
    background-image: url(../img/contact/fv_img.jpg);
  }
  .form_auto {
    width: 100%;
  }
  #form_area .form_box {
    margin-bottom: 50px;
    padding-top: 55px;
  }
  #form_area dl {
    margin-bottom: 30px;
  }
  #form_area dl:last-of-type {
    margin-bottom: 0;
  }
  #form_area dl dt {
    width: 100%;
    padding: 18px 5% 17px;
    display: flex;
    line-height: 1;
    flex-wrap: wrap;
    background-color: var(--bg-color-blue);
    margin-bottom: 22px;
  }
  #form_area dl dd {
    width: 90%;
    margin: 0 auto;
  }
  #form_area .tag {
    font-size: 10px;
    padding: 1px 3px 1px;
    line-height: 1;
    display: flex;
    align-items: center;
    color: #fff;
    margin-left: 8px;
    border-radius: 4px;
  }
  #form_area .required {
    background-color: #f14e38;
  }
  #form_area .any {
    background-color: #b4b4b4;
  }
  #form_area .caution {
    font-size: 14px;
    line-height: 1.2;
    display: block;
    color: #f14e38;
    width: 100%;
  }
  #form_area input[type="text"], #form_area input[type="email"], #form_area input[type="tel"], #form_area textarea {
    width: 100%;
    padding: 8px 10px 7px;
    height: 54px;
    font-size: 16px;
    border: 1px solid #cad8e5;
    border-radius: 4px;
  }
  #form_area textarea {
    min-height: 150px;
    width: 100%;
  }
  #form_area input::placeholder, #form_area textarea::placeholder {
    color: #d5d3d3;
  }
  #form_area .radio dd {
    display: flex;
    flex-wrap: wrap;
  }
  #form_area .radio dd label {
    margin-right: 14px;
    position: relative;
    cursor: pointer;
    line-height: 1.2;
    padding: 8px 14px 8px 24px;
  }
  #form_area input[type="radio"] {
    display: none;
  }
  #form_area .radio dd label::before {
    content:"";
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #cad8e5;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  #form_area input[type="radio"]:checked + label:after{
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2778BE;
    border-radius: 50%;
  }
  #form_area input[type="file"] {
    font-size: 16px;
    cursor: pointer;
  }
  #form_area input[type="file"]::file-selector-button {
    font-size: 15px;
  }
  #form_area .submit_btn input[type="submit"] {
    width: 90%;
    margin: 0 auto;
    font-size: 17px;
    padding: 14px 45px 13px;
    border-radius: 8px;
    border: 1px solid var(--btn-border-blue);
    line-height: 1.3;
    color: var(--text-color-white);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-weight: 600;
    background-color: var(--btn-bg-color-blue);
    background-image: url(../img/share/btn_right_arrow.png);
    background-position: right 15px center;
    background-size: 24px;
    background-repeat: no-repeat;
  }
  #form_area .error {
    color: #f14e38;
    padding-top: 10px;
    width: 100%;
    font-size: 15px;
    line-height: 1.4;
  }
}