/* トップページ用 */

#contentsall .swiper-slide {
overflow: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

#contentsall .swiper-slide a {
text-decoration:none;
}

#contentsall .swiper-slide a:hover {
opacity: 1;
}

#contentsall .swiper-button-prev,
#contentsall .swiper-button-next{
width: 30px;
height: 30px;
background-size: 30px 30px;
margin-top: -15px;
background-color: initial;
}

#contentsall .swiper-button-prev{
left: 10px;
}

#contentsall .swiper-button-next{
right: 10px;
}

#contentsall .swiper-button-prev:after,
#contentsall .swiper-button-next:after {
content: none;
}

#contentsall .swiper-button-prev {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

#contentsall .swiper-button-next {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

#contentsall .swiper-pagination-bullet {
background: #e0e0e0;
opacity: 1;
width: 8px;
height: 8px;
}

#contentsall .swiper-pagination-bullet-active {
background: #d52b1e; 
}

#contentsall .swiper-container {
position: relative;
aspect-ratio: 5/2;
}

#contentsall .swiper-container:before {
content: "";
display: block;
}

#contentsall .swiper-wrapper {
position: absolute;
top: 0;
left: 0;
}

#contentsall .swiper-wrapper img {
width: 100%;
height: auto;
}

*:focus {
outline: none;
}

#contentsall .mainimage img{
display: block;
width: 100%;
}

#contentsall{
font-family: "Hiragino Kaku Gothic ProN", sans-serif;
width: 100%;
}

#contentsall #fenderimage{
position: relative;
width: 100%;
}

#contentsall #fenderimage img{
width: 100%;
position: absolute;
left: 0px;
right: 0px;
margin: auto;
z-index: 8;
opacity: 0;
}

#contentsall #fenderimage img.active{
z-index: 10;
opacity: 1;
}

#contentsall #fenderimage img.last-active{
z-index: 9;
}

#contentsall #topcontents{
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
justify-content: center ;
padding: 0 0 0 20px;
list-style: none ;
letter-spacing: 0.15em;
}

#contentsall #maincontents{
width: 70%;
margin: 0 auto;
padding: 0 40px 0 0;
color: #555;
}

#contentsall #maincontents h3{
width: 100%;
font-weight: bold;
font-size: 18px;
line-height: 27px;
margin: 80px auto 0 ;
position: relative;
padding: 5px 0 5px 8px;
border-left: 6px solid #d52b1e;
}

#contentsall #maincontents h3 img{
float: right;
width: 60px;
display: block;
margin: 2px 8px 0 0;
}

#contentsall #maincontents h3::after {
position: absolute;
left: 0;
bottom: 0;
content: '';
width: 100%;
height: 0;
border-bottom: 2px solid #e0e0e0;
}

#contentsall .brandcomment{
width: 100%;
font-size: 100%;
color: #555;
margin: 20px auto 0;
line-height: 1.8em;
text-align: justify;
}

#contentsall .brand_search{
width: 100%;
margin: 20px auto 0;
padding: 0;
position: relative;
}

#contentsall .brand_search img{
width: 100%;
display:block;
}

#contentsall .brand_search_button{
top: 0;
left: 0;
width: 100%;
position: absolute;
display:flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
list-style: none;
}

#contentsall .brand_search_button li{
width: 50%;
}

#contentsall .brand_search_button li a{
display: block !important;
width: 100%;
padding: 0 0 56.25% !important;
margin: 0 !important;
position: relative;
z-index: 2;
overflow: hidden;
text-decoration:none;
}

#contentsall .brand_search_button li a span{
display: none;
}

#contentsall .brand_search_button li a::after {
top: -100%;
width: 100%;
height: 100%;
}

#contentsall .brand_search_button li a:hover::after {
top: 0;
background: linear-gradient(rgba(204, 204, 204,  .8), rgba(204, 204, 204, .3));
}

#contentsall .brand_search_button li a::before,
#contentsall .brand_search_button li a::after {
position: absolute;
z-index: -1;
display: block;
content: ''!important;
}

#contentsall .brand_search_button li a,
#contentsall .brand_search_button li a::before,
#contentsall .brand_search_button li a::after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all .3s;
transition: all .3s;
}

#contentsall .lk{
display:flex;
padding: 0;
list-style: none;
width: 100%;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-between;
}

#contentsall .lk li:nth-child(n+21){
display:none;
}

#contentsall .link_topcis{
flex-basis: calc(50% - 10px);
position: relative;
overflow: hidden;
margin: 20px 0 0;
}

#contentsall .link_topcis img{
width: 100%;
display:block;
}

#contentsall .news_linkbtn{
width: 100%;
text-align: center;
margin: 40px auto 0;
}

#contentsall .news_linkbtn a{
display: inline-block;
border: 1px solid #d52b1e;
box-sizing: border-box;
color: #fff;
background: #d52b1e;
padding: 1em 2.5em;
border-radius: 4px;
font-size: 16px;
line-height: 1em;
font-weight: bold;
transition: 0.25s;
}

#contentsall .news_linkbtn a:hover{
color: #d52b1e;
background-color: #fff;
font-weight: normal;
}

#contentsall .rightcontent{
padding: 0 20px 50px 0;
margin: 0;
width: 30%;
}

#contentsall .rightcontent a:link{
 color: #fff;
}

#contentsall .rightcontent a:visited{
color: #fff;
}

#contentsall .rightcontent a:hover{
color: #fff;
}

#contentsall .rightcontent a:active{
color: #fff;
}

#contentsall .rightcontent_title{
width: 100%;
font-weight: bold;
font-size: 18px;
line-height: 27px;
margin: 80px auto 0;
position: relative;
padding: 5px 0 5px 8px;
border-left: 6px solid #d52b1e;
color: #555;
}

#contentsall .rightcontent_title::after {
position: absolute;
left: 0;
bottom: 0;
content: '';
width: 100%;
height: 0;
border-bottom: 2px solid #e0e0e0;
}

#contentsall .demomovie_right {
width: 100%;
aspect-ratio: 16/9;
text-align: center;
position: relative;
margin: 20px auto 0;
}

#contentsall .demomovie_right iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}

#contentsall .new_icon{
position: relative;
}

#contentsall .new_icon::after{
position: absolute;
content: "NEW";
top: 0;
left: 0;
background-color: #d52b1e;
padding: 10px 25px;
color: #fff;
font-size: 14px;
line-height: 14px;
}

#contentsall figure.tpcs {
width: 100%;
position: relative;
overflow: hidden;
color: #555;
text-align: center;
font-size: 15px;
}

#contentsall figure.features {
width: 100%;
position: relative;
overflow: hidden;
color: #555;
text-align: center;
font-size: 15px;
margin: 20px auto 0 ;
}

#contentsall .tpcs_linkcomment, 
#contentsall .series_linkcomment{
font-size: 18px;
font-weight: bold;
line-height: 1.5em;
}

#contentsall figure.tpcs *, 
#contentsall figure.features * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: all 0.6s ease;
transition: all 0.6s ease;
}

#contentsall figure.tpcs img, 
#contentsall figure.features img {
opacity: 1;
width: 100%;
}

#contentsall figure.tpcs:after,
#contentsall figure.tpcs:before, 
#contentsall figure.features:after,
#contentsall figure.features:before {
background: #ffffff;
width: 200%;
height: 200%;
position: absolute;
content: '';
opacity: 0.6;
-webkit-transition: all 0.55s ease-in-out;
transition: all 0.55s ease-in-out;
z-index: 1;
}

#contentsall figure.tpcs:after,
figure.features:after {
top: 0;
left: 0;
-webkit-transform: skew(-45deg) translateX(-150%);
transform: skew(-45deg) translateX(-150%);
}

#contentsall figure.tpcs:before,
#contentsall figure.features:before {
right: 0;
bottom: 0;
-webkit-transform: skew(-45deg) translateX(150%);
transform: skew(-45deg) translateX(150%);
}

#contentsall figure.tpcs figcaption,
#contentsall figure.features figcaption {
position: absolute;
top: 50%;
left: 0;
width: 100%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 2;
}

#contentsall figure.tpcs p,
#contentsall figure.features p {
margin: 0;
width: 100%;
opacity: 0;
}

#contentsall figure.tpcs a, 
figure.features a {
left: 0;
right: 0;
top: 0;
bottom: 0;
position: absolute;
z-index: 2;
}

#contentsall figure.tpcs:hover img,
#contentsall figure.tpcs.hover img,
#contentsall figure.features:hover img
#contentsall figure.features.hover img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}

#contentsall figure.tpcs:hover:after,
#contentsall figure.tpcs.hover:after,
#contentsall figure.features:hover:after,
#contentsall figure.features.hover:after {
-webkit-transform: skew(-45deg) translateX(-50%);
transform: skew(-45deg) translateX(-50%);
}

#contentsall figure.tpcs:hover:before,
#contentsall figure.tpcs.hover:before,
#contentsall figure.features:hover:before,
#contentsall figure.features.hover:before {
-webkit-transform: skew(-45deg) translateX(50%);
transform: skew(-45deg) translateX(50%);
}

#contentsall figure.tpcs:hover figcaption p,
#contentsall figure.tpcs.hover figcaption p,
#contentsall figure.features:hover figcaption p,
#contentsall figure.features.hover figcaption p {
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s;
}

#contentsall figure.tpcs:hover figcaption p,
#contentsall figure.tpcs.hover figcaption p,
#contentsall figure.features:hover figcaption p,
#contentsall figure.features.hover figcaption p {
opacity: 1;
}

#contentsall .seriestitle{
width : 100% ;
margin: 0;
padding: 5px 0;
font-weight: bold;
font-size: 13px;
line-height: 1.8em;
color: #555;
background-color: #f9f9f9;
}

#contentsall .sns_button{
width: 100%;
margin: 20px auto 0;
display:flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
list-style: none;
text-align: center;
font-size: 26px;
line-height: 1em;
text-decoration:none;
color: #fff;
}

#contentsall .sns_button div{
width: 50px;
height: 50px;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border-radius: 25px;
transition: 0.25s;
}

#contentsall .sns_button div:hover{
opacity: 0.7;
}

#contentsall .sns_button a{
color: #fff;
z-index:10;
font-size: 26px;
line-height: 1em;
}

#contentsall .sns_button_youtube{
background: #ff0000;
}

#contentsall .sns_button_twitter{
background: #55acee;
}

#contentsall .sns_button_facebook{
background: #305097;
}

#contentsall .sns_button_insta{
position: relative;
background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
overflow: hidden;
width: 100%;
height: 100%;
}

#contentsall .sns_button_insta:before{
content: '';
position: absolute;
top: 0;
left: -100%;
width: 200%;
height: 1000%;
background: -webkit-radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
background: radial-gradient(#ffdb2c 10%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
}


@media only screen and (max-width: 959px) {

#contentsall .swiper-button-prev,
#contentsall .swiper-button-next {
display: none;
}

#contentsall #topcontents{
display: block;
padding: 0;
list-style: none;
}

#contentsall #maincontents{
width: 100%;
margin: 0 auto;
padding: 0 5%;
}

#contentsall #maincontents h3{
width: 100%;
margin: 60px auto 0;
font-size: 18px;
line-height: 24px;
}

#contentsall #maincontents h3 img{
width: 50px;
}

#contentsall #maincontents h3.topicstitle{
width: 100%;
margin: 50px auto 0;
font-size: 18px;
line-height: 1.5em;
}

#contentsall .lk li:nth-child(n+21){
display:none;
}

#contentsall .link_topcis{
flex-basis: 47.5%;
}

#contentsall .brand_search{
width: 100%;
margin: 20px auto 0;
padding: 0;
position: relative;
}

#contentsall .brandcomment{
width: 100%;
font-size: 100%;
color: #555;
margin: 20px auto 0;
}

#contentsall .tpcs_linkcomment{
font-size: 12px;
line-height: 20px;
}

#contentsall figure.tpcs {
font-size: 12px;
line-height: 14px;
}

#contentsall figure.features {
width: 100%;
margin: 20px auto 0;
}

#contentsall .rightcontent{
width: 100%;
padding: 0 5%;
}

#contentsall .rightcontent_title{
width: 100%;
margin: 60px 0 0px;
font-size: 18px;
line-height: 24px;
}

#contentsall .demomovie_right{
width: 100%;
margin: 20px auto 0;
}

#contentsall .new_icon::after{
top: 0;
left: auto;
right: 0;
padding: 8px 25px;
font-size: 12px;
line-height: 12px;
}

#contentsall .rightcontent_product{
display:flex;
padding: 0;
list-style: none;
width: 100%;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-between;
}

#contentsall .rightcontent_product .features{
flex-basis: calc(50% - 10px);
position: relative;
overflow: hidden;
margin: 20px 0 0;
}

#contentsall .sns_button{
margin: 20px 0 0 ;
font-size: 24px;
justify-content: center;
}

#contentsall .sns_button a{
display: inline-block;!important;
width: 100%;
z-index:10;
padding: 0; !important;
}

#contentsall .sns_button div{
margin: 0 10px;
}
}


@media only screen and (max-width: 550px) {

#contentsall .rightcontent_product .features{
flex-basis: 100%;
}
}



/* トピックスページ用 */

#subcontents{
font-family: "Hiragino Kaku Gothic ProN", sans-serif;
width: 100%;
padding: 0 5%;
letter-spacing: 0.15em;
}

#subcontents h4{
display: block;
position: relative;
width: 100%;
margin: 100px auto 0;
font-size: 36px;
line-height: 46px;
text-align: center;
}

#subcontents h4:before{
content: '';
position: absolute;
left: 50%;
bottom: -20px;
display: inline-block;
width: 70px;
height: 2px;
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translate(-50%);
background-color: #d52b1e;
color: #555;
}

#subcontents .comments p{
width: 100%;
margin: 70px auto 0;
text-align: center;
font-size: 18px;
line-height: 1.8em;
color: #555;
}

#subcontents .news_lk{
width: 100%;
margin: 50px auto 0; 
display: flex;
padding: 0;
list-style: none;
flex-wrap: wrap;
box-sizing: border-box;
justify-content: space-between;
}

#subcontents .news_lk:after{
content: "";
margin: 50px 0 0; 
width: calc(100% / 3 - 15px);
height: 0;
}

#subcontents .link_news{
width: calc(100% / 3 - 15px);
overflow: hidden;
margin: 50px 0 0; 
transition: 0.25s;
}

#subcontents .link_news a{
display: block;
}

#subcontents .link_news:hover{
opacity: 0.7;
}

#subcontents .news_image{
width: 100%;
margin: 0;
padding: 0; 
position: relative;
}

#subcontents .news_image:after{
content: "READ MORE";
position: absolute;
right: 0; 
bottom: 0;
padding: 10px 20px; 
box-sizing: border-box;
font-size: 14px;
line-height: 1em;
color: #fff;
background-color: rgba(213,43,30,0.9);
}

#subcontents .news_image img{
width: 100%;
display:block;
}

#subcontents .news_text{
display: block;
width: 100%;
margin: 0;
padding: 10px 10px 0;
box-sizing: border-box;
font-size: 18px;
line-height: 1.8em;
font-weight: bold;
color: #d52b1e;
}

#subcontents .news_text p{
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
margin: 5px 0 0; 
font-size: 14px;
line-height: 1.8em;
color: #555;
font-weight: normal;
}


@media only screen and (max-width: 959px) {

#subcontents h4{
font-size: 24px;
line-height: 1.5em;
margin: 80px auto 0;
}

#subcontents .comments p{
margin: 60px auto 0;
font-size: 16px;
text-align: left;
}

#subcontents .news_lk{
width: 100%;
margin: 40px auto 0; 
display: flex;
padding: 0;
list-style: none;
flex-wrap: wrap;
box-sizing: border-box;
justify-content: space-between;
}

#subcontents .news_lk:after{
margin: 40px 0 0; 
}

#subcontents .link_news{
width: 47.5%;
margin: 40px 0 0; 
}

#subcontents .news_image:after{
padding: 5px 10px; 
font-size: 10px;
line-height: 10px;
}

#subcontents .news_text{
font-size: 13px;
}

#subcontents .news_text p{
font-size: 12px;
}
}


@media only screen and (max-width: 550px) {

#subcontents .link_news{
width: 100%;
}

#subcontents .news_lk:after{
margin: 0; 
}