@charset "utf-8";
/* =============
pageTitle
============== */
.pageTitle {
    padding: 200px var(--content-padding) 0;
}

h2 {
    font-size: 6rem;
    font-family: Inter;
    font-weight: 300;
    line-height: 1;
}

h2 span {
    display: block;
    font-size: 1.2rem;
    font-family: "Zen Kaku Gothic New";
    font-weight: 400;
    margin-top: 8px;
}

/* pageTitle pc */
@media screen and (min-width: 1024px) {
    .pageTitle {
        padding: 280px var(--content-padding) 0;
    }

    .page__content {
        max-width: 1200px;
        margin: 0 auto;
    }

    h2 {
        font-size: 11rem;
    }

    h2 span {
        font-size: 2rem;
        line-height: 1;
        margin-left: 14px;
    }
}

/* =============
work
============== */
.work {
    padding: 80px 6.6% 120px;
}

.tab__item {
    display: flex;
    cursor: pointer;
    align-items: center;
    margin-top: 12px;
}

.tab__item:first-of-type {
    margin-top: 0;
}

.tab__span {
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid var(--primary-white);
    border-radius: 50px;
}

.tab__span::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background-color: var(--primary-white);
    border-radius: 50px;
}

.tab__item.active .tab__span {
    border: 1px solid var(--primary-black);
}


.tab__item.active .tab__span::before {
    background-color: var(--primary-black);
}

.tab__txt {
    color: var(--primary-gray);
    font-size: 1.6rem;
    font-family: Inter;
    line-height: normal;
    margin-left: 12px;
}

.tab__item.active .tab__txt {
    color: var(--primary-black);
}

.w__list {
    margin-top: 40px;
}

.w__item {
    display: none;
    opacity: 0;
}

.w__item.show {
    display: block;
    opacity: 1;
    animation: tab 1.4s ease forwards;
}

@keyframes tab {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
}

.w__link {
    margin-top: 60px;
}

.w__link:first-of-type {
    margin-top: 0;
}

.w__eyeCatch {
    overflow: hidden;
}

.w__eyeCatch img {
    transition: all 0.5s ease-out;
}

.w__link:hover img {
    transform: scale(1.1,1.1)
}

h3 {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: normal;
    margin-top: 18px;
}

.type {
    color: var(--primary-gray);
    font-size: 1.2rem;
    font-family: Inter;
    line-height: normal;
    margin-top: 2px;
}

/* work pc */
@media screen and (min-width: 1024px) {
    .work {
        padding: 120px var(--content-padding) 200px;
    }

    .w__content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
    }

    .w__tab {
        flex-shrink: 0;
    }

    .tab__item {
        margin-top: 16px;
    }

    .tab__span {
        width: 16px;
        height: 16px;
    }

    .tab__txt {
        font-size: 1.6rem;
        margin-left: 14px;
    }

    .w__list {
        width: 85%;
        margin-top: 0;
    }

    .w__item.show {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 60px 3%;
    }

    .w__link {
        width: 31.3%;
        margin-top: 0;
    }

    h3 {
        font-size: 1.8rem;
        margin-top: 22px;
    }

    .type {
        margin-top: 3px;
    }

}