/* 建機パーツストア 部品の探し方 */
.parts-guide{--navy:#0b308e;--pale:#f2f6fc;--line:#d9e2ef;color:#222;font-size:16px;line-height:1.85;max-width:1100px;margin:0;text-align:left;overflow-wrap:anywhere}
.parts-guide *{box-sizing:border-box}
.parts-guide h1,.parts-guide h2,.parts-guide h3,.parts-guide p,.parts-guide ul{margin-top:0}
.parts-guide h1{font-size:clamp(23px,3vw,32px);line-height:1.45;color:var(--navy)}
.parts-guide h2{font-size:clamp(24px,2.5vw,29px);border-bottom:3px solid var(--navy);padding:0 0 8px;margin:38px 0 18px;color:var(--navy)}
.parts-guide h3{font-size:19px;color:var(--navy);margin:25px 0 10px}
.parts-guide a{color:#075a9e;text-decoration:underline;text-underline-offset:3px}
.parts-guide img{display:block;width:auto;max-width:100%;height:auto}
.parts-guide .lead{font-size:1.08em;line-height:1.9}
.parts-guide .summary{background:#f5f8fc;border:1px solid var(--line);border-radius:9px;padding:18px 20px;margin:20px 0}
.parts-guide .summary ul{padding-left:1.5em;margin-bottom:0}
.parts-guide .contact{background:#f2f6fc;border:1px solid #cbdaf1;border-radius:10px;padding:20px;margin:20px 0}
.parts-guide .contact p:last-child{margin-bottom:0}
.parts-guide .btn-row{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}
.parts-guide .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border-radius:7px;background:var(--navy);color:white;text-decoration:none;font-weight:700}
.parts-guide .btn.secondary{background:white;color:var(--navy);border:1px solid var(--navy)}
.parts-guide .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.parts-guide .step{background:#f5f8fc;border:1px solid var(--line);border-radius:8px;padding:15px}
.parts-guide .step strong{display:block;color:var(--navy)}
.parts-guide .maru{display:table;max-width:100%;margin:12px 0 18px;border:1px solid #222;border-radius:5px;padding:7px 18px;background:#fff;text-align:center;font-weight:700}
.parts-guide .maru a{color:var(--navy);text-decoration:none}
.parts-guide .maru:hover{background:#f3f6fb}
.parts-guide .banner_btn{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0 25px}
.parts-guide .banner_btn a{display:block}
.parts-guide .banner_btn img{width:auto;max-width:100%;height:auto;border-radius:8px}
.parts-guide .hero-img{max-width:100%;margin:15px 0}
.parts-guide .diagram{margin:20px 0 30px}
.parts-guide .diagram img{width:auto;max-width:100%;height:auto}
.parts-guide .diagram figcaption{font-size:20px;font-weight:700;color:var(--navy);margin-bottom:9px}
.parts-guide .diagram-links{margin:10px 0}
.parts-guide .note{font-size:.93em;color:#555}
.parts-guide .warning{border:2px solid #c43b3b;background:#fffdf5;padding:18px;border-radius:8px;margin:24px 0}
.parts-guide .warning strong{color:#a51d1d}
.parts-guide .faq-controls{margin:10px 0 15px}
.parts-guide .faq-toggle-all{font:inherit;font-weight:700;color:var(--navy);background:white;border:1px solid var(--navy);border-radius:5px;padding:7px 18px;cursor:pointer}
.parts-guide .faq-item{border-radius:9px;overflow:hidden;margin:9px 0;border:1px solid #e4eaf3}
.parts-guide .faq-item summary{display:flex;align-items:center;gap:17px;background:#f2f6fc;color:var(--navy);font-weight:700;padding:15px 17px;cursor:pointer;list-style:none}
.parts-guide .faq-item summary::-webkit-details-marker{display:none}
.parts-guide .faq-item summary::before{content:'Q';flex:none;display:grid;place-items:center;width:52px;height:52px;background:#0b308e;color:white;font-size:28px;font-weight:800;clip-path:polygon(50% 0,95% 18%,95% 78%,65% 88%,30% 100%,30% 86%,5% 78%,5% 18%)}
.parts-guide .faq-item summary::after{content:'+';font-size:26px;margin-left:auto;line-height:1}
.parts-guide .faq-item[open] summary::after{content:'−'}
.parts-guide .faq-answer{display:flex;gap:17px;align-items:flex-start;padding:15px 17px 20px;background:#fff}
.parts-guide .faq-answer::before{content:'A';flex:none;display:grid;place-items:center;width:52px;height:52px;background:#d9142b;color:white;font-size:27px;font-weight:800;clip-path:polygon(50% 0,95% 18%,95% 78%,65% 88%,30% 100%,30% 86%,5% 78%,5% 18%)}
.parts-guide .faq-answer>div{flex:1;min-width:0}
.parts-guide .faq-answer p{margin-bottom:8px}
.parts-guide .faq-answer img{max-width:100%;width:auto;height:auto;margin:8px 0}
@media(max-width:768px){.parts-guide{font-size:15px}.parts-guide .steps{grid-template-columns:1fr}.parts-guide .banner_btn{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.parts-guide .summary,.parts-guide .contact{padding:14px}.parts-guide .faq-item summary{gap:10px;padding:12px 10px}.parts-guide .faq-answer{gap:10px;padding:12px 10px}.parts-guide .faq-item summary::before,.parts-guide .faq-answer::before{width:44px;height:44px;font-size:24px}.parts-guide .faq-item summary::after{font-size:22px}.parts-guide .btn-row .btn{width:100%}}
@media(prefers-reduced-motion:no-preference){.parts-guide a,.parts-guide button{transition:background-color .15s}}

/* LINE問い合わせボタン */
.parts-guide .contact a.btn-green{background:#06c755;color:#fff;border:1px solid #06c755;text-decoration:none}
.parts-guide .contact a.btn-green:hover,.parts-guide .contact a.btn-green:focus-visible{background:#05a847;color:#fff;border-color:#05a847}

/* お問い合わせボタン：PC横並び、スマホ縦並び */
.parts-guide .contact .btn-row{display:flex;flex-direction:row;flex-wrap:nowrap;gap:10px;align-items:stretch}
.parts-guide .contact .btn-row>a{flex:1 1 0;min-width:0;text-align:center}
.parts-guide .contact a.btn-green{background-color:#06c755!important;color:#fff!important;border:1px solid #06c755!important}
.parts-guide .contact a.btn-green:hover,.parts-guide .contact a.btn-green:focus-visible{background-color:#05a847!important;color:#fff!important}
@media(max-width:768px){.parts-guide .contact .btn-row{flex-direction:column}.parts-guide .contact .btn-row>a{flex:auto;width:100%}}


/* 2026-11-19 再調整：店舗共通CSSによる上書きを防止 */
/* h2 は固定pxで指定（PC・スマホ共通）。店舗側の見出し指定より優先 */
html body .parts-guide h2 {
  font-size: 26px !important;
  line-height: 1.5;
}
/* 図の見出しも固定pxで指定 */
html body .parts-guide figure.diagram figcaption {
  font-size: 20px !important;
  line-height: 1.6;
}
/* 画像は原寸を基本とし、親要素を超える場合だけ縮小。縦横比を維持 */
html body .parts-guide img,
html body .parts-guide .hero-img,
html body .parts-guide .diagram img,
html body .parts-guide .banner_btn img,
html body .parts-guide .faq-answer img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: contain;
}
/* PC4列・スマホ2列のメーカー画像グリッドは維持 */
html body .parts-guide .banner_btn a { min-width: 0; }
@media (max-width: 768px) {
  html body .parts-guide h2 { font-size: 24px !important; }
  html body .parts-guide figure.diagram figcaption { font-size: 20px !important; }
}

/* 「この記事の要点」：見出し上の余白のみ削除 */
html body .parts-guide .summary > h2 {
  margin-top: 0 !important;
}
