@charset "UTF-8";

.f-cv-entry{
    padding-top: 0;
}
.f-cv-entry .head {
    display: block;
    margin-top: 0;
}

/****** mainimg style ******/
.hero .video {
    aspect-ratio: 1 / 1.531;
}

.hero .video video {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero .mainimg-txt {
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.hero .mainimg-txt .lead {
    font-size: 8vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 150%;
    color: #fff;
}

.hero .mainimg-txt .lead .sub {
    width: 45%;
    transform: translate(-0.5rem, 1.2rem);
}

.hero .btn-concept {
    width: 100%;
    max-width: 198px;
    text-align: center;
    padding: 15px 45px 15px 25px;
    margin: 1.5rem auto 2rem;
}

.hero .btn-concept .grada {
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 120%;
}

@media (min-width: 768px) {
    .hero .video {
        aspect-ratio: 16 / 9;
    }

    .hero .mainimg-txt {
        bottom: 15%;
        gap: 10px;
        width: 45%;
        padding-left: 8vw;
    }

    .hero .mainimg-txt .lead {
        font-size: 3.3vw;
    }

    .hero .mainimg-txt .lead .sub {
        width: 35%;
        transform: translate(-3.2rem, 1.2rem);
    }

    .hero .btn-concept {
        padding: 10px 45px 10px 25px;
        margin: 1.5rem 18% 2rem 0;
    }
}

@media (min-width: 1024px) {
    .hero .mainimg-txt {
        bottom: 25%;
    }
}

/****** cvBtn style ******/
.cv-top-pc_entry {
    bottom: 100px;
    right: 20px;
    z-index: 49;
    width: 120px;
    height: 120px;
}

@media (min-width: 768px) {
    .cv-top-pc_entry {
        bottom: 170px;
    }
    .cv-top-pc_entry a:before{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 90%;
        height: 90%;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(../img/top/btn-entry-i.svg);
        animation: loop_animation 10s linear infinite;
    }
    @keyframes loop_animation {
        0% {
            transform: rotate(0deg);
        }
        50% {
            transform: rotate(180deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

}

/****** command style ******/
.sec-ttl {
    font-weight: 500;
    margin: 0 0 2rem;
}

.sec-ttl:before {
    content: "";
    display: block;
    width: 41px;
    height: 36px;
    transform: translate(-27px, 16px);
    background-image: url(../img/common/ico-star.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.sec-ttl .sub {
    font-size: 50px;
    letter-spacing: 0.05em;
    line-height: 120%;
}

.sec-ttl .main {
    display: block;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 120%;
    margin-top: .5em;
}

@media (min-width: 1280px) {
    .sec-ttl .sub {
        font-size: 70px;
    }
    .sec-ttl .main {
        font-size: 16px;
    }
}


/****** news style ******/
.sec-news {
    position: relative;
    padding-bottom: 4rem;
    background-color: var(--l-gray);
}

.sec-news:before {
    content: "";
    width: 100%;
    height: 55%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(60deg, rgba(245, 228, 240, 1) 0%, rgba(253, 239, 231, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.sec-news-head {
    padding-left: 8vw;
    padding-right: 8vw;
    position: relative;
    z-index: 1;
}

.sec-news .block-news-list {
    padding-left: 8vw;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.block-cate {
    gap: 1rem 2%;
    margin: 2rem 0 5rem;
    padding: 0;
    list-style: none;
}

.block-cate .item {
    width: 49%;
}

.block-cate .item .link {
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--black);
}

.block-cate .item .link:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
}

.block-cate .item .link.active:before {
    background-color: var(--black);
}

.block-news-contents_link{
    color: var(--black);
    text-decoration: none;
}

.block-news-contents_link .head {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.block-news-contents_link .head .cate {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    margin: 0;
    padding: 7px 10px;
    border-radius: 0 0 5px 0;
    font-size: 12px;
    color: #fff;
}

.cate.cate01 {
    background-color: #fe9db8;
}

.cate.cate02 {
    background-color: #76CDBC;
}

.block-news-contents_link .head .img {
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 0.665;
}

.block-news-contents_link .head .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-news-contents_link .date,
.block-news-contents_link .department {
    color: #888;
    font-size: 12px;
    margin: .5rem 0;
}

.block-news-contents_link .ttl {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.contents-tab {
  display: none;
}
.contents-tab.active {
  display: block;
}

@media (min-width: 768px) {
    .sec-news:before{
        height: 45%;
    }

    .block-cate .item {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .sec-news {
        display: flex;
        padding: 8vw 0;
        margin-bottom: 0;
    }

    .sec-news:before {
        width: 40%;
        height: 100%;
    }

    .sec-news-head {
        width: 35%;
        padding-right: 2vw;
    }

    .contents-tab{
        width: 60%;
    }

    .block-cate {
        flex-direction: column;
    }

    .sec-news .block-news-contents {
        margin-right: 0 !important;
        width: 100% !important;
        height: auto;
    }

    .sec-news .block-news-contents:nth-of-type(n+4){
        display: none;
    }

    .sec-news .block-news-list {
        width: 90%;
        padding-left: 0;
        padding-right: 8vw;
        margin-bottom: 0;
    }

    .block-news-list .swiper-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .block-news-contents_link {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0 4%;
    }

    .block-news-contents_link .head {
        width: 254px;
    }

    .block-news-contents_link .txt{
        max-width: 630px;
        width: calc(100% - 254px);
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    .block-news-contents_link .date,
    .block-news-contents_link .department,
    .block-news-contents_link .ttl{
        margin: 0;
    }
    .block-news-contents_link .date,
    .block-news-contents_link .department {
        width: auto;
    }
    .block-news-contents_link .ttl{
        font-weight: 500;
    }

    .sec-news .block-btn {
        position: absolute;
        bottom: 8vw;
        left: 0;
        z-index: 1;
    }
}

@media (min-width: 1280px) {
    .block-cate {
        gap: 2rem 2%;
        margin: 4rem 0 6rem;
    }
    .block-cate .item .link{
        font-size: 16px;
        font-weight: 500;
    }
}


/****** about style ******/
.sec-aboutus {
    margin-bottom: 2rem;
}

.sec-aboutus .txt {
    order: 2;
    padding-left: 8vw;
    padding-right: 8vw;
}

.sec-aboutus .img {
    order: 1;
    aspect-ratio: 1 / 0.751;
    overflow: hidden;
}

.sec-aboutus .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

@media (min-width: 768px) {
    .sec-aboutus {
        margin-bottom: 0;
    }
    .sec-aboutus .img {
        width: 50%;
        aspect-ratio: 1 / 0.605;
    }
    .sec-aboutus .txt {
        width: 50%;
        padding-top: 4vw;
        padding-bottom: 4vw;
    }
}

@media (min-width: 1280px) {
    .sec-aboutus .txt{
        padding-top: 0;
        padding-bottom: 0;
    }
}

/****** works style ******/
.sec-works {
    background: var(--l-gray);
    padding: 1rem 0 3rem;
}

.sec-works .swiper-wrapper {
    transition-timing-function: linear;
}

.sec-works .txt,
.sec-works .comment {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .sec-works {
        padding-top: 4vw;
        padding-bottom: 8vw;
    }

    .sec-works .txt {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 20px;
    }

    .sec-works .txt .sec-ttl {
        width: 30%;
        margin-bottom: 0;
    }

    .sec-works .txt .block {
        margin-bottom: 2rem;
    }
}

/****** staff style ******/
.sec-staff {
    background-image: url(../img/top/staff-bg.png);
    background-size: 180% auto;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 3rem;
    text-align: center;
}

.sec-staff .sec-ttl {
    text-align: center;
    display: inline-block;
}

.sec-staff .sec-ttl:before {
    transform: translate(28px, 16px);
}

.sec-staff .sec-ttl .sub {
    line-height: 100%;
}

.sec-staff .sec-ttl .main {
    margin-top: .5rem;
}

.block-staff-item {
    width: 60vw;
}

.block-staff-item .thumbnail {
    display: inline-block;
    position: relative;
    margin-bottom: 60px;
}

.block-staff-item .thumbnail .num,
.block-staff-item .thumbnail .ico-arrow {
    position: absolute;
}

.block-staff-item .thumbnail .num {
    top: 1rem;
    left: 1rem;
    font-size: 44px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #fff;
}

.block-staff-item .thumbnail .ico-arrow {
    left: 0;
    right: 0;
    bottom: -20px;
    margin: 0 auto;
    padding: 6px 0 0 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url(../img/common/bg-grada.jpg);
    background-position: center;
    background-size: cover;
}

.block-staff-item .thumbnail .ico-arrow img {
    width: 6px;
}

.block-staff-item .thumbnail .img {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1/1;
}

.block-staff-item .thumbnail .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-staff-item .txt {
    display: none;
}

.sec-staff .block-txt {
    text-align: center;
}

.sec-staff .block-txt .label {
    display: inline-block;
    background: #fff;
    text-align: center;
    padding: 8px 40px;
    border-radius: 50px;
}

.sec-staff .block-txt .label span {
    background: var(--grada);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 24px;
}

.sec-staff .block-txt .prof {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 24px;
    margin: 1em 0;
}

.sec-staff .block-txt .comm {
    max-width: 510px;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 30px;
    margin: 0 auto 2rem;
}

.sec-staff .block-txt {
    padding-left: 8vw;
    padding-right: 8vw;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.block-txt.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.block-txt.fade-out {
    animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .sec-staff .sec-ttl:before {
        transform: translate(-30px, 16px);
    }

    .block-staff-list {
        padding-bottom: 6vw;
    }

    .block-staff-item {
        width: 338px;
    }

    .sec-staff .block-txt {
        margin-top: -6vw;
    }

    .sec-staff .block-txt .label {
        padding: 8px 60px;
    }
}