@charset "UTF-8";

/* 228行目からmain部分 */

*{box-sizing: border-box;}
h2{    color: #2D1F05;}
h3{    color: #2D1F05;}

body{
    background-color: rgb(248, 235, 215);
    font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','MS ゴシック',sans-serif;
}

#header {
    background-color: rgb(248, 235, 215);
    height: 100px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

/* ^^^^^^^^^^^^^^^^^ナビゲーション ^^^^^^^^^^^^^^^^^^^^^^^*/

.nav ul{

    display:flex;
    justify-content: space-between;
    margin-top: 80px;
    padding-right: 50px;
    width: 100%;
}

#navArea {
    display: none;
}

@media(max-width:839px){
    #navArea {
        display: block;
    }
}

@media(max-width:839px){
    .nav ul{
        display:none;
    }
}

nav li {
    white-space: nowrap;
    margin-left: 91px;
}

.nav li a {
    color: #2D1F05;
    height: 24px;
    font-size: 1.25rem;
    font-family:  'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','MS ゴシック',sans-serif;
}



/*^^^^^^^^^^^^^^^^^^^^ ここからハンバーガーメニュー^^^^^^^^^^^^^^^^^^ */
@media(max-width:839px){
    #navArea nav{
        display: block;
        width: 220px;
        position: fixed;
        background-color: #dbcb55;
        top: 0;

        right: -300px;
        /* left: 0; */
        bottom: 0;
        transition: all 0.3s;
        z-index: 2;
        opacity: 0;
    }
}

@media(max-width:839px){
    .open#navArea nav{
    display: block;
    z-index: 2;
    /* left: 0; */
    right: 0;
    opacity: 1;
}
}

#navArea nav .inner{
    padding: 40px 25px;
    margin-top: 7rem;
}

#navArea nav .inner ul{
    margin: 0;
    padding: 0;
}

#navArea nav .inner ul li {
    margin: 0;
    border-bottom: 1px solid #2D1F05;
}

#navArea nav .inner ul li a {
    display: block;
    color: #2D1F05;
    font-size: 14px;
    padding: 1rem;
    transition-duration: 0.2s;
}

#navArea nav .inner ul li a:hover {
    background-color: rgb(253, 255, 230);
}


/* ^^^^^^^^^^^^^^^^^^^トグルボタン^^^^^^^^^^^^^^^^^^^^ */
.toglbtn {
    display: block;
    position: fixed;
    top: 50px;
    right: 30px;
    width: 30px;
    height: 30px;
    z-index: 3;
    cursor: pointer;
}

.toglbtn span {
    position: absolute;
    display: block;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #2D1F05;
    transition: all 0.5s;
    border-radius: 4px;
}

.toglbtn span:nth-child(1){
    top: 4px;
}

.toglbtn span:nth-child(2){
    top: 14px;
}

.toglbtn span:nth-child(3){
    bottom: 4px;
}

.open .toglbtn span{
    background-color: #fff;
}

.open .toglbtn span:nth-child(1){
    transform: translateY(10px) rotate(-315deg);
}

.open .toglbtn span:nth-child(2){
    opacity: 0;
}

.open .toglbtn span:nth-child(3){
    transform: translateY(-10px) rotate(315deg);
}

#mask {
    display: none;
    transition: all 0.5s;
}

.open #mask{
    display: block;
    background-color: #2D1F05;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.8;
    cursor: pointer;
}

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^以上ハンバーガーメニュー^^^^^^^^^^^^^^^ */





/* ^^^^^^^^^^^^^^^^^^^小ロゴ ^^^^^^^^^^^^^^^^^^^^^^^*/
#logo img{
    margin-top: 50px;
    margin-left: 50px;
    margin-right: auto;
    /* background-color: aliceblue; */
    width: 98px;
    height: 64px;
    display: block;
    position: fixed;
}
@media(max-width:1000px) {
/* @media(max-width:971px) { */
    #logo img{
        margin-left: 40px;
        display: block;
        position: fixed;
    }
}

@media(max-width:839px){
    #logo img{
        margin-left: 10px;
        margin-top: 40px;
        display: block;
        position: fixed;
    }
}




/* main部分^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
main{
    margin-left: 3rem;
    margin-right: 3rem;
}
@media(max-width:500px){
    main{
        margin: 0 1rem;
    }
}

.inner{
    display: flex;
    justify-content: space-evenly;
}
@media (max-width:768px) {
    .inner{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.prf1{
    width: 312px;
    text-align: center;
}
.prf1 img{
    width: 180px;
    text-align: center;
}
.prf1 h2{
    font-size: 1.25rem;
    padding: 25px 0 25px;
    text-align: justify;
}
.prf1 span{
    font-size: 0.75rem;
    margin-left: 2.25rem;
}
.prf1 p{
    font-size: 0.75rem;    /* 12px */
    text-align: justify;
    line-height: normal;
}

.skill{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
@media (max-width:768px) {
    .skill{
    margin: 3rem;
    height: 350px;
    justify-content: space-between;
    }
}

.skill h2{
    text-align: center;
    margin-bottom: 1.5rem;
}
.skill img{
    width: 64px;
}
.skill_inner{
    /* background-color: #fff; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.prf2{
    width: 42rem;
    display: block;
    margin-top: 3.75rem;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width:768px) {
    .prf2{
        width: 22rem;
        /*  */
    }
}
.prf2 h2{
    color: #B2A017;
    padding: 1rem 0;
    border-bottom: 2px solid;
    font-size: 1.25rem;    /* 20px */
    line-height: normal;
}
.prf2 p{
    /* width: 624px; */
    font-size: 1rem;
    margin-top: 2rem;
    line-height: 1.7rem;
}

.likes_inner{
    /* background-color: #fff; */
    display: flex;
    justify-content: space-between;
    width: 42rem;
    align-items: flex-end;
    margin: 0 auto;
}
@media (max-width:768px) {
    .likes_inner{
        /* display: flex; */
        flex-direction: column-reverse;
        width: 22rem;
        align-items: flex-start;
    }
}
.likes_inner h2{
    padding: 2.625rem 0 1rem;
    color: #B2A017;
    border-bottom: 2px solid;
    font-size: 1.25rem;
}
.likes_inner ul{
    list-style: none;
    line-height: normal;
    margin: 2rem 0 60px;
}


.likes_img {
    zoom: 50%;
    padding-top: 2.625rem;
}
@media (max-width:768px) {
    .likes_img{
    margin-left: auto;
    }
}


.totop img{
    right: 10%;
    bottom: 10%;
    margin-left: 80%;
}

@media(max-width:1000px) {
    .totop img{
        right: 8%;
        width: 100px;
        margin-left: 75%;
    }
}
