@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: 156vw;
    --max-height: 102vw;
    --min-height: 520px;
  }
  .home_page .key::before {
    top: 5.5em;
    left: 1.6em;
    font-size: min(8px, 1.35vw);
  }
  .home_page .key .key_text {
    font-size: min(8px, 1.05vw);
  }
  .home_page .key .key_text .item {
    padding: 10px;
  }
  .home_page .key h2 {
    margin-right: auto;
    margin-bottom: 2.09em;
  }
  .home_page .key #loading {
    font-size: min(8px, 2vw);
  }
  .home_page .key #loading .loading_img {
    max-width: 93.75em;
  }
  .home_page .key #loading #key_svg {
    width: 108em;
  }
  .home_page .key #loading.is-hidden #key_svg {
    top: -4.9333333333em;
  }
  .home_page .key .key_catch {
    width: 100%;
    padding-top: 9.25em;
    position: relative;
    left: -2em;
  }
  .home_page .key .key_img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .home_page .key .gr_img01 {
    position: relative;
    width: 48.5%;
    left: 0;
    bottom: 0;
    margin-top: 18.5em;
  }
  .home_page .key .gr_img01 .key_img01 {
    left: -6em;
  }
  .home_page .key .gr_img02 {
    top: unset;
    bottom: 0;
    right: 0;
    position: relative;
    width: 47%;
    height: 68.8em;
  }
  .home_page .key .gr_img02 .key_img04 {
    z-index: 2;
    right: unset;
    left: -13.5em;
  }
  .home_page .key .gr_img02 .key_img03 {
    top: 4.1em;
    bottom: unset;
    z-index: 1;
  }
  .home_page .key .gr_img02 .key_img05 {
    z-index: 0;
    right: -5px;
  }
}
@media only screen and (max-width: 450px) {
  .home_page .key {
    --height: calc(100vh - 60px);
    --max-height: 120vw;
    --min-height: 400px;
  }
  .home_page .key .key_line {
    top: 21.6em;
    left: -51.8em;
  }
  .home_page .key .key_text {
    font-size: min(8px, 1.6vw);
  }
  .home_page .key .key_img {
    font-size: min(8px, 1.05vw);
  }
}
@media only screen and (max-width: 768px) {
  .tl_h3 {
    text-align: center;
    font-size: 28px;
    line-height: 1.4;
  }
  .tl_h3 .en {
    font-size: 14px;
  }
  .tl_h3 .en::before {
    position: relative;
    top: 0;
    margin: 0 auto 5px;
    display: block;
  }
  .tl_h3 .en.pink {
    margin-bottom: 7px;
  }
  .tl_h3.tl_center .en:before {
    margin-bottom: 5px;
  }
  .p_txtscroll {
    font-size: min(90px, 14vw);
  }
  .cm_btn {
    max-width: 260px;
  }
  .idx01 {
    padding: 7vw 0px 60px;
  }
  .idx01 .scroll_line {
    left: -27.2em;
    top: 0.9em;
    font-size: min(5px, 1vw);
    z-index: 1;
  }
  .idx01 .tl_h3 {
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
  }
  .idx01 .inner_big {
    padding-top: 0;
  }
  .idx01 .inner_big::before {
    display: none;
  }
  .idx01 .b_report {
    margin-top: 0;
  }
  .idx01 .slick-dots {
    margin-top: 1em;
  }
  .idx01 .report_content {
    padding: 40px 20px 30px 20px;
    max-width: 610px;
    width: 100%;
    margin: 0 auto;
  }
  .idx01 .report_content::before {
    left: 50%;
    right: 50%;
    margin: 0 -50vw;
    border-radius: 0;
  }
  .idx01 .report_slider {
    margin-right: auto;
    font-size: min(12.7px, 1.955vw);
    max-width: 100%;
  }
  .idx01 .gr_btn {
    margin-top: 35px;
  }
  .idx01 .gr_btn .cm_btn {
    margin-left: auto;
    margin-right: auto;
  }
  .idx02 {
    padding-bottom: 60px;
  }
  .idx02 .tl_h3 {
    margin-bottom: 20px;
  }
  .idx02 .list_post a {
    padding: 16px 21px 16px 16px;
    --w: 107px;
  }
  .idx02 .list_post a::after {
    right: 12px;
    width: 5px;
    height: 7px;
  }
  .idx02 .list_post a .date {
    font-size: 16px;
  }
  .idx02 .list_post a .title {
    padding-left: 12px;
  }
  .idx02 .cm_btn {
    margin-right: auto;
    margin-top: 25px;
  }
  .idx03 {
    padding: 60px 0;
  }
  .idx03 .scroll_line {
    font-size: min(5px, 1vw);
    right: -20.9em;
    top: -51.6em;
  }
  .idx03 .txt_en {
    font-size: min(100px, 17vw);
    margin-bottom: 8px;
  }
  .idx03 .b_message {
    max-width: 500px;
  }
  .idx03 .message_ttl {
    font-size: min(22px, 4.5vw);
  }
  .idx03 .bx_name {
    margin-top: 16px;
    padding-top: 6px;
  }
  .idx03 .bx_name .name02 {
    margin: 0 8px;
  }
  .idx03 .bx_name .name03 {
    font-size: 18px;
  }
  .idx03 .cm_btn {
    margin-top: 100px;
  }
  .idx04 {
    padding: 60px 0 50px;
  }
  .idx04 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx04 .tl_h4 {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .idx04 .tl_h4::after {
    margin-top: 10px;
    width: 80px;
  }
  .idx04 .box_h4 {
    margin-top: 30px;
  }
  .idx04 .scroll_line {
    font-size: min(5px, 1vw);
  }
  .idx04 .service-lg {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .idx04 .service-lg h4 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .idx04 .service-lg_item {
    max-width: 414px;
    width: calc((100% - 15px) / 2);
    margin-right: 15px;
    margin-bottom: 30px;
  }
  .idx04 .service-lg_item:nth-child(2n + 2) {
    margin-right: 0;
  }
  .idx04 .service-lg_item:last-child {
    margin-bottom: 0;
  }
  .idx04 .service-lg_img {
    height: 55vw;
    max-height: 416px;
  }
  .idx04 .service-lg_content {
    padding: 30px 5% 45px;
    margin-top: -110px;
  }
  .idx04 .service-lg_content:after {
    width: 35px;
    height: 35px;
    right: 5px;
    bottom: 5px;
  }
  .idx04 .service-sm {
    margin-top: 45px;
    font-size: min(14px, 2.05vw);
  }
  .idx04 .service-sm h4 {
    font-size: 1.2857142857em;
    margin-bottom: 0.3333333333em;
  }
  .idx04 .service-sm .box_in {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .idx04 .service-sm_item {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
  }
  .idx04 .service-sm_item:nth-child(2n + 2) {
    margin-right: 0;
  }
  .idx04 .service-sm_img {
    width: 6.7857142857em;
  }
  .idx04 .service-sm_content {
    width: calc(100% - 6.7857142857em);
    padding: 2.1428571429em 1em 1.7142857143em 1em;
  }
  .idx05 {
    padding-bottom: 60px;
  }
  .idx05 h3 {
    font-size: 26px;
    max-width: 16.5em;
    padding-top: 0.7em;
    margin-bottom: 10px;
  }
  .idx05 h3::before {
    max-width: 15.866667em;
    width: 100%;
  }
  .idx05 .scroll_line {
    font-size: min(5px, 1vw);
    bottom: -18.5em;
  }
  .idx05 .box_inner {
    padding: 50px 20px 60px;
  }
  .idx05 .box_inner::before,
  .idx05 .box_inner::after {
    font-size: min(5px, 1.2vw);
  }
  .idx05 .box_inner::before {
    left: 7em;
  }
  .idx05 .box_inner::after {
    right: 7em;
  }
  .idx05 .subtxt {
    font-size: min(22px, 5.28vw);
    margin-bottom: 14px;
    line-height: 1.45;
  }
  .idx05 .cm_btn {
    margin-top: 25px;
  }
  .idx06 {
    padding: 60px 0 50px;
  }
  .idx06 .tl_h3 {
    margin-bottom: 16px;
  }
  .idx06 .trivia-btn {
    position: relative;
    bottom: unset;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .idx06 .trivia-btn .current-slide {
    margin-right: 7px;
  }
  .idx06 .trivia-btn .total-slides {
    margin-left: 7px;
  }
  .idx06 .trivia-btn .slider_arrow {
    width: 10px;
    height: 20px;
    top: 1px;
  }
  .idx06 .trivia-btn .slider_arrow.prev-arrow {
    margin-right: 10px;
  }
  .idx06 .trivia-btn .slider_arrow.next-arrow {
    margin-left: 9px;
  }
  .idx06 .trivia-btn .slick-dots li button {
    width: 12px;
  }
  .idx06 .slider_wrap {
    width: calc(100% - 5.7142857143em);
    font-size: min(14px, 1.2vw);
  }
  .idx06 .trivia-slider {
    font-size: 1em;
    height: auto;
  }
  .idx06 .trivia-slider_img::before {
    bottom: 10px;
    right: 30px;
  }
  .idx07 {
    padding: 60px 0 50px;
  }
  .idx07 .tl_h3 {
    margin-bottom: 25px;
  }
  .idx07 .scroll_line {
    font-size: min(5px, 1vw);
    left: -30.8em;
    top: -24.5em;
  }
  .idx07 .inner_big::before {
    font-size: min(5px, 1vw);
    top: -24.6em;
  }
  .idx07 .b-local {
    margin-top: 35px;
  }
  .idx07 .b-local_item {
    width: 100%;
    margin-bottom: 10px;
  }
  .idx07 .b-local_ttl {
    padding: 12px 20px 14px 10px;
  }
  .idx07 .b-local_ttl::before {
    right: 8px;
    width: 13px;
  }
  .idx07 .b-local_ttl::after {
    right: 14px;
    height: 13px;
  }
  .idx07 .b-local .tb_info dt,
  .idx07 .b-local .tb_info dd {
    padding: 12px 6px 13px;
    font-size: 12px;
    letter-spacing: 0em;
  }
  .idx07 .b-local .tb_info dl .tt_sm {
    font-size: 11px;
  }
  .idx07 .b-local .tb_info dt {
    width: 84px;
  }
  .idx07 .b-local .tb_info dd {
    width: calc(100% - 84px);
    padding-left: 12px;
  }
  .idx_map {
    height: 380px;
  }
  .key_wrap .pc_navi.navi_df {
    width: 100%;
    margin-top: 35px;
    padding: 0 10px;
  }
  .idx_bn {
    position: relative;
    bottom: 0;
    left: 0;
    justify-content: center;
  }
  .idx_bn .bn_item {
    width: calc(100% / 3 - 0.625em);
    margin: 0.3125em;
  }
}
@media only screen and (max-width: 768px) and (min-width: 639px) {
  .idx07 .b-local .col1,
  .idx07 .b-local .col2,
  .idx07 .b-local .col3 {
    display: none;
  }
  .idx07 .b-local_col {
    width: calc((100% - 10px) / 2);
    margin-right: 10px;
  }
  .idx07 .b-local_col:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 639px) {
  .idx07 .b-local > div {
    width: 100%;
  }
  .idx07 .b-local_col {
    width: 100%;
    margin-right: 0;
  }
  .idx07 .b-local_item {
    width: 100%;
  }
}
@media only screen and (max-width: 550px) {
  .idx04 .service-sm {
    font-size: min(14px, 4.2vw);
  }
  .idx04 .service-sm_item {
    width: 100%;
    margin-right: 0;
  }
  .idx05 .box_inner {
    padding-bottom: 43vw;
  }
  .idx05 .box_inner::before {
    left: 15em;
  }
  .idx05 .box_inner::after {
    right: 15em;
  }
}
@media only screen and (max-width: 450px) {
  .idx01 .report_slider {
    font-size: min(13px, 2.65vw);
  }
  .idx01 .report_slider .item {
    width: calc(50% - 0.625em);
    max-width: 28.357143em;
  }
  .idx04 .service-lg_item {
    width: 100%;
    margin-right: 0;
  }
  .idx04 .service-lg_img {
    height: 96vw;
    max-height: 400px;
  }
  .idx05 h3 {
    height: 4.5em;
    padding-top: 1em;
    max-width: 9.5em;
  }
  .idx05 h3::before {
    background-image: url(../images/idx05_tl_sp.svg);
    height: 5.2em;
    max-width: 9.866667em;
  }
  .idx05 .scroll_line {
    bottom: -22.5em;
    right: -53.4em;
  }
  .idx06 .slider_wrap {
    margin-top: 40px;
    width: calc(100% - 10.714286em);
    font-size: min(14px, 2.8vw);
  }
  .idx06 .trivia-slider {
    height: auto;
  }
  .idx06 .trivia-slider_item {
    margin: 0 0.5em;
  }
  .idx06 .trivia-slider_img {
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
  }
  .idx06 .trivia-slider_img::before {
    width: 4em;
    height: 4em;
  }
  .idx06 .trivia-slider_img figure {
    width: 22em;
    height: 22em;
    margin-left: auto;
    margin-right: auto;
  }
  .idx07 .b-local_item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .idx07 .b-local .tb_info dt,
  .idx07 .b-local .tb_info dd {
    padding: 12px 6px 13px;
    font-size: 14px;
    letter-spacing: 0em;
  }
  .idx07 .b-local .tb_info dl .tt_sm {
    font-size: 12px;
  }
  .idx07 .b-local .tb_info dt {
    width: 100px;
  }
  .idx07 .b-local .tb_info dd {
    width: calc(100% - 100px);
    padding-left: 12px;
  }
}
@media only screen and (max-width: 400px) {
  .idx03 .bx_name .name01 {
    display: block;
  }
}
@media only screen and (max-width: 370px) {
  .idx01 .report_slider {
    font-size: min(13px, 2.5vw);
  }
  .idx03 .message_ttl {
    letter-spacing: 0.05em;
  }
  .idx04 .service-sm_content {
    padding: 1.5em 0.5em 1.4em 0.8em;
  }
}
