@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg: #eff3f8;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #d1d5db;
  --primary: #0b3b75;
  --primary-strong: #082a54;
  --accent: #d97706;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --container: 1120px;
  /* セクション間の縦余白（均一化） */
  --section-gap: 80px;
  /* Page specific vars matched to index.html style */
  --navy: #0b3b75;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html {
}

section {
  scroll-margin-top: 100px;
  /* Offset for sticky header */
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ヘッダーとナビのスタイルはstyle.cssで管理 */
/* グローバルナビの高さを85pxに設定（PC・タブレット） */
header .header-inner {
  min-height: 85px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* スマホ版グローバルナビ：exterior.html と同じ（style.css の 767px と合わせる） */
@media (max-width: 767px) {
  header .header-inner {
    height: 63px;
    min-height: 63px;
    padding: 0 16px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-ghost {
  border-color: var(--line);
  background: #ffffff;
  color: var(--primary);
}

.btn-ghost:hover {
  border-color: var(--primary);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
}

/* ヘッダーお問い合わせボタン（topページと同じデザイン） */
.btn-header-cta {
  background: #DFFF80;
  color: #333333;
  border-radius: 10px !important;
  border: 2px solid #ffffff;
  box-shadow: none;
}

.btn-header-cta:hover {
  background: #d4f066 !important;
  color: #333333 !important;
  border-color: #ffffff;
}

.page-container {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

/* page-container 内のセクションも縦余白を均一に */
.page-container > section:not(.price-section-new) {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

section {
  margin-bottom: 0;
}

.section-title {
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  border-left: 6px solid var(--accent);
  padding-left: 12px;
  margin: 0;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 18px rgba(11, 59, 117, 0.08);
  margin-bottom: 16px;
}

.card-center {
  text-align: center;
}

.card-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 12px;
  display: block;
}

.hero-lead {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-top: 0;
}

.hero-text {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-top: 0;
}

.hero-subtext {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-top: 0;
}

.placeholder-box {
  text-align: center;
  padding: 40px;
}

.placeholder-note {
  color: var(--muted);
  font-weight: bold;
}

.placeholder-sub {
  font-size: 14px;
  margin-top: 10px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
}

.hero-price-btn {
  background: var(--accent);
  color: #fff;
}

.vehicle-hero-img {
  width: 100%;
  border-radius: 8px;
}




.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.9;
}

.logos-row.small {
  gap: 24px;
  opacity: 0.7;
}
.logos-row.lg {
  margin-bottom: 20px;
}

.logo-img-sm {
  height: 50px;
  object-fit: contain;
}

.logo-img-md {
  height: 40px;
  object-fit: contain;
}

.logo-img-lg {
  height: 80px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.logos-center {
  text-align: center;
  margin: 20px 0;
}

.logos-heading {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}


/* hero-visualはstyle.cssで管理 */
.card.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.card.hero img {
  width: 100%;
  border-radius: var(--radius);
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.logo-list img {
  width: 100%;
  border-radius: 6px;
  background: #fff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tag {
  background: #e5ebf5;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 12px;
}

.vehicle-grid div {
  background: #f6f8fc;
  border-radius: 8px;
  padding: 8px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.price-grid .card {
  text-align: center;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* よくある質問（アコーディオン） */
.faq-list.card {
  padding: 0;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #dbe2ef;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(11, 59, 117, 0.06);
}

.faq-q-label {
  flex-shrink: 0;
  color: var(--primary);
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  margin: -6px 0 0 -1px;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 16px 14px 44px;
  font-size: 1.0625rem; /* 約15px → 約17px */
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .faq-answer p {
    padding-left: 16px;
  }
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
}

footer {
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  margin-top: 56px;
  font-size: 14px;
}

/* スマホメニューのスタイルはstyle.cssで管理 */

/* Copied from index.html for Client Logos */
/* Section layout parity */
.grid-3,
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Voice section layout to match index and enable horizontal switching */
#voice {
  position: relative;
  margin-bottom: 72px;
}

#voice .voice-wrapper {
  position: relative;
  overflow: hidden;
}

#voice .voice-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 14px;
}

#voice .voice-grid::-webkit-scrollbar {
  height: 6px;
}

#voice .voice-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

/* プリントスクリーン風のカードスタイル（高さ均一） */
#voice .voice-card-screenshot {
  min-width: 320px;
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 540px;
  display: flex;
}

#voice .screenshot-window {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#voice .screenshot-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

#voice .screenshot-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #e5e7eb;
}

#voice .screenshot-text {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* お客様の声パネル内の文字：topページ（#voice .card）と統一 */
#voice .screenshot-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

#voice .screenshot-text p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
}

#voice .screenshot-text .voice-meta {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 20px;
  color: var(--muted);
}

/* お客様の声スクロールボタン：topページと同じデザイン */
#voice .voice-nav {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #E5F56B;
  color: #2D3037;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

#voice .voice-nav:hover {
  opacity: 0.85;
}

#voice .voice-navs {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

#voice .voice-bottom-btn-area {
  text-align: center;
  margin-top: 24px;
}

#voice .voice-bottom-btn-area .btn-view-list {
  display: inline-block;
  background: #3C6EC8;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  padding: 14px 80px;
  border-radius: 10px;
  transition: opacity 0.2s ease;
}

#voice .voice-bottom-btn-area .btn-view-list:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {

  .grid-3,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  #voice .voice-card-screenshot {
    min-width: 280px;
    flex: 0 0 100%;
  }
}

/* お客様の声パネル内の文字：topページと同様に767px以下で小さく */
@media (max-width: 767px) {
  #voice .screenshot-text h3 {
    font-size: 20px;
  }

  #voice .screenshot-text p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* New Price List Design */
.price-section-new {
  background-color: transparent;
  padding: var(--section-gap) 0;
}

/* 料金表タイトルは .section-title.centered で選ばれる理由に合わせたため、.price-header-new は未使用 */
.price-section-new .section-title.centered {
  margin-bottom: 40px;
}

.price-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.price-card-new {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}

/* 料金表カードのホバーアクションなし */

.price-card-header {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
}

.price-card-body {
  padding: 24px 16px;
  text-align: center;
}

.price-amount {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.price-disclaimer {
  margin: 24px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: left;
}

.price-disclaimer p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.price-disclaimer p:first-child {
  margin-top: 0;
}

.price-disclaimer p:last-child {
  margin-bottom: 0;
}

.price-cta-new {
  text-align: center;
}

.btn-price-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3b82f6;
  /* Accent blue */
  color: #fff;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
  transition: background 0.2s;
}

.btn-price-detail:hover {
  background: #2563eb;
}

/* Price modal */
.price-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  padding: 24px;
}

.price-modal.is-open {
  display: flex;
}

.price-modal__dialog {
  position: relative;
  width: min(900px, 92vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-modal__content {
  overflow-y: auto;
  padding: 20px;
  flex: 1;
}

/* 料金表スタイル */
.price-table-section {
  margin-bottom: 40px;
}

.price-table-section:last-child {
  margin-bottom: 0;
}

.price-table-title {
  background: #0b3b75;
  color: #fff;
  padding: 12px 16px;
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  border-radius: 4px;
}

.price-table-scroll {
  overflow-x: auto;
  margin-bottom: 16px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}

.price-table thead {
  background: #0b3b75;
  color: #fff;
}

.price-table th,
.price-table td {
  padding: 12px 8px;
  text-align: left;
  border: 1px solid #e5e7eb;
}

.price-table th {
  font-weight: 700;
  white-space: normal;
  line-height: 1.4;
  vertical-align: middle;
}

.price-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.price-table-total {
  background: #1e40af !important;
  color: #fff;
  font-weight: 700;
}

.price-table-total td {
  border-color: #1e40af;
}

.price-table-notes {
  margin-top: 16px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.8;
  color: #4b5563;
}

.price-table-notes p {
  margin: 4px 0;
  font-size: 20px;
}

.price-table-notes p:first-child {
  margin-top: 0;
}

.price-table-notes p:last-child {
  margin-bottom: 0;
}

.price-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.price-modal__close:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 900px) {
  .price-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .price-grid-new {
    grid-template-columns: 1fr;
  }
}

/* 対応車両ボタングリッド */
.vehicle-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 24px;
}

.vehicle-type-btn {
  background: var(--primary, #0b3b75);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
  text-align: center;
}

/* 対応車両ボタンのホバーアクションなし */

.vehicle-icon {
  font-size: 24px;
  display: block;
}

/* インラインスタイルの外部化・セクション縦余白を均一に */
.section-padding {
  padding: var(--section-gap) 0;
}

/* メインコンテンツ先頭セクションのみ上余白をやや多めに */
main .container.section-padding:first-of-type {
  padding-top: 120px;
}

.section-title.centered {
  margin-bottom: 40px;
}

.section-title.centered h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #333333;
  margin-bottom: 24px;
}

.section-title.centered h2.small-margin {
  margin-bottom: 8px;
}

.section-title.centered p {
  font-size: 20px;
  line-height: 1.75;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
}

.section-title.centered p.subtitle {
  color: #666666;
  max-width: none;
}

.image-wrapper {
  max-width: 500px;
  margin: 0 auto 60px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.card p.text-content {
  font-size: 20px;
  line-height: 1.75;
  color: #333333;
  margin: 0;
}

.disclaimer {
  text-align: center;
  font-size: 14px;
  color: #666666;
  margin-top: 24px;
}

.section-bg-light {
  background: #f9f9f9;
}

.btn-price-detail svg {
  vertical-align: middle;
}

@media (max-width: 900px) {
  .vehicle-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vehicle-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .vehicle-type-btn {
    padding: 12px;
    font-size: 14px;
  }

  .vehicle-icon {
    font-size: 20px;
  }
}
