header{
    margin-top: 0 !important;
    background: transparent;
}
header a, footer a,
header a:hover, footer a:hover{
    color: #5A707B;
    font-weight: 600;
}
header .container{
    display: block !important;
}
header.scrolled{
    background-color: rgba(255,255,255,0.95);
    transition: background-color 0.3s ease;
}
footer a{
    color: #fff;
    text-decoration: underline;
}
body{
    color: #5A707B;
}
h2,h3,h4{
    margin: 0;
}
section{
    margin: 150px 0;
}
section#subsidy{
    margin: 80px 0 -100px;
}
.linkbtn{
    margin-top: 40px;
}
.linkbtn2{
    margin-top: 30px;
}
.linkbtn a{
    color: #5A707B;
    border: 2px solid #5A707B;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 35px;
    border-radius: 10px;
    max-width: 100%;
}
@media screen and (max-width: 768px){
    #home > section{
        margin: 0 !important;
    }
    header{
        padding-bottom: 10px;
        box-sizing: border-box;
    }
    header nav{
        float: right;
        margin-top: 10px;
    }
    nav ul{
        top: 50px;
    }
    header a{
        color: #fff;
        font-weight: normal;
    }
    .hamburger span{
        background: #000;
    }
    .linkbtn{
        text-align: center;
        margin-top: 30px;
    }
    .linkbtn2{
        margin-top: 20px;
    }
}

#main-visual{
    margin: 0;
}
#main-visual img{
    width: 100%;
}

/* shops */
#shops{
    background-image: url("/pev/img/new/pev600_store_back.jpg");
    background-size: cover;
    background-position: bottom center;
}
#shops .contents{
    padding: 40px 10px 200px;
    text-align: center;
    position: relative;
}
#shops .contents h2{
    margin-bottom: 15px;
}
#shops .contents p{
    color: #5A707B;
    font-weight: 700;
    background-color: rgba(255,255,255,0.5);
    padding: 10px 5px;
}
#shops .linkbtn a{
    background-color: #5A707B;
    color: #fff;
}
.specialbox{
  width: 98%;
  margin: 1%;
  vertical-align: top;
  border: 1px solid #ccc;
}
.specialbox .specialimg{
  background-size: cover;
  background-position: center;
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
}
.specialbox .specialtext{
  padding: 10px 15px;
  height: 125px;
  box-sizing: border-box;
}
.specialbox time{
  color: #000;
  display: block;
}
.specialbox p{
  color: #5A707B;
  margin: 5px 0 0;
  font-size: 0.85em;
  line-height: 1.5em;
}
#special .owl-nav{
    display: none;
}
#features_title h2:after{
    margin-bottom: 0;
}
#features_link{
    margin-bottom: 50px;
}
#features{
    margin-bottom: 20px;
    overflow-x: hidden;
}
@media screen and (max-width: 768px){
    .specialbox .specialtext{
        padding: 5px;
    }
    .owl-item{
        vertical-align: top;
    }
    #shops{
        background: none;
    }
    #shops .contents{
        padding: 40px 10px;
    }
    #features{
        padding: 0 5px;
    }
}

/* news */
#news h2{
    text-align: center;
    margin-bottom: 40px;
}
#about_catch{
    max-width: 100%;
}
#about_catch .about_left{
    width: 40%;
    padding: 0 20px;
    text-align: center;
}
#about_catch .about_right{
    width: 60%;
    font-size: 1.1em;
}
@media screen and (max-width: 768px){
    #about_catch .about_left,
    #about_catch .about_right{
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    #about_catch .about_left img{
        max-width: 80%;
        margin-bottom: 30px;
    }
    #news{
        overflow: hidden;
    }
    #news .contents{
        padding-bottom: 0;
    }
    #features{
        overflow: hidden;
        max-width: 100%;
    }
    #news .fp-overflow{
        height: 70vh;
    }
}

/* visual */
#visual figure{
    margin: 0;
}
.visual_wrap{
    position: relative;
    height: 650px;
    padding: 0 10px;
    margin: auto;
    box-sizing: border-box;
}
.visual_logo{
    position: absolute;
    top: 5%;
    right: 10%;
}
.visual_pic{
    width: 27%;
    position: absolute;
}
.pic1{
    top: 0;
    left: 0;
}
.pic2{
    top: 20%;
    left: 20%;
}
.pic3{
    top: 44%;
    left: 44%;
}
.pic4{
    top: 68%;
    left: 68%;
}
.visual_copy{
    position: absolute;
    left: 10%;
    font-weight: 700;
    font-size: 1.1em;
    bottom: -10%;
}
@media screen and (max-width: 950px) {
    .visual_copy{
        bottom: 0%;
    }
}
@media screen and (max-width: 768px) {
    .visual_logo{
        position: static;
        max-width: 60%;
        margin: 0 auto 30px;
        display: block;
    }
    .visual_wrap{
        height: auto;
    }
    .visual_pic{
        display: block;
        position: relative;
        width: 100%;
    }
    .visual_pic img{
        width: 48%;
    }
    .pic1{
        text-align: right;
    }
    .pic2{
        top: -50px;
        left: 0;
    }
    .pic3{
        top: -150px;
        left: 0;
        text-align: right;
    }
    .pic4{
        top: -200px;
        left: 0;
    }
    .visual_copy{
        margin-top: -180px;
        position: static;
        display: block;
        text-align: center;
    }
    .visual_copy p{
        margin: 0;
    }
}

/* color */
#colors{
    text-align: center;
}
#colors h2{
    padding-bottom: 20px;
}
.pev_img img{
    display: none;
}
.pev_img img.active{
    display: block;
}
.pev_thumb div{
    width: 25%;
    padding: 0 30px;
    box-sizing: border-box;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s;
    position: relative;
    overflow: visible;
    text-align: center;
}
.pev_thumb{
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;  /* 縦方向のスクロールを許可 */
}
.pev_thumb div img{
    width: 60%;
    display: block;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
    transform-origin: center bottom
}
.pev_thumb div:hover{
    opacity: 0.7;
}
.pev_thumb div.active img{
    transform: scale(1.6);
}
.pev_thumb div span{
    font-weight: normal;
    font-size: 0.8em;
}
@media screen and (max-width: 1050px) {
    .pev_thumb div{
        padding: 0 20px;
    }
}
@media screen and (max-width: 768px) {
    #colors h2{
        padding-bottom: 0;
    }
    .pev_img{
        max-width: 90%;
        margin: auto;
    }
    .pev_thumb .flex{
        margin: 20px 0 0;
    }
    .pev_thumb div.active img{
        transform: scale(1.3);
    }
    .pev_thumb div{
        padding: 5px 20px;
        display: flex;
        align-items: center;
        width: 100%;
    }
    .pev_thumb div img{
        width: 15%;
        margin: 0 30px 10px 0;
        transform-origin: center center;
    }
    .pev_thumb div span{
        padding-left: 10px;
    }
}
/* タッチ環境では hover 効果を無効化し、縦スクロールを許可 */
@media (hover: none) and (pointer: coarse){
  .pev_thumb div:hover{
    opacity: 1 !important;   /* hover 時に不透明度変化しない */
    transform: none !important; /* 拡大などを無効化 */
  }
}
/* PC マウス環境では従来どおり hover 有効 */
@media (hover: hover) and (pointer: fine){
  .pev_thumb div:hover{
    opacity: 0.7;
  }
  .pev_thumb div.active img{
    transform: scale(1.6);
  }
}

/* feature */
#feature_1 .flex,
#feature_2 .flex,
#feature_3 .flex,
#feature_4 .flex{
    align-items: flex-start;
}
.feature_box{
    width: 30%;
    position: relative;
}
.feature_box h3{
    position: absolute;
    top: 5%;
    left: 20%;
}
#feature_1 .feature_box h3{
    left: 12%;
}
.feature_box_text{
    padding: 0px 20px 10px 40px;
    box-sizing: border-box;
    font-weight: normal;
}
#feature_1 .flex{
    justify-content: space-around;
}
@media screen and (max-width: 768px) {
    .feature_box{
        display: flex;
        width: 100%;
        margin: 30px 0;
    }
    .feature_box .feature_box_img{
        width: 50%;
    }
    .feature_box .feature_box_text{
        width: 50%;
    }
    .feature_box h3{
        top: 1%;
        left: 12%;
        font-size: 1.1em;
    }
    .feature_box_text{
        padding: 30px 5px 5px;
        font-size: 0.85em;
        line-height: 1.6em;
    }
}

/* accessories */
#accessories,
#options,
#spec,
#contact{
    text-align: center;
}
#accessories h2,
#options h2,
#accessories h3,
#options h3,
#contact h2,
#contact h3{
    margin-bottom: 30px;
}
.accessories_box{
    display: flex;
    align-content: center;
    align-items: center;
}
.accessories_box .ac_img{
    width: 45%;
}
.accessories_box .plus{
    width: 10%;
    font-size: 5em;
    font-weight: bold;
}
#options .flex{
    justify-content: space-between;
    flex-wrap: wrap;
}
.option_box{
    width: 31%;
}
#option_area{
    text-align: left;
}
.fp-warning, .fp-watermark a{
    display: none !important;
}
@media screen and (max-width: 768px) {
    #accessories h2,
    #options h2,
    #accessories h3,
    #options h3{
        margin-bottom: 15px;
    }
    #options h2{
        padding-top: 30px;
    }
    #accessories h3,
    #options h3{
        font-size: 1em;
    }
    .accessories_box{
        display: block;
        text-align: center;
        margin: auto;
    }
    .accessories_box .ac_img{
        width: 100%;
    }
    .accessories_box .plus{
        margin: auto;
    }
    .option_box{
        display: flex;
        width: 100%;
        margin: 0px 0;
    }
    .option_box .option_box_img{
        width: 40%;
        padding: 15px;
    }
    .option_box .option_box_text{
        width: 60%;
        padding: 15px;
        font-size: 0.85em;
        line-height: 1.6em;
    }
    #options .flex{
        margin: 20px 0 0;
    }
}

/* spec */
#spec h2{
    margin-bottom: 15px;
}
#spec h3{
    margin-bottom: 30px;
}
#spec h4 .price{
    color: red;
    font-size: 1.3em;
}
#spec table{
    border-collapse: collapse;
    width: 850px;
    max-width: 100%;
    margin: 40px auto 0;
}
#spec .spec_text{
    width: 850px;
    max-width: 100%;
    margin: 10px auto 0;
    text-align: left;
}
#spec table th,
#spec table td{
    border: 1px solid #5A707B;
    font-weight: normal;
    padding: 10px 10px;
    box-sizing: border-box;
}
#spec table th{
    background-color: #eee;
    text-align: left;
    min-width: 180px;
}
#spec table td p{
    margin: 10px 0 0;
    font-size: 0.8em;
    line-height: 1.5em;
}
@media screen and (max-width: 768px) {
    #spec{
        padding: 40px 0;
    }
    #spec table{
        width: 100%;
    }
    #spec table th,
    #spec table td{
        padding: 7px;
    }
    #spec table th{
        min-width: 100px;
    }
}


/* animation */
.scene{
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 2048/651;
    overflow: hidden;
    height: 600px;
}
.bike-back{
    position: absolute;
    inset: 0;
    width: 55%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
}
.bike{
    position: absolute;
    top: 50%;
    left: -30%;
    transform: translateY(-50%);
    z-index: 2;
    animation: none;
    will-change: left, transform;
}
.bike-img{
    display: block;
    width: 160px;
    transform-origin: 50% 75%;
    animation: none;
    will-change: transform;
}
.bike.inview{
    animation: ride 4s cubic-bezier(.4,0,.2,1) forwards;
}
.bike.inview .bike-img{
    animation: tilt .22s ease-in-out infinite;
}
@media screen and (max-width: 768px) {
    .scene{
        height: 200px;
    }
    .bike-img{
        width: 130px;
    }
}
@keyframes ride{
    0%{ left: -30% }
    90%{ left: var(--stop, 55%) }
    100%{ left: var(--stop, 55%) }
}
@keyframes tilt{
    0%{ transform: translateY(0) rotate(0deg) }
    50%{ transform: translateY(-3px) rotate(-2deg) }
    100%{ transform: translateY(0) rotate(0deg) }
}
.bike.finished .bike-img{
    animation: none;
    transform: translateY(0) rotate(0deg);
}
@media (prefers-reduced-motion: reduce){
    .bike{ animation: none; left: var(--stop, 55%) }
    .bike-img{ animation: none }
}
/* animation_2 */
.store-scene{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 2048/1152;
    overflow: hidden;
    pointer-events: none;
}
.store-vehicle{
    position: absolute;
    width: 70px;
    transform-origin: 50% 75%;
    z-index: 2;
    will-change: left, transform;
    pointer-events: none;
    animation: none;
}
.store-vehicle--left{
    bottom: 7%;
    left: -30%;
}
.store-vehicle--center{
    bottom: 7%;
    left: 50%;
}
.store-vehicle--right{
    bottom: 1%;
    left: 130%;
}
.store-vehicle.inview.store-vehicle--left{
    animation: store-ride-left 3.5s cubic-bezier(.4,0,.2,1) forwards, store-tilt .22s ease-in-out infinite;
}
.store-vehicle.inview.store-vehicle--center{
    animation: store-ride-center 3.5s cubic-bezier(.4,0,.2,1) forwards, store-tilt .22s ease-in-out infinite;
    animation-delay: .6s, .6s;
}
.store-vehicle.inview.store-vehicle--right{
    animation: store-ride-right 3.5s cubic-bezier(.4,0,.2,1) forwards, store-tilt .22s ease-in-out infinite;
    animation-delay: .2s, .2s;
}
@media screen and (max-width: 768px) {
    .store-scene{
        position: relative;
        width: calc(100% + 20px);
        background-image: url(/pev/img/new/pev600_store_back.jpg);
        background-size: cover;
        background-position: top center;
        left: -10px;
        transform: none;
    }
    .store-vehicle--center{
        display: none;
    }
}
@keyframes store-ride-left{
    0%{ left: -30% }
    90%{ left: 33% }
    100%{ left: 33% }
}
@keyframes store-ride-center{
    0%{ left: 50% }
    90%{ left: 83% }
    100%{ left: 83% }
}
@keyframes store-ride-right{
    0%{ left: 130% }
    90%{ left: 66% }
    100%{ left: 66% }
}
@keyframes store-tilt{
    0%{ transform: translateY(0) rotate(0deg) }
    50%{ transform: translateY(-3px) rotate(-2deg) }
    100%{ transform: translateY(0) rotate(0deg) }
}
.store-vehicle.store-finished{
    animation-play-state: paused !important;
    transform: translateY(0) rotate(0deg) !important;
}
@media (prefers-reduced-motion: reduce){
    .store-vehicle{ animation: none }
}


/* page */
#features_contents{
    margin-top: 80px;
}
@media screen and (max-width: 768px){
    #features_contents{
        margin-top: 40px;
    }
}

/* store */
#store{
    margin: 80px 0 0;
}
#store h2{
    text-align: center;
    margin-bottom: 40px;
}
#store .map {
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
    border: 1px solid #000;
}
#store span a,
#store .remarks p{
    margin: 3px 0;
    color: #00a752;
}
.navtitle, .splink,
.otherTable.is-hidden {
    display: none;
}
.otherTable {
    width: 100%;
    border-collapse: collapse;
}
#store nav {
    display: block;
    float: none;
    width: 100%;
}
#store .nav a{
    display: block;
    padding: 0;
}
#store .nav dl,
#store .nav div {
    padding: .5em 0;
    border-top: 1px solid #ccc;
    margin-bottom: 0;
}
#store .nav dt {
    display: block;
    padding-bottom: 15px;
    margin-bottom: 0px;
}
#store .nav dd {
    display: inline-block;
    padding: 5px 10px;
    width: 10%;
    box-sizing: border-box;
}
#store .allarea a,
#store .nav dd a {
    color: #07569e;
}

@media screen and (max-width: 768px){
    #store .nav{
        display: none;
        width: 100%;
        border: 1px solid #ccc;
        padding: 5px 20px;
        font-size: 1.2em;
    }
    #store .nav dl, 
    #store .nav div{
        border-top: 0px;
        padding: 0px;
    }
    #store .nav dt{
        display: none;
    } 
    #store .nav dd{
        display: block;
        padding: 5px;
        width: auto;
    } 
}

/* contact */
#contact{
    margin-bottom: 0;
    padding-top: 40px;
}
#contact_form{
    width: 800px;
    max-width: 100%;
    margin: 30px auto;
}
#contact_form input[type="text"],
#contact_form textarea{
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    display: block;
    margin: 5px 0 10px;
    position: releative;
}
#contact_form .form{
    border: 0;
}