/*
Theme Name: ピッタリース
Description: 法人様・個人様どちらもOK！独自の審査で通過しやすい、あなたにピッタリの新車・未使用車・軽冷蔵冷凍車・幌車(ほろ車)を格安で！
Author: 株式会社Creation
Version: 1.0
*/

@charset "utf-8";

/* 1. Reset & Base */
* { box-sizing: border-box; }
body, h1, h2, h3, p, div, section, header, footer, table, th, td { margin: 0; padding: 0; border: 0; }
body { font-family: "Noto Sans JP", sans-serif; background: #fff; color: #333; line-height: 1.8; overflow-x: hidden; }
.back_all { width: 100%; max-width: 1024px; margin: 0 auto; background: #fff; }
.inner { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 20px; position: relative; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none !important; color: inherit; }

/* 中央寄せ共通 */
.section-header-center, .section-title-center-large { text-align: center !important; width: 100%; margin-bottom: 40px; }
.sec-title { font-size: 28px; font-weight: bold; display: block; }

/* 3. Header & Logo (SP中央寄せ対応) */
.header { background: #fff; padding-bottom: 15px; }
.header-inner { display: flex; align-items: center; justify-content: flex-start; }
.logo img { width: 200px; }

/* 5. FV */
.fv { line-height: 0; }
.fv-img { width: 100%; }

/* 6. 導入セクション */
.intro-gradient-main {
  background: linear-gradient(180deg, #fffdf5 0%, #fff4d6 40%, #ffce44 100%);
  padding: 80px 0 60px;
  margin-bottom: -2px;
}
.intro-header { text-align: center; margin-bottom: 50px; }
.intro-tagline {
  display: inline-block; border-left: 2px solid #005596; border-right: 2px solid #005596;
  padding: 0 20px; font-weight: bold; position: relative;
}
.intro-tagline::before, .intro-tagline::after { content: ""; position: absolute; width: 25px; height: 2px; background: #005596; }
.intro-tagline::before { top: 0; left: 0; } .intro-tagline::after { bottom: 0; right: 0; }
.intro-title { font-size: 30px; color: #005596; font-weight: bold; margin-top: 10px; }
.intro-flex { display: flex; align-items: center; gap: 40px; }
.intro-image { flex: 0 0 45%; }
.text-blue { color: #005596; font-weight: bold; font-size: 18px; margin-top: 20px; }

.intro-triangle-zone { background: #fff; height: 120px; position: relative; margin-top: -1px; }
.yellow-arrow {
  position: absolute; top: -1px; left: 0; width: 100%; height: 100%;
  background: #ffce44; clip-path: polygon(0 0, 100% 0, 50% 100%);
  display: flex; justify-content: center;
}
.connector-text { font-size: 20px; font-weight: bold; padding-top: 10px; }

/* 7. 車両紹介 */
.section-padding { padding: 60px 0; }
.section-subtitle { font-weight: bold; font-size: 14px; color: #666; }
.cars-intro-line { display: inline-block; border-top: 1px solid #333; padding-top: 5px; margin-top: 5px; font-weight: bold;}
.car-container { display: flex; justify-content: center; gap: 40px; margin-top: 40px; }
.car-card { flex: 0 1 350px; border: 2px solid #005596; border-radius: 15px; padding: 40px 20px 30px; position: relative; text-align: center; }
.car-label { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: #ffc107; padding: 5px 30px; border-radius: 20px; font-weight: bold; }
.price-num { font-size: 42px; font-weight: bold; }
.car-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-blue { background: #51b7f0; color: #fff; border-radius: 30px; padding: 12px; font-weight: bold; }
.btn-yellow { background: #ffc107; color: #333; border-radius: 30px; padding: 12px; font-weight: bold; }

/* 8. 料金表 */
.sec-price { background: #fff; position: relative; }
.price-top-white-cut { background: #ffc107; height: 60px; position: relative; margin-top: -1px; }
.white-triangle-arrow { width: 400px; height: 62px; background: #fff; margin: 0 auto; clip-path: polygon(0 0, 100% 0, 50% 100%); transform: scaleX(1.02); }
.price-yellow-body { background: #ffc107; padding: 40px 0 80px; position: relative; z-index: 1;}
.price-header-triangle { text-align: center; margin-bottom: 40px; }
.sec-subtitle-line { display: inline-block; border-bottom: 2px solid #333; font-weight: bold; padding-bottom: 5px; margin-top: 5px; }
.title-under-tri { width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 15px solid #333; margin: 10px auto 0; }
.price-content-box { width: 80%; margin: 0 auto; }
.price-table { background: #fff; width: 100%; border-collapse: collapse; border: 1px solid #eee; }
.price-table th, .price-table td { border: 1px solid #eee; padding: 12px; text-align: center; font-weight: bold; }
.bg-blue-dark { background-color: #004d80; color: #fff; }
.bg-green-light { background-color: #00b0a8; color: #fff; }
.bg-orange-vivid { background-color: #ff8c00; color: #fff; }
.price-note { text-align: right; font-size: 13px; font-weight: bold; margin-top: 10px; color: #333; }
.scroll-guide-sp { display: none; }

/* 9. FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; }
.faq-question { background: #ffc107; padding: 5px 10px; border-radius: 20px; cursor: pointer; font-weight: bold; display: flex; align-items: center; font-size: 16px; }
.faq-question::before { content: "Q"; color: #005596; margin-right: 15px; font-size: 22px; font-weight: 700; flex-shrink: 0; }
.faq-toggle { display: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; }
.faq-toggle:checked + .faq-question + .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 5px 15px; background: #f9f9f9; border-radius: 20px; margin-top: 10px; border: 1px solid #eee; display: flex; align-items: flex-start; }
.faq-answer-inner p { font-size: 16px; margin: 0; }
.faq-answer-inner::before { content: "A"; color: #ffc107; margin-right: 15px; font-size: 22px; font-weight: 700; flex-shrink: 0; line-height: 1.4; }
.faq-inner { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 10px; position: relative; }

/* 10. VOICE, FLOW, COMPANY 省略（元のまま） */
.voice-p-label { font-weight: bold; color: #666; }
.voice-tri-black { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #333; margin: 10px auto; }
.voice-container { padding: 40px; border: 10px solid #ffc107; display: flex; flex-direction: column; gap: 40px; }
.voice-card { border-bottom: 2px dashed #ffc107; padding-bottom: 30px; }
.voice-card:last-child { border-bottom: none; }
.voice-flex { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.voice-icon-img { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; background: #eee; flex-shrink: 0; border: 1px solid #ddd; }
.voice-h3 { color: #005596; font-weight: bold; font-size: 20px; }

.section-padding-bg { padding: 60px 0; background: #f2f2f2; }
.flow-container { display: flex; justify-content: space-between; gap: 30px; }
.flow-p-label { display: inline-block; background-color: #ffc107; color: #000; font-weight: bold; padding: 5px 25px; position: relative; font-size: 16px; margin-bottom: 15px; }
.flow-p-label::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #ffc107; }
.flow-item { flex: 1; text-align: center; }
.flow-step { color: #004d80; font-weight: bold; border-bottom: 2px solid #004d80; display: inline-block; margin-bottom: 15px; font-size: 18px; }
.flow-img-box { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 5px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: #fff; }
.flow-img-box img { width: 100%; height: 100%; object-fit: cover; }
.flow-h3 { color: #004d80; font-weight: bold; margin-bottom: 10px; font-size: 18px; }
.flow-text { font-size: 14px; text-align: left; }

.company-subtitle-en { font-size: 16px; font-weight: bold; color: #ffc107; margin-top: 5px; display: block; }
.company-logo-area { text-align: center; margin-bottom: 30px; }
.company-logo-img { width: 120px; }
.company-lead { text-align: center; margin-bottom: 50px; }
.company-lead-title { font-size: 24px; font-weight: bold; color: #333; margin-bottom: 20px; line-height: 1.4; }
.company-lead-text { font-size: 15px; line-height: 1.8; color: #444; max-width: 900px; margin: 0 auto; text-align: left; }
.company-table-wrapper { border: 1px solid #ccc; }
.company-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.company-table th, .company-table td { padding: 20px; border-bottom: 1px solid #ccc; vertical-align: middle; font-size: 15px; line-height: 1.6; }
.company-table th { width: 250px; background-color: #f9f9f9; text-align: left; font-weight: bold; }
.company-table td { background-color: #fff; }
.sales-list { list-style: none; padding: 0; margin: 0; display: inline-block; text-align: left; }
.sales-list li { margin-bottom: 5px; padding-left: 0; }

/* 12. Modal Base */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; }
.modal-bg { position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); cursor: pointer; }
.modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 40px; border-radius: 20px; width: 90%; max-width: 600px; text-align: center; z-index: 10000; }

/* 13. Responsive Base */
@media (max-width: 768px) {
  .header-inner { justify-content: center; }
  .logo img { width: 160px; }
  .intro-flex { flex-direction: column-reverse; }
  .intro-image { flex: 0 0 auto; width: 100%; }
  .white-triangle-arrow { width: 150px; height: 62px; }
  .car-container, .flow-container { flex-direction: column; align-items: center; }
  .price-content-box { width: 100%; }
  .scroll-guide-sp { display: block; text-align: center; font-size: 12px; font-weight: bold; color: #333; background: rgba(255, 255, 255, 0.5); padding: 5px; margin-bottom: 5px; border-radius: 5px; }
  .price-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table { min-width: 600px; }
  .price-table th, .price-table td { padding: 8px 5px; font-size: 13px; }
  .price-note { padding-right: 5px; }
  .faq-question, .faq-answer-inner p { font-size: 14px; }
  .voice-flex { flex-direction: column; text-align: center; }
  .voice-container { padding: 20px; }
  .flow-item { width: 100%; margin-bottom: 40px; }
  .sp-only { display: block; }
  .company-lead-title { font-size: 14px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 15px; text-align: left; }
  .company-table th { background-color: #f2f2f2; border-bottom: none; }
}

/* --- FOOTER & FIXED CTA (元のまま) --- */
.footer { padding: 60px 0 30px; text-align: center; background: #fff; border-top: 1px solid #eee; padding-bottom: 100px !important; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo img { width: 80px; height: auto; }
.footer-company-name { font-size: 16px; font-weight: bold; color: #333; letter-spacing: 0.05em; }
.footer-links a { font-size: 14px; color: #333; text-decoration: none; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 0.7; text-decoration: underline !important; }
#copyright { margin-top: 10px; font-size: 12px; color: #666; }

.fixed-cta { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.7); padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.5s ease; }
.fixed-cta.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.cta-inner { display: flex; justify-content: center; gap: 10px; max-width: 1024px; margin: 0 auto; }
.cta-btn { flex: 1; text-align: center; padding: 8px 5px; border-radius: 12px; color: #fff; font-weight: bold; display: flex; flex-direction: column; justify-content: center; min-height: 60px; }
.cta-tel { background: #0082c3; }
.cta-mail { background: #06C755; }
.cta-label { font-size: 16px; line-height: 1.2; }
.cta-sub { background: #fff; color: #0082c3; border-radius: 5px; font-size: 14px; margin-top: 5px; padding: 2px 0; }
.cta-mail .cta-sub { color: #06C755; }

/* --- モーダル内料金表/スペック追加スタイル --- */
.modal-title { font-size: 20px; font-weight: bold; margin-bottom: 20px; color: #333; }
.modal-price-flex { display: flex; gap: 20px; justify-content: center; }
.modal-price-item { flex: 1; border: 1px solid #eee; border-radius: 10px; overflow: hidden; background: #fff; }
.modal-price-item.single { max-width: 320px; }
.modal-price-item h4 { padding: 12px; font-size: 16px; font-weight: bold; margin: 0; }
.modal-mini-table { width: 100%; border-collapse: collapse; }
.modal-mini-table th, .modal-mini-table td { padding: 10px; border-bottom: 1px solid #eee; font-size: 14px; }
.modal-mini-table th { background: #f9f9f9; width: 40%; color: #666; }
.modal-mini-table td { font-weight: bold; text-align: right; padding-right: 15px; }
.modal-mini-table tr:last-child th, .modal-mini-table tr:last-child td { border-bottom: none; }
.justify-center { justify-content: center; }

/* 車両詳細スペック用 */
.modal-content-wide { max-width: 900px !important; }
.spec-flex { display: flex; gap: 20px; justify-content: space-between; margin-top: 20px; }
.spec-item { flex: 1; background: #fdfdfd; border: 1px solid #eee; border-radius: 8px; padding: 15px; text-align: center; }
.spec-img { margin-bottom: 15px; height: 180px; display: flex; align-items: center; justify-content: center; background: #fff; }
.spec-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.spec-info { text-align: left; }
.spec-info p { font-size: 14px; line-height: 1.6; font-weight: bold; margin-bottom: 4px; color: #333; padding-left: 10px; border-left: 3px solid #ffc107; }

/* モーダル内CTA */
.modal-cta { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #ddd; margin-bottom: 20px; }
.modal-cta-btn { display: block; background: #0082c3; color: #fff !important; font-weight: bold; padding: 15px; border-radius: 50px; max-width: 350px; margin: 0 auto; font-size: 16px; transition: opacity 0.3s; box-shadow: 0 4px 10px rgba(0,130,195,0.3); }
.modal-cta-btn:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .modal-content { padding: 30px 15px; width: 90%; max-height: 90vh; overflow-y: auto; }
  .modal-price-flex, .spec-flex { flex-direction: column; gap: 15px; }
  .modal-price-item.single { max-width: 100%; }
  .modal-title { font-size: 18px; }
  .spec-img { height: auto; }
  .modal-cta-btn { font-size: 14px; padding: 12px; }
  .modal-body .spec-note { font-size: 14px !important;  }
}