body{
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}
html{
    scroll-behavior: smooth;
}
#title a{
    text-decoration: none;
    color: #EB683F;
    font-size: 1.5rem;
}
#top-banner{
    text-decoration: none;
    color: white;
    background-color: #EB683F;
    border-radius: 100px;
    width: 180px;
    padding: 15px 10px;
    display: block;
    text-align: center;
    transition: .3s;
}
#top-banner:before{
    content: "";
    display: inline-block;
    width: 25px;
    height: 19px;
    background-image: url(img/mail-w.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 3px;
}
#top-banner:hover{
    color: #EB683F;
    background-color: #FEF2E0;
}
#menu{
    padding: 0;
    margin: 0;
}
.list a{
    display: block;
    text-decoration: none;
    color: black;
    transition: .3s;
}
.list a:hover{
    color: #ccc;
}
.list{
    list-style: none;
}
#header{
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    /*background-color: white;*/
}
#headers{
    padding: 5px 2vw;
}
#top-portforio{
    width: 100%;
    text-align: center;
    line-height: 30px;
    background-color: #EB683F;
    color: white;
    padding: 0;
    margin: 0;
    font-size: .7rem;
}
@media(min-width:580px){
    #headers{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #menu{
        width: 400px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    #top-contact #top-banner{
        margin-left: auto;
    }
    .list a{
        line-height: 50px;
    }
    #header{
        transition: .3s;
    }
    #header.fixed{
        background-color: white;
    }
}
@media(max-width:579px){
    #header{
        height: 110px;
        background-color: white;
    }
    #title a{
        line-height: 80px;
    }
    #menuButton{
        position: fixed;
        z-index: 20;
        width: 60px;
        height: 60px;
        background-color: #EB683F;
        transition: .3s;
        top: 40px;
        right: 2vw;
        border-radius: 100%;
    }
    #menuButton div{
        position: absolute;
        top: 50%;
        width: 50%;
        left: 50%;
        transform: translateX(-15px);
        height: 1px;
        background-color: white;
        transition: .3s;
    }
    #menuButton div:nth-child(1){
        transform: translate(-15px,12px);
    }
    #menuButton div:nth-child(2){
        transform: translate(-15px,0px);
    }
    #menuButton div:nth-child(3){
        transform: translate(-15px,-12px);
    }
    #menuButton.active div:nth-child(1){
        transform: rotate(45deg) translateX(-15px);
        transform-origin: left;
    }
    #menuButton.active div:nth-child(2){
        opacity: 0;
    }
    #menuButton.active div:nth-child(3){
        transform: rotate(-45deg) translateX(-15px);
        transform-origin: left;
    }
    #nav{
        position: fixed;
        z-index: 19;
        width: 100%;
        height: 100%;
        background-color: #FEF2E0;
        top: 0;
        left: 0;
        transition: .3s;
        opacity: 0;
        visibility: hidden;
    }
    #nav.active{
        opacity: 1;
        visibility: visible;
    }
    #menu{
        position: fixed;
        left: 0;right: 0;
        text-align: center;
        top: 30%;
    }
    .list a{
        color: black;
        text-align: center;
        padding: 20px 0;
        width: 100%;
    }
    .list a:hover{
        color: white;
        background-color: #EB683F;
    }
    #top-contact{
        position: fixed;
        z-index: 10;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        height: 40px;
        background-color: #FEF2E0;
        padding: 15px 0;
    }
    #top-banner{
        margin: 0 auto;
    }
}
/*main visual*/
#main-visual{
    position: relative;
    top: 80px;
    width: 100%;
    height: 100vh;
}
#main-visual img{
    height: 100%;
    object-fit: cover;
}
#catch-copy{
    color: black;
    position: absolute;
}
@media(min-width:580px){
    #main-visual{
        display: flex;
        top: 140px;
    }
    #main-visual img{
        width: 80%;
        border-radius: 20px;
        right: 0;
        position: absolute;
    }
    #circle{
        position: absolute;
        top: -250px;
        left: -100px;
        width: 600px;
        height: 600px;
        z-index: -1;
        background-color: #FEF2E0;
        display: block;
        border-radius: 100%;
    }
    #catch-copy{
        writing-mode:vertical-rl;
        letter-spacing: .1rem;
        font-size: 1.7rem;
        position: absolute;
        left: 5%;
        top: 5%;
    }
    #catch-copy-emphasis{
        color: #EB683F;
    }
}
@media(max-width:579px){
    #main-visual img{
        width: 100%;
    }
    #main-visual::after{
        content: "";
        display: block;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.4);
        position: absolute;
        z-index: 1;
    }
    #catch-copy{
        position: absolute;
        top: 40%;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 4;
        font-size: 1.4rem;
    }
    #catch-copy-emphasis{
        color: #EB683F;
    }
}
#catch-copy,#title a,.section-title,.section-subtitle,.article-title{
    font-family: 'Zen Maru Gothic';
   font-weight: 500;
}
/*news*/
#n{
    max-width: 1140px;
    margin: 0 auto;
}
.section-title{
    font-size: 1.8rem;
}
.section-subtitle{
    font-size: 1rem;
}

.section-title{
    margin: 0;
}
.btn{
    width: 150px;
    text-align: center;
    display: block;
    border-radius: 100px;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    background-color: #EB683F;
    transition: .3s;
}
.btn:hover{
    background-color: #FEF2E0;
    color: #EB683F;
}
.news-date{
    color: #EB683F;
    font-size: 1rem;
}
.news-heading{
    font-size: 1.2rem;
    color: black;
}
.news-content a{
    background-color: #FEF2E0;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: .3s;
    text-decoration: none;
}
.news-content:nth-child(1),.news-content:nth-child(2){
    margin-bottom: 10px;
}
@media(min-width:580px){
    .section-subtitle{
        margin: 10px 0 30px;
    }
    #news{
        margin: 240px 2vw 0 2vw;
    }
    #n{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #news-container{
        width: 60%;
    }
    #news-title{
        width: 40%;
    }
    .news-content a:hover{
        background-color: #EB683F;
    }
    .news-content a:hover .news-date,.news-content a:hover .news-heading{
        color: white;
    }
    .news-date,.news-heading{
        margin: 0;
    }
}
.news-heading{
    font-family: 'Zen Maru Gothic';
    font-weight: 400;
}
@media(max-width:579px){
    #news{
        margin: 150px 2vw 0 2vw;
        text-align: center;
    }
    .btn{
        margin: 0 auto;
    }
    .section-subtitle{
        margin: 10px 0 30px;
    }
    #news-container{
        margin-top: 30px;
    }
}
/*concept*/
@media(min-width:580px){
    #cc{
        margin: 120px 2vw;
    }
    #concept-img{
        width: 40%;
        height: 550px;
        position: relative;
        overflow:unset;
    }
    #concept-img::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        right: 0;
        background-color: #EB683F;
        bottom: -3%;
        right: -5%;
        border-radius: 10px;
    }
    #concept-container{
        width: 52%;
    }
    #c{
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1300px;
        margin: 0 auto;
    }
    #concept{
        position: relative;
    }
    #concept::after{
        content: "";
        position: absolute;
        width: 90%;
        left: 0;
        height: 300px;
        bottom: -100px;
        background-color: #FEF2E0;
        border-radius: 10px;
        z-index: -2;
    }
}
@media(max-width:579px){
    #concept{
        margin: 70px 2vw;
        text-align: center;
    }
    #concept-container{
        margin-top: 15px;
    }
    #concept-img{
    width: 100%;
    height: 250px;
    }
}
#c img{
    object-fit: cover;
    border-radius: 10px;
}
.concept-txt{
    line-height: 30px;
}
#concept-img img{
    width: 100%;
    height: 100%;
}
/**/
#m{
    margin: 0 2vw 0px 2vw;
    text-align: center;
}
.article-title{
    font-size: 1.4rem;
}
.m-back,.m-content,.m-container img{
    border-radius: 10px;
}
@media(min-width:580px){
    #m{
        margin-top: 240px;
    }
    #mind{
        max-width: 1300px;
        margin: 0 auto;
    }
    .m-content{
        position: absolute;
        width: 40%;
        padding: 30px 20px;
        top: 120px;
        z-index: 1;
        background-color: white;
    }
    .m-back{
        position: absolute;
        top: 40px;width: 70%;
        height: 450px;
        background-color: #EB683F;
        z-index: -1;
    }
    .m-container:nth-child(odd) img{
        margin-left: auto;
    }
    .m-container:nth-child(even) .m-content{
        right: 10%;
    }
    .m-container:nth-child(odd) .m-content{
        left: 10%;
    }
    .m-container:nth-child(even) .m-back{
       right: 0;
    }
    .m-container{
        display: flex;
        position: relative;
    }
    .m-container img{
        width: 60%;
        height: 450px;
    }
    .m-container{
        margin-bottom: 90px;
    }
    .article-title{
        padding-bottom: 5px;
    }
    .m-container .article-title{
        border-bottom: 1px solid #EB683F;
    }
    #mind{
        margin-bottom: 30px;
    }
}
@media(max-width:579px){
    #mind{
        margin-top: 70px;
    }
    .m-container img{
        width: 100%;
        height: 250px;
    }
    .m-content .article-title{
        width: 100%;
        line-height: 40px;
        padding: 10px 0;
        background-color: #FEF2E0;
    }
    .m-container{
        margin-bottom: 50px;
    }
}
.m-container img{
    object-fit: cover;
}
.m-txt{
    line-height: 30px;
}
/*skill*/
#skill{
    background-color: #FEF2E0;
    width: 100%;
}
.skill-content{
    position: relative;
    overflow: hidden;
}
.skill-content::after{
    position: absolute;
    content: "";
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1;
    border-radius: 10px;
}
.skill-content .back-img{
    object-fit: cover;
    border-radius: 10px;
}
.img{
    width: 80px;
    height: auto;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.skill-txt .article-title{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}
.skill-txt{
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    color: white;
    z-index: 2;
}
.back-img{
    width: 100%;
    height: 100%;
}
.skill-content .back-img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
#ss{
    padding: 80px 0;
}
/**/
@media(min-width:580px){
    #ss{
        margin: 120px 2vw;
    }
    #s{
        max-width: 1300px;
        margin: 0 auto;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #skill-title{
        width: 35%;
    }
    #skill-container{
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 10px;
    }
    .skill-content{
        width: 48%;
        height: 450px;
    }
}
@media(max-width:579px){
    #ss{
        margin: 70px 2vw;
    }
    .skill-content{
        height: 300px;
    }
    .img{
        width: 40px;
    }
    #skill-title{
        margin-bottom: 30px;
    }
    .skill-content{
        margin-bottom: 20px;
    }
}
/*banner*/
@media(min-width:580px){
    .b-content{
        width: 49%;
    }
    #banner{
        margin: 0 2vw 80px 2vw;
    }
    #b{
        max-width: 1160px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
@media(max-width:579px){
    .b-content{
        width: 100%;
    }
    #banner{
        margin: 0 2vw 40px 2vw;
    }
    .b-content:nth-child(1){
        margin-bottom: 10px;
    }
}
.b-text .article-title,.b-txt{
    margin: 0;
}
.b-text{
    padding: 10px 15px;
}
.b-content{
    background-color: #FEF2E0;
    border-radius: 10px;
}
.b-content a{
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.b-content a img{
    width: 35%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.b-text{
    width: 62%;
}
.b-txt{
    font-family: 'Noto Sans JP', sans-serif;
}
.b-content a{
    position: relative;
}
.b-circle{
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: white;
    background-color: #EB683F;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.b-content a:hover .b-circle{
    color: #EB683F;
    background-color: #eee;
}
/*footer*/
footer{
    background-color: #EB683F;
}
#f{
    padding: 50px 2vw 0 2vw;
    color: white;
    max-width: 1140px;
    margin: 0 auto;
}
.footer-title{
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'Zen Maru Gothic', serif;
}
.button{
    display: block;
    border-radius: 100px;
    color: #EB683F;
    text-decoration: none;
    background-color: #FEF2E0;
    transition: .3s;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    margin: 0 auto;
}
.f-list a{
    display: block;
    text-decoration: none;
    color: white;
    line-height: 40px;
    transition: .3s;
}
.f-list a:hover{
    color: #eee;
}
.button:hover{
    color: white;
    background-color: #EB683F;
}
.list{
    list-style: none;
}
.element{
    text-align: center;
}
.copyright{
    text-align: center;
    margin: 0;
    padding-top: 20px;
}
@media(min-width:580px){
    .element{
        width: 33%;
    }
    #footer{
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
    }
}
@media(max-width:579px){
    .copyright{
        padding-bottom: 80px;
    }
}