@charset "utf-8";
/* loading */
#loading {
    width: 100vw;
    height: 100vh;
    background-color: var(--secondarybase);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    animation: loadingAnime 2s infinite;
    display: none; 
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 1s linear;
}

#loading.active {
  display: flex; 
}

.loaded {
  opacity: 0;
  visibility: hidden;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--secondarygray);
    border-radius: 50%;
    border-top-color: var(--textcolor);
    animation: spin 2s linear infinite;
}
.loading-text {
    color: var(--textcolor);
    font-size: 2.2rem;
    font-weight: 100;
    margin-top: 10px;
}
@keyframes loadingAnime {
    0% {background: #F0F7FC;}
    35% {background: #FCF8F0;}
    70% {background: #F3FCF0;}
    100% {background: #F0F7FC;}
}
@keyframes spin {   
     0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* fv */
.fvTitle {
    font-family: 'Nanum Gothic',
        'YuGothic','Yu Gothic',
        sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 100%;
    min-height: 40vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fvImage-sp {
    display: block;
    height: auto;
}
.fvImage-pc {
    display: none;
}
@media screen and (min-width:769px) {

    .fvImage-sp {
        display: none;
    }
    .fvImage-pc {
        display: block;
        height: auto;
    }
}
/* common */
.homeSectionTitle {
    font-size: 2.2rem;
    line-height: 100%;
    text-align: center;
    padding-top: 80px;
}

@media screen and (min-width:769px) {
    .homeSectionTitle {
        font-size: 2.6rem;
        padding-top: 200px;
    }
}
/* work */
.homeWork {
    margin: 52px auto 132px;
}
.homeWork-wrapper {
    margin: 80px 14% 52px;
}
.homeWorkName {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 150%;
    margin-top: 16px;
}
.homeWork-container {
    margin: 40px 0 80px;
}
@media screen and (min-width:769px) {
    .homeWork {
        margin: 80px auto 120px;
    }
    .homeWork-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin: 100px 12% 0;
    }
    .homeWork-container {
        width: calc(46%);
        margin: 0 2% 120px;
    }

}
/* About */
.homeAbout {
    background: var(--primarybase);
}
.homeAbout-wrapper {
    padding-bottom: 80px;
}
.profile-img {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}
.profile-img::before {
    content: '';
    background-image: url(../img/profilephoto.png);
    display: block;
    width: 158px;
    height: 166px;
    background-size: contain;
}
.homeProfile {
    margin: 64px 14% 0;
}
.homeProfile h4 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 150%;
}
.homeProfile p {
    font-size: 1.4rem;
    line-height: 200%; 
    margin-top: 32px;
}

@media screen and (min-width:769px) {
    .profile-img {
        margin-top: 0;
    }
    .homeAbout-block {
        display: flex;
        margin: 120px 22% 0;
    }
    .homeProfile {
        margin: 0 0 0 8%;
    }
}

/* Skills */
.skills-container {
    font-size: 1.4rem;
    line-height: 200%;
    text-align: center;
    margin-top: 40px;
}
@media screen and (min-width:769px) {
    .skills-container {
        margin-top: 80px;
    }
}
/* Strengths */
.strengths-wrapper {
    margin: 0 6% 80px;
}
.strengths-container {
    margin-top: 100px;
}
.strengths-container h4 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 150%;
}
.strengths-container p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 200%;
    margin-top: 8px;
}

@media screen and (min-width:769px) {
    .strengths-wrapper {
        margin: 120px 22% 120px;
    }
    .strengths-container {
        margin-top: 60px;
    }
}