@media screen and (min-width: 751px) and (max-width: 1400px) {
  .under main .inner {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 15px;
  }
  #contact .mailform select, #contact .mailform label, #contact .mailform textarea, #contact .mailform input[type="text"], #contact .mailform input[type="email"], #contact .mailform input[type="tel"], #contact .mailform select, #contact .mailform p {
    font-size: 22px;
  }
  #contact .mailform .f_sm {
    font-size: 65% !important;
  }
  .under main .under_sec02_frame .sec02_btn a, .under main .under_txt01 p {
    font-size: 24px;
  }
    .under .under_sec01 p,.under .under_sec02 p {
    font-size: 24px;
}
  .under main .under_sec02_frame p.txt {
    font-size: 18px;
  }
  .under main .list-check li, .under main .under_sec02_frame .sec02_frame_ttl {
    font-size: 30px;
  }
  .under main .list-check li {
    padding-left: 55px;
    margin-bottom: 20px;
  }
  .under main .list-check li::before {
    width: 40px;
    height: 40px;
  }
  .under main .under_txt01 {
    padding: 60px 0;
  }
  .under main .under_sec02 .under_sec02_frame {
    width: calc(100%/2 - 15px);
  }
  .under main .under_sec03_frame {
    padding: 65px 110px;
  }
  .under main .tb_sec04 tr td {
    padding: 15px 5px;
  }
}
@media screen and (min-width: 751px) and (max-width: 1366px) {
  #contact .mailform {
    width: 100%;
    max-width: 985px;
    margin: 0 auto;
  }
  #contact .mailform th span {
    margin-left: 10px;
    padding-bottom: 0;
  }
  #contact .mailform th {
    min-width: 330px;
  }
  #contact .mailform select.custom-select {
    width: 100px;
  }
  .button_contact {
    margin-top: 40px;
  }
  #contact .mailform select.custom-select2 {
    width: 50%;
  }
}
@media screen and (max-width: 750px) {
  .under main p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
    .under .under_sec01 p,.under .under_sec02 p {
    font-size:18px;
}
  .sp {
    display: block;
  }
  .under main .inner {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .mb0_sp {
    margin-bottom: 0 !important;
  }
    .txt_scroll {
        display: block;
        font-size: 14px;
        color: #9E9E9E;
        margin-top: 5px;
    }
  /*==========================================================
                        under mv
    ==========================================================*/
  .under main #top_info {
    height: auto;
    width: 100%;
    max-width: 100%;
    padding: 25px 0 35px;
    background: url('../images/top_info_bgsp.jpg') no-repeat left center /cover;
  }
  .under main #top_info .inner {}
  .under main #top_info h1 {
    margin-bottom: 10px;
    font-size: 30px;
  }
  .under main #top_info .top_info_btn a {
    width: 100%;
    max-width: 330px;
    font-size: 24px;
    background: url(../images/top_info_btn-arr.png) no-repeat center right 18px, linear-gradient(0deg, rgba(0, 113, 188, 1) 0%, rgba(0, 137, 206, 1) 100%);
    background-size: 12px auto, contain;
  }
  .under main .u_tit2 {
    width: max-content;
    margin: 0 auto 15px;
    padding-bottom: 15px;
    font-size: 32px;
    line-height: 1.4;
  }
  .under main .u_tit2:after {
    height: 12px;
    background: url(../images/line_bottom.svg) repeat-x;
    background-size: cover;
    width: calc(100% + 29px);
  }
  /*==========================================================
                        under class.html
    ==========================================================*/
.under_sec01 h2.tyle01 span:after, .under_sec02 h2.tyle01 span:after, .under_sec03 h2.tyle01 span:after {
    width: calc(100% + 22px) !important;
}
  .under main .under_sec01 {
    padding: 35px 0 35px;
  }
  .under main .under_sec01 .u_tit2 {
    margin-bottom: 20px;
  }
  .under main .under_sec01 .flex_3col {
    flex-wrap: wrap;
    gap: 20px !important;
  }
  .under main .under_sec01 .flex_3col li {
    width: calc(50%/2 - 30px);
    min-width: 320px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .under main .under_sec01 .flex_3col li:last-child {
    margin-bottom: 0;
  }
  .under main .under_sec01 .flex_3col li .img img {
    max-height: 194px;
  }
  .under main .under_txt01 {
    padding: 25px 0;
  }
  .under main .under_txt01 p {
    font-size: 24px;
  }
  .under main .under_sec02 {
    padding: 40px 0 30px;
  }
  .under main .under_sec02 .u_tit2 {
    margin-bottom: 20px;
  }
  .under main .under_sec02 .flex_2col {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .under main .under_sec02 .under_sec02_frame {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    padding-bottom: 0;
    margin-bottom: 20px;
  }
  .under main .under_sec02 .under_sec02_frame:last-child {
    margin-bottom: 0;
  }
  .under main .under_sec02_frame .sec02_frame_ttl {
    position: relative;
    font-size: 21px;
    padding: 10px 50px 10px 10px;
    border-radius: 15px 15px 0 0;
  }
  .under main .under_sec02_frame .sec02_frame_ttl:not(.open) {
    border-radius: 15px;
  }
  .under main .under_sec02_frame .sec02_frame_ttl .box-ic {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 5px;
  }
  .under main .under_sec02_frame .sec02_frame_ttl .box-ic .ic {
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
  }
  .under main .under_sec02_frame .sec02_frame_ttl .box-ic .ic:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 3px;
    background: #222222;
    transition: all 0.3s;
  }
  .under main .under_sec02_frame .sec02_frame_ttl .box-ic .ic:after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #222222;
    width: 3px;
    height: 15px;
    transition: all 0.3s;
  }
  .under main .under_sec02_frame .sec02_frame_ttl.open .ic:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .under main .under_sec02_frame .sec02_frame_ttl.open .ic:after {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .under main .under_sec02_frame .accordion-content {
    display: none;
    padding: 20px 20px;
  }
  .under main .under_sec02_frame .sec02_content {
    flex-direction: column;
    padding: 0 0 0;
    margin-bottom: 20px;
  }
  .under main .under_sec02_frame p.txt {
    font-size: 18px;
  }
  .under main .under_sec02_frame .img {
    text-align: center;
    margin-right: 0;
    padding-bottom: 20px;
  }
  .under main .under_sec02_frame .img, .under main .under_sec02_frame p.txt {
    width: 100%;
    padding-left: 0;
  }
  .under main .under_sec02_frame .sec02_btn a {
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 0;
    padding: 10px 35px 12px 15px;
  }
  .under main .under_sec02_frame .sec02_btn a, .under main .under_sec02_frame .sec02_btn a:after {
    width: 230px;
    height: 50px;
  }
  .under main li:nth-child(2n) .sec02_btn a:after, .under main .under_sec02_frame .sec02_btn a:after {
    background-size: 18px;
  }
  .under main .under_sec02_frame .sec02_btn a:before {
    width: 237px;
    height: 56px;
  }
  .under main .under_sec03 {
    padding: 30px 0 40px;
    background: #fff6e6;
  }
  .under main .under_sec03 .inner {
    padding: 0 20px;
  }
  .under main .under_sec03_frame {
    padding: 20px 20px;
    max-width: 440px;
    margin: 25px auto 0;
  }
  .under main .list-check li {
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 20px;
  }
  .under main .list-check li:before {
    width: 30px;
    height: 30px;
  }
  .under main .under_sec04 {
    padding: 35px 0;
  }
  .under main .under_sec04 .tb_scroll {
    overflow-x: scroll;
  }
  .under main .under_sec04 .tb_scroll table {
    width: 960px;
  }
  .under main .tb_sec04 tr:first-child th:nth-child(1) {
    width: 120px;
  }
  .under main .tb_sec04 tr:first-child th:nth-child(2), .under main .tb_sec04 tr:first-child th:nth-child(3), .under main .tb_sec04 tr:first-child th:nth-child(4) {
    width: calc(100%/3 - 120px);
  }
  .under main .tb_sec04 tr:first-child th:nth-child(3), .under main .tb_sec04 tr:first-child th:nth-child(4) {
    font-size: 23px;
  }
  .under main .tb_sec04 tr th {
    font-size: 24px;
  }
  .under main .tb_sec04 tr td {
    font-size: 18px;
  }
  .under main .tb_sec04 tr:first-child img {
    max-width: 180px;
  }
  .under main table img {
    max-width: 50px;
    margin: 0 auto 10px;
  }
  .under main #sec03 .inner {
    padding: 0 20px;
  }
  /*==========================================================
                        MAIL FORM
    ==========================================================*/
  #contact main h1 {
    width: max-content;
    margin: 0 auto 15px;
    margin-bottom: 25px;
    font-size: 32px;
    line-height: 1.4;
  }
  #contact main h1:after {
    background: url(../images/line_bottom.svg) repeat-x;
    height: 8px;
    background-size: cover;
    width: calc(100% + 16px);
  }
  #contact .mailform {
    margin-top: 30px;
  }
  #contact .mailform th, #contact .mailform td {
    display: block;
    width: 100%;
	min-height: 68px;
    font-size: 20px;
  }
  #contact .mailform td.conf{
	  color: darkorange;
  }
  #contact .mailform tr:first-child th {
    border-bottom: none
  }
  #contact .mailform th {
    width: 100%;
    min-width: unset;
    font-weight: 700
  }
  #contact .mailform th span {
    margin-left: 0;
    display: block;
    padding-bottom: 0;
    line-height: 1.4;
  }
  #contact .mailform th span.required {
    width: 50px;
    height: 32px;
    right: 10px;
    top: 19px;
    font-size: 18px;
    line-height: 0;
  }
  #contact .mailform input[type="text"], #contact .mailform input[type="email"], #contact .mailform input[type="tel"], #contact .mailform textarea {
    width: 100%;
    padding: 5px 8px;
  }
  #contact .mailform select, #contact .mailform label, #contact .mailform textarea, #contact .mailform input[type="text"], #contact .mailform input[type="email"], #contact .mailform input[type="tel"], #contact .mailform select, #contact .mailform p {
    font-size: 18px;
  }
  #contact .mailform p.notes {
    font-size: 80%;
  }
  #contact .mailform .flex_select {
    flex-wrap: wrap;
    gap: 15px !important;
  }
  #contact .mailform .flex_select span {
    width: 100%
  }
  #contact .mailform select.custom-select2, #contact .mailform select.custom-select3 {
    width: 100%;
    background: url('../images/arrow_down.png') no-repeat right 20px center / 16px;
    background-color: white;
    padding-right: 30px;
    margin: 0 0 0;
  }
  #contact .mailform select.custom-select {
    width: 60px;
    background: url(../images/arrow_down.png) no-repeat right 10px center / 16px;
    background-color: white;
    padding-right: 28px;
  }
  #contact .mailform input[type="radio"], #contact .mailform input[type="checkbox"] {
    width: 24px;
    height: 24px;
    top: 4px;
    margin-right: 10px;
  }
  .under main .button_contact {
    width: 300px;
    height: 60px;
    margin: 0 auto 30px;
  }
  .button_contact input {
    font-size: 24px;
  }
  .flex_select .item_select {
    margin: 0 15px 0 0;
  }
  .ml_red01 {
    margin-left: 0;
  }
  #contact .mailform .f_sm {
    font-size: clamp(12px, 3vw, 18px) !important;
  }
  #contact .mailform .f_lr {
    font-size: clamp(12px, 3.95vw, 20px) !important;
  }
  #contact .mailform .list_check label {
    align-items: flex-start;
  }
  #contact .mailform .list_check span {
    width: calc(100% - 45px);
    top: 3px;
    line-height: 1.4;
  }
  #contact .flex_select .item_select {
    margin: 0 0 0 0;
  }
  #contact .mailform th.align-top {
    padding: 20px 10px;
  }
  @supports (-webkit-touch-callout: none) {
    #contact .mailform th span.required {
      padding-bottom: 0;
    }
  }
}
@media screen and (max-width: 640px) {
  .sp640 {
    display: block;
  }
  .under main .under_sec01 .flex_3col li:last-child {
    margin-bottom: 0;
  }
}
/* IPHONE 14 */
@media screen and (max-width: 440px) {
  .none440 {
    display: none;
  }
  .sp440 {
    display: block;
  }
  .under main .under_txt01 p {
    font-size: 20px;
  }
  .under main #top_info .top_info_btn a {
    width: 326px;
    height: 85px;
    justify-content: center;
    padding: 5px 40px 10px 30px;
  }
  .under main .under_sec02 .under_sec02_frame {
    margin-bottom: 20px;
  }
  .under main .under_sec02_frame .sec02_frame_ttl {
    padding: 10px 50px 12px 10px;
    line-height: 1.3;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    cursor: pointer;
  }
  .under main .under_sec02_frame .sec02_frame_ttl:not(.open) {
    border-radius: 12px;
  }
  .under main .under_sec03_frame {
    padding: 20px 15px 20px 15px;
  }
  .under main .list-check li {
    font-size: 19px;
    padding-left: 40px;
    margin-bottom: 15px;
  }
  .under main .list-check li:before {
    width: 32px;
    height: 32px;
    top: 5px;
  }
  .under main .under_sec01 .flex_3col {
    gap: 0 !important;
  }
}
/* IPHONE 6 */
@media screen and (max-width: 360px) {
  .none360 {
    display: none;
  }
  .under main #top_info h1 {
    font-size: 28px;
    text-align: center;
  }
  .under main .u_tit2 {
    font-size: 26px;
  }
  .under main .u_tit2:after {
    width: 100%;
  }
  .under .under_sec01 p,.under .under_sec02 p {
    font-size: 16px;
}
  .under main #top_info .top_info_btn a {
    width: 300px;
    padding: 5px 30px 10px 15px;
  }
  .under main .under_txt01 p {
    font-size: 17px;
  }
  .under main .under_sec02_frame .sec02_frame_ttl {
    font-size: 18px;
  }
  .under main .list-check li {
    font-size: 18px;
    padding-left: 35px;
  }
  .under main .list-check li:before {
    width: 30px;
    height: 30px;
    top: 5px;
  }
}
@media screen and (max-width: 320px) {
  #sec03 .btn01 a {
    padding-bottom: 2px;
    font-size: 16px;
  }
  .under main #sec03 .s03_cont .item .s03_voice, .under main #sec03 .s03_cont .item:last-child .s03_voice {
    padding: 20px 20px;
  }
  .under main .s03_cont .item:last-child .s03_voice h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .under main .under_sec02_frame .sec02_frame_ttl {
    font-size: 16px;
  }
  .under main .under_sec02_frame .sec02_btn a {
    font-size: 18px;
  }
}