/* New Business Page Styles */

.mv-box {
    padding: 50px 70px;
    background-color: #F2FAFB;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;

}

.mv-box ruby rt {
    margin-bottom: 8px;
    line-height: 1;
}


@media screen and (max-width: 767px) {
  .mv-box ruby rt {
    margin-bottom: 5px;
  }
}

.mv-box .inner1080 {
    position: relative;
}

.mv-box .inner1080::before,  .mv-box .inner1080::after {
    position: absolute;
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.mv-box .inner1080::before {
    width: 390px;
    height: 390px;
    top: 0;
    left: 0;
    background-image: url(../../img/index/leaves-ver01.png);
    transform: translate(-60%, 5%);
}

.mv-box .inner1080::after {
    width: 307px;
    height: 371px;
    top: 0;
    right: 0;
    background-image: url(../../img/index/leaves-ver02.png);
    transform: translate(50%, -10%);
}

@media screen and (max-width: 1251px) {
  .mv-box .inner1080::after {
    width: 207px;
    transform: translate(50%, -30%);
  }

  .mv-box .inner1080::before {
    width: 320px;
    transform: translate(-60%, 20%);
  }
}



@media screen and (max-width: 767px) {
    .mv-box .inner1080::before {
        width: 130px;
        height: 130px;
        transform: translate(-50%, 5%);
    }
  .mv-box .inner1080::after {
    width: 70px;
    height: 150px;
    background-image: url(../../img/index/leaves-ver02-sp.png);
    transform: translate(50%, -10%);
  }
}

.mv-box .top-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    color: #119DB2;
    font-family: "Zen Maru Gothic", sans-serif !important;
}

.mv-box .top-box .top-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 2px;
}

.mv-box .top-box .top-main {
    display: flex;
    justify-content: space-between;
    width: 675px;
    max-width: 675px;
    transform: translateX(50px);
}

.mv-box .top-box .top-main .top-main-col {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 3px;
}

.mv-box .top-box .top-main .top-main-col .top-main-col-title {
    font-size: 25px;
    padding-left: 25px;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
}
.mv-box .top-box .top-main .top-main-col .top-main-col-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 42px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../../img/index/title-list-mark-img.png);
    transform: translate(-50%, -20%);
}

.mv-box .top-box .top-main .top-main-col .top-main-col-text {
    padding-left: 25px;

}

.mv-box .top-box .top-main .top-main-col .top-main-col-text span {
    font-size: 20px;
    margin-top: 15px;
    display: block;
    padding-left: 5px;
}

.mv-box .bottom-box {

}

.mv-box .bottom-box .bottom-title-box{
    width: 550px;
    max-width: 550px;
    margin: 0 auto;
}

.mv-box .bottom-box .bottom-title-box img{
    width: 100%;
}

.mv-box .bottom-box .bottom-main-box {

}

.mv-box .bottom-box .bottom-main-box .bottom-white-box {
    width: 860px;
    max-width: 860px;
    padding: 30px 0;
    text-align: center;
    background-color: #fff;
    margin: 0 auto;
    margin-bottom: 30px;
    line-height: 2.5;
    font-size: 16px;

}

.mv-box .bottom-box .bottom-main-box .under-line-text {
    color: #119DB2;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    z-index: 0;
}

.mv-box .bottom-box .bottom-main-box .under-line-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: #ffff81;
    z-index: -1;
}

.mv-box .bottom-box .bottom-main-box .bottom-text {
    text-align: center;
}

.mv-box .bottom-box .bottom-main-box .bottom-text .under-line-text::after {
   height: 15px;
   bottom: -3px;
}

.cta-box {

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 110px;
        width: 860px;
        max-width: 860px;
        padding: 40px 80px;
        margin: 0 auto;
}

.cta-box .button01 {
    flex: 0 0 300px;
}

.cta-box .button01 a {
    background-color: #50b7c6;
    transition: all .3s;
    width: 100%;
}
.cta-box .button01 a:hover {
    background-color: #0059b2;
}

@media screen and (max-width: 1021px) {
    .cta-box {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        width: 80%;
    }

    .cta-box .button01  {
        flex: 0 0 auto;
        width: 80%;
    }
  
}

.pc-off {
    display: none;
}

.sp-off {
    display: block;
}

@media screen and (max-width: 1041px) {
 .mv-box .top-box .top-main {
    /* flex-direction: column;
    gap: 40px;
    align-items: center; */
 }

 .mv-box .bottom-box .bottom-main-box .bottom-white-box {
    width: 90%;
    max-width: 90%;
 }
}

@media screen and (max-width: 1021px) {
    .mv-box .bottom-box .bottom-main-box .bottom-white-box {
        padding: 30px;
    }
  
}

@media screen and (max-width: 767px) {
    .mv-box {
        padding: 50px 16px;
    }
    .mv-box .top-box .top-title {
        font-size: 22px;
    }

    .mv-box .top-box .top-main {
        flex-direction: column;
        gap: 30px;
        width: 90%;
        max-width: 100%;
        padding: 0 15px;
        align-items: flex-start;
        transform: translateX(0);
    }

    .mv-box .top-box .top-main .top-main-col {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .mv-box .top-box .top-main .top-main-col .top-main-col-title {
        font-size: 18px;
        margin-bottom: 10px;
        padding-left: 20px;
    }

    .mv-box .top-box .top-main .top-main-col .top-main-col-title::after {
        width: 25px;
        height: 32px;
        transform: translate(-20%, -20%);
    }

    .mv-box .top-box .top-main .top-main-col .top-main-col-text {
        padding-left: 20px;
    }

    .mv-box .top-box .top-main .top-main-col .top-main-col-text span {
        font-size: 16px;
    }

    .mv-box .bottom-box .bottom-title-box {
        width: 100%;
    }

    .mv-box .bottom-box .bottom-title-box img {
        content: url(../../img/index/bottom-title-sp.png);
    }

    .mv-box .bottom-box .bottom-main-box .bottom-white-box {
        width: 100%;
        max-width: 100%;
        padding: 16px 0;
        font-size: 14px;
        box-sizing: border-box;
    }

    .mv-box .bottom-box .bottom-main-box .under-line-text {
        font-size: 16px;
    }

    .pc-off {
        display: block;
    }

    .sp-off {
        display: none;
    }

}



.page.new-business {
    padding: 0;
}

.page.new-business .entry-content {
    padding: 0 0 40px;
}

.new-business-section {
    margin-bottom: 60px;
    padding: 0 15px;
}

.new-business-section .h_type01 {
    text-align: center;
    margin-bottom: 30px;
}

.new-business-section .archive_list {
    margin-bottom: 30px;
}

/* 募集職種 - Offer items (3 columns) */
.new-business-section .list_style1 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.new-business-section .list_style1 ul li {
    width: 330px;
    margin-right: 30px;
    margin-bottom: 40px;
}

.new-business-section .list_style1 ul li:nth-child(3n) {
    margin-right: 0;
}

/* 採用ブログ - Topics items (3 columns, same gap as offer) */
.new-business-section .news_list {
    margin-top: 30px;
}

.new-business-section .news_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.new-business-section .news_list ul li {
    width: 330px;
    margin-right: 30px;
    margin-bottom: 40px;
}

.new-business-section .news_list ul li:nth-child(3n) {
    margin-right: 0;
}

.new-business-section .news_list ul li a img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.new-business-section .button01 {
    text-align: center;
    margin-top: 30px;
}

/* Responsive - Tablet */
@media screen and (max-width: 1140px) {
    .new-business-section .list_style1 ul li {
        width: 32%;
        margin-right: 2%;
    }
    
    .new-business-section .news_list ul li {
        width: 32%;
        margin-right: 2%;
        margin-bottom: 30px;
    }
    
    .new-business-section .news_list ul li:nth-child(3n) {
        margin-right: 0;
    }
}

/* Responsive - Mobile (2 columns for both offer and topics) */
@media screen and (max-width: 767px) {
    .new-business-section .list_style1 ul {
        justify-content: space-between;
    }
    
    .new-business-section .list_style1 ul li {
        width: calc(50% - 10px);
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .new-business-section .list_style1 ul li .image {
        height: 150px;
    }
    
    .new-business-section .list_style1 ul li span.catch_txt {
        font-size: 14px;
    }
    
    .new-business-section .news_list ul {
        justify-content: space-between;
    }
    
    .new-business-section .news_list ul li {
        width: calc(50% - 10px);
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .new-business-section .news_list ul li:nth-child(3n) {
        margin-right: 0;
    }
    
    .new-business-section .news_list ul li a img {
        height: 120px;
    }
    
    .new-business-section .news_list ul li .text {
        padding: 10px 0;
    }
    
    .new-business-section .news_list ul li .title {
        font-size: 12px;
    }
    
    .new-business-section .news_list ul li .date,
    .new-business-section .news_list ul li .category {
        font-size: 11px;
    }
    
    .new-business-section {
        margin-bottom: 40px;
    }
}

.dementia-link:link, .dementia-link:visited {
    transition: all .3s;
}

.dementia-link:hover, .dementia-link:focus {
    opacity: .8;
}