@charset "UTF-8";
html{
    font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", "sans-serif";
    scroll-behavior: smooth;
}
@media screen and (max-width: 415px) {
    html {
        font-size: 18px;
    }
}

body{
    width: 100%;
    border: none;
    color: #333;
}



/*header*/
.header{
    display: flex;
    position: fixed;
    background-color: #101010;
    top: 0;
    width: 100%;
    height: 110px;
    z-index: 10;
    transition: transform 0.2s ease;
}
header.hide {
  transform: translateY(-100%);
}
.headerLogo{
    padding: 10px 20px;
    padding-top: 25px;
    width: 30%;
}
.headerNav{
    width: 70%;
    margin-top: 2.5em;
}
.logoimg{
    width: 10.5vw;
    vertical-align: bottom;
}
.menu ul{
    display: flex;
    justify-content: flex-end;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 1px;
    list-style: none;
}
.menu li{
    margin-right: 30px;
}
.menu li a{
    color: #ffffff;
    text-decoration: none;
}
.hover-button {
    color: rgb(255, 255, 255);
    padding: 5px 3px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.hover-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;
}
.hover-button:hover::before {
    width: 100%;
}
.hover-button:hover {
    background-color: #101010;
    transform: scale(1.5);
    color: #e71f19;
    transition-duration: 0.3s;
}

@media screen and (max-width: 768px) {
  .header {
    height: 10.5vw;
    flex-direction: column;
    align-items: center;
  }

  .headerLogo {
    width: 100%;
    padding: 0;
    margin-top: 1vw;
    text-align: center;
  }

  .headerNav {
    display: none;
  }

   .logoimg{
      width: 25vw;
      vertical-align: bottom;
  }
}

/*main*/
#news1{
    margin: 15vw 8vw;
    line-height: 3em;
}
@media  screen and (max-width: 768px) {
    #news1{
       margin: 2em;
    }
}

.title{
    font-size: 2em;
}
@media  screen and (max-width: 768px) {
    .title{
       font-size: 20px;
    }
}

title .date{
    font-size: 1px;
}

.title-bar{
    width: 100%;
}

.img{
    display: flex;
    flex-wrap: wrap;
    padding-top: 1vw;
    gap: 3vw;
}
@media  screen and (max-width: 768px) {
    .img{
        display: block;
    }
}
.car-img{
    width: 48.2%;
    height: auto;
}

.text{
    margin-top: 2vw;
    font-size: 20px;
    font-weight: 300;
}
@media  screen and (max-width: 768px) {
    .text{
       line-height: 10vw;
    }
}