@charset "utf-8";

/* 共通 */
*{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(12px,3vw,20px);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    scroll-behavior: smooth;
    /* box確認 */
    /* border: 1px solid #12a535; */
}

.section-box{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h2{
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 0.1em;
    text-decoration: none;
}

h2 span{
    font-size: 1.2rem;
    letter-spacing: 0.3em;
}

.w-box{
    width: min(95%,1166px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.w-box > p{
    line-height: 1.7;
}

ul li{
    list-style: none;
    line-height: 1.3;
}

/* section 共通 */
#works,#message,#about{
    height: auto;
    scroll-margin-top: 7rem;
}

.section-title{
    width: auto;
    height: auto;
}

/* body */
body{
    height: auto;
    width: auto;
    position: relative;
}

body::before{
    content: "";
    height: 100%;
    width: 1px;
    background: linear-gradient(to top,transparent 0%,transparent 10%,#999 20%,transparent 30%,transparent 50%,#999 70%,transparent 80%,transparent 100%);
    background-size: 100% 200%;
    background-repeat: repeat-y;
    margin: 0;
    position: absolute;
    top: 0;
    right: clamp(10px,2vw,30px);
    animation: moveLine 8s linear infinite;
    z-index: 10;
}

@keyframes moveLine {
    0% {
        background-position: 0% 200%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* ヘッダー */
.header{
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 11;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    padding: 0.5rem 0;
}

.header .w-box{
    padding: 0;
    gap: 0.5rem;
}

.title-box{
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.title-img{
    width: auto;
    height: 3.5rem;
    padding: 0 1rem;
}

.title-img img{
    width: 3.5rem;
    height: auto;
    object-fit: scale-down;
}

.nav-box{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
}

.nav-box li{
    padding: 0 0.8rem;
    border-left: 1px solid #ccc;
}

.nav-box li:last-child{
    border-right: 1px solid #ccc;
}

.nav-box li a:hover{
    opacity: 0.6;
    cursor: pointer;
}

.nav-box li a{
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1.5;
    text-decoration: none;
    letter-spacing: 0.1rem;
}

@media(min-width:1000px){
    .header > .w-box{
        flex-direction: row;
        justify-content: space-between;
    }

}

/* hero トップ */
#top{
    scroll-margin-top: 11rem;
}

.hero-view{
    width: 100%;
    height: 500px;
    background-image: url(image/hero_momizi01.webp);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: 0.3s;
}

.hero-view-red{
    width: 100%;
    height: 500px;
    background-image: url(image/hero_momizi02.webp);
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}


h1{
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
    background-color: rgba(255,255,255,0.5);
    letter-spacing: 0.3rem;
    padding: 20px;
}

.btn{
    width: 5rem;
    height: 2rem;
    background: rgba(255,255,255,0.1);
    box-shadow: inset 0 0 0.5rem #666,0 0 10px rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 1rem;
    position: relative;
}

.btn::before{
    content: '';
    width: 2.2rem;
    height: 2.2rem;
    background-color: #74AA00;
    border: 0.2rem solid #fff;
    position: absolute;
    top: -0.3rem;
    left: -0.3rem;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 0 5px #555;
}

.btn.active::before {
    content: '';
    width: 2.2rem;
    height: 2.2rem;
    background-color: #AF0202;
    border: 0.2rem solid #fff;
    position: absolute;
    top: -0.3rem;
    left: 2.6rem;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 0 5px #555;
}

.btn:hover{
    cursor: pointer;
}

/* works */
.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.7rem 0;
}

#works .content-box{
    width: 100%;
    height: auto;
    padding: 2rem;
    margin: 1rem;
    border-radius: 20px;
    border: 1px solid #ccc;
    text-decoration: none;
    box-shadow: 0 0 3px #999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-box:hover{
    transform: scale(1.02);
    transition: 0.2s ease-out;
    box-shadow: 0 0 8px #ccc;
}

.content-img img{
    width: 100%;
    height: 100%;
}

.poster-img{
    box-shadow: 0 0 5px #ccc;
}

.box-text{
    width: auto;
    height: auto;
    font-weight: 300;
    align-items: center;
}

h3{
    padding: 1em 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

@media(min-width:820px){
    .content{
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    #grid-01 .content-img img,#grid-03 .content-img img{
        width: auto;
        height: 200px;
    }

    #grid-02 .content-img img{
        height: 500px;
        width: auto;
    }

    #grid-02{
        grid-column: 1 / -1;
        grid-row: 1;
    }

    #grid-01{
        grid-column: 1;
        grid-row: 2;
    }

    #grid-03{
        grid-column: 2;
        grid-row: 2;
    }

}

@media(min-width:1200px){
    .content{
        aspect-ratio: 1 / 1;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    #works .content-box{
        margin: 0;
    }

    #grid-01 .content-img img,#grid-03 .content-img img{
        width: 170px;
        height: auto;
    }

    #grid-02 .content-img img{
        height: 510px;
    }

    #grid-02{
        grid-column: 1;
        grid-row: 1 / -1;
    }

    #grid-01{
        grid-column: 2;
        grid-row: 1;
    }

    #grid-03{
        grid-column: 2;
        grid-row: 2;
    }

}

/* message */
#message .message-text{
    padding: 2.5rem clamp(10px,3vw,30px);
}

#message .message-text p{
    text-indent: 1em;
}

@media(min-width:1200px){
    #message .message-text{
        border-left: 1px solid #ccc;
        padding: 2rem clamp(10px,3vw,30px);
    }
}

/* about */
.about-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
}

.sinbol{
    width: clamp(81px,30vw,150px);
    height: clamp(81px,30vw,150px);
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.sinbol img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#about .about-content p{
    padding: 1rem 0;
}

#about .about-content p span{
    text-indent: 1em;
    padding: 0 0 0 1rem;
}

@media(min-width:650px){
    #about .about-content p{
        border-left: 1px solid #9c9c9c;
        padding: 2rem clamp(10px,3vw,30px);
    }
}

/* about end */

/* skillup postar logo 共通 */

#skillup .w-box>h1,#postar .w-box>h1,#logo .w-box>h1{
    position: relative;
}


#skillup .w-box>h1::before,#postar .w-box>h1::before,#logo .w-box>h1::before{
    content: "";
    position: absolute;
    bottom: -0.50em;
    left: calc(50% - 0.5px);
    width: 1px;
    height: 1em;
    background-color: #999;
}

/* skillup postar logo 共通  end*/

/* postar */
#postar{
    scroll-margin-top: 7rem;
}

.postar-box{
    width: 100%;
    height: auto;
    padding: 2.5rem 0;
}

.postar-content{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 2em 0;
    position: relative;
}

.postar-content:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 0;
    left: 1em;
    width: calc(100% - 2em);
    height: 1px;
    background-color: #ccc;
}

.postar-text{
    padding: 1em;
}

.postar-text>p{
    overflow-wrap: break-word;
    text-indent: 1em;
}

#postar-img{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
}

.postar-content .image-box img{
    width: auto;
    height: clamp(300px,80vw,500px);
    object-fit: cover;
    box-shadow: 0 0 5px #555;
}

#meisi-img img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1.5rem;
}

@media(min-width:820px){
    #postar-img{
        display: grid;
        grid-template-columns: repeat(2,auto);
        grid-template-rows: repeat(2,auto);
    }

    #meisi-img{
        display: grid;
        grid-template-columns: repeat(2,auto);
        grid-template-rows: repeat(2,auto);
    }
}

@media(min-width:1230px){
    #postar-img{
        grid-template-columns: repeat(3,auto);
        grid-template-rows: repeat(1,auto);
    }
}

/* postar end */

/* skillup */
#skillup{
    scroll-margin-top: 11rem;
}

.skillup-box{
    width: auto;
    height: auto;
    padding: 2.5rem 0;
}

.skillup-content{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 2em 0;
    position: relative;
}

.skillup-content:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 0;
    left: 1em;
    width: calc(100% - 2em);
    height: 1px;
    background-color: #ccc;
}

h5{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
}

.soft-text{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 0.5em 0;
    gap: 2em;
}

.soft-text h6{
    width: auto;
    height: 100%;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
}

.soft-text p{
    width: auto;
    height: 100%;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
}

.skillup-text{
    padding: 1em;
}

.skillup-text>p{
    overflow-wrap: break-word;
    text-indent: 1em;
}

#skillup .image-box{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    padding: 1.5em 0;
}

#skillup .image-box img{
    width: clamp(250px,66vw,300px);
    height: clamp(250px,66vw,300px);
    object-fit: cover;
    box-shadow: 0 0 5px #555;
}

@media(min-width:820px){
    #skillup .image-box{
        display: grid;
        grid-template-columns: repeat(2,auto);
        grid-template-rows: repeat(4,auto);
    }
}

@media(min-width:1200px){
    #skillup .image-box{
        display: grid;
        grid-template-columns: repeat(3,auto);
        grid-template-rows: repeat(3,auto);
    }
}


/* skillup end */

/* logo */
#logo{
    scroll-margin-top: 7rem;
}

.logo-box{
    width: 100%;
    height: auto;
    padding: 2.5rem 0;
}

.logo-content{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 2em 0;
    position: relative;
}

.logo-content:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 0;
    left: 1em;
    width: calc(100% - 2em);
    height: 1px;
    background-color: #ccc;
}

.logo-text{
    padding: 1em;
}

.logo-text>p{
    overflow-wrap: break-word;
    text-indent: 1em;
}

.logo-content .image-box{
    width: clamp(200px,53vw,300px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 1.5rem 1rem;
    background-color: #fff;
    box-shadow: 0 0 5px #555;
}

.logo-content .image-box img{
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* logo end */

/* フッター */
.footer{
    height: auto;
    width: 100%;
    background-color: #fffefb;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(5px + 1rem) 0;
    z-index: 12;
}

.footer .w-box{
    padding: 0;
}

.footer-menu{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.link-menu{
    display: flex;
    flex-direction: row;
}

.link-menu li{
    padding: 0 1rem;
    border-left: 1px solid #ccc;
}

.link-menu li:last-child{
    border-right: 1px solid #ccc;
}

.link-menu li a{
    text-decoration: none;
    color: #999;
    font-size: 0.8rem;
}

.link-menu li a:hover{
    opacity: 0.6;
}

.sns-menu{
    display: flex;
    flex-direction: row;
    gap: clamp(1rem,4vw,3rem);
}

.sns-menu li img{
    height: clamp(20px,5vw,35px);
    object-fit: cover;
}

.sns-menu li a:hover{
    opacity: 0.6;
}

/* .scrall-top::before{
    content: "";
    width: clamp(10px,2vw,20px);
    height: clamp(10px,2vw,20px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-25%) rotate(45deg);
    border-top: 2px solid #333;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-left: 2px solid #333;
} */

.scrall-top:hover{
    opacity: 0.9;
}

@media(min-width:650px){
    .footer-menu{
        flex-direction: row;
        justify-content: space-between;
    }
    
    .link-menu{
        flex-direction: column;
        border-left: 1px solid #ccc;
        gap: 1.2rem;
        padding: 0.5em 0;
    }

    .link-menu li{
        border-left: none;
    }

    .link-menu li:last-child{
        border-right: none;
    }

    .sns-menu{
        padding-right: 2.5rem;
    }
}