/*
  Theme Name: Cartop Mobile
  Template: cartop
*/
#wpadminbar {
  display: none;
}

#page, #my-page {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#main {
  width: 100%;
  display: block;
  padding-bottom: 40px;
  max-width: 840px;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

#main-content {
  display: block;
}

#primary {
  display: block;
  margin: 0 auto 40px;
  width: 98%;
  clear: both;
  float: none;
}
body.home #primary {
  width: 100%;
}

#secondary {
  border-top: 1px solid #999;
  padding-top: 5px;
  display: block;
  float: none;
  width: 98%;
  margin: 0 auto;
}

#header {
  min-width: 0;
  width: 100%;
  background-color: #fff;
  padding-top: 42px;
  margin-bottom: 20px;
}

body.home #header {
  margin-bottom: 0;
}

#mobile-toolbar {
  display: block;
  height: 42px;
  padding: 0;
  background-color: #333;
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 1px #000;
}
#mobile-toolbar .site-title.in-bar {
  height: 30px;
  max-width: 184px;
  width: auto;
  float: none;
  margin: 6px auto 0 10px;
}
#mobile-toolbar .site-title.in-bar img {
  width: auto;
  max-height: 100%;
}
#mobile-toolbar .site-title.in-bar a {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  color: #fff;
}
#mobile-toolbar button.menu {
  position: absolute;
  right: 5px;
  top: 4px;
  padding: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-shadow: none;
}
#mobile-toolbar .search {
  position: absolute;
  right: 55px;
  top: 9px;
  font-size: 24px;
  line-height: 24px;
}
#mobile-toolbar .search a {
  color: #fff;
}

.hamburger-box {
  width: 30px;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
  width: 30px;
  background-color: #fff;
  border-radius: 0;
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before {
  background-color: #fff;
}

#search-container {
  display: none;
  top: 42px;
  padding: 10px;
  height: 60px;
  width: 100%;
  background-color: #a28f4a;
}
#search-container .search-box input.search-field {
  background-color: #fff;
  height: 40px;
  font-size: 1rem;
  border-radius: 3px;
}

input#searchsubmit {
  top: 14px;
  right: 12px;
  background-color: transparent;
  color: #a28f4a;
}

#header-ad-space-sp {
  z-index: 100;
  background-color: #fff;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#header.single-ads .title-area {
  padding: 20px 0 0 !important;
  margin: 0 !important;
}

:root {
  --mm-ocd-width: 86%;
  --mm-spn-line-height: 21px;
}

.mm-spn.mm-spn--navbar:after {
  font-weight: bold;
  color: #fff;
  opacity: 1;
}

.mm-ocd {
  top: 42px;
  z-index: 9999999999;
}

#mobile-global-menu:not(.mm-spn) {
  display: none;
}

#mobile-global-menu li:nth-last-child(-n+6):after {
  margin-left: 0 !important;
}
#mobile-global-menu li:nth-last-child(-n+5) {
  width: 50%;
  float: left;
}
#mobile-global-menu li:nth-last-child(-n+5):nth-child(2n+1) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
#mobile-global-menu li:nth-last-child(-n+5):before {
  display: none;
}
#mobile-global-menu li:nth-last-child(-n+5) a {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  padding: 1rem;
  min-height: 4.4rem;
}

.nav-single ul {
  display: flex;
  flex-direction: column-reverse;
  row-gap: 1rem;
}
.nav-single li span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#footer-nav {
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 1200px;
}
#footer-nav ul.cat-nav {
  flex-basis: auto;
  -moz-column-count: 1;
  column-count: 1;
}
#footer-nav ul.cat-nav li {
  margin-left: 0 !important;
  width: 100% !important;
}
#footer-nav.page-nav {
  flex-basis: auto;
}

#footer-pr-nav {
  max-width: 1200px;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#main-gallery {
  height: auto;
  padding-bottom: 2.75rem;
  margin-bottom: 0;
}
#main-gallery .swiper-slide .text-wrapper {
  padding: 0.5rem;
}
#main-gallery .swiper-slide .text-wrapper time {
  font-size: 0.8rem;
}
#main-gallery .swiper-slide .text-wrapper h2 {
  font-size: 1rem;
}
#main-gallery .post-meta-wrapper {
  text-align: right;
}
#main-gallery .swiper-button-next, #main-gallery .swiper-button-prev {
  top: calc(50% - 4rem);
}

.gallery-wrapper .swiper-horizontal > .swiper-pagination-bullets, .gallery-wrapper .swiper-pagination-bullets.swiper-pagination-horizontal, .gallery-wrapper .swiper-pagination-custom, .gallery-wrapper .swiper-pagination-fraction {
  top: auto;
  bottom: 0px;
}

.latest-news-main-content.latest .looped-content h2, .latest-news-main-content.latest .looped-content h3 {
  font-size: 0.9rem;
}

.archive-article-loop.latest .looped-content {
  flex-direction: column;
  row-gap: 0;
}
.archive-article-loop.latest .looped-content .post-meta-wrapper.gold {
  order: 1;
  margin: 0;
}
.archive-article-loop.latest .looped-content .post-meta-wrapper.gold .post-meta a {
  max-width: initial;
}
.archive-article-loop.latest .looped-content .thumbnail {
  order: 2;
}
.archive-article-loop.latest .looped-content .entry-header {
  order: 3;
  padding: 0.75rem;
}
.archive-article-loop.latest .looped-content h2 {
  margin: 0;
}
.archive-article-loop.latest .looped-content .excerpt {
  padding: 0 0.75rem 0.75rem;
  order: 4;
}
.archive-article-loop.latest .looped-content .excerpt p {
  margin: 0;
  font-size: 0.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.archive-article-loop-sp.latest .looped-content {
  display: -ms-grid;
  display: grid;
  grid-template-areas: "post-meta post-meta" "thumbnail header";
  -moz-column-gap: 0.75rem;
  column-gap: 0.75rem;
  -ms-grid-columns: 1fr 0.75rem 1fr;
  grid-template-columns: 1fr 1fr;
}
.archive-article-loop-sp.latest .looped-content .post-meta-wrapper {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: post-meta;
  margin-bottom: 0;
}
.archive-article-loop-sp.latest .looped-content .post-meta-wrapper.gold {
  display: -ms-grid;
  display: grid;
  -moz-column-gap: 0.75rem;
  column-gap: 0.75rem;
  -ms-grid-columns: 1fr 0.75rem 1fr;
  grid-template-columns: 1fr 1fr;
}
.archive-article-loop-sp.latest .looped-content .post-meta-wrapper.gold .post-meta a {
  max-width: initial;
  margin: 0.1rem 0;
}
.archive-article-loop-sp.latest .looped-content .post-meta-wrapper time {
  color: #a28f4a;
}
.archive-article-loop-sp.latest .looped-content header {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  grid-area: header;
}
.archive-article-loop-sp.latest .looped-content header h2, .archive-article-loop-sp.latest .looped-content header h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.archive-article-loop-sp.latest .looped-content .thumbnail {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: thumbnail;
  width: 100%;
}
.archive-article-loop-sp.latest .looped-content .thumbnail a {
  width: 100%;
  height: auto;
  aspect-ratio: 176/118;
}

#latest-news.latest-news-main-content.latest h2 {
  background-image: url(images/whatsnew-sp.png);
  background-position: 1rem bottom;
  line-height: 29px;
  padding-right: 1rem;
  font-size: 1.5rem;
}
#latest-news.latest-news-main-content.latest h2 span {
  line-height: 1;
  vertical-align: bottom;
  margin-bottom: -3px;
}
#latest-news.latest-news-main-content.latest .looped-content {
  padding: 0.7rem;
}
#latest-news.latest-news-main-content.latest .post-meta-wrapper {
  padding-right: 0.5rem;
  flex: 0 0 100%;
  order: initial;
}
#latest-news.latest-news-main-content.latest .post-meta {
  font-size: 9px;
  display: inline;
}
#latest-news.latest-news-main-content.latest .post-meta a {
  display: inherit;
}
#latest-news.latest-news-main-content.latest .post-meta.category a {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  border-color: #a28f4a;
  color: #a28f4a;
}
#latest-news.latest-news-main-content.latest .ctp-new-label {
  width: 36px;
  height: 36px;
}
#latest-news.latest-news-main-content.latest .ctp-new-label span {
  font-size: 9px;
  width: 51px;
  height: 51px;
  transform: rotateZ(45deg) translate(0, -51px);
}
#latest-news.latest-news-main-content.latest header {
  flex-basis: max(calc(100% - 55.5555%), calc(100% - 186px));
  padding: 0 0 0 0.75rem;
}
#latest-news.latest-news-main-content.latest h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}
#latest-news.latest-news-main-content.latest .thumbnail {
  flex-basis: 55.5555%;
  max-width: 186px;
  aspect-ratio: 186/126;
}

.latest-news-main-content.latest .looped-content .thumbnail > a {
  width: 100%;
  height: 100%;
}

#cat-latest-area .cat-latest.latest .cat-latest-loop-wrapper {
  padding: 0.75rem;
}
.tag-description.editors-and-writers {
  padding: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  align-items: center;
  grid-template-areas: "face-photo name-wrapper" "face-photo title" "description description" "writers-and-editors-profie-sns-links writers-and-editors-profie-sns-links";
  font-size: 0.85rem;
}
.tag-description.editors-and-writers.single {
  grid-template-areas: "face-photo name-wrapper" "face-photo title" "description description" "writers-and-editors-profie-sns-links writers-and-editors-profie-sns-links" "link link";
}
.tag-description.editors-and-writers.single.supervisor {
  grid-template-areas: "face-photo name-wrapper" "title title" "description description" "writers-and-editors-profie-sns-links writers-and-editors-profie-sns-links" "note note";
}
.tag-description.editors-and-writers.supervisor .face-photo {
  width: 130px;
}
.tag-description.editors-and-writers .name-wrapper {
  flex-direction: column;
}
.tag-description.editors-and-writers .name {
  font-size: 1.1rem;
}
.tag-description.editors-and-writers .name .en {
  font-size: 1rem;
  display: block;
}
.tag-description.editors-and-writers.supervisor {
  -ms-grid-columns: 130px 1fr;
  grid-template-columns: 130px 1fr;
}
.tag-description.editors-and-writers.supervisor:not(.archive) {
  max-height: 340px;
}
.tag-description.editors-and-writers.supervisor .name-wrapper {
  order: 1;
}
.tag-description.editors-and-writers.supervisor .name {
  text-align: center;
}
.tag-description.editors-and-writers.supervisor .name .ja {
  font-size: 1.45rem;
}
.tag-description.editors-and-writers.supervisor .name .en {
  font-size: 0.9rem;
}
.tag-description.editors-and-writers.supervisor .face-photo {
  order: 2;
  -ms-grid-row-align: center;
  align-self: center;
}
.tag-description.editors-and-writers.supervisor .supervisor-profile {
  order: 3;
}
.tag-description.editors-and-writers.supervisor dl {
  order: 4;
}
.tag-description.editors-and-writers.supervisor p.supervisor-note {
  order: 5;
}
.tag-description.editors-and-writers:not(.single) dt:not(.name):not(.title) {
  font-size: 0.75rem;
}
.tag-description.editors-and-writers .writers-and-editors-profie-sns-links {
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: writers-and-editors-profie-sns-links;
}
.tag-description.editors-and-writers .writers-and-editors-profie-sns-links ul {
  margin: 1rem 0;
}

.editors-and-writers-description {
  margin-right: 0;
  margin-left: 0;
}
#cat-latest-area .cat-latest.latest article:not(:first-child) h3 a,
.wct-related-posts.text article:not(:first-child) h3 a {
  min-height: initial;
}

#youtube-movie-latest .swiper-horizontal > .swiper-pagination-bullets, #youtube-movie-latest .swiper-pagination-bullets.swiper-pagination-horizontal, #youtube-movie-latest .swiper-pagination-custom, #youtube-movie-latest .swiper-pagination-fraction {
  bottom: 0;
}
.jms-archive-loop .coming-soon {
  min-height: 10rem;
}
.jms-archive-loop .coming-soon p {
  font-size: 1.25rem;
}

.jms-maker-loop .looped-content:nth-of-type(n+2) {
  -moz-column-gap: 0.5rem;
  column-gap: 0.5rem;
}
.jms-maker-loop .looped-content:nth-of-type(n+2) .thumbnail {
  flex: 0 0 60px;
}

.entry-meta-sns-wrapper {
  flex-direction: column-reverse;
}

.entry-categories-and-tags {
  text-align: left;
}

.single .entry-footer {
  padding-right: 0;
  padding-left: 0;
}

.content-excerpt {
  padding: 1rem;
}

body.attachment h1.entry-title {
  min-height: calc((4.8vw - .6px) * 2.4);
}

.supervisor-comment-shortcode {
  padding: 0.5rem;
  gap: 1rem;
}
.supervisor-comment-shortcode .supervisor-wrapper {
  flex: 0 0 90px;
}
.supervisor-comment-shortcode .comment-title, .supervisor-comment-shortcode .supervisor-name {
  font-size: 0.8rem;
}

.wct-article-image-thumbs h2 {
  text-align: center;
}

#maker-links .h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.75rem;
}
#maker-links .h2:before {
  margin: 0;
}
#maker-links .maker-section ul {
  padding: 0 5px;
}
#maker-links .maker-section li {
  flex-basis: 50%;
}

.car-term-links {
  margin: 20px 0;
}
.car-term-links ul li a {
  font-size: 1rem;
}

.wct-related-posts h3,
.wct-recommend-posts h3 {
  text-align: center;
}
.wct-related-posts article.post-entry,
.wct-recommend-posts article.post-entry {
  margin: 0;
}

.wct-related-posts:not(.text) ul {
  flex-direction: column;
}
.wct-related-posts:not(.text) ul li {
  clear: both;
  width: 100%;
  margin-right: 0;
  overflow: hidden;
}
.wct-related-posts:not(.text) ul li .tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.wct-related-posts:not(.text) header {
  margin: 0 !important;
}
.wct-related-posts:not(.text) .thumbnail {
  width: 106px;
  height: 122px;
}
.wct-related-posts:not(.text) .post-meta-wrapper.gold {
  margin-bottom: 0.1rem;
}
.wct-related-posts ul li p {
  font-size: 1rem;
  max-height: 3rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.wct-related-posts.text {
  padding: 0;
}
.wct-related-posts.text li {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0 5px;
  flex-basis: 50%;
}
.wct-related-posts.text li img {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.usedcar-ranking-related-wrapper {
  margin: 30px 0;
  padding: 0 5px;
  display: -ms-grid;
  display: grid;
  -moz-column-gap: auto;
  column-gap: auto;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.wct-recommend-posts h3 br {
  display: inline;
}
.wct-recommend-posts header {
  padding: 1rem;
}
.wct-recommend-posts h4 {
  font-size: 1.1rem;
}
.wct-recommend-posts ul li {
  aspect-ratio: 1/1;
}
.wct-recommend-posts article {
  height: 100%;
}
.wct-recommend-posts .thumbnail:after {
  border-width: 7px;
}

.maker-related-posts ul {
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
}

.usedcar-ranking-related-wrapper {
  margin: 30px 0;
  padding: 0 5px;
  display: -ms-grid;
  display: grid;
  -moz-column-gap: auto;
  column-gap: auto;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

#recommend-usedcar-cars ul,
ul.usedcar-cars-list > li > ul,
ul.usedcar-makers-list,
ul.usedcar-types-list {
  -ms-grid-columns: 1fr 1rem 1fr;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  row-gap: 1rem;
}

ol.archives-links-list > li ol li {
  flex: 0 0 16.6666666%;
}

body.autobacs-50anniv-carlife-festa .entry-header .catch {
  font-size: 1.1rem;
}
body.autobacs-50anniv-carlife-festa .entry-header .main {
  font-size: 2.4rem;
}

h2.carlife-festa-content-header {
  font-size: 1.2rem;
}

.carlife-festa-contents ul {
  margin-left: 5px;
  margin-right: 5px;
  -moz-column-gap: 0.5rem;
  column-gap: 0.5rem;
  row-gap: 0.5rem;
}
.carlife-festa-contents ul h3 {
  padding: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: 2.66rem;
}

.widget-editors-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 10px;
  column-gap: 10px;
  row-gap: 10px;
}
.widget-editors-list li {
  min-width: 0px;
  display: block;
}
.widget-editors-list li h4 {
  font-size: 1rem;
  text-align: center;
}
.widget-editors-list li img {
  width: 100%;
}
.widget-editors-list li p.link a:after {
  display: none;
}

.widget.banner-usedcar.sp {
  padding: 1.25rem;
  margin: 0.25rem 0;
  text-align: center;
}

#widget_code_php_in_widget-49 .widget-title {
  margin-bottom: 1rem;
}
ul.sns-icons li.sns-icon {
  width: 36px;
}

ul.sns-icons li.sns-icon .sns-name {
  display: none;
}

ul.sns-icons li.sns-icon .sns-count {
  display: none;
}

.pc-br {
  display: none;
}

ul.cartop-breadcrumb {
  margin-left: 5px;
}

.widget .sidebar-banner {
  text-align: center;
}

html[lang] {
  margin-top: 0 !important;
}

#google_ads_iframe_\/62532913\/s_webcartop_320x180_header_11210_0__container__ iframe {
  min-height: 100px;
  max-height: 180px;
  overflow: hidden;
}
.single-ads #footer {
  padding: 20px 0 130px;
}

.gallery-item img {
  max-width: 98%;
}

.gallery-columns-2 figure.gallery-item {
  max-width: 48%;
  margin-left: 1%;
  margin-right: 1%;
}

.gallery-columns-3 figure.gallery-item {
  max-width: 31.3333%;
  margin-left: 1%;
  margin-right: 1%;
}

.gallery-columns-4 figure.gallery-item,
.gallery-columns-5 figure.gallery-item,
.gallery-columns-6 figure.gallery-item,
.gallery-columns-7 figure.gallery-item,
.gallery-columns-8 figure.gallery-item,
.gallery-columns-9 figure.gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
  max-width: 23%;
  margin-left: 1%;
  margin-right: 1%;
}

.gallery-columns-2 .gallery-item dt,
.gallery-columns-3 .gallery-item dt,
.gallery-columns-4 .gallery-item dt,
.gallery-columns-5 .gallery-item dt,
.gallery-columns-6 .gallery-item dt,
.gallery-columns-7 .gallery-item dt,
.gallery-columns-8 .gallery-item dt,
.gallery-columns-9 .gallery-item dt {
  max-width: 96%;
}

.gallery-columns-2 .gallery-item img,
.gallery-columns-3 .gallery-item img,
.gallery-columns-4 .gallery-item img,
.gallery-columns-5 .gallery-item img,
.gallery-columns-6 .gallery-item img,
.gallery-columns-7 .gallery-item img,
.gallery-columns-8 .gallery-item img,
.gallery-columns-9 .gallery-item img {
  max-width: 96%;
}

.gallery-columns-2 .gallery-item dd,
.gallery-columns-3 .gallery-item dd,
.gallery-columns-4 .gallery-item dd,
.gallery-columns-5 .gallery-item dd,
.gallery-columns-6 .gallery-item dd,
.gallery-columns-7 .gallery-item dd,
.gallery-columns-8 .gallery-item dd,
.gallery-columns-9 .gallery-item dd {
  max-width: 94%;
}

.widget ul.wpp-list li .thumbnail {
  margin-right: 20px;
}

.widget ul.wpp-list li h4 {
  width: auto;
  float: none;
  font-size: 16px;
  height: auto;
}

.widget ul.wpp-list li p.excerpt {
  width: auto;
  float: none;
  font-size: 14px;
}

.widget #searchform {
  display: none;
}

.single-latest-widget h2.latest-title {
  border-left: none;
  padding: 0 0 5px 5px;
  border-bottom: 2px solid #e50014;
}

.home .latest .post-entry .entry-title,
.single-latest-widget .post-entry .entry-title {
  height: auto;
}

.home .latest.cat-latest {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
}

.home .latest.cat-latest .post-entry {
  width: 100%;
  margin: 0 0 5px;
  padding: 0 0 5px;
}

.home .latest.cat-latest .post-entry .wrapper {
  float: none;
  width: 100%;
}

.home .latest.cat-latest .post-entry .entry-summary {
  min-height: initial;
}

img.alignleft,
img.alignright {
  display: block;
  float: none;
  margin: 0 auto 10px;
  max-width: 100%;
}

.home .latest .post-entry .entry-summary.type-movies {
  height: auto;
}

.home #featured-posts.latest.tms .entry-header {
  max-width: 208px;
  width: 45%;
  float: left;
  margin: 0 10px 0 0;
}

.home #featured-posts.latest.tms .post-entry {
  padding: 5px 0;
  margin: 0;
}

.home #featured-posts.latest.tms .post-entry .entry-title {
  font-size: 20px;
}

.home #featured-posts.latest.tms .post-entry.part-2 .entry-title {
  font-size: 16px;
}

.home #featured-posts.latest.tms .post-entry .entry-title a {
  padding: 13px 0;
  height: 60px;
}

.home #featured-posts.latest.tms .post-entry.part-2 .entry-title a {
  padding: 19px 0;
  height: 48px;
}

/* archive */
.loop .wp-pagenavi {
  margin-top: 20px;
}

/* imp. vote */
.entries .entry-item {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  border: none;
  border-bottom: 1px solid #e50014;
  clear: both;
  overflow: hidden;
}

.entries .entry-item article img.thumbnail {
  float: left;
  width: 30%;
  margin-right: 10px;
}

.entries.year2014 .entry-item article img.thumbnail {
  margin-right: 0;
}

.entries .entry-item article .wrapper {
  width: 68%;
  float: right;
}

.entries .entry-item article p.shop {
  font-size: 16px;
}

.entries .entry-item article h4 {
  font-size: 20px;
}

.imp-entry .image-area img.main {
  margin: 0 0 4px 2px;
  max-width: 99%;
}

.imp-entry .image-area ul li {
  width: 31%;
  margin: 0 1% 2%;
  display: block;
  float: left;
}

.imp-entry .info {
  clear: both;
}

.imp-entry .entry-content .info p.catch {
  font-size: 18px;
}

#imp-vote201411 {
  table-layout: fixed;
}

#imp-vote201411 th {
  width: 25%;
}

#imp-vote201411 input,
#imp-vote201411 textarea {
  max-width: 95%;
}

#imp-vote201411 input[name="voter-tel[data][0]"],
#imp-vote201411 input[name="voter-tel[data][1]"],
#imp-vote201411 input[name="voter-tel[data][2]"] {
  max-width: 25%;
}

#header-ad-space-sp .widget-wrapper * {
  margin: 5px 0;
}

#header-ad-space-sp .widget-wrapper div#div-gpt-ad-1444387828773-3 {
  margin: 0 auto;
}

#primary.image-attachment {
  width: 100%;
}

.image-content-wrapper {
  width: 96%;
  margin: 0 auto;
}

#attachment-area.swiper-container {
  padding: 0 3%;
  margin: 10px 0 20px;
}

.swiper-slide {
  opacity: 0;
}
#maker-top ul li {
  width: 50%;
}

.wct-article-image-thumbs li {
  box-sizing: border-box;
}
.pc-switcher {
  clear: both;
  text-align: center;
  margin: 12px 0 0 0;
}

.imp-entry .click-note {
  display: none;
}

.entries.ranking .entry-item {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.entries.ranking .entry-item header h3 {
  font-size: 20px;
  line-height: 20px;
  height: 18px;
}

.entries .entry-item.ranking1 {
  text-align: left;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.entries .entry-item.ranking1 * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.entries .entry-item.ranking1 img {
  text-align: center;
}

.entries .entry-item.ranking1 header h3 {
  font-size: 28px;
  line-height: 28px;
  height: 26px;
  border-width: 8px;
}

.entries .entry-item.ranking1 p.shop {
  font-size: 16px;
}

.entries .entry-item.ranking1 h4 {
  font-size: 20px;
}

.entries .entry-item.ranking2,
.entries .entry-item.ranking3 {
  text-align: left;
  width: 100%;
  margin: 0 0 20px;
}

.entries .entry-item.ranking2 *,
.entries .entry-item.ranking3 * {
  text-align: left;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.entries .entry-item.ranking2 header h3,
.entries .entry-item.ranking3 header h3 {
  font-size: 24px;
  line-height: 24px;
}

.entries .entry-item.ranking2 img,
.entries .entry-item.ranking3 img {
  text-align: center;
}

.entries.sub-ranking .entry-item {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.entries.sub-ranking .entry-item p.shop {
  font-size: 10px;
}

.entries.sub-ranking .entry-item h4 {
  font-size: 13px;
}

#primary-sidebar02 .adsbygoogle {
  margin-right: auto;
  margin-left: auto;
}

.sidebar-google-ad {
  text-align: center;
}

.wct-article-image-thumbs {
  margin-bottom: 20px;
}

body.attachment #header {
  margin-bottom: 10px;
}

body.attachment .entry-title {
  font-size: calc(4.8vw - 0.6px) !important;
  line-height: 1.2;
  margin-bottom: 5px;
}

.table-scroll-wrapper {
  overflow: auto;
}

.table-scroll-wrapper table {
  width: auto !important;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

#toc_container {
  box-sizing: border-box;
}

body.mechadoc-gallery .ats-overlay-bottom-wrapper-rendered,
body.postid-569147 .ats-overlay-bottom-wrapper-rendered {
  display: none !important;
}

.gallery-table-wrapper {
  flex-direction: column;
}
.gallery-table-wrapper .table-wrapper {
  margin-left: 0;
}

.usedcar-search-result .entry-content .equipment-list ul li {
  flex: 0 1 calc(50% - 20px);
}

#usedcar-slide-thumbs.swiper-container {
  display: none;
}

#usedcar-search-forms ul li {
  flex-basis: 50%;
}

ul#usedcar-search-list li {
  flex: 0 0 calc(100% - 10px);
}

@media screen and (min-width: 320px) {
  /* 320px up */
  #maker-links .maker-section li {
    flex-basis: 25%;
  }
  #recommend-usedcar-cars ul,
ul.usedcar-cars-list > li > ul,
ul.usedcar-makers-list {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }

  ul#usedcar-search-list li {
    flex: 0 0 calc(50% - 10px);
  }
}

@media screen and (min-width: 361px) {
  /* 320px up */
  ul#usedcar-search-list li {
    flex: 0 0 calc(50% - 10px);
  }
}

@media screen and (min-width: 481px) {
  /* 481px up */
  #maker-links .maker-section li {
    flex-basis: 20%;
  }
  ul.usedcar-cars-list > li > ul,
ul.usedcar-makers-list {
    -ms-grid-columns: (1fr)[4];
    grid-template-columns: repeat(4, 1fr);
  }

  ul.usedcar-types-list {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 641px) {
  /* 641px up */
  #maker-links .maker-section li {
    flex-basis: 16.666666%;
  }
  .wct-related-posts.text li {
    flex-basis: 33.333333%;
  }
  ul.usedcar-cars-list > li > ul,
ul#usedcar-search-list li {
    flex: 0 0 calc(33.3333333% - 10px);
  }

  #recommend-usedcar-cars ul {
    -ms-grid-columns: (1fr)[5];
    grid-template-columns: repeat(5, 1fr);
  }

  ul.usedcar-makers-list {
    -ms-grid-columns: (1fr)[6];
    grid-template-columns: repeat(6, 1fr);
  }
  .wct-related-posts.type-list .type-list-inner-wrapper {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
  ul#usedcar-search-list li {
    flex: 0 0 calc(33.3333333% - 10px);
  }
}

@media screen and (min-width: 768px) {
  /* 768px up */
  #maker-links .maker-section li {
    flex-basis: 14.285714%;
  }
}

@media screen and (min-width: 1030px) {
  /* 1030px up */
}

@media screen and (min-width: 1240px) {
  /* 1240px up */
}

@media screen and (min-width: 1640px) {
  /* 1640px up */
}

@media screen and (max-width: 319px) {
  /* 320px down */
  #cat-latest-area .cat-latest.latest article:not(:first-child) .inner-wrapper,
.wct-related-posts.text article:not(:first-child) .inner-wrapper {
    flex-direction: column-reverse;
    row-gap: 1rem;
  }
  .widget-editors-list {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 361px) {
  /* 320px down */
  .jms-archive-loop {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .jms-maker-loop .looped-content:nth-of-type(n+2) .thumbnail {
    flex: 0 0 120px;
  }
}

@media screen and (max-width: 480px) {
  /* 481px down */
  #cat-latest-area .cat-latest.latest article h4 a {
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .jms-maker-loop .looped-content h3 {
    font-size: 0.9rem;
    min-height: 3.24rem;
  }
  .jms-maker-loop .looped-content:nth-of-type(n+2) h3 {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 640px) {
  /* 641px down */
  #cat-latest-area .cat-latest.latest .cat-latest-loop-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
  }

  #cat-latest-area .cat-latest.latest article .post-meta-wrapper time, #cat-latest-area .cat-latest.latest article .post-meta-wrapper span {
    display: inline;
    margin-left: 0.5em;
  }
  #cat-latest-area .cat-latest.latest h2 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 1.25rem;
  }
  .archive-article-loop.latest .loop-wrapper {
    flex-direction: column;
  }
  #usedcar-search-forms ul {
    flex-direction: column;
    align-items: flex-start;
  }

  #usedcar-search-forms ul li {
    width: 100%;
  }
  .wct-related-posts.type-list .type-list-inner-wrapper {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
  }
  #usedcar-search-forms ul {
    flex-direction: column;
    align-items: flex-start;
  }

  #usedcar-search-forms ul li {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  /* 768px down */
}

@media screen and (max-width: 1029px) {
  /* 1030px down */
}

@media screen and (max-width: 1239px) {
  /* 1240px down */
}

@media screen and (max-width: 1639px) {
  /* 1640px down */
}

@media screen and (max-width: 390px) {
  .wp-pagenavi .extend {
    display: none;
  }
}

@media screen and (max-width: 360px) {
  .ga-ranking-attachment-area ol.galist-attachment {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 599px) {
  #footer #page-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #footer #page-nav li {
    flex: 0 0 50%;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  #footer #page-nav li:nth-child(even) {
    border: none;
  }
}

@media screen and (max-width: 320px) {
  #footer #page-nav {
    flex-direction: column;
  }

  #footer #page-nav li {
    flex: 0 0 100%;
    border: none;
  }
}

@media (max-width: 1024px) {
  #header .title-area {
    width: 100%;
    margin: 0;
    height: auto;
  }

  #header-ad-space {
    text-align: center;
    vertical-align: middle;
    margin: 20px auto 0;
  }
}

@media (max-width: 960px) {
  #header .title-area {
    width: 100%;
    padding: 20px 0 0;
  }

  #header-ad-space {
    width: 100%;
    vertical-align: middle;
    margin: 0;
    bottom: 0;
    float: none;
  }

  .wct-article-image-thumbs li {
    width: 16.6666%;
  }
}

@media (max-width: 680px) {
  .special-content-custom.automesse > header.archive-header p.messe-cat {
    font-size: 22px;
  }

  .loop.vip-cover .cover-thumbnail {
    float: left;
    margin-right: auto;
    margin-left: auto;
    width: 40%;
    text-align: center;
  }

  .loop.vip-cover .cover-thumbnail img {
    width: 90%;
  }

  .loop.vip-cover .wrapper {
    float: none;
    width: 100%;
  }

  .loop.vip-cover .wrapper .car-thumbnail {
    text-align: center;
    float: right;
    width: 60%;
  }

  .loop.vip-cover .wrapper h3 {
    font-size: 18px;
    float: right;
    width: 60%;
  }

  .loop.vip-cover .wrapper .entry-summary {
    clear: both;
  }

  .share-list li {
    line-height: 48px;
    height: 48px;
    float: none;
    width: 94%;
    margin: 0 3% 10px;
  }

  .share-list li.twitter {
    margin: 0 3% 10px;
  }

  .share-list li.facebook {
    margin: 0 3% 10px;
  }
}

@media (max-width: 640px) {
  .wct-article-image-thumbs li {
    width: 25%;
  }
}

@media (max-width: 480px) {
  #primary-sidebar02.automesse p.counter {
    font-size: 16px;
  }

  .special-content-custom.automesse > header.archive-header p.messe-cat {
    font-size: 20px;
  }

  .imp-vote-top h2.entry-title .main {
    font-size: 18px;
  }

  .imp-vote-top h2.entry-title .sub {
    font-size: 18px;
  }

  .alignleft,
.alignright {
    display: block;
    float: none;
    margin: 0 auto 10px;
  }

  table {
    table-layout: fixed;
  }

  table th,
table td {
    word-wrap: break-word;
    font-size: 10px;
  }

  .imp-entry .entry-content .info h3 {
    font-size: 22px;
  }

  .imp-entry .entry-content .info p.catch {
    font-size: 16px;
    line-height: 26px;
  }

  .loop.vip-cover .cover-thumbnail {
    float: none;
    width: 100%;
    max-width: 210px;
    text-align: center;
  }

  .loop.vip-cover .cover-thumbnail img {
    width: 100%;
  }

  .loop.vip-cover .wrapper {
    float: none;
    width: 100%;
  }

  .loop.vip-cover .wrapper .car-thumbnail {
    text-align: center;
    float: none;
    width: 100%;
  }

  .loop.vip-cover .wrapper h3 {
    font-size: 18px;
    float: none;
    width: 100%;
  }

  .loop.vip-cover .wrapper .entry-summary {
    clear: both;
  }
}

@media (max-width: 400px) {
  #primary-sidebar02.automesse p.counter {
    font-size: 14px;
  }

  .special-content-custom.automesse > header.archive-header p.messe-cat {
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .home #featured-posts.latest.tms .entry-header {
    width: 208px;
    float: none;
    margin: 0 auto 5px;
  }
}

@media (max-width: 360px) {
  #mobile-toolbar .site-title.in-bar {
    max-width: 140px;
    line-height: 1;
    font-size: 14px;
  }

  .gallery-columns-2 figure.gallery-item {
    max-width: 48%;
    margin-left: 1%;
    margin-right: 1%;
  }

  .gallery-columns-3 figure.gallery-item,
.gallery-columns-4 figure.gallery-item,
.gallery-columns-5 figure.gallery-item,
.gallery-columns-6 figure.gallery-item,
.gallery-columns-7 figure.gallery-item,
.gallery-columns-8 figure.gallery-item,
.gallery-columns-9 figure.gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
    max-width: 31%;
    margin-left: 1%;
    margin-right: 1%;
  }

  .gallery-columns-2 .gallery-item .gallery-caption,
.gallery-columns-3 .gallery-item .gallery-caption,
.gallery-columns-4 .gallery-item .gallery-caption,
.gallery-columns-5 .gallery-item .gallery-caption,
.gallery-columns-6 .gallery-item .gallery-caption,
.gallery-columns-7 .gallery-item .gallery-caption,
.gallery-columns-8 .gallery-item .gallery-caption,
.gallery-columns-9 .gallery-item .gallery-caption {
    max-width: 90%;
    font-size: 10px;
  }

  #imp-vote201411 input[name="voter-tel[data][0]"],
#imp-vote201411 input[name="voter-tel[data][1]"],
#imp-vote201411 input[name="voter-tel[data][2]"] {
    max-width: 22%;
  }

  #maker-top ul li {
    float: none;
    width: 100%;
  }
}

@media (max-width: 300px) {
  #primary-sidebar02.automesse p.counter {
    font-size: 11px;
  }

  .special-content-custom.automesse > header.archive-header p.messe-cat {
    bottom: 30%;
  }

  .home #featured-posts.latest.tms h2.latest-title {
    font-size: 16px;
  }

  .home #featured-posts.latest.tms h2.latest-title:after {
    position: relative;
    top: 5px;
  }
}

@media (max-width: 260px) {
  #primary-sidebar02.automesse p.counter {
    font-size: 11px;
    left: 3px;
  }
}
/*# sourceMappingURL=style.css.map */
