@charset "UTF-8";
/* ================================================================
   機材詳細（single.php）（GP_PRD-6333）
   デザインの正: templates/kaitori-product/KaitoriProduct.dc.html のインライン指定をクラスに移したもの
   パンくずは css/kaitori-list.css（single.php が両方読む）
   ================================================================ */

/* ─── 上段（写真と買取価格） ─── */
.kt-product__hero { max-width: var(--kt-max-w); margin: 0 auto; padding: clamp(16px, 4vw, 48px) var(--kt-gutter) clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(16px, 5vw, 64px); align-items: flex-start; }
.kt-product__media { flex: 1 1 360px; min-width: 0; aspect-ratio: 1 / 1; max-height: clamp(200px, 48vw, 520px); background: #F1F0EE; display: flex; align-items: center; justify-content: center; position: relative; }
.kt-product__img { width: 82%; height: 82%; object-fit: contain; }
.kt-product__noimg { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kt-product__noimg img { width: 56px; height: 56px; opacity: 0.35; display: block; }
.kt-product__noimg span { font-size: 12px; color: #8E8E8E; letter-spacing: 0.1em; }
.kt-product__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kt-product__head { display: flex; flex-direction: column; gap: 8px; }
.kt-product__terms { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; letter-spacing: 0.1em; }
.kt-product__terms a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.kt-product__terms a:hover { opacity: 0.6; }
.kt-product__title { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 400; line-height: 1.4; text-wrap: pretty; }

.kt-product__price-box { display: flex; flex-direction: column; gap: 16px; }
.kt-product__price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.kt-product__price-label { font-size: 16px; font-weight: 700; }
.kt-product__price { display: inline-flex; align-items: baseline; gap: 6px; }
.kt-product__price-num { font-size: clamp(48px, 6vw, 72px); font-weight: 700; line-height: 1; font-feature-settings: 'tnum' 1; letter-spacing: 0.02em; }
.kt-product__price-tax { font-size: 14px; font-weight: 700; color: #424243; }
.kt-product__checks { display: flex; flex-wrap: wrap; gap: 8px; }
.kt-product__check { height: 30px; padding: 0 10px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid #D9D8D6; color: #000; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.kt-product__check img { width: 16px; height: 16px; flex-shrink: 0; }

/* 申込ボタン（上段・下部の CTA で共通） */
.kt-product__apply { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; background: #000; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0.14em; border-radius: 2px; text-decoration: none; }
.kt-product__apply:hover { opacity: 0.6; }
.kt-product__required { margin: -8px 0 0; font-size: 12px; line-height: 1.6; color: #424243; text-align: center; }

.kt-product__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.kt-product__fact { background: #F1F0EE; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.kt-product__fact-label { font-size: 10px; font-weight: 700; color: #999; }
.kt-product__fact-value { font-size: 14px; font-weight: 700; }

/* 開閉の矢印（開いているとき上向き、閉じているとき下向き。js/kaitori-product.js が aria-expanded を切り替える） */
.kt-product__chev { flex-shrink: 0; transform: rotate(90deg); }
[aria-expanded="true"] > .kt-product__chev { transform: rotate(-90deg); }

.kt-product__cond { border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; }
.kt-product__cond-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: transparent; border: 0; cursor: pointer; font-family: inherit; color: #000; text-align: left; }
.kt-product__cond-title { font-size: 16px; font-weight: 700; scroll-margin-top: 96px; }
.kt-product__cond-body { padding: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.kt-product__cond-body[hidden] { display: none; }
.kt-product__cond-head { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.6; color: #000; }
.kt-product__cond-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.kt-product__cond-list li { background: #F1F0EE; padding: 10px 14px; font-size: 12px; line-height: 1.6; }
.kt-product__cond-text { margin: 0; font-size: 12px; line-height: 1.7; color: #424243; }
.kt-product__note { margin: 0; font-size: 13px; line-height: 1.7; color: #424243; }
/* キャンペーン中の注意書き（デザインに無い。管理画面で運用中の機能なので残す） */
.kt-product__attention { margin: 0; font-size: 12px; line-height: 1.7; color: #424243; }

/* ─── 中古買取の流れ（tmp/kaitori-flow.php。gp-k-flow は kaitori.css の components.css） ─── */
.kt-flow__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; gap: 8px; }
.gp-k-flow__col .kt-flow__steps { flex-direction: column; }
.kt-flow__step { flex: 1 1 0; min-width: 0; color: #000; display: flex; flex-direction: column; }
.gp-k-flow__col .kt-flow__step { flex: 0 0 auto; }
.kt-flow__fig { position: relative; aspect-ratio: 4 / 3; }
.gp-k-flow__col .kt-flow__fig { width: 100%; overflow: hidden; }
.kt-flow__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 0; box-sizing: border-box; display: block; }
.kt-flow__img--first { padding: 7%; }
.kt-flow__text { padding: 4px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.kt-flow__name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.kt-flow__desc { margin: 0; font-size: 13px; line-height: 1.7; color: #424243; }
.kt-flow__arrow { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 4px; }
.gp-k-flow__col .kt-flow__arrow svg { transform: rotate(90deg); }

/* ─── よくあるご質問 ─── */
.kt-product__faq { background: #F1F0EE; }
.kt-product__faq-inner { max-width: var(--kt-max-w); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--kt-gutter); display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); }
.kt-product__faq-head { flex: 0 1 240px; display: flex; flex-direction: column; gap: 8px; }
.kt-product__faq-title { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; line-height: 1.4; }
.kt-product__faq-list { flex: 1 1 480px; min-width: 0; border-top: 1px solid #000; }
.kt-product__faq-item { border-bottom: 1px solid #D9D9D9; }
.kt-product__faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: transparent; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: #000; text-align: left; }
.kt-product__faq-a { margin: 0; padding: 0 0 20px; font-size: 14px; line-height: 1.8; color: #424243; }
.kt-product__faq-a[hidden] { display: none; }
.kt-product__faq-a p { margin: 0 0 0.8em; }
.kt-product__faq-a p:last-child { margin-bottom: 0; }
.kt-product__faq-a a { color: #000; text-decoration: underline; text-underline-offset: 3px; }

/* ─── 下部の CTA（デザインのファイルの今の形。確定待ち） ─── */
.kt-product__cta { background: url("../images/kaitori/cta_bg.png") center / cover no-repeat, #fff; color: #000; }
.kt-product__cta-inner { max-width: 880px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--kt-gutter); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.kt-product__cta-lead { margin: 0; font-size: 13px; letter-spacing: 0.1em; color: #424243; text-align: center; }
.kt-product__cta-card { width: 100%; background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08); padding: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 32px); }
.kt-product__cta-media { flex: 0 0 clamp(96px, 16vw, 160px); aspect-ratio: 1 / 1; background: #F1F0EE; display: flex; align-items: center; justify-content: center; }
.kt-product__cta-media img { width: 82%; height: 82%; object-fit: contain; }
.kt-product__cta-body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-product__cta-name { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.5; text-wrap: pretty; }
.kt-product__cta-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.kt-product__cta-price-label { font-size: 14px; }
.kt-product__cta-price-num { font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; line-height: 1.1; font-feature-settings: 'tnum' 1; }
.kt-product__cta-price-tax { font-size: 12px; }
.kt-product__cta .kt-product__apply { flex: 1 1 100%; }

/* ─── SP の固定バー（デザインの showSticky。PC では出さない） ─── */
.kt-product__sticky { display: none; }
@media (max-width: 767px) {
  .kt-product__sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid #E5E5E5; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
  .kt-product__sticky-price { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
  .kt-product__sticky-label { font-size: 10px; font-weight: 700; color: #999; }
  .kt-product__sticky-value { font-size: 20px; font-weight: 700; line-height: 1; font-feature-settings: 'tnum' 1; }
  .kt-product__sticky-btn { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; background: #000; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; border-radius: 2px; text-decoration: none; }
  /* 固定バー（高さ 69px）にフッターの末尾が隠れないようにする（デザインに無い） */
  body.kt-product-page { padding-bottom: 69px; }
}

/* キャンペーン表示（GP_PRD-6333 2026-11-11。デザイン: templates/kaitori-product-campaign）
   通常価格の取り消し線・赤字の価格・文言・点線の下に注記。「買取価格」の文字は出さない */
.kt-product__campaign { display: flex; flex-direction: column; gap: 8px; }
.kt-product__orig { margin: 0; font-size: 13px; color: #424243; }
.kt-product__orig s { color: #999; font-feature-settings: 'tnum' 1; }
.kt-product__price-box.is-campaign .kt-product__price-num { color: #EE3248; }
.kt-product__campaign-text { font-size: 15px; }
.kt-product__campaign-note { margin: 0; padding-top: 14px; border-top: 1px dashed #D9D9D9; font-size: 12px; line-height: 1.7; color: #424243; }
.kt-product__cta-price-orig { font-size: 13px; color: #999; font-feature-settings: 'tnum' 1; }
.kt-product__cta-price.is-campaign .kt-product__cta-price-num { color: #EE3248; }
@media (max-width: 767px) {
  .kt-product__sticky-price.is-campaign .kt-product__sticky-label { font-weight: 400; color: #999; }
  .kt-product__sticky-campaign { font-weight: 700; color: #EE3248; }
  .kt-product__sticky-price.is-campaign .kt-product__sticky-value { color: #EE3248; }
}
