@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: calc(100vh - 60px);
    --max-height: 140vw;
    --min-height: 320px;
    font-size: 7.75px;
  }
  .home_page .key .key_text .item {
    padding: 10px;
  }
  .home_page .key h2 {
    font-size: max(26px, 6em);
    padding-left: 0;
    padding-right: 0;
  }
  .home_page .key p {
    font-size: max(18px, 3em);
  }
}
@media only screen and (max-width: 640px) {
  .home_page .key {
    font-size: 1.4vmin;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key {
    font-size: 1.4vmin;
  }
}
@media only screen and (max-width: 768px) {
  .home_page h3 {
    margin-bottom: 30px;
    font-size: calc(var(--ttl_size));
  }
  .home_page h3.sm {
    font-size: calc(var(--ttl_size) - 2px);
  }
  .home_page h3.sm .en {
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px) {
  .idx01 {
    padding: 60px 0;
  }
  .idx01 h3 {
    padding-bottom: 10px;
  }
  .idx01 h3::before {
    width: 80px;
    height: 2px;
    right: 0;
    margin: 0 auto;
  }
  .idx01 h3 .jp {
    margin-left: -3px;
  }
  .idx01 .TabContainer {
    max-width: 600px;
    margin: 0 auto;
  }
  .idx01 .TabContainer .TabTitle {
    margin-bottom: 30px;
  }
  .idx01 .TabContainer .TabPager {
    justify-content: center;
    flex-wrap: wrap;
  }
  .idx01 .TabContainer .TabPager > div {
    width: calc(50% - 5px);
    max-width: 210px;
  }
  .idx01 .TabContainer .TabContent {
    border-radius: 10px;
  }
  .idx01 .TabContainer .TabContent .content > div {
    padding: max(7vw, 30px) max(5vw, 20px);
  }
  .idx01 .news ul {
    margin-bottom: 30px;
  }
  .idx01 .news ul li a {
    padding: 1.25em 1em;
    --w: 7em;
  }
  .idx01 .btn-group .btn-news {
    margin-left: auto;
    margin-right: auto;
  }
  .idx02 {
    padding: 60px 0;
  }
  .idx02 .idx_box {
    width: calc(100% - 20px);
  }
  .idx02 .box_title {
    height: clamp(220px, 70vw, 300px);
  }
  .idx02 .box_content {
    width: 95%;
    padding: max(7vw, 30px) max(5vw, 20px);
    border-radius: 10px;
  }
  .idx02 .idx_logo {
    margin-bottom: 20px;
  }
  .idx02 .idx_address {
    margin-bottom: 15px;
  }
  .idx02 .idx_tel {
    font-size: min(2vw, 10px);
    margin-bottom: 25px;
  }
  .idx02 .idx_map {
    height: 299px;
    margin-bottom: 30px;
  }
  .idx02 .time_sheet {
    font-size: min(1.6875vw, 10px);
    margin-bottom: 25px;
  }
  .idx03 {
    padding: 60px 20px;
  }
  .idx03 h3 .jp {
    font-size: 30px;
  }
  .idx03 .wrap .box_doctor {
    position: relative;
    padding-top: 5%;
    padding-left: 8%;
    padding-bottom: 8%;
    margin: 0 auto;
    margin-bottom: 25px;
  }
  .idx03 .wrap .box_doctor::before, .idx03 .wrap .box_doctor::after {
    left: -20px;
  }
  .idx03 .wrap .box_doctor .doctor_info {
    font-size: min(1.5625vw, 10px);
    bottom: 2.5%;
    right: 2.5%;
  }
  .idx03 .wrap .box_doctor .doctor_info .txt {
    padding: 2.2em;
  }
  .idx03 .wrap .box_content .desc {
    margin-bottom: 42px;
  }
  .idx03 .wrap .box_img {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    top: -60px;
    right: -20px;
    left: -20px;
  }
  .idx04 {
    padding: 60px 20px;
    background-image: linear-gradient(to bottom, #fff 30%, #f2f9fb 30%);
  }
  .idx04 .idx_box {
    flex-direction: column;
  }
  .idx04 .idx_box::before {
    left: -20px;
  }
  .idx04 .box_content {
    display: contents;
  }
  .idx04 .box_content::before {
    font-size: 5px;
    top: -10em;
    left: 0;
  }
  .idx04 .box_img {
    margin-bottom: min(12.5vw, 80px);
  }
  .idx04 .box_img picture img {
    border-radius: 12px;
  }
  .idx04 .desc {
    order: 3;
    margin-bottom: 25px;
  }
  .idx04 .btn-group {
    order: 4;
  }
  .idx05 {
    padding: 60px 20px;
  }
  .idx05 .wrap {
    padding: max(7vw, 60px) max(5vw, 15px);
    border-radius: 10px;
  }
  .idx05 .wrap::before {
    inset: 15px;
  }
  .idx05 .box_style01 {
    margin-bottom: 40px;
  }
  .idx05 .box_style01 .ttl {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .idx05 .box_style02 {
    border-radius: 10px;
    padding: max(7vw, 50px) max(5vw, 20px);
  }
  .idx05 .box_style02::before, .idx05 .box_style02::after {
    font-size: min(1.25vw, 8.75px);
  }
  .idx05 .box_style02 .box_img {
    margin-bottom: 25px;
  }
  .idx05 .box_style02 .box_wrap {
    align-items: center;
    flex-direction: column-reverse;
  }
  .idx05 .box_style02 .desc {
    margin-bottom: 25px;
  }
  .idx05 .box_style02 .list {
    flex-wrap: wrap;
    padding: 20px 15px;
    margin-bottom: 30px;
  }
  .idx05 .box_style03 {
    margin-top: 40px;
  }
  .idx05 .box_style03 .TabContainer .TabPager {
    font-size: 8.75px;
  }
  .idx05 .box_style03 .TabContainer .TabContent {
    border-radius: 10px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div {
    padding: max(7vw, 50px) max(5vw, 20px);
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box {
    flex-direction: column;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_img {
    order: 2;
    margin: 0 auto;
    margin-bottom: 25px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_cont {
    display: contents;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_cont .ttl {
    font-size: 20px;
    order: 1;
    text-align: center;
    margin-bottom: 20px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_cont .desc {
    order: 3;
    margin-bottom: 25px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_cont .btn-group {
    order: 4;
    font-size: 8.75px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box_cont .btn-group .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .idx06 {
    padding: clamp(60px, 15vw, 100px) 0;
  }
  .idx06::before {
    width: 40%;
  }
  .idx06 .TabContainer .TabPager > div {
    width: 45%;
    padding: 20px 10px;
  }
  .idx06 .TabContainer .TabPager > div .tt {
    font-size: 18px;
  }
  .idx06 .TabContainer .TabContent .content {
    border-radius: 10px;
  }
  .idx06 .TabContainer .TabContent .content > div {
    padding: max(7vw, 30px) max(5vw, 15px);
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list {
    --gap: 10px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item {
    width: calc(50% - var(--gap) / 2);
    min-height: 80px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item::before {
    width: 17px;
    bottom: 4px;
    right: 4px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item.w-full {
    max-width: 430px;
    width: 100%;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item .ttl {
    font-size: 16px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item .ttl::before {
    margin-right: 10px;
  }
  .idx07 {
    padding: 40px 0 60px;
  }
  .idx07::before {
    top: 120px;
    aspect-ratio: 750/500;
    height: auto;
    background-image: url("../images/idx07_bg_sp.png");
    background-position: top center;
  }
  .idx07 h3 .lg {
    line-height: 0.8;
  }
  .idx07 .idx07_slider {
    max-width: 500px;
    font-size: 10px;
    margin: 0 auto;
    padding-top: max(45vw, 160px);
  }
  .idx07 .slider-nav {
    font-size: 10px;
    margin-bottom: 40px;
  }
  .idx07 .slider-nav .slick-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.5em;
  }
  .idx07 .slider-nav .item {
    width: 17em !important;
    height: 17em !important;
    margin: 0.5em;
  }
  .idx07 .slider-nav .item .ttl {
    font-size: 1.6em;
    padding-top: 1.25em;
  }
  .idx07 .slider-nav .item .ttl .num {
    font-size: max(12px, 0.8889em);
  }
  .idx07 .slider-for .item .content {
    width: 100%;
    border-radius: 40px;
    padding: 20px 20px 40px;
  }
  .idx07 .slider-for .item .ttl {
    font-size: 2.4em;
    margin-bottom: 15px;
  }
  .idx07 .slider-for .item .desc {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .idx07 .slider-for .item .btn-group {
    font-size: 0.875em;
  }
  .idx08 {
    padding: 60px 0;
  }
  .idx08 .idx_box {
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
  }
  .idx08 .box_img {
    margin-bottom: 20px;
  }
  .idx08 .box_content {
    display: contents;
  }
  .idx08 .desc {
    order: 3;
    margin-bottom: 25px;
  }
  .idx08 .btn-group {
    order: 4;
  }
  .idx09 .idx_box .box {
    padding: 40px 20px;
  }
  .idx09 .idx_box .box .txt {
    max-width: 550px;
    margin: 0 auto;
  }
  .idx09 .idx_box .box .ttl {
    font-size: 22px;
  }
  .idx09 .idx_box .desc {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 639px) {
  .idx05 .box_style03 .TabContainer .TabPager {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .idx05 .box_style03 .TabContainer .TabPager > div {
    width: calc(48% - 2.5px);
  }
  .idx05 .box_style03 .TabContainer .TabContent {
    position: relative;
    border-radius: 0 0 10px 10px;
  }
  .idx05 .box_style03 .TabContainer .TabContent::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 100%;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list {
    gap: 8px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item {
    padding: 20px 4px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item .ttl {
    font-size: 14px;
    width: 100%;
    height: 100%;
    flex-direction: column;
    text-align: center;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item .ttl::before {
    margin-right: 0;
    margin-bottom: 0.8em;
  }
}
@media only screen and (max-width: 430px) {
  .idx02 .time_sheet {
    font-size: min(2.0625vw, 8.75px);
  }
  .idx03 .wrap .box_doctor {
    padding-left: 0;
  }
  .idx05 .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
  .idx05 .wrap .inner_max {
    padding-left: 15px;
    padding-right: 15px;
  }
  .idx05 .wrap::before {
    inset: 10px;
  }
  .idx07::before {
    top: 160px;
  }
  .idx07 .slider-nav {
    font-size: 8.75px;
  }
}
@media only screen and (max-width: 360px) {
  .idx01 .TabContainer .TabPager {
    flex-wrap: wrap;
  }
  .idx01 .TabContainer .TabPager > div .tt {
    font-size: 12px;
  }
  .idx05 h3.h3_02 {
    font-size: 20px;
  }
  .idx05 .box_style03 .TabContainer .TabPager {
    font-size: 6.75px;
  }
  .idx05 .box_style03 .TabContainer .TabContent .content > div .box .ttl {
    font-size: 17px;
  }
  .idx06 .TabContainer .TabContent .content > div .idx_list .item .ttl {
    font-size: 12px;
  }
  .idx07 .slider-nav {
    font-size: 7.75px;
  }
  .idx07 .slider-for .item .content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .idx07 .slider-for .item .ttl {
    font-size: 2em;
  }
  .idx07 .slider-for .item .desc {
    font-size: 1.4em;
  }
}

/*# sourceMappingURL=index_sp.css.map */
