@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: 70vw;
    --max-height: 375px;
    --min-height: 320px;
    height: auto;
    max-height: fit-content;
  }
  .home_page .key .key_text {
    width: 100%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    padding-top: 3em;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: min(8px, 1.8vw);
  }
  .home_page .key .txt_address {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    margin-bottom: 0.8em;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .home_page .key .b_tel {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .home_page .key .b_traffic {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .home_page .key .b_traffic .traffic_it {
    margin: 0.5em 1em;
    max-width: 351px;
  }
  .home_page .key .key_catch {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .home_page .key .key_wrap {
    width: calc(100% - 30px);
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .home_page .key .catch h2 {
    letter-spacing: 0.05em;
  }
  .home_page .key .mv_slider {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: 140vw;
    border-radius: 3em;
    position: relative;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
@media only screen and (max-width: 639px) {
  .home_page .key .txt_address {
    font-size: 2.2em;
  }
  .home_page .key .b_tel {
    font-size: 1.2em;
  }
  .home_page .key .b_traffic {
    font-size: 1.2em;
  }
  .home_page .key .b_traffic .traffic_it {
    width: 100%;
  }
}
@media only screen and (max-width: 425px) {
  .home_page .key .b_traffic .traffic_tt {
    font-size: max(3.7vw, 1.6em);
  }
}
@media only screen and (max-width: 768px) {
  .wrap_title .en {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .wrap_title h3 {
    font-size: 26px;
    line-height: 1.4;
  }
  .idx01 {
    padding: 60px 0px 60px;
  }
  .idx01::before {
    top: -60px;
    width: 100%;
    height: 150px;
  }
  .idx01 .gr_img {
    font-size: min(6px, 1.2vw);
  }
  .idx01 .gr_img .img02 {
    bottom: unset;
    top: 40em;
  }
  .idx01 .news_title {
    margin: 0 auto 30px;
    width: round(28.5em, 1px);
    height: round(28.5em, 1px);
    font-size: min(8px, 2vw);
  }
  .idx01 .news_title h3 {
    letter-spacing: 0.05em;
  }
  .idx01 .tab_btn {
    width: 80%;
  }
  .idx01 .tab_btn .tab {
    padding: 8px 5px 8px;
  }
  .idx01 .tab_content .content {
    border-radius: 20px;
  }
  .idx01 .tab_content .content > div {
    padding: 20px 5% 30px;
  }
  .idx01 .list_post a {
    padding: 10px 10px 10px 10px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    --w: 87px;
  }
  .idx01 .list_post a .cate {
    width: 80px;
    top: 0;
    font-size: 12px;
  }
  .idx01 .list_post a .title {
    padding-left: 0;
    width: 100%;
  }
  .idx_map {
    margin-top: 20px;
    margin-bottom: 25px;
    width: 100%;
    max-width: 475px;
    height: 76vw;
    max-height: 299px;
    order: 1;
  }
  .idx02 .inner_full {
    padding: 60px 0 60px;
    display: flex;
    flex-direction: column;
  }
  .idx02 .inner_full::before, .idx02 .inner_full::after {
    font-size: min(6px, 1vw);
  }
  .idx02 .inner_big{    
    display: contents;
  }
  .idx02 .block_clinic {
    position: relative;
    display: contents;
  }
  .idx02 .img_bottom {
    display: contents;
    padding: 0 20px;
    margin-top: -25px;
  }
  .idx02 .img_bottom > div {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .idx02 .img_bottom .img {
    display: none;
    order: 3;
  }
  .idx02 .img_lg {
    border-radius: 0;
    width: 100%;
    max-height: max-content;
    height: auto;
    order: 1;
    background: none;
  }
  .idx02 .box_title {
    font-size: min(8.75px, 3vw);
    position: relative;
    right: 0;
    left: 0;
    top: 0;
    margin: 0 auto;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .idx02 .box_title h3 {
    -webkit-writing-mode: unset;
        -ms-writing-mode: unset;
            writing-mode: unset;
    border-bottom: 1px solid var(--clr1);
    border-top: 1px solid var(--clr1);
    border-left: 0;
    border-right: 0;
    padding: 0.3em 0.4583333333em;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    font-size: 28px;
    margin-right: 0;
    margin-top: 7px;
  }
  .idx02 .box_title .en {
    font-size: 7em;
    letter-spacing: 0;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .idx02 .idx_logo {
    margin-bottom: 15px;
  }
  .idx02 .clinic_img{
    order: 2;
    display: contents;
  }
  .idx02 .clinic_ct {
    padding: 35px 20px 0;
    order: 2;
  }
  .idx02 .b_tel {
    margin-top: 15px;
    margin-bottom: 20px;
  }
  .idx02 .time_sheet {
    margin-left: auto;
    margin-right: auto;
  }
  .idx02 .b_traffic {
    padding: 30px 2%;
    width: calc(100% - 40px);
    font-size: min(8px, 1.15vw);
    border-radius: 40px;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    order: 5;
  }
  .idx02 .idx_map{order: 6;}
  .idx02 .gr_contact {
    margin-bottom: 20px;
    font-size: min(8px, 2.5vw);
  }
  .idx02 .btn {
    margin-top: 30px;
    width: 100%;
    order: 7;
  }
  .idx03 {
    padding: 60px 0;
  }
  .idx03::before {
    height: 153vw;
    max-height: 590px;
  }
  .idx03 .wrap_title {
    padding: 0 20px;
    margin-bottom: 35px;
  }
  .idx03 .slick-arrow{
    width: 6em;
    height: 6em;
  }
  .idx03 .block_flow {
    font-size: min(8px, 2.1vw);
  }
  .idx03 .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
  .idx04 {
    padding: 60px 0;
  }
  .idx04::after{z-index: -1;}
  .idx04::before, .idx04::after {
    font-size: min(6px, 0.9vw);
  }
  .idx04 .box_title {
    text-align: center;
  }
  .idx04 .box_title .en {
    font-size: 20px;
    padding-top: 2.8em;
    padding-right: 0;
    margin-left: 0;
    margin-bottom: 5px;
  }
  .idx04 .box_title .en::before {
    top: 0;
    left: 0;
    margin: auto;
  }
  .idx04 .box_title h3 {
    font-size: 40px;
  }
  .idx04 .block_greeting::before {
    left: -20px;
    max-height: 75%;
    height: 315vw;
  }
  .idx04 .block_greeting::after {
    display: none;
    font-size: min(6px, 1vw);
  }
  .idx04 .greeting_img {
    display: table;
    margin: 0 auto 20px;
    font-size: min(10px, 1.45vw);
  }
  .idx04 .greeting_img::before {
    content: "";
    position: absolute;
    background: url(../images/idx04_tooth.svg) no-repeat center/contain;
    width: 76.9em;
    height: 81.4em;
    top: -3em;
    right: 0;
    left: -2.9em;
    margin: auto;
    z-index: -2;
    font-size: 0.85em;
  }
  .idx04 .greeting_ct p {
    font-size: 16px;
    line-height: 2;
  }
  .idx04 .group_btn {
    margin-top: 24px;
  }
  .idx04 .group_btn .btn {
    margin: 7px;
    width: calc(50% - 14px);
  }
  .b_grid .b_title {
    text-align: center;
    display: block;
    margin-bottom: 20px;
  }
  .b_grid .b_title h4 {
    font-size: 26px;
  }
  .b_grid .b_title .en {
    margin-left: 0;
    margin-top: 3px;
  }
  .b_grid .pickup_img, .b_grid .trouble_img {
    margin-right: auto;
    margin-bottom: 25px;
  }
  .b_grid .btn {
    margin: 25px auto 0;
    max-width: 248px;
  }
  .b_grid .btn a {
    min-height: 4.2em;
  }
  .idx05 {
    padding: 60px 0;
  }
  .idx05 .wrap_title {
    margin-bottom: 25px;
  }
  .idx05 .wrap_title h3::after {
    margin-top: 7px;
  }
  .idx05 .tab_pickup .TabPager {
    font-size: min(8.75px, 1.8vw);
    width: 85%;
  }
  .idx05 .tab_pickup .TabPager > div {
    max-width: 33em;
  }
  .idx05 .tab_pickup .TabContent .content > div {
    border-radius: 25px;
    padding: 30px 5%;
  }
  .idx06 {
    padding: 60px 0;
  }
  .idx06::before, .idx06::after {
    font-size: min(6px, 0.8vw);
  }
  .idx06 .wrap_title {
    margin-bottom: 25px;
  }
  .idx06 .wrap_title::before {
    font-size: 4px;
  }
  .idx07 {
    padding: 60px 0;
  }
  .idx07 .wrap_title {
    margin: 0 auto 30px;
  }
  .idx07 .tab_trouble .TabPager {
    font-size: min(8px, 1.15vw);
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 2.5em;
  }
  .idx07 .tab_trouble .TabPager > div::before {
    border-radius: 0.8em;
  }
  .idx07 .tab_trouble .TabContent .content > div {
    border-radius: 25px;
    padding: 30px 5%;
  }
  .idx08 {
    padding: 60px 0 80px;
  }
  .idx08 .block_cost {
    margin-bottom: 95px;
  }
  .idx08 .b_title {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    min-height: min(10em, 16vw);
    font-size: 8px;
    margin-bottom: 25px;
  }
  .idx08 .b_title h3 {
    font-size: 3em;
  }
  .idx08 .b_title .en {
    left: 0;
    right: 0;
    letter-spacing: 0.05em;
    font-size: min(12em, 18vw);
  }
  .idx08 .illus01 {
    bottom: unset;
    top: 6.5em;
    font-size: min(5px, 0.9vw);
  }
  .idx08 .box_wrap {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .idx08 .box_wrap::before {
    bottom: 0;
    height: calc(100% + 3em);
  }
  .idx08 .box_wrap::after {
    height: calc(100% - 2em);
  }
  .idx08 .b_img {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: min(7px, 2vw);
  }
  .idx08 .b_img figure{
    width: calc((100% - 5.6em) / 2);
  }
  .idx08 .b_img.img_right .img01{
    max-width: 60em;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .idx08 .b_img.img_right .img02, .idx08 .b_img.img_right .img03{
   display: none;
}
  .idx08 .b_img.img_right {
    margin-right: auto;
    justify-content: space-between;
  }
  .idx08 .b_img.img_left {
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
  }
  .idx08 .b_img.img_left .img03{
    max-width: 60em;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
  }
  .idx08 .b_img.img_left .img01, .idx08 .b_img.img_left .img02{display: none;}
  .idx08 .btn {
    margin: 30px auto -56px;
    max-width: 248px;
  }
  .idx08 .btn a {
    min-height: 4.2em;
  }
  .idx08 .b_cont::before {
    font-size: min(6px, 0.6vw);
  }
  .idx08 .b_cont p {
    font-size: 16px;
    line-height: 2;
  }
  .idx08 .b_right .box_wrap {
    padding-left: 5%;
    padding-right: 5%;
  }
  .idx08 .b_right .box_wrap::before, .idx08 .b_right .box_wrap::after {
    border-radius: 0;
  }
  .idx08 .b_right .box_wrap::before {
    right: -20px;
  }
  .idx08 .b_right .box_wrap::after {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }
  .idx08 .b_right .b_cont::before {
    right: 0;
    bottom: 40px;
  }
  .idx08 .b_right .btn {
    margin-right: auto;
  }
  .idx08 .b_left .box_wrap {
    padding-left: 5%;
    padding-right: 5%;
  }
  .idx08 .b_left .box_wrap::before, .idx08 .b_left .box_wrap::after {
    border-radius: 0;
  }
  .idx08 .b_left .box_wrap::before {
    left: -20px;
  }
  .idx08 .b_left .box_wrap::after {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }
  .idx08 .b_left .b_cont::before {
    right: 0;
    bottom: 40px;
  }
  .idx09 {
    padding: 60px 0 0;
    background-image: url(../images/idx09_bg_sp.jpg);
    background-size: 100% auto;
  }
  .idx09 .wrap_title {
    margin-bottom: 50px;
  }
  .idx09 .feature_wrap {
    padding-bottom: 60px;
  }
  .idx09 .block_feature .item {
    max-width: 605px;
    width: 100%;
    margin: 0 auto 40px;
  }
  .idx09 .block_feature h4 {
    font-size: min(22px, 6.5vw);
  }
  .idx09 .block_feature .feature_cont {
    padding: 180px 6% 50px;
  }
  .idx09 .block_feature .feature_img .point {
    font-size: min(8px, 1.8vw);
  }
  .idx09 .block_feature .feature_img figure::before {
    top: -10px;
    left: 10px;
  }
  .idx09 .btn.btn_more{bottom: 50px;}
  .idx_banner {
    border-radius: 20px;
    padding: 0 5% 25px;
    margin-top: 60px;
    margin-bottom: 50px;
  }
  .idx_banner .bnr_title {
    font-size: 24px;
    padding: 0 0.5em;
  }
  .idx_banner .item {
    width: calc(50% - 10px);
    margin: 10px 5px;
  }
}
@media only screen and (max-width: 768px) and (min-width: 451px) {
  .idx06 .block_menu {
    font-size: min(9px, 1.2vw);
  }
  .idx06 .block_menu figure {
    margin-bottom: 0.9em;
    max-width: 9.4em;
  }
  .idx06 .block_menu .menu_item {
    width: calc((100% - 1em) / 3);
    margin-right: 0.5em;
    margin-bottom: 1em;
  }
  .idx06 .block_menu .menu_item:nth-child(3n+3), .idx06 .block_menu .menu_item:last-child {
    margin-right: 0;
  }
  .idx06 .block_menu .menu_item .box_in {
    padding: 2em 1em 0.9em;
  }
}
@media only screen and (max-width: 450px) {
  .idx02 .b_traffic {
    font-size: min(8px, 2.233vw);
  }
  .idx02 .b_traffic .traffic_it {
    width: 100%;
  }
  .idx04 .box_name {
    font-size: 1.2em;
    bottom: 4.5em;
  }
  .idx04 .group_btn .btn {
    width: 100%;
    margin: 10px auto;
  }
  .idx06 .block_menu {
    font-size: min(10px, 1.75vw);
  }
  .idx06 .block_menu figure {
    margin-bottom: 0.9em;
    max-width: 9.4em;
  }
  .idx06 .block_menu .menu_item {
    width: calc((100% - 0.5em) / 2);
    margin-right: 0.5em;
    margin-bottom: 0.5em;
  }
  .idx06 .block_menu .menu_item:nth-child(2n+2), .idx06 .block_menu .menu_item:last-child {
    margin-right: 0;
  }
  .idx06 .block_menu .menu_item .box_in {
    padding: 2em 1em 0.9em;
  }
  .idx07 .tab_trouble .TabPager {
    font-size: min(8px, 1.8vw);
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .idx07 .tab_trouble .TabPager > div {
    width: calc(50% - 1em);
  }
  .idx07 .tab_trouble .TabPager > div:nth-child(1), .idx07 .tab_trouble .TabPager > div:nth-child(2) {
    margin-bottom: 5.2em;
  }
  .idx_banner .item {
    width: 100%;
  }
}
@media only screen and (max-width: 370px) {
  .wrap_title h3 {
    letter-spacing: 0.05em;
  }
}