@charset "utf-8";

/* ==========================
main
============================ */
/* -----メインビジュアル -----------------------------*/

.works__sp { display: block; }
.works__pc { display: none; }


/* SP用メイン写真 */
.works__sp {
    position: relative;
}

.works-photo {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* SP用メイン写真を中央寄せ */
.works-photo img {
  display: block;
  margin: 0 auto;   
}

/* PC用メイン写真 */
.works__pc {
    position: relative;
}
.hero-pc-photo {
    position: relative; /* レイアウトに合わせて調整 */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* タイトル（SP/PC共通） */
.hero-title,
.hero-pc-title {
    position: absolute;
    left: 0;
    bottom: -60px;
    margin-left: 60px;
    margin-right: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* is-show が付いたらふわっと表示 */
    .works-photo.is-show,
    .hero-pc-photo.is-show,
    .hero-title.is-show,
    .hero-pc-title.is-show {
    opacity: 1;
    transform: translateY(0);
}


/* -----プロフィール -----------------------------*/
.profile {
    margin-top: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.name__en {
    font-size: 1.3rem;
    height: 23px;
}

.name__jp {
    font-size: 2rem;
    height: 24px;
}

.profile__figure {
    margin-top: 23px;
    display: flex;
    justify-content: space-around;
}

.profile__txt {
    display: flex;
    flex-direction: column;
    font-size: 1.3rem;
    letter-spacing: 0.13px;
    gap: 5px;
    margin-top: 15px;
}

.profile-action {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 43px;
}

.play__link {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.play__iconTriangle {
    display: block;
}

.play-text {
    font-size: 1.4rem;
}


/* -----この仕事にたどり着くまで -----------------------------*/
.section-title {   
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 120px;
    font-size: 2rem;
    font-weight: 350;
    letter-spacing: 0.36px;
    width: 235px;
    height: 51px;
}

.profile__timeline {
    display: flex;
    flex-direction: column;
    max-width: 330px;
    margin: auto;
    gap: 5px;
}

.timeline {
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 350;
    letter-spacing: 0.48px;
}

.timelineContents {
    font-size: 1.3rem;
    letter-spacing: 0.39px;
}


/* -----気づいたら、現場動かしてました -----------------------------*/

.profile-story__head {
    position: relative;
    text-align: center;
    margin-top: 150px;
}

.profile-story__head::after {
    position: absolute;
    content: "";
    width: 284px;
    height: 86px;
    background-image: url(../img/YellowLine_SP.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 38%;
    transform: translateX(-1%);
    bottom: -23px;
    z-index: -1; 
}


.Title {
    font-size: 2.5rem;
    position: relative;
    opacity: 0;  /* 最初は非表示 */
}


/* 横棒　擬似要素 */
.Title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
    height: 1px;
    width: 0;
    background-color: var(--primary-black, #121212);
}

/* スクロールして表示  */
.Title.is-show {
    animation: fadeInWorks 1s ease-out 1s forwards;
}
.Title.is-show::before {
    animation: lineGrow 2s ease-out forwards;
}

/* 横棒アニメ：左端固定で右に伸びる */
@keyframes lineGrow {
    0%   { width: 0; }
    100% { width: 120px; }  /* ★ 横棒の長さ */
}

/* Works のフェードイン */
@keyframes fadeInWorks {
    0% {
        opacity: 0;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* キャッチコピー */
.profile-story__catch {
    margin-top: 70px;
    text-align: center;
    font-size: 2.3rem;
    letter-spacing: 0.69px;
}

.profile-story__sub {
    margin-top: 10px;
    font-size: 1.3rem;
    letter-spacing: 0.26px;
}


/* タイムライン */
.js-reveal {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* 表示状態 */
.js-reveal.is-show {
  opacity: 1;
}

.profile-story__timeline {
    margin-top: 48px;
    position: relative;
    z-index: 0;
    min-height: 2300px;
}

.profile-story__timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    border-left: 5px dotted rgba(248, 225, 91, 0.48);
    z-index: -1;
}

.story-bubble {
    position: absolute;
    margin: 0 auto;
    width: max-content;
}

.story-bubble.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.story-bubble img {
    display: block;
    height: auto;
    max-width: 100%;
}




/* Story1~8 */
/* pc用吹き出しの非表示 */
.story-bubble img[src$="Story2_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story3_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story4_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story5_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story6_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story8_pc.png"] {
    display: none;
}
.story-bubble img[src$="Story9_pc.png"] {
    display: none;
}
/* pc用吹き出しの非表示 */


/* Story1画像 */
.profile-story__item--image1 {
    position: absolute;
    top: 0;
    left: 50%;
}

/* テキストサイズ・カラー 1~3*/
.story-text1 {
    color: #6B6256;
    font-size: 1.4rem;
}
.story-text2 {
    color: #6B6256;
    font-size: 1.4rem;
}
.story-text3 {
    color: #6B6256;
    font-size: 1.4rem;
}


/* Story２画像配置 */
.profile-story__item--image2 {
    position: absolute;
    top: 200px;
    left: 56%;
    transform: translateX(-50%);    
}

/* テキスト１配置 */
.story-text1 {
    position: absolute;
    top: 465px;
    left: 35%;
    transform: translateX(-50%); 
}

/* イラスト１ */
.story-illust1 {
    position: absolute;
    top: 470px;
    left: 57%;
    transform: translateX(-50%); 
}

/* Story３画像配置 */
.profile-story__item--image3 {
    position: absolute;
    top: 590px;
    left: 47%;
    transform: translateX(-50%); 
}

/* Story4画像配置 */
.profile-story__item--image4 {
    position: absolute;
    top: 820px;
    left: 50%;
    transform: translateX(-50%); 
}

/* Story5画像配置 */
.profile-story__item--image5 {
    position: absolute;
    top: 1055px;
    left: 50%;
    transform: translateX(-50%); 
}

/* テキスト2配置 */
.story-text2 {
    position: absolute;
    top: 1395px;
    left: 64%;
    transform: translateX(-50%); 
}

/* イラスト2配置 */
.story-illust2 {
    position: absolute;
    top: 1255px;
    left: 36%;
    transform: translateX(-50%); 
}

/* Story6画像配置 */
.profile-story__item--image6 {
    position: absolute;
    top: 1490px;
    left: 53%;
    transform: translateX(-50%); 
}

/* テキスト3配置 */
.story-text3 {
    position: absolute;
    top: 1690px;
    left: 45%;
    transform: translateX(-50%); 
}

/* Story7画像配置 */
.profile-story__item--image7 {
    position: absolute;
    top: 1765px;
    left: 50%;
    transform: translateX(-50%); 
}

/* イラスト3配置 */
.story-illust3 {
    position: absolute;
    top: 1955px;
    left: 58%;
    transform: translateX(-50%); 
}  

/* Story8画像配置 */
.profile-story__item--image8 {
    position: absolute;
    top: 2135px;
    left: 47%;
    transform: translateX(-50%);    
}






/* プロフィールへ遷移 */
.profilelink__wrapper {
    display: block;
    text-align: center;
    margin-top: 120px;
}

.profile__link {
    display: inline-block;
    font-size: 2.1rem;
    position: relative;
}

.profile__line {
    display: block;
    width: 160px;           
    height: 1px;  
    background-color: #121212;          
    margin: 10px auto 0;    
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInAnime 1s ease forwards;
}

@keyframes fadeInAnime {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
レスポンシブ
============================ */
/* @media screen and (min-width:000px) */

/* -----メインビジュアル -------------------------- */

@media screen and (min-width:427px) {
    .hero-title,
    .hero-pc-title {
        margin-left: 95px;
}
}

@media screen and (min-width:460px) {
    .hero-title,
    .hero-pc-title {
        margin-left: 125px;
}
}

@media screen and (min-width:527px) {
    .hero-title,
    .hero-pc-title {
        margin-left: 170px;
}
}

@media screen and (min-width:612px) {
    .hero-title,
    .hero-pc-title {
        margin-left: 230px;
}
}

@media screen and (min-width:720px) {
    .hero-title,
    .hero-pc-title {
        margin-left: 280px;
}
}

/* ------横棒アニメ　650px ----------------------------*/
@media screen and (min-width:650px) {
/* 横棒アニメ：左端固定で右に伸びる */
@keyframes lineGrow {
    0%   { width: 0; }
    100% { width: 180px; }  /* ★ 横棒の長さ */
}
}


/* -------769px --------------------------------------*/
@media screen and (min-width:769px) {
/* メインビジュアル、黄色いタイトル 769px */
    .works__sp { 
        display: none;
    }

    .works__pc { 
        display: block;
        margin: auto;
        max-width: 1210px; 
    }

    .hero-pc-title {
        bottom: -85px;
    }

    .hero-pc-title img {
        width: 798px;
    }


/* プロフィール 769px*/
.profile {
    margin-top: 245px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: center;
}

.name__en {
    font-size: 2rem;
    height: 23px;
    letter-spacing: 1.6px;
}

.name__jp {
    font-size: 2.3rem;
    height: 28px;
}

.profile__txtcontents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile__figure {
    margin-top: 23px;
    display: flex;
    justify-content: space-around;
}

.profile__figure img {
    width: 300px;
}

.profile__txt {
    font-size: 1.6rem;
    letter-spacing: 0.48px;
}

.profile-action {
    margin-top: 45px;
}

.play__link {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.play-text {
    font-size: 2.1rem;
}



/* 今の仕事にたどり着くまで　769px */
.section-title {   
    font-size: 2.3rem;
    letter-spacing: 0.69px;
    margin-top: 150px;
}

.profile__timeline {
    max-width: 430px;
    gap: 6px;
}

.timeline {
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: 350;
    letter-spacing: 0.48px;
}

.timelineContents {
    font-size: 1.6rem;
    letter-spacing: 0.39px;
}

.spBr {
    display: block;
}

/* -----気づいたら、現場動かしてました -----------------------------*/
.profile-story__head {
    margin-top: 230px;
}

.profile-story__head::after {
    width: 600px;
    background-image: url(../img/YellowLine_PC.svg);
}

.Title {
    font-size: 3.5rem;
}

/* キャッチコピー  */
.profile-story__catch {
    margin-top: 70px;
    text-align: center;
    font-size: 3rem;
    letter-spacing: 0.69px;
}

.profile-story__sub {
    margin-top: 10px;
    font-size: 2rem;
}

/* 改行なし */
.sp__br {
    display: none;
}


/* ----タイムライン全体 ----------------------------------*/
.profile-story__timeline {
    margin-top: 75px;
}

/* 縦棒長さ 変更 */
.profile-story__timeline {
    margin-top: 80px;
    min-height: 2530px;
}

/* Story1~8 */
/* pc用吹き出しの表示 */
.story-bubble img[src$="Story2_pc.png"] {
    display: block;
    width: 280px;
}
.story-bubble img[src$="Story3_pc.png"] {
    display: block;
    width: 300px;
}
.story-bubble img[src$="Story4_pc.png"] {
    display: block;
    width: 240px;
}
.story-bubble img[src$="Story5_pc.png"] {
    display: block;
    width: 300px;
}
.story-bubble img[src$="Story6_pc.png"] {
    display: block;
    width: 260px;
}
.story-bubble img[src$="Story8_pc.png"] {
    display: block;
    width: 280px;
}
.story-bubble img[src$="Story9_pc.png"] {
    display: block;
    width: 300px;
}

/* Story1~8 */
/* sp用吹き出しの非表示 */
.story-bubble img[src$="Story2_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story3_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story4_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story5_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story6_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story8_sp.png"] {
    display: none;
}
.story-bubble img[src$="Story9_sp.png"] {
    display: none;
}

/* Story1画像　変更 */
.timeline1 {
    width: 300px;
}

.profile-story__item--image1 {
    top: 0;
    left: 50%;
}

.illust1 {
    width: 170px;
}

/* Story２画像配置 変更*/
.profile-story__item--image2 {
    position: absolute;
    top: 230px;
    left: 56%;
    transform: translateX(-50%);    
}



/* テキストサイズ　変更 1~3*/
.story-text1 {
    font-size: 2rem;
}
.story-text2 {
    font-size: 2rem;
}
.story-text3 {
    font-size: 2rem;
}

/* Story３画像配置 変更 */
.profile-story__item--image3 {
    top: 640px;
    left: 45%;
}

/* Story4画像配置 変更 */
.profile-story__item--image4 {
    top: 920px;
    left: 57%;
}

/* Story5画像配置 変更*/
.profile-story__item--image5 {
    top: 1155px;
    left: 40%;
}

/* テキスト2配置　変更 */
.story-text2 {
    top: 1455px;
    left: 60%;
}

/* イラスト2配置　変更 */
.story-illust2 {
    top: 1485px;
    left: 47%;
}

.illust2 {
    width: 170px;
}

/* Story6画像配置 変更 */
.profile-story__item--image6 {
    top: 1670px;
    left: 60%;
}

/* テキスト3配置　変更 */
.story-text3 {
    top: 1800px;
    left: 28%;
}

/* Story7画像配置　変更 */
.profile-story__item--image7 {
    top: 1900px;
    left: 45%;
}

/* イラスト3配置 */
.story-illust3 {
    top: 2105px;
    left: 54%;
}  

.illust3 {
    width: 170px;
}

/* Story8画像配置 */
.profile-story__item--image8 {
    top: 2325px;
    left: 47%;
}















/* -----メインビジュアル pc ---------------------------- */
@media screen and (min-width: 1000px) {
/* 横棒アニメ：左端固定で右に伸びる */
@keyframes lineGrow {
    0%   { width: 0; }
    100% { width: 310px; }  /* ★ 横棒の長さ */
}

/* タイムライン */
/* テキスト１配置 */
.story-text1 {
    position: absolute;
    top: 445px;
    left: 42%;
    transform: translateX(-50%); 
}

/* イラスト１ */
.story-illust1 {
    top: 460px;
    left: 55%;
}

/* テキスト3配置　変更 */
.story-text3 {
    top: 1690px;
    left: 34%;
}

}

@media screen and (min-width: 1200px) {
 /*タイムライン  */
/* テキスト3配置　変更 */
.story-text3 {
    top: 1690px;
    left: 37%;
}

}













/*works*/

    .works__contents {
        margin-top: 220px;
    }

    .works__tabs {
        justify-content: center;
    }


    .works__tabs ul {
        gap: 64px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    .work__card {
        flex-direction: row;
    }

    .work__detail {
        margin-left: 50px;
    }

    .main__detail {
        font-size: 2rem;
        font-weight: 500;
    }

    .sub__detail {
    font-size: 1.6rem;
    }

/* プロフィール遷移 */
    .profilelink__wrapper {
    margin-top: 80px;
    }

    .profile__link {
    font-size: 3.5rem;
    }

}