/* Contact CSS */
/* _setting CSS */
/* Desktops and laptops */
@media screen and (min-width: 751px) {
  #wrapper {
    padding-top: 225px;
    background: url(../images/top/kv_skin.jpg) right top no-repeat transparent;
  }

  #contact .title {
    margin-bottom: 50px;
    font-size: 7.8rem;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    display: inline-block;
    background: linear-gradient(90deg, #e1e1e1 0%, #ffffff 100%);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(-3px 3px 8px rgba(0, 0, 0, 0.2)) drop-shadow(3px -2px 4px white);
  }
  #contact .title span {
    font-weight: bold;
  }
  #contact .text {
    margin-bottom: 120px;
    font-size: 1.4rem;
    line-height: 2;
  }
  #contact .text span {
    color: #cf0000;
  }
  #contact .table_contact {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-top: solid 1px #ccc;
  }
  #contact .table_contact th, #contact .table_contact td {
    padding: 30px 20px 30px 0;
    vertical-align: top;
    font-size: 1.4rem;
    border-bottom: solid 1px #ccc;
  }
  #contact .table_contact th {
    width: 280px;
    text-align: left;
  }
  #contact .table_contact th span {
    display: inline-block;
    color: #cf0000;
    font-size: 1.2rem;
    padding: 5px 5px;
    border-radius: 4px;
  }
  #contact .table_contact label {
    display: block;
    width: 100%;
    cursor: pointer;
  }
  #contact .table_contact label + label {
    margin-top: 10px;
  }
  #contact .table_contact label input[type="radio"],
  #contact .table_contact label input[type="checkbox"] {
    width: 1.6rem;
    height: 1.6rem;
    margin: 0 10px 0 0;
    display: inline-block;
    vertical-align: middle;
  }
  #contact .table_contact label input[type="radio"]:checked,
  #contact .table_contact label input[type="checkbox"]:checked {
    background: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
  }
  #contact .table_contact input[type="text"],
  #contact .table_contact input[type="email"],
  #contact .table_contact input[type="tel"] {
    width: 100%;
    font-size: 1.6rem;
    padding: 10px;
    border: solid 1px #333;
    border-image: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    border-image-slice: 1;
    border-radius: 4px;
  }
  #contact .table_contact input[type="text"]:focus,
  #contact .table_contact input[type="email"]:focus,
  #contact .table_contact input[type="tel"]:focus {
    border-color: #0591cf;
  }
  #contact .table_contact input[type="text"][name="age"],
  #contact .table_contact input[type="email"][name="age"],
  #contact .table_contact input[type="tel"][name="age"] {
    width: 100px;
  }
  #contact .table_contact textarea {
    width: 100%;
    font-size: 1.6rem;
    padding: 10px;
    border-radius: 4px;
    border: solid 1px #333;
    border-image: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    border-image-slice: 1;
    border-radius: 4px;
  }
  #contact .table_contact textarea:focus {
    border-color: #0591cf;
  }
  #contact .table_contact input:focus, #contact .table_contact textarea:focus {
    outline: none;
  }
  #contact .table_contact .policy {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    padding: 30px;
    font-size: 1.3rem;
    line-height: 1.4;
    overflow-y: scroll;
    background-color: #eee;
  }
  #contact .btns {
    width: 100%;
    padding: 50px 0 100px 0;
    display: flex;
    justify-content: center;
  }
  #contact .btns button,
  #contact .btns input,
  #contact .btns a {
    width: 45%;
    margin: 0 2%;
    padding: 25px 0;
    border: none;
    appearance: none;
    background: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    text-align: center;
  }
  #contact .btns button:hover,
  #contact .btns input:hover,
  #contact .btns a:hover {
    opacity: .8;
  }
  #contact .btns button.btn_back,
  #contact .btns input.btn_back,
  #contact .btns a.btn_back {
    width: 25%;
    background: #fff;
    color: #333;
  }

  .error {
    color: #FF9;
    line-height: 1.6;
  }

  .agrre_area {
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 1.6rem;
  }
  .agrre_area .check_area {
    padding: 20px 0 0 0;
    text-align: center;
    display: inline-block;
  }
  .agrre_area input {
    vertical-align: middle;
  }
  .agrre_area p {
    margin-top: 10px;
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .btn_contact,
  .btn_contact_wrapper {
    padding: 0 0 80px 0;
    text-align: center;
  }
  .btn_contact button,
  .btn_contact_wrapper button {
    display: inline-block;
    width: 220px;
    height: 60px;
    margin: 0 10px;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    border-radius: 60px;
  }
  .btn_contact button:hover,
  .btn_contact_wrapper button:hover {
    opacity: .8;
  }
  .btn_contact button[type="button"],
  .btn_contact_wrapper button[type="button"] {
    color: #333;
    background: #ddd;
  }
  .btn_contact button:disabled,
  .btn_contact_wrapper button:disabled {
    background: #ddd;
  }
  .btn_contact button:disabled:hover,
  .btn_contact_wrapper button:disabled:hover {
    opacity: 1;
    cursor: auto;
  }
  .btn_contact input,
  .btn_contact a,
  .btn_contact_wrapper input,
  .btn_contact_wrapper a {
    display: inline-block;
    width: 220px;
    height: 60px;
    line-height: 60px;
    margin: 0 10px;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    text-decoration: none;
    border-radius: 60px;
  }
  .btn_contact input:hover,
  .btn_contact a:hover,
  .btn_contact_wrapper input:hover,
  .btn_contact_wrapper a:hover {
    opacity: .8;
  }
  .btn_contact input[type="button"],
  .btn_contact a[type="button"],
  .btn_contact_wrapper input[type="button"],
  .btn_contact_wrapper a[type="button"] {
    color: #333;
    background: #ddd;
  }
  .btn_contact input:disabled,
  .btn_contact a:disabled,
  .btn_contact_wrapper input:disabled,
  .btn_contact_wrapper a:disabled {
    background: #ddd;
  }
  .btn_contact input:disabled:hover,
  .btn_contact a:disabled:hover,
  .btn_contact_wrapper input:disabled:hover,
  .btn_contact_wrapper a:disabled:hover {
    opacity: 1;
    cursor: auto;
  }
}
/* Smartphones (portrait and landscape) */
@media screen and (max-width: 700px) {
  #wrapper {
    padding-top: 41.33vw;
    background: url(../images/top/sp_kv_skin.jpg) right top no-repeat;
    background-size: 100% auto;
  }

  #contact {
    padding: 0 6.6vw;
  }
  #contact .title {
    margin-bottom: 10.66vw;
    font-size: 10vw;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    display: inline-block;
    background: linear-gradient(90deg, #e1e1e1 0%, #ffffff 100%);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(-3px 3px 4px rgba(0, 0, 0, 0.2)) drop-shadow(3px -2px 2px rgba(255, 255, 255, 0.5));
  }
  #contact .title span {
    font-weight: bold;
    padding-left: 1em;
    display: block;
  }
  #contact .text {
    margin-bottom: 10vw;
    font-size: 1.4rem;
    line-height: 2;
  }
  #contact .text span {
    color: #cf0000;
  }
  #contact .table_contact {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-top: solid 1px #ccc;
  }
  #contact .table_contact tbody,
  #contact .table_contact tr {
    width: 100%;
    display: block;
  }
  #contact .table_contact th, #contact .table_contact td {
    width: 100%;
    display: block;
    padding: 5vw 0 5vw 0;
    vertical-align: top;
    font-size: 1.4rem;
    border-bottom: solid 1px #ccc;
  }
  #contact .table_contact th {
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
  }
  #contact .table_contact th span {
    display: inline-block;
    color: #cf0000;
    font-size: 1.2rem;
    padding: 5px 5px;
    border-radius: 4px;
  }
  #contact .table_contact td {
    padding-top: 2vw;
  }
  #contact .table_contact label {
    display: block;
    width: 100%;
    cursor: pointer;
  }
  #contact .table_contact label + label {
    margin-top: 10px;
  }
  #contact .table_contact label input[type="radio"],
  #contact .table_contact label input[type="checkbox"] {
    width: 1.6rem;
    height: 1.6rem;
    margin: 0 10px 0 0;
    display: inline-block;
    vertical-align: middle;
  }
  #contact .table_contact label input[type="radio"]:checked,
  #contact .table_contact label input[type="checkbox"]:checked {
    background: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
  }
  #contact .table_contact input[type="text"],
  #contact .table_contact input[type="email"],
  #contact .table_contact input[type="tel"] {
    width: 100%;
    font-size: 1.6rem;
    padding: 10px;
    border: solid 1px #333;
    border-image: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    border-image-slice: 1;
    border-radius: 4px;
  }
  #contact .table_contact input[type="text"]:focus,
  #contact .table_contact input[type="email"]:focus,
  #contact .table_contact input[type="tel"]:focus {
    border-color: #0591cf;
  }
  #contact .table_contact input[type="text"][name="age"],
  #contact .table_contact input[type="email"][name="age"],
  #contact .table_contact input[type="tel"][name="age"] {
    width: 100px;
  }
  #contact .table_contact textarea {
    width: 100%;
    font-size: 1.6rem;
    padding: 10px;
    border: solid 1px #333;
    border-image: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    border-image-slice: 1;
    border-radius: 4px;
  }
  #contact .table_contact textarea:focus {
    border-color: #0591cf;
  }
  #contact .table_contact input:focus, #contact .table_contact textarea:focus {
    outline: none;
  }
  #contact .table_contact .policy {
    width: 100%;
    height: 40vw;
    margin-bottom: 20px;
    padding: 20px;
    font-size: 1.3rem;
    line-height: 1.4;
    overflow-y: scroll;
    background-color: #eee;
  }
  #contact .btns {
    width: 100%;
    padding: 10vw 0 30vw 0;
    display: flex;
    justify-content: center;
  }
  #contact .btns button,
  #contact .btns input,
  #contact .btns a {
    width: 45%;
    margin: 0 2%;
    padding: 4vw 0;
    border: none;
    appearance: none;
    background: linear-gradient(90deg, #0093d1 0%, #5e72b2 50%, #63509c 100%);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    text-align: center;
  }
  #contact .btns button:hover,
  #contact .btns input:hover,
  #contact .btns a:hover {
    opacity: .8;
  }
  #contact .btns button.btn_back,
  #contact .btns input.btn_back,
  #contact .btns a.btn_back {
    width: 25%;
    background: #fff;
    color: #333;
  }
}
