html
{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
/* html::-webkit-scrollbar
{
    display:none;
} */
body
{
    font-family: 'Plus Jakarta Sans','Noto Sans JP';
    background-color: #FAFAFA;
    min-height: 100svh;
    color:#1A1A1A;
    position: relative;
    -webkit-tap-highlight-color:rgba(255, 255, 255, 0.25); 
}
header
{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #FAFAFA;
    display: flex;
    width: 100%;
    height: 100px;
    padding: 20px 40px;
    z-index: 10;
    align-items: center;
    justify-content: space-between;
}
a
{
    text-decoration: none;
    color: #F3C934;
    outline: none;
}
#headder_moji
{
    font-size: 48px;
    font-family: "abel";
    color: #1A1A1A;
}
ul
{
    list-style: none;
    display: flex;
    gap: 24px;
}
li>a
{
    color: #1A1A1A;
    font-weight: 500;
    font-size: 20px;
}
#xicon
{
    width: 24px;
}
#kv{
    margin-top: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 13.2vw;
    padding-right: 11.2vw;
    user-select: none;
    opacity: 0;
    transition: all 1.5s ease;
}
#kv.slideIn
{
    opacity: 1;
}
#kv_moji
{
    font-size: 12.4vw;
    font-family: "abel";
}
#icon
{
    width: 33vw;
}
#genre
{
    padding-left: 13.2vw;
    padding-right: 13.2vw;
    margin-top: 170px;
}
.word
{
    font-size: min(6.58vw,126px);
    line-height: 120%;
    user-select: none;
    opacity: 0;
    transform: translate(-20%, 0px);
    transition: all 1s ease;
}
.word.slideIn
{
    opacity: 1;
    transform: translate(0px, 0px);
}
#about
{
    padding-left: 13.2vw;
    padding-right: 13.2vw;
    margin-top: 176px;
}
#subtitle
{
    font-size: 48px;
    font-weight: 500;
}
.marker
{
    white-space: pre;
    position: relative;
}
.marker::before
{
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 18px;
    background-color: #f3c934;
    transition: all 1s ease;
    z-index: -1;
}
.marker.slideIn::before
{
    width: 100%;
}
.content{
    margin-top: 36px;
    margin-left: 24px;
    opacity: 0;
    transition: all .5s ease;
}
.content.slideIn
{
    opacity: 1;
}
#about>.content>p{
    font-size: 18px;
    line-height: 170%;
}
#works
{
    padding-left: 13.2vw;
    padding-right: min(9.5vw,164px);
    margin-top: 78px;
    padding-bottom: 100px;
}
#buttons{
    display: flex;
    gap: 16px;
}
#buttons>button
{
    border: 2px solid #1A1A1A;
    padding: 6px 14px;
    border-radius: 16px;
    line-height: 120%;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    color:#1A1A1A;
}
#buttons>button.is-active
{
    background: #1A1A1A;
    color: #FAFAFA;
}
#workslist
{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 54px;
}
#workslist>a
{
    display: none;
}
#workslist>a.is-show
{
    display: block;
}
.card{
    width: 480px;
    height: 452px;
    padding: 28px 20px 0px 20px;
}
.cardlink
{
    margin-bottom: 72px;
}
.imgbox
{
    width: 440px;
    height: 270px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.worksimg
{
    max-width: 440px;
    max-height: 270px;
    border-radius: 14px;
    border: solid 2px #E4E4E4;
}
.day
{
    margin-top: 14px;
    font-size: 16px;
    line-height: 120%;
    color: #1A1A1A;
}
.title
{
    font-size: 32px;
    line-height: 120%;
    margin-top: 4px;
    color: #1A1A1A;
}
.roles
{
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.roles>div
{
    padding: 6px 14px;
    border-radius: 16px;
    line-height: 120%;
    font-size: 16px;
}
.design
{
    border: 1px solid #79D631;
    color: #79D631;
}
.programing
{
    border: 1px solid #FFB21C;
    color: #FFB21C;
}
.compose
{
    border: 1px solid #FF6F6F;
    color: #FF6F6F;
}
.other
{
    border: 1px solid #b1b1b1;
    color: #b1b1b1;
}
footer{
    background-color: #FAFAFA;
    display: flex;
    width: 100%;
    height: 100px;
    padding: 20px 40px;
    align-items: center;
    justify-content: end;
    position: absolute;
    bottom: 0;
    left: 0;
}
footer>p
{
    font-size: 16px;
    line-height: 120%;
}
#detail
{
    padding-top: 152px;
    padding-left: 13.2vw;
    padding-right: min(9.5vw,164px);
}
.day_d
{
    font-size: 20px;
    line-height: 120%;
    color: #1A1A1A;
    white-space: pre;
    margin-left: 10px;
}
.title_roles
{
    display: flex;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}
.title_d
{
    font-size: 48px;
    line-height: 120%;
    color: #1A1A1A;
    font-weight: 500;
}
.roles_d
{
    display: flex;
    gap: 16px;
}
.roles_d>div
{
    padding: 8px 18px;
    border-radius: 20px;
    line-height: 120%;
    font-size: 20px;
}
.content_d
{
    margin-left: 12px;
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 48px;
    row-gap: 36px;
    opacity: 0;
    transition: all 1.5s ease;
}
.content_d.slideIn
{
    opacity: 1;
}
.worksimg_d
{
    max-width: 542px;
    max-height: 350px;
    border-radius: 20px;
    border: solid 2px #E4E4E4;
    align-self: flex-start;
}
.imgbox_d
{
    width: 542px;
}
.sentence
{
    padding-top: 16px;
    padding-bottom: 20px;
    width: 432px;
    position: relative;
    min-height: 300px;
}
.sentence>p
{
    font-size: 18px;
}
.linkbox
{
    position: absolute;
    left: 0;
    bottom: 20px;
}
#internet
{
    width: 28px;
}
.linkbox>a
{
    margin-left: 10px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: underline;
    vertical-align: 4px;
    line-height: 144%; 
}
#homebuttonarea
{
    margin-top: 112px;
    padding-bottom: 172px;
    text-align: center;
}
#homebutton
{
    display: inline-block;
    font-size: 28px;
    border: solid 2px #1A1A1A;
    color: #1A1A1A;
    padding: 10px 60px;
    width: 200px;
    border-radius: 24px;
    line-height: 144%; 
}
#error
{
    padding-top: 100px;
    padding-left: 13.2vw;
    padding-right: 13.2vw;
    text-align: center;
}
#icon_e
{
    width: 33vw;
}
#errortitle
{
    font-size: 36px;
    font-weight: 500;
    line-height: 120%;
    color: #1A1A1A;
}
#errorcontents
{
    margin-top: 12px;
    font-size: 20px;
    line-height: 120%;
    color: #1A1A1A;
}
#homebuttonarea_e
{
    text-align: center;
    margin-top: 60px;
    padding-bottom: 172px;
}
@media (max-width:821px)
{
    html
    {
        scroll-padding-top: 72px;
    }  
    header
    {
        padding: 10px 20px;
        height: 72px;
    }
    #headder_moji
    {
        font-size: 36px;
    }
    ul
    {
        gap: 20px;
    }
    li>a
    {
        font-size: 16px;
    }
    #xicon
    {
        width: 20px;
    }
    #kv
    {
        padding-left: 7.2vw;
        padding-right: 3.2vw;
        margin-top: 0;
        height: 100svh;
    }
    #kv_moji
    {
        font-size: 14vw;
    }
    #icon
    {
        width: 58vw;
    }
    #genre
    {
        padding-left: 7.2vw;
        padding-right: 7.2vw;
        margin-top: 0;
        height: min(80vh,600px);
    }
    .word
    {
        font-size: min(16vw,72px);
    }
    #about
    {
        margin-top: 0;
        padding-left: 7.2vw;
        padding-right: 7.2vw;
    }
    #subtitle
    {
        font-size: 36px;
    }
    .content
    {
        margin-left: 0;
        margin-top: 24px;
    }
    #about>.content>p
    {
        font-size: 14px;
    }
    .marker::before
    {
        bottom: 3px;
        height: 12px;
    }
    #works
    {
        padding-left: 7.2vw;
        padding-right: 4.2vw;
        padding-bottom: 72px;
    }
    #buttons{
        gap: 12px;
    }
    #buttons>button
    {
        font-size: 14px;
        padding: 4px 12px;
        border-radius: 14px;
        border: 1.5px solid #1A1A1A;
    }
    #workslist
    {
        margin-top: 12px;
        column-gap: 20px;
    }
    .card
    {
        width: 316px;
        height: 310px;
        padding: 10px 10px 0px 10px;
    }
    .imgbox
    {
        width: 288px;
        height: 180px;
    }
    .worksimg
    {
        max-width: 288px;
        max-height: 180px;
        border-radius: 12px;
        border: solid 1px #E4E4E4;
    }
    .day
    {
        font-size: 14px;
        margin-top: 12px;
    }
    .title
    {
        font-size: 28px;
        margin-top: 2px;
    }
    .roles
    {
        margin-top: 24px;
        gap: 6px;
    }
    .roles>div {
        padding: 4px 12px;
        border-radius: 14px;
        font-size: 14px;
    }
    .cardlink
    {
        margin-bottom: 56px;
    }
    footer
    {
        height: 72px;
        padding: 10px 20px;
    }
    footer>p
    {
        font-size: 12px;
    }
    #detail
    {
        padding-top: 104px;
        padding-left: 7.2vw;
        padding-right: 4.2vw;
    }
    .day_d
    {
        font-size: 14px;
        margin-left: 6px;
    }
    .title_d 
    {
        font-size: 28px;
    }
    .title_roles
    {
        gap: 14px;
    }
    .roles_d
    {
        gap: 8px;
    }
    .roles_d>div 
    {
        padding: 6px 14px;
        border-radius: 16px;
        font-size: 14px;
    }
    .content_d 
    {
        margin-left: 0;
        margin-top: 32px;
        row-gap: 24px;
        column-gap: 12px;
    }
    .imgbox_d 
    {
        width: 300px;
    }
    .worksimg_d
    {
        max-width: 300px;
        max-height: 194px;
        border-radius: 12px;
    }
    .sentence
    {
        min-height: 260px;
    }
    .sentence>p 
    {
        font-size: 14px;
    }
    #internet
    {
        width: 20px;
    }
    .linkbox>a
    {
        font-size: 16px;
        margin-left: 6px;
    }
    #homebuttonarea
    {
        margin-top: 72px;
        padding-bottom: 120px;
    }
    #homebutton
    {
        font-size: 20px;
        padding: 6px 40px;
        width: 140px;
        border-radius: 18px;
        border: solid 1.5px #1A1A1A;
    }
    #error
    {
        padding-top: 100px;
        padding-left: 7.2vw;
        padding-right: 7.2vw;
    }
    #icon_e
    {
        width: min(58vw,350px);
    }
    #errortitle
    {
        font-size: 28px;
    }
    #errorcontents
    {
        margin-top: 6px;
        font-size: 16px;
    }
    #homebuttonarea_e
    {
        margin-top: 72px;
        padding-bottom: 120px;
    }
    @media(max-height:376px)
    {
        #kv
        {
            height: 200svh;
        }
        #genre
        {
            height: 140vh;
        }
    } 
}
@media(max-width:767px)
{
    #genre
    {
        height: 80vh;
    }
    .word
    {
        transform: translate(-50%, 0px);
    }
    .linkbox
    {
        bottom: 8px;
    }
    @media(max-height:376px)
    {
        #genre
        {
            height: 140vh;
        }
    } 
}
@media (hover: hover) and (pointer: fine)
{
    a:hover
    {
        opacity: 0.7;
    }
    button:hover
    {
        opacity: 0.7;
    }
}