@media only screen and (max-width: 768px) {
  .home_page {
    --radius: 100px;
  }
  .home_page .key {
    z-index: 3;
    --height: calc(100vh - 70px);
    --max-height: calc(100vh - 70px);
    --min-height: 320px;
    font-size: 7px;
  }
  .home_page .key .key_text .item {
    padding: 10px;
  }
  .home_page .key .key_text .item::before {
    background: rgba(40, 27, 23, 0.5);
  }
  .home_page .key .inner {
    width: 100%;
  }
  .home_page .key .catch {
    margin: auto;
    text-align: center;
    padding-bottom: 6.5em;
  }
  .home_page .key .key_list {
    margin: 20px auto 0;
    font-size: 1.11356em;
  }
}
@media only screen and (max-width: 480px) {
  .home_page .key {
    font-size: min(2vw, 7px);
    --height: calc(100vh - 150px);
  }
  .home_page .key .s1 {
    background-image: url(../images/idx_key_bg_sp.jpg);
  }
  .home_page .key h2,
  .home_page .key .jp {
    letter-spacing: 0;
  }
  .home_page {
    --radius: 40px;
  }
}
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .home_page .key {
    font-size: 1.4vmin;
    --min-height: 500px;
  }
}
@media only screen and (max-width: 768px) {
  .home_page h3 {
    margin-bottom: 30px;
    font-size: min(6.5vw, var(--ttl_size) - 2px);
    letter-spacing: 0;
  }
  .home_page h3 .en {
    font-size: 3em;
    letter-spacing: 0;
  }
  .home_page h3.small {
    font-size: min(6.5vw, var(--ttl_size) - 2px);
    letter-spacing: 0;
  }
  .home_page h3.small .en {
    font-size: 18px;
  }
  .home_page .idx_banner {
    bottom: 20px;
    right: unset;
    left: 20px;
    z-index: 10;
    font-size: 1.2em;
  }
  .home_page .idx_banner .close {
    right: unset;
    left: -1.3em;
  }
  .home_page .idx_banner.active {
    bottom: 105px;
  }
  .home_page .inner,
  .home_page .inner_big,
  .home_page .inner_sm {
    max-width: 610px;
  }
}
@media only screen and (max-width: 768px) {
  .idx1 {
    padding: 40px 0;
    position: relative;
    z-index: 2;
  }
  .idx1 .idx1_btn a {
    position: relative;
  }
  .idx1 h4 {
    font-size: 20px;
  }
  .idx1 h4 .en {
    font-size: 14px;
  }
  .idx1 .inner_sm::before {
    font-size: 1.5vw;
  }
  .idx1 .inner {
    padding-left: 0;
    padding-right: 0;
  }
  .idx1 .idx1_l {
    max-width: 300px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
  }
  .idx1 .idx1_r {
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
  }
  .idx1 ul li a {
    --w: 100px;
    padding: 16px 30px 16px 0;
  }
  .idx1 ul li a .date,
  .idx1 ul li a .title {
    letter-spacing: 0;
  }
  .idx1 ul li a .title {
    width: calc(100% - var(--w) - 8px);
  }
  .idx1 ul li a::after {
    right: 1em;
  }
  .idx1 .idx1_inner {
    display: block;
    padding: 40px 0 0 0;
  }
  .idx1 .idx1_logo {
    max-width: 220px;
    margin: 20px auto;
    display: table;
  }
  .idx1 .idx1_img {
    margin: 40px 0;
  }
  .idx1 .btn-group {
    max-width: fit-content;
    margin: 25px auto 0;
  }
  .idx1 .btn-group .btn:not(:last-child) {
    margin-bottom: 20px;
  }
  .idx1 .idx1_dl dl {
    --w: 60px;
  }
  .idx1 .idx1_dl dl dt,
  .idx1 .idx1_dl dl dd {
    letter-spacing: 0;
  }
  .idx1 .idx1_map {
    margin-top: 40px;
    height: 299px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
  }
}
@media only screen and (max-width: 480px) {
  .home_page .key .idx_banner {
    font-size: 1em;
  }
  .home_page .key .idx_banner.active {
    bottom: 65px;
  }
  .idx1 .inner_sm::before {
    font-size: 2.5vw;
  }
  .idx1 .idx1_img .img::before {
    right: -8em;
    top: -2em;
  }
  .idx1 .idx1_img .img::after {
    font-size: 2.5vw;
  }
}
@media only screen and (max-width: 768px) {
  .idx2 {
    padding: 0 0 40px;
  }
  .idx2 .inner {
    display: block;
  }
  .idx2 .inner::before {
    font-size: 1.5vw;
    right: 0;
    top: -15em;
    background-size: contain;
  }
  .idx2 h3 {
    text-align: center;
  }
  .idx2 .idx2_name {
    padding: 20px;
  }
  .idx2 .img::after {
    font-size: 1.25vw;
  }
  .idx2 .idx2_ttl {
    text-align: center;
    font-size: min(5.4vw, 20px);
    margin: 30px 0 25px;
    position: relative;
    z-index: 2;
    padding: 0 10px;
  }
  .idx2 .idx2_ttl02 {
    width: 100%;
    padding: 0 20px;
  }
  .idx2 .btn-group {
    max-width: fit-content;
    margin: 25px auto 0;
  }
  .idx2 .btn-group .btn {
    width: auto;
  }
  .idx2 .btn-group .btn:not(:last-child) {
    margin-bottom: 20px;
  }
  .idx2 .btn-group .btn a {
    letter-spacing: 0;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (max-width: 768px) {
  .idx3 {
    padding-bottom: 40px;
  }
  .idx3 .idx3_list2 {
    max-width: 380px;
    margin: 40px auto 0;
  }
  .idx3 .idx3_list2 .item {
    width: 100%;
    padding: 19px 20px 30px;
  }
  .idx3 .idx3_list2 .item:not(:last-child) {
    margin-bottom: 20px;
  }
  .idx3 .idx3_list2 .item .txt {
    display: none;
  }
  .idx3 .idx3_list2 .item .ttl01 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .idx3 .idx3_list2 .item .img {
    position: relative;
  }
  .idx3 .idx3_list2 .item .img::after {
    content: "";
    display: block;
    position: absolute;
    transition: all 0.3s;
    inset: 0;
    background: rgba(67, 44, 22, 0.4);
  }
  .idx3 .idx3_list2 .r {
    position: relative;
  }
  .idx3 .idx3_list2 .idx3_btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: 0.3s all;
  }
  .idx3 .idx3_list2 .idx3_btn span {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 12.6px;
    letter-spacing: 0.1em;
    line-height: 1;
    font-weight: 400;
    border-radius: 2.5px;
    border: 1px solid #fff;
    padding: 14px 0;
    width: 210.5px;
    text-align: center;
  }
  .idx3 .idx3_list2 .idx3_sp.active .img::after {
    opacity: 0;
  }
  .idx3 .idx3_list2 .idx3_sp.active .idx3_btn {
    opacity: 0;
  }
  .idx3 .idx3_list {
    margin-top: 40px;
  }
  .idx3 .idx3_list::after {
    font-size: 2vw;
  }
  .idx3 .idx3_list .item {
    display: block;
  }
  .idx3 .idx3_list .item:not(:last-child) {
    margin-bottom: 40px;
  }
  .idx3 .idx3_list .item .ttl01 {
    font-size: 22px;
    letter-spacing: 0.1em;
    writing-mode: unset;
    margin: 0 auto;
    display: block;
    text-align: center;
    line-height: 1.5;
    padding-left: 0;
  }
  .idx3 .idx3_list .item .ttl01 .en {
    display: table;
    margin: 0 auto 5px;
    padding-left: 0;
    font-size: 14px;
    border-left: 0;
    border-bottom: 2px solid;
  }
  .idx3 .idx3_list .item .ttl01 br {
    display: none;
  }
  .idx3 .idx3_list .item .img {
    margin: 40px 0;
    font-size: 1vw;
  }
  .idx3 .idx3_list .item .txt {
    margin: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .idx3 .idx3_list .item .ttl02 {
    width: 100%;
  }
  .idx3 .idx3_list .item .btn-group {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media only screen and (max-width: 768px) {
  .idx4 {
    padding: 40px 0;
    background-position: top right;
    background-size: contain;
    background-color: #d1c7bd;
  }
  .idx4 .TabPager_l > div {
    padding: 14px 0;
  }
  .idx4 .TabPager_l > div p {
    font-size: 20px;
    letter-spacing: 0;
  }
  .idx4 .idx4_inner {
    padding: 40px 0;
  }
  .idx4 .TabContainer .TabPager > div {
    border-bottom-width: 2px;
  }
  .idx4 .TabContainer .TabPager > div p {
    font-size: 18px;
    letter-spacing: 0;
  }
  .idx4 .idx4_list {
    display: flex;
    justify-content: space-between;
    margin: 40px 0 0 0;
  }
  .idx4 .idx4_list .item {
    width: calc(50% - 5px);
    margin: 0;
    margin-bottom: 10px;
    padding: 40px 0;
  }
  .idx4 .idx4_list .item .ttl {
    font-size: min(3.85vw, 16px);
    letter-spacing: 0;
  }
  .idx4 .idx4_list .item .des {
    width: 100%;
    padding: 0 10px;
    letter-spacing: 0;
    font-size: 14px;
  }
  .idx4 .idx4_list .item .img {
    display: table;
    max-width: 140px;
  }
  .idx4 .idx4_list2 {
    margin-top: 0;
  }
}
@media only screen and (max-width: 480px) {
  .idx4 .idx4_list .item {
    padding: 20px 0;
  }
  .idx4 .idx4_list .item .img {
    max-width: 80px;
  }
}
@media only screen and (max-width: 768px) {
  .idx_ttl {
    font-size: 14vw;
    letter-spacing: 0;
  }
  .idx5 {
    padding: 40px 0;
    background-position: bottom center;
    background-size: 100%;
    background-color: #f5f4f0;
  }
  .idx5 .idx5_list .item {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin-bottom: 0;
  }
  .idx5 .idx5_list .item:not(:last-child) {
    margin-bottom: 60px;
  }
  .idx5 .idx5_list .item .img::before {
    font-size: 100px;
  }
  .idx5 .idx5_list .item .img::after {
    font-size: 9px;
  }
  .idx5 .idx5_list .item .en {
    font-size: 14px;
  }
  .idx5 .idx5_list .item .en::after {
    height: 4em;
  }
  .idx5 .idx5_list .item .ttl01 {
    font-size: 26px;
    margin-left: -20px;
    margin-bottom: 20px;
  }
  .idx5 .idx5_list .item .ttl01 span {
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-top: 0.3125em;
  }
  .idx5 .idx5_list .item .ttl02 {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .idx5 .btn-group {
    margin: 40px auto 0;
  }
  .idx5 .idx5_box {
    padding: 40px 0 0;
  }
  .idx5 .idx5_box .content,
  .idx5 .idx5_box .img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .idx5 .idx5_box .content::before,
  .idx5 .idx5_box .img::before {
    top: -20px;
    left: -20px;
    font-size: 1vw;
  }
  .idx5 .idx5_box .content::after,
  .idx5 .idx5_box .img::after {
    bottom: -20px;
    right: -20px;
    font-size: 1vw;
  }
  .idx5 .idx5_box .idx_ttl {
    letter-spacing: 0;
    font-size: 10vw;
  }
  .idx5 .idx5_box .ttl {
    letter-spacing: 0;
    margin-bottom: 0;
  }
  .idx5 .idx5_box .txt {
    padding: 40px;
  }
  .idx5 .idx5_box h4 {
    font-size: min(6vw, 22px);
    letter-spacing: 0;
    margin-bottom: 2em;
  }
  .idx5 .idx5_box h4 .en {
    font-size: 16px;
  }
  .idx5 .idx5_box .img {
    margin: 20px 0;
  }
  .idx5 .idx5_box .btn-group {
    margin: 40px auto 0;
  }
}
@media only screen and (max-width: 480px) {
  .idx_ttl {
    font-size: 18vw;
    letter-spacing: 0;
    margin-bottom: -0.6em;
  }
  .idx5 .idx5_list .item .ttl01 {
    font-size: 22px;
    margin-left: -20px;
    margin-bottom: 10px;
  }
  .idx5 .idx5_list .item .ttl01 span {
    padding-left: 0.6em;
    padding-right: 0.6em;
  }
  .idx5 .idx5_list .item .ttl02 {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .idx5 .idx5_list .item4 .img::after,
  .idx5 .idx5_list .item2 .img::after {
    right: -1.2em;
  }
  .idx5 .idx5_list .item3 .img::after {
    left: -5em;
  }
  .idx5 .btn-group {
    margin: 40px auto 0;
  }
  .idx5 .idx5_box .content,
  .idx5 .idx5_box .img {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .idx5 .idx5_box .content::before,
  .idx5 .idx5_box .img::before {
    top: -10px;
    left: -10px;
    font-size: 1vw;
  }
  .idx5 .idx5_box .content::after,
  .idx5 .idx5_box .img::after {
    bottom: -10px;
    right: -10px;
    font-size: 1vw;
  }
  .idx5 .idx5_box .idx_ttl {
    letter-spacing: 0;
    font-size: 12vw;
  }
  .idx5 .idx5_box .ttl {
    letter-spacing: 0;
    margin-bottom: 0;
  }
  .idx5 .idx5_box .txt {
    padding: 20px;
  }
  .idx5 .idx5_box h4 {
    letter-spacing: 0;
  }
  .idx5 .idx5_box .img {
    margin: 20px 0;
  }
  .idx5 .idx5_box .btn-group {
    margin: 40px auto 0;
  }
}