@charset "UTF-8";

/*
Theme Name: portfolio
Author: nana
Description: ポートフォリオサイト
Version: 1.0
*/

/* 全体--------------------------------------- */
*{
    padding: 0;
    margin: 0; 
    box-sizing: border-box;
}
body{
    background-color: #F0EBEF;
    font-family: "Cormorant Garamond", serif;
}
header,
main,
footer{
    overflow-x: hidden;
}    
ul{
    color: #393939;
    list-style: none;
}
a{
    color: #393939;
    text-decoration: none;
}
img{
    max-width: 100%;
    object-fit: contain;
}
h2{
    color: #393939;
    font-size: 40px;

}
h3{
    color: #654EA3;
    font-size: 30px;
}
p{
    color: #393939;
    font-size: 16px;
    font-family: "Shippori Mincho", serif;
}

/* top page--------------------------------------------------------------------------------------------- */
/* header------------------------------------------ */
header{
    background: linear-gradient(to bottom, #CEC5F0, 30%, #F0EBEF);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}
.header-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
}
.site-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 300px;
}
header img{
    width: 45px;
}
/* hover時 */
header img:hover{
    opacity: 0.6;
}
header h2{
    color: #654EA3;
    font-size: 25px;
}
.header-nav{
    width: 100%;
    max-width: 225px;
    height: 35px;
    position: relative;
}
.hamburger{
    display: none;
}
.hamburger-title{
    display: none;
}
.header-menu{
    height: 35px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* hover時 */
header li:hover{
    color: #654EA3;
}

/* hero section------------------------------------ */
#hero{
    width: 100%;
    max-width: 1440px;
    height: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.hero-section{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1184px;
}
.hero-title{
    width: 100%;
    max-width: 471px;
}
.hero-title h2{
    font-size: 30px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.hero-title h1{
    color: #393939;
    font-size: 50px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-top: 10px;
}
.hero-title a{
    display: block;
    text-align: right;
    position: relative;
    font-size: 25px;
    width: 155px;
    margin-top: 10px;
    margin-right: 0;
    margin-left: auto;
}
/* hover時 */
.hero-title a::after {
    position: absolute;
    bottom: -3px;
    right: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(101, 78, 163, 0.5);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.hero-title a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}
.hero-deco{
    width: 100%;
    max-width: 713px;
    position: relative;
}
.hero-deco .circle1{
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    opacity: 0.6;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -5;
    margin-top: -187px;
    margin-left: 314px;
    position: absolute;
}
.hero-img{
    object-fit: cover;
    opacity: 0.9;
    box-shadow: 10px 8px 10px rgba(0, 0, 0, 0.5) ;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin-top: 175px;
    margin-left: 57px;
}
.hero-deco .circle2{
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    opacity: 0.4;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    margin-top: -125px;
    margin-left: 10px;
    
}

/* works section----------------------------------- */
#works{
    margin-top: 100px;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
.works-title{
    display: flex;
    margin: 0 auto;
}
#works h2{
    writing-mode: vertical-rl;
    margin-left: 49px;   
}
#works span{
    color: rgba(57, 57, 57, 0.5);
}
#works p{
    margin-top: 15px;
}
.works-website h3{
    margin-left: 50px;
    margin-top: 96px;
    margin-bottom: 15px;
}
.box1{
    position: relative;
    background: linear-gradient(to right, rgba(151,149,240,0.4), 70%, rgba(240,235,239,0.4));
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.5) ;
    border-radius: 5px;
    width: 1331px;
    height: 157px;
    margin-top: 126px;
    display: flex;
    justify-content: center;
}
.website-list{
    position: absolute;
    display: flex;
    justify-content: space-between;  
	 align-items: flex-start;
    width: 100%;
    max-width: 1121px;
    margin-top: -111px;
}
.website-list li,
.other-list li{
	 width: 100%;
    max-width: 330px;
}
.works-other{
    margin-top: 50px;
}
.works-other h3,
.other-list{
    margin-left: 162px; 
}
.box2{
    position: relative;
    background: linear-gradient(to left, rgba(151,149,240,0.4), 70%, rgba(240,235,239,0.4));
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5) ;
    border-radius: 5px;
    width: 1331px;
    height: 157px;
    margin-top: 125px;
}
.other-list{
    position: absolute;
    display: flex;
    width: 1121px;
    margin-top: 15px;
    justify-content: space-between;
    margin-top: -111px;
}
.website-list img,
.other-list img{
	height: 200px;
	width: 100%;
    max-width: 330px;
    border-radius: 10px;
	object-fit: cover;
}

/* service section--------------------------------- */
#service{
    width: 100%;
    max-width: 1116px;
    margin: 0 auto;
    margin-top: 200px;
}
.service-title span{
    color: rgba(57, 57, 57, 0.5);
}
.service-end{
    color: rgba(57, 57, 57, 0.5);
    margin-top: 30px;
    text-align: end;
}
.service-cate{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 736px;
    margin: 0 auto;
}
.service-design,
.service-coding{
    border: 1px solid rgba(57, 57, 57, 0.5);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5) ;
    width: 100%;
    max-width: 350px;
    height: 350px;
    border-radius: 40px;
    margin-top: 50px;
    text-align: center;
}
#service h3{
    font-family: "Shippori Mincho", serif;
    margin-top: 15px;
}
#service p{
    margin-top: 10px;
}
#service img{
    width: 150px;
    height: 150px;
    margin-top: 50px;
}

/* contact----------------------------------------- */
#contact{
    background-image: url(./images/contact-background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 69px;
}
.contact-form{
    width: 100%;
    max-width: 544px;
    margin: 0 auto; 
    text-align: center;
}
#contact img{
    width: 100%;
}
#contact h2{
    color: #654EA3;
    margin-top: 60px;
}
form p{
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
}
form input{
    width: 544px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.5) ;
    background-color: rgba(0, 0, 0, 0);
}
form textarea{
    width: 544px;
    height: 150px;
    border: 1px solid rgba(0, 0, 0, 0.5) ;
    background-color: rgba(0, 0, 0, 0);
}
.form-submit{
	display: block;
	text-align: center;
}
div.wpcf7 .wpcf7-spinner {
display: none !important;
}
.submit-button{
    font-size: 25px;
    font-family: "Shippori Mincho", serif;
    border: 1px solid rgba(0, 0, 0, 0.5) ;
    border-radius: 24px;
    width: 161px;
    height: 50px;
    margin-top: 31px;
    margin-bottom: 50px;
    background-color: #CEC5F0;
}
.submit-button:hover{
    background-color: #654EA3;
    color: #CEC5F0;
}
#contact .circle3{
    border-radius: 50%;
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    width: 381px;
    height: 381px;
    position: absolute;
    opacity: 0.6;
    margin-top: -260px;
    margin-left: -150px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) ;
}
#contact .circle4{
    border-radius: 50%;
    background: linear-gradient(to left, #9795F0, #FBC8D4);
    width: 177px;
    height: 177px;
    position: absolute;
    opacity: 0.4;
    margin-top: -70px;
    margin-left: 150px;
}

/* 上に戻るボタン */
#page-top a{
    color: #393939;
    font-size: 40px;
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    opacity: 0.8;
    width: 60px;
    height: 60px;
    padding: 3px 5px;
    text-align: center;
    display: block;
    border-radius: 50%;
    opacity: 0.9;
    transition: all .3s ease;
    position: fixed;
    bottom: 60px;
    right: 40px;
}
#page-top a:hover {
    background: linear-gradient(to top, #9795F0, #FBC8D4);
}

/* footer------------------------------------------ */
footer{
    background: linear-gradient(to top, #CEC5F0, 30%, #F0EBEF);
    height: 80px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p{
    font-family: "Cormorant Garamond", serif;
}

/* about page-------------------------------------------------------------------------------------------------- */
/* about section----------------------------------- */
.about-me{
    width: 100%;
    max-width: 1440px;
    height: 665px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.about-deco1{
    position: relative;
    width: 100%;
    max-width: 510px;
}
.about-deco1 .circle1{
    position: absolute;
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    opacity: 0.6;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -5;
    margin-top: -236px;
    margin-left: -152px;
}
.about-img{
    position: absolute;
    object-fit: cover;
    opacity: 0.9;
    box-shadow: 10px 8px 10px rgba(0, 0, 0, 0.5) ;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    margin-top: 143px;
    margin-left: 160px;
}
.about-deco1 .circle2{
    position: absolute;
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    opacity: 0.4;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin-top: 318px;
    margin-left: 24px;
}
.about-info-box{
    width: 100%;
    max-width: 781px;
    z-index: 30;
    display: flex;
    margin-top: 189px;
}
.about-info{
    width: 100%;
    max-width: 551px;
}
.about-info-detail{
    display: flex;
    justify-content: space-around;
    margin-top: 18px;
}
.about-info span{
    color: rgba(57, 57, 57, 0.5);
}
.about-deco2{
    position: relative;
    width: 100%;
    max-width: 230px;
    margin-top: 215px;
}
.about-deco2 .circle3{
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(to bottom, #9795F0, #FBC8D4);
    width: 254px;
    height: 254px;
    opacity: 0.6;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) ;
    margin-left: -70px;
}
.about-deco2 .circle4{
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(to left, #9795F0, #FBC8D4);
    width: 150px;
    height: 150px;
    opacity: 0.4;
    margin-top: 97px;
    margin-left: -150px;
}

/* skills section---------------------------------- */
.skills{
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}
.skills-title span{
    color: rgba(57, 57, 57, 0.5);
}
.skills-end{
    color: rgba(57, 57, 57, 0.5);
    margin-top: 30px;
    margin-left: 720px;
}
.skills-contents{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1032px;
    margin: 0 auto;
    margin-top: 30px;
}
.skills-design,
.skills-coding{
    border: 1px solid rgba(57, 57, 57, 0.5);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5) ;
    width: 500px;
    height: 350px;
    border-radius: 40px;
    text-align: center;
}
.skills h3{
    font-family: "Shippori Mincho", serif;
    margin-top: 10px;
}
.skills p{
    margin-top: 10px;
}
.skills img{
    width: 130px;
    height: 130px;
    margin-top: 50px;
}
/* works list page-------------------------------------------------------------------------------------------------- */
.works-page-title{
	text-align: center;
	margin-top: 180px;
}
.list-box{
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 80px;
}
.list-title{
    margin-left: 50px;
}
.list-contents{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.list-detail{
    text-align: center;
}
.list-detail img{
    width: 100%;
	max-width: 400px;
	height: 300px;
}

/* works single page-------------------------------------------------------------------------------------------------- */
/* works detail section----------------------------------- */
.works-detail{
    background-image: url(./images/contact-background.png);
    background-position: bottom;
    background-size: auto;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    position: relative;
}
.works-deco{
    position: absolute;
    margin-top: 150px;
    z-index: -5;
}
.works-box{
    width: 100%;
    max-width: 925px;
    margin: 0 auto;
}
.works-photo{
    object-fit: cover;
    width: 100%;
    max-width: 925px;
    height: 508px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) ;
}
.works-info{
    margin-top: 50px;
}
.works-info h3{
    margin-left: -20px;
}
.works-info-detail,
.works-info h4{
    margin-top: 30px;
}
.works-info-detail{
    line-height: 2;
}
.works-info h4{
    color: #654EA3;
    font-size: 20px;
}
.works-info p{
    margin-top: 10px;
}
.works-info a{
    text-decoration: underline 1px;
}

/* タブレット版-------------------------------------------------------------------------------------- */
@media (max-width: 1050px){
    /* header section */
   .header-section{
    width: 100%;
    max-width: 680px;
   }
   .header-nav{
    width: 100%;
    max-width: 220px;
    } 
    /* hero section */
    #hero{
        width: 100%;
        max-width: 1000px;
        height: 458px;
    }
    .hero-section{
        width: 100%;
        max-width: 731px;
    }
    .hero-title{
        width: 100%;
        max-width: 284px;
    }
    .hero-deco{
        width: 100%;
        max-width: 473px;
    }
    .hero-deco .circle1{
        width: 370px;
        height: 370px;
        margin-top: -103px;
        margin-left: 164px;
    }
    .hero-img{
        width: 250px;
        height: 250px;
        margin-top: 128px;
        margin-left: 35px;
    }
    .hero-deco .circle2{
        width: 155px;
        height: 155px;
        margin-top: -75px;
        margin-left: -26px;
    }
    /* works section */
    #works{
        width: 100%;
        max-width: 820px;
    }
    #works h2{
        margin-left: 0px;
    }
    #works p{
        width: 100%;
        max-width: 217px;
    }
    .website-contents{
        width: 100vw;
        overflow-x: scroll;
    }
    .box1{
        box-shadow: 10px -5px 10px rgba(0, 0, 0, 0.5) ;
        width: 800px;
        margin-top: 75px;
    }
    .website-list{
        width: 100%;
        max-width: 711px;
        margin-top: -58px;
    }
    .other-contents{
        width: 100vw;
        overflow-x: scroll;
    }
    .box2{
        box-shadow: 10px -5px 10px rgba(0, 0, 0, 0.5) ;
        width: 800px;
        margin-top: 75px;
    }
    .other-list{
        width: 100%;
        max-width: 711px;
        margin-top: -58px;
    }
    .works-other h3,
    .other-list{
    margin-left: 101px; 
    }
    .website-list img,
    .other-list img{
        height: 132px;
        width: 100%;
        max-width: 217px;
    }
    /* service section */
    #service{
        width: 100%;
        max-width: 700px;
    }
    .service-design,
    .service-coding{
    width: 100%;
    max-width: 330px;
    height: 350px;
    }

    /* about page----------------- */
    /* about section */
    .about-me{
        width: 100%;
        max-width: 800px;
    }
    .about-deco1{
        width: 100%;
        max-width: 321px;
    }
    .about-deco1 .circle1{
        width: 387px;
        height: 387px;
        margin-top: -119px;
        margin-left: -100px;
    }
    .about-img{
        width: 225px;
        height: 225px;
        margin-top: 126px;
        margin-left: 96px;
    }
    .about-deco1 .circle2{
        width: 129px;
        height: 129px;
        margin-top: 239px;
        margin-left: 11px;
    }
    .about-info-box{
        width: 100%;
        max-width: 460px;
        margin-top: 74px;
    }
    .about-info{
        width: 100%;
        max-width: 440px;
    }
    .about-info-detail{
        display: flex;
        flex-direction: column;
        margin-left: 48px;
    }
    .about-deco2{
        width: 100%;
        max-width: 20px;
        margin-left: -50px;
    }
    .about-deco2 .circle3{
        width: 175px;
        height: 175px;
    }
    .about-deco2 .circle4{
        width: 104px;
        height: 104px;
        margin-top: 70px;
    }
    /* skills section*/
    .skills{
        width: 100%;
        max-width: 800px;
        margin-top: -200px;
    }
    .skills-contents{
        width: 100%;
        max-width: 723px;
    }
    .skills-design,
    .skills-coding{
    width: 100%;
    max-width: 350px;
    height: 350px;
    }

    /* works page----------------- */
    /* works detail section */
    .works-box{
        width: 100%;
        max-width: 600px;
    }
    .works-photo{
        width: 100%;
        max-width: 600px;
        height: 400px;
    }
}

/* モバイル版------------------------------------------------------------------------- */
@media (max-width: 599px){
    /* 全体 */
    h2{
        font-size: 35px;
    }
    p{
        font-size: 16px;
    }
    /* header section */
   .header-section{
        width: 100%;
        max-width: 370px;
        display: block;
   }
   .site-title{
        width: 100%;
        max-width: 300px;
   }
   header h2{
        font-size: 20px;
	   		width: 100%;
        max-width: 150px;
	   
   }
   .header-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
   }
   /* ハンバーガーボタンのデザイン */
    .hamburger{
        display: block;
        position: relative;
        width: 3rem;
        height: 3rem;
        background-color: transparent;
        border: none;
        z-index: 50;
    }
    /* ハンバーガーボタン内の線*/
    .hamburger-bar{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2rem;
        height: 2px;
        background-color: #9795F0;
        transform: translateX(-50%);
    }
    .hamburger-bar:first-child{
        transform: translate(-50%, calc(-50% - 0.5rem));
        transition: transform 0.3s ease;
    }
    .hamburger-bar:nth-child(2){
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }
    .hamburger-bar:last-child{
        transform: translate(-50%, calc(-50% + 0.5rem));
        transition: transform 0.3s ease;
    }
    /* 展開時のデザイン*/
    .hamburger.active > .hamburger-bar:first-child{
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .hamburger.active > .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active > .hamburger-bar:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .header-nav{
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: #CEC5F0;
        margin-top: 80px;
        transition: opacity 10s ease;
        opacity: 5;
        visibility: hidden;
    }
    .nav-inner{
        position: relative;
        width: 80%;
        height: 100%;
        transform: translateX(100%);
        transition: transform 1s ease;
    }
    .header-menu{
        height: 200px;
        width: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-top: 50px;
    }
    a{
        font-size: 20px;
    }
    /* 展開時のデザイン */
    .header-nav.active {
        opacity: 1;
        visibility: visible;
    }
    .header-nav.active .nav-inner{
        transform: translateX(0);
    }

    /* hero section */
    #hero{
        width: 100%;
        max-width: 390px;
    }
    .hero-section{
        width: 100%;
        max-width: 390px;
        display: flex;
        flex-direction: column;
        margin-top: 160px;
    }
    .hero-title{
        width: 100%;
        max-width: 380px;
    }
    .hero-title h1{
        font-size: 40px;
    }
    .hero-deco{
        width: 100%;
        max-width: 380px;
    }
    .hero-deco .circle1{
        width: 350px;
        height: 350px;
        margin-top: -150px;
        margin-left: 200px;
    }
    .hero-img{
        width: 250px;
        height: 250px;
        margin-top: 20px;
        margin-left: 80px;
    }
    .hero-deco .circle2{
        margin-top: -100px;
        margin-left: 20px;
    }
    /* works section */
    #works{
        width: 100%;
        max-width: 390px;
    }
    .works-title{
        margin-top: 250px;
    }
    .works-website h3{
        margin-top: 50px;
    }
    /* service section */
    #service{
        width: 100%;
        max-width: 350px;
    }
    .service-cate{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* contact section */
    .contact-form{
        width: 100%;
        max-width: 360px;
    }
    .form-input{
        width: 360px;
    }
    .form-textarea{
        width: 360px;
    }
    #contact .circle3{
        width: 200px;
        height: 200px;
        margin-top: -100px;
        margin-left: -60px;
    }
    #contact .circle4{
        width: 100px;
        height: 100px;
        margin-top: 10px;
        margin-left: 90px;
    }
    footer{
        margin-top: 100px;
    }

    /* about page----------------- */
    /* about section */
    .about-me{
        width: 100%;
        max-width: 390px;
        display: flex;
        flex-direction: column;
    }
    .about-deco1{
        width: 100%;
        max-width: 390px;
    }
    .about-deco1 .circle1{
        width: 387px;
        height: 387px;
        margin-top: -100px;
        margin-left: -180px;
    }
    .about-img{
        width: 200px;
        height: 200px;
        margin-top: 130px;
        margin-left: 95px;
    }
    .about-deco1 .circle2{
        width: 100px;
        height: 100px;
        margin-top: 250px;
        margin-left: 250px;
    }
    .about-info-box{
        width: 100%;
        max-width: 390px;
    }
    .about-info{
        width: 100%;
        max-width: 390px;
    }
    .about-info-detail{
        display: flex;
        flex-direction: column;
        margin-left: 48px;
    }
    .about-deco2{
        width: 100%;
        max-width: 20px;
        margin-left: -50px;
        margin-top: 230px;
    }
    .about-deco2 .circle3{
        width: 150px;
        height: 150px;
    }
    .about-deco2 .circle4{
        width: 80px;
        height: 80px;
        margin-top: 70px;
        margin-left: -120px;
    }
    /* skills section*/
    .skills{
        width: 100%;
        max-width: 350px;
        margin-top: 200px;
    }
    .skills-contents{
        width: 100%;
        max-width: 280px;
        display: flex;
        flex-direction: column;
        height: 723px;
    }
    .skills-design,
    .skills-coding{
    width: 100%;
    max-width: 280px;
    height: 350px;
    }

    /* works page----------------- */
    /* works detail section */
    .works-box{
        width: 100%;
        max-width: 300px;
    }
    .works-photo{
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
}