@charset "UTF-8";

/* ============================================================
   メーカー別ページ共通スタイル v2 (40〜50代男性向けに+1〜2pt)
   - クラス接頭辞 mk- でサイト共通CSSとの衝突を回避
   - 配置: kt/tire/maker/assets/css/style.css
   - 参照: kt/tire/maker/<slug>/index.html から ../assets/css/style.css
   - 寸法は主に em（16px 相当の基準で換算）。1px ボーダー・細いシャドウ・画像枠の固定寸法は px のまま
   ============================================================ */

/* ----- ページヘッダ ----- */
.mk-page-heading { text-align: center; margin: 0.75em 0 1.75em; }
.mk-page-heading h1 {
    font-size: 1.5625em;
    font-weight: 700;
    letter-spacing: .04em;
    margin: 0 0 0.32em;
    line-height: 1.4;
}
.mk-page-heading .mk-h1-rule {
    width: 2.75em;
    height: 3px;
    background: #1a1a1a;
    margin: 0.625em auto 0;
}
.mk-page-heading .mk-lead {
    margin: 1.067em auto 0;
    font-size: 0.9375em;
    color: #444;
    max-width: 41.33em;
    line-height: 1.9;
}

/* ----- メーカー紹介ボックス ----- */
.mk-intro {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 0.258em;
    padding: 1.419em 1.677em;
    margin: 0 0 1.548em;
    font-size: 0.96875em;
    color: #333;
    line-height: 1.95;
}

/* ----- 強み ----- */
.mk-strength {
    border-left: 0.2em solid #1a1a1a;
    padding: 0.4em 1.2em;
    margin: 0 0 2.933em;
    font-size: 0.9375em;
    color: #444;
    line-height: 1.9;
}
.mk-strength .mk-strength-label {
    display: block;
    font-size: 0.833em;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: .12em;
    margin-bottom: 0.48em;
}

/* ----- セクションタイトル ----- */
.mk-section-title { text-align: center; font-size: 1.25em; font-weight: 700; letter-spacing: .04em; margin: 0 0 0.3em; }
.mk-section-rule { width: 2.75em; height: 3px; background: #1a1a1a; margin: 0.375em auto 1.75em; }

/* ----- フィルタタブ ----- */
.mk-filter-tabs {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 1.75em;
    padding: 0;
    list-style: none;
}
.mk-filter-tab {
    padding: 0.552em 1.517em;
    border: 1px solid #1a1a1a;
    border-radius: 0.138em;
    font-size: 0.90625em;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
    transition: background .15s, color .15s;
}
.mk-filter-tab:hover,
.mk-filter-tab.is-active { background: #1a1a1a; color: #fff; }

.mk-filter-tab[data-filter="summer"] {
    border-color: #dc8f3f;
    color: #9f5f12;
}
.mk-filter-tab[data-filter="summer"]:hover,
.mk-filter-tab[data-filter="summer"].is-active {
    background: #ea8f2d;
    border-color: #d67a15;
    color: #fff;
}

.mk-filter-tab[data-filter="studless"] {
    border-color: #3d9fd4;
    color: #0f6a9f;
}
.mk-filter-tab[data-filter="studless"]:hover,
.mk-filter-tab[data-filter="studless"].is-active {
    background: #258fc9;
    border-color: #1a79b0;
    color: #fff;
}

.mk-filter-tab[data-filter="all_season"] {
    border-color: #54b374;
    color: #20743a;
}
.mk-filter-tab[data-filter="all_season"]:hover,
.mk-filter-tab[data-filter="all_season"].is-active {
    background: #379c57;
    border-color: #2d8348;
    color: #fff;
}

/* ----- シリーズグリッド ----- */
.mk-series-grid { display: flex; flex-direction: column; gap: 1.375em; margin: 0; padding: 0; list-style: none; }

.mk-series-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid #ddd;
    border-radius: 0.25em;
    overflow: hidden;
    transition: box-shadow .2s;
    background: #fff;
}
.mk-series-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.09); }

/* 画像エリア (実画像 or プレースホルダ共通) */
.mk-series-img {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.667em;
    color: #888;
    font-size: 0.75em;
    text-align: center;
    padding: 1.167em;
    min-height: 160px;
    border-right: 1px solid #ddd;
}
.mk-series-img svg { opacity: .35; }

/* 画像リンク (a要素として全面クリッカブル) */
.mk-series-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity .2s;
}
.mk-series-img-link:hover { opacity: .8; }
.mk-series-img-link img {
    max-width: 100%;
    max-height: 180px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

.mk-series-body {
    padding: 1.125em 1.375em;
    display: flex;
    flex-direction: column;
    gap: 0.625em;
}

.mk-series-badges { display: flex; flex-wrap: wrap; gap: 0.375em; }
.mk-badge {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    padding: 0.25em 0.833em;
    border-radius: 0.167em;
    letter-spacing: .03em;
}
.mk-badge-summer    { background: #ea8f2d; color: #fff; }
.mk-badge-studless  { background: #258fc9; color: #fff; }
.mk-badge-allseason { background: #379c57; color: #fff; }

.mk-series-name {
    font-size: 1.1875em;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.45;
    color: #1a1a1a;
}
.mk-series-name a {
    color: inherit;
    text-decoration: none;
}
.mk-series-name a:hover {
    text-decoration: underline;
}

.mk-series-size-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    margin: 0.5em 0 0;
}
.mk-series-size-note .mk-size-label {
    color: #888;
    font-size: 0.84375em;
    width: 100%;
    margin-bottom: 0.2em;
}
.mk-size-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 0.25em;
    padding: 0.3em 0.6em;
    background: #fff;
    line-height: 1.1;
    min-width: 3.2em;
}
.mk-size-box .num {
    font-size: 1.25em;
    font-weight: 700;
    color: #1a1a1a;
}
.mk-size-box .unit {
    font-size: 0.65em;
    color: #888;
    font-weight: 500;
}

.mk-series-link {
    display: inline-block;
    margin-top: auto;
    padding: 0.667em 1.630em;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.84375em;
    font-weight: 700;
    border-radius: 0.148em;
    align-self: flex-start;
    text-decoration: none;
    transition: opacity .15s;
}
.mk-series-link:hover { opacity: .75; color: #fff; }

/* ----- ガイドボタン ----- */
.mk-guide-block { margin-top: 3.25em; }
.mk-guide-block .btn-guide {
    display: block;
    background-color: #638c0b;
    color: #fff;
    text-align: center;
    padding: 1.548em 1.419em;
    border-radius: 0.258em;
    font-size: 0.96875em;
    line-height: 1.7;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .15s;
}
.mk-guide-block .btn-guide:hover {
    background-color: #d9534f;
    color: #fff;
    opacity: 1;
}

/* ----- 戻るリンク ----- */
.mk-back-links { margin-top: 2em; display: flex; gap: 0.625em; flex-wrap: wrap; }
.mk-back-links a {
    padding: 0.667em 1.333em;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-size: 0.84375em;
    border-radius: 0.148em;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.mk-back-links a:hover { background: #1a1a1a; color: #fff; }

.mk-preparing {
	margin: 2.5em auto 3em;
	padding: 2em 1.5em;
	max-width: 40em;
	border: 1px dashed #888;
	border-radius: 0.258em;
	background: #f7f7f7;
	text-align: center;
	line-height: 1.8;
	color: #333;
}

.mk-preparing-lead {
	margin: 0 0 0.75em;
	font-size: 1.125em;
	font-weight: 700;
}

/* メーカーページ: 共通サイトの点線 h1 と二重になる横ルールのみ隠す */
#generic.tire_makerpage .mk-page-heading .mk-h1-rule {
	display: none;
}

/* ----- ブランド一覧 (maker/index.html) ----- */
.mk-brand-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-top: 1em;
}

.mk-brand-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25em;
    padding: 1.5em;
    transition: box-shadow 0.2s;
}

.mk-brand-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.09);
}

.mk-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75em;
}

.mk-brand-logo {
    height: auto;
    max-width: 150px;
    flex-shrink: 0;
    object-fit: contain;
}

#generic .generic_container h2.mk-brand-name {
    font-size: 1.375em;
    font-weight: 700;
    margin: 0 !important;
    padding: 0 !important;
    color: #1a1a1a;
    text-align: left !important;
    width: auto !important;
    display: block !important;
}

#generic .generic_container h2.mk-brand-name span {
    text-align: left !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

#generic .generic_container h2.mk-brand-name::before,
#generic .generic_container h2.mk-brand-name::after,
#generic .generic_container h2.mk-brand-name span::before,
#generic .generic_container h2.mk-brand-name span::after {
    content: none !important;
    display: none !important;
}

.mk-brand-name a {
    color: inherit;
    text-decoration: none;
    display: block !important;
    text-align: left !important;
}

.mk-brand-name a:hover {
    text-decoration: underline;
}

.mk-brand-lead {
    font-size: 0.9375em;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.mk-brand-body {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.mk-brand-best {
    font-size: 0.875em;
    color: #444;
    margin: 0;
    line-height: 1.8;
}

.mk-brand-best .label {
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 0.5em;
}

.mk-brand-best .series {
    display: inline-block;
    padding: 0.1em 0.5em;
    border-radius: 0.2em;
    margin-right: 0.3em;
    font-weight: 500;
}

.mk-brand-best .series.summer {
    background: #e8f0fe;
    color: #1a56c4;
}

.mk-brand-best .series.studless {
    background: #e8f4fd;
    color: #0e74b8;
}

.mk-brand-best .series.all_season {
    background: #e8f8f0;
    color: #1a7a44;
}

.mk-brand-link {
    display: inline-block;
    background: #1a1a1a;
    color: #fff !important;
    padding: 0.6em 1.5em;
    border-radius: 0.2em;
    text-decoration: none;
    transition: opacity 0.15s;
    align-self: flex-start;
    font-size: 0.875em;
    font-weight: 700;
    margin-top: 0.5em;
}

.mk-brand-link:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* ----- レスポンシブ ----- */
@media (max-width: 37.5em) {
    .mk-series-card { grid-template-columns: 1fr; }
    .mk-series-img { min-height: 140px; border-right: none; border-bottom: 1px solid #ddd; }
    .mk-series-img-link img { max-height: 200px; }
    .mk-page-heading h1 { font-size: 1.375em; }
    .mk-intro { font-size: 0.9375em; }
    .mk-series-name { font-size: 1.094em; }
}
