@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: calc(100vh - 60px);
    --max-height: 130vw;
    --min-height: 500px;
  }
  .home_page .key .key_text {
    font-size: min(8px, 2.5vw);
  }
  .home_page .key .key_text .item {
    padding: 10px 10px 12vh;
    align-items: flex-end;
  }
  .home_page .key h2 {
    line-height: 1.5;
    font-size: 3.8em;
  }
  .home_page .key h2, .home_page .key p{
    text-shadow: 0 0 10px rgb(0 0 0 / 30%), 0 0 15px rgb(0 0 0 / 30%), 0 0 15px rgb(0 0 0 / 30%);
  }
  .home_page .key .key_text .item.s1{   
    background-image: url(../images/idx_mv03_sp.jpg);
  }
  .home_page .key .key_text .item.s2{ 
    background-image: url(../images/idx_mv02_sp.jpg);
  }
  .home_page .key .key_text .item.s3{ 
    background-image: url(../images/idx_mv_sp.jpg);
  }
}
@media only screen and (max-width: 639px) {
  .home_page .key .key_text {
    font-size: 1.4vmin;
  }
  .home_page .key h2 {
    letter-spacing: 0.04em;
    font-size: 4em;
  }
}
@media only screen and (max-width: 450px) {
  .home_page .key p {
    font-size: 2.75em;
    letter-spacing: 0.05em;
  }
}
@media only screen and (max-width: 350px) {
  .home_page .key p {
    letter-spacing: 0.01em;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key .key_text {
    font-size: 1.4vmin;
  }
}
@media only screen and (max-width: 768px) {
  .key_scroll a {
    font-size: 11px;
    left: 10px;
    --h: 7.428571em;
  }
  .tl_h3 {
    font-size: 26px;
    line-height: 1.4;
  }
  .tl_h3::after {
    width: 90px;
    margin-top: 10px;
  }
  .tl_h3 .en {
    font-size: 18px;
    line-height: 1.2;
    margin-top: 0.2777777778em;
    letter-spacing: 0.03em;
  }
}
@media only screen and (max-width: 768px) {
  .idx01 {
    padding: 55px 0;
  }
  .idx01::before {
    height: calc(100% + 60px);
    background-image: url(../images/idx01_bg_sp.jpg);
    background-position: right top;
    background-size: 100% auto;
    background-color: #fafbfb;
  }
  .idx01 .inner_max::before {
    bottom: -80px;
    left: -20px;
    width: 150px;
    background-position: right 24% bottom;
  }
  .idx01 .concept_img, .idx01 .concept_cont {
    margin-left: auto;
    margin-right: auto;
  }
  .idx01 .concept_cont {
    margin-top: -35px;
    width: 90%;
    position: relative;
    padding: 28px 5% 25px;
  }
  .idx01 .gr_btn .btn_st01 {
    margin: 15px auto;
    max-width: 280px;
  }
  .idx02 {
    padding: 55px 0;
  }
  .idx02 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx02 h4 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .idx02 h4 .en {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .idx02 .block_ct::before {
    max-height: 430px;
    height: 120vw;
  }
  .idx02 .image_c {
    margin-bottom: 15px;
  }
  .idx02 .idx_wrap::before {
    font-size: min(6px, 1.2vw);
  }
  .idx02 .b_tt .btn_st01 {
    max-width: 280px;
    margin: 25px auto 0;
  }
  .idx02 .b_tt .btn_st01 a {
    padding: 1.25em 1.25em 1.25em;
  }
  .idx02 .block_tooth {
    margin: 100px -10px 0;
  }
  .idx02 .block_tooth .item {
    width: calc(50% - 20px);
    margin: 10px;
  }
  .idx02 .block_tooth .tooth_ct {
    margin-top: -70px;
  }
  .idx02 .block_tooth .btn_st01 {
    width: 90%;
  }
  .idx03 .idx_wrap {
    padding: 55px 0;
  }
  .idx03 .idx_wrap::after {
    font-size: min(10px, 3vw);
    right: 0;
  }
  .idx03 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx03 h4 {
    font-size: 24px;
    text-align: center;
  }
  .idx03 h4 .en {
    font-size: 16px;
    margin-top: 0;
  }
  .idx03_bnr {
    margin-top: 45px;
  }
  .idx03 .block_img .b_img {
    display: table;
    margin: 0 auto 20px;
  }
  .idx03 .block_img .btn_st01 {
    max-width: 280px;
    margin: 20px auto 0;
  }
  .idx03 .block_type {
    font-size: min(14px, 3vw);
  }
  .idx03 .block_type h5 .en {
    letter-spacing: 0.05em;
  }
  .idx03 .block_type p {
    letter-spacing: 0.05em;
  }
  .idx03 .block_type .item {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .idx03 .block_type .item:nth-child(2n+2) {
    margin-right: 0;
  }
  .idx03 .bnr_about {
    width: 100%;
    height: auto;
    font-size: min(14px, 2.45vw);
  }
  .idx03 .bnr_about .b_in {
    background-color: #fff;
    background-image: url(../images/bnr_about_bg_sp.jpg);
    background-position: top center;
    background-size: 100% auto;
    padding-top: 24vw;
    padding-left: 4%;
    padding-right: 4%;
  }
  .idx03 .bnr_about .bnr_title {
    letter-spacing: 0.05em;
    text-align: center;
    font-size: 1.85em;
  }
  .idx03 .bnr_fee {
    width: 100%;
    margin: 30px auto 0;
  }
  .idx04 {
    padding: 55px 0;
  }
  .idx04 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx04 .block_commitment {
    font-size: min(13px, 1.7vw);
  }
  .idx04 .block_commitment .item {
    width: calc((100% - 1.1538461538em) / 2);
    margin-right: 1.1538461538em;
    margin-bottom: 1.1538461538em;
  }
  .idx04 .block_commitment .item:nth-child(2n+2) {
    margin-right: 0;
  }
  .idx04 .block_commitment .b_bg {
    top: -1px;
  }
  .idx05 {
    padding: 55px 0;
  }
  .idx05 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx05 .btn_st01 {
    margin-top: 25px;
  }
  .idx06 {
    padding: 55px 0;
  }
  .idx06 .inner_max:before {
    left: 0;
    bottom: -83px;
    font-size: min(10px, 2vw);
  }
  .idx06 .idx_title {
    margin-bottom: 25px;
    padding: 0;
  }
  .idx06 .idx_title::before {
    font-size: min(8px, 1.3vw);
    right: 0;
    top: -80px;
  }
  .idx06 .idx_title .tl_h3 {
    font-size: 26px;
    margin-bottom: 35px;
  }
  .idx06 .idx_title .tl_num {
    position: relative;
    top: 0;
    font-size: 90px;
    margin: 0 auto;
  }
  .idx06 .block_feature h4 {
    font-size: min(20px, 6vw);
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .idx06 .block_feature .item {
    max-width: 550px;
    width: 100%;
    margin: 0 auto 60px;
  }
  .idx06 .block_feature .item:last-child {
    margin-bottom: 0;
  }
  .idx06 .block_feature .item.it_st01 .feature_cont {
    margin-left: auto;
  }
  .idx06 .block_feature .item.it_st01 .btn_st01 {
    max-width: 280px;
    margin: 20px auto 0;
  }
  .idx06 .block_feature .item.it_st01 .feature_cont, .idx06 .block_feature .item.it_st01 .feature_img, .idx06 .block_feature .item.it_st02 .feature_cont, .idx06 .block_feature .item.it_st02 .feature_img {
    width: 95%;
  }
  .idx06 .block_feature .item.it_st01 .feature_cont, .idx06 .block_feature .item.it_st02 .feature_cont {
    margin-top: -35px;
    padding: 20px 5% 30px;
  }
  .idx06 .block_feature .item.it_st01 .feature_num, .idx06 .block_feature .item.it_st02 .feature_num {
    top: -40px;
    left: 15px;
  }
  .idx06 .block_feature .feature_num {
    font-size: 70px;
  }
  .idx07 {
    padding: 55px 0 25px;
    background-image: url(../images/idx07_bg_sp.jpg);
    background-position: top right;
    background-size: 768px auto;
  }
  .idx07 .inner_big {
    max-width: 590px;
  }
  .idx07 .idx_logo {
    max-width: 300px;
    margin: 0 auto 15px;
  }
  .idx07 .box_add {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 25px;
  }
  .idx07 .col_img {
    margin: 30px auto 0;
    display: table;
  }
  .idx07 .time_sheet table th:first-child, .idx07 .time_sheet table td:first-child {
    padding-left: 0.2em;
  }
  .idx07 .btn_st01 {
    max-width: 280px;
  }
  .idx_map {
    height: 299px;
  }
  .idx08 {
    padding: 55px 0;
  }
  .idx08 .tl_h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .idx08 .tl_h3 .en {
    font-size: 12px;
    margin-top: 0;
  }
  .idx08 .btn_st01 {
    max-width: 200px;
    margin: 10px auto 0;
  }
  .idx08 .btn_st01 a {
    padding: 1em 1.25em 1em;
  }
  .idx08 .block_news .col {
    padding: 30px 5% 35px;
    margin: 0 auto 25px;
    max-width: 550px;
  }
  .idx08 .block_news .col:last-child {
    margin-bottom: 0;
  }
  .idx08 .list_post a {
    padding: 16px 3px 16px;
    --w: 6.6em;
  }
  .idx08 .list_post a::after {
    top: 0;
  }
  .idx08 .list_post a .title {
    padding-right: 1.1em;
  }
}
@media only screen and (max-width: 639px) {
  .idx02 .block_tooth {
    margin-left: 0;
    margin-right: 0;
  }
  .idx02 .block_tooth .item {
    width: 100%;
    margin: 10px auto;
  }
}
@media only screen and (max-width: 450px) {
  .tl_h3 {
    font-size: min(26px, 6.5vw);
    letter-spacing: 0.05em;
  }
  .idx03 .bnr_about p {
    font-size: 1.4em;
  }
  .idx03 .bnr_about .btn_st02 {
    font-size: 1.4em;
  }
  .idx04 .block_commitment h4 {
    font-size: 1.7em;
    line-height: 1.4;
    padding: 1.15em 0.5em 2em;
    min-height: 8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .idx04 .block_commitment h4 .en {
    letter-spacing: 0.1em;
  }
  .idx04 .block_commitment .link a::after {
    bottom: -0.1875em;
  }
  .idx06 .idx_title .tl_h3 {
    font-size: min(26px, 6.5vw);
  }
  .idx06 .idx_title .tl_h3 .br_450, .idx06 .idx_title .tl_h3 .sp_1000 {
    display: none;
  }
  .idx06 .block_feature h4 {
    letter-spacing: 0.02em;
  }
}
@media only screen and (max-width: 370px) {
  .idx06 .block_feature h4 .br_320, .idx06 .block_feature h4 .br_pc {
    display: none;
  }
}
@media only screen and (max-width: 350px) {
  .idx02 .block_ct::before {
    height: 136vw;
  }
}