@charset "UTF-8";
/*メインビジュアル*/
.top_mv{
    min-height: 820px;
    height: 100vh;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    animation-delay: .3s;
    opacity: 0;
    overflow: hidden;
}
.top_mv::before{
    min-height: 820px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background:url(../images/top/bg_mv.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
}
.top_mv::after{
    min-height: 820px;
    content: "";
    width: 100%;
    height:100%;
    background-color: #ffffff;
    opacity: .5;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.top_mv_text{
    position:relative;
    background-color: #fff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color:var(--main-color);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.45em;
    padding: 60px 44px;
    line-height: 2.4em;
    animation: fadeIn 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    animation-delay: 1.3s;
    opacity: 0;
    z-index: 1;
}
.top_mv_text p{
    margin:0;
}
 
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 各コンテンツ */
.top_container{
    margin-top: 76px;
    padding-top: 80px;
    margin-bottom: 76px;
    display: flex;
    gap:9%;
    flex-wrap: wrap;
}
.top_container_titlearea{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 130px;
    padding-bottom: 43px;
}
.top_container_titlearea h2{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    gap:8px;
    position: relative;
    margin-bottom: 15px;
}
.top_container_titlearea h2 .top_container_subtitle{
    font-size: 0.875rem;
    letter-spacing: .4em;
    display: block;
    position: absolute;
    right: -25px;
    height: max-content;
    top: -5px;
}
.top_container_titlearea h2 .top_container_title{
    font-size: 2.25rem;
    letter-spacing: .5em;
    display: block;
}
.top_container_titlearea h2::before{
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 50px;
    background:var(--main-color);
    top: -72px;
    left: 50%;
    position: translateX(-50%);
}
.top_container_content{
    flex: 1;
}
.top_concept_text{
    padding-top: 50px;
    padding-bottom: 90px;
}
.top_concept .top_container_content{
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.top_concept_img{
    width: 300px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}
.top_works.top_container{
    flex-direction: column;
}
.top_service{
    gap:25%;
}
.top_service_item .top_service_item_inner{
    display: flex;
    gap: 47px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}
.top_service_item:last-child{
    margin-bottom: 0;
}
.top_service_item .top_service_item_thumb{
    width:273px;
    margin-bottom: 0;
}
.top_service_item .top_service_item_desc{
    min-width:273px;
    flex: 1;
    position: relative;
}
.top_service_item_desc h3{
    position: relative;
    font-size: 1.25rem;
    padding-top: 1.4rem;
}
.top_service_item_desc_subtitle{
    color: var(--sub-color);
    font-size: 2rem;
    position: absolute;
    z-index: -1;
    top: 0;
    line-height: 1em;
}
.top_service_item_desc_title{
    letter-spacing: 0;
}
.top_news{
    align-items: flex-end;
    gap: 15%;
}
.top_container + .top_container{
    margin-top: 112px;
}

@media screen and (max-width:768px){
    .top_mv{
        min-height: 660px;
    }
    .top_mv::before,
    .top_mv::after{
        min-height: 660px;
    }
    .top_mv::before{
        background-attachment: scroll;
    }
    .top_mv_text{
        padding: 44px 24px;
    }
    .top_mv_text p{
        font-size:1rem;
        line-height: 2.2em;
        letter-spacing: 0.3em;
    }
    .top_container{

    }
    .top_concept .top_container_content{
        flex-direction: column-reverse;
        margin-top: -6em;
    }
    .top_concept_img{
        margin-left: auto;
        width: 70vw;
    }
    .top_concept_text{
        padding-bottom: 0;
        padding-top: 30px;
    }
    .top_container_titlearea{
        z-index: 1;
        background: #ffffffcc;
        min-height: 13em;
    }
    .top_container_titlearea:has(>.btn-circle) h2{
        margin-bottom: 10px;
    }
    .top_service_item .top_service_item_thumb{
        width: 155px;
    }
    .top_service_item .top_service_item_inner{
        gap: 38px;
    }
    .top_service_item_desc h3{
        position: absolute;
        top: -3.5em;
        right: 0;
        z-index: 1;
    }
    .top_news{
        align-items: flex-start;
        flex-direction: column;
    }
}