body{
    margin: 0;

font-family: 'Montserrat', sans-serif;
font-family: 'Roboto', sans-serif;

}
.list-e{
    font-family: 'Zen Maru Gothic', serif;
}
#title{
    margin: 0;
}
#title a{
    text-decoration: none;
    color: #cf111b;
    line-height: 80px;
}
#menu{
    margin: 0;
    padding: 0;
}
.list a{
    display: block;
    text-decoration: none;
    color: black;
    text-align: center;
    transition: .3s;
}
@media(min-width:800px){
    .list:nth-child(1) a{
        color: #cf111b;
    }
    .list a:hover{
        color: rgb(101, 101, 101);
    }
}
.list{
    list-style: none;
}
.list-e,.list-j{
    margin: 0;
}
#motto{
    margin: 0;
}
#header{
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 80px;
    background-color: white;
}
#h{
    margin: 0 2vw;
}
#headers{
    max-width: 1300px;
    margin: 0 auto;
}
@media(min-width:800px){
    #headers{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #menu{
        width: 600px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        gap: 10px;
    }
    #h-contact{
        display: none;
    }
}
@media(max-width:799px){
    .list a{
        padding: 20px;
        background-color: white;
    }
    .list:nth-child(1) a{
        color: #cf111b;
    }
    .list a:hover{
        background-color: #cf111b;
        color: white;
    }
    .list:nth-child(6) a{
        display: none;
    }
    #menuButton{
        position: fixed;
        z-index: 15;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        background-color: white;
        transition: .3s;
    }
    #menuButton div{
        position: absolute;
        top: 50%;
        width: 60%;
        height: 1px;
        background-color: #cf111b;
        left: 50%;
        transform: translateX(-23px);
        transition: .3s;
    }
    #menuButton div:nth-child(1){
        transform: translate(-23px,-20px);
    }
    #menuButton div:nth-child(2){
        transform: translate(-23px,0px);
    }
    #menuButton div:nth-child(3){
        transform: translate(-23px,20px);
    }
    #menuButton.active div:nth-child(1){
        transform: rotate(45deg) translateX(-23px);
        transform-origin: left;
    }
    #menuButton.active div:nth-child(2){
        opacity: 0;
    }
    #menuButton.active div:nth-child(3){
        transform: rotate(-45deg) translateX(-23px);
        transform-origin: left;
    }
    #menu{
        transition: .3s;
        margin: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        height: 0;
    }
    #menu.active{
        opacity: 1;
        visibility: visible;
    }
    #h-contact a{
        display: block;
        position: fixed;
        bottom: 0;
        right: 0;left: 0;
        text-align: center;
        width: 100%;
        text-decoration: none;
        color: white;
        background-color: #cf111b;
        line-height: 80px;
        line-height: 80px;
        transition: .3s;
        text-align: center;
    }
    #h-contact a:hover{
        background-color: #9f020a;
    }
}
.list-j{
    font-size: 14px;
}
.list:nth-child(6) a{
    background-color: #cf111b;
    line-height: 80px;
    width: 180px;
    text-align: center;
    color: white;
    transition: .3s;
}
.list:nth-child(6) a:hover{
    background-color: #9f020a;
}
/*main visual*/
#main-visual{
    width: 100%;
    height: 650px;
    background-image: url(red/main.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: rgba(255, 255, 255, .4);
    background-blend-mode: lighten;
}
#m-v{
    max-width: 1300px;
    margin: 0 auto;
    z-index: 1;
}
@media(min-width:1140px){
    #motto{
        top: 35%;
        left: 10%;
        z-index: 2;
        font-size: 40px;
        width: 40%;
        line-height: 70px;
    }
}
@media(max-width:1139px){
    #motto{
        top: 50%;
    left: 50%;
    width: 90%;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 40px;
    line-height: 70px;
    }
}
@media(max-width:799px){
    #motto{
        font-size: 30px;
        line-height: 50px;
    }
}
#motto{
    font-weight: bold;
    position: absolute;
}
.m-red{
    color: #cf111b;
}

#m-emphasis{
    background-color: #cf111b;
    padding: 13px 12px;
    color: white;
}
.section-title{
    font-family: 'Cabin', sans-serif;
    font-family: 'Klee One', cursive;
    font-weight: bold;

font-size: 30px;
margin: 0;
}
.news-date{
    font-family: 'Zen Maru Gothic', serif;
}
.section-subtitle{
    font-family: 'Klee One', cursive;
    font-weight: bold;
    margin: 0;
}
.btn{
    width: 200px;
    display: block;
    padding: 20px 30px;
    border-radius: 100px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #cf111b;
    transition: .3s;
}
.btn:hover{
    background-color: #9f020a;
}
.news-content a{
    text-decoration: none;
}
.news-date{
    background-color: #cf111b;
    padding: 3px 5px;
    letter-spacing: 1px;
    width: 90px;
    text-align: center;
    color: white;
    margin: 0;
}
.news-heading{
    font-family: 'Klee One', cursive;
    color: black;
    margin: 0;
    line-height: 40px;
    transition: .3s;
}
.news-content a:hover .news-heading{
    color: #ccc;
} 
#n-tit .section-subtitle{
    margin-bottom: 40px;
}
.news-content{
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}
#news{
    margin: 0px 0px 80px 0px;
    background-color: #eee;
    padding-top: 80px;
    padding-bottom: 30px;
}
#n-tit{
    margin: 0;
}
#nn{
    margin: 0 2vw;
}
@media(min-width:800px){
    #nn{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #n{
        max-width: 1300px;
        margin: 0 auto;
    }
    #news-container{
        width: 65%;
    }
}
@media(max-width:799px){
    #n{
        text-align: center;
    }
    .btn{
        margin: 0 auto;
    }
    #news-container{
        margin-top: 30px;
    }
    .news-date{
        margin: 0 auto;
    }
}
#news-container,#n-tit{
    margin-right: 10px;
    margin-left: 10px;
}
/*service*/
.s-heading{
    font-family: 'Klee One', cursive;
}
#s-container{
    margin: 30px 0;
}
#service{
    max-width: 1300px;
    margin: 0 auto;
}
#s{
    margin: 0 10px 80px 10px;
    text-align: center;
}
.s-content img{
    height: 200px;
    object-fit: cover;
}
#s .btn{
    margin: 0 auto;
}
@media(min-width:1140px){
    .s-content{
        width: 25%;
    }
}
@media(max-width:800px){
    .s-content{
        width: 100%;
        margin-bottom: 30px;
    }
    .s-content img{
        width: 100%;
    }
}
@media(min-width:800px){
    .s-content img{
        width: 100%;
    }
    #s-container{
        display: flex;
        align-items: center;
        justify-content:space-between;
        gap: 10px;
    }
}
/*banner1*/
.banner1{
    position: relative;
    height: 200px;
    overflow: hidden;
}
.banner1::after{
    content: "";
    display: inline-block;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    transition: .3s;
}
.banner1:nth-child(1)::after{
    background-image: url(red/AdobeStock_239247699_Preview.jpeg);
}
.banner1:nth-child(2)::after{
    background-image: url(red/AdobeStock_385058337_Preview.jpeg);
}
.banner1:nth-child(3)::after{
    background-image: url(red/AdobeStock_488899658_Preview.jpeg);
}
.banner1:nth-child(4)::after{
    background-image: url(red/AdobeStock_490823697_Preview.jpeg);
}
.banner1 .section-title{
    position: absolute;
    top: 60px;
    left: 30px;
}
.banner1 .section-subtitle{
    position: absolute;
    top: 100px;
    left: 30px;
}

.banner1 a{
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, .3);
}
.banner1 .section-subtitle,.banner1 .section-title{
    color: white;
}
.banner1 a{
    text-decoration: none;
}
.banner1:hover::after{
    transform: scale(1.2);
}
@media(min-width:800px){
    #banner1{
        max-width: 1300px;
        margin: 0 auto;
    }
    #b1{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 5px;
        
    }
    .banner1{
        width: 49.5%;
    }
}
@media(max-width:799px){
    .banner1 .section-title{
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        text-align: center;
    }
    .banner1 .section-subtitle{
        position: absolute;
        top: 100px;
        right: 0;
        left: 0;
        text-align: center;
    }
}
/*recruit*/
#recruit{
    margin: 80px 0px 0 10px;
}
#rr{
    max-width: 1300px;
    margin: 0 auto;
}
.bold{
    font-weight: bold;
}
#r{
    position: relative;
    height: 300px;
    background-image: url(red/recruit.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255, 255, 255, .4);
    background-blend-mode: lighten;
}
@media(min-width:800px){
    #r{
        width: 90%;
        margin-left: auto;
    }
    .r-content{
        position: absolute;
        left: 50px;
        top: 30px;
    }

}
@media(max-width:799px){
    #r{
        width: 100%;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}/**/
#contact{
    background-color: #cf111b;
    padding: 30px 0;
    text-align: center;
    color: white;
}
#c{
    max-width: 1300px;
    margin: 0 auto;
}
.contact-banner a{
    display: block;
    text-decoration: none;
    color: #cf111b;
    background-color: white;
    padding: 20px 30px;
    text-align: center;
    width: 200px;
    margin: 0 auto;
    border-radius: 100px;
    transition: .3s;
}
.contact-banner a:hover{
    background-color: #9f020a;
    color: white;
}
@media(max-width:799px){
    .r-content .section-title{
        padding-top: 50px;
    }
}
/**/
footer{
    background-color: #9f020a;
}
footer section{
    max-width: 1300px;
    margin: 0 auto;
    color: white;
}
#f-1-container{
    margin: 0 2vw;
    padding-top: 50px;
    border-bottom: 1px solid white;
    padding-bottom: 30px;
}
.f-list{
    list-style: none;
}
.li a{
    display: block;
    text-decoration: none;
    color: white;
    transition: .3s;
}
.li a:hover{
    color: #ccc;
}
@media(min-width:800px){
    #f-1-container{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    #f-2{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
.f-list a{
    display: block;
    color: white;
    text-decoration: none;
    transition: .3s;
}
.f-list a:hover{
    color: #ccc;
}
@media(max-width:800px){
    footer section{
        text-align: center;
    }
    .f-list a{
        padding: 20px;
    }
}
footer{
    padding-bottom: 80px;
}
#f-2{
    margin: 0 2vw;
}