

/* 適合表ページ スタイル */

:root {
    --gold: #D4AF37;
    --gold-dark: #B8942C;
    --black: #000000;
    --dark-gray: #1A1A1A;
}

* {
    box-sizing: border-box;
}

.compatibility-page {
    min-height: 100vh;
    background-color: var(--black);
    color: white;
}

/* ========== Header ========== */
.site-header {
    background-color: var(--black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
}

.logo-text {
    color: var(--gold);
    letter-spacing: 0.3em;
    font-size: 1.1rem;
}

.logo-subtext {
    color: white;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.main-nav a.active {
    border-bottom: 1px solid var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--gold);
}

/* ========== Main Content ========== */
.main-content {
    padding: 5rem 0;
}

.main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== Page Title ========== */
.page-title {
    margin-bottom: 5rem;
    text-align: center;
}

.page-title h1 {
    color: white;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.title-divider {
    width: 96px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* ========== Selection Section ========== */
.selection-section {
    max-width: 1400px;
    margin: 0 auto;
}

.selection-text {
    text-align: center;
    color: white;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
    line-height: 1.4;
    
}

.selection-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.selection-btn {
    position: relative;
    background: linear-gradient(to bottom, var(--dark-gray), var(--black));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.selection-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.btn-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0));
    transition: all 0.3s;
    pointer-events: none;
}

.selection-btn:hover .btn-overlay {
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.1));
}

.btn-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.btn-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.btn-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: transform 0.3s;
}

.selection-btn:hover .btn-icon {
    transform: scale(1.1);
}

.btn-label span {
    color: white;
    letter-spacing: 0.2em;
    transition: color 0.3s;
}

.selection-btn:hover .btn-label span {
    color: var(--gold);
}

.btn-selected {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    letter-spacing: 0.1em;
    display: none;
}

.btn-selected.active {
    display: block;
}

/* ========== Reset Button ========== */
.reset-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.reset-btn {
    padding: 0.75rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: white;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* ========== Product Table ========== */
.product-table-container {
    margin-top: 5rem;
    overflow-x: scroll;
}

.table-header {
    text-align: center;
    margin-bottom: 3rem;
    display: none;
}

.table-header h2 {
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom:1rem;
    font-size: 1.5rem;
}

.table-divider {
    width: 64px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 0 auto;
}

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

.product-table {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-collapse: collapse;
    min-width: 1100px;
}

.product-table thead tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.product-table th {
    padding: 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.5;
    font-size: 12px;
    vertical-align: middle;
}

.product-table th.text-right {
    text-align: right;
}

.product-table th.text-center {
    text-align: center;
}

.product-table tbody tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: background-color 0.3s;
}

.product-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.product-table td {
    padding: 1rem;
    color: white;
    font-size: 12px;
    line-height: 1.4;
}

.product-table td.text-right {
    text-align: right;
}

.product-table td.text-center {
    text-align: center;
}

.product-table td:nth-child(2),
.product-table td:nth-child(3),
.product-table td:nth-child(4) {
    color: rgba(255, 255, 255, 0.8);
}

.purchase-btn {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(to right, var(--gold), var(--gold-dark));
    color: var(--black);
    border: none;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

.purchase-btn:hover {
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
}

.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results p {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

.brake-title {
    font-size: 24px;
    padding: 16px;
}
.brake-table {
    margin-bottom: 120px;
}

/* ========== Modal ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
    animation: fadeIn 0.2s;
}

.modal-overlay.active {
    display: block;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 51;
    width: 90%;
    max-width: 640px;
    display: none;
    animation: modalIn 0.2s;
}

.modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    background: linear-gradient(to bottom, var(--dark-gray), var(--black));
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    max-height: 540px;
}

.modal-header {
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
}

.modal-header h3 {
    color: var(--gold);
    text-align: center;
    letter-spacing: 0.2em;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.modal-body {
     overflow-y: scroll;
    max-height: 400px;
}

.modal_inner {
    display: grid;
   grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-option {
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(26, 26, 26, 0.5));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem 2rem;
    color: white;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-option:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.1));
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .selection-text {
        font-size: 14px;
    }
    .selection-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-title h1 {
        font-size: 1.75rem;
    }

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

    .product-table {
        min-width: 600px;
    }

    .modal {
        top: 55%;
    }
    .modal_inner {
        display: flex;
    flex-direction: column;
    gap: 1rem;
    }
}

table.entry-table {
    margin-bottom: 40px;
}
table.entry-table th, table.entry-table td {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 15px 20px;
}
table.entry-table th {
    border-bottom: 1px solid #ba850b;
    font-weight: bold;
    width: 35%;
  vertical-align: top;
}
table.entry-table td {
  width: 65%;
  background:#f0f0f0;
  color: #000 !important;
  border-bottom: 1px solid #ba850b;
}
table.entry-table tr:last-child td {
    border-bottom-color: #ba850b;
}
span.required {
      color: white;
    background: red;
    font-size: 1.4rem;
    padding: 1.5px 12px;
}
table.entry-table th span.required {
    float: right;
}
div.entry-notice p.text {
    font-size: 1rem;
    line-height: 2;
    text-align: center;
}
a {
    transition: all 0.4s;
    color: #000;
}
input.form-text {
  width: 100%;
  font-size: 1.2rem;
  padding: 5px 10px;
}
select.form-select {
  width: 100%;
  font-size: 1.2rem;
  padding: 5px 10px;
}
textarea.form-textarea {
  width: 100%;
  font-size: 1.2rem;
  padding: 5px 10px;
}
.mwform-checkbox-field label, 
.mwform-radio-field label {
    line-height: 2;
    font-size: 1.6rem;
}
table.entry-table span.mwform-checkbox-field.horizontal-item,
table.entry-table span.mwform-radio-field.horizontal-item {
    width: 48%;
    display: inline-block;
    margin: 4px 0px !important;
      vertical-align: top;
}
input.form-text.form-text-age {
    width: 60px;
    margin-right: 5px;
}
div.entry-buttonarea {
    margin-top: 30px;
}
input.form-submit {
    font-size: 1.8rem;
    color: white;
    background: #d73300;
    width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    font-weight: bold;
    line-height: 1.3;
    padding: 10px 10px;
    border-radius: 20px;
    border: 3px solid #ff3300;
    font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuProN-W3", 'メイリオ','Meiryo', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 1px;
  cursor:pointer;
}
input.form-backbtn {
    margin-top: 30px;
   font-size: 1.8rem;
  color: #ff3300;
width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    font-weight: bold;
    line-height: 1.3;
    padding: 10px 10px;
    border-radius: 20px;
    border: 3px solid #ff3300;
    font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuProN-W3", 'メイリオ','Meiryo', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 1px;
  cursor:pointer;
  background: white;
}
div.form-resetbtn > a {
    margin-top: 30px;
   font-size: 1.8rem;
  color: #ff3300;
width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    font-weight: bold;
    line-height: 1.3;
    padding: 10px 10px;
    border-radius: 20px;
    border: 3px solid #ff3300;
    font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuProN-W3", 'メイリオ','Meiryo', "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 1px;
  cursor:pointer;
  background: white;
  text-align: center;
}
input.form-submit:hover, input.form-backbtn:hover {
    border-color: #ff3300;
}
div.mw_wp_form_confirm div.form-resetbtn, div.mw_wp_form_confirm div.entry-notice {
    display: none;
}


.mw_wp_form .error {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: bold;
    color: #d73300;
}
.mw_wp_form .error + input, .mw_wp_form .error + textarea {
  border-color:#d73300;
}

div#page-content.info div#section1.entry p.finish-message {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    color: #d73300;
}
div.entry-telinfo {
    text-align: center;
    border-top: 2px solid #d2d2d2;
    border-bottom: 2px solid #d2d2d2;
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 15px;
}
div.entry-telinfo p.text {
    font-size: 1.6rem;
    line-height: 2;
      margin-bottom: 25px;

}

@media screen and (max-width: 768px) {
  div#page-content.info div#section1.entry h1.entry-title {
    font-size: 2.8rem;
  }
  div#page-content.info div#section1 {
    padding-bottom: 40px;
  }
div#page-content.info div#section2.entry {
    padding-top: 15px;
}
  table.entry-table, table.entry-table tbody, table.entry-table tr, table.entry-table th, table.entry-table td {
    display:block;
    width:100%;
  }
  table.entry-table tr {
    margin-bottom: 15px;
  }
  table.entry-table span.mwform-checkbox-field.horizontal-item, table.entry-table span.mwform-radio-field.horizontal-item {
    width: 100%;
    display: block;
    margin: 0 0 12px 0 !important;
  }
  table.entry-table th, table.entry-table td {
    padding: 12px 15px;
  }
  div#page-content.info div#section1.entry p.finish-message {
    font-size: 1.8rem;
  }
  div.post-buttonarea a.backbtn,
  div.post-buttonarea a.listbtn {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* =================================================== *

   お問い合わせ

 * =================================================== */
h2.contact-midashi {
    background: #D2F0FF;
    text-align: center;
    padding: 15px 10px;
    color: #00A0E8;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 50px;
  letter-spacing: 2px;
}
div.contact-tel-list {
  margin-bottom: 100px;
}
div.contact-tel-list > div.element {
    width: 50%;
    text-align: center;
  padding:40px 10px 25px;
  
}
div.contact-tel-list > div.element.bb {
    border-bottom: 2px solid #D2D2D2;
    padding-top:25px;
    padding-bottom:40px;
}
div.contact-tel-list > div.element.br {
    border-right: 2px solid #D2D2D2;
}
div.contact-tel-list > div.element div.icon {
    max-width: 50px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
}
div.contact-tel-list > div.element h3.officename {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
}
div.contact-tel-list > div.element p.telno {
    font-size: 4.0rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0;
}
div.contact-tel-list > div.element p.telno a {
  color:#000000;
}

div#mw_wp_form_mw-wp-form-18 {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}
div#mw_wp_form_mw-wp-form-18 p {
    line-height: 1.6;
}
ul.wp-block-list li {
	line-height: 2 ;
	margin-bottom: 30px ;
}
@media (max-width: 768px) {
	.page-title h1 {
        font-size: 1.3rem;
    }
}