@charset "utf-8";

/* ==========
prifile
========== */
.profile {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.profile__txt {
    width: 48%;
    max-width: 600px;
    padding: 8.0% 4.8% 4.8%;
    position: relative;
}

/* profile__img分の可変高さ */
.profile__txt::after {
    content: '';
    display: block;
    padding-top: 62%;
}

.profile__name {
    width: fit-content;
    font-size: clamp(5.2rem, 6.9vw, 9.6rem);
    font-weight: 500;
}

.profile__name .ja {
    display: block;
    margin-top: 8px;
    color: var(--gray-main);
    font-size: clamp(1.4rem, 1.7vw, 2.4rem);
}

.profile__img {
    width: clamp(540px, 70vw, 980px);
    position: absolute;
    top: 0;
    left: 29%;
    z-index: -10;
}

.profile__desc {
    margin-top: 40px;
    font-size: clamp(1.4rem, 1.14vw, 1.6rem);
    line-height: 1.8;
}

/* concept */
.profile__concept {
    width: 40%;
    margin: auto 0 0;
    padding: 4.8%;
    background-color: #fff;
    border: 1px solid var(--black-main);
}

.concept__header {
    font-size: 1.4rem;
}

.concept__title {
    margin-top: 8px;
    font-size: clamp(1.4rem, 1.7vw, 2.4rem);
    font-weight: 500;
    line-height: 1.4;
}

.concept__desc {
    margin-top: 40px;
    font-size: clamp(1.4rem, 1.14vw, 1.6rem);
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .profile {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin-top: 60px;
    }

    .profile__txt {
        width: 100%;
        padding: 0;
    }

    /* profile__img分の可変高さ */
    .profile__txt::after {
        display: none;
    }

    .profile__name {
        font-size: 18vw;
    }

    .profile__name .ja {
        font-size: 5vw;
    }

    .profile__img {
        width: 180vw;
        position: static;
        transform: translateX(-20%);
        margin-top: -21vw;
    }

    .profile__desc {
        margin-top: 20px;
    }

    /* concept */
    .profile__concept {
        width: 100%;
        max-width: initial;
        margin: 0;
        padding: 40px;
        margin-top: 28px;
    }

    .concept__title {
        font-size: 2.0rem;
    }

    .concept__desc {
        margin-top: 20px;
    }
}

/* ==========
skill
========== */
.page__section {
    margin-top: 100px;
}

.page__section--skill {
    margin-top: 160px;
}

.skill__list {
    margin-top: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.skill__item {
    width: 22.6%;
}

.skill__title {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
}

.skill__icon {
    margin-top: 16px;
}

.skill__icon img {
    height: 140px;
}

.tool__list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tool__item {
    width: fit-content;
    padding: 8px 10px;
    background-color: var(--gray-tag);
    font-size: 1.2rem;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .page__section {
        margin-top: 80px;
    }

    .page__section--skill {
        margin-top: 80px;
    }

    .skill__list {
        justify-content: space-between;
        gap: 12px;
        margin-top: 40px;
    }

    .skill__item {
        width: 100%;
    }

    .skill__title {
        font-size: 1.6rem;
    }

    .skill__icon img {
        height: 100px;
    }

    .tool__list {
        gap: 6px;
    }

    .tool__item {
        padding: 6px 8px;
    }
}

/* ==========
career
========== */
.career__list {
    width: 520px;
    margin: 60px auto 0;
    font-size: 1.6rem;
}

.career__item {
    display: flex;
    align-items: stretch;
}

.year {
    width: 100px;
    flex-shrink: 0;
    border-right: 1px solid var(--black-main);
    display: flex;
    align-items: center;
    position: relative;
}

.year::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--orange-main);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.desc {
    padding: 40px 0 40px 60px;
    line-height: 1.4;
}

@media screen and (max-width: 767px) {
    .career__list {
        width: 100%;
        margin: 40px auto 0;
        font-size: 1.4rem;
    }

    .year {
        width: 80px;
    }

    .year::after {
        width: 8px;
        height: 8px;
    }

    .desc {
        padding: 28px 0 28px 20px;
    }
}

/* ==========
9pieces
========== */
.photo__list {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: clamp(14px, 1.7vw, 24px);
}

.photo__item {
    width: 32%;
    position: relative;
}

.photo__hover {
    width: 100%;
    height: 100%;
    padding: 0 12.7%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1.4;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.photo__hover:hover {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .photo__list {
        margin-top: 40px;
        gap: 1.5vw;
    }

    .photo__item {
        width: 32%;
        position: relative;
    }

    .photo__hover {
        width: 100%;
        height: 100%;
        padding: 0 12.7%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        line-height: 1.4;
        background-color: rgba(0, 0, 0, 0.6);
        color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: all .3s ease-in-out;
    }

    .photo__hover:hover {
        opacity: 1;
    }
}