/* ボタン */
.buttonarea {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 120px;
}

/* 自己紹介 */
.portfolio_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 120px;
}

.main_image {
    width: 20%;
    height: auto;
}

.portfolio_box {
    margin-left: 120px;
}

.name {
    font-size: clamp(20px, 3vw, 32px);
    margin-bottom: 5px;
}

.text {
    font-size: clamp(13px, 3vw, 20px);
}

.text.en {
    font-family: "Lora", serif;
}

* {
    box-sizing: border-box;
}

/* 経験 */
.content_area {
    display: flex;
    column-gap: 30%;
}

.tab-container {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.tab-container {
    margin: 0 0 15px;
}

.tab {
    max-width: 150px;
    width: 100%;
    cursor: pointer;
    font-size: clamp(16px, 3vw, 24px);
    font-family: "Lora", serif;
}

.tab:hover {
    opacity: 0.6;
    transition: 0.5s;
}

.tab.active {
    width: fit-content;
    border-bottom: solid 1px #DDC444;
}

.content {
    display: none;
    /*必須*/
}

.content.show {
    display: block;
    /*必須*/
}

.item {
    margin-bottom: 120px;
}

.item_container {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.item_box {
    width: 100%;
}

.year {
    font-size: clamp(13px, 3vw, 20px);
}

.text {
    font-size: clamp(13px, 3vw, 20px);
}

@media screen and (max-width: 570px) {

    /* 自己紹介 */
    .portfolio_container {
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
    }

    .main_image {
        margin-left: 40%;
        width: 40%;
    }

    .portfolio_box {
        margin-left: 0px;
    }

    /* 経験 */

    .content_area {
        display: flex;
        flex-direction: column;
        column-gap: 30%;
    }

    .tab-container {
        flex-direction: row;
        column-gap: 10%;
        justify-content: center;
    }

    .tab {
        max-width: none;
        width: 100%;
    }
}