@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Damion&display=swap');

@import url('https://fonts.cdnfonts.com/css/freestyle-script');

main a{
    text-decoration: underline;
    transition: 0.4s;
    cursor: pointer;
}
main a:hover{
    text-decoration: underline;
    opacity: 0.7;
    color: #333;
}
section.grayback{
    background-color: #D9D9D9;
}
p{
    color: #000;
    margin: 0;
    padding: 0;
}
#mainvisual{
    width: 1200px;
    max-width: 100%;
    margin: 100px auto 0;
}
#mainvisual_img{
    position: relative;
}
#mainvisual_img h2{
    position: absolute;
    font-family: "Courgette", cursive;
    font-size: 5.5em;
    right: 5%;
    bottom: 25%;
    color: #000;
}

#catch{
    position: absolute;
    bottom: 5%;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
}
#catch h1,
#catch h2{
    font-family: 'Freestyle Script', sans-serif;
    color: #fff;
    margin: 0;
}
#catch h1{
    font-size: 70px
}
#catch h2{
    font-size: 54px
}
#comment{
    padding: 60px 0 80px;
}
#comment h1{
    font-size: 2.2em;
}
#comment p{
    font-size: 28px;
    line-height: 100px;
    font-family: 'Zen Old Mincho', serif;
}
#anchorarea{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 100px;
}
#anchorarea a{
    width: 33.3%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    transition: 0.4s;
    cursor: pointer;
}
#anchorarea a:hover{
    opacity: 0.7s;
}
#maintext h2{
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
}
#cycling,
#video,
#athome{
    padding-top: 100px; 
    margin-top: -100px; 
}
.contents h3{
    display: inline-block;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 1.5em;
    width: 100%;
    margin-top: 40px;
}
.comment2{
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    margin: 60px auto 40px;
}
.comment3 p{
    font-size: 24px;
    line-height: 70px;    
}
.contents{
    padding: 0px;
    box-sizing: border-box;
    max-width: 1050px;
    padding: 0 10px;
    margin: auto;
}
.half_box{
    font-size: 0;
}
.half{
    display: inline-block;
    width: 50%;
    vertical-align: middle;
    padding: 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 50px;
}
.quarter{
    display: inline-block;
    width: 25%;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 50px;
}
.quarter p{
    font-size: 0.9em;
    line-height: 1.6em;
}
.half h3{
    font-family: 'Freestyle Script', sans-serif;
    margin-top: 40px;
    font-size: 48px;
}
#why{
    background-image: url("/motor/rammount/anit-vibration-systems/img/why_anti-vibration-system_pc.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}
#why h4{
    color: #000;
    font-weight: bold;
    font-size: 26px;
    line-height: 38px;
    margin-bottom: 30px;
}
#why p{
    font-weight: bold;
    margin-bottom: 20px;
}
#features2 p{
    margin-bottom: 20px;
}
#features2 h4{
    font-size: 26px;
    margin-bottom: 30px;
}
#features2 h5{
    font-size: 24px;
    padding: 50px 0;
}
#lineups{
    background-image: url("/motor/rammount/anit-vibration-systems/img/anit-vibration-system_lineup_pc.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 450px;
}
.link_area{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.link_area a{
    text-decoration-color: #fff;
}
.link_area a:hover{
    text-decoration-color: #fff;
}
.link_area h3{
    font-family: 'Freestyle Script', sans-serif;
    margin-top: 40px;
    font-size: 48px;
    color: #fff;
}
.text-center{
    text-align: center;
}
.mt8{
    margin-top: 80px;
}
.mb12{
    margin-bottom: 120px;
}
.mb10{
    margin-bottom: 100px;
}
.mb8{
    margin-bottom: 80px;
}
.mb7{
    margin-bottom: 70px;
}
.mb6{
    margin-bottom: 60px;
}
.mb5{
    margin-bottom: 50px;
}
.mb3{
    margin-bottom: 30px;
}
.sp{
    display: none;
}
.red{
    color: red;
    font-weight: bold;
}
#playmovie{
    text-align: center;
    margin-top: 20px;
    padding: 10px 5px;
    box-sizing: border-box;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    font-size: 18px;
    transition: 0.4s;
    cursor: pointer;
}
#playmovie:hover{
    opacity: 0.7;
}
main a,
main a:hover{
    text-decoration: none;
}
main a:focus{
    outline: unset;
}
a .btn{
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    font-size: 1.2em;
    padding: 10px 60px;
    min-width: 400px;
    box-sizing: border-box;
    margin: 40px 0 50px;
}
.btns a .btn{
    min-width: auto;
    padding: 10px 20px;
    margin: 10px 0px;
}
#sublinks{
    background-color: #555;
    padding: 0px;
    box-sizing: border-box;
    border-radius: 10px;
}
#sublinks a .sublink_half{
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    width: 49%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 1.1em;
    line-height: 1.6em;
}
#sublinks a .sublink_half h5{
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 10px;
}
.contents h4{
    font-size: 2em;
    font-weight: bold;
    line-height: 1.8em;
    padding-bottom: 5px;
    border-bottom: 2px solid #000;
    margin-top: 50px;
    margin-bottom: 20px;
}
#slider,
#slider2{
    text-align: center;
    position: relative;
}
#slider p{
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: bold;
}
#slider .slide-arrow,
#slider2 .slide-arrow{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
}
#slider .prev-arrow::before,
#slider .next-arrow::before,
#slider2 .prev-arrow::before,
#slider2 .next-arrow::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid #000; /* 塗りつぶし */
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.prev-arrow,
.next-arrow {
    position: relative;
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* 背景を後ろに */
}
.prev-arrow {
    transform: rotate(180deg);
    left: 120px;
}
#slider2 .prev-arrow,
#slider2 .next-arrow {
    background: transparent;
}
#slider2 .slick-slide {
    margin: 0 15px;
    box-sizing: border-box;
}
.next-arrow {
    right: 120px;
}
.imgbox,.imgbox_half{
    position: relative;
}
.imgbox .imgbox_left,
.imgbox .imgbox_right,
.imgbox_half .imgbox_left,
.imgbox_half .imgbox_right{
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #fff;
    padding: 10px 30px;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: bold;
    z-index: 10;
}
.imgbox .imgbox_right,
.imgbox_half .imgbox_right{
    left: unset;
    right: 10px;
}
.imgbox_half p{
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 10px 30px;
    box-sizing: border-box;
    font-family: 'Freestyle Script', sans-serif;
    font-size: 2.5em;
    z-index: 2;
}
.half h5.itemtitle,
.quarter h5.itemtitle{
    padding: 0;
    margin: -20px 0 20px;
    font-size: 1.3em;
    line-height: 1.6em;
    font-weight: bold;
}
.half h5.itemcenter,
.quarter h5.itemcenter{
    padding: 0;
    margin: 10px 0 5px;
    font-size: 1.2em;
    line-height: 1.6em;
    font-weight: bold;
    text-align: center;
}
.half ul li{
    line-height: 2.2em;
}
.contents p a,
.half ul li a{
    text-decoration: underline;
    color: #00B0F0;
}
p.titlep{
    margin-bottom: 30px;
}
.caution{
    margin: -40px 0 50px;
}
.caution a{
    text-decoration: underline;
}
#x{
    margin-top: 200px;
}
#x h1{
    font-family: 'Zen Old Mincho', serif;
}

@media screen and (max-width: 1025px) {
    #mainvisual_img h2{
        font-size: 4.3em;
        right: 5%;
        bottom: 30%;
    }
}
@media screen and (max-width: 800px) {
    .prev-arrow {
        left: 50px;
    }
    .next-arrow {
        right: 50px;
    }
    #mainvisual_img h2{
        font-size: 3.5em;
        right: 5%;
        bottom: 20%;
    }
}
@media screen and (max-width: 600px) {
    #catch h1{
        font-size: 54px
    }
    #x h1{
        font-size: 32px;
    }
    a .btn{
        min-width: unset;
        max-width: 100%;
    }
    main{
        overflow-x: hidden;
    }
    #comment{
        padding: 30px 0 40px;
    }
    #comment h1{
        font-size: 1.4em;
    }
    .prev-arrow {
        left: 5px;
    }
    .next-arrow {
        right: 5px;
    }
    #slider .prev-arrow::before,
    #slider .next-arrow::before,
    #slider2 .prev-arrow::before,
    #slider2 .next-arrow::before{
        border-left: 20px solid #000;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }
    .prev-arrow,
    .next-arrow {
        width: 35px;
        height: 35px;
    }
    a .btn{
        font-size: 1em;
    }
    .quarter{
        width: 33%;
    }
    #mainvisual_img h2{
        font-size: 3em;
        right: 2%;
        bottom: 15%;
    }
}
@media screen and (max-width: 480px) {
    #mainvisual{
        margin-top: 0;
    }
    main{
        padding-top: 70px;
    }
    #catch h1{
        font-size: 44px
    }
    #catch h2{
        font-size: 38px
    }
    #comment p {
        font-size: 24px;
        line-height: 50px;
        text-align: left;
    }
    .comment2 {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        margin: 30px auto 15px;
    }
    .comment3 p {
        font-size: 18px;
        line-height: 40px;
        text-align: left;
    }
    a .btn{
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    #sublinks a .sublink_half,
    .half{
        display: block;
        width: 100%;
        padding: 10px;
    }
    .quarter{
        width: 50%;
        padding: 10px;
    }
    .quarter h5.itemcenter{
        font-size: 1em;
    }
    .contents h4{
        font-size: 1.5em;
        line-height: 1.5em;
        margin-top: 30px;
    }
    #slider p{
        margin-top: 5px;
        font-size: 1em;
    }
    #x{
        margin-top: 30px;
    }
    #x h1{
        font-size: 28px;
    }
    .imgbox .imgbox_left,
    .imgbox .imgbox_right,
    .imgbox_half .imgbox_left,
    .imgbox_half .imgbox_right{
        font-size: 1.1em;
    }
    .half h5.itemtitle{
        margin: 5px 0 20px;
    }
    .mt8{
        margin-top: 60px;
    }
    .mb12{
        margin-bottom: 100px;
    }
    .mb10{
        margin-bottom: 80px;
    }
    .mb8{
        margin-bottom: 60px;
    }
    .mb7{
        margin-bottom: 50px;
    }
    .mb6{
        margin-bottom: 40px;
    }
    .mb5{
        margin-bottom: 25px;
    }
    .mb3{
        margin-bottom: 15px;
    }
    .sp-left{
        text-align: left;
    }
    .pc{
        display: none;
    }
    .sp{
        display: unset;
    }
    #features .sp{
        display: block;
    }
    #playmovie{
        width: 300px;
        margin: 20px auto 0;
        max-width: 100%;
        font-size: 15px;
    }
    #mainvisual_img h2{
        font-size: 2.1em;
    }
}