@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 62.5%;
}

body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
}

a {
    text-decoration: none;
    color:inherit;
}

a:hover {
    width:100%;
    height:100%;
}

.list a:hover {
    background-color:lightgray;
    color: white;
}

img {
    max-height: 70%;
    
}

li{
    list-style-type: none;
}

/* レイアウト */

.wrapper {
    max-width: 1240px;
    margin: 0 auto;
}


/* ヘッダー
------------------------------- */

.header {
    position:fixed;
    inset:0;
    width: 100%;
    height:100px;
    text-align:center;
    background-color: white;
    padding:18px 20px 0;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    opacity: 0.9;
    z-index: 9999;
}

.header img { 
        width: 100%; 
    }

.header-top {
    height:70%;
    display:flex;
    justify-content: space-between;
    position:relative;
}

.header1
    display:inline-block;
    width: 30%;
}

.header2 {
    width: 35%;
    line-height: .5rem;
}

.header2-1 {
    margin-top: -8px;
    font-size: 24px;
    font-weight:bold;
    color: red;
    letter-spacing: .1rem;
}

.header2-2 {
    margin-top: -10px;
    font-size:1rem;
    
}

.header3 {
    width: 25%;
    position: relative;
    display: block;
    margin-bottom:20px;
    margin-right:10px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: red;
    border-radius: 40px;
    transition: .4s;
    font-size:1.4rem;
    line-height: 3.5rem;
}

.header3:hover {
    
}

.header4 {
    width: 10%;
    display:flex;
    justify-content:center;
}

.header4-1 {
    width 100%;
    height: 100%;
    object-fit:contain;
}

.header4-2 {
    
}

.nav {
    display:none;
}



.header-bottom {
    border-top: solid 1px lightgray;
    height:15%;
    display:flex;
    justify-content: space-between;
    padding: 0 3rem;
    font-size: 1.3rem;
}

.button {
    display:none;
}


/* ハンバーガーメニュー
------------------------------- */

@media only screen and (max-width: 480px) {
  .nav {
    display: block;
    position: fixed;
    right: -320px; /* 右から出てくる */
    top: 0;
    width: 300px; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 60px;
    background-color: #fff;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
  }
  .hamburger {
    position: absolute;
    right: 10px;
    top: 15px;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }
  .nav_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav_item {
    text-align: center;
    padding: 0 14px;
  }
  .nav_item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
  }
  .nav_item a:hover {
    background-color: #eee;
  }
  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }
  .hamburger_border_top {
    top: 14px;
  }
  .hamburger_border_center {
    top: 20px;
  }
  .hamburger_border_bottom {
    top: 26px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }

  /* 表示された時用のCSS */
  .nav-open .nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: .8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
}/* sp */

@media only screen and (min-width: 480px) {
  .header_inner{
    max-width: 1240px;
    width: 100%;
    padding: 15px 30px;
    margin-left: auto;
    margin-right: auto;
  }
  .logo{
    padding: 12px 30px
  }
  .nav_list{
    text-align: right;
  }
  .nav_list li{
    display: inline-block;
    text-align: right;
  }
  .nav_list li a{
    color: #fff;
    font-weight: 600;
  }
}/* pc */



/* コンテンツ */
.main-contents {
    padding-top: 100px;
}

.top-banner {
    display:block;
    max-width: 1240px;
    height: 50vw;
    background-image:
    linear-gradient(120deg, rgba(230,30,25,0.8) 50%,
    rgba(146,22,114,0) 50%), url(../images/photo6.png);
    background-size:contain;
    background-position:center;
}

.tb-top {
    padding: 20px 0 0 50px;
    width: 100%;
    height: 50%;
    margin: 0 auto;
    letter-spacing: 1rem;
}

.sompo-rogo{
    position:relative;
    height:6vw;
    margin: 10px 0 -0px 50px ;
}

.sompo-rogo img{
    object-fit: contain;
}

.tb-text1 {
    width: 75%;
    font-weight: bold;
    font-size: 3vw;
    color: white;
    line-height: 5vw;
}

.tb-text2 {
    width: 75%;
    font-weight: bold;
    font-size: 7vw;
    color: white;
    line-height: 10vw;
}

.tb-image{
    margin-right:20px;
    width:25%;
    
}

.cb-image2{
    display:none;
    margin-right:20px;
    width:25%;
    background-image: url(../images/main-image.png);
    background-size: cover;
}

.tb-bottom{
    margin-bottom:2vw;
    padding: 0 20px;
    width:100%;
    height:50%;
    text-align: left;
}

.categori-box {
    margin:1vw 0 2vw 4vw;
    width: 50%;
    height: 6vw;
    display:block;
    background-color: white;
    background-position: left;
    transform: skew(-30deg,0deg);
}

.cb-title {
    text-align:center;
    height: 20%;
    font-size: 3vw;
    font-weight: bold;
    line-height: 6vw;
}


.title-bar {
    margin: 20px auto 0px;
    display:flex;
    justify-content:space-between;
    width: 96%;
    height: 4vw;
    border-top: solid black 2px;
    border-bottom: solid black 2px;
    line-height: 4rem;
}

.title-name1 {
    padding-left:20px;
    width: 50%;
    font-size: 3vw;
    color: red;
    font-weight:bold;
    line-height: 4vw;
}


.contents-box1 {
    width:96%;
    height: 20vw;
    margin: 20px auto;
    text-align: center;
}

.contents-text1{
    display: block;
    height: 50%;
    font-size: 1.5vw;
    line-height: 3vw;
    letter-spacing: -0.1vw;
    border-bottom: solid black 1px;
}

.contents-text2{
    display: block;
    height: 50%;
    font-size: 4vw;
    line-height: 6vw;
    font-weight: bold;
}


.contents-box2 {
    display:grid;
    gap: 1rem 1rem; 
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    width:80%;
    height: 30vw;
    margin: 20px auto;
}

.maker-icon1 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/daihatsu.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon2 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/toyota.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon3 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/nissan.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon4 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/honda.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon5 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/mazda.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon6 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/suzuki.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon7 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/mitsubishi.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon8 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/isuzu.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon9 {
    display:block;
    width:50%;
    height:70%;
    background-image:url(../images/subaru.jpg);
    background-size: contain;
    background-position:center;
}

.maker-icon10 {
    display:block;
    width:50%;
    height:70%;
    background-image:url();
    background-size: contain;
    background-position:center;
}

.maker-icon11 {
    display:block;
    width:50%;
    height:70%;
    background-image:url();
    background-size: contain;
    background-position:center;
}


.contents-box3 {
    width:80%;
    height: 5vw;
    margin: 20px auto;
    text-align: center;
    border: solid black 1px;
    font-size: 2vw;
    line-height: 5vw;
}

.secound-banner {
    width: 90%;
    height: 45vw;
    background-image:url(../images/tire.png);
    background-position:center;
    background-size:contain;
    margin: 0 auto;
}

.contents-box4{
    height: 50vw;
    width: 96%;
    margin: 20px auto 20px;
    display:block;
}


.table-box {
    margin-bottom: 20px;
    height: 30vw;
}

.table {
    margin: 0 auto;
    width: 86%;
    height: 25%;
    display: flex;
    justify-content: space-between;
    text-align: center;
    line-height: 6vw;
    font-size: 2vw;
}

.sel1 {
    width: 33%;
    height: 90%;
    background-color: lightgrey;
    font-size: 2vw;
}

.sel2 {
    width: 33%;
    height: 90%;
    background-color: aliceblue;
    font-size: 2vw;
}


.contents-text{
    display: block;
    height: 30%;
    font-size: 4vw;
    line-height: 4vw;
    font-weight: bold;
}

.contents-text3{
    display: block;
    height: 40%;
    font-size: 4vw;
    line-height: 4vw;
    font-weight: bold;
    color: red;
}




/*フッター
------------------------------- */
.footer{
    width:96%;
    display: block;
    height:25vw;
    margin: 0 auto;
}

.footer1{
    background-color:lightgray;
    height:80%;
    padding: 15px 15px;
}

.company-info{
    width:100%;
    display:flex;
    height:100%;
}

.company-info-left{
    width: 50%;
    height: 100%;
}

.company-name{
    height: 70%;
    font-size: 12vw;
}

.company-logo{
    height: 50%;
    background-image:url(../images/rogo_ol.png);
    background-size:contain;
    background-position: center;
}

.conpany-text{
    font-size: 2vw;
    text-align: center;
}

.company-title{
    
}

.company-about{
    height:30%;
    font-size: 1.3vw;
    text-align:center;
}

.company-info-right{
    padding-left: 30px;
    width: 50%;
    height: 100%;
    border-left: 1px solid black;
}

.company-address{
    height: 20%;
    font-size: 1.4vw;
}

.company-tel {
    height: 50%;
    font-size: 4.5vw;
    line-height: 7vw;
}

.company-time{
    height: 30%; 
    font-size: 1.3vw;
}

.footer2 {
    height:20%;
    display:flex;
    justify-content: space-evenly;
    font-size: 1.2rem;
    line-height: 4rem;
}


.copy {
    text-align:center;
    border-top: solid 1px lightgray;
    font-size: .8rem;
}







/* タブレット
------------------------------- */
@media only screen and (max-width: 769px){
  

}


/*----------------------------- 
スマートフォン
------------------------------- */
@media only screen and (max-width: 480px){
    
    body{
        margin: 0 auto;
    }
    
    img {
        display:inline;
    }
    
    .kaigyo {
        display:none;
    }
    
    .header {
        height:80px;
        padding: 25px 0 0;
    }
    
    .header img { 
        width: 100%; 
        object-fit: contain;
    }
    
    .header-top {
        justify-content: flex-start;
    }
    
    .header {
        height:80px;
        padding: 25px 0 0;
    }
    
    .header img { 
        width: 100%; 
        object-fit: contain;
    }
    
    .header-top {
        justify-content: flex-start;
    }
    
    .header1 {
        width:45%;
        object-fit: fill;
        padding: 0 10px 0;
        
    }
    
    .header2{
        text-align:left;
        width: 50%;
        margin-top:-0.4vw;
    }
    
    .header2-1{
        font-size: 3vw;
    }
    
    .header2-2{
        font-size: 1.8vw;
    }
    
    .header3 {
        display:none; 
        
    }
    
    .header-bottom {
        display:none;
    }
    
    .header4 {
        display:none;
    }
    
    .footer2 {
        display:none;
    }      
    
    .button {
        width: 100%;
        height: 50px;
        position: fixed;
        display:flex;
        bottom: 0 ;
        opacity:0.9;
    }
    
    .contact-button{
        display: block;
        width:70%;
        font-size: 2.5rem;
        background-color:red;
        line-height: 4.5rem;
        color: white;
    }
    
    .line-button{
        width:15%;
        object-position: center;
        background-color: white;
        padding-top:5px;
    }
    
    .line-button img {
        object-fit: contain;
    }
    
    .insta-button{
        width:15%;
        object-position: center;
        background-color: white;
        padding-top:5px;
    }
    
    .insta-button img{
        object-fit: contain;
    }
    
    
/*コンテンツ*/
    
    .main-contents {
        padding-top: 80px;
    }
    
    .top-banner {
        padding: 0 ;
        display:block;
        max-width: 1240px;
        height: 110vw;
        background-image:url(../images/photo6.png);
        background-size:contain;
        background-position:50% 60%;
        background-color:red;
    }
    
    .tb-top {
        padding:.2vw .2vw;
        margin: 0;
        display:block;
        width: 100%;
        height: 70%;
        text-align: center;
    }
    
    
    .tb-text1 {
        width: 100%;
        height: 25%;
        font-weight: bold;
        font-size: 5.4vw;
        color: white;
        line-height: 8vw;
        letter-spacing: 1vw;
    }

    .tb-text2 {
        width: 100%;
        height: 75%;
        font-weight: bold;
        font-size: 16vw;
        color: white;
        line-height: 12vw;
    }
    
    .tb-image {
        display:none;
    }
    
    .tb-bottom{
        display:block;
        margin: 10px 0 0 0;
        width:100%;
        height:30%;
        text-align: left;
    }
    
    .categori-box {
        margin-top:1vw;
        width: 85%;
        height: 20%;
        display:block;
        background-color: white;
        background-position: left;
        transform: skew(0deg,0deg);
    }
    
    
    .cb-title {
        height: 20%;
        font-size: 5vw;
        font-weight: bold;
        line-height: 7vw;
    }

    .cb-image {
        height:40%;
        position:relative;
        object-position: center;
        object-fit: cover;
    }


    .cb-text {
        padding: 0 10px;
        height:20%;
        text-align: left;
        font-size: 4vw;
        line-height: 4.5vw;
    }
    
    .title-bar {
        margin: 20px auto 0px;
        height: 10vw;
        line-height: 3.5rem;
    }

    
    .title-name1 {
        padding-left:10px;
        width: 100%;
        font-size: 5vw;
        color: red;
        font-weight:bold;
        line-height: 9.5vw;
    }
    
    .contents-box1 {
        width:96%;
        height: 50vw;
        display:block;
        justify-content: space-between;
        margin: 0 auto;
        text-align: left;
    }
    
    .contents-text1{
        padding: 4vw 0 0 1vw;
        display: block;
        height: 80%;
        font-size: 3.8vw;
        line-height: 5vw;
    }
    
    .contents-text2{
        display: block;
        height: 20%;
        font-size: 4vw;
        line-height: 6vw;
        font-weight: bold;
        text-align: center;
    }
    

    .message-image{
        width: 40%;
    }
    
    .contents-box2 {
        display:grid;
        gap: 2vw 2vw;
        grid-template-columns: repeat(3, 1fr);
        height: 100vw;
        width:96%;
        margin: 0 auto;
        text-align:center;
        background-position:center;
    }

    .maker-icon1,.maker-icon2,.maker-icon3,.maker-icon4,.maker-icon5 
    ,.maker-icon6,.maker-icon7,.maker-icon8,.maker-icon9,.maker-icon10,.maker-icon11{
        display:block;
        width:100%;
        height:100%;
        background-size: full;
        background-position:50% 50%;
    }
    
    
    .contents-box3 {
        margin-top:4vw;
        font-size: 5vw;
        line-height: 10vw;
        display: block;
        width:90%;
        height: 10vw;
        margin: 0 auto;

    }
    
    .secound-banner {
        width: 90%;
        height: 50vw;
        background-image:url(../images/tire.png);
        background-position:center;
        background-size:contain;
        margin: 0 auto;
    }
    
    
    .contents-box4 {
        height:55vw;
    }
    

    .info-box-top {
        margin-top:10px;
        width: 100%;
        height: 450px;
        display: block;
    }

    .info-box-right{
        margin: 10px 0 0 0;
        width: 100%;
        height: 60%;
    }

    .info-box-left{
        width: 100%;
        height: 40%;
        padding: 0px 20px;
    }
    
    .info-textbox {
        display:flex;
        justify-content: space-between;
        border-bottom: dotted 1px gray;
    }

    .info-title {
        padding-top: 5px;
        font-size:2.6vw;
        font-weight: bold;
    }
    
    .info-title2 {
        padding-top: 5px;
        font-size:8vw;
        font-weight: bold;
    }

    .info-text {
        display: block;
        font-size:2.2vw;
        line-height: 6vw;
    }
    
     .info-text2 {
        display: block;
        font-size:5vw;
        line-height: 6vw;
    }
    
    .info-box-bottom{
        width: 96%;
        height: 960px;
        display: block;
        text-align: center;
    }

    .info-bottom {
        margin-top:20px;
        width: 100%;
        height: 300px;
        position: relative;
        text-align: center;
        border-bottom: dotted 1px black;
    
    }

    .info-bottom::before{
        display: none;
    }

    .info-bottom:first-of-type::before{
        display: none;
    }


    .info-icon {
        width: 30%;
        height:30%;
        background-image: url(../images/rogo2.png);
        background-size:contain;
        background-position:center;
        margin: 0 auto 0px;
    }

    .info-date{
        display:flex;
        justify-content: center;
        font-size: 14vw;
        font-weight: bold;
        color:red;
    }

    .info-deta-text {
        padding-top: 13vw;
        font-size: 6vw;
        color: black;
        font-weight: 100;
    }

    
    /*フッター*/
    .footer{
        width:96%;
        display: block;
        height:80vw;
        margin: 0 auto;
    }

    .footer1{
        background-color:lightgray;
        height:64vw;
        padding: 15px 15px;
        text-align: center;
    }

    .company-info{
        width:100%;
        display:block;
        height:100%;
        
    }

    .company-info-left{
        width: 100%;
        height: 50%;
    }

    .company-name{
        height: 70%;
    }

    .company-logo{
        height: 50%;
        background-image:url(../images/rogo_ol.png);
        background-size:contain;
        background-position: center;
    }

    .conpany-text{
        font-size: 5vw;
        text-align: center;
    }

    .company-title{

    }

    .company-about{
        height:30%;
        font-size: 3vw;
        text-align:center;
    }

    .company-info-right{
        padding-left: 30px;
        width: 100%;
        height: 50%;
        border-left:none;
    }

    .company-address{
        height: 20%;
        font-size: 3vw;
    }

    .company-tel {
        height: 50%;
        font-size: 4vw;
        letter-spacing: -5;
    }

    .company-time{
        height: 30%; 
        font-size: 3vw;
    }

    
}
    