/*
Theme Name: HIDYA Fitment Minimal
Theme URI: https://example.com/
Author: HIDYA
Author URI: https://example.com/
Description: Minimal theme to run the fitment system (compatibility + compat_row + sku_key) with simple shortcodes.
Version: 0.1
License: GPL-2.0-or-later
Text Domain: hidya-fitment-minimal
*/
/* Basic table/button styling */
ul,ol {
	padding: 0;
	margin: 0;
}
#site-wrap header, #site-wrap footer, #site-wrap #sp_header {
  display: none;
}
#tekigou-header {
  width: 960px;
  margin: 0 auto;
}
#tekigou-header .logo {
  width: 460px;
  float: left;
}
#tekigou-header ul {
  width: 360px;
  float: right;
}
#tekigou-header ul li {
  width: 110px;
  float: left;
  margin: 0 2px;
  list-style-type: none;
}
#tekigou-header img {
  width: 100%;
}
.l-content {
  padding-top: 0em;
}
@media (max-width: 768px) {
  #tekigou-header {
    width: 100%;
  }
  #tekigou-header .logo {
    width: 41%;
    padding-top: 0%;
  }
  #tekigou-header ul {
    width: 55%;
    float: right;
    margin: 0;
    padding: 0;
    padding-top: 1.5%;
  }
  #tekigou-header ul li {
    width: 31.333333%;
    float: left;
    margin: 0 1%;
  }
  #tekigou-header img {
    width: 100%;
  }
}
main {
  width: 900px;
  margin: 20px auto;
}
.fitment-table, .chassis-list {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.fitment-table th, .fitment-table td, .chassis-list th, .chassis-list td {
  border: 1px solid #ddd;
  padding: 8px;
}
.fitment-table thead, .chassis-list thead {
  background: #f5f5f7;
}
.fitment-table .buy a {
  display: inline-block;
  padding: 6px 10px;
  text-decoration: none;
  border: 1px solid #ccc;
  margin-right: 6px;
  border-radius: 4px;
}
.maker-list, .model-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .5rem;
}
.maker-list li a, .model-list li a {
  display: block;
  padding: .5rem .75rem;
  background: #f4f7ff;
  border: 1px solid #e1e6ff;
  border-radius: 6px;
}
.notice {
  background: #fff7e6;
  border: 1px solid #ffe3a3;
  padding: .75rem 1rem;
  border-radius: 6px;
}
*/ /* パンくず */
.fit-breadcrumbs {
  margin: 14px 0 20px;
  font-size: 14px;
}
.fit-breadcrumbs a {
  text-decoration: none;
}
.fit-breadcrumbs span {
  color: #666;
}
/* テーブル */
.fit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.fit-table th, .fit-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eee;
}
.fit-table thead th {
  background: #f8f8f8;
  font-weight: 600;
}
.fit-table a {
  text-decoration: underline;
}
/* 年式/型式一覧 */
.fit-chassis {
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
}
.fit-chassis li {
  margin: 0 0 10px;
}
.fit-chassis a {
  display: inline-block;
  padding: 10px 12px;
  background: #f6f6f7;
  border-radius: 6px;
  text-decoration: none;
}
.fit-chassis a:hover {
  background: #eee;
}
/* ===== 共通トークン（色・余白） ===== */ :root {
  --fit-border: #e5e7eb;
  --fit-muted: #6b7280;
  --fit-bg: #fff;
  --fit-hover: #f9fafb;
  --fit-radius: 10px;
  --fit-gap: 12px;
}
/* ===== メーカー一覧グリッド ===== */
.fit-maker-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 16px 0 24px;
  gap: 0; /* gapは使わずマージンで調整 */
}
.fit-maker-card {
  display: inline-block;
  width: 42%;
  margin: 0 2% 20px; /* 左右2%、下に20px余白 */
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}
.fit-maker-card .ja {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111827;
}
.fit-maker-card .en {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--fit-muted);
}
/* ===== ルビ→車種（アコーディオン） ===== */
.fit-kana-accordion {
  margin: 12px 0 24px;
  border-top: 1px solid var(--fit-border);
}
.fit-acc {
  border-bottom: 1px solid var(--fit-border);
  padding: 6px 0;
}
.fit-acc-head {
  cursor: pointer;
  font-weight: 700;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fit-acc-head::-webkit-details-marker {
  display: none;
}
.fit-acc-head::after {
  content: "▸";
  margin-left: auto;
  color: var(--fit-muted);
  transition: transform .15s;
}
.fit-acc[open] .fit-acc-head::after {
  transform: rotate(90deg);
}
.fit-model-list {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
}
.fit-model-list li {
  padding: 10px 8px;
  border-bottom: 1px dashed var(--fit-border);
}
.fit-model-list li:last-child {
  border-bottom: 0;
}
.fit-model-list a {
  text-decoration: none;
  color: #111827;
}
.fit-model-list a:hover {
  text-decoration: underline;
}
/* ===== 型式（年式）テーブル ===== */
.fit-chassis-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 8px 0 24px;
  border: 1px solid var(--fit-border);
  border-radius: var(--fit-radius);
  overflow: hidden;
}
.fit-chassis-table td {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--fit-border);
}
.fit-chassis-table tr:first-child td {
  border-top: 0;
}
.fit-chassis-table tr:nth-child(odd) td {
  background: #fcfcfd;
}
.fit-chassis-table tr:hover td {
  background: var(--fit-hover);
}
.fit-chassis-table a {
  color: #111827;
  text-decoration: none;
}
.fit-chassis-table a:hover {
  text-decoration: underline;
}
.fit-chassis-table .years {
  color: var(--fit-muted);
  text-align: right;
  white-space: nowrap;
  min-width: 140px;
  font-variant-numeric: tabular-nums;
}
/* ===== 細かなアクセシビリティ ===== */
.fit-maker-card:focus, .fit-model-list a:focus, .fit-chassis-table a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 6px;
}












/* ===== モバイル最適化 ===== */
@media (max-width: 640px) {
  .fit-maker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .fit-chassis-table .years {
    min-width: auto;
    text-align: left;
    margin-top: 2px;
    display: block;
  }
  .fit-model-list li {
    padding: 10px 4px;
  }
}
p {
  margin-bottom: 0.5em;
}
.step {
  background-color: #ddd;
  color: #fff;
}
.step .current {
  background-color: #000;
}
.step li {
  list-style-type: none;
  padding: 0.5em;
  float: left;
}
#site-wrap .l-mainContent {
  position: static !important;
  width: 100%;
  margin: 0 auto;
}
#compatibility {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  font-size: 18px;
	    font-weight: 500;
}
h1.c-pageTitle {
  text-align: center;
  font-size: 1.5em;
  margin: 0em 0em 0.7em 0em;
}
h1.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
  border-bottom: none;
  float: none;
  margin-bottom: 0px;
  padding: 0em;
}
.c-pageTitle[data-style=b_bottom] {
  border-bottom: none;
}
.l-mainContent__inner > .post_content {
  margin: 0em 0;
  padding: 0 var(--swl-pad_post_content, 0);
}
.site-content #compatibility {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}
.site-content #compatibility .content-area {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}
.separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation {
  padding: 0;
}
.ol, ul {
  margin: 0 0 1.5em;
}
.flow {
  width: calc(100% - 0px); /* ステップフロー全体の横幅を指定 */
  display: flex; /* flexboxで横並びにする */
  justify-content: space-between; /* 横並びにしたものを等間隔で並べる */
}
ul.flow {
  padding: 0;
}
.post_content ol, .post_content ul {
  padding-left: initial;
}
.flow li {
  color: #fff; /* 文字色を黒に指定 */
  font-size: 18px; /* 文字サイズを指定 */
  width: calc(100% / 4); /* 横幅を三等分した1つの大きさに指定 */
  background: #ccc; /* 背景色をグレーに指定 */
  line-height: 50px; /* 行間(高さの代わり)を指定 */
  text-align: center; /* 文字を中央寄せにする */
  position: relative; /* 基準位置とする */
  list-style-type: none;
}
.flow li:not(:first-child):not(:last-child) {
  padding: 0 0 0 10px; /* 最初と最後以外には左に適度な余白を指定 */
}
.flow li::before, .flow li::after {
  content: ""; /* 疑似要素では必須 */
  width: 0; /* 横幅を0に指定 */
  height: 0; /* 高さを0に指定 */
  display: block; /* ブロック要素にする */
  position: absolute; /* 相対位置に指定 */
}
.flow li::before {
  border: solid 32px transparent;
  border-right: solid 13px transparent;
  border-left: solid 37px #FFF;
  top: -7px;
  left: 0;
  z-index: 1;
}
.flow li::after {
  border: solid 25px transparent;
  border-left: solid 30px #ccc;
  border-right: solid 10px transparent;
  top: 0;
  right: -40px;
  z-index: 2;
}
.flow li:first-child::before, .flow li:last-child::after {
  content: none; /* 最初のliの左と最後のliの右は作らない */
}
/* 以下.currentだけ色を変えるCSS */
.flow li.current {
  color: #FFF;
  background: #000;
}
.flow li.current::after {
  border-left: solid 30px #000;
}
ul.japanese-maker h4, ul.import-maker h4 {
  background-color: #000;
  color: #fff;
  padding: 0.5em 1em;
}
ul.japanese-maker li, ul.import-maker li {
  width: 46%;
  border: 1px solid #ddd;
  float: left;
  text-align: center;
  list-style-type: none;
  margin: 2%;
  box-shadow: 2px 3px 5px #ddd;
  font-size: 20px;
  font-weight: bold;
}
ul.japanese-maker li a, ul.import-maker li a {
  text-decoration: none;
  color: #000;
  padding: 5%;
  display: block;
}
ul.japanese-maker li a .xs, ul.import-maker li a .xs {
  display: block;
  font-size: 70%;
  font-weight: normal;
}
.clearfix {
  clear: both;
}
ul.rubi li, ul.rubi ul {
  list-style-type: none;
}
ul.rubi .summary:after {
  content: "▲";
  position: relative;
  right: 10px;
  display: block;
  float: right;
}
ul.rubi details[open] > .summary:after {
  content: "▼"
}
summary {
  display: block;
  list-style: none;
  background-color: #eee;
  padding: 1em 5%;
  margin-bottom: 8px;
  border-bottom: 1px solid #ccc;
  width: 100%;
  font-weight: bold;
}
.child li * {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 0.5em 2em;
}
.child li a:hover {
  color: #000;
  background-color: #eee;
}
/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display: none;
}
.rubi .child li {
  border-bottom: 1px solid #ccc;
}
th.midashi {
  background-color: #000;
  color: #fff;
  text-align: left;
  padding: 0.5em 1em;
}
th.car-type {
  background-color: #eee;
  text-align: left;
}
.car-type_list th.midashi {
  padding: 0.5em 1em;
}
.car-type_list th a, .car-type_list td a {
  padding: 0.5em 1em;
  display: block;
  color: #000;
}
tr.car-list:hover {
  background-color: #eee;
}
th.car-type * {
  text-decoration: none;
  color: #000;
  display: block;
}
th.car-type *:hover {
  text-decoration: none;
  color: #1176d4;
}
#compatibility h1.entry-title {
  background-color: #000;
  color: #fff;
  font-size: 24px;
  padding: 1em;
}
.maker_img {
  text-align: center;
  padding: 1em;
}
table {
  width: 100%;
  margin: 1em 0;
}
table td.num {
  background-color: #eee;
  text-align: center;
  padding: 0.5em;
  width: 2em;
}
.attention {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 0em 1em 1em;
  margin: 1.5em 0;
}
#compatibility .attention h5 {
  display: block;
  background-color: #fff;
  margin-top: -0.6em !important;
  padding: 0em 0.5em;
  width: 13em;
}
.attention h5 img.lamp {
  width: 1.8em;
  padding: 0px 0.2em 0px;
  display: block;
  float: left;
  margin: 1px 1px 6px 0px;
}
#compatibility table th, #compatibility table td {
  border: 1px solid #ccc;
}
table.spec {
  margin: 1em 0;
}
table.spec th {
  text-align: left;
  padding: 0.5em 1em;
  width: 10em;
}
table.spec td {
  text-align: left;
  padding: 0.5em 1em;
}
table.item_list {
  margin: 1em 0;
}
table.item_list th {
  text-align: left;
  padding: 0.5em 1em;
  width: 10em;
  background-color: #eee;
}
table.item_list td {
  text-align: left;
  padding: 0.5em 1em;
}
.gototop {
  padding: 2em;
  text-align: center;
  display: block;
}
#sidebar {
  display: none;
}
.-sidebar-on .l-content {
  display: block;
}
#breadcrumb {
  display: none;
}
h1.tekigou_title {
  text-align: center;
  font-size: 1.2em;
  margin: 0em 0em 1em 0em;
}
h2.car_name {
  text-align: left;
  font-size: 1.5em;
  padding: 0.6em 1em;
  margin: 0em 0em 0.3em 0em;
  background-color: #000;
  color: #fff;
}












.pc_only {
  display: block;
}
.sp_only {
  display: none;
}








@media (max-width: 768px) {
  .post_content * {
    font-size: 3vw;
	  	  width:100%;
  }
  #compatibility {
    font-size: 3vw;
	  width:100%;
  }
  .flow {
	width:100%;
	}

	
  .flow li {
    font-size: 3vw;
    width: calc(100% / 4);
    line-height: 1.5em;
    text-align: center;
    position: relative;
    list-style-type: none;
    padding: 1.5vw 0;
  }
  .flow li.current {
    color: #FFF;
    background: #000;
  }
  .flow li.current::after {
    border-left: solid 3.9vw #000;
  }
  .flow li::after {
    border: solid 6.1vw transparent;
    border-left: solid 4vw #ccc;
    border-right: solid 1vw transparent;
    top: 0;
    right: -4.4vw;
    z-index: 2;
  }
  .flow li::before {
    border: solid 6.1vw transparent;
    border-right: solid 4vw transparent;
    border-left: solid 4vw #FFF;
    top: 0px;
    left: 0;
    z-index: 1;
  }
  .flow li:not(:first-child):not(:last-child) {
    padding: 1.5vw 0;
  }
  .car-type_list, .item_list, .spec {
    font-size: 3.3vw;
  }
  .car-type_list .midashi:nth-of-type(1) {
    width: 30%;
  }
  .car-type_list .midashi:nth-of-type(2) {
    width: 20%;
  }
  .car-type_list .midashi:nth-of-type(3) {
    width: 20%;
  }
  .car-type_list .midashi:nth-of-type(4) {
    width: 30%;
  }
  .attention h5 {
    font-size: 4vw;
  }
  .attention h5 {
    width: 13em;
    text-align: center;
  }
	main {
	width:100%;
	}
.fit-maker-card {
    width: 40%;
    margin: 0 0% 0px;
}
	
	
	
	
	
	
	
	
	
	
	
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
}
/* ホバー時のアニメーション */
.fit-maker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: #f9f9f9;
}
/* リンク全体をクリック可能に */
.fit-maker-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}


