@charset "UTF-8";

html{font-size: 100%;}
a{text-decoration: none;}
img{max-width: 100%;}
body {color: #321c0b;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    line-height: 1.7;}

/*header*/

.top{height: 250px;
    background-position:right center;
    background-size: cover;
    max-width: 1080px;
    width: 100%;}
.top-img{background-image: url(../image/portforio.jpg);}

.nav{list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: none;}
.nav li{border-bottom: solid #533b0dde;
    border-width: thin;
    padding: 1rem .5rem;}
.nav a{color: #6e4e11de;
    display: block;
    text-align: center;
    font-size: 1.25rem;}
.nav a:hover{color:#c1a07a}

/*profiel*/
h1{font-size: 3rem;
    text-align: center;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 700;
    font-family: "PT Sans Narrow", sans-serif;
    color: #6e4e11de;}

.prof{padding: 0 4rem ;
    margin-bottom:  2rem;
    text-align: center;
    position: relative;;}
.hito{margin: 1rem 0;
    object-fit: cover;
    width: 40%;
    z-index: 10;
    position: absolute;
    top: -15px;}

rt{font-size: 0.5rem;
    letter-spacing: .75rem;}
ruby{font-size: 1.5rem;}
#profiel h1,ruby,.p{text-align: left;}
.p{font-size:0.85rem ;
    z-index: 20;
    position: sticky;}



h2{margin-bottom:1.5rem;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: #533b0dde;;}

.border{border-bottom: solid #6e4e11de;
    border-width: thin;
    padding-bottom: 1.75rem;}
.border-dashed{border-bottom: dashed #533b0dde;
    border-width: thin;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;}
    

/*portofolio*/
#portfolio{margin: 0 4rem .5rem;
    text-align: center;
    justify-content: center;}
.campas img,.cafe img,.mouse img,.sakura img,.banner img{border-radius: 8px;
        box-shadow: 0 0 8px rgb(198, 200, 169);}   
.campas,.mouse{width: 52%;}
.cafe,.sakura{width: 44%;
    padding-bottom: .3rem;}
.cc,.ms{display: flex;
    justify-content: space-between;}

.btn{background-color: #c7b491de;
    color: #fff;
    display: inline-block;
    border-radius: 16px;
    transition: .5s;;
    padding: .5rem 2rem ;
    margin-top: 2.25rem;}
.btn:hover{background-color: #6e4e11de;}


/*portfolio1*/
.banner-main{margin: 0 1.5rem;
    justify-content: center;}
#campas,#cafe,#mouse,#sakura{display: flex;
    justify-content: space-between;
    padding: .5rem 0 1.5rem;}

.banner{width: 60%;}
.list{width: 35%;}
.list p{font-size: 1rem;}
.next{width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    display: flex;;
    justify-content: center;
    color: #fff;
    background-color: #c7b49194;
    margin-top: 3rem;
    margin-left: 2.5rem;}    

h3{font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin:1.5rem 0  .5rem;
    font-size: 1.75rem;
    color: #533b0dde;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-decoration-color: #a5815e6f;
    text-underline-offset: -2px;
    text-decoration-skip-ink: none;}
.list{font-weight: 600;
    color: #533b0dde;
    font-size: 1.25rem;}


/*footer*/
.icon{display: flex;}
.icon1{width: 32px;height: 32px;}
.copyright{margin-top: 2.5rem;
    padding:.5rem 0 2rem;
    text-align: center;
    background-color: #cbb58cde;}


/*デスクトップ版*/
@media(min-width:650px){

    .header{display: flex;
        justify-content: space-between;}
    .top{background-position:right ;
        height: 200px;}
    .nav{right: 0;
        width: 12%;
        flex-direction: column;
        position: fixed;
        margin-top: 1.5rem;
        object-fit: cover;}
    .nav a{font-size: 1.25rem;}

    #portfolio,.top,.prof,.skill,#contact,.banner-main{width: 85%;}


    /*prof*/
    h1{font-size: 5rem;}
    h2{font-size: 3rem;
        margin: 1rem 0 ;}

    #profiel{display: flex;}        
    .hito{position: absolute;
        width: 28%;
        top: 30px;
        right: 100px;}
    .p{flex-direction: column;
        width: 60%;
        padding-top: 1rem;
        padding-left: 8rem;
        font-size: 1.2rem;
        text-align: left;}

    /*portfolio*/
   #portfolio{padding: 0 6rem;
    text-align: center;}
   .border-da{border-bottom: dashed #533b0dde;
        border-width: thin;
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;}
        


    /*portfolio1*/
    .banner-main{margin: 0  3rem;}
    h3{margin-top: 1.5rem;}
    .ca,.fe,.pc,.sa,#campas,#cafe,#mouse,#sakura{flex-direction: column;}
    .ca,.fe{border-bottom: dashed #533b0dde;
        border-width: thin;}
    .border-dashed{border-bottom: none;
        margin: 0;
        padding: 0;}
    #campas,#cafe,#mouse,#sakura{padding-left: 1.5rem;
        margin-bottom: -6rem;}
    .grid{display: grid;
        gap: .5rem .2rem;
        grid-template-columns: repeat(2,1fr);
        margin: 0 2rem;}
    .list{padding-top: 0;
        ;}
    .list p{font-size: 1rem;}
    .next{width: 45px;
        height: 45px;
        border-radius: 50%;
        align-items: center;
        display: flex;;
        justify-content: center;
        color: #fff;
        background-color: #c7b49194;
        position: relative;
        top: -7rem;
        left: 8rem;
    }    
    
    
    /*footer*/
    .copyright{margin: 0;
        padding:  0;}
    
}