@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: auto;
    --max-height: unset;
    --min-height: unset;
    font-size: 10px;
  }
  .home_page .key .key_text .item {
    justify-content: space-between;
  }
  .home_page .key .key_text .key_item {
    width: calc(50% - 10px);
    height: auto;
    aspect-ratio: 1/1.0609756098;
  }
  .home_page .key .key_text .key_item .ttl {
    font-size: min(7vw, 28px);
    letter-spacing: 0;
  }
  .home_page .key .key_text .key_item .ttl .en {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .home_page .key .key_text .key_item .btn {
    max-width: 220px;
  }
  .home_page .key .key_text .key_item .btn a {
    min-height: 50px;
    font-size: 14px;
    letter-spacing: 0;
  }
  .home_page .key .key_center {
    width: 100%;
    padding: 40px 0;
  }
  .home_page .key .key_center .txt {
    padding: 0;
    writing-mode: unset;
    text-align: center;
  }
  .home_page .key .key_center .slick-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .home_page .key .key_center.active {
    height: auto;
    padding: 40px 0;
  }
  .home_page .key h2 {
    font-size: 3.2em;
    letter-spacing: 0.14em;
    white-space: normal;
    margin: 0 0 14px 0;
  }
  .home_page .key .jp {
    font-size: 1.8em;
    letter-spacing: 0.14em;
    line-height: 1.8;
    white-space: normal;
  }
}
@media only screen and (max-width: 480px) {
  .home_page .key .key_text .key_item {
    width: 100%;
  }
  .home_page .key .key_left {
    margin-bottom: 20px;
  }
  .home_page .key h2 {
    letter-spacing: 0;
    font-size: min(7.8vw, 30px);
  }
  .home_page .key .jp {
    letter-spacing: 0;
    font-size: min(5vw, 18px);
  }
}
@media only screen and (max-width: 768px) {
  .home_page .inner,
  .home_page .inner_big,
  .home_page .inner_max {
    max-width: 610px;
  }
  .home_page h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: min(7vw, var(--ttl_size));
    letter-spacing: 0;
  }
  .home_page h3 .en {
    justify-content: center;
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.05px;
  }
}
@media only screen and (max-width: 768px) {
  .idx1 {
    padding: 40px 0 0;
  }
  .idx1 .inner_max::after {
    top: 20em;
    left: -15px;
    border-radius: 20px 0 0 20px;
    bottom: -40px;
  }
  .idx1 .idx1_txt .inner_big {
    display: block;
  }
  .idx1 .idx1_txt .inner_big::before {
    left: 0;
    top: 0;
    z-index: -1;
    font-size: 1.25vw;
  }
  .idx1 .idx1_txt .img {
    display: table;
    margin: 30px auto;
  }
  .idx1 h3 {
    margin: 0;
  }
  .idx1 .idx1_p {
    margin: 0;
    letter-spacing: 0;
  }
  .idx1 .btn {
    margin: 25px auto 0;
  }
  .idx1 .idx1_box {
    margin-top: 70px;
    border-radius: 20px;
    padding: 60px 40px 40px;
    margin-left: 30px;
    max-width: calc(100% - 60px);
  }
  .idx1 .idx1_box .ttl {
    font-size: min(4.8vw, 18px);
    letter-spacing: 0;
    left: 1.1em;
    padding-left: 2em;
    padding-right: 2em;
  }
  .idx1 .idx1_list01 {
    display: flex;
  }
  .idx1 .idx1_list01 .item {
    width: calc(50% - 10px);
  }
  .idx1 .idx1_list01 .item:last-child {
    margin: 20px auto 0;
  }
  .idx1 .idx1_list01 .item .ttl02 {
    letter-spacing: 0;
    padding: 20px 10px;
  }
  .idx1 .idx1_list02 {
    display: flex;
  }
  .idx1 .idx1_list02 .item {
    width: calc(50% - 10px);
    padding: 20px 0 50px;
  }
  .idx1 .idx1_list02 .item:last-child {
    margin: 20px auto 0;
  }
  .idx1 .idx1_list02 .item .img {
    max-width: 80px;
  }
  .idx1 .idx1_list02 .item .ttl01 {
    font-size: min(5vw, 18px);
    letter-spacing: 0;
    padding: 0 0;
  }
  .idx1 .idx1_list02 .item .link a::before, .idx1 .idx1_list02 .item .link a::after {
    bottom: 10px;
  }
}
@media only screen and (max-width: 640px) {
  .idx1 .inner_max::after {
    left: 0;
  }
  .idx1 .idx1_box {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width: 480px) {
  .idx1 .inner_max::after {
    left: 10px;
    top: 14em;
  }
  .idx1 .idx1_list01 {
    display: flex;
  }
  .idx1 .idx1_list01 .item {
    width: 100%;
    margin-bottom: 20px;
  }
  .idx1 .idx1_list01 .item:last-child {
    margin: 0;
  }
  .idx1 .idx1_list01 .item .ttl02 {
    letter-spacing: 0;
    padding: 20px 10px;
  }
  .idx1 .idx1_list02 .item {
    width: calc(50% - 5px);
    padding: 0;
    font-size: 3vw;
    padding: 6px 0 30px;
  }
  .idx1 .idx1_list02 .item:last-child {
    margin: 10px auto 0;
  }
  .idx1 .idx1_list02 .item .ttl01 {
    font-size: 14px;
    margin-top: 10px;
  }
  .idx1 .idx1_list02 .item .img {
    max-width: 5em;
  }
  .idx1 .idx1_list02 .item .link a::before, .idx1 .idx1_list02 .item .link a::after {
    bottom: 5px;
  }
  .idx1 .idx1_box {
    margin-left: 20px;
    max-width: calc(100% - 40px);
    padding-left: 10px;
    padding-right: 10px;
  }
  .idx1 .idx1_box .ttl {
    font-size: min(4.8vw, 15px);
  }
}
@media only screen and (max-width: 768px) {
  .idx2 {
    background-image: url(../images/idx2_bg_sp.jpg);
    padding: 80px 0 0;
  }
  .idx2 h3 {
    margin-bottom: 40px;
  }
  .idx2 .idx2_box {
    max-width: 486px;
    margin: 20px auto 0;
    width: 100%;
  }
  .idx2 .ttl_en {
    font-size: 12vw;
  }
}
@media only screen and (max-width: 480px) {
  .idx2 .idx2_box {
    padding: 40px 20px 60px;
  }
  .idx2 .idx2_box .img {
    max-width: 60px;
  }
  .idx2 .idx2_box .ttl {
    font-size: min(5.5vw, 20px);
    letter-spacing: 0;
  }
  .idx2 .idx2_box .link a::before, .idx2 .idx2_box .link a::after {
    bottom: 15px;
    width: 30px;
    height: 30px;
    left: calc(50% - 15px);
  }
  .idx2 .ttl_en {
    font-size: 12vw;
  }
}
@media only screen and (max-width: 768px) {
  .idx3 {
    padding: 40px 0 0;
  }
  .idx3 .inner_big {
    padding-bottom: 40px;
  }
  .idx3 .inner_big::after {
    top: 20em;
    left: -50vw;
    right: -30px;
  }
  .idx3 .inner_big::before {
    right: -15px;
    border-radius: 0 20px 20px 0;
  }
  .idx3 .idx3_inner {
    display: block;
  }
  .idx3 .idx3_inner::after {
    top: 0;
    right: 0;
    font-size: 1.25vw;
  }
  .idx3 h3 {
    margin: 0;
  }
  .idx3 .idx3_img {
    margin: 30px auto 20px;
  }
  .idx3 .idx3_p {
    margin: 0 auto;
    width: auto;
  }
  .idx3 .btn {
    margin: 20px auto 0;
  }
  .idx3 .TabContainer .TabPager {
    max-width: 100%;
    width: 100%;
  }
  .idx3 .TabContainer .TabPager > div p {
    font-size: min(3vw, 14px);
    letter-spacing: 0;
  }
  .idx3 .TabContainer .TabPager > div::after, .idx3 .TabContainer .TabPager > div::before {
    width: 30px;
    height: 30px;
    left: calc(50% - 15px);
    bottom: -20px;
  }
  .idx3 .TabContainer .TabContent .bg {
    padding: 40px 0;
    background: transparent !important;
  }
  .idx3 .TabContainer .TabContent .bg .sp_only {
    margin: 25px auto;
    max-width: calc(100% + 40px);
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .idx3 .TabContainer .ttl01 {
    justify-content: center;
    font-size: min(6vw, 30px);
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 0;
  }
  .idx3 .TabContainer .ttl01 .jp {
    padding-bottom: 0.2em;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: var(--clr2);
  }
  .idx3 .TabContainer .ttl01 .jp::after {
    display: none;
  }
  .idx3 .TabContainer .ttl01::before {
    align-self: center;
    margin: 0 0 5px 0;
  }
  .idx3 .TabContainer .ttl02 {
    letter-spacing: 0;
    padding: 0;
    width: 100%;
  }
  .idx3 .TabContainer .ttl02::before {
    align-self: flex-start;
  }
}
@media only screen and (max-width: 640px) {
  .idx3 .inner_big::before {
    right: 0;
  }
}
@media only screen and (max-width: 480px) {
  .idx3 .inner_big {
    padding-left: 40px;
    padding-right: 40px;
  }
  .idx3 .inner_big::before {
    right: 10px;
  }
  .idx3 .TabContainer {
    margin-top: 40px;
  }
  .idx3 .TabContainer .TabPager {
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
  }
  .idx3 .TabContainer .TabPager > div {
    width: calc(25% - 2px);
    margin-bottom: 20px;
  }
  .idx3 .TabContainer .TabPager > div p {
    font-size: min(3vw, 14px);
    letter-spacing: 0;
  }
  .idx3 .TabContainer .TabPager > div::after, .idx3 .TabContainer .TabPager > div::before {
    width: 2.1429em;
    height: 2.1429em;
    bottom: -1.0714em;
    left: calc(50% - 1.0714em);
  }
  .idx3 .TabContainer .TabPager > div:last-child {
    padding-bottom: 15px;
  }
  .idx3 .TabContainer .TabContent {
    margin-top: 30px;
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .idx3 .TabContainer .TabContent .bg {
    padding: 40px 0;
    background: transparent !important;
  }
  .idx3 .TabContainer .TabContent .tab_content {
    border: 5px solid #eae5dd;
    border-radius: 20px;
  }
  .idx3 .TabContainer .ttl01 {
    justify-content: center;
    font-size: min(7vw, 30px);
  }
  .idx3 .TabContainer .ttl01 .jp {
    padding-bottom: 0.2em;
  }
}
@media only screen and (max-width: 768px) {
  .idx4 {
    padding: 40px 0;
  }
  .idx4 .inner::after {
    bottom: unset;
    right: 10px;
    font-size: 1.25vw;
    top: 58%;
  }
  .idx4 .idx4_en {
    text-align: center;
    margin: 0 auto;
    font-size: 12vw;
    position: static;
    letter-spacing: 0;
    margin-top: 15px;
  }
  .idx4 .idx4_inner {
    display: block;
  }
  .idx4 .idx4_inner .img {
    margin: 0;
    padding-bottom: 40px;
  }
  .idx4 .idx4_inner .img2 {
    padding-bottom: 0;
    padding-top: 40px;
  }
  .idx4 .idx4_inner .ttl01 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 0;
    margin: 1em 0;
    margin-top: -40px;
  }
  .idx4 .idx4_inner .ttl01::after {
    margin-left: auto;
    margin-right: auto;
  }
  .idx4 .idx4_inner .ttl02 {
    margin: 20px 0;
    letter-spacing: 0;
  }
  .idx4 .idx4_inner .btn {
    margin: 20px auto 0;
  }
  .idx4 .idx4_inner02 {
    margin-top: 40px;
    padding-bottom: 0;
  }
}
@media only screen and (max-width: 480px) {
  .idx4 .idx4_inner .img {
    padding-bottom: 20px;
  }
  .idx4 .idx4_inner .img2 {
    padding-bottom: 0;
    padding-top: 20px;
  }
  .idx4 .idx4_inner .ttl01 {
    margin-top: -20px;
  }
  .idx4 .idx4_inner .ttl01::after {
    margin-top: 10px;
  }
}
@media only screen and (max-width: 768px) {
  .idx5 {
    padding-top: 25px;
  }
  .idx5::after {
    height: 200px;
  }
  .idx5 .idx5_bg {
    padding: 40px 0;
    border-radius: 20px;
    background-image: url(../images/idx5_bg_sp.jpg);
  }
  .idx5 .idx5_txt {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 40px 20px;
  }
  .idx5 .idx5_txt .en {
    font-size: 100px;
    letter-spacing: 0;
    bottom: 95%;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    top: unset;
  }
  .idx5 .TabContainer .TabContent .content > div {
    padding-top: 60px;
  }
  .idx5 .TabContainer .TabPager01 {
    justify-content: center;
    margin: 25px auto;
  }
  .idx5 .TabContainer .TabPager01 > div {
    font-size: 24px;
  }
  .idx5 .TabContainer .TabPager02 {
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    font-size: 1vw;
  }
  .idx5 .TabContainer .TabPager02 > div {
    width: calc(25% - 10px);
  }
  .idx5 .TabContainer .TabPager02 > div::before {
    border-radius: 10px;
  }
  .idx5 .idx5_img {
    max-width: 100%;
    width: 100%;
    margin: 20px 0;
  }
  .idx5 .idx5_txt .ttl01 {
    font-size: min(6.9vw, 32px);
    text-align: center;
    letter-spacing: 0;
  }
  .idx5 .idx5_txt .ttl01::after {
    margin-left: auto;
    margin-right: auto;
  }
  .idx5 .idx5_txt .ttl02 {
    font-size: 16px;
    letter-spacing: 0;
  }
  .idx5 .btn {
    margin-top: 50px;
  }
}
@media only screen and (max-width: 480px) {
  .idx5 .idx5_bg {
    background-image: url(../images/idx5_bg_sp480.jpg);
  }
  .idx5 .TabContainer .TabContent .content > div {
    padding-top: 40px;
  }
  .idx5 .TabContainer .TabPager02 {
    font-size: 1.25vw;
  }
  .idx5 .TabContainer .TabPager02 > div::before {
    border-radius: 5px;
  }
  .idx5 .idx5_txt .en {
    font-size: 80px;
  }
  .idx5 .idx5_txt .ttl01 {
    text-align: center;
    letter-spacing: 0;
  }
  .idx5 .idx5_txt .ttl01::after {
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (max-width: 768px) {
  .idx6 {
    padding: 40px 0;
  }
  .idx6 .idx6_inner {
    display: block;
  }
  .idx6 h3 {
    position: static;
    writing-mode: unset;
    text-align: center;
  }
  .idx6 h3 .en {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .idx6 h3 .en::before {
    margin: 0 10px 0 0;
  }
  .idx6 .idx6_img {
    margin: 0;
    max-width: 500px;
  }
  .idx6 .idx6_img .img img {
    border-radius: 20px;
  }
  .idx6 .txt {
    padding: 0;
  }
  .idx6 .idx6_name {
    padding: 20px;
    right: unset;
    bottom: 80px;
  }
  .idx6 .idx6_name .ttl01 {
    letter-spacing: 0;
    font-size: 16px;
  }
  .idx6 .idx6_name .ttl02 {
    letter-spacing: 0;
    font-size: 30px;
  }
  .idx6 .idx6_name .ttl02 .en {
    font-size: 16px;
    letter-spacing: 0;
  }
  .idx6 .idx6_inner::after {
    left: calc(50% - 12.25em);
    font-size: 1.5vw;
  }
  .idx6 .btn_group {
    max-width: 220px;
    margin-top: 40px;
  }
  .idx6 .btn_group .btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .idx6 .btn_group .btn:last-child {
    margin-top: 20px;
  }
  .idx6 .inner_big {
    position: static;
  }
  .idx6 .idx6_img {
    margin-top: 40px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 40px;
  }
}
@media only screen and (max-width: 480px) {
  .idx6 .idx6_name {
    padding: 2em;
    right: unset;
    bottom: 30px;
    font-size: 2.4vw;
  }
  .idx6 .idx6_name .ttl01 {
    letter-spacing: 0;
    font-size: 1.6em;
    margin-bottom: 1em;
  }
  .idx6 .idx6_name .ttl02 {
    letter-spacing: 0;
    font-size: 3em;
  }
  .idx6 .idx6_name .ttl02 .en {
    font-size: 0.5333em;
    letter-spacing: 0;
  }
  .idx6 .idx6_img {
    padding: 0;
    margin-top: 25px;
  }
  .idx6 .idx6_img::after {
    display: none;
  }
  .idx6 .btn_group {
    max-width: 220px;
    margin-top: 25px;
  }
  .idx6 .btn_group .btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .idx6 .btn_group .btn:last-child {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .idx_tel a {
    font-size: 26px;
  }
  .idx7 {
    padding: 40px 0 0;
  }
  .idx7::before {
    height: 52vw;
    max-height: 300px;
  }
  .idx7 .idx7_bg {
    padding: 40px 0;
    margin-top: 25px;
  }
  .idx7 .idx7_txt,
  .idx7 .idx7_map {
    width: 100%;
    max-width: 100%;
  }
  .idx7 .idx7_address {
    letter-spacing: 0;
  }
  .idx7 .idx7_map {
    margin-top: 25px;
  }
  .idx7 .idx7_map .idx_map {
    height: 299px;
  }
  .idx7 .btn {
    margin-top: 40px;
  }
  .idx7 .idx7_news {
    padding: 40px 0;
  }
  .idx7 .idx7_news .idx7_news_box {
    width: 100%;
  }
  .idx7 .idx7_news .idx7_news_box:last-child {
    margin-top: 40px;
  }
  .idx7 .idx7_news .txt,
  .idx7 .idx7_news ul {
    margin: 14px 0 0 0;
    width: 100%;
    max-width: 100%;
  }
  .idx7 .idx7_news .txt li a,
  .idx7 .idx7_news ul li a {
    padding-top: 14px;
    padding-bottom: 14px;
    letter-spacing: 0;
    --w: 80px;
  }
  .idx7 .idx7_news h4 {
    font-size: 20px;
    text-align: center;
  }
  .idx7 .idx7_news .btn {
    max-width: 130px;
    margin: 40px auto 0;
  }
  .idx7 .idx7_news .btn a {
    font-size: 14px;
    letter-spacing: 0;
    min-height: 40px;
  }
  .idx7 .idx7_news .idx7_news_box2 {
    margin-top: 20px;
  }
  .idx7 .idx7_news .idx7_news_box2::before {
    display: none;
  }
}