@charset "UTF-8";
@media screen and (min-width: 770px) {
  button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
  }
  #container {
    background-color: #edf1f9;
  }
  #conts_contact {
    padding-top: 38px;
  }
  #conts_contact h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 46px;
  }
  #conts_contact form {
    max-width: 1080px;
    margin: 0 auto;
    font-size: 20px;
    color: #173fa5;
    line-height: 1.5;
    padding: 0 40px 50px;
  }
  #conts_contact table {
    margin-bottom: 30px;
  }
  #conts_contact th {
    width: 270px;
    vertical-align: top;
    text-align: right;
    font-weight: 600;
    padding: 12px 40px 10px 0;
  }
  #conts_contact td {
    width: calc(100% - 270px);
    text-align: left;
    vertical-align: top;
    padding: 12px 0 10px;
  }
  #conts_contact td input, #conts_contact td textarea {
    width: 100%;
    font-size: 18px;
    padding: 16px 16px 14px;
    border: none;
    margin: 0 0 8px;
  }
  #conts_contact td textarea {
    min-height: 200px;
  }
  #conts_contact td input::placeholder, #conts_contact td textarea::placeholder {
    color: #d6d6d6;
  }
  #conts_contact tr td input[type="radio"] {
    display: none;
  }
  #conts_contact tr td label {
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 0 0 21px;
    vertical-align: middle;
    cursor: pointer;
    margin: 0 20px 14px 0;
  }
  #conts_contact tr td label:after {
    position: absolute;
    z-index: 99;
    top: 56%;
    left: 0px;
    display: block;
    margin-top: -10px;
    width: 14px;
    height: 14px;
    border: 3px solid #dde3f1;
    border-radius: 7px;
    content: '';
  }
  #conts_contact tr td label:before {
    position: absolute;
    z-index: 9999;
    top: 40%;
    left: 4px;
    display: block;
    margin-top: -12px;
    width: 10px;
    height: 16px;
    border-right: 4px solid #173fa5;
    border-bottom: 4px solid #173fa5;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: .3s;
  }
  #conts_contact tr td input[type="radio"]:checked+label:before {
    opacity: 1;
  }
  #conts_contact td .error {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
  }
  #conts_contact .textlink_privacy {
    font-size: 16px;
    text-align: center;
    margin: 0 auto 14px;
  }
  #conts_contact .textlink_privacy a {
    display: inline-block;
    width: auto;
    color: #f6921d;
    text-decoration: underline;
  }
  #conts_contact .textlink_privacy a:hover {
    text-decoration: none;
  }
  #conts_contact .privacy_policy {
    margin-bottom: 16px;
  }
  #conts_contact .caution_text {
    margin: 0 0 40px;
    font-size: 14px;
  }
  #conts_contact .caution_text span {
    display: inline-block;
  }
  #conts_contact .caution_text a {
    display: inline-block;
    width: auto;
    color: #f6921d;
    text-decoration: underline;
  }
  #conts_contact .caution_text a:hover {
    text-decoration: none;
  }
  #conts_contact .privacy_policy input {
    display: none;
  }
  #conts_contact .privacy_policy label {
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 0 0 21px;
    vertical-align: middle;
    cursor: pointer;
    margin: 0 20px 0 0;
  }
  #conts_contact .privacy_policy label:after {
    position: absolute;
    z-index: 99;
    top: 66%;
    left: 0px;
    display: block;
    margin-top: -10px;
    width: 14px;
    height: 14px;
    border: 3px solid #dde3f1;
    border-radius: 4px;
    content: '';
  }
  #conts_contact .privacy_policy label:before {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 4px;
    display: block;
    margin-top: -12px;
    width: 10px;
    height: 16px;
    border-right: 4px solid #173fa5;
    border-bottom: 4px solid #173fa5;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: .3s;
  }
  #conts_contact .privacy_policy input[type="checkbox"]:checked+label:before {
    opacity: 1;
  }
  #conts_contact #submit-button {
    width: 418px;
    border-radius: 100px;
    color: #173fa5;
    text-align: center;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    padding: 16px 25px 14px;
    background-color: #fff;
    border: 3px solid #173fa5;
    transition-duration: .3s;
  }
  #conts_contact #submit-button.inactive {
    color: #ddd;
    background-color: #f9f9f9;
    border: 3px solid #f9f9f9;
  }
  #contents .privacy-agreement {
    background-color: #fff;
    border: none;
    font-size: 1rem;
    margin: 60px auto 60px;
    max-height: 350px;
    overflow-y: scroll;
    padding: 1rem 1.5rem;
    text-align: left;
    width: 100%
  }
  #contents .privacy-agreement .title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
  }
}
@media screen and (max-width:769px) {
  button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
  }
  #conts_contact {
    padding: 26vw 0 60px;
    background-color: #edf1f9;
  }
  #conts_contact h2 {
    font-size: 2.2rem;
    letter-spacing: -.02em;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
  }
  #conts_contact form {
    margin: 0 auto;
    font-size: 1.8rem;
    color: #173fa5;
    line-height: 1.5;
  }
  #conts_contact table {
    margin-bottom: 30px;
    display: block;
    width: 100%;
  }
  #conts_contact tr {
    display: block;
    width: 100%;
    margin-bottom: 16px;
  }
  #conts_contact tr:last-of-type {
    margin-bottom: 0;
  }
  #conts_contact th {
    display: block;
    width: 100%;
    vertical-align: top;
    font-weight: 600;
    margin-bottom: 8px;
  }
  #conts_contact th .required {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1.3;
    padding: 2px 6px 1px;
    margin-left: 4px;
    background-color: #e45f5f;
    position: relative;
    top: -2px;
  }
  #conts_contact td {
    display: block;
    width: 100%;
    text-align: left;
  }
  #conts_contact td input, #conts_contact td textarea {
    width: 100%;
    font-size: 1.6rem;
    padding: 14px 3% 13px;
    border: none;
    margin: 0 0 8px;
  }
  #conts_contact td textarea {
    min-height: 60vw;
  }
  #conts_contact td input::placeholder, #conts_contact td textarea::placeholder {
    color: #d6d6d6;
  }
  #conts_contact tr td input[type="radio"] {
    display: none;
  }
  #conts_contact tr td label {
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 0 0 21px;
    vertical-align: middle;
    cursor: pointer;
    margin: 0 16px 12px 0;
  }
  #conts_contact tr td label:after {
    position: absolute;
    z-index: 99;
    top: 58%;
    left: 0px;
    display: block;
    margin-top: -10px;
    width: 14px;
    height: 14px;
    border: 3px solid #c3cbdc;
    border-radius: 7px;
    content: '';
  }
  #conts_contact tr td label:before {
    position: absolute;
    z-index: 9999;
    top: 40%;
    left: 4px;
    display: block;
    margin-top: -12px;
    width: 10px;
    height: 16px;
    border-right: 4px solid #173fa5;
    border-bottom: 4px solid #173fa5;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: .3s;
  }
  #conts_contact tr td input[type="radio"]:checked+label:before {
    opacity: 1;
  }
  #conts_contact td .error {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
  }
  #conts_contact .textlink_privacy {
    font-size: 14px;
    text-align: center;
    margin: 0 auto 8px;
  }
  #conts_contact .textlink_privacy a {
    display: inline-block;
    width: auto;
    color: #f6921d;
    text-decoration: underline;
  }
  #conts_contact .textlink_privacy a:hover {
    text-decoration: none;
  }
  #conts_contact .privacy_policy {
    margin-bottom: 16px;
  }
  #conts_contact .caution_text {
    margin: 0 0 40px;
    font-size: 13px;
  }
  #conts_contact .caution_text span {
    display: inline-block;
  }
  #conts_contact .caution_text a {
    display: inline-block;
    width: auto;
    color: #f6921d;
    text-decoration: underline;
  }
  #conts_contact .caution_text a:hover {
    text-decoration: none;
  }
  #conts_contact .privacy_policy input {
    display: none;
  }
  #conts_contact .privacy_policy label {
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -.05em;
    position: relative;
    display: inline-block;
    padding: 0 0 0 18px;
    vertical-align: middle;
    cursor: pointer;
  }
  #conts_contact .privacy_policy label:after {
    position: absolute;
    z-index: 99;
    top: 66%;
    left: 0px;
    display: block;
    margin-top: -10px;
    width: 14px;
    height: 14px;
    border: 3px solid #c3cbdc;
    border-radius: 4px;
    content: '';
  }
  #conts_contact .privacy_policy label:before {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 4px;
    display: block;
    margin-top: -12px;
    width: 10px;
    height: 16px;
    border-right: 4px solid #173fa5;
    border-bottom: 4px solid #173fa5;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: .3s;
  }
  #conts_contact .privacy_policy input[type="checkbox"]:checked+label:before {
    opacity: 1;
  }
  #conts_contact #submit-button {
    width: 90%;
    border-radius: 100px;
    color: #173fa5;
    text-align: center;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    padding: 12px 3% 10px;
    background-color: #fff;
    border: 3px solid #173fa5;
    transition-duration: .3s;
  }
  #conts_contact #submit-button.inactive {
    color: #ddd;
    background-color: #f9f9f9;
    border: 3px solid #f9f9f9;
  }
  #contents .privacy-agreement {
    background-color: #fff;
    border: none;
    font-size: 1.6rem;
    margin: 60px auto 60px;
    max-height: 350px;
    overflow-y: scroll;
    padding: 1rem 1.5rem;
    text-align: left;
    width: 100%
  }
  #contents .privacy-agreement .title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
  }
}