@charset "UTF-8";

/* profile css */

/* header */
.top-heder {
    align-items: center;

}

.header-nav {
    position: fixed;
    top: 20px;
    left: 100px;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* スクロール時に非表示にするクラス */
.header-nav.hide {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

/* 表示状態 */
.header-nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


.header-ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #888;
}






/* -----main---- */
.profile-main {
    padding-top: 200px;
}

/* -------- */





/* ---profile first--- */
.profile-first {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 250px;
}

.profile-main-img img {
    width: 100%;
    max-width: 292px;
    height: auto;
    max-height: 392px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* 年齢 ・出身地・趣味*/

/* name */
.profile-main-name {
    font-weight: 500;
    font-size: 1.625rem;
    margin-bottom: 30px;
}

.profile-sav-name {
    font-weight: 500;
    font-size: 1rem;
}

/* ---------------- */

/* 詳細 */

.profile-item {
    display: flex;
    padding-bottom: 10px;
}

.profile-item dt {
    padding-right: 50px;
}

/* -------------------- */




/*---- skill---- */
/* セクション全体 */
.profile-skills {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 100px;
    background: rgba(200, 200, 200, 0.1);
}

/* 余白 */
.skill-list {
    padding: 0 12px;
}

/* タイトル */
.profile-skills h2,
.profile-Strengths h2 {
    font-size: 2rem;
    margin-bottom: 60px;
    text-align: left;
    border-left: 5px solid #333;
    padding-left: 15px;
}

/* dt + dd の組み合わせ（横並び） */
.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

/* スキル名 */
.skill-item dt {
    font-weight: 600;
    font-size: 1.2rem;
}

/* 星マーク */
.skill-item dd {
    margin: 0;
    font-size: 1.1rem;
    color: #f0b400;
}

/* 各スキルの説明テキスト */
.skill-list p {
    margin: 8px 0 25px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

/* 見やすく余白を調整 */
.skill-list {
    margin: 0;
    padding: 0 20px;
}

/* ------------ */




/* Strengths　強み */

/* セクション全体 */
.profile-Strengths {
    max-width: 900px;
    margin: 0 auto;
    padding: 150px 20px 200px;
}

.profile-Strengths-taxt li {
    display: flex;
    align-items: flex-start;
    padding: 28px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.profile-Strengths-taxt li h3 {
    text-align: right;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.profile-Strengths-taxt li p {
    padding: 16px 0 16px 60px;
    font-size: 1rem;
    text-align: left;
    flex: 1;
    margin: 0;
    line-height: 1.8;
}

.profile-main-text3 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}




/* ----contact------*/

.top-main3 {
    padding-top: 200px;
    background: rgba(200, 200, 200, 0.1);
}

.top-contact {
    padding: 50px;
}





@media(max-width:896px) {

    /* ---header--- */
    .header-nav {
        display: none;
    }

    .top-heder {
        display: flex;
        flex-direction: column;
        /* 縦積み */
        justify-content: center;
        /* 縦中央 */
        align-items: center;
        /* 横中央 */
        text-align: center;
        padding: 2rem 1rem;
        height: auto;
    }

    .top-heder-h1 {
        position: relative;
        margin: 0;
        z-index: 2;
        font-size: clamp(1.6rem, 6.5vw, 2.4rem);
        /* 任意：可読性のため */
        padding: .4rem .6rem;
        border-radius: 6px;
        left: 0;
    }

    /* ------------------ */


    /* main */

    /*  profile-first を縦並びにして画像とテキストを上下に  */
    .profile-first {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 80px;
        gap: 20px;
    }

    .profile-main-img {
        width: 62%;
        max-width: 720px;
        margin: 0 auto;
    }

    /* 名前 */
    .profile-main-2 {
        width: 100%;
        max-width: 720px;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .profile-h3 {
        margin-top: 10px;
        text-align: center;
    }

    .profile-main-name {
        margin-bottom: 30px;
        font-size: 1.375rem;
        font-weight: 700;
    }

    /* ------------ */

    /* 年齢・出身・趣味 */
    .profile-item {
        flex-direction: column;
        align-items: center;
        padding-bottom: 8px;
    }

    .profile-item dt {
        padding-right: 0;
        margin-bottom: 6px;
        width: 100%;
        font-weight: 600;
    }

    .profile-item dd {
        margin: 0 0 12px 0;
    }

    /* ------------ */






    /*--- skill スキル ---*/
    .skill-item {
        display: block;
        padding: 12px 0;
    }

    .skill-item dt {
        margin-bottom: 6px;
    }

    .skill-list p {
        padding-left: 0;
    }

    /* --------------- */


    /* strongths 強み */
    .profile-Strengths-taxt {
        display: block;
    }

    .profile-Strengths-taxt li {
        display: block;
        padding: 16px 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .profile-Strengths-taxt li h3 {
        text-align: left;
        padding-bottom: 8px;
        font-size: 1.125rem;
    }

    .profile-Strengths-taxtli p {
        padding-left: 0;
        text-align: left;
        line-height: 1.8;
    }

    /* 全体余白 */
    .profile-skills,
    .profile-Strengths {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* ------------------------- */





    @media (max-width:539px) {

        /* main */
        /* profile */
        .profile-first {
            padding-bottom: 60px;
        }

        .profile-main-img {
            width: 77%;
            max-width: 360px;
        }

        .profile-main-name {
            font-size: 1.25rem;
        }

        .profile-sav-name {
            font-size: 0.95rem;
        }




        /* skillsの文字サイズを落とす */
        .skill-item dt {
            font-size: 1.05rem;
        }

        .skill-item dd {
            font-size: 1rem;
        }



        /* strengthfの間隔をコンパクトに */
        .profile-Strengths-taxt li {
            padding: 12px 12px 36px 12px;
        }

        .profile-Strengths-taxt li h3 {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 0.08em;
        }

        .profile-Strengths-taxt li p {
            padding: 8px 0 0 0;

        }

        /* コンタクトの余白を小さく */
        .top-contact {
            padding: 24px;
        }

        .top-mail p {
            line-height: 1.6;
        }


    }




    @media (max-width:400px) {
        .profile-main-name {
            font-size: 1.125rem;
        }

        .profile-sav-name {
            font-size: 0.9rem;
        }

        .profile-item dt {
            font-size: 0.95rem;
        }

        .profile-Strengths-taxt li h3 {
            font-size: 1rem;
        }
    }
}