/*===========================================
クロススポーツCSS
============================================*/

/******　共通　******/
body {
  background: #fafafa;
  color: #0a0a0a;
  font-family: Helvetica Neue,Arial,Hiragino Sans,Hiragino Kaku Gothic ProN,BIZ UDPGothic,Meiryo,sans-serif;
  font-weight: normal;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
.site {
  overflow: hidden;
}
.site-main {
  max-width: 1180px;
  font-size: min(3.63vw,16px);
  margin: 0 auto;
}
h1 {
  margin: 0;
}
h2 {
  font-size: min(4.58vw,21px);
  line-height: 1.4rem;
  margin: 0;
}
img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: none;
}
figure {
  margin: 0;
}
a {
  color: #73812d;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
}
a:hover {
color: #8dc52f;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.row {
  max-width: 1180px;
  margin: 0 auto;
}

.font-weight {
  font-weight: 700;
}

@media screen and (max-width: 980px) {
  .site-main {
    padding: 0 2%;
  }
} 
/*------------------------------------------------------
　This style is for CROSSPORTS 
-------------------------------------------------------*/

/************　共通設定：header　************/
.crossports header > div:first-child {
  background: #0a0a0a;
  display: flex;
  flex-wrap: wrap;
  margin: auto 0;
  padding: 0.25%;
}
.crossports header div > p {
  position: absolute;
  right: 0;
  top: 16px;
  color: #FFF;
  font-size: min(2.85vw,14px);
  font-weight: 700;
  margin: auto 0 auto auto;
}
.crossports header > div:first-child img {
  width: 23%;
  margin-right: 1%;
}

/************　分岐設定：header　************/
.crossports header .header-area1 img {/*TOP用header*/
  width: 23% !important;
  margin: auto auto auto 0.5%!important;
}
.crossports header > div:first-child a:nth-child(n+2) img {/*その他header*/
  width: 13%;
  margin: 1% 0.5% 0 0.5%;
}

/************ 各ヘッダー詳細設定 ************/
.page-template-template-sports .crossports header > div:nth-child(2) { /*TOPページ：header-img*/
  padding: 1% 0;
  text-align: center;
}
.crossports header .header-pocopen {
  background: #c9bc9c;
}
.crossports header .header-drag {
  background: #2f2f2f;
}
.crossports header .header-drifters {
  background: #848384;
}
.crossports header .header-customcar {
  background: #872358;
}
.crossports header > div:nth-child(2) { /*その他：header-img*/
  text-align: center;
}
.single-showa .crossports header > div:nth-child(2), .post-type-archive-showa .crossports header > div:nth-child(2) { /*昭和モータース：header-img*/
  background: #FFF;
}

/************ nav (PCのみ) ************/
  @media screen and (min-width:820px) {
  .crossports header {
    margin-bottom: 4px;
    box-shadow: 0 4px 0px #0a0a0a;
  }
  .crossports nav {
    background: #8dc52f;
  }
  #navbtn{
    display:none;
  }
  /* 各nav設定 */
  .single-article .crossports nav, .post-type-archive-article .crossports nav {
    background: #d40076;
  }
  .single-drag .crossports nav, .post-type-archive-drag .crossports nav {
    background: #eae029;
  }
  .single-showa .crossports nav, .post-type-archive-showa .crossports nav {
    background: #c0c0c0;
  }
  .single-pocopen .crossports nav, .post-type-archive-pocopen .crossports nav {
    background: #323232;
  }
  .single-plamo .crossports nav, .post-type-archive-plamo .crossports nav {
    background: #d71e18;
  }
  .single-dri .crossports nav, .post-type-archive-dri .crossports nav {
    background: #FF6000;
  }
  .single-customcar .crossports nav, .post-type-archive-customcar .crossports nav {
    background: #595959;
  }
  .single-gym .crossports nav, .post-type-archive-gym .crossports nav {
    background: #e62113;
  }
  .single-imp .crossports nav, .post-type-archive-imp .crossports nav {
    background: #E60012;
  }
  .single-pocopen .crossports nav > ul li, .post-type-archive-pocopen .crossports nav > ul li {
    border-right-color: #FFFFFF75;
  }
  .single-article .crossports nav > ul a, .post-type-archive-article .crossports nav > ul a,
  .single-pocopen .crossports nav > ul a, .post-type-archive-pocopen .crossports nav > ul a,
  .single-plamo .crossports nav > ul a, .post-type-archive-plamo .crossports nav > ul a,
  .single-customcar .crossports nav > ul a, .post-type-archive-customcar .crossports nav >ul a,
  .single-gym .crossports nav > ul a, .post-type-archive-gym .crossports nav >ul a,
  .single-crossports .link-col li > a {
    color: #FFF;
  }
  .single-article .crossports nav > ul a:hover, .post-type-archive-article .crossports nav > ul a:hover,
  .single-pocopen .crossports nav > ul a:hover, .post-type-archive-pocopen .crossports nav > ul a:hover,
  .single-customcar .crossports nav > ul a:hover, .post-type-archive-customcar .crossports nav > ul a:hover {
    opacity: 0.7;
  }
  .single-plamo .crossports nav > ul a:hover, .post-type-archive-plamo .crossports nav > ul a:hover,
  .single-gym .crossports nav > ul a:hover, .post-type-archive-gym .crossports nav > ul a:hover,
  .single-crossports .link-col li > a:hover {
    color: #0a0a0a;
  }
  .crossports nav > ul {
    max-width: 1180px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0.65%;
    list-style-type: none;
  }
  .crossports nav  > ul li > a{
    color: #0a0a0a;
    font-family: "ＤＦ特太ゴシッ体 std", Arial, sans-serif;
    font-size: min(1.5vw,15px);
    font-weight: 800;
  }
  .crossports nav > ul li > a {
    display: block;
}
  .crossports nav  > ul li > a:hover, .crossports nav  > ul li > a:focus {
    color: #FFF;
    font-weight: 800;
  }
  .crossports nav > ul li {
    width: 100%;
    text-align: center;
    line-height: 120%;
    border-right: 3px solid #00000075;
  }
  .crossports nav > ul li:last-child {
    border: none;
  }
  .show-for-sp {
    display: none !important;
  }
}

/*** スマホ表示 ***/
@media screen and (max-width:819px) {
  html,body{
    overflow-x: hidden;
  }
  .crossports header > div:first-child {
    display: block;
    text-align: right;
  }
  .crossports header > div:first-child > div {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
  }
  .crossports header > div:first-child img {
    width: 33%;
    margin: 0.75rem 0.75rem auto 0.75rem;
  }
  .crossports header > div:first-child a:nth-child(n+2) img {
    width: 15%;
    margin: 0.85rem 0.2rem 0 0;
  }
  .crossports header div > p {
    display: none;
  }
  .crossports header {
    border-bottom: 8px solid #dae00c;
  }
  .single-plamo .crossports header, .post-type-archive-plamo .crossports header { /*plamo*/
    border-bottom-color:#d71e18;
  }
  .single-drag .crossports header, .post-type-archive-drag .crossports header { /*drag*/
    border-bottom-color:#eae02a;
  }
  .single-dri .crossports header, .post-type-archive-dri .crossports header { /*drifters*/
    border-bottom-color:#FF6000;
  }
  .single-customcar .crossports header, .post-type-archive-customcar .crossports header { /*customcar*/
    border-bottom-color:#595959;
  }
  .nav-for-sp{
    position: fixed;
    top: 0;
    left: 100%;
    width: 80%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: left 0.5s;
  }
  .nav-for-sp ul > li {
    font-weight: 700;
    font-size: min(3.25vw,16px);
  }
  .nav-for-sp li:not(:last-child){
    margin-bottom: 14%;
  }
  .nav-for-sp a{
    color: #FFF;
  }
  .nav-for-sp br {
    display: none;
  }
  .show-for-sp {
    margin-top: 7%;
}
  /* nav:open btn */
  #navbtn{
    position: relative;
    background: #ffffff24;
    width: 38px;
    height: 33px;
    padding: .5rem;
    margin: 2% 3%;
    outline: none;
    border: 2px solid #9a9a9a;
    border-radius: 5px;
    cursor: pointer;
  }
  #navbtn::before,
  #navbtn::after{
    content : '';
    display: block;
    height: 1px;
    background-color: #FFF;
    transform: translateY(8px);
    transition: 0.3s ease-in-out;
  }
  #navbtn::before{
    transform: translateY(-8px);
    box-shadow: 0 8px #FFF;
  }
  /* nav:close btn */
  .open #navbtn{
    z-index: 100;
  }
  .open #navbtn::before{
    transform: rotate(-45deg);
    box-shadow: none;
  }
  .open #navbtn::after{
    transform: rotate(45deg);
    box-shadow: none;
  }
  /* nav:keep opening */
  .open .nav-for-sp{
    left: 20%;
  }
}
/************ footer ************/
footer {
  background: #333;
  border-top: 20px solid #0a0a0a;
}
footer a {
  color: #FFF;
}
.footer-area1 {
  color: #e8e8e8;
  margin: 2% auto;
}
.footer-area1 div {
  padding: 0 1.5%;
}

.footer-area1 p, .footer-area2 p {
  font-size: min(3vw,12px);
  line-height: 1.05rem;
}
.footer-area2 p {
  color: #838383;
}
.footer-area1 h3 {
  border-bottom: 1px solid #FFFFFF69;
}
.footer-area1 ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 6%;
}
.footer-area1 ul li {
  width: 33%;
  padding: 0.75% 0;
}
.footer-area1 ul li > a {
  font-size: min(3vw,14px);
  font-weight: 700;
}
.footer-area1 ul li > a:hover, .footer-area1 ul li > a:focus {
  color: #8dc52f;
}
.footer-area1 .bl-sns {
  text-align: right;
}
.footer-area1 .bl-sns a:hover {
  opacity: 0.95;
}
.footer-area1 .bl-sns img {
  width: 35px;
}
.footer-area2 {
  color: #FFF;
  background: #0a0a0a;
  text-align: center;
  padding: 2% 0 0.5% 0;
}

@media screen and (max-width:819px) {
  .footer-area1 {
    width: 96%;
  }
  .footer-area1 ul li {
    width: 47%;
  }
  .footer-area1 li:nth-child(even){
    padding-left: 5%;
  }
}

/*** navigation ***/
.custom-nav {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding-bottom: 5%;
}
.custom-nav li {
  width: fit-content;
  margin: 0 2%;
}
.custom-nav li:first-child {
  margin-left: 0;
}
.custom-nav li:last-child {
  margin-right: 0;
}
.custom-nav li > a {
  display: block;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: min(3.4vw,16px);
  border: #ccc 1px solid;
  border-radius: 3px;
  padding: 3% 5%;
}

.post-navigation {
  display: flex;
  justify-content: center;
  padding: 5% 0;
}
.post-navigation a {
  display: block;
  width: fit-content;
  height: 100%;
  font-weight: 700;
  font-size: min(3.4vw,16px);
  border: #ccc 1px solid;
  border-radius: 3px;
  padding: 0.5% 1.5%;
  margin-right: 1.5%;
}
.post-navigation a:last-child {
  margin-right: 0;
}
/***** breadcrumbList　******/
.breadcrumbList {
  background: #0a0a0a;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
}
.breadcrumbList ol {
  padding: 0 0 0.25% 0;
  margin: 0 auto;
  max-width: 1180px;
}
.breadcrumbList ol li {
	display: inline;
}
.breadcrumbList ol li:first-child {
  padding-left: 0.5%;
}
.breadcrumbList ol li:after {
	color: hsl(0, 0%, 62%); 
	content: " > ";
}
.breadcrumbList ol li:last-child:after {
	content: ""; 
}
.breadcrumbList ol li, .breadcrumbList ol li > a {
  color: #d5db00;
  font-size: min(3vw,12px);
  font-weight: 700;
}
.breadcrumbList a:hover {
  color: #dae28f;
  text-decoration: underline;
}
.breadcrumbList ol li:last-child {
  color: #FFF;
}

/******************* トップページ  **********************/
.container-dark {
  background: #333;
  color: #FFF;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.container-dark a {
  color: #FFF;
  font-weight: 700;
}
.container-dark a:hover {
  color: #8dc52f;
}
.container-dark h2 {
  background: #8dc52f;
  color: #FFF;
  margin: 0;
}
.container-dark h2 > p {
  max-width: 1180px;
  padding: 0.75% 0 0.75% 0.5%;
  margin: 0 auto;
}
.container-dark p {
  max-width: 1180px;
  padding: 0.75% 0 0.75% 0.5%;
  margin: 0 auto;
}
.facebook {
  max-width: 1180px;
  margin: 0 auto;
  color: black;
}
.facebook a {
  color: black;
}
.container-white {
  padding: 5% 0;
}

/*What's New*/
.bl-newslist {
 display: flex;
 width: 98%;
 max-width: 1000px;
 padding: 1% 0;
 margin: 0 auto;
}
.bl-newslist h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: unset;
  color: #8dc52f;
  font-family: impact;
  font-size: min(3.85vw,32px);
  font-weight: 800;
  white-space: nowrap;
  padding: 0 0 0 1.5%;
  margin: 0 5% 0 0;
}
.bl-newslist ul {
  width: 100%;
}
.bl-newslist ul li > a {
  display: flex;
  font-size: min(3vw,16px);
}
.bl-newslist ul li > a > p {
  margin: 0.25%;
}
.bl-newslist ul li > a > p:nth-child(odd) {
  width: 20%;
  text-align: center;
}
.bl-newslist ul li > a > p:nth-child(even) {
  width: 78%;
}
/*Pick up*/
.bl-pickup {
  max-width: 1180px;
  padding: 0 2% 2% 2%;
  margin: 0 auto;
}
.bl-pickup p {
  margin: 1% 1% 1.5% 1%;
  line-height: 1.25rem;
}
.bl-pickup div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.bl-pickup div > section {
  width: calc(94%/3);
	overflow:	hidden;
	position:	relative;
  border: 1px solid #000;
}

.bl-pickup div > section figcaption {
  background: #000;
  padding: 0.75% 0;
  text-align: center;
}

.bl-pickup img {
  width: 100%;
  height: min(35vw,280px);
  object-fit: cover;
  font-family: 'object-fit: cover;';
}

.bl-pickup div > section .caption {
	text-align: center;
	color:#333;
}
.bl-pickup div > section .mask {
	width:			100%;
	height:			90%;
	position:		absolute;
	top:			0;
	left:			0;
	background-color:	rgb(0 0 0 / 67%);
	-webkit-transition:	all 0.4s ease;
	transition:		all 0.4s ease;
	-webkit-transform:	scale(0);	/* 大きさを０にして表示しない */
	transform:		scale(0);
}
.bl-pickup div > section:hover .mask {
	-webkit-transform:	scale(1);	/* 大きさを１にして表示する */
	transform:		scale(1);
}
.bl-pickup div > section .mask h3 {
  margin-block-start: 4rem;
  text-align: center;
}
.bl-pickup div > section .mask .caption {
	font-size:		80%;
	color:			#fff;
	padding-top:		15px;
	padding-left:		15px;
}

/*contents list*/
.bl-contents-list {
  display: flex;
  flex-wrap: wrap;
  margin: 3% auto;
  max-width: 1180px;
}
.bl-contents-list a {
  display: flex;
  flex-wrap: nowrap;
  width: 31%;
  color: white;
  margin-bottom: 3%;
}
.bl-contents-list a:hover {
  color: #6a9f10;
  transition: 0.2s;
  filter: contrast(1.25);
}
.bl-contents-list p {
  font-size: min(3.58vw,15px);
  line-height: 1.35rem;
  margin: 5% 0.5%;
}

.bl-contents-list a > img {
  width: 43%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 3%;
}
.bl-contents-list a > div{
  width: 55%;
}
.bl-contents-list a > div h3 {
  padding-left: 1.5%;
  margin: 0;
  border-bottom: 1px solid #333;
}

/*regular links*/
.bl-regular-link {
  display: flex;
  flex-wrap: wrap;
  max-width: 1180px;
  padding: 2% 0;
  margin: 0 auto;
}
.bl-regular-link a:not(:last-child) {
  margin-right: 1%;
}
.bl-regular-link > a {
  width: 23%;
  margin: 1%;
}
.bl-regular-link a img:hover {
  transition: 0.2s;
  opacity: 0.9;
}


@media screen and (min-width:980px) {
  /*contents list*/
  .bl-contents-list a:not(:nth-child(3n)) {
    margin-right: 3%;
  }
}
@media screen and (min-width:681px) and (max-width:979px){
  .bl-contents-list a {
    width: 48%;
  }
  .bl-contents-list a:nth-child(odd) {
    margin-right: 3%;
  }
}

@media screen and (min-width:821px) {
  /*pick up*/
  .bl-pickup div > section:nth-child(3n-1) {
    margin-left: 0.5%;
    margin-right: 0.5%;
  }
  .bl-pickup div > section:nth-child(n+4) {
    margin-bottom: 0;
  }
}

@media screen and (max-width:820px) {
  /*pick up*/
  .bl-pickup div > section {
    width: calc(97%/2);
    margin-bottom: 3%;
  }
  /*What's New*/
  .bl-newslist {
    display: block;
    margin-left: 1%;
  }
  .bl-newslist h2 {
    justify-content: left;
    padding: 0 0 0 0.5%;
  }
}
  @media screen and (max-width:680px) {
  /*contents list*/
  .bl-contents-list {
    flex-direction: column;
  }
  .bl-contents-list a {
    width: 100%;
  }

  /*regular links*/
  .bl-regular-link {
    justify-content: center;
  }
  .bl-regular-link > a {
    width: 47%;
  }
}


/*****************　single:昭和モーターズ　*****************/
.showa > figure:first-child { /*top img*/
  background: #4c4c4c;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 4% 0;
  text-align: center;
}
.showa > figure:first-child img {
  background: #FFF;
}
.showa article > div:first-of-type { /*main text*/
  max-width: 1000px;
  margin: 5% auto;
}

/*昭和モータース・ポコペン先生共通プロフィール*/
.profile {
  background: #f0efef;
  display: flex;
  position: relative;
  margin: 0;
  padding: 2% 3%;
  border-radius: 5px;
}
.profile .title-profile {
  background: #FFF;
  position: absolute;
  top: 0;
  right: 0.15rem;
  padding: 1%;
  margin: 0;
  border: 2px solid #0a0a0a;
  border-radius: 5px;
  transform: rotate(10deg);
}
.profile  > section {
  width: 85%;
  padding-left: 2%;
}
.profile  > section h3 {
  margin: 0.5% 0;
}
.profile  > section h4 {
  margin: 1.5% 0 0 0;
}
.profile  > section p {
  font-size: min(3.68vw,14px);
  margin: 0;
}

@media screen and (max-width:819px) {
  .profile {
    flex-direction: row-reverse;
    margin: 0 1% 6% 1%;
  }
 .profile > figure {
    margin: auto;
  }
  .profile > section {
    padding: 0 1.5% 0 0;
  }
}


/************** single:ポコペン先生 ******************/
.pocopen .wrap-parent,.pocopen .wrap-child {
  background: #c9bc9c;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.pocopen .bg-area-parent h1 {
  padding: 1.5rem 0 2rem 0;
}
.pocopen .bg-area-parent article > p {
    font-size: min(3.15vw,14px);
    margin: 4% 0 6% 0;
    padding-top: 6%;
    border-top: 1px solid #FFF;
}
.pocopen .wrap-child .profile {
  z-index: 7;
}

/*個別navigation設定*/
.single-pocopen .post-navigation a {
  border: none;
  background: #FFF;
}

@media screen and (min-width:649px) {
 .single-pocopen header,.single-pocopen .breadcrumbList,.single-pocopen footer {
    position: relative;
    z-index: 1;
}
  .pocopen .wrap-child {
    position: relative;
    padding-top: 3%;
    z-index: 0;
  }
  .pocopen .contant-area {
    max-width: 1180px;
    margin: 0 auto;
  }
  .pocopen .bg-area-parent {
    position: relative;
    z-index: 0;
  }
  .pocopen .bg-area {
    position: fixed;
    bottom: 0;
    left: auto;
    opacity: 0.8;
  }  
  .pocopen .bg-area-parent > article {
    padding: 0 1% 0 35%;
  }
  .bg-area-parent article h1 > img {
    display: none;
  }
}

@media screen and (max-width:648px) {
  .bg-area {
    display: none;
  }
  .bg-area-parent article h1 > span {
    display: none;
  }
  .pocopen .bg-area-parent > article {
    padding: 0 2.5%;
  }
}


/************** single:プラモ道 ******************/
.single-plamo .gallary {
	width: 100%;
}
.single-plamo .gallary p {
  background: #FFF;
  text-align: center;
  padding: 2%;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 2px 2px #dadada;
}
.single-plamo .gallary h1 {
  font-size: min(4.6vw,28px);
  line-height: 1.25em;
  margin: 0 0 1% 0;
  }
.single-plamo .gallary h2 {
  background:#D71618;
  color: #FFF;
  font-size: min(3.75vw,21px);
  line-height: 1.25em;
  margin: 0 0 1% 0;
  padding: 1% 0 1% 1.5%;
}
.single-plamo .gallary .thumbnails {
	display:flex;
  flex-wrap: wrap;
  width: 75%;
}
.single-plamo .gallary .thumbnails li {
  width: 24.5%;
  margin: 0.25%;
  overflow: hidden;
}
.single-plamo .gallary .thumbnails li img {
	cursor:pointer;
  overflow: hidden;
}
.single-plamo .gallary .thumbnails li img:hover {
  transform: scale(1.1);
  transition-duration: 0.3s;
  filter: contrast(1.25);
}
.single-plamo .gallary div:nth-child(3) {
  display: flex;
  flex-wrap: nowrap;
}
.single-plamo .gallary .list-archive {
  width: 25%;
  padding: 0 0 0 2%;
}
.single-plamo .gallary .list-archive li {
  position: relative;
  margin: 1% 0;
  border: 3px solid #d71e18;
  text-align: right;
}
.single-plamo .gallary .list-archive li a {
  display: block;
  color: #d71e18;
  font-size: min(2.2vw,16px);
  font-weight: 800;
  padding: 3% 6% 3% 0;
}
.single-plamo .gallary .list-archive li a:hover {
  color: #FFF;
}
.single-plamo .gallary .list-archive li::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #d71e18;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.single-plamo .gallary .list-archive li:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/*navigation*/
.single-plamo .post-navigation a {
  color: #d71e18;
  border: 2px solid #d71e18;
  border-radius: unset;
}
.single-plamo .post-navigation a:hover {
  color: #0a0a0a;
  border-color: #0a0a0a;
}



@media screen and (max-width:820px) {
  .single-plamo .gallary .thumbnails li {
    width: 32.8%;
  }
}
@media screen and (max-width:485px) {
  .single-plamo .gallary .thumbnails li {
    width: 49.5%;
  }
  .single-plamo .gallary .thumbnails {
    width: 100%;
  }
  .single-plamo .gallary .list-archive {
    display: none;
  }
}

/***************** single:Drag RACE & DRIFTERS & imp & article共通　****************/

/*YOUTUBE埋め込み*/
.crossports .youtube {
  position: relative;
  width:100%;
  height:0;
  padding-top: 56.25%;
  margin: 2% auto 4% auto;
}
.crossports .youtube iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.jmayt-btn, .jmayt-title {
  display: none !important;
}
/*youtubeロングバージョンある時(DRIFTERSは誌面)*/
.crossports .youtube-more {
  width: 20%;
  min-width: 130px;
  margin: -2% 0 0 auto;
  text-align: right;
}
/*youtubeなしの場合用*/
.crossports .main-img {
  max-width: 1180px;
  margin: 2% auto 4% auto;
  text-align: center;
}

/*lightbox:キャプチャ*/
.lightboxOverlay {
  opacity: 0.85 !important;
}
.lb-data .lb-details {
  width: 100% !important;
  color: #f9f9f9 !important;
}
.lb-data .lb-caption {
  font-size: 14px !important;
  font-weight: normal !important;
}

.crossports .flex-container > div:first-child {
  width: 100%;
  padding: 0%;
  margin-bottom: 3%;
}
.single-drag .flex-container > div:first-child {/*drag*/
  border-bottom: 10px solid #eae02a;
}
.single-dri .flex-container > div:first-child {/*drift*/
  border-bottom: 10px solid #FF6000;
}
.single-customcar .flex-container > div:first-child {/*drift*/
  border-bottom: 10px solid #872358;
}
.single-article .flex-container > div:first-child {/*article*/
  border-bottom: 10px solid #d40076;
}
.single-imp .flex-container > div:first-child {/*article*/
  border-bottom: 10px solid #E60012;
}
.crossports .flex-container h1 {
  font-size: min(6vw,32px);
}
.crossports .flex-container span {
  font-weight: 700;
}


.crossports .container-gallary {
  display: flex;
  margin-bottom: 5%;
}
/* memo
UP画像数によって画像の表示layout変更
*layout-A UP画像３枚まで
*layout-B UP画像４枚
*layout-C UP画像５枚
*layout-D UP画６枚
*layout-E UP画像７枚
*layout-F UP画像８枚
*layout-G UP画像９枚
*layout-H UP画像10枚
*/
.crossports .layout-A { 
  flex-wrap: nowrap;
}
.crossports .layout-B {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.crossports .layout-C,
.crossports .layout-D,
.crossports .layout-E,
.crossports .layout-F,
.crossports .layout-G,
.crossports .layout-H {
  flex-wrap: wrap;
}
.crossports .layout-B > figure:first-child {
  grid-area: 1 / 1 / 3 / 3;
}
.crossports .layout-B > figure:nth-child(2) {
  grid-area: 1 / 3 / 2 / 4;
}
.crossports .layout-B > figure:nth-child(3) {
  grid-area: 2 / 3 / 3 / 4;
}
.crossports .layout-C > figure,
.crossports .layout-D > figure:nth-child(-n+2),
.crossports .layout-F > figure:nth-child(-n+4),
.crossports .layout-G > figure:nth-child(-n+4),
.crossports .layout-H > figure:nth-child(-n+2) {
  width: 50%;
}
.crossports .layout-D > figure:nth-child(n+3),
.crossports .layout-E > figure,
.crossports .layout-F > figure:nth-child(n+5) {
  width: 33.33%;
}
.crossports .layout-G > figure:nth-child(n+5),
.crossports .layout-H > figure:nth-child(n+3) {
  width: 25%;
}
.crossports .layout-D,
.crossports .layout-E,
.crossports .layout-G {
  border-bottom: 2px dashed #bbb;
  padding-bottom: 3%;
}

.crossports .container-photorepo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.crossports .container-photorepo::after {
  width: 32.5%;
  content: "";
}
.crossports .container-photorepo > section {
  width: 32.5%;
}
.crossports .container-photorepo > section img {
  max-height: 250px;
  object-fit: cover;
}
.crossports .container-photorepo section > p {
  margin: 0.5% 0 5.5% 0;
}

.crossports .flex-container {
  display: flex;
	flex-wrap: wrap;
}

/*navigation:DRIFTERS*/
.single-dri .post-navigation a {
  color: #0a0a0a;
  border: #ff6000 2px solid;
}
.single-dri .post-navigation a:hover {
  background: #ff6000;
  color: #FFF;
}
/*navigation:Customcar*/
.single-customcar .post-navigation a {
  color: #0a0a0a;
  border: #872358 2px solid;
}
.single-customcar .post-navigation a:hover {
  background: #872358;
  color: #FFF;
}
/*navigation:GYM*/
.single-gym .post-navigation a {
  color: #0a0a0a;
  border: #e62113 2px solid;
}
.single-gym .post-navigation a:hover {
  background: #e62113;
  color: #FFF;
}
/*navigation:drag*/
.single-drag .post-navigation a {
  color: #0a0a0a;
  border: #eae02a 2px solid;
}
.single-drag .post-navigation a:hover {
  background: #eae02a;
}
/*navigation:article*/
.single-article .post-navigation a {
  color: #0a0a0a;
  border: #d42576 2px solid;
}
.single-article .post-navigation a:hover {
  background: #d42576;
  color: #FFF;
}
/*navigation:imp*/
.single-imp .post-navigation a {
  color: #0a0a0a;
  border: #E60012 2px solid;
}
.single-imp .post-navigation a:hover {
  background: #E60012;
  color: #FFF;
}


@media screen and (max-width: 820px) {
  .crossports .order {
    order: 3;
  }
  .crossports .container-gallary {
    margin: 5% 0 0 0;
  }
  .crossports .container-photorepo > section {
    width: 49%;
  }
  .crossports .container-photorepo > section:nth-child(3n-1) {
    margin: 0;
  }
  .crossports .container-photorepo > section:nth-child(odd) {
    margin-right: 1%;
  }
}
@media screen and (max-width:648px) {
  .crossports .layout-B {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .crossports .layout-B > figure:first-child {
    grid-area: 1 / 1 / 5 / 5;
  }
  .crossports .layout-B > figure:nth-child(2) {
    grid-area: 4 / 3 / 3 / 5;
  }
  .crossports .layout-B > figure:nth-child(3) {
    grid-area: 3 / 1 / 3 / 3;
  }
  .crossports .layout-E > figure ,.crossports .layout-D > figure:not(:last-child) {
    width: 50%;
}
  .crossports .container-photorepo > section,
  .crossports .layout-D > figure:last-child {
    width: 100%;
  }
  .crossports .container-photorepo > section:nth-child(odd) {
    margin-right: 0;
  }

  
}

/***************** single:EXCITING GYMKHANA ****************/

.single-gym .first-visual {
  background: #0a0a0a;
  max-width: 1180px;
  height: auto;
  margin: 3% auto;
  text-align: center;
}
.single-gym .main-container {
  margin-bottom: 5%;
}
.single-gym .main-container > section {
  width: 100%;
  padding: 0%;
  margin-bottom: 3%;
}
.single-gym .main-container span {
  margin-left: 1%;
}
.single-gym .main-container h1 {
  margin: 0 0 0.75rem;
}
.single-gym .main-container h2 {
  font-size: min(6vw,32px);
  line-height: 1.85rem;
  padding-bottom: 0.75%;
  border-bottom: 10px solid #e62113;
}
.single-gym .main-container span {
  font-weight: 700;
}
.main-container figure img {
  width: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.main-container figure:first-of-type img {
  max-height: 394px;
}
.main-container figure:nth-of-type(2) img {
  max-height: 263px;
}
.main-container .photo-2 img { /*画像が２枚の時*/
  max-height: 590px !important;
}
.single-gym .class-container:not(:last-of-type) {
  margin-bottom: 2.5rem;
}
.single-gym .main-container > figure,
.single-gym .class-container > div {
  display: flex;
}
.single-gym .class-container > h2 {
  background: #424242;
  color: #FFF;
  font-size: min(4.8vw,26px);
  padding: .7rem 0 .5rem .7rem;
  margin-bottom: 2%;
  border-bottom:5px solid #e62113;
  border-start-start-radius: 3px;
  border-start-end-radius: 3px;
}
.single-gym .class-container .fa-flag-checkered:before {
  color:#b4b4b4;
}
.single-gym .photo-column {
  width: 45%;
}
.single-gym .photo-column > figure,
.single-gym .class-photo-container > figure {
  position: relative;
}
.single-gym .photo-column figure > figcaption,
.single-gym .class-photo-container figure > figcaption {
  position: absolute;
  top: 1%;
  left: 1.85%;
  color: #ffeb3b;
  font-size: min(3.15vw,14px);
  font-weight: 700;
}
.single-gym .photo-column figure > figcaption {
  font-size: min(4.25vw,21px);
}
.single-gym .photo-column p:first-of-type {
  position: absolute;
  top: 0;
  left: 1rem;
}
.single-gym .photo-column p:last-of-type {
  position: absolute;
  bottom: 0;
  right: 1rem;
}
.single-gym .result-column {
  width: 55%;
  padding-left: 3%;
}
.result-column ul > li {
  margin: 1% 0;
  font-weight: 700;
}
.result-column ul > li:first-child {
  font-size: min(4.8vw,22px);
}
.single-gym .class-photo-container {
  display: flex;
  margin-top: 10%;
}
.class-photo-container > figure img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  font-family: 'object-fit: cover;';
}

.single-gym .btn-gym {
  filter: brightness(0.9);
}
.single-gym .btn-gym:hover {
  filter: unset;
}

@media screen and (max-width: 820px) {
  .single-gym .class-container > div {
    flex-direction: column;
  }
  .single-gym .photo-column, .single-gym .result-column {
    width: 100%;
    padding: 0;
  }
  .single-gym .photo-column {
    display: flex;
  }
  .single-gym .class-photo-container {
    margin: 0;
  }
}


/***************** 共通:archive ****************/
.post-type-archive h1 {
  font-size: min(4vw,21px);
  margin-top: 0.5rem;
}
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 5%;
}
.blog-cards::after {
    display: block;
    content: "";
    width: 30%;
}
.blog-cards .first-card {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 2.5%;
  line-height: 1.35em;
}
.blog-cards article {
  width: 30%;
  position: relative;
  border: 2px solid #e3e3e3;
  border-radius: 10px;
  margin: 1% 0;
  padding: 1%;
  transition: .185s;
}
.blog-cards article:not(:first-child) {
  font-size: min(3.25vw,16px);
  line-height: 1.25em;
}
.blog-cards article:not(:first-child) > div img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-right: 3%;
}
.blog-cards article p:first-child {
  text-align: right;
  color: #656565;
  font-size: min(3vw,14px);
  margin: 1% 0 3% 0;
}

.blog-cards article > a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.blog-cards article:hover {
  opacity: 0.9;
  transform: translateY(-0.1575em);
  box-shadow: 0 1px 6px 0 rgb(0 0 0 / 25%);
}
.blog-cards article > div {
  padding: 1%;
}
.blog-cards article div > p:last-child {
  background: #e2e2e2;
  width: fit-content;
  font-weight: 700;
  margin: 0 0 0.5% auto;
  padding: 1% 3%;
  border-radius: 5px;
}
.blog-cards .date {
  font-size: min(3vw,14px);
  text-align: right;
}
.blog-cards .title {
  font-weight: 600;
  line-height: 1.05em;
  margin: 2% 0 0 0;
}
/* ページャー */
.pager{
  margin: 5% auto 5% auto;
  text-align:center
}
a.page-numbers,
.pager .current{
  background-color: #ffffff57;
  color:#454545;
  padding:5px 8px;
  border: solid 1px #aaaaaa;
  border-radius:5px;
}
.pager .current{
  background-color: #cccccc57;
  color: #383826;
  font-weight: 600;
}
.pager a:hover{
  background: #cccccc57;
  font-weight: 600;
}


/*** 各記事個別設定 ***/
/*pocopen*/
.post-type-archive-pocopen {
  background: #efe8dc;
}
.post-type-archive-pocopen .blog-cards article {
  background: #FFF;
  border-color: #97897a59;
}
/*Drag Race / DRIFTERS */
.post-type-archive-drag, .post-type-archive-dri {
  background: #f3f3f3;
}
.post-type-archive-dri .blog-cards .title {
  color: #d95404c7;
  margin: 2% 0 3.5% 0;
}
.post-type-archive-drag .blog-cards article,
.post-type-archive-dri .blog-cards article {
  padding: 0.8%;
  border: 4px solid #e3e3e3;
  border-radius: unset;
}
.post-type-archive-drag .blog-cards .first-card > div:first-of-type,
.post-type-archive-dri .blog-cards .first-card > div:first-of-type {
  text-align: center;
}
.post-type-archive-drag .first-card div p:nth-child(2),
.post-type-archive-dri .first-card div p:nth-child(2) {
  margin-bottom: 3%;
}
/*gym*/
.post-type-archive-gym .blog-cards article p:first-child {
  text-align: left;
}
.post-type-archive-gym .blog-cards article:not(:first-child) > div img {
  object-fit: unset;
  aspect-ratio: unset;
  margin-right: unset;
}





@media screen and (min-width:981px) {
  /*共通*/
  .blog-cards .first-card > div:first-of-type {
    width: 70%;
  }
  .blog-cards .first-card > div:last-of-type {
    width: 30%;
  }
  .post-type-archive-drag .blog-cards .first-card > div:last-of-type,
  .post-type-archive-dri .blog-cards .first-card > div:last-of-type,
  .post-type-archive-customcar .blog-cards .first-card > div:last-of-type { /*Drag Race DRIFTERS*/
    width: 45%;
  }
  /*gym*/
  .post-type-archive-gym .first-card div > p:first-child {
    margin-top: 0;
  }
}

@media screen and (max-width:980px) {
  /*共通*/
  .blog-cards .first-card {
    flex-direction: column;
  }
  .blog-cards article {
    width:46.25%;
  }
  .blog-cards .first-card > div:first-child {
    text-align: center;
  }
}

@media screen and (max-width:485px) {
  /*共通*/
  .blog-cards article {
    display: flex;
    width: 100%;
    margin: 1.95% 0;
  }
  .blog-cards article > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55%;
  }
  .blog-cards .first-card > div {
    width: 98% !important;
}
  .blog-cards article > div {
    width: 45%;
  }
  .blog-cards article {
    font-size: min(3.25vw,16px);
    line-height: 1.25em;
  }
  /*gym*/
  .post-type-archive-gym .blog-cards article > div:first-child,
  .post-type-archive-gym .blog-cards article > div {
    width: 98%;
  }
  /*Drag Race*/
  .post-type-archive-drag .blog-cards article:not(:first-child) > div,
  .post-type-archive-dri .blog-cards article:not(:first-child) > div {
    width: 50%;
  }
  .post-type-archive-drag .blog-cards article:not(:first-child) > div:first-child > img,
  .post-type-archive-dri .blog-cards article:not(:first-child) > div:first-child > img {
    width: 100%;
    height: 50vw;
    object-fit: cover;
    font-family: 'object-fit: cover;';
  }
  /*gym*/
  .post-type-archive-gym .blog-cards article {
    flex-direction: column;
  }
}