@charset "UTF-8";

*{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;
}

.top{
    background:url(cmn/images/bgキラキラ\ 1.png);
    padding-bottom: 1rem;
    /* background-repeat: no-repeat; */
    width: 100%;
}

#header {
    height: 100px;
    display: flex;
    justify-content: space-between;
}

/* ^^^^^^^^^^^^^^^^^ナビゲーション ^^^^^^^^^^^^^^^^^^^^^^^*/

.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 {
    text-align: center;
}
#main img {
    margin-top: 50px;
    height: 260px;
    text-align: center;
}
@media(max-width:450px){
    #main img {
        height: 200px;
        text-align: center;
    }
}

/* ^^^^^^^^^^^^^^^^ポートフォリオサイト^^^^^^^^^^^^^^ */
#main h1 {
    color: #C55A45;
    font-size: 1.25rem;
    font-family:  'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','MS ゴシック',sans-serif;
}

#main .coment {
    padding-top: 114px;
    text-align: left;
    margin: 0 auto auto;
    width: 820px;
}

@media(max-width:1000px){
    #main .coment{
        margin: 0 50px;
        width: auto;
    }
}

@media(max-width:591px){
    #main .coment span{
        display: inline-block;
    }
}

@media(max-width:502px){
    #main .coment {
        margin: 0 10px;
        padding: auto;
        font-size: 1rem;
    }
}


#main p {
    color: #2D1F05;
    font-size: 1.25rem;
    line-height: 42px;
}

.span{
    font-weight: bold;
    color: #EA6F45;
}

.prfbutton {
    background-color: #B2A017;
    width: 252px;
    display: block;
    margin: auto;
    border-radius: 24px;
    padding: 23px 54px;
    box-shadow: 0 5px 9px 2px #CCBBA0;
}

.coment .prfbutton {
    margin: 80px auto 90px;
}

a{
    font-size: 1rem;
    color: #2D1F05;
}




/* ^^^^^^^^^^^^作品紹介セクション ^^^^^^^^^^^^^^^^^^^*/
#toppage__works{
    /* background-color: #FAF3DF; */
    /* width: 100%; */
    text-align: center;
}

h2 {
    display:inline-block;
    color: #2D1F05;
    font-size: 2rem;
    margin: 81px auto 80px;
}

.wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-left: 52px;
}

@media(max-width:1000px){
    .wrap {
        margin: 0 auto;
    }
}
/* ^^^^^^^^^^^^^^^^^^^^^題名^^^^^^^^^^^^^^^^^^^^^^^ */
.wrap h3 {
    text-align: left;
    color: #2D1F05;
    height: 47px;
    font-size: 1.25rem;
    line-height: 23px;
    margin-bottom: 30px;
}

@media(max-width:1000px){
    .wrap h3 {
        text-align: left;
        margin: 65px 0 29px;
        height: 47px;
        font-size: 1.25rem;
        line-height: 23px;
    }
}

@media(max-width:484px){
    .wrap h3{
        /* margin: 0 30px; */
        margin: 65px 30px 29px;
    }
}


.wrap p{
    text-align: left;
    display: inline-block;
    width: 436px;
    height: 145px;
    line-height: normal;
}

@media(max-width:484px){
.wrap p{
    text-align: left;
    display: inline-block;
    margin: 0 30px;
    width: 289px;
    height: 145px;
    line-height: normal;
}
}

@media(max-width:349px){
    .wrap p{
        text-align: left;
        display: inline-block;
        margin: 0 20px;
        width: 289px;
        height: 145px;
        line-height: normal;
    }
    }
    


/* ^^^^^^^^^^^^^^^^^^^^^モックアップ全体^^^^^^^^^^^^^^ */
.mockup {
    margin: 0 auto 100px;
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width:1000px){
    .mockup {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /* margin: 0 auto; */
    align-items: center;
    }
}

/* ^^^^^^^^^^^^^^^^PCモックアップ画像^^^^^^^^^^^^^^^^^^^ */
.PCモックアップ{
    width: 484px;
}

@media(max-width:1000px){
    .PCモックアップ {
        width: 331px;
        text-align: center;
    }
}

/* ^^^^^^^^^^^^^^^^SPモックアップ画像^^^^^^^^^^^^^^^^^^^ */
.SPモックアップ{
    width: 484px;
}

@media(max-width:1000px){
    .SPモックアップ {
        width: 289px;
        text-align: center;
    }
}

.mockup .prfbutton{
    margin: 0 auto ;
}

@media(max-width:1000px){
    .mockup .prfbutton{
        margin-bottom: 113px;
    }
}
/* ^^^^^^^^^^^^^^^^^^^^バナー^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
.box {
    display: flex;
    margin: 54px 50px 104px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;

}

.box div{
    height: 243px;
    margin:0 40px;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.box div img {
    height: 173px;
}

#toppage__works .prfbutton {
    margin-bottom: 10px;
}



/* 
#toppage__works{
    height: 1600px;
} */


/* フッターセクション^^^^^^^^^^^^^^^^^^^^^^^^ */
footer{
    /* background-color: bisque; */
    height: 400px;
}

.last{
    display: block;
    text-align: center;
    padding-top: 149px;
    width: 600px;
    margin: auto;
    line-height: normal;
}

@media(max-width:1000px) {
    .last{
        display: block;
        text-align: center;
        padding-top: 149px;
        width: 308px;
        margin: auto;
        line-height: normal;
        text-align: left;
    }
    
}

/* @media(max-width:1000px) { */
    footer small {
        display: block;
        text-align: center;
    }


.totop img{
    right: 10%;
    bottom: 10%;
    margin-left: 80%;
}

@media(max-width:1000px) {
    .totop img{
        right: 8%;
        width: 90px;
        margin-left: 75%;
    }
}
footer small{
    margin-top: 50px;
}
