@font-face {
  font-family: "NotoSans";
  font-display: swap;
  src: url("/common/fonts/NotoSans-R-Subset.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "NotoSansB";
  font-display: swap;
  src: url("/common/fonts/NotoSans-B-Subset.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Sawarabi";
  font-display: swap;
  src: url("/common/fonts/sawarabi-Subset.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@media print, screen {
  #consult main {
    width: 96%;
    margin: 0 auto;
  }
  #consult main section {
    line-height: 1.8;
  }
  #consult.index main section {
    padding: 4rem 7.143%;
  }
  #consult.index main .el_title {
    font-size: 1.8rem;
    color: #005D7F;
    font-family: "NotoSansB";
    text-align: center;
    padding: 20px;
    border-top: 2px solid #005D7F;
    border-bottom: 2px solid #005D7F;
  }
  #consult.index main .el_title + p {
    font-size: 1.4rem;
    line-height: 1.8;
    padding: 4rem 7.143% 0;
  }
  #consult.index main .must {
    font-size: 1.4rem;
    color: #e8382f;
    margin-right: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: #fff;
    border: 1px solid #e8382f;
  }
  #consult.index main .bl_sec01_bg {
    background: #dcdddd;
  }
  #consult.index main .alert {
    font-size: 1.4rem;
    color: #e8382f;
    padding-bottom: 1rem;
  }
  #consult.index main .alert + br {
    display: none;
  }
  #consult.index main .alert + br + input, #consult.index main .alert + br + #tel1 input, #consult.index main .alert + br + #zip1 input, #consult.index main .alert + br + textarea {
    border: 1px solid #e8382f !important;
  }
  #consult.index main .alert.top {
    display: block;
    margin: 3rem 7.143%;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px solid #e8382f;
  }
  #consult.index main .alert.top p {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3;
    color: #e8382f;
  }
  #consult.index main .bl_sec01 {
    margin-top: 3rem;
  }
  #consult.index main form p, #consult.index main form li {
    font-size: 1.4rem;
  }
  #consult.index main form table {
    width: 100%;
  }
  #consult.index main form ::-moz-placeholder {
    font-size: 1.3rem;
    color: #dcdddd;
  }
  #consult.index main form :-ms-input-placeholder {
    font-size: 1.3rem;
    color: #dcdddd;
  }
  #consult.index main form ::placeholder {
    font-size: 1.3rem;
    color: #dcdddd;
  }
  #consult.index main form .consultTitle {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }
  #consult.index main form .tyleTxt01 {
    padding-bottom: 5rem;
  }
  #consult.index main form .must {
    display: inline-block;
    margin: 0 0 0 1rem;
    line-height: 1;
  }
  #consult.index main form input {
    margin: 0;
    font-size: 1.3rem;
    border-radius: 0.5rem;
  }
  #consult.index main form input[type=text] {
    width: calc(100% - 2rem);
    outline: none;
    border: 0;
    padding: 1rem;
  }
  #consult.index main form input[type=radio], #consult.index main form input[type=checkbox] {
    margin: 0 0.5rem 0 0;
  }
  #consult.index main form textarea {
    width: 100%;
    outline: none;
    border: 0;
  }
  #consult.index main form .bl_textarea textarea {
    width: calc(100% - 2rem);
    font-size: 1.3rem;
    margin: 0 0 5rem;
    padding: 1rem;
    border: 0;
    outline: none;
    border-radius: 0.5rem;
  }
  #consult.index main form label {
    font-size: 1.6rem;
  }
  #consult.index main form .sub {
    font-size: 1.3rem;
    padding-left: 1.5rem;
  }
  #consult.index main form .sub.txt01 {
    padding: 1rem 0 0;
  }
  #consult.index main form .consultList {
    margin: 0 0 5rem;
    padding: 2rem;
    border-radius: 0.5rem;
    background: #fff;
  }
  #consult.index main form .consultList li:not(:last-of-type) {
    margin-bottom: 1rem;
  }
  #consult.index main form .consultList02 {
    margin-bottom: 5rem;
  }
  #consult.index main form .consultTable tr:not(:last-of-type) {
    border-bottom: 1px solid #fff;
  }
  #consult.index main form .consultTable tr:first-of-type {
    border-top: 1px solid #fff;
  }
  #consult.index main form .consultTable th {
    width: 23rem;
    text-align: left;
    font-size: 1.5rem;
    padding: 2rem 0;
  }
  #consult.index main form .consultTable th label {
    font-size: 1.5rem;
  }
  #consult.index main form .consultTable td {
    width: calc(100% - 23rem);
    font-size: 1.4rem;
    padding: 2rem 0;
  }
  #consult.index main form .consultTable td .hint-message {
    display: block;
    font-size: 1.3rem;
    padding-top: 0.5rem;
  }
  #consult.index main form .consultTable td #tel1, #consult.index main form .consultTable td #tel2, #consult.index main form .consultTable td #fax1, #consult.index main form .consultTable td #zip1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #consult.index main form .consultTable td #tel1 input, #consult.index main form .consultTable td #tel2 input, #consult.index main form .consultTable td #fax1 input, #consult.index main form .consultTable td #zip1 input {
    width: 27%;
  }
  #consult.index main form .consultTable td .zipcode_btn {
    width: 27%;
  }
  #consult.index main form .consultTable td .zipcode_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 36px;
    font-size: 1.1rem;
    color: #fff;
    font-family: "NotoSans";
    text-align: center;
    margin: 0;
    border-radius: 18px;
    position: relative;
    color: #fff;
    background: linear-gradient(to bottom, #e8382f, #e8382f 50%, #b72921);
    box-shadow: 1px 1px 0 0 #231815;
  }
  #consult.index main form .consultTable td .zipcode_btn a::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border: 2px solid;
    border-color: #fff #fff transparent transparent;
    transform: rotate(45deg);
  }
  #consult.index main form .consultTable td .zipcode_btn a::after {
    right: 7%;
    top: calc(50% - 4px);
  }
  #consult.index main form .consultTable td span {
    font-size: 1.4rem;
  }
  #consult.index main .sendBtn {
    position: relative;
    width: 28%;
    margin: 0 auto 0;
  }
  #consult.index main .sendBtn::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border: 2px solid;
    border-color: #fff #fff transparent transparent;
    transform: rotate(45deg);
  }
  #consult.index main .sendBtn::after {
    right: 7%;
    top: calc(50% - 4px);
  }
  #consult.index main .sendBtn input, #consult.index main .sendBtn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 36px;
    position: relative;
    color: #fff;
    background: linear-gradient(to bottom, #005D7F, #005D7F 50%, #002438);
    box-shadow: 1px 1px 0 0 #231815;
    border: 0;
    border-radius: 18px;
    font-size: 1.2rem;
    color: #fff;
    font-family: "NotoSans";
  }
  #consult.index main .sendBtn.top_btn {
    margin-bottom: 10rem;
  }
  #consult.index main .send_txt {
    font-size: 1.4rem;
    line-height: 1.8;
    padding: 4rem 7.143% 10rem;
  }
}
@media screen and (max-width: 767px) {
  #consult .header_txt {
    display: none;
  }
  #consult.index main form .consultTable th {
    display: block;
    width: 100%;
  }
  #consult.index main form .consultTable th:last-of-type .consultList {
    margin-top: 2rem;
  }
  #consult.index main form .consultTable td {
    display: block;
    width: 100%;
    padding-top: 0;
  }
  #consult.index main .sendBtn {
    width: 60%;
  }
}