@charset "UFT-8";

/*共通部分☆　
------------------------------------------------*/
html{
    font-size:100%;
    scroll-behavior: smooth;
}

body{
    font-family:"Yu Gothic Medium","游ゴシック Medium","YuGothic","游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
    line-height:1.7;
    color:#432;
}

a{
    text-decoration: none;
}

img{
    max-width:100%;
}

@media screen and (min-width:801px) {
/*★トップ★*/
/*header 
.header
{
    width: 100%;
    height: 113px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: white;
    border-bottom: 4px solid #2E75B6;
}

.logo{
    width: 240px;
    margin-top: 5px;
}

.main-nav li{
    list-style: none;
    padding: 28px 12px;
}

.main-nav{
    display: flex;
    float: right;
    height: 110px;
}

.main-nav a{
    color: black;
    font-size: 30px;
}
*/

.header
{   width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: white;
    border-bottom: 4px solid #2E75B6;
}
.logo{
    width: 160px;
    margin-top: 5px;
}

.main-nav li{
    list-style: none;
    padding: 28px 12px;
}

.main-nav{
    display: flex;
    float: right;
    height: 76px;
}

.main-nav a{
    color: black;
    font-size: 20px;
}

.main-nav a:hover{
    color: #AAAAAA;
}

.tel{
    background-color: #FFFF00;
}

.telback{
    background-color: #FFFF00;
}


/*背景*/
.back{
    width: 100%;
    text-align : center;
    padding-top: 80px;
}

.top-photo{
    width: 100%;
}


/*紹介文*/
.ttl span:first-child {
    font-size: 80px;
    color: #e4e3e3;
    margin-bottom: -70px;
    font-family: 'arial', sans-serif;
    font-weight: bold;
}
.ttl span:last-child {
    font-size: 32px;
    color: #2E75B6;
    font-weight: bold;
}
.ttl span {
    display: block;
    text-align: center;
}

.ttl{
    margin-top: 30px;
}

.text-top{
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.button{
    text-align: center;
    font-size: 100%;
    color: #2E75B6;
    padding: 5px 0;
    margin: 0 40%;
    border: 1px solid #2E75B6;
    font-weight: bold;
    background-color: aliceblue;
}

.button a{
    color: #2E75B6;
}

.button a:hover{
    color: #779ec2be;
}


/*業務内容*/
.grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin: 20px 100px;
}
.grid p{
    font-size: 20px;
    text-align: center;
}


/*取扱店*/
.brand{
    width: 30%;
    display:block;
    margin:0% 35%;
}

/*店舗情報*/
h1{
    font-size: 120%;
    margin: 100px 2% 2% 2%;
    border-left: 8px solid #2E75B6;
    border-bottom: 3px solid #FFFF00;
    padding-left: 1%;
}

span{
    color: #2E75B6;
    font-size: 120%;
}

.adress{
    margin-left: 5%;
    line-height: 150%;
    font-size: 110%;
    width: 70%;
}
.adress td,th{
    border-bottom: dotted;
    padding: 1%;
}

.adress th{
    width: 20%;
    text-align: left;
    border-bottom: dotted;
}

iframe{
    margin-left:5% ;
}

/*フッター*/
.topmenu{
    text-align:center;
    background-color: black;
    width: 100%;
    margin: 5% 0% 0% 0%;
}

.topmenu a{
    font-size: 18px;
    color: #dddddd;
}

.syamei{
    font-size: 18px;
    text-align:center;
    background-color: #2E75B6;
    color: white;
    width: 100%;
    margin: 0%;
    height: 100px;
    padding-top: 30px;
}

.top-button{
    font-size: 30px;
    background-color: #2E75B6;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-weight: bold;
    padding-top: 5px;
}
.top-button-back{
    width: 50px;
    position: fixed;
    bottom: 150px;
    right: 50px;
    cursor: pointer;
}

.instagram{
    text-align: center;
    margin-top: 8px;
}

/*★店舗紹介★*/

.back_1{
    width: 100%;
    text-align : center;
    padding-top: 90px;
}

.photo-box{
    text-align: center;
}
.photo{
    width: 40%;
    margin: 1% 1%;
}
.photo2{
    width: 20%;
    margin: 1% 1%;
}

/*見出し部分*/
h3{
    text-align: center;
    font-size: 150%;
    color: #2E75B6;
    margin-top: 50px;
    
}

.border{
    text-align: center;
    border-top: 3px solid #bbbbbb;
    margin: 0 45% 10px 45%;
}

/*名前部分*/
h4{
    text-align: center;
    color: rgb(6, 6, 77);
    margin-top: 15px;
}

.text{
    text-align: center;
    margin-bottom: 30px;
    font-size: 95%;
}

/*★メニューリスト*/
.menu-nav{
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0 15%;
    margin-top: 5px;
    font-weight: bold;
}

.menu-nav li{
    padding: 0 10px;
    cursor: pointer;
    color: #2E75B6;
}


/*★部品販売★*/

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.parts{
    margin-left: 5%;
    line-height: 150%;
    font-size: 90%;
    width: 50%;
}

.parts td,th{
    border-bottom: 1px solid gray;
    padding: 1%;
}

.parts th{
    width: 20%;
    text-align: left;
}

/*★車検★*/
.inspe{
    margin: auto;
    line-height: 150%;
    font-size: 90%;
}

.inspe th,td{
    border-bottom: 1px solid gray;
    padding: 1% 0;
}

.inspe th{
    width: 50%;
    text-align: left;
}
.inspe td{
    width: 30%;
    text-align: right;
}


/*在庫一覧*/
.grid-stock{
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 5% 40px;
}
.mente{
    text-align: center;
    margin-left: 30%;
    margin-right: 30%;
}

}

/*モバイル版*/
@media screen and (max-width:500px) {

.header{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: white;
    border-bottom: 4px solid #2E75B6;
}
.logo{
    width: 160px;
    margin-top: 5px;
}

.main-nav li{
    list-style: none;
    padding: 28px 10px;
}

.main-nav{
    display: flex;
    float: right;
    height: 78px;
}

.main-nav a{
    color: black;
    font-size: 10px;
}


}