@charset "utf-8";

/* ==========
about common
============= */

.about__title__group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    width: 100%;
}

.title__border--about {
    margin-left: 0;
}

/* ==========
main visual
============= */

.profile__main__visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    width: 100%;
    min-height: 400px;
    background-color: var(--primary_color-dusty-pink);
    overflow: hidden;

    position: relative;
}


#profile__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 背景に送る */
}

.profile__main__title {
    max-width: 1240px;
    padding: 0 1.8%;
    margin: 0 auto;

    position: relative;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); */
    z-index: 2000;
}


.profile__main__title h1 {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: clamp(4.0rem, 6vw + 1rem, 6.4rem);
    font-weight: 400; 
    line-height: 1;
    text-align: start;
    position: relative;
    top: 56px;
}


/* ============
　About top
============= */

.about__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 2vw, 40px); 
    margin-top: 56px;
}

.span__bold {
    font-size: 1.8rem;
    font-weight: 600;
    margin-right: -4px;
}

.profile__img {
    max-width: 420px;
    height: auto;
}

.about__content img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 40px);
    max-width: 780px;
}

.title__small {
    width: 100%;
    font-size: 2.0rem; 
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-align: start;
    color: var(--primary_color-write);
    border-radius: 8px;
    padding: 16px clamp(12px, 2vw, 24px);
}

.title__small--about {
    background: var(--main_color-pink);
}

.about__sentence {
    text-align: start;
    margin-top: 16px;
}



@media screen and (max-width:767px) {
    .about__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        gap: 32px;
    } 
    
    .about__content img {
        width: 80%;
    }

    .title__small__group {
        padding: 0 2%;
    }

    .about__right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 780px;
    }

}

/* ============
　character
============= */

.sub__title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(6px, 2vw, 16px);

    margin-top: 56px;
}

.character__logo img {
    width: auto;
    height: clamp(40px, 10vw, 60px);
}

.curiosity__logo,
.initiative__logo {
  opacity: 0;
}

.and__logo img {
    display: block;
    width: auto;
    height: clamp(24px, 7vw, 40px);
    margin-bottom: 3px;
    margin-left: 8px;
}

.about__sentence__group {
    margin-top: 24px;
    max-width: 1000px;
}

@media (max-width:767px) {
    .sub__title {
        margin-top: 32px;
    }
    
}

/* ============
　skill set
============= */


.section__content--skillSet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 56px;
}

.skill-set__sentence {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.skill-set__sentence .about__sentence {
    margin-top: 0;
    text-align: center;
}

.skill-set__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.skill-set__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.skill-set__item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.skill-set__title {
    width: 114px;
    text-align: left;

    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 1;
}

/* スキルセットメーター/グラフ */
.skill__meter {
    width: 420px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--color-black);
    border-bottom-width: 3px;
    background-color: var(--primary_color-write);

    position: relative;
}

.skill__meter::before,
.skill__meter::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--color-black);
    background-repeat: no-repeat;
    background-position: top left;
    z-index: 1000;
}

.skill__meter::before {
    left: 33.33%;
}

.skill__meter::after {
    left: 66.66%;
}

.skill__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0; /* 初期値0 */
    border-radius: 6px 0 0 5px;
    background-color: var(--main_color-pink);
    transition: width 1s ease;
}

.skill__fill--figma {
    border-radius: 6px 6px 5px 5px;
}

/* メーターここまで */

.other__content h3 {
    letter-spacing: 0.1em;
}

.other__content {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.other__content p {
    margin-top: 16px;
}

.span__dot {
    display: inline;
}

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

    .skill-set__title {
        width: clamp(88px, 20vw, 114px);
        text-align: left;

        font-family: "Nova Round", system-ui, sans-serif;
        font-size: clamp(1.6rem, 1.6vw + 1rem, 2.0rem);
        line-height: 1;
    }

    .skill__meter {
        width: clamp(240px, 60vw, 420px);
        height: clamp(24px, 6vw, 40px);
        /* border-radius: clamp(4px, 1.1vw, 8px); */
        border-radius: 4px;
        border: 2px solid var(--color-black);
        border-bottom-width: 3px;
        background-color: var(--primary_color-write);

        position: relative;
    }

    .skill__fill {
        border-radius: 2px 0 0 1px;
        background-color: var(--main_color-pink);
        transition: width 1s ease;
    }

    .skill__fill--figma {
        border-radius: 2px 2px 1px 1px;
    }

    .span__dot {
        display: none;
    }

    .skill-set__sentence .content__text--skill {
        text-align: start;
        padding: 0 clamp(0, 2vw, 24px);
    }

    
}

/* ===========
 Experience
 ============ */

.experience__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 56px;
}

.experience__item {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;

    border: 2px solid var(--color-black);
    border-bottom-width: 3px;
    border-radius: 8px;
}

.experience__title__group {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--main_color-pink);
    border-radius: 6px 0 0 5px;
    border-right: 2px solid var(--color-black);

    min-width: 220px;
    padding: 0 40px;
}

.experience__year {
    font-family: "Nova Round", system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    color: var(--primary_color-write);
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.accordion__button {
    display: none;
}

.experience__content {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    border-radius: 0 6px 6px 0;
    background: var(--primary_color-write);
    min-height: 100%;

    padding: 16px clamp(20px, 20vw, 32px);
}

.experience__text {
    text-align: start;
}


@media (max-width:767px) {
    .experience__list {
        margin-top: 32px;
    }

    
    .accordion__button {
        width: 24px;          /* ボタンのサイズ */
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    /* 三角形を線で作る */
    .accordion__button::before {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        border-left: 2px solid var(--primary_color-write);   /* 線の太さ 2px */
        border-bottom: 2px solid var(--primary_color-write); /* 線の太さ 2px */
        border-radius: 2px;             /* 角丸 */
        transform: rotate(-45deg);      /* 下向き三角形 */
        transition: transform 0.3s ease-in-out;
    }
    
    /* 開いた状態の回転（右向きなど） */
    .accordion__button[aria-expanded="true"]::before {
        transform: rotate(135deg); /* 上向き三角形に回転 */
    }

    .experience__list {
        gap: clamp(20px, 6vw, 40px);
    }

    .experience__item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        min-height: 0;

        border: none;
        border-bottom-width: 0;
        border-radius: 8px;
    }

    .experience__title__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--main_color-pink);
        border-radius: 8px;
        border: 2px solid var(--color-black);
        border-bottom-width: 3px;

        cursor: pointer;
        min-width: 0;
        width: 100%;
        padding: 32px 40px;
        transition: all 0.4s ease-in-out;
    }

    .experience__title__group.active {
        border-radius: 8px 8px 0 0;
        border: 2px solid var(--color-black);
        border-bottom-width: 2px;
        transition: all 0.5s ease-in-out;
    }

    .experience__content {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        border-radius: 0 0 8px 8px;
        background: var(--primary_color-write);
        min-height: 0;
        max-height: 0;
        
        padding: 0;
        border: 2px solid var(--color-black);
        border-top: none;
        border-bottom-width: 3px;

        overflow: hidden; /* はみ出しを隠す */
        visibility: hidden; /* はみ出しを隠す2 */
        transition: max-height 0.5s ease-in-out, visibility 0.4s ease-in-out;
    }

    .experience__content.active {
        max-height: 400px;
        visibility: visible;
    }

    .experience__text {
        padding: 24px clamp(20px, 20vw, 32px);
    }
}





