@charset "UTF-8";
/* 共通部分
------------------------------------*/
html{
    font-size: 100%;
    scroll-behavior: smooth;
}
img{
    max-width: 100%;
}
body{
    margin: 0 auto;
    font-family: 'Sawarabi Gothic', sans-serif;
}
.wrapper{
    margin: 0 auto;
    padding: 0 4%;
}
a{
    text-decoration: none;
    color: black;
}
.sub-footer{
    text-align: center;
}
.text-center{
    text-align: center;
}

/* タイトル
------------------------------------*/
#home{
    background-image: url(../img/gris-de-paris-qu5b1KTGDds-unsplash.jpg);
    height: 100vh;
    object-position: 50%;
    background-size: cover;
    background-position: center ;
}
.logo{
    width:120px;
    transition: all 0.5s ease;
}
.logo:hover{
    filter: brightness(0.4);  
}
.nav-flex{
    display: flex;
    margin: 0;
    padding-left: 0;
}
.nav-flex li{
    list-style-type: none;
    padding-left: 30px;
    margin-top: 7%;
}
.nav-flex li a{
    font-size: 1.2rem;
    color: white;
    text-shadow: 1px 1px 5px #000;
    text-decoration: underline;
    text-decoration-color: yellow;
    transition: all 0.5s ease;
} 
.nav-flex li a:hover{ 
    filter: brightness(0.4);
}
.home-flex{
    display: flex;
    justify-content: space-between;
}
.home-text{
    color: white;
    text-shadow: 1px 1px 5px #000;
    text-align: center;
    margin-top: 35vh;
}
.home-text h2{
    font-size: 3rem;
}

/* mini-news
------------------------------------*/
.mini-news{
    background-color: #faf6eb;
    text-align: center;
}
.mini-news h2{
    font-size: 2rem;
    display: inline-block;
    width: 200px;
    position: relative;
    margin-top: 7%;
    margin-bottom: 3%;
}
.mini-news h2::before,
.mini-news h2::after{
    content: "";
    position: absolute;
    background-color: black;
    height: 2px;
    width: 45px;
}
.mini-news h2::before{
    top:25px;
    left:-25px;

}
.mini-news h2::after{
    top:25px;
    right:-25px;
}
.mini-news dl{
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    line-height: 4;
    margin: 0 auto;
    border-bottom: 1px solid black;
    margin-bottom: 4%;

}
.mini-news dt{
    width: 30%;
    border-top: 1px solid black;
}
.mini-news dd{
    width: 70%;
    border-top: 1px solid black;
    text-align: left;
}
.mini-news dd::before{
    content: "NEW";
    color: white;
    background-color: red;
    font-size: .7rem;
    margin-right: 10px;
}
.btn{
    display: inline-block;
    width: 130px;
    height: 35px;
    padding-top: 4px;
    margin-bottom: 4%;
    background-color: #363533;
    color:#faf6eb;
    transition: all 300ms ease;
}
.btn:hover{
    opacity: .5;
}
/* menu-flex
------------------------------------*/
.menu-flex{
    display: flex;
    gap: 2%;
    padding: 0 2%;
    margin: 5% 0;
}
.menu-flex a{
    transition: all 500ms ease;
}
.menu-flex a:hover{
    filter:brightness(.4)
}
.menu-flex img{
    height: 50vh;
    width: 33vw;
    object-fit: cover;
}
.box1{
    position: relative;
}
.box1 h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 1.65rem;
    background-color: rgb(0, 0, 0,.2);
}
.box2{
    position: relative;
}
.box2 h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 1.65rem;
    background-color: rgb(0, 0, 0,.2);
}
.box3{
    position: relative;
}
.box3 h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 1.65rem;
    background-color: rgb(0, 0, 0,.2);
}
/* footer
------------------------------------*/
footer{
    background-color: #faf6eb;
}
.footer-flex{
    display: flex;
    padding-top: 3%;
}
.footer-flex a{
    width: 33%;
    padding-top: 5%;
    padding-left: 10%;
}
.footer-info{
    width: 33%;
}
.footer-info h4{
    text-decoration: underline;
    font-size: 1.2rem;
}
.footer-info ul{
    padding-left: 10px;
}
.footer-info li{
    list-style-type: none;
    position: relative;
    line-height: 2;
}
.footer-info li::before{
    position: absolute;
    content: "";
    border-top: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid black;
    top: 10px;
    left: -10px;
}
.site-map{
    width: 33%;
}
.site-map h4{
    text-decoration: underline;
    font-size: 1.2rem;
}
.site-map ul{
    padding-left: 15px;
    list-style-type: square;
}

.site-map li{
    line-height: 2;
}
.site-map li a{
    color: black
}
.site-map li a:hover{
    opacity: .5;
}

/* service
------------------------------------*/
.service-img{
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/YATcar191231393_TP_V.jpg);
    height: 28vh;
    object-position: 50%;
    background-size: cover;
    background-position: center;
}
#service ul{
    margin-top: 7%;
}
#service .logo{
    margin-top: 18%;
}
.service-title{
    text-align: center;
}
.service-title h2{
    font-size: 4rem;
    color: #d9d9ad;
}
.service-title h3{
    display: inline-block;
    position: relative;
    margin-bottom: 3%;
}
.service-title h3::after{
    content: "";
    background-color: black;
    width: 30px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: -40px;   
}
.service-title h3::before{
    content: "";
    background-color: black;
    width: 30px;
    height: 2px;
    position: absolute;
    top: 12px;
    right: -40px;
}

/* service-box
------------------------------------*/
.service-box{
    display: flex;
    margin-bottom: 4%;
}
.service-box img{
    width: 50%;
    object-fit: cover;
}
.service-box h4{
    font-size: 1.6rem;
    margin-bottom: 4%;
    border-bottom: dashed 1px #000;
}
.service-text{
    padding: 0 3%;
}
.service-box p{
    margin-bottom: 2%;
}

/* store
------------------------------------*/
/* store-box
------------------------------------*/
.store-box img{
    filter: grayscale(70%);
}
.store-img{
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/gris-de-paris-qu5b1KTGDds-unsplash.jpg);
    height: 28vh;
    object-position: 50%;
    background-size: cover;
    background-position: center;
}
.store-box p{
    margin-bottom: 4%;
}
.store-box{
    padding-bottom: 5%;
    border-bottom: 1px solid lightgray;
}
/* member-box
------------------------------------*/
.member{
    margin: 0 auto;
    max-width: 1000px;
}
.member h4{
    display: inline-block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2%;
    position: relative;
}
.member h4::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: black;
    top: 22px;
    left: -40px;
}
.member h4::before{
    content: "";
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: black;
    top: 22px;
    right: -40px;
}
.member-box{
    display: flex;
    width: 48%;
    margin-bottom: 5%;
}
.member-box img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 3%;
    margin-top: 2%;
}
.member-text{
    padding: 0 2%;
    width: auto;
    font-size: .9rem;
}
.member-text h5{
    font-size: 1.1rem;
    margin-bottom: 2%;
}
.member-big-box{
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    border-bottom: 1px solid lightgray;
}
/* history
------------------------------------*/
.last-text{
    margin-top: 5%;
}
.history{
    width: 100%;
    margin-bottom: 5%;
}
.history td{
    padding: 10px 10px;
}
.history tr:nth-child(odd){
    background-color: rgb(242, 242, 242);
}

/* news
------------------------------------------------------------------------------------------------*/
.news-img{
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/tekton-O_ufcLVTAYw-unsplash.jpg);
    height: 28vh;
    object-position: 50%;
    background-size: cover;
    background-position: center;
}
/* news-flex
------------------------------------*/
.news-flex{
    display: flex;
    margin-top: 2%;
}
.news-flex article{
    padding-left: 4%;
    width: 70%;
}
.news-flex article h2{
    font-size: 2rem;
    border-bottom: dotted 6px #d9d9ad;
    margin-bottom: 2%;
}
.news-flex aside{
    padding: 0 4%;
    width: 30%;
}
.news-info{
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
    margin-bottom: 2%;
}
.news-flex p{
    margin-bottom: 3%;
}
.news-flex img{
    margin-bottom: 3%;
}
/* category
------------------------------------*/
.category h3{
    background-color: #d9d9ad;
    color : white;
    padding: 10px 10px;
    text-shadow: 0px 0px 2px #000;
}
.category li{
    list-style-type: none;
    line-height: 4;
    border-bottom: 1px solid lightgray;
    padding-left: 5px;
}
.category ul{
    padding-left: 0px;
    margin-bottom: 15%;
}
.category a{
    transition: all 300ms ease;
}
.category a:hover{
    opacity: .2;
}

/* map
------------------------------------------------------------------------------------------------*/
.map-img{
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(../img/map.jpg);
    height: 28vh;
    object-position: 50%;
    background-size: cover;
    background-position: center;
}
.map-text{
    padding: 0 3%;
}
.map-text li{
    list-style-type: square;
}
.map-text ul{
    padding-left: 0;
    list-style-position: inside;
    font-size: 1rem;
    line-height: 3;
}
.map-text h4{
    display: inline-block;
    width: 40vw;
}
.google-map{
    margin-bottom: 5%;
}

@media(max-width: 700px){
    /* index
    ------------------------------------*/
    .nav-flex li{
        padding-left: 10px;
    }
    .logo{
        width:60px;
    }
    .nav-flex li a{
        font-size: .7rem;
    } 
    .mini-news dl{
        width: 100%;
    }
    .menu-flex{
        display: block;
        gap: 2%;
        padding: 0 2%;
        margin: 5% 0;
    }
    .menu-flex img{
        height: 30vh;
        width: 100vw;
        margin-bottom: 3%;
    }
    .footer-flex{
        display: block;
        margin-left: 5%;
    }
    .footer-flex a{
        width: 100%;
    }
    .footer-info{
        width: 100%;
    }
    .site-map{
        width: 100%;
    }
    .home-text h2{
        font-size: 2.5rem;
    }
    .mini-news h2{
        font-size: 1.7rem;
    }
    .mini-news{
        font-size: .9rem;
    }

    /* service
    ------------------------------------*/
    .service-box{
        display: flex;
        flex-wrap: wrap;
    }
    .service-box img{
        width: 100%;
        margin-bottom: 5%;
    }
    .service-child{
        order: 1;
    }
    .service-title h2{
        font-size: 3.3rem;
        color: #d9d9ad;
    }
    .service-box h4{
        font-size: 1.3rem;
    }
    

    /* member-box
    ------------------------------------*/
    .member-box{
        display: flex;
        width: 100%;
        padding: 0 4%;
        margin-bottom: 5%;
    }
    .member h4{
        font-size: 1.7rem;
    }
        /* member-box
    ------------------------------------*/
    .map-text h4{
        width: 90vw;
    }
    /* news
    ------------------------------------*/
.news-img{
    height: 28vh;
    object-position: 50%;
    background-size: cover;
    background-position: center;
}
/* news-flex
------------------------------------*/
.news-flex{
    display: block;
}
.news-flex article{
    padding: 0 4%;
    width: 100%;
}
.news-flex article h2{
    font-size: 1.8rem;
}
.news-flex aside{
    padding: 0;
    width: 100%;
}
.news-info{
    font-size: .9rem;
}
/* category
------------------------------------*/
.category h3{
    background-color: #d9d9ad;
    color : white;
    padding: 10px 10px;
    text-shadow: 0px 0px 2px #000;
}
.category li{
    list-style-type: none;
    line-height: 4;
    border-bottom: 1px solid lightgray;
    padding-left: 5px;
    padding: 0 4%;
}
.category ul{
    padding-left: 0px;
    margin-bottom: 15%;
}
.category a{
    transition: all 300ms ease;
}
.category a:hover{
    opacity: .2;
}


    
    
 
}