/* AUD Cars 車両詳細。共通ヘッダー・フッターには適用しない。 */
#msp {
  --detail-border: rgba(255, 255, 255, .18);
  --detail-panel: #181d25;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 80px;
  color: var(--color-white, #fff);
  font-size: 14px;
  line-height: 1.8;
}
#msp h2, #msp h3, #msp p, #msp dl { margin-top: 0; }
#msp a { color: inherit; text-underline-offset: .2em; }
#msp a:hover { color: var(--color-red, #f70002); }
#msp > .titlemm, #msp > .contentsdetail, #msp > .detail-empty {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 5vw;
}
#msp .titlemm { padding-block: 24px 32px; }
#msp .detail-shop-label { margin-bottom: 8px; color: #a9a9a9; }
#msp .titlemm h2 { font-size: clamp(18px, 1.5vw, 24px); font-weight: 300; line-height: 1.7; }
#msp .slider_body { width: 100%; margin-bottom: 48px; }
#msp .slider-pro { max-width: 100%; background: #080b10; }
#msp .sp-image { width: auto; max-width: none; }
#msp .sp-thumbnail { width: auto; }
#msp .sp-thumbnails-container { background: #0f1418; }
#msp .sp-thumbnail-container { border: 1px solid var(--detail-border); }
#msp .sp-selected-thumbnail { border-color: #fff; }
#msp .sp-grab { cursor: grab; }
#msp .sp-grabbing { cursor: grabbing; }
#msp .sp-slide .img-comment { position: absolute; left: 0; bottom: 0; width: 100%; padding: 10px 16px; margin: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; }
#msp .photolink { margin: 24px 0 0; text-align: center; font-size: 14px; }
/* JSが使えない場合も、最初の写真を表示する。 */
#msp .slider-pro:not(.detail-gallery-ready) .sp-slide { position: relative; display: none; }
#msp .slider-pro:not(.detail-gallery-ready) .sp-slide:first-child { display: block; }
#msp .slider-pro:not(.detail-gallery-ready) .sp-image { width: 100%; max-width: 100%; height: auto; }
#msp .slider-pro:not(.detail-gallery-ready) .sp-thumbnails { display: flex; gap: 8px; overflow-x: auto; }
#msp .slider-pro:not(.detail-gallery-ready) .sp-thumbnail { width: 80px; height: 60px; object-fit: cover; }
#msp .detail-no-photo { width: 100%; max-width: 960px; margin: 0 auto; background: var(--detail-panel); }
#msp .detail-no-photo img { display: block; width: 100%; height: auto; }
#msp .sectitle { font-size: 24px; font-weight: 400; line-height: 1.4; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--detail-border); }
#msp .dl-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
#msp .dl-spec > div { display: grid; grid-template-columns: minmax(100px, 35%) minmax(0, 1fr); min-width: 0; border-bottom: 1px solid var(--detail-border); }
#msp .dl-spec dt { padding: 14px; font-size: 12px; color: #a9a9a9; background: var(--detail-panel); }
#msp .dl-spec dd { min-width: 0; margin: 0; padding: 14px; }
/* 価格は仕様の横に置かず、参考ページと同じく全幅・中央揃えで配置。 */
#msp .price_contact { margin-top: 48px; padding: 40px 24px; border: solid var(--detail-border); border-width: 1px 0; }
#msp .detail-price-main { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
#msp .detail-price-main .detail-status-icon { flex: 0 0 auto; align-self: center; width: 90px; height: auto; max-width: 90px; }
#msp .pricemm h2 { margin: 0; font-size: 20px; font-weight: 400; }
#msp .detail-total { margin: 0; line-height: 1.4; }
#msp .detail-total strong { font-family: var(--font-en, sans-serif); font-size: clamp(36px, 3.8vw, 48px); font-weight: 400; }
#msp .detail-price-unit { margin-left: 4px; font-size: 20px; }
#msp .detail-tax { margin-left: 8px; font-size: 16px; color: #a9a9a9; }
#msp .detail-price-breakdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin: 12px 0 0; }
#msp .detail-price-breakdown > div { display: flex; gap: 6px; }
#msp .detail-price-breakdown dt, #msp .detail-price-breakdown dd { margin: 0; font-size: 14px; }
#msp .price-text-box { margin: 24px 0 0; padding: 20px; border: 1px solid var(--detail-border); font-size: 13px; line-height: 1.8; text-align: left; }
#msp .price-text-box p:last-child { margin-bottom: 0; }
#msp .contactbn { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
#msp .contactbn > a { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; height: 88px; min-height: 88px; padding: 12px 52px; border: 1px solid var(--detail-border); text-align: center; text-decoration: none; line-height: 1.6; }
#msp .contactbn > a::before { content: ''; position: absolute; left: 18px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); background-repeat: no-repeat; background-position: center; background-size: contain; }
#msp .contactbn .detail-mail { background: #fff; color: #10141a; }
#msp .detail-mail::before { background-image: url('../img/header/ic-mail_w.webp'); filter: invert(1); }
#msp .contactbn .detail-tel { background: var(--color-2nd, #2f3946); color: #fff; font-family: var(--font-en, sans-serif); font-size: 21px; }
#msp .detail-tel::before { background-image: url('../img/header/ic-tel_w.webp'); }
#msp .contactbn .detail-line { background: var(--color-2nd, #2f3946); color: #fff; }
#msp .contactbn .detail-line::before { content: 'LINE'; display: flex; align-items: center; justify-content: center; width: 30px; height: 24px; border: 1px solid currentColor; border-radius: 5px; font-family: sans-serif; font-size: 9px; font-weight: 700; }
#msp .detail-tel span { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; }
#msp .contactbn > a:hover { background: var(--color-red, #f70002); color: #fff; }
#msp .contactbn .detail-mail:hover::before { filter: none; }
#msp .video-info, #msp .commentmm, #msp .shopinfo { margin-top: 48px; }
#msp .video-container { max-width: 960px; margin: 0 auto; }
#msp .video-container iframe { display: block; width: 100%; height: auto; min-height: 280px; aspect-ratio: 16 / 9; border: 0; }
#msp .detail-points { margin-top: 32px; }
#msp .detail-point { padding: 24px 5%; text-align: center; }
#msp .point-tit { display: flex; align-items: center; justify-content: center; gap: 20px; font-family: var(--font-en, sans-serif); color: #a9a9a9; font-size: 16px; margin-bottom: 20px; }
#msp .point-tit::before, #msp .point-tit::after { content: ''; flex: 1; height: 1px; background: var(--detail-border); }
#msp .detail-point h3 { font-size: 19px; font-weight: 400; margin-bottom: 16px; }
#msp .detail-banner { margin-top: 32px; }
#msp .comment_body { overflow-x: auto; }
#msp .comment_body img { width: auto; height: auto; }
#msp .manageNo { margin-top: 24px; font-size: 12px; color: #a9a9a9; }
#msp .detail-shop-grid { display: flex; align-items: flex-start; gap: 32px; }
#msp .shopinfo_pix { flex: 0 1 32%; }
#msp .shopinfo_table { flex: 1; min-width: 0; }
#msp .shopinfo_table > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--detail-border); }
#msp .shopinfo_table dt { color: #a9a9a9; font-size: 12px; }
#msp .shopinfo_table dd { margin: 0; }
#msp .shopcontactmm { margin: 40px auto; padding: 0 24px; }
#msp .detail-actions { margin-top: 48px; padding-top: 8px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
#msp .photolink a, #msp .detail-back, #msp .detail-print { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: 12px 28px; background: var(--color-5th, #0f1418); border: 1px solid var(--detail-border); color: #fff; font: inherit; text-decoration: none; cursor: pointer; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
#msp .photolink a:hover, #msp .detail-back:hover, #msp .detail-print:hover { background: var(--color-1st, #657080); border-color: var(--color-1st, #657080); color: #fff; text-decoration: none; }
#msp .detail-empty { padding: 80px 0; text-align: center; }
#msp .detail-empty h2 { font-size: 24px; font-weight: 400; margin-bottom: 24px; }
#msp .detail-empty p { margin-bottom: 32px; }
@media (min-width: 769px) and (max-width: 1200px) {
  #msp .contactbn > a { padding-inline: 36px; }
  #msp .contactbn > a::before { left: 10px; width: 18px; height: 18px; }
  #msp .contactbn .detail-line::before { width: 24px; font-size: 8px; }
  #msp .contactbn .detail-tel { font-size: 17px; }
}
@media (max-width: 1024px) {
  #msp .price_contact { padding: 20px; }
  #msp .shopcontactmm { padding-inline: 20px; }
}
@media (max-width: 768px) {
  #msp { padding: 0 0 48px; }
  #msp .titlemm { padding-top: 12px; }
  #msp .slider_body { margin-bottom: 32px; }
  #msp .dl-spec { grid-template-columns: minmax(0, 1fr); }
  #msp .sectitle { font-size: 21px; margin-bottom: 16px; }
  #msp .price_contact { margin-top: 32px; padding: 28px 0; }
  #msp .detail-price-main { gap: 6px 12px; }
  #msp .pricemm h2 { font-size: 17px; }
  #msp .detail-total strong { font-size: 34px; }
  #msp .detail-price-unit { font-size: 16px; }
  #msp .detail-tax { margin-left: 4px; font-size: 12px; }
  #msp .price-text-box { padding: 16px; font-size: 12px; }
  #msp .contactbn { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  #msp .contactbn > a { padding: 12px 44px; }
  #msp .detail-shop-grid { flex-direction: column; gap: 16px; }
  #msp .shopinfo_pix, #msp .shopinfo_table { width: 100%; }
  #msp .shopinfo_pix img { max-width: 360px; }
  #msp .shopinfo_table > div { grid-template-columns: 86px minmax(0, 1fr); gap: 12px; }
  #msp .shopcontactmm { padding-inline: 0; }
  #msp .detail-actions { margin-top: 32px; }
  #msp .detail-point { padding: 20px; }
  #msp .sp-slide .img-comment { font-size: 11px; padding: 8px; }
}
@media print {
  header, .menubn, .globalmenu, footer, .stockdetail-page .pagetitle, #msp .contactbn, #msp .detail-actions, #msp .sp-thumbnails-container, #msp .photolink { display: none !important; }
  html, body, #wrapper { height: auto; overflow: visible; background: #fff; color: #000; }
  #msp { max-width: none; padding: 0; color: #000; }
  #msp > .titlemm, #msp > .contentsdetail, #msp > .detail-empty { max-width: none; padding-inline: 0; }
  #msp .price_contact { background: #fff; border-color: #ccc; }
  #msp .dl-spec dt { background: #f5f5f5; }
  #msp a, #msp .detail-shop-label, #msp .dl-spec dt, #msp .shopinfo_table dt { color: #000; }
}
