@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: calc(100vh - 60px);
    --max-height: 156vw;
    --min-height: 320px;
    font-size: 8px;
  }
  .home_page .key_bg {
    border-radius: 20px 0 0 20px;
  }
  .home_page .key .catch::before {
    left: calc(min(4.5%, 75px) * -1);
  }
  .home_page .key .catch h2 {
    font-size: max(20px, 4.2em);
    margin-bottom: 10px;
  }
  .home_page .key .catch h2 > span:not(.br_sp),
  .home_page .key .catch h2 > span.br_sp > span {
    display: table;
    border-radius: 6px;
    background-color: var(--main-color);
    padding: 0.3em 0.5em;
  }
  .home_page .key .catch h2 > span:not(.br_sp):not(:last-child),
  .home_page .key .catch h2 > span.br_sp > span:not(:last-child) {
    margin-bottom: 5px;
  }
  .home_page .key .catch h2 > span.br_sp:not(:last-child) {
    display: table;
    margin-bottom: 5px;
  }
  .home_page .key .catch p {
    font-size: max(16px, 2.6em);
    line-height: 1.5;
  }
  .home_page .key .catch p > span:not(.br_sp),
  .home_page .key .catch p > span.br_sp > span {
    display: table;
    background-color: var(--clr2);
    padding: 0.25em 0.5em 0.35em;
    border-radius: 5px;
  }
  .home_page .key .catch p > span:not(.br_sp):not(:last-child),
  .home_page .key .catch p > span.br_sp > span:not(:last-child) {
    margin-bottom: 2px;
  }
  .home_page .key .catch p > span.br_sp:not(:last-child) {
    display: table;
    margin-bottom: 2px;
  }
  .home_page .key_marquee .txt span {
    font-size: clamp(50px, 5.5vw, 80px);
  }
}
@media only screen and (max-width: 640px) {
  .home_page .key {
    font-size: 1.2vmin;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key {
    --height: 56vw;
    font-size: 1.2vmin;
  }
  .home_page .key .catch {
    padding-top: 80px;
    margin: 0 40px;
  }
  .home_page .key .catch::before {
    left: calc(min(4.5%, 75px) * -1);
    top: 50%;
    transform: translateY(-59.7%);
  }
}
@media only screen and (max-width: 768px) and (orientation: portrait) {
  .home_page .key_text {
    align-items: flex-end;
    padding-bottom: calc(var(--wrapper) + 6.25vw);
  }
  .home_page .key .catch::before {
    top: 0;
    left: 10px;
    transform: translateY(-60%);
  }
}
@media only screen and (max-width: 768px) {
  .home_page .ttl_h3 {
    margin-bottom: 30px;
  }
  .home_page .ttl_h3::before {
    width: 28px;
    margin-bottom: 5px;
  }
  .home_page .ttl_h3 .h_en {
    font-size: calc(var(--fs-base) + 4px);
    line-height: 1.5;
    margin-bottom: 0;
  }
  .home_page .ttl_h3 h3 {
    font-size: calc(var(--ttl_size) + 4px);
  }
  .home_page .ttl_h3.sm h3 {
    font-size: calc(var(--ttl_size) - 2px);
  }
}
@media only screen and (max-width: 768px) {
  .idx01 {
    padding: 60px 0;
    background-image: url("../images/idx01_bg_sp.jpg");
  }
  .idx01 .ttl_h3 {
    margin-bottom: 10px;
  }
  .idx01 .idx_box {
    flex-direction: column;
    border-radius: 15px;
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px);
  }
  .idx01 .idx_box .box_ttl {
    display: contents;
  }
  .idx01 .idx_box .box_cont {
    order: 2;
  }
  .idx01 .idx_box .btn-group {
    order: 3;
  }
  .idx01 .news {
    margin-bottom: 35px;
  }
  .idx01 .news ul li a {
    padding: 1em;
    --w: 100px;
  }
  .idx02 {
    padding: 60px 0;
  }
  .idx02 .wrap {
    --pb: 5px;
    background-image: url("../images/idx02_bg_sp.jpg");
    border-radius: 30px;
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px) var(--pb) clamp(20px, 5.5vw, 40px);
  }
  .idx02 .ttl_h3 h3 {
    font-size: calc(var(--ttl_size) - 2px);
  }
  .idx02 .ttl_h3 h3 > span {
    font-size: calc(var(--ttl_size) + 4px);
  }
  .idx02 .ttl_h3 h3 > span::before {
    width: 10px;
    margin-bottom: -5px;
  }
  .idx02 .idx_list {
    font-size: min(1.867vw, 10px);
    margin-bottom: 20px;
  }
  .idx02 .idx_list .list {
    gap: 15px;
    width: calc(50% - 5px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .idx02 .idx_list .list .item {
    width: 100%;
  }
  .idx02 .idx_decor {
    width: 70%;
  }
  .idx03 {
    padding: 60px 0;
    background-image: url("../images/idx03_bg_sp.jpg");
  }
  .idx03 .ttl_h3 {
    order: 1;
  }
  .idx03 .ttl_h3 .h_en::before, .idx03 .ttl_h3 .h_en::after {
    bottom: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .idx03 .ttl_h3 .h_en::before {
    width: 15px;
    height: 15px;
  }
  .idx03 .ttl_h3 .h_en::after {
    width: 1px;
    height: 60px;
  }
  .idx03 .ttl_h3 h3 {
    line-height: 1.6666666667;
  }
  .idx03 .idx_box {
    flex-direction: column;
  }
  .idx03 .idx_box .box_cont {
    display: contents;
  }
  .idx03 .idx_box .box_cont .desc {
    order: 3;
    margin-bottom: 30px;
  }
  .idx03 .idx_box .box_cont .btn-group {
    order: 4;
  }
  .idx03 .idx_box .box_cont .btn-group .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .idx03 .idx_box .box_img {
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 0 20px;
    order: 2;
  }
  .idx03 .idx_box .box_img .img img {
    border-radius: 10px;
  }
  .idx03 .idx_box .box_img .img.sm {
    margin-right: -20px;
  }
  .idx04 {
    padding: 60px 0;
  }
  .idx04 .TabContainer .TabPager > div {
    min-height: 6.25em;
  }
  .idx04 .TabContainer .TabPager > div .tt {
    font-size: 18px;
    line-height: 1.5;
    padding: 15px 10px;
  }
  .idx04 .TabContainer .TabContent {
    border-radius: 20px;
  }
  .idx04 .TabContainer .TabContent .content > div {
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px);
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box {
    flex-direction: column;
    margin-bottom: 60px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_img {
    order: 2;
    max-width: 640px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_img picture img {
    border-radius: 10px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont {
    display: contents;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .ttl_h4 {
    text-align: center;
    order: 1;
    margin-bottom: 25px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .ttl_h4 .h_en {
    margin-bottom: 0;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .ttl_h4 h4 {
    font-size: calc(var(--ttl_size) - 4px);
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .desc {
    order: 3;
    margin-bottom: 30px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .btn-group {
    order: 4;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_box .box_cont .btn-group .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list {
    font-size: min(1.6vw, 10px);
    --gap: 10px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list .item {
    min-height: 180px;
    width: calc(50% - var(--gap));
    padding: 15px 10px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list .item .ic_arr {
    --size: 13px;
    bottom: 5px;
    right: 5px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list .item .txt .ttl {
    font-size: max(16px, 2.4em);
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .idx05 .content {
    padding: min(45vw, 350px) 0 60px;
  }
  .idx05 .ttl_h3 {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
  .idx05 .ttl_h3 h3 {
    font-size: calc(var(--ttl_size) - 4px);
  }
  .idx05 .ttl_h3 h3 > .txt-main {
    font-size: calc(var(--ttl_size) + 2px);
  }
  .idx05 .idx_box {
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px);
  }
  .idx05 .idx_box .desc {
    margin-bottom: 30px;
  }
  .idx06 {
    padding: 60px 0;
  }
  .idx06 .content {
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px);
    border-radius: 30px;
  }
  .idx06 .ttl_h3 {
    margin-bottom: 40px;
  }
  .idx06 .ttl_h3 h3 {
    font-size: calc(var(--ttl_size) - 4px);
  }
  .idx06 .ttl_h3 h3 > span {
    font-size: calc(var(--ttl_size) + 2px);
  }
  .idx06 .idx_list .item {
    width: 100%;
    margin: 0 auto;
  }
  .idx06 .idx_list .item::before {
    font-size: 6px;
  }
  .idx06 .idx_list .item .txt {
    border-radius: 20px;
    padding: 30px 20px 40px;
  }
  .idx06 .idx_list .item:not(:last-child) {
    margin-bottom: 40px;
  }
  .idx06 .idx_list .item .ttl {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .idx06 .idx_list .item .img {
    margin-bottom: 20px;
  }
  .idx06 .idx_list .item .link a {
    font-size: 6px;
  }
  .idx07 .ttl_h3 {
    margin-bottom: 20px;
  }
  .idx07 .idx_list::before {
    min-width: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .idx07 .idx_list .item {
    padding: 60px 20px;
  }
  .idx07 .idx_list .item .txt {
    padding: clamp(40px, 10vw, 60px) clamp(20px, 5.5vw, 40px);
  }
  .idx07 .idx_list .item .txt .desc {
    margin-bottom: 30px;
  }
  .idx08 {
    padding: 60px 0;
  }
  .idx08 .ttl_h3 h3 {
    font-size: calc(var(--ttl_size) - 2px);
  }
  .idx08 .ttl_h3 h3 > span {
    font-size: calc(var(--ttl_size) + 4px);
  }
  .idx08 .idx_list {
    font-size: min(1.875vw, 10px);
    margin-bottom: clamp(40px, 10vw, 60px);
  }
  .idx08 .idx_list .item {
    margin: 0 auto;
    --mx: max(20px, 3em);
  }
  .idx08 .idx_list .item:not(:last-child) {
    margin-bottom: 50px;
  }
  .idx08 .idx_list .item .txt {
    padding: max(60px, 8.5em) clamp(20px, 5.5vw, 40px) 40px;
  }
  .idx08 .idx_list .item .txt .ttl {
    font-size: 22px;
  }
  .idx08 .idx_list .item:nth-child(odd) .img::before {
    top: -30px;
    left: -30px;
  }
  .idx08 .idx_list .item:nth-child(even) .img::before {
    top: -30px;
    right: -10px;
  }
  .idx09 {
    padding: 60px 0;
  }
  .idx09 .ttl_h3::before {
    width: 45em;
    font-size: 3px;
  }
  .idx09 .idx_box {
    padding: 0;
  }
  .idx09 .doctor_info .name .jp {
    margin-right: 1em;
  }
  .idx09 .desc {
    margin-bottom: 30px;
  }
  .idx10 {
    padding: 60px 0;
  }
  .idx10 .idx_box {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .idx10 .idx_box .box_info {
    margin-bottom: 30px;
  }
  .idx10 .idx_box .box_info dl {
    --w: 6em;
  }
  .idx10 .idx_box .box_info dl dt,
  .idx10 .idx_box .box_info dl dd {
    padding: 1em 0;
  }
  .idx10 .idx_box .box_info dl dt {
    padding-left: 1em;
  }
  .idx10 .idx_box .box_info dl dd {
    padding-left: 1em;
    padding-right: 0.5em;
  }
  .idx10 .idx_box .box_timesheet .time_sheet {
    font-size: min(1.71875vw, 10px);
  }
  .idx10 .btn-group {
    margin-bottom: 30px;
  }
  .idx10 .idx_vehicle {
    font-size: min(1vw, 10px);
    --px: 12em;
    --py: 15px;
  }
  .idx10 .idx_vehicle .title {
    padding: var(--py) var(--px);
  }
  .idx10 .idx_vehicle .title::before {
    background-size: 120% auto;
  }
  .idx10 .idx_vehicle .title .ttl {
    font-size: 20px;
  }
  .idx10 .idx_vehicle .title .ic {
    width: 18px;
    height: 2px;
  }
  .idx10 .idx_vehicle .title.rotate {
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .idx10 .idx_vehicle .title.rotate + .txt {
    border-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .idx10 .idx_vehicle .txt {
    padding: clamp(20px, 5.5vw, 40px) clamp(20px, 5.5vw, 40px) 40px;
  }
  .idx10 .idx_vehicle .txt .content .box .box_img {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .idx10 .idx_vehicle .txt .content .box .box_img picture img {
    border-radius: 10px;
  }
}
@media only screen and (max-width: 360px) {
  .home_page .key .catch h2 {
    font-size: 18px;
  }
  .home_page .key .catch p {
    font-size: 14px;
  }
  .idx02 .idx_list {
    font-size: 5px;
  }
  .idx04 .TabContainer .TabPager > div .tt {
    font-size: 16px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list .item .txt .ttl {
    font-size: 13px;
  }
  .idx04 .TabContainer .TabContent .content > div .idx_list .item .txt .desc {
    font-size: 10px;
  }
  .idx08 .idx_list .item .txt .ttl {
    font-size: 18px;
  }
}

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