@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: calc(100vh + 170px);
    --max-height: 137vw;
    --min-height: 550px;
    font-size: 6px;
    z-index: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .home_page .key .key_wrap {
    padding-top: 60px;
    display: block;
  }
  .home_page .key .mv_slider {
    padding-bottom: 120px;
  }
  .home_page .key .mv_slider .slick-track {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .home_page .key .key_text .item {
    width: 100%;
    padding: 10px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
    min-height: 29.2em;
    max-height: -webkit-fit-content;
    max-height: -moz-fit-content;
    max-height: fit-content;
  }
  .home_page .key .catch {
    text-align: center;
    padding-top: 2vw;
    padding-bottom: 7.6em;
    padding-left: 0;
    width: 100%;
    max-width: 60em;
  }
  .home_page .key .key_video {
    max-height: 490px;
    height: 66vw;
    width: 95%;
    margin-left: auto;
    margin-right: 0;
    border-top-left-radius: 30px;
  }
  .home_page .key h2 {
    padding-bottom: 0.2em;
    margin-bottom: 0.2em;
    font-size: 5em;
  }
  .home_page .key .k_tt {
    font-size: 2.6em;
  }
  .home_page .key .key_point {
    font-size: 6px;
    margin-top: 2.9em;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    right: 0;
    left: 0;
  }
  .home_page .key .key_point .point_num {
    font-size: 10px;
    margin-bottom: 7px;
  }
  .home_page .key .key_point .point_it.point02 .point_num {
    margin-bottom: 1px;
  }
  .home_page .key .txt_en {
    z-index: -1;
    font-size: min(15em, 12vw);
  }
}
@media only screen and (max-width: 639px) {
  .home_page .key {
    font-size: 1.4vmin;
    --max-height: 180vw;
  }
  .home_page .key .k_tt {
    font-size: 3em;
  }
}
@media only screen and (max-width: 370px) {
  .home_page .key {
    --max-height: 192vw;
  }
  .home_page .key .mv_slider {
    padding-bottom: 135px;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key {
    font-size: 1.4vmin;
    --min-height: 855px;
  }
}
@media only screen and (max-width: 768px) {
  .wrap_h3 h3 {
    font-size: 28px;
  }
  .wrap_h3 .h_en {
    font-size: 18px;
    margin-bottom: 0;
  }
  h4 {
    font-size: 22px;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  h4.sm {
    font-size: 20px;
  }
  .fz18 p {
    font-size: 16px;
  }
  .idx01 {
    padding: 55px 0;
  }
  .idx01 .block_news .wrap_h3 {
    margin-bottom: 15px;
  }
  .idx01 .list_tab {
    margin-bottom: 25px;
  }
  .idx01 .list_tab .tab {
    padding: 8px 6px;
  }
  .idx01 .tab_content .btn {
    margin-right: auto;
    margin-top: 15px;
  }
  .idx01 .list_post a {
    padding: 14px 20px 14px 0;
  }
  .idx01 .list_post a::after {
    width: 7px;
  }
  .idx01 .list_post a .date {
    width: 80px;
  }
  .idx01 .list_post a .title {
    font-size: 16px;
    margin-top: 4px;
  }
  .idx01 .list_post a .cate {
    top: -1px;
    width: 70px;
    font-size: 11px;
  }
  .idx01 .block_greeting {
    padding-top: 50px;
  }
  .idx01 .block_greeting .wrap_h3 {
    margin-bottom: 25px;
  }
  .idx01 .greeting_img {
    max-width: 500px;
    width: 100%;
    margin: 0 auto 25px;
  }
  .idx01 .greeting_img .img01 {
    margin-top: 8vw;
  }
  .idx01 .greeting_cont .sub_text {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
  }
  .idx01 .greeting_cont p:not(.sub_text), .idx01 .greeting_cont:not(:last-child) {
    margin-bottom: 10px;
  }
  .idx01 .gr_btn {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 15px;
  }
  .idx01 .gr_btn .btn {
    margin: 5px;
  }
  .idx02 {
    background-image: url(../images/idx02_bg_sp.jpg);
    background-position: top center;
    background-size: 100% auto;
    background-color: var(--main-color);
    padding: 55px 0;
  }
  .idx02 .box_day {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 20px;
    font-size: 7px;
  }
  .idx02 .p_label {
    margin-bottom: 15px;
  }
  .idx02 .p_label .it {
    font-size: min(16px, 4.5vw);
    padding: 0.4444444444em 0.3em;
  }
  .idx02 .btn02 {
    margin-top: 25px;
  }
  .idx02 .block_contact {
    padding: 30px 6%;
  }
  .idx02 .block_contact .txt_note{margin-top: 15px;}
  .idx03 {
    padding: 55px 0 0;
  }
  .idx03::before {
    background-size: 52% auto, 100% auto, auto 100vw;
  }
  .idx03 .wrap_h3 {
    margin-bottom: 25px;
  }
  .idx03 .service_tab .tab_btn {
    margin-bottom: 20px;
  }
  .idx03 .service_tab .tab_btn .tab {
    width: calc(50% - 10px);
    margin: 5px;
    padding: 10px 10px 10px;
  }
  .idx03 .service_tab .tab_btn .tab .tl {
    font-size: 16px;
  }
  .idx03 .service_bnr {
    margin-top: 30px;
  }
  .idx03 .service_bnr .bnr_it {
    width: 100%;
    max-width: 450px;
    margin: 1em auto;
    padding: 4em 3em 4em;
    font-size: min(8px, 1.6vw);
  }
  .idx03 .block_problem {
    margin-top: 25px;
  }
  .idx03 .block_problem h5.min-h {
    min-height: auto;
  }
  .idx03 .block_problem .item {
    font-size: min(9px, 2vw);
    width: calc(50% - 10px);
    margin: 5px;
  }
  .idx03 .tab01.TabContainer .TabPager > div {
    width: 50%;
    max-width: 300px;
  }
  .idx03 .tab02 {
    margin-top: 50px;
  }
  .idx03 .b_grid h4 {
    font-size: min(22px, 6.3vw);
    letter-spacing: 0.02em;
  }
  .idx03 .b_grid .btn {
    margin-right: auto;
    margin-top: 0;
  }
  .idx03 .b_grid .service_img {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }
  .idx03 .btn03 {
    max-width: 350px;
    margin-top: 30px;
  }
  .idx03 .block_support {
    margin-top: 45px;
    padding: 45px 5% 45px;
  }
  .idx03 .block_support .wrap_h3 {
    margin-bottom: 15px;
  }
  .idx03 .block_support .item {
    width: calc(50% - 10px);
    margin: 10px 5px;
  }
  .idx03 .block_support .support_cont {
    padding: 17px 5% 35px;
  }
  .idx03 .block_support .support_cont::after {
    bottom: 11px;
    right: 11px;
    width: 20px;
    height: 20px;
  }
  .idx04 {
    padding: 55px 0;
  }
  .idx04 .wrap_h3 {
    margin-bottom: 20px;
  }
  .idx04 .block_feature .feature_item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50vw;
            flex: 0 0 50vw;
    font-size: min(2.2vw, 8px);
    margin-right: 2em;
  }
  .idx04 .block_feature .feature_item:last-child {
    position: relative;
    left: -1.5em;
  }
  .idx04 .btn03 {
    max-width: 350px;
    width: calc(100% - 40px);
    margin: 25px auto 0;
  }
  .idx05 {
    padding: 55px 0;
  }
  .idx05::after {
    height: 37%;
  }
  .idx05 .block_info {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .idx05 .block_info .info_cont, .idx05 .block_info .idx_map, .idx05 .block_info .info_img {
    max-width: 600px;
  }
  .idx05 .block_info .info_cont {
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    border-width: 7px;
    text-align: center;
    margin-bottom: 25px;
    margin-top: -25px;
    padding: 25px 5% 30px;
  }
  .idx05 .block_info .info_img {
    width: 50%;
    max-height: 299px;
    height: 50vw;
  }
  .idx05 .block_info .info_img img {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .idx05 .idx_logo {
    padding-bottom: 15px;
    margin-bottom: 10px;
  }
  .idx05 .idx_logo a {
    width: 90%;
  }
  .idx05 .idx_map {
    width: 50%;
    max-height: 299px;
    height: 50vw;
  }
  .idx05 .b_tel {
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    font-size: min(7px, 1.6vw);
  }
  .idx05 .info_bnr {
    padding: 0 20px;
  }
  .idx05 .info_bnr .bnr_it {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
  }
  .idx05 .info_bnr .bnr_it:nth-child(2) {
    margin-right: 0;
  }
  .idx05 .info_bnr .bnr_tl {
    margin-top: 0.7em;
    font-size: min(22px, 4.5vw);
  }
  .idx05 .info_bnr .bnr_tl::after {
    width: 1em;
    height: 1em;
    aspect-ratio: 24/24;
  }
  .idx_bnr {
    padding: 40px 0 40px;
  }
  .idx_bnr .bnr {
    width: calc(50% - 10px);
    margin: 5px;
  }
}
@media only screen and (max-width: 430px) {
  .idx03 .block_problem .br_pc {
    display: none;
  }
  .idx03 .block_problem .item {
    padding-top: 2.2em;
  }
  .idx03 .block_problem .item .icon {
    margin-bottom: 1em;
  }
  .idx03 .block_problem .item p {
    font-size: 1.6em;
  }
  .idx03 .block_support .item {
    width: 100%;
    margin: 0 auto 15px;
  }
  .idx03 .block_support .item:last-child {
    margin-bottom: 0;
  }
  .idx04 .block_feature .feature_item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 70vw;
            flex: 0 0 70vw;
  }
  .idx04 .block_feature .feature_item:last-child {
    left: -1em;
  }
  .idx04 .block_feature .feature_cont p {
    font-size: 1.9em;
  }
  .idx04 .block_feature .point {
    font-size: 1.8em;
  }
  .idx05 .block_info .info_img, .idx05 .block_info .idx_map {
    width: 100%;
    height: 60vw;
  }
  .idx_bnr .bnr {
    width: 100%;
    margin: 10px auto;
  }
}
@media only screen and (max-width: 370px) {
  .wrap_h3 h3 {
    letter-spacing: 0;
  }
}