
.main-topBox{
    position: relative;
}
.top-flexWrap{
    position: relative;
    max-height: 50vh;
    width: 100%;
}
.main-imageBox img{
    height: 50vh;
    object-fit: cover;
    width: 100%;
}
/*
.main-imageBox::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
}
*/
.main-imageBox{
    position: relative;
}
.top-tree{
    display: none;
}
.top-text{
    display: none;
}
.top-text p{
    color: #fff;
    font-size: 5.6rem;
}
.top-pass{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    z-index: 1;
}
.top-passText{
    margin-bottom: 100px;
}
.top-passArrow{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@media screen and (min-width: 768px){

}
@media screen and (min-width: 1024px){
    .top-flexBox{
        display: flex;
        justify-content: center;
    }
    .top-flexWrap{
        max-height: 100vh;
        width: 50%;
    }
    .top-tree{
        display: block;
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
    }
    .top-text{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .top-text p{
        font-size: 4.0rem;
    }
    .main-imageBox img{
        height: 100vh;
    }
}
@media screen and (min-width: 1080px){
    .top-text p{
        font-size: 5.6rem;
    }
}

.strengths-textTop{
    font-size: 3.0rem;
    margin-bottom: 60px;
}
.strengths-img{
    margin-bottom: 80px;
}
.strengths-textBox{
    margin-bottom: 50px;
}
.strengths-slideImg{
    margin-right: 30px;
}
@media screen and (min-width: 768px){
    .strengths-textTop{
        font-size: 3.2rem;
    }
}
@media screen and (min-width: 1024px){
    .strengths-flexBox{
        display: flex;
        gap: 80px;
        margin-bottom: 100px;
    }
    .strengths-flexWrap{
        width: 50%;
        margin-bottom: 0;
    }
    .strengths-img{
        width: auto;
        margin: 0 0 0 -15px;
    }
    .strengths-textBox{
        flex: 1;
        margin-bottom: 0;
    }
    .strengths-textTop{
        padding-top: 50px;
        margin-bottom: 80px;
    }

}
@media screen and (min-width: 1080px){

}
@media screen and (min-width: 1230px){
    .strengths-img{
        margin: 0 0 0 max(calc((1200px - 100vw) / 2), -360px);
    }
}

.movieBox{
    background-image: url(/system_panel/uploads/images/top-movieBg.jpg);
    object-fit: cover;
    width: 100%;
    position: relative;
}
.movieBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}
.movie-header{
    position: relative;
    text-align: center;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 80px;
}
.movie-wrap{
    text-align: center;
    position: relative;
}
.movie-wrap video{
    width: 100%;
    aspect-ratio: 16 / 9;
}
@media screen and (min-width: 768px){

}
@media screen and (min-width: 1024px){
    .movie-header{
        font-size: 4.8rem;
    }
}
@media screen and (min-width: 1080px){

}

.reasonBox{
    overflow: hidden;
    position: relative;
}
.reason-wrap{
    flex: 1;
    margin: 0 auto;
    max-width: 340px;
    margin-bottom: 100px;
}
.reason-wrap:last-child{
    margin-bottom: 0;
}
.reason-imageBox{
    text-align: center;
    margin-bottom: 15px;
}
.reason-title{
    text-align: center;
    font-weight: 700;
    font-size: 2.0rem;
    margin-bottom: 15px;
}
.reason__en{
    font-size: 5.0rem;
    font-family: "Alegreya", serif;
    font-style: italic;
    font-weight: 600;
}
.reason__ja {
    font-size: 1.8rem;
}
.reason-titleBox{
    margin-bottom: 40px;
}
.reason-flexWrap{
    margin-bottom: 100px;
}
.reason-bgTree01{
    object-fit: cover;
    position: absolute;
    width: 700px;
    height: auto;
    top: -150px;
    left: -150px;
    opacity: 7%;
}
.reason-bgTree02{
    object-fit: cover;
    position: absolute;
    width: 700px;
    height: auto;
    bottom: -200px;
    right: -150px;
    opacity: 7%;
    z-index: -1;
}
@media screen and (min-width: 768px){

}
@media screen and (min-width: 1024px){
    .reason-title{
        font-size: 2.4rem;
    }
    .reason__en{
        font-size: 6.4rem;
    }
    .reason-titleBox{
        margin-bottom: 80px;
    }
    .reason-flexWrap{
        display: flex;
        gap: 20px;
        justify-items: center;
        max-width: none;
        margin: 0 auto;
        margin-bottom: 120px;
    }
    .reason-bgTree02{
        bottom: -200px;
    }
    .reason-wrap{
        margin-bottom: 0;
    }
}
@media screen and (min-width: 1080px){
}


.catchBox{
    position: relative;
    background: no-repeat center center / cover;
    background-image: url(/system_panel/uploads/images/catch02.jpg);
    padding: 60px 0;
}
.catchBox p{
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}
.catch-title{
    font-size: 2.0rem;
    margin-bottom: 40px;
}
.catchBox p strong{
    font-size: 3.0rem;
    font-weight: 400;
}
.catch-text{
    font-size: 1.8rem;
}
.catch-tree01Box{
    position: absolute;
    top: 90px;
    right: 20px;
    width: 100px;
}
.catch-flexBox{
    text-align: center;
}
.catch-flexBox a:first-child{
    margin-bottom: 50px;
}
.catch-wrap{
    background-color: #fff;
    width: 300px;
    padding: 10px 30px;
    border-radius: 5px;
    margin: 0 auto 30px auto;
}
.catch-wrap p{
    position: relative;
    color: #222;
    font-size: 2.0rem;
    text-align: left;
    font-weight: 700;
}
.catch-wrap p::after{
    content: '';
    background: no-repeat center center / contain;
    background-image: url(/system_panel/uploads/images/catchArrow.png);
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
@media screen and (min-width: 768px){
    .catchBox{
        background-image: url(/system_panel/uploads/images/catch1.jpg);
    }
}
@media screen and (min-width: 1024px){
    .catch-flexBox{
        display: flex;
        justify-content: center;
        gap:100px;
        max-width: 900px;
        margin: 0 auto;
    }
    .catch-flexBox a:first-child{
        margin-bottom: 0;
    }
    .catch-title{
        font-size: 3.2rem;
    }
    .catch-title span br{
        display: none;
    }
    .catchBox p strong{
        font-size: 4.0rem;
    }
    .catch-text{
        font-size: 2.0rem;
    }
    .catch-wrap{
        margin: 0;
}
    .catch-treeBox01{
        width: 200px;
        top: 20px;
    }
}
@media screen and (min-width: 1080px){
}
.worksBox{
    overflow: hidden;
    background: no-repeat center center / cover;
    background-image: url(/system_panel/uploads/images/works-bg.jpg);
}
.works-title{
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 2.0rem;
    margin-bottom: 15px;
}
.works__en{
    color: #fff;
    font-size: 5.0rem;
    font-family: "Alegreya", serif;
    font-style: italic;
    font-weight: 600;
}
.works__ja {
    color: #fff;
    font-size: 1.8rem;
}
.works-titleBox{
    margin-bottom: 40px;
}
.works-flexText{
    margin-bottom: 30px;
}
.works-textwrap{
    color: #fff;
}
.works-flexCases{
    margin-bottom: 30px;
}
.case-pc{
    display: none;
}
.case-mb{
    position: relative;
}
.case-mb p{
    color: #fff;
    font-size: 2.0rem;
    font-weight: 700;
}
.case-mb::after{
    content: '';
    background: no-repeat center center / contain;
    background-image: url(/system_panel/uploads/images/worksArrow.png);
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}
.case-mb p{
    display: inline-block;
}
.webgene-item-main-image{
    height: 400px;
    object-fit: cover;
}
/* スライドごとの幅を固定（例：320px） */
.slider02 .slick-slide {
    width: 320px !important; /* 画像サイズ＋余白を考慮 */
    margin-right: 16px;
}

  /* 親のwrapperを操作して右側に余白を出す */
.slider02 {
    box-sizing: content-box; /* paddingが正しく効くように */
    overflow: hidden; /* はみ出す部分を非表示にして */
}
.article-title{
    color: #fff;
    font-size: 1.8rem;
}
.post-tag{
    color: #fff;
    font-size: 1.8rem;
}

.case-mbWrap{
    text-align: center;
}
@media screen and (min-width: 768px){

}
@media screen and (min-width: 1024px){
    .works-title{
        font-size: 2.4rem;
    }
    .works__en{
        font-size: 6.4rem;
    }
    .works-titleBox{
        margin-bottom: 80px;
    }
    .works-flexBox{
        display: flex;
        justify-content: flex-start;
        gap: 100px;
    }
    .works-flexText{
        min-width: 300px;
        width: 30%;
        margin-bottom: 0;
    }
    .works-flexCases{
        flex: 1;
        padding-right: 20px;
        margin-bottom: 0;
    }
    .works-textwrap{
        margin-top: 100px;
    }
    .works-text{
        margin-bottom: 50px;
    }
    .case-pc{
        display: inline-block;
        font-size: 2.8rem;
        font-weight: 700;
        position: relative;
    }
    .case-pc::after{
        content: '';
        background: no-repeat center center / contain;
        background-image: url(/system_panel/uploads/images/worksArrow.png);
        width: 30px;
        height: 100%;
        position: absolute;
        top: 50%;
        right: -40px;
        transform: translateY(-50%);
    }
    .case-mb{
        display: none;
    }
    .article-title{
        font-size: 2.0rem;
    }
    .post-tag{
        font-size: 2.0rem;
    }
}
@media screen and (min-width: 1080px){
}
@media screen and (min-width: 1230px){
    .works-flexCases{
        margin: 0;
        margin-right:  max(calc((1200px - 100vw) / 2), -360px);
    }
}
.company-title{
    text-align: center;
    font-weight: 700;
    font-size: 2.0rem;
    margin-bottom: 15px;
}
.company__en{
    font-size: 5.0rem;
    font-family: "Alegreya", serif;
    font-style: italic;
    font-weight: 600;
}
.company__ja {
    font-size: 1.8rem;
}
.company-titleBox{
    margin-bottom: 40px;
}
.company-image{
    margin: 0 -15px 0 0;
}
.company-linkPc{
    display: none;
}
.company-linkMb{
    position: relative;
    display: inline-block;
    font-size: 2.0rem;
    font-weight: 700;
}
.company-linkMb::after{
    content: '';
    background: no-repeat center center / contain;
    background-image: url(/system_panel/uploads/images/catchArrow.png);
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}
.company-linkMb__wrap{
    margin-top: 30px;
    margin-bottom: 100px;
    text-align: center;
}
.company-recruitText__box{
    position: relative;
    background-color: #D6D6D6;
    padding: 30px 30px 50px 30px;
    height: 100%;
    text-align: center;
}
.company-recruitTitle{
    position: relative;
    margin-bottom: 50px;
    font-size: 2.4rem;
    font-weight: 700;
    z-index: 1;
}
.company-recruitText{
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
}
.company-treeBg{
    position: absolute;
    top: 0;
    right: 0;
}
.company-recruitImage{
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}
.recruitlink__text{
    position: relative;
    display: inline-block;
}
.recruitlink__text::after{
    content: '';
    background: no-repeat center center / contain;
    background-image: url(/system_panel/uploads/images/catchArrow.png);
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}
@media screen and (min-width: 768px){

}
@media screen and (min-width: 1024px){
    .company-title{
        font-size: 2.4rem;
    }
    .company__en{
        font-size: 6.4rem;
    }
    .company-titleBox{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .company-textTop{
        margin-bottom: 50px;
        font-size: 4.0rem;
        font-weight: 700;
    }
    .company-textContents{
        margin-bottom: 50px;
    }
    .company-linkPc{
        display: inline-block;
        position: relative;
    }
    .company-linkPc::after{
        content: '';
        background: no-repeat center center / contain;
        background-image: url(/system_panel/uploads/images/catchArrow.png);
        width: 30px;
        height: 100%;
        position: absolute;
        top: 50%;
        right: -40px;
        transform: translateY(-50%);
    }
    .company-linkMb{
        display: none;
    }
    .company-recruitFlex__box{
        display: flex;
        justify-content: center;
    }
    .company-recruitText__box{
        padding:  50px 0 0 50px;
        text-align: left;
    }
    .recruitlink__text{
        margin-bottom: 0px;
    }
}
@media screen and (min-width: 1080px){

}
@media screen and (min-width: 1230px){
    .company-image{
        margin: 0;
        margin-right:  max(calc((1200px - 100vw) / 2), -360px);
    }
}
