/* Form CSS */
/* _setting CSS */
#main {
  background: #fff;
}

/* Desktops and laptops */
@media print, screen and (min-width: 701px) {
  .form {
    padding-bottom: 80px;
  }
  .form .main_tl {
    background: url(../images/inquiry/tl_icon.svg) no-repeat 0 60px/36px;
  }
  .form p:not(.attention) {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  .form p:not(.attention).fin {
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    margin: 80px 0 60px;
  }
  .form p:not(.attention).text {
    font-size: 1.7rem;
    line-height: 1.8;
    text-align: center;
  }
  .form .message {
    line-height: 1.4;
  }
  .form table {
    width: 1000px;
  }
  .form table tr {
    border-top: solid 1px #ddd;
  }
  .form table tr:last-of-type {
    border-bottom: solid 1px #ddd;
  }
  .form table tr th {
    width: 290px;
    font-size: 1.8rem;
    font-weight: bold;
    background: #fdf8fa;
    padding: 30px;
    text-align: left;
    font-weight: normal;
    line-height: 1.4;
    table-layout: fixed;
  }
  .form table tr th.long_text {
    font-size: 1.7rem;
  }
  .form table tr th .required {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3;
    color: #00B7B7;
    margin-left: 10px;
  }
  .form table tr td {
    width: 710px;
    padding: 20px;
    font-size: 1.7rem;
    line-height: 1.4;
    word-break: break-all;
    table-layout: fixed;
  }
  .form table tr td input[type="text"],
  .form table tr td input[type="phone"] {
    height: 40px;
    border: solid 1px #bbb;
    text-indent: 5px;
    appearance: none;
  }
  .form table tr td input[type="text"]:focus,
  .form table tr td input[type="phone"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="text"].input_small,
  .form table tr td input[type="phone"].input_small {
    width: 300px;
    height: 36px;
  }
  .form table tr td input[type="text"].input_middle,
  .form table tr td input[type="phone"].input_middle {
    width: 300px;
  }
  .form table tr td input[type="text"].input_long,
  .form table tr td input[type="phone"].input_long {
    width: 420px;
  }
  .form table tr td input[type="text"].input_num, .form table tr td input[type="text"].page,
  .form table tr td input[type="phone"].input_num,
  .form table tr td input[type="phone"].page {
    width: 80px;
    height: 36px;
    margin: 0 12px 10px 0;
  }
  .form table tr td input[type="email"] {
    border: solid 1px #bbb;
    text-indent: 5px;
    appearance: none;
  }
  .form table tr td input[type="email"].input_long {
    width: 420px;
  }
  .form table tr td input[type="email"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 6px 3px 0;
  }
  .form table tr td input[type="file"] {
    font-size: 1.6rem;
    cursor: pointer;
  }
  .form table tr td input[type="number"] {
    width: 3em;
    border: solid 1px #bbb;
    text-indent: 5px;
    appearance: none;
  }
  .form table tr td input[type="tel"] {
    border: solid 1px #bbb;
    text-indent: 5px;
    appearance: none;
  }
  .form table tr td input[type="radio"] {
    margin: 0 8px 6px 0;
  }
  .form table tr td label {
    cursor: pointer;
    margin-right: 50px;
    display: inline-block;
  }
  .form table tr td label.other {
    display: inline-block;
    margin-top: 10px;
  }
  .form table tr td label:last-of-type {
    margin-bottom: 0;
  }
  .form table tr td label.label_list {
    display: block;
  }
  .form table tr td label.label_list input[type="text"] {
    width: 300px;
    margin-left: 20px;
  }
  .form table tr td textarea {
    width: 420px;
    height: 90px;
    appearance: none;
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 5px;
    border: solid 1px #bbb;
  }
  .form table tr td textarea:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td .box {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: dotted 1px #ccc;
  }
  .form table tr td .box p:not(.attention) {
    width: 100px;
  }
  .form table tr td .box .label {
    width: 500px;
  }
  .form table tr td .box .required {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.3;
    color: #00B7B7;
    margin-left: 10px;
  }
  .form table tr td .box:last-of-type {
    margin: 0;
    padding: 0;
    border: none;
  }
  .form table tr .month .box .monthly {
    display: inline-block;
    width: auto !important;
    margin: 0 10px 0 0;
  }
  .form table tr .month .box .label {
    display: inline-block;
  }
  .form table tr .month .box .label input[type="number"] {
    margin-right: 5px;
  }
  .form .privacy {
    padding: 20px 0 0 0;
    text-align: center;
  }
  .form .privacy input[type="checkbox"] {
    margin-right: 5px;
  }
  .form .privacy a {
    text-decoration: underline;
  }
  .form .form_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px auto 0;
    align-items: center;
  }
  .form .form_btn a {
    width: 280px;
    display: block;
    padding: 20px 0 18px;
    margin-right: 20px;
    color: #fff;
    font-size: 2.2rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    background: #666;
    box-shadow: 0 4px #444040;
  }
  .form .form_btn a:hover {
    background: #444040;
    text-decoration: none;
  }
  .form .form_btn input {
    width: 280px;
    padding: 16px 0 11px;
    display: block;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    background: #00B7B7;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px #087E7B;
    appearance: none;
    outline: none;
  }
  .form .form_btn input.input_small {
    width: 300px;
    height: 36px;
  }
  .form .form_btn input:hover {
    opacity: 0.8;
  }
  .form .form_btn input:disabled {
    opacity: .2;
  }

  .apply th {
    width: 320px !important;
    box-sizing: content-box;
  }
  .apply .attention {
    font-size: 1.4rem;
    margin: 10px 0;
    line-height: 1.4;
    display: block;
  }
}
/* Smartphones (portrait and landscape) */
@media screen and (max-width: 700px) {
  .form {
    padding-bottom: 80px;
  }
  .form .main_tl {
    background: url(../images/inquiry/tl_icon.svg) no-repeat 0 44px/36px;
  }
  .form p:not(.attention) {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
  }
  .form p:not(.attention).fin {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: bold;
    margin: 30px 0;
  }
  .form p:not(.attention).text {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  .form table {
    width: 100%;
  }
  .form table tr {
    border-top: solid 1px #ddd;
    padding: 25px 4%;
    display: block;
  }
  .form table tr:last-of-type {
    border-bottom: solid 1px #ddd;
  }
  .form table tr:nth-of-type(odd) {
    background: #fdf8fa;
  }
  .form table tr th {
    width: 100%;
    display: block;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: bold;
    padding-bottom: 10px;
    text-align: left;
    font-weight: normal;
  }
  .form table tr th .required {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.3;
    color: #00B7B7;
    margin-left: 8px;
  }
  .form table tr td {
    width: 100%;
    display: block;
    font-size: 1.7rem;
    line-height: 1.4;
    word-break: break-all;
  }
  .form table tr td input[type="text"],
  .form table tr td input[type="phone"] {
    width: 100%;
    height: 40px;
    border-radius: none;
    appearance: none;
    border: solid 1px #bbb;
    padding: 5px;
  }
  .form table tr td input[type="text"]:focus,
  .form table tr td input[type="phone"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="text"].input_num, .form table tr td input[type="text"].page,
  .form table tr td input[type="phone"].input_num,
  .form table tr td input[type="phone"].page {
    width: 80px;
    height: 36px;
    margin: 0 12px 10px 0;
  }
  .form table tr td input[type="email"] {
    width: 100%;
    height: 40px;
    border-radius: none;
    appearance: none;
    border: solid 1px #bbb;
    padding: 5px;
  }
  .form table tr td input[type="email"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 6px 3px 0;
  }
  .form table tr td input[type="file"] {
    font-size: 1.3rem;
    cursor: pointer;
    width: 100%;
  }
  .form table tr td input[type="number"] {
    width: 3em;
    border-radius: none;
    appearance: none;
    border: solid 1px #bbb;
    padding: 5px;
    margin-right: 5px;
  }
  .form table tr td input[type="number"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="tel"] {
    border-radius: none;
    appearance: none;
    border: solid 1px #bbb;
    padding: 5px;
    margin-right: 5px;
  }
  .form table tr td input[type="tel"]:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr td input[type="radio"] {
    margin: 0 8px 6px 0;
  }
  .form table tr td label {
    cursor: pointer;
    margin-right: 10%;
  }
  .form table tr td label.other {
    display: inline-block;
    margin-top: 10px;
  }
  .form table tr td label:last-of-type {
    margin-bottom: 0;
  }
  .form table tr td label.label_list {
    display: block;
  }
  .form table tr td label.label_list input[type="text"] {
    width: calc(100% - 20px);
    margin-left: 20px;
  }
  .form table tr td .box {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: dotted 1px #ccc;
  }
  .form table tr td .box p:not(.attention) {
    width: 20%;
  }
  .form table tr td .box .label {
    width: 78%;
  }
  .form table tr td .box .required {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #00B7B7;
    margin-left: 8px;
  }
  .form table tr td .box:last-of-type {
    margin: 0;
    padding: 0;
    border: none;
  }
  .form table tr td textarea {
    width: 100%;
    height: 100px;
    border-radius: none;
    appearance: none;
    border: solid 1px #bbb;
    font-size: 1.6rem;
    line-height: 1.3;
    padding: 5px;
  }
  .form table tr td textarea:focus {
    outline: none;
    border: 1px solid #00B7B7;
  }
  .form table tr .month .box .monthly {
    display: inline-block;
    width: auto !important;
    font-size: 1.7rem;
    line-height: 2.5;
    margin-right: 4%;
    margin-bottom: 0;
  }
  .form table tr .month .box label {
    margin-right: 0;
  }
  .form .privacy {
    padding: 20px 0 0 0;
    text-align: center;
  }
  .form .privacy input[type="checkbox"] {
    margin-right: 5px;
  }
  .form .privacy a {
    text-decoration: underline;
  }
  .form .form_btn {
    margin: 40px auto 0;
  }
  .form .form_btn a {
    width: 100%;
    display: block;
    padding: 20px 0 18px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.7rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    background: #666;
    box-shadow: 0 4px #444040;
  }
  .form .form_btn a:hover {
    background: #444040;
    text-decoration: none;
  }
  .form .form_btn input {
    width: 100%;
    padding: 16px 0 12px;
    display: block;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    background: #00B7B7;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px #087E7B;
    appearance: none;
  }
  .form .form_btn input:hover {
    opacity: 0.8;
  }
  .form .form_btn input:disabled {
    opacity: .2;
  }
  .form .attention {
    font-size: 1.4rem;
    margin: 10px 0;
    line-height: 1.4;
    display: block;
  }
}
