@charset "UTF-8";

/* -----common----- */
*{
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;
}

body{
    font-family: 
    "Playwrite US Trad","Kaisei Opti", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #5D5E53;
    line-height: 1.5em;
}

img{
    max-width: 100%;
    height: auto;
}

/* sp common*/
h1{
    font-size: 2.4rem;
    font-weight: 400;
    color: #F0566E;
}

h2{
    font-size: 2.0rem;
    font-weight: 400;
}

/* pc common*/
@media screen and (min-width:769px) {
    h1{
        /* font-size 4.8remだと大きいので変更 */
        font-size: 3.2rem;
    }
    
    h2{
        /* font-size 3.6remだと大きいので変更 */
        font-size: 2.4rem;
    }
}
/* pc 769px */

/* -----loading view----- */
/* now loading */
#loading{
    width: 100%;
    height: 100vh;
    transition: all 0.5s;
    background-color: #F0D8DC;
    
}

.macaron{ 
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.macaron__item img{
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}


.macaron__item:nth-of-type(1){
    animation: gradual 2.0s steps(20) infinite;
}

.macaron__item:nth-of-type(2){
    animation: gradual 2.0s  0.2s steps(20) infinite;
}

.macaron__item:nth-of-type(3){
    animation: gradual 2.0s 0.4s steps(20) infinite;
}

/* end of loading */
.loaded{
    display: none;
}

/* fade in container */
.container{
    display: none;
}

.container.open{
    display: block;
}

/* pc loading */
@media screen and (min-width:769px) {
    .macaron__item img{
        width: 200px;
        height: 200px;
        flex-shrink: 0;
    }  
}
/* pc 769px */

/* sp&pc loading animation */
@keyframes gradual {
    0%{
        transform: translateY(0);
    }

    33%{
        transform: translateY(20%);
    }

    66%{
        transform: translateY(-20%);
    }

    100%{
        transform: translateY(0);
    }

}

/* -----Header----- */
/* sp header */
.spHeader{
    display: flex;
    height: 94px;
    padding: 24px 5.33%;
    justify-content: space-between;
    align-items: center;
    background: #F0D8DC;
}

.spHeader__title{
    color: #F0566E;
    font-size: 2.4rem;
    line-height: 1em;
}

.btn__menu{
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.pcHeader{
    display: none;
}

/* pc header */
@media screen and (min-width:769px) {
    .spHeader{
        display: none;
    }

    .pcHeader{
        display: flex;
        padding: 48px 2.78%;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        background: #F0D8DC;
    }

    .pcHeader__title{
        color: #F0566E;
        font-size: 3.6rem;
        font-weight: 400;
    }

    .pcHeader__menu{
        display: flex;
        align-items: center;
        gap: 40px;
        transition: all 0.5s;
    }

    .pcHeader__menu li{
        font-size: 2.4rem;
        font-weight: 400;
    }

    .pcHeader__menu li:hover{
        color: #F0A8B3;
    }
}  
/* pc 769px */

/* -----Banner----- */
.banner img{
    width: 100%;
    height: 100%;
}

/* ----- about hobbies works -----*/
.content{
    display: flex;
    padding: 48px 5.33%;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    background: #F0A8B3;
}

.content__header{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.content__header img{
    height: 34px;
}

/* wingぱたぱた */
.content__header img:nth-of-type(1){
    animation: leftWing 1.0s infinite ease-in-out;
}

@keyframes leftWing{
    0%{
        transform: rotate(0);
    }
    50%{
        transform: rotate(-15deg);
    }
    0%{
        transform: rotate(0);
    }
}

.content__header img:nth-of-type(2){
    animation: rightWing 1.0s infinite ease-in-out;
}

@keyframes rightWing{
    0%{
        transform: rotate(0);
    }
    50%{
        transform: rotate(15deg);
    }
    0%{
        transform: rotate(0);
    }
}


.content__portrait img{
    height: 170px;
    flex-shrink: 0;
    border-radius: 50%;
}

/* pc  */
@media screen and (min-width:769px) {
    .content{
        display: flex;
        padding: 96px 2.78%;
        gap: 48px;
    }

    .content__header{
        gap: 40px;
    }

    .content__header img{
        height: 50px;
    }

    .content__portrait img{
        height: 340px;
        flex-shrink: 0;
        border-radius: 50%;
    }
}
/* pc 769px */

/* -----About me----- */
.about__item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__group{
    margin-top: 36px;
}

.aboutTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 2.0rem;
    line-height: 1.5em;
    font-weight: 400;
}

.aboutTitle img{
    height: 22.5px;
}

.aboutTxt{
    text-align: center;
    font-size: 1.8rem;
    line-height: 2.0em;
    font-weight: 300;
}

.aboutTxtLast{
    font-family: "Kaisei Opti";
}

/* pc about */
@media screen and (min-width:769px) {
    .about__item{
        flex-direction: row;
        width: 1360px;
        flex-wrap: wrap;
        gap: 72px;
        justify-content: center;
    }

    .about__group{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .aboutTitle{
        font-size: 3.0rem;
    }

    .aboutTitle img{
        height: 34.5px;
    }

    .aboutTxt{
        font-size: 2.7rem;
    }

}

/* -----Hobbies----- */
.hobbies{
    background-color: #F0D8DC;
}

.hobbies__item{
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    margin-bottom: 36px;
}
.hobbiesTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    line-height: 1.2em;
}

.hobbiesTitle img{
    height: 27px;
}

.hobbiesTxt dt{
    display: flex;
    justify-content: center;
}

.hobbiesTxt img{
    height: 96px;
    border-radius: 10px;
}

.hobbiesTxt dd{
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5em;
    font-weight: 300;
    margin-top: 36px;
}

/* pc hobbies */
@media screen and (min-width:769px) {
    .hobbies__group{
        display: flex;
        align-self: stretch;
        gap: 48px;
    }

    .hobbies__item{
        display: flex;
        padding: 20px;
        align-items: stretch;
        flex-direction: column;
        border-radius: 20px;
        gap: 36px;
        margin-bottom: -36px;
    }

    .hobbiesTitle{
        gap: 24px;
    }

    .hobbiesTitle img{
        height: 34.5px;
    }

    .hobbiesTxt dd{
        font-size: 2.7rem;
    }
}
/* pc 769px */

/* -----Works----- */
/* sp works */
.works__group{
    width: 100%;
    height: 100%;
}

.works__item{
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    margin-bottom: 36px;
}

.worksTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    line-height: 1.2em;
}

.worksTitle img{
    height: 27px;
}

.worksTxt dt{
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 1.5em;
    font-weight: 300;
}

.worksTxt__group{
    margin-top: 36px;
}

.worksTxt dd{
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.worksTxt img{
    height: 150px;
}

/* pc works */
@media screen and (min-width:769px) {
    .works__item{
        display: flex;
        padding: 20px;
        align-items: stretch;
        flex-direction: column;
        border-radius: 20px;
        gap: 36px;
        margin-bottom: 48px;
    }

    .worksTitle{
        gap: 24px;
    }

    .worksTitle img{
        height: 34.5px;
    }

    .worksTxt__group{
        display: flex;
        justify-content: center;
        gap: 48px;
        margin: 48px 0;
    }

    .worksTxt dt{
        font-size: 2.7rem;
    }

    .worksTxt dd{
        display: inline-block;
        margin-bottom: -36px;
    }

    .worksTxt img{
        height: 200px;
    }
}

/* -----Footer----- */
/* sp footer */
.footer{
    background-color: #F0D8DC;
}

.footer__title{
    color: #F0566E;
    font-size: 2.0rem;
    font-weight: 400;
}

.footerList{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.5s;
}

.footerList li{
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5em;
}

.footerList li:hover{
    color: #F0A8B3;
}

.footer__copy{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer__copy img{
    height: 13px;
}

.footer__copy img:nth-of-type(1){
    animation: leftWing 0.8s infinite;
}


@keyframes leftWing{
    0%{
        transform: rotate(0);
    }
    50%{
        transform: rotate(-15deg);
    }
    0%{
        transform: rotate(0);
    }
}

.footer__copy img:nth-of-type(2){
    animation: rightWing 0.8s infinite;
}

@keyframes rightWing{
    0%{
        transform: rotate(0);
    }
    50%{
        transform: rotate(15deg);
    }
    0%{
        transform: rotate(0);
    }
}

/* pc footer */
@media screen and (min-width:769px) {
    .footer__title{
        font-size: 3.0rem;
    }

    .footerList{
        display: flex;
        gap: 20px;
    }

    .footerList li{
        font-size: 2.7rem;
    }

    .footer__copy{
        font-size: 1.5rem;
    }

    .footer__copy img{
        height: 20px;
    }
}

/* -----sp Menu----- */
.spMenu{
    display: none;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.80);
}

.spMenu.clicked{
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
}

.menu{
    display: flex;
    padding: 24px 5.33%;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.80);
}

.btn__close{
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.spMenu__item{
    display: flex;
    padding: 0px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
}

.spMenu__nav{
    width: 100%;
}

.footerList li{
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    transition: all 0.5s;
}

.footerList li:hover{
    color: #F0A8B3;
}

.footerList img{
    width: 60px;
    height: 60px;
    animation: sway 1.5s infinite;
}

/* macaron animation */
@keyframes sway {
    0%{
        transform: rotate(20deg);
    }
    50%{
        transform: rotate(-40deg);
    }
    100%{
        transform: rotate(20deg);
    }
}

.navTxt{
    font-size: 1.8rem;
}

