/* ===== TOP HERO PHOTO : current BASE layout compatible ===== */
.x-hero-photo{
  width:100%;
  margin:0;
  padding:0;
  background:#050505;
  overflow:hidden;
}
.x-hero-photo__inner{
  width:100%;
  max-width:1400px;
  margin:0 auto;
}
.x-hero-photo img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  object-fit:contain;
  object-position:center center;
}
@media(max-width:760px){
  .x-hero-photo img{
    width:100%;
    height:auto;
  }
}

.x-lineup-card .x-special-order{
 display:inline-block;margin:8px 0 0;padding:5px 9px;
 border:1px solid #777;border-radius:3px;
 color:#555;background:#fff;font-size:10px;font-weight:800;
}

.x-current-lineup-note{
 max-width:1200px;margin:34px auto 18px;padding:13px 18px;
 border-left:4px solid #c40000;background:#f7f7f7;color:#555;
 font-size:12px;line-height:1.7;
}
.x-current-lineup-note strong{display:block;color:#111;font-size:14px}
@media(max-width:760px){
 .x-current-lineup-note{margin:24px 14px 14px;padding:11px 13px;font-size:10px}
 .x-current-lineup-note strong{font-size:12px}
}

/* ===== production catalogue additions; isolated from existing BASE theme ===== */
.x-cat-section{padding:42px 0;background:#fff;color:#111}
.x-cat-section--grease{background:#f6f6f6}
.x-cat-wrap{max-width:1200px;margin:auto;padding:0 24px}
.x-cat-head{display:flex;align-items:baseline;gap:12px;margin:0 0 18px;padding-bottom:10px;border-bottom:2px solid #ddd}
.x-cat-head h2{margin:0;font-size:28px;font-weight:900;letter-spacing:.02em}
.x-cat-head p{margin:0;color:#777;font-size:11px}
.x-cat-section--one .x-cat-head h2{color:#17823b}
.x-cat-section--grease .x-cat-head h2{color:#6a3bb8}
.x-cat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.x-cat-grid--2{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px;margin:auto}
.x-cat-card{position:relative;overflow:hidden;background:#fff;border:1px solid #ddd;border-radius:7px}
.x-cat-photo{height:230px;padding:14px;display:flex;align-items:center;justify-content:center;background:#fff}
.x-cat-photo img{display:block;width:100%;height:100%;object-fit:contain}
.x-cat-section--one .x-cat-photo{height:285px;padding:28px}
.x-cat-section--one .x-cat-photo img{width:auto;height:auto;max-width:78%;max-height:78%}
.x-cat-body{padding:12px;text-align:center;border-top:1px solid #eee}
.x-cat-body h3{margin:0 0 6px;font-size:13px;line-height:1.4}
.x-cat-body p{margin:0;min-height:34px;color:#666;font-size:10px;line-height:1.55}
.x-cat-badge{position:absolute;top:8px;right:8px;z-index:2;padding:4px 7px;background:#c40000;color:#fff;border-radius:3px;font-size:8px;font-weight:900}
.x-cat-badge--order{background:#111}
.x-cat-action{display:inline-block;text-decoration:none!important;margin-top:9px;padding:6px 12px;border:1px solid #c40000;color:#c40000;font-size:9px;font-weight:900;border-radius:3px}
.x-cat-badge--order~.x-cat-photo + .x-cat-body .x-cat-action{border-color:#111;color:#111}
@media(max-width:900px){.x-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .x-cat-section{padding:30px 0}.x-cat-wrap{padding:0 14px}
 .x-cat-head h2{font-size:23px}
 .x-cat-grid,.x-cat-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:none}
 .x-cat-photo{height:180px;padding:8px}.x-cat-section--one .x-cat-photo{height:200px;padding:18px}
 .x-cat-body{padding:9px 6px}.x-cat-body h3{font-size:11px}.x-cat-body p{font-size:9px}
}

.x-cat-section--red{background:#fff}
.x-cat-section--ex120{background:#f6f6f6}
.x-cat-section--red .x-cat-head h2{color:#c40000}
.x-cat-section--ex120 .x-cat-head h2{color:#2d6fc0}
.x-cat-grid--6{grid-template-columns:repeat(6,minmax(0,1fr))}
.x-cat-section--ex120 .x-cat-photo{height:250px;padding:10px}
.x-cat-section--ex120 .x-cat-photo img{width:100%;height:100%;object-fit:contain}
@media(max-width:1050px){.x-cat-grid--6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .x-cat-grid--6{grid-template-columns:repeat(2,minmax(0,1fr))}
 .x-cat-section--ex120 .x-cat-photo{height:180px;padding:8px}
}

.x-image-awaiting{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f4f4;color:#999;text-align:center}
.x-image-awaiting span{font-size:11px;font-weight:900;letter-spacing:.08em}
.x-image-awaiting small{margin-top:5px;font-size:9px}
.x-hero-hosting-note{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#080808;color:#fff}
.x-hero-hosting-note strong{font-size:46px;letter-spacing:.04em}.x-hero-hosting-note span{font-size:13px;letter-spacing:.25em;color:#aaa}
@media(max-width:760px){.x-hero-hosting-note{min-height:220px}.x-hero-hosting-note strong{font-size:30px}}

.x-hero-photo__inner img{
 display:block;width:100%;height:auto;max-height:none;
 object-fit:contain;object-position:center center;
}

.x-revitalizant-brand{
 max-width:1200px;margin:34px auto 8px;padding:0 24px;
 display:flex;align-items:center;justify-content:flex-start;
}
.x-revitalizant-brand img{
 display:block;width:auto;max-width:330px;max-height:76px;object-fit:contain;
}
.x-cat-head--logo{display:block}
.x-series-logo{display:block;width:auto;max-width:100%;object-fit:contain}
.x-series-logo--stage{max-height:92px}
@media(max-width:760px){
 .x-revitalizant-brand{margin:24px auto 6px;padding:0 14px}
 .x-revitalizant-brand img{max-width:250px;max-height:58px}
 .x-series-logo--stage{max-height:70px}
}

/* v15: EX120 product image sizing only */
#ex120-lineup .x-cat-photo{
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#ex120-lineup .x-cat-photo img{
  width: 100%;
  height: 100%;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
  object-position: center center;
  display: block;
}
@media (max-width:760px){
  #ex120-lineup .x-cat-photo{height:220px;}
  #ex120-lineup .x-cat-photo img{
    max-width:200px;
    max-height:200px;
  }
}

/* v16: EX120 power steering image only */
#ex120-lineup img[src="https://basefile.akamaized.net/xadojapan-official-ec/6a96b6035aae3/61zb9WQUPbL._AC_SL1200_.jpg"]{
  width: 78%;
  height: 78%;
  max-width: 188px;
  max-height: 188px;
  object-fit: contain;
}
@media (max-width:760px){
  #ex120-lineup img[src="https://basefile.akamaized.net/xadojapan-official-ec/6a96b6035aae3/61zb9WQUPbL._AC_SL1200_.jpg"]{
    width: 76%;
    height: 76%;
    max-width: 152px;
    max-height: 152px;
  }
}

/* v17: EX120 power steering image - further reduced */
#ex120-lineup img[src="https://basefile.akamaized.net/xadojapan-official-ec/6a96b6035aae3/61zb9WQUPbL._AC_SL1200_.jpg"]{
  width: 68% !important;
  height: 68% !important;
  max-width: 163px !important;
  max-height: 163px !important;
  object-fit: contain;
}
@media (max-width:760px){
  #ex120-lineup img[src="https://basefile.akamaized.net/xadojapan-official-ec/6a96b6035aae3/61zb9WQUPbL._AC_SL1200_.jpg"]{
    width: 66% !important;
    height: 66% !important;
    max-width: 132px !important;
    max-height: 132px !important;
  }
}

.x-cat-action{text-decoration:none!important}
.x-pdf-link{max-width:1200px;margin:0 auto 30px;padding:0 24px;text-align:right}
.x-pdf-link a{display:inline-block;padding:11px 18px;border:1px solid #222;background:#fff;color:#222;text-decoration:none;font-size:13px;font-weight:700}
.x-pdf-link a:hover{background:#222;color:#fff}

.x-cat-head .x-doc-link{
 display:inline-block;margin-left:auto;padding:7px 12px;border:1px solid #222;
 background:#fff;color:#222;text-decoration:none;font-size:10px;font-weight:800;
 white-space:nowrap;border-radius:3px
}
.x-cat-head .x-doc-link:hover{background:#222;color:#fff}
@media(max-width:760px){
 .x-cat-head{flex-wrap:wrap}
 .x-cat-head .x-doc-link{margin-left:auto;padding:6px 9px;font-size:9px}
}

@media(max-width:760px){.x-pdf-link{padding:0 14px;text-align:center}.x-pdf-link a{width:100%;box-sizing:border-box}}

/* ===== REVITALIZANT PATENT / CERTIFICATION ===== */
.x-proof-section{
  padding:46px 0;
  background:#0b0b0b;
  color:#fff;
}
.x-proof-section .x-wrap{max-width:1200px;margin:auto;padding:0 24px}
.x-proof-head{margin-bottom:24px}
.x-proof-head .x-kicker{color:#d00000}
.x-proof-head h2{
  margin:6px 0 10px;
  font-size:30px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.02em;
}
.x-proof-head p{
  max-width:850px;
  margin:0;
  color:#bbb;
  font-size:12px;
  line-height:1.8;
}
.x-proof-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.x-proof-card{
  border:1px solid #333;
  background:#151515;
  padding:22px 20px;
  min-height:180px;
}
.x-proof-card__label{
  display:block;
  margin-bottom:10px;
  color:#d00000;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}
.x-proof-card h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.45;
}
.x-proof-card p{
  margin:0;
  color:#c8c8c8;
  font-size:11px;
  line-height:1.75;
}
.x-proof-card a{
  display:inline-block;
  margin-top:14px;
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid #777;
}
.x-proof-note{
  margin:18px 0 0;
  color:#888;
  font-size:9px;
  line-height:1.75;
}
@media(max-width:760px){
  .x-proof-section{padding:32px 0}
  .x-proof-section .x-wrap{padding:0 14px}
  .x-proof-head h2{font-size:24px}
  .x-proof-grid{grid-template-columns:1fr}
  .x-proof-card{min-height:0;padding:18px 16px}
}

/* ===== XADO JAPAN HISTORY ===== */
.x-history{background:#0b0b0b;color:#fff}
.x-history .x-title{color:#fff}
.x-history-intro{max-width:860px;color:#c8c8c8;font-size:13px;line-height:1.9}
.x-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px}
.x-history-card{padding:22px 20px;border:1px solid #333;background:#151515}
.x-history-year{display:block;margin-bottom:8px;color:#d00000;font-size:22px;font-weight:900}
.x-history-card h3{margin:0 0 8px;font-size:15px;color:#fff}
.x-history-card p{margin:0;color:#bbb;font-size:11px;line-height:1.75}
.x-history-photo{width:100%;height:105px;object-fit:cover;object-position:left center;display:block;margin:0 0 14px;border:1px solid #2b2b2b;background:#fff}.x-history-photo--contain{object-fit:contain;object-position:center;background:#fff}
.x-history-note{margin-top:24px;padding:18px 20px;border-left:4px solid #d00000;background:#111;color:#bbb;font-size:11px;line-height:1.8}
@media(max-width:760px){.x-history-grid{grid-template-columns:1fr}.x-history-card{padding:18px 16px}.x-history-year{font-size:20px}}

/* ===== ITEM PAGE MULTI IMAGE GALLERY ===== */
.x-product-main{
  width:100%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.x-product-main img{
  display:block;
  width:100%;
  height:auto;
  max-height:720px;
  object-fit:contain;
}
.x-product-thumbs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.x-product-thumb{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #ddd;
  background:#fff;
  padding:4px;
  cursor:pointer;
  aspect-ratio:1/1;
  overflow:hidden;
}
.x-product-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.x-product-thumb:hover,
.x-product-thumb.is-active{
  border-color:#111;
}
.x-product-thumbs.is-single{
  display:none;
}
@media(max-width:760px){
  .x-product-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
  }
  .x-product-main img{
    max-height:520px;
  }
}

/* ===== BASE 商品説明カスタムApp ===== */
.x-item-detail-custom{
  margin-top:28px;
  width:100%;
}
.x-item-detail-custom iframe,
.x-item-detail-custom video{
  display:block;
  width:100%;
  max-width:560px;
  aspect-ratio:16 / 9;
  height:auto;
  margin:0 auto;
}
.x-item-detail-custom iframe{
  height:auto;
  min-height:315px;
}
@media(max-width:640px){
  .x-item-detail-custom iframe,
  .x-item-detail-custom video{
    max-width:100%;
  }
  .x-item-detail-custom iframe{
    min-height:0;
    height:auto;
    aspect-ratio:16 / 9;
  }
}

/* ===== FORCE 16:9 VIDEO SIZE ===== */
.x-item-detail-custom iframe{
  display:block !important;
  width:560px !important;
  max-width:100% !important;
  height:315px !important;
  min-height:0 !important;
  aspect-ratio:16 / 9 !important;
  margin:20px auto !important;
}
.x-item-detail-custom video{
  display:block !important;
  width:560px !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  object-fit:contain !important;
  margin:20px auto !important;
}
@media(max-width:600px){
  .x-item-detail-custom iframe{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
  }
  .x-item-detail-custom video{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
  }
}

/* ===== COMPACT VIDEO SPACING ===== */
.x-item-detail-custom{
  margin-top:12px !important;
  margin-bottom:12px !important;
}
.x-item-detail-custom iframe,
.x-item-detail-custom video{
  margin:6px auto !important;
}
.x-item-detail-custom > div,
.x-item-detail-custom .youtube,
.x-item-detail-custom .video{
  margin-top:6px !important;
  margin-bottom:6px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* ===== SAFE VIDEO SPACING FIX =====
   BASE側の16:9ラッパーのpadding/heightは触らず、外側のmarginだけ詰める */
.x-item-detail-custom{
  margin-top:8px !important;
  margin-bottom:8px !important;
}

/* 動画本体 */
.x-item-detail-custom iframe{
  display:block !important;
  width:560px !important;
  max-width:100% !important;
  height:315px !important;
  min-height:0 !important;
  aspect-ratio:16 / 9 !important;
  margin:0 auto !important;
}
.x-item-detail-custom video{
  display:block !important;
  width:560px !important;
  max-width:100% !important;
  aspect-ratio:16 / 9 !important;
  margin:0 auto !important;
}

/* BASEの商品説明カスタム内の各ブロックは高さやpaddingを変更しない */
.x-item-detail-custom > div{
  margin-top:6px !important;
  margin-bottom:6px !important;
}

/* iframe/videoを含むブロックの外側余白だけを詰める */
.x-item-detail-custom div:has(iframe),
.x-item-detail-custom div:has(video),
.x-item-detail-custom p:has(iframe),
.x-item-detail-custom p:has(video){
  margin-top:6px !important;
  margin-bottom:6px !important;
}

/* 改行は消さない */
@media(max-width:600px){
  .x-item-detail-custom iframe,
  .x-item-detail-custom video{
    width:100% !important;
    max-width:100% !important;
    aspect-ratio:16 / 9 !important;
  }
  .x-item-detail-custom iframe{
    height:auto !important;
  }
}

/* ===== VIDEO GAP FIX: wrapper width only ===== */
/* 動画の16:9用ラッパーは壊さず、幅だけ動画本体と揃える */
.x-item-detail-custom div:has(> iframe),
.x-item-detail-custom p:has(> iframe){
  width:560px !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:6px !important;
  margin-bottom:6px !important;
}

/* iframeは親幅いっぱい。高さは16:9 */
.x-item-detail-custom iframe{
  width:100% !important;
  max-width:100% !important;
  aspect-ratio:16 / 9 !important;
  margin:0 !important;
}

@media(max-width:600px){
  .x-item-detail-custom div:has(> iframe),
  .x-item-detail-custom p:has(> iframe){
    width:100% !important;
    max-width:100% !important;
  }
}

/* ===== 商品説明カスタム動画：PC 2列 / SP 1列 ===== */

/* YouTube/Vimeoを含む各パーツを2列配置 */
#appsItemDetailCustomTag,
.x-item-detail-custom #appsItemDetailCustomTag{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:12px !important;
  align-items:start !important;
}

/* 動画系ブロックは列幅いっぱい */
#appsItemDetailCustomTag > *,
.x-item-detail-custom #appsItemDetailCustomTag > *{
  min-width:0 !important;
  margin:0 !important;
}

/* iframe/videoは各セル内で16:9 */
#appsItemDetailCustomTag iframe,
#appsItemDetailCustomTag video,
.x-item-detail-custom iframe,
.x-item-detail-custom video{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  aspect-ratio:16 / 9 !important;
  height:auto !important;
  margin:0 !important;
}

/* スマホは1列 */
@media(max-width:700px){
  #appsItemDetailCustomTag,
  .x-item-detail-custom #appsItemDetailCustomTag{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
}

/* ===== 商品詳細本文：安全な軽微調整 ===== */
.x-item-detail-text{
  max-width:920px;
  font-size:15px;
  line-height:1.8;
  color:#333;
}

/* 改行はBASE登録内容をそのまま尊重 */
.x-item-detail-text br{
  display:inline;
  margin:0;
}

/* 段落だけ自然な余白 */
.x-item-detail-text p{
  margin:0 0 14px;
  line-height:1.8;
}

/* 見出しは軽く整理 */
.x-item-detail-text h2,
.x-item-detail-text h3,
.x-item-detail-text h4{
  margin:24px 0 10px;
  line-height:1.5;
}

/* 箇条書き */
.x-item-detail-text ul,
.x-item-detail-text ol{
  margin:10px 0 16px;
  padding-left:1.5em;
}
.x-item-detail-text li{
  margin:4px 0;
}

/* 商品説明内画像は異様に拡大させない */
.x-item-detail-text img{
  display:block;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
  margin:12px 0;
}

/* 商品説明カスタムApp内の画像も自然なサイズ */
.x-item-detail-custom img{
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
}

/* 動画2列は維持 */
@media(max-width:700px){
  .x-item-detail-text{
    font-size:14px;
    line-height:1.8;
  }
}

.x-pdf-tech{padding:64px 0;background:#fff;color:#111}
.x-pdf-tech .x-wrap{max-width:1200px;margin:auto;padding:0 24px}
.x-pdf-tech__head{max-width:900px;margin-bottom:28px}
.x-pdf-tech__head h2{margin:7px 0 12px;font-size:34px;line-height:1.3}
.x-pdf-tech__head p{margin:0;color:#555;font-size:13px;line-height:1.85}
.x-pdf-tech__hero{display:grid;grid-template-columns:1.3fr .7fr;gap:22px;align-items:center;padding:22px;border:1px solid #ddd;background:#f7f7f7}
.x-pdf-tech__hero-img img{display:block;width:100%;height:auto;object-fit:contain;background:#fff}
.x-pdf-tech__point{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #ddd}
.x-pdf-tech__point:last-child{border-bottom:0}
.x-pdf-tech__point b{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#c40000;color:#fff;font-size:11px}
.x-pdf-tech__point h3{margin:0 0 5px;font-size:16px}
.x-pdf-tech__point p{margin:0;color:#555;font-size:11px;line-height:1.75}
.x-pdf-tech__subgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.x-pdf-tech__card{border:1px solid #ddd;background:#fff;overflow:hidden}
.x-pdf-tech__card img{display:block;width:100%;height:360px;object-fit:contain;background:#f7f7f7}
.x-pdf-tech__card>div{padding:16px 18px 18px}
.x-pdf-tech__card span{color:#c40000;font-size:9px;font-weight:900;letter-spacing:.13em}
.x-pdf-tech__card h3{margin:6px 0 8px;font-size:18px}
.x-pdf-tech__card p{margin:0;color:#555;font-size:11px;line-height:1.8}
.x-pdf-tech__note{margin:18px 0 0;color:#777;font-size:9px;line-height:1.75}
@media(max-width:760px){
 .x-pdf-tech{padding:42px 0}.x-pdf-tech .x-wrap{padding:0 14px}
 .x-pdf-tech__head h2{font-size:26px}
 .x-pdf-tech__hero,.x-pdf-tech__subgrid{grid-template-columns:1fr}
 .x-pdf-tech__hero{padding:14px}
 .x-pdf-tech__card img{height:auto}
}

.x-jp-tech{padding:64px 0;background:#fff;color:#111}
.x-jp-tech .x-wrap{max-width:1400px;margin:auto;padding:0 24px}
.x-jp-tech__head{max-width:900px;margin:0 0 26px}
.x-jp-tech__head h2{margin:7px 0 12px;font-size:34px;line-height:1.3}
.x-jp-tech__head p{margin:0;color:#555;font-size:13px;line-height:1.85}
.x-jp-tech__figure{margin:0;border:1px solid #e3e3e3;background:#fff}
.x-jp-tech__figure img{display:block;width:100%;height:auto}
.x-jp-tech__note{margin:14px 0 0;color:#777;font-size:9px;line-height:1.75}
@media(max-width:760px){
 .x-jp-tech{padding:42px 0}
 .x-jp-tech .x-wrap{padding:0 12px}
 .x-jp-tech__head h2{font-size:26px}
 .x-jp-tech__figure{overflow-x:auto}
 .x-jp-tech__figure img{width:1200px;max-width:none}
}

.x-grease-about{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:30px;
  align-items:center;
  margin:26px 0 34px;
  padding:26px;
  background:#fff;
  border:1px solid #e3e3e3;
}
.x-grease-about__image img{
  display:block;
  width:100%;
  max-width:240px;
  height:auto;
  margin:auto;
}
.x-grease-about__body h3{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.4;
}
.x-grease-about__body p{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.9;
  color:#444;
}
.x-grease-types{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:18px 0 12px;
}
.x-grease-types div{
  padding:13px 14px;
  background:#f5f5f5;
  border-left:3px solid #6a3bb8;
}
.x-grease-types strong{
  display:block;
  margin-bottom:4px;
  font-size:14px;
}
.x-grease-types span{
  display:block;
  font-size:11px;
  line-height:1.6;
  color:#666;
}
.x-grease-about__note{
  margin-top:12px !important;
  font-size:10px !important;
  color:#777 !important;
}
@media(max-width:760px){
  .x-grease-about{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
  }
  .x-grease-about__image img{max-width:200px}
  .x-grease-types{grid-template-columns:1fr}
}

.x-1stage-jp-guide{
  width:100%;
  margin:22px auto 30px;
  text-align:center;
}
.x-1stage-jp-guide img{
  display:block;
  width:100%;
  max-width:400px;
  height:auto;
  margin:0 auto;
  border:1px solid #e5e5e5;
  background:#fff;
}
@media(max-width:700px){
  .x-1stage-jp-guide{margin:16px auto 24px}
  .x-1stage-jp-guide img{max-width:420px}
}

/* 1 STAGE 技術資料：小さく表示、クリックで原寸 */
.x-1stage-jp-guide{
  width:100% !important;
  margin:18px auto 24px !important;
  text-align:center !important;
}
.x-1stage-jp-guide > a{
  display:inline-block !important;
  width:90px !important;
  max-width:90px !important;
  cursor:zoom-in !important;
}
.x-1stage-jp-guide > a > img{
  display:block !important;
  width:90px !important;
  max-width:90px !important;
  height:auto !important;
  margin:0 auto !important;
}
.x-1stage-jp-guide__zoom{
  display:block !important;
  margin-top:6px !important;
  font-size:10px !important;
  color:#777 !important;
}
@media(max-width:700px){
  .x-1stage-jp-guide > a{
    width:80px !important;
    max-width:80px !important;
  }
  .x-1stage-jp-guide > a > img{
    width:80px !important;
    max-width:80px !important;
  }
}

/* ===== レビタリザント® 世代表記 ===== */
.x-generation-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:9px 0 0;
  padding:7px 12px;
  border:1px solid #d9d9d9;
  border-radius:999px;
  background:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.x-generation-badge b{
  font-size:15px;
  font-weight:900;
}
.x-generation-badge--ex120{border-color:#5aa7d8}
.x-generation-badge--one{border-color:#e35757}

.x-generation-flow{
  margin:26px auto 34px;
  padding:18px 20px;
  max-width:860px;
  border:1px solid #e6e6e6;
  background:#fafafa;
  text-align:center;
}
.x-generation-flow__title{
  margin:0 0 12px;
  font-size:14px;
  font-weight:800;
}
.x-generation-flow__line{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:13px;
  font-weight:700;
}
.x-generation-flow__item{
  display:inline-block;
  padding:7px 10px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:6px;
}
.x-generation-flow__arrow{
  color:#999;
  font-weight:400;
}
.x-generation-flow__note{
  margin:10px 0 0;
  font-size:10px;
  line-height:1.6;
  color:#777;
}
@media(max-width:700px){
  .x-generation-badge{padding:6px 10px;font-size:11px}
  .x-generation-badge b{font-size:14px}
  .x-generation-flow{margin:20px auto 28px;padding:15px 12px}
  .x-generation-flow__line{gap:6px;font-size:11px}
  .x-generation-flow__item{padding:6px 8px}
}

.x-generation-flow__desc{
  max-width:700px;
  margin:0 auto 15px;
  font-size:12px;
  line-height:1.8;
  color:#555;
}
.x-generation-flow__item small{
  display:inline-block;
  margin-top:4px;
  font-size:10px;
  font-weight:500;
  color:#777;
}
@media(max-width:700px){
  .x-generation-flow__desc{
    font-size:11px;
    line-height:1.7;
  }
}

/* ===== XADO TOP SIMPLIFIED v2 ===== */
.x-simple-guide{padding:52px 0;background:#f6f6f6;color:#111}
.x-simple-guide .x-wrap,.x-simple-tech .x-wrap{max-width:1200px;margin:auto;padding:0 24px}
.x-simple-head{margin-bottom:24px}.x-simple-head h2{margin:6px 0 8px;font-size:30px;line-height:1.3}.x-simple-head p{margin:0;color:#666;font-size:13px}
.x-simple-guide__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.x-simple-guide__card{display:flex;flex-direction:column;min-height:125px;padding:20px;border:1px solid #ddd;background:#fff;color:#111;text-decoration:none!important}
.x-simple-guide__card:hover{border-color:#c40000}
.x-simple-guide__card small{color:#c40000;font-size:9px;font-weight:900;letter-spacing:.12em}
.x-simple-guide__card strong{margin:12px 0 8px;font-size:16px;line-height:1.5}.x-simple-guide__card span{margin-top:auto;color:#777;font-size:10px}
.x-simple-tech{padding:58px 0;background:#fff;color:#111;border-top:1px solid #eee;border-bottom:1px solid #eee}
.x-simple-tech__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center}
.x-simple-tech figure{margin:0}.x-simple-tech figure img{display:block;width:100%;height:auto;border:1px solid #e5e5e5}
.x-simple-tech__body h2{margin:7px 0 14px;font-size:30px;line-height:1.35}.x-simple-tech__body p{margin:0 0 12px;color:#555;font-size:13px;line-height:1.85}
.x-simple-tech__note{font-size:10px!important;color:#777!important}.x-simple-tech__links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.x-simple-tech__links a{display:inline-block;padding:10px 14px;border:1px solid #222;color:#222;text-decoration:none!important;font-size:10px;font-weight:800}
.x-simple-tech__links a:hover{background:#222;color:#fff}
.x-series-short-note{margin:10px 0 22px;padding:12px 14px;background:#f7f7f7;border-left:3px solid #6a3bb8;color:#555;font-size:11px;line-height:1.7}
@media(max-width:900px){.x-simple-guide__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.x-simple-tech__grid{grid-template-columns:1fr}}
@media(max-width:760px){.x-simple-guide{padding:36px 0}.x-simple-guide .x-wrap,.x-simple-tech .x-wrap{padding:0 14px}.x-simple-head h2,.x-simple-tech__body h2{font-size:24px}.x-simple-guide__grid{grid-template-columns:1fr 1fr;gap:8px}.x-simple-guide__card{min-height:105px;padding:14px}.x-simple-guide__card strong{font-size:13px}.x-simple-tech{padding:40px 0}.x-simple-tech__grid{gap:20px}}

/* ===== PRODUCT CARD PRICE / STOCK ===== */
.x-cat-price{margin-top:10px;font-size:15px;font-weight:900;color:#111;letter-spacing:.01em}
.x-cat-stock{margin-top:7px}
.x-card-stock{display:inline-block;padding:5px 8px;border-radius:3px;font-size:9px;font-weight:900;letter-spacing:.08em}
.x-card-stock--in{background:#111;color:#fff}
.x-card-stock--out{background:#c40000;color:#fff}
.x-card-stock--order{background:#f1f1f1;color:#555;border:1px solid #ccc}
#x-items .x-item{display:none}
#x-items .x-item.x-sticker-item{display:block}
.x-cat-badge{background:#111}
.x-cat-badge--soldout{background:#c40000;color:#fff}

/* ===== PURPOSE GUIDE ===== */
.x-purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.x-purpose-card{padding:20px;border:1px solid #ddd;background:#fff}
.x-purpose-card__label{display:block;margin-bottom:6px;color:#c40000;font-size:9px;font-weight:900;letter-spacing:.12em}
.x-purpose-card h3{margin:0 0 14px;font-size:17px;line-height:1.45}
.x-purpose-products{display:grid;gap:8px}
.x-purpose-product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;background:#f7f7f7;border:1px solid #ececec;text-decoration:none!important;color:#111}
.x-purpose-product:hover{border-color:#c40000;background:#fff}
.x-purpose-product__name{font-size:11px;font-weight:800;line-height:1.5}
.x-purpose-product__meta{text-align:right;white-space:nowrap}
.x-purpose-price{display:block;font-size:12px;font-weight:900}
.x-purpose-stock{display:inline-block;margin-top:4px;padding:4px 7px;border-radius:3px;font-size:8px;font-weight:900;letter-spacing:.07em}
.x-purpose-stock--in{background:#111;color:#fff}
.x-purpose-stock--out{background:#c40000;color:#fff}
.x-purpose-note{margin:14px 0 0;color:#777;font-size:10px;line-height:1.7}
@media(max-width:760px){.x-cat-price{font-size:13px}.x-card-stock{font-size:8px}.x-purpose-grid{grid-template-columns:1fr}.x-purpose-card{padding:15px}.x-purpose-card h3{font-size:15px}.x-purpose-product{padding:9px 10px}.x-purpose-product__name{font-size:10px}}

/* ===== PURPOSE GUIDE COMPACT v5 ===== */
.x-purpose-guide{padding:26px 0!important;background:#f7f7f7!important}
.x-purpose-guide .x-wrap{max-width:1100px!important;padding:0 16px!important}
.x-purpose-guide__head{margin-bottom:14px!important}
.x-purpose-guide__head h2{margin:4px 0 6px!important;font-size:24px!important;line-height:1.3!important}
.x-purpose-guide__head p{margin:0!important;font-size:11px!important;line-height:1.6!important;color:#666!important}
.x-purpose-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.x-purpose-card{display:block!important;padding:12px 13px!important;border:1px solid #ddd!important;background:#fff!important;border-radius:5px!important;min-height:0!important}
.x-purpose-card h3{margin:0 0 8px!important;font-size:14px!important;line-height:1.35!important}
.x-purpose-options{display:grid!important;gap:5px!important}
.x-purpose-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:8px!important;padding:7px 8px!important;border-top:1px solid #eee!important;text-decoration:none!important;color:#111!important}
.x-purpose-option:first-child{border-top:0!important}
.x-purpose-option__name{font-size:11px!important;font-weight:700!important;line-height:1.35!important}
.x-purpose-option__price{font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
.x-stock-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:68px!important;height:22px!important;padding:0 7px!important;border-radius:3px!important;font-size:9px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important}
.x-stock-badge--in{background:#168a3a!important;color:#fff!important}
.x-stock-badge--out{background:#d10000!important;color:#fff!important}
.x-stock-badge--order{background:#444!important;color:#fff!important}
.x-purpose-card img,.x-purpose-option img{display:none!important}
@media(max-width:700px){
 .x-purpose-guide{padding:20px 0!important}
 .x-purpose-guide .x-wrap{padding:0 12px!important}
 .x-purpose-guide__head h2{font-size:21px!important}
 .x-purpose-grid{grid-template-columns:1fr!important;gap:7px!important}
 .x-purpose-card{padding:10px!important}
 .x-purpose-card h3{font-size:13px!important;margin-bottom:6px!important}
 .x-purpose-option{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'name stock' 'price stock'!important;gap:2px 8px!important;padding:7px 6px!important}
 .x-purpose-option__name{grid-area:name!important;font-size:10.5px!important}
 .x-purpose-option__price{grid-area:price!important;font-size:10px!important;color:#444!important}
 .x-stock-badge{grid-area:stock!important;min-width:64px!important;height:21px!important;font-size:8.5px!important}
}

/* ===== PURPOSE GUIDE COMPACT FIX v6 : matches current HTML classes ===== */
.x-simple-guide{padding:24px 0!important;background:#f7f7f7!important}
.x-simple-guide .x-wrap{max-width:1100px!important;padding:0 16px!important}
.x-simple-head{margin-bottom:12px!important}
.x-simple-head h2{margin:4px 0 5px!important;font-size:23px!important;line-height:1.3!important}
.x-simple-head p{margin:0!important;font-size:11px!important;line-height:1.55!important;color:#666!important}
.x-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.x-purpose-card{padding:11px 12px!important;min-height:0!important;border-radius:5px!important}
.x-purpose-card__label{margin-bottom:4px!important;font-size:8px!important}
.x-purpose-card h3{margin:0 0 6px!important;font-size:13px!important;line-height:1.35!important}
.x-purpose-products{gap:0!important}
.x-purpose-product{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:6px 7px!important;border:0!important;border-top:1px solid #eee!important;background:transparent!important}
.x-purpose-product:first-child{border-top:0!important}
.x-purpose-product__name{font-size:10.5px!important;line-height:1.35!important}
.x-purpose-product__meta{display:flex!important;align-items:center!important;gap:6px!important}
.x-purpose-price{display:inline!important;font-size:10.5px!important}
.x-purpose-stock{margin-top:0!important;min-width:62px!important;padding:4px 6px!important;text-align:center!important;font-size:8px!important}
.x-purpose-note{margin-top:10px!important;font-size:9px!important}
@media(max-width:700px){
 .x-simple-guide{padding:18px 0!important}
 .x-simple-guide .x-wrap{padding:0 12px!important}
 .x-simple-head h2{font-size:20px!important}
 .x-purpose-grid{grid-template-columns:1fr!important;gap:6px!important}
 .x-purpose-card{padding:9px 10px!important}
 .x-purpose-card h3{font-size:12.5px!important}
 .x-purpose-product{padding:6px 5px!important}
 .x-purpose-product__name{font-size:10px!important}
 .x-purpose-price{font-size:10px!important}
 .x-purpose-stock{min-width:60px!important;font-size:8px!important}
}

/* ===== FINAL DISPLAY TUNING 2026-09-23 ===== */
/* 商品カード：画像・本文・価格・ボタン位置を揃える */
.x-cat-grid{align-items:stretch}
.x-cat-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.x-cat-card .x-cat-photo{flex:0 0 auto}
.x-cat-card .x-cat-body{display:flex;flex:1;flex-direction:column;box-sizing:border-box}
.x-cat-card .x-cat-body h3{min-height:2.8em;display:flex;align-items:center;justify-content:center}
.x-cat-card .x-cat-body p{min-height:3.1em}
.x-cat-card .x-cat-price{margin-top:auto}
.x-cat-card .x-cat-action{align-self:center}

/* 1 STAGE：現行3商品を保持し、3列を均等配置 */
#one-stage-lineup .x-cat-grid--2{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px;margin-left:auto;margin-right:auto}

/* GREASE：全カードの画像領域と本文位置を統一 */
#grease-lineup .x-cat-photo{height:220px;padding:16px}
#grease-lineup .x-cat-photo img{width:100%;height:100%;max-width:190px;max-height:190px;object-fit:contain;object-position:center}
#grease-lineup .x-cat-body{min-height:174px}

/* その他商品：少数でも巨大化させず、通常の商品カード幅に統一 */
#products .x-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
#products .x-item{width:auto!important;max-width:none!important;margin:0!important;height:100%;box-sizing:border-box}
#products .x-item__image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;overflow:hidden;background:#fff}
#products .x-item__image img{display:block;width:100%;height:100%;object-fit:contain}
#products .x-item__body{box-sizing:border-box}

@media(max-width:900px){
 #products .x-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 #one-stage-lineup .x-cat-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
 #grease-lineup .x-cat-photo{height:180px;padding:10px}
 #grease-lineup .x-cat-photo img{max-width:155px;max-height:155px}
 #grease-lineup .x-cat-body{min-height:160px}
 #products .x-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}

/* ===== HEADER EXTERNAL LINKS : visible compact buttons 2026-09-23 ===== */
.x-header .x-social-links--visible{
  display:flex !important;
  align-items:center !important;
  gap:5px !important;
  margin-left:18px !important;
  margin-right:auto !important;
  opacity:1 !important;
  visibility:visible !important;
}
.x-header .x-social-links--visible a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:25px !important;
  height:25px !important;
  padding:0 5px !important;
  box-sizing:border-box !important;
  border:1px solid rgba(255,255,255,.38) !important;
  border-radius:3px !important;
  background:rgba(255,255,255,.06) !important;
  color:#fff !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-decoration:none !important;
  opacity:1 !important;
}
.x-header .x-social-links--visible a:hover{
  background:#fff !important;
  color:#111 !important;
  border-color:#fff !important;
}
@media(max-width:900px){
  .x-header .x-social-links--visible{display:none !important;}
}

/* ===== PURPOSE GUIDE ULTRA COMPACT 2026-09-24 ===== */
.x-simple-guide{padding:12px 0!important;}
.x-simple-guide .x-wrap{max-width:1200px!important;padding:0 16px!important;}
.x-simple-head{margin-bottom:7px!important;display:flex!important;align-items:baseline!important;gap:10px!important;flex-wrap:wrap!important;}
.x-simple-head .x-kicker{font-size:8px!important;}
.x-simple-head h2{margin:0!important;font-size:18px!important;line-height:1.2!important;}
.x-simple-head p{margin:0!important;font-size:9px!important;line-height:1.4!important;}
.x-purpose-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;}
.x-purpose-card{padding:7px 8px!important;border-radius:3px!important;}
.x-purpose-card__label{margin-bottom:2px!important;font-size:7px!important;}
.x-purpose-card h3{margin:0 0 3px!important;font-size:11px!important;line-height:1.25!important;}
.x-purpose-products{gap:0!important;}
.x-purpose-product{padding:3px 2px!important;gap:4px!important;}
.x-purpose-product__name{font-size:8.5px!important;line-height:1.25!important;}
.x-purpose-product__meta{gap:3px!important;}
.x-purpose-price{font-size:8.5px!important;}
.x-purpose-stock{min-width:44px!important;padding:3px 4px!important;font-size:6.5px!important;}
.x-purpose-note{margin-top:5px!important;font-size:8px!important;}
@media(max-width:900px){.x-purpose-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:700px){
 .x-simple-guide{padding:10px 0!important;}
 .x-simple-guide .x-wrap{padding:0 10px!important;}
 .x-simple-head{gap:6px!important;margin-bottom:6px!important;}
 .x-simple-head h2{font-size:16px!important;}
 .x-simple-head p{width:100%;font-size:8.5px!important;}
 .x-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
 .x-purpose-card{padding:6px 7px!important;}
 .x-purpose-card h3{font-size:10.5px!important;}
 .x-purpose-product__name{font-size:8.5px!important;}
}

/* ===== EX120 ONE-ROW PRIORITY 2026-09-24 ===== */
@media (min-width:1100px){
  #ex120-lineup .x-cat-wrap{max-width:1280px!important;padding-left:18px!important;padding-right:18px!important;}
  #ex120-lineup .x-cat-grid--6{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;}
  #ex120-lineup .x-cat-photo{height:190px!important;padding:7px!important;}
  #ex120-lineup .x-cat-photo img{max-width:175px!important;max-height:175px!important;}
  #ex120-lineup .x-cat-body{padding:9px 6px!important;}
  #ex120-lineup .x-cat-body h3{font-size:10.5px!important;line-height:1.35!important;min-height:4.1em!important;}
  #ex120-lineup .x-cat-body p{font-size:9px!important;line-height:1.45!important;min-height:2.9em!important;}
  #ex120-lineup .x-cat-price{font-size:13px!important;}
  #ex120-lineup .x-cat-action{padding:6px 9px!important;font-size:8.5px!important;}
}

/* ===== EX120 REVITALIZANT OFFICIAL LOGO / 1280px TUNING ===== */
@media (min-width:1100px){
 #ex120-lineup .x-cat-wrap{max-width:1280px!important;}
 #ex120-lineup .x-cat-grid--6{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:7px!important;}
 #ex120-lineup .x-cat-photo{height:175px!important;padding:6px!important;}
 #ex120-lineup .x-cat-photo img{max-width:160px!important;max-height:160px!important;}
}
#ex120-lineup .x-ex120-logo{display:block;width:100%;max-width:132px;height:auto;margin:0 auto 7px;object-fit:contain;}
#ex120-lineup .x-ex120-name{margin:0 0 4px!important;min-height:0!important;text-align:center;}
#ex120-lineup .x-ex120-xado{display:block;font-size:11px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:.04em!important;}
#ex120-lineup .x-ex120-model{display:block;margin-top:2px;font-size:14px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:.02em!important;}
#ex120-lineup .x-ex120-app{display:block;margin-top:5px;font-size:10.5px;font-weight:800;line-height:1.25;}
@media(max-width:760px){
 #ex120-lineup .x-ex120-logo{max-width:120px;margin-bottom:6px;}
 #ex120-lineup .x-ex120-xado{font-size:10px!important;}
 #ex120-lineup .x-ex120-model{font-size:13px!important;}
 #ex120-lineup .x-ex120-app{font-size:10px;}
}

/* ===== EX120 TYPOGRAPHY FINAL TUNING 2026-09-24 ===== */
#ex120-lineup .x-ex120-name{
  margin:0 0 7px!important;
  min-height:74px!important;
  text-align:center!important;
  font-weight:400!important;
}
#ex120-lineup .x-ex120-xado{
  display:block!important;
  margin:0 0 3px!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
}
#ex120-lineup .x-ex120-model{
  display:block!important;
  margin:0 0 6px!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:.04em!important;
}
#ex120-lineup .x-ex120-app{
  display:block!important;
  margin:0!important;
  min-height:2.5em!important;
  font-size:9.5px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:0!important;
}
@media(max-width:900px){
 #ex120-lineup .x-ex120-name{min-height:68px!important;}
 #ex120-lineup .x-ex120-xado{font-size:9.5px!important;}
 #ex120-lineup .x-ex120-model{font-size:12px!important;}
 #ex120-lineup .x-ex120-app{font-size:9px!important;}
}

/* ===== EX120 CARD DESIGN : 2026-09-24 requested layout ===== */
#ex120-lineup .x-cat-wrap{max-width:1280px!important;padding-left:10px!important;padding-right:10px!important;}
#ex120-lineup .x-cat-grid--6{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;}
#ex120-lineup .x-cat-card{border:1px solid #ddd!important;border-radius:6px!important;overflow:hidden!important;background:#fff!important;}
#ex120-lineup .x-cat-photo{height:205px!important;padding:8px 6px!important;}
#ex120-lineup .x-cat-photo img{max-width:160px!important;max-height:190px!important;object-fit:contain!important;}
#ex120-lineup .x-cat-body{padding:9px 7px 10px!important;text-align:center!important;}
#ex120-lineup .x-ex120-logo{display:block!important;width:92%!important;max-width:145px!important;height:auto!important;margin:0 auto 8px!important;object-fit:contain!important;}
#ex120-lineup .x-ex120-name{display:flex!important;flex-direction:column!important;align-items:center!important;min-height:116px!important;margin:0 0 5px!important;text-align:center!important;}
#ex120-lineup .x-ex120-xado{display:block!important;margin:0!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:.01em!important;}
#ex120-lineup .x-ex120-model{display:block!important;margin:2px 0 0!important;font-size:20px!important;font-weight:700!important;line-height:1.05!important;letter-spacing:0!important;}
#ex120-lineup .x-ex120-app{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;width:100%!important;margin:8px 0 0!important;padding-top:8px!important;border-top:2px solid #ddd!important;font-size:15px!important;font-weight:800!important;line-height:1.12!important;}
#ex120-lineup .x-cat-body>p{min-height:34px!important;margin:3px 0 8px!important;font-size:9.5px!important;line-height:1.45!important;}
#ex120-lineup .x-cat-price{margin-top:auto!important;font-size:15px!important;font-weight:900!important;}
#ex120-lineup .x-cat-action{margin-top:8px!important;padding:7px 11px!important;font-size:9px!important;}
@media(max-width:1100px){#ex120-lineup .x-cat-grid--6{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:760px){
 #ex120-lineup .x-cat-grid--6{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 #ex120-lineup .x-cat-photo{height:185px!important;}
 #ex120-lineup .x-cat-photo img{max-width:150px!important;max-height:170px!important;}
 #ex120-lineup .x-ex120-name{min-height:108px!important;}
 #ex120-lineup .x-ex120-xado{font-size:13px!important;}
 #ex120-lineup .x-ex120-model{font-size:19px!important;}
 #ex120-lineup .x-ex120-app{font-size:14px!important;}
}

/* ===== EX120 XADO OFFICIAL LOGO SMALL 2026-09-24 ===== */
#ex120-lineup .x-ex120-xado{
 display:block!important;
 width:100%!important;
 margin:0 0 3px!important;
 line-height:1!important;
}
#ex120-lineup .x-ex120-xado-logo{
 display:block!important;
 width:auto!important;
 height:13px!important;
 max-width:72px!important;
 margin:0 auto!important;
 object-fit:contain!important;
}
@media(max-width:760px){
 #ex120-lineup .x-ex120-xado-logo{height:12px!important;max-width:66px!important;}
}

/* ===== RED / 1STAGE : XADO OFFICIAL LOGO UNIFIED 2026-09-24 ===== */
.x-series-logo-title{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;margin:0 0 7px!important;line-height:1.15!important;text-align:center}
.x-series-xado-logo{display:block;width:auto!important;height:18px!important;max-width:74px!important;object-fit:contain!important;margin:0 auto!important}
.x-series-logo-title>span{display:block;font-size:15px!important;font-weight:800!important;line-height:1.18!important;letter-spacing:0!important}
.x-cat-section--red .x-series-logo-title>span{color:#c40000}
.x-cat-section--one .x-series-logo-title>span{color:#168445}
@media(max-width:760px){.x-series-xado-logo{height:15px!important;max-width:62px!important}.x-series-logo-title>span{font-size:13px!important}}

/* ===== COMPACT PURPOSE GUIDE 2026-09-24 ===== */
.x-simple-guide--compact{padding:34px 0 28px!important;background:#fff!important}
.x-simple-head--compact{margin-bottom:16px!important}
.x-simple-head--compact h2{margin:4px 0 5px!important;font-size:26px!important;line-height:1.25!important}
.x-simple-head--compact p{margin:0!important;font-size:12px!important;color:#666!important}
.x-purpose-compact-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.x-purpose-compact{display:flex;min-width:0;min-height:86px;padding:12px 13px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#111;text-decoration:none;flex-direction:column;justify-content:center;transition:.18s ease}
.x-purpose-compact:hover{border-color:#c40000;transform:translateY(-2px);box-shadow:0 5px 16px rgba(0,0,0,.07)}
.x-purpose-compact span{display:block;margin-bottom:4px;color:#c40000;font-size:8px;font-weight:900;letter-spacing:.1em;line-height:1.2}
.x-purpose-compact b{display:block;font-size:15px;line-height:1.3;white-space:nowrap}
.x-purpose-compact i{display:block;margin-top:7px;color:#777;font-size:9px;font-style:normal;line-height:1.2}
.x-purpose-note--compact{margin:11px 0 0!important;font-size:10px!important;color:#777!important}
@media(max-width:980px){.x-purpose-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.x-simple-guide--compact{padding:24px 0 20px!important}.x-simple-head--compact h2{font-size:22px!important}.x-purpose-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.x-purpose-compact{min-height:74px;padding:10px}.x-purpose-compact b{font-size:13px}.x-purpose-compact i{font-size:8px}}

.x-smart-related__lead{
  margin:10px 0 18px;
  font-size:12px;
  line-height:1.7;
  color:#666;
}
.x-smart-related-wrap .x-related-card{
  position:relative;
}
.x-smart-related-wrap .x-related-card__tag{
  display:inline-block;
  margin-top:7px;
  padding:4px 7px;
  border-radius:999px;
  background:#f3f3f3;
  font-size:9px;
  line-height:1;
  color:#555;
}

/* ===== 1 STAGE COMPACT TUNING 2026-09-24 ===== */
#one-stage-lineup .x-current-lineup-note{
  margin-top:16px!important;
  margin-bottom:10px!important;
  padding:12px 16px!important;
}
#one-stage-lineup .x-current-lineup-note strong{
  margin-bottom:4px!important;
}
#one-stage-lineup .x-current-lineup-note span{
  line-height:1.55!important;
}
#one-stage-lineup .x-1stage-jp-guide{
  margin:8px auto 12px!important;
}
#one-stage-lineup .x-1stage-jp-guide>a,
#one-stage-lineup .x-1stage-jp-guide>a>img{
  width:70px!important;
  max-width:70px!important;
}
#one-stage-lineup .x-1stage-jp-guide__zoom{
  margin-top:3px!important;
  font-size:9px!important;
}
#one-stage-lineup .x-cat-grid--2{
  margin-top:8px!important;
}
@media(max-width:700px){
  #one-stage-lineup .x-current-lineup-note{
    margin-top:12px!important;
    margin-bottom:8px!important;
    padding:10px 12px!important;
  }
  #one-stage-lineup .x-1stage-jp-guide{
    margin:6px auto 10px!important;
  }
  #one-stage-lineup .x-1stage-jp-guide>a,
  #one-stage-lineup .x-1stage-jp-guide>a>img{
    width:62px!important;
    max-width:62px!important;
  }
}
