@charset "UTF-8";

/* --------------------------------------
共通
-------------------------------------- */
:root{
    scroll-behavior: smooth;
    --color_1: #9983BD;
    --accent-color: #794aa0;
    --accent-color_transparent: #627ea588;
}

body{
    font-family: 'Zen Kurenaido','Noto Sans JP', sans-serif,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    font-size: 1.2rem;
}
@media all and (min-width:800px) {  /* pc版 */
    body{
        font-size: 1.2rem;
    }
}

figure{
    overflow: hidden;
}

img{
    width: 100%;
}

a{
    text-decoration: none;
    color: #fff;
    display: block;
}

h2{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 100px;
    text-shadow: 5px 5px 3px #b6b6b6;
    padding-top: 90px;
    margin-top:-90px;
}
@media all and (min-width:800px) {  /* pc版 */
    h2{
        font-size: 2.5rem;
    }
}

/* --------------------------------------
Wave
-------------------------------------- */

/*waving*/
.wave_header {
    overflow:hidden;
    margin:0 auto;
}
.wave_header svg use {
    fill:var(--color_1);
    animation: waving linear 15s infinite;
}
.wave_header svg use:nth-of-type(2){
    opacity:0.2;
}
.wave_header svg use:nth-of-type(2) {
    animation-duration:10s;
}
@keyframes waving {
    from {
        transform:translate(0);
    }
    to {
        transform:translate(-50%);
    }
}

/*区切りwave*/
.wave_box{
    margin: 0;
    display: block;
}
.wave{
    fill: #ebe7f2;
}
.wave_footer{
    fill: #9983BD;
}


/* --------------------------------------
レイアウト
-------------------------------------- */
section{
    padding: 100px 0;
}
section:nth-of-type(even){
    background-color: #ebe7f2;
}

.inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-container{
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
@media all and (min-width:500px) {  /* pc版 */
    .flex-container{
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 30px;
    }
}


.flex-item{
    width: 100%;
}
@media all and (min-width:500px) {  /* pc版 */
    .flex-item{
        width: calc((100% - 30px) / 2);
    }
}
@media all and (min-width:900px) {  /* pc版 */
    .flex-item{
        width: calc((100% - 60px) / 3);
    }
}

.flex-item-image{
    border: #eee 1px solid;

}
.flex-item-name{
    text-align: center;
    padding: 0.5rem;
}

.margin-top{
    margin-top: 100px;
}

.pc_only{
    display: none;
}
.sp_only{
    display: block;
}
@media all and (min-width:800px) {  /* pc版 */
    .pc_only{
        display: block;
    }
    .sp_only{
        display: none;
    }
}



/* --------------------------------------
header
-------------------------------------- */

header{
    background-color: var(--color_1);
    z-index: 1000;
}
.flex-wrap_header{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}
.logo{
    width: 280px;
}

/*ロゴとnavの横並び*/
@media all and (min-width:800px) {  /* pc版 */
    .flex-wrap_header{
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --------------------------------------
PC nav
-------------------------------------- */
.nav-pc{
    width: calc(100% - 350px);
}
.nav-pc .nav-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}
.nav-pc li{
    font-size: 18px;
    position: relative;
    padding: 5px 10px;
}
.nav-pc li::before,
.nav-pc li::after{
    content: "";
    position: absolute;
    background: #fff;
    width: 0;
    height:1px;
    transition: all 0.2s linear;
}
.nav-pc li::before{
    right: 0;
    bottom: 0;
}
.nav-pc li::after{
    left: 0;
    top: 0;
}
.nav-pc li span{
    display: block;
}
.nav-pc li span::before,
.nav-pc li span::after{
    content: "";
    position: absolute;
    background: #fff;
    width: 1px;
    height: 0;
    transition: all 0.1s linear;
}
.nav-pc li span::before{
    left: 0;
    bottom: 0;
}
.nav-pc li span::after{
    right: 0;
    top: 0;
}
.nav-pc li:hover::before,
.nav-pc li:hover::after{
    width: 100%;
}
.nav-pc li:hover::after{
    transition-delay: 0s;
}
.nav-pc li:hover::before{
    transition-delay: 0.3s;
}
.nav-pc li:hover span::before,
.nav-pc li:hover span::after{
    height: 100%;
}
.nav-pc li:hover span::before{
    transition-delay: 0.5s;
}
.nav-pc li:hover span::after{
    transition-delay: 0.2s;
}



/* --------------------------------------
SP nav
-------------------------------------- */
.nav-sp{
    /* position: -webkit-sticky;
    position: sticky;
    top: 0; */
    padding: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
}
.nav-sp .nav-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.nav-sp .nav-wrapper a{
    font-size: 1rem;
    background-color: var(--accent-color);
    border-radius: 40px;
    padding: 4px 10px;
}


/* --------------------------------------
main
-------------------------------------- */

/* web
-------------------------------------- */
.web figure{
    height: 300px;
    border: #eee 2px solid;
    overflow: hidden;
}
@media all and (min-width:768px) {
    .web_img:hover{
        transform: translateY(calc(-100% + 300px));
        transition: all 5s ease-out .1s;
    }
}

/* Tshirt
-------------------------------------- */

/* graphic
-------------------------------------- */

/* work_main------------------------------------ */
/* footer------------------------------------ */
footer{
    font-size: 1.2rem;
    background-color: var(--color_1);
    color: #fff;
    text-align: center;
}
@media all and (min-width:768px){
    footer{
        font-size: 1.5rem;
    }
}

.footer_inner{
    padding: 100px 0;
}



/* button------------------------------------ */
@media all and (max-width:767px){  /* sp版 */
    .button{
        position: fixed;
        right: 15px;
        bottom: 15px;
        width: 70px;
        height: 70px;
        text-align: center;
        line-height: 70px;
        background-color: var(--accent-color);
        border-radius: 50%;
        transform: translateX(150%);
        transition: 0.5s;
    }
    .button:hover{
        animation: anime01 1s linear infinite;
    }    
}

@media all and (min-width:768px){  /* pc版 */
    .page-top{
        margin: 5px 0;
        background-color: var(--accent-color_transparent);
        width: 130px;
        border-radius: 10px;
        padding: 2px 10px;
    }
    .button{
        bottom: 10px;
        right: -10px;
        position: fixed;
        font-size: 1rem;
        transform: translateX(120%);
        transition: 0.5s;
    }
    .page-top:hover{
        animation: anime01 1s linear infinite;
    }
}

.active{
    transform: translateX(0);
}

@keyframes anime01 {
    0%{
        background-color: var(--accent-color);
    }
    50%{
        background-color: #7c9fcf;
    }
    100%{
        background-color: var(--accent-color);
    }
}