@media only screen and (max-width: 768px) {
  .home_page .key {
    --height: auto;
    --max-height: 186vw;
    --min-height: 320px;
    font-size: 8px;
    --pd: 0em;
  }
  .home_page .key::before {
    height: calc(100% + 120px);
    background-position: bottom center;
    background-image: url(../images/mv_bg_sp.jpg);
  }
  .home_page .key .inner_big {
    padding: 0;
  }
  .home_page .key .key_text .item {
    height: 50vw;
    padding: 10px;
    height: auto;
  }
  .home_page .key .idx_news {
    position: relative;
  }
  .home_page .key .idx_news .box {
    padding: 30px 20px 10px;
  }
}
@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: 0.9vmin;
  }
  .home_page .key .idx_gallery .list .img img {
    max-width: 20.6vw;
  }
}
@media only screen and (max-width: 768px) and (orientation: portrait) {
  .home_page .key::before {
    height: calc(100% + 30vw);
  }
  .home_page .key .catch {
    padding-left: 0;
    margin: 6.2% auto 0%;
  }
  .home_page .key h2 {
    text-align: center;
  }
  .home_page .key .idx_gallery {
    position: relative;
    z-index: 2;
    --mask: none;
    width: 100%;
    right: auto;
    top: auto;
    height: auto;
    font-size: 0.8em;
  }
  .home_page .key .idx_gallery .list .img img {
    max-width: 28em;
  }
  .home_page .key .circles {
    padding-left: 0;
    margin: 0px auto 2em;
    font-size: 1.25em;
    justify-content: center;
  }
}
@media only screen and (max-width: 768px) {
  .home_page h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: calc(var(--ttl_size) - 2px);
  }
  .home_page h3 span {
    display: inline-block;
  }
  .home_page h3.sm {
    font-size: calc(var(--ttl_size) - 4px);
  }
  .home_page h3.sm .en {
    font-size: 14px;
  }
  .home_page h3 .en {
    margin-bottom: 0.5em;
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px) {
  .idx_news {
    padding: 60px 0px 0px;
    font-size: 14px;
  }
  .idx_news h3 {
    display: table;
    text-align: left;
    margin: 0 0 20px;
  }
  .idx_news .flex {
    position: relative;
    padding-bottom: 0px;
  }
  .idx_news .left {
    width: 100%;
  }
  .idx_news ul {
    width: 100%;
  }
  .idx_news .btn-group {
    position: absolute;
    top: 5px;
    width: 122px;
    right: 0;
  }
  .idx_news .btn-group .btn.style01 {
    margin: 0px auto;
  }
  .idx_news li {
    max-width: 100%;
  }
  .idx_news li a {
    padding: 1em 1em 1.5em 0;
    display: block;
  }
  .idx_news li a .date {
    width: 100%;
  }
  .idx_news li a .title {
    display: block;
    max-width: 100%;
  }
  .idx_message {
    padding: 60px 0px;
  }
  .idx_message .sub {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
  }
  .idx_message .box_img {
    display: table;
    margin: 0px auto 25px;
  }
  .idx_message .txt {
    margin-bottom: 20px;
  }
  .idx_message .btn-group .btn.style02 {
    margin: 0px auto 0px;
  }
  .idx_worries {
    padding: 60px 0px 50px;
    background-image: url(../images/worries_bg_sp.jpg);
    background-position: top center;
    background-size: 100% auto;
  }
  .idx_worries .row {
    margin-top: 35px;
  }
  .idx_worries h4 {
    max-width: 16em;
    margin-left: auto;
    margin-right: auto;
  }
  .idx_worries .box {
    width: calc(50% - 0.5em);
    padding: 30px 1em 100px;
  }
  .idx_worries .box .btn-group {
    padding: 0px 15px;
    bottom: 30px;
    font-size: min(0.625em, 1.9vw);
  }
  .idx_feature {
    padding: 60px 0px;
  }
  .idx_feature .row {
    justify-content: center;
  }
  .idx_feature .txt {
    margin-bottom: 15px;
  }
  .idx_feature .box {
    margin-top: 25px;
    width: 100%;
    max-width: 418px;
  }
  .idx_feature .box .content {
    padding: 0 15px 2.5em;
  }
  .idx_feature .box h4 {
    font-size: 1.5em;
  }
  .idx_feature .box h4 span {
    display: inline-block;
  }
  .TabContainer .TabPager > div {
    margin-top: 9px;
  }
  .TabContainer .TabPager > div::before {
    --w: 7px;
  }
  .idx_job {
    padding: 60px 0px;
  }
  .idx_job::before {
    background-image: url(../images/job_bg_sp.jpg);
    background-position: top center;
    height: 100%;
    min-height: 236vw;
  }
  .idx_job .txt {
    margin-bottom: 30px;
  }
  .idx_job .TabContainer .TabContent .content > div {
    padding: 40px 10px 30px;
  }
  .idx_job .wrap .btn-group .btn.style02 {
    width: calc(50% - 0.3em);
  }
  .idx_job .wrap .btn-group .btn.style02 a {
    height: 100%;
    padding-left: 1.25em;
    padding-right: 1.25em;
  }
  .idx_job .wrap .btn-group .btn.style02 a span {
    display: inline-block;
  }
  .idx_job .wrap .btn-group .btn.style02 a::after {
    right: 0.8em;
  }
  .idx_group {
    padding-bottom: 40px;
  }
  .idx_group h3::before,
  .idx_group h3::after {
    top: 50%;
  }
  .idx_group .box {
    width: 100%;
  }
  .idx_group .box:nth-child(2) ul {
    margin-bottom: 25px;
    padding-bottom: 0px;
  }
  .idx_group ul {
    margin-bottom: 0;
    padding-bottom: 0px;
  }
  .idx_group ul li {
    padding: 1.1em 0;
  }
  .idx_group ul::before {
    top: 0;
    height: 100%;
  }
  .idx_group .box_img {
    margin-bottom: 25px;
  }
  .idx_group .row {
    max-width: 545px;
    margin: 15px auto 0;
  }
  .idx_carry {
    padding: 60px 0px 25px;
  }
  .idx_carry .inner_big {
    padding: 0;
  }
  .idx_carry .row {
    margin-bottom: 35px;
    flex-direction: column-reverse;
  }
  .idx_carry .box_img {
    display: table;
    margin: 0px auto 25px;
  }
  .idx_carry h4 {
    text-align: center;
  }
  .idx_carry .box_text {
    position: relative;
  }
  .idx_carry .txt.t_center {
    margin-bottom: 30px;
  }
  .idx_carry .num {
    right: 0;
    top: 0;
  }
}
@media only screen and (max-width: 768px) and (min-width: 480px) {
  .idx_worries .box h4 .sp_only {
    display: none;
  }
  .idx_job .TabContainer .TabPager {
    justify-content: center;
  }
  .idx_job .TabContainer .TabPager > div {
    margin-right: 0.8em;
    width: calc(33.33% - 0.55em);
  }
  .idx_job .TabContainer .TabPager > div:nth-child(3n), .idx_job .TabContainer .TabPager > div:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 520px) {
  .idx_worries .box h4 {
    font-size: min(1.25em, 3.6vw);
    max-width: 100%;
  }
}
@media only screen and (max-width: 479px) {
  .idx_job .TabContainer .TabPager {
    justify-content: center;
    font-size: min(1em, 2.8vw);
  }
  .idx_job .TabContainer .TabPager > div {
    margin-right: 0.8em;
    width: calc(50% - 0.4em);
  }
  .idx_job .TabContainer .TabPager > div:nth-child(2n), .idx_job .TabContainer .TabPager > div:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 430px) {
  .idx_feature .box .point {
    font-size: 12px;
  }
  .idx_feature .box .point .num {
    font-size: 5em;
  }
  .idx_feature .box h4 {
    font-size: min(1.35em, 5.1vw);
  }
  .idx_worries .box {
    width: calc(50% - 5px);
  }
  .idx_worries .btn-group .btn.style02 a::after {
    right: 0.5em;
  }
  .home_page .key .circles .box::before {
    border-width: 1px;
  }
  .idx_group .box_img .tt {
    font-size: min(1.375em, 5vw);
  }
  .idx_job .wrap .btn-group {
    font-size: min(0.625em, 1.8vw);
  }
  .idx_job .wrap .btn-group .btn.style02 a {
    letter-spacing: 0.07em;
  }
  .idx_carry h4 {
    font-size: min(1.35em, 5.6vw);
  }
}
@media only screen and (max-width: 389px) {
  .idx_job .wrap .btn-group .btn.style02 {
    width: 100%;
    font-size: min(14px, 3.5vw);
  }
  .idx_job .wrap .btn-group .btn.style02 a {
    letter-spacing: 0.1em;
  }
}
@media only screen and (max-width: 374px) {
  .idx_worries .box {
    width: 100%;
    min-height: 20em;
  }
  .idx_worries .box h4 {
    font-size: min(1.35em, 8vw);
    max-width: 16em;
  }
  .idx_worries .box h4 .sp_only {
    display: none;
  }
  .idx_worries .box .btn-group {
    font-size: min(0.625em, 2.5vw);
  }
  .btn-group .btn.style01.md a {
    font-size: 0.875em;
  }
  .idx_group ul {
    --width: 7.5em;
  }
  .idx_group ul::before {
    left: calc(var(--width) - 1.25em);
  }
  .idx_group ul li span span {
    display: inline-block;
  }
  .idx_message .box_text {
    padding-top: 0;
  }
}