/* =========================================================
   TEAM ONE
   修理料金・12ヶ月点検ページ
   price.css
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

.subpage {
  background: #fff;
}

.page-section {
  padding: 68px 0;
}

.page-section.alt {
  background: var(--soft);
}

.section-eyebrow {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-eyebrow.center,
.page-heading.center {
  text-align: center;
}

.page-heading {
  margin: 0 0 16px;
  font-size: 31px;
  line-height: 1.45;
  font-weight: 900;
}

.page-heading span {
  color: var(--red);
}

.page-lead {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================================
   HERO
   ========================================================= */

.price-hero {
  width: 100%;
  overflow: hidden;
  background: #f3f3f3;
}

.price-hero .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}

.price-hero img {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.intro-text {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.9;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.intro-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.intro-points i {
  color: var(--red);
}

.intro-photo {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.intro-photo img {
  display: block;
  width: 100%;
  min-height: 270px;
  object-fit: cover;
}


/* =========================================================
   REPAIR PRICE
   ========================================================= */

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

.repair-price-card {
  padding: 24px 20px 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.repair-price-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border-radius: 50%;
  background: #fff0f0;
  color: var(--red);
  font-size: 26px;
}

.repair-price-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.repair-price-card dl {
  margin: 0;
}

.repair-price-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #eee;
}

.repair-price-card dt {
  color: #555;
  font-size: 12px;
  font-weight: 800;
}

.repair-price-card dd {
  margin: 0;
  color: var(--red);
  font-size: 19px;
  font-weight: 900;
  text-align: right;
}

.repair-price-card dd span {
  display: block;
  margin-top: 2px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
}

.estimate-panel {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.estimate-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.estimate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estimate-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 7px;
  background: #f4f4f4;
  font-size: 12px;
  font-weight: 800;
}

.estimate-tags i {
  color: var(--red);
}

.estimate-panel > p {
  margin: 16px 0 0;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}

.price-caution {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fff;
}

.price-caution p {
  margin: 0;
  color: #555;
  font-size: 11px;
}

.price-caution i {
  margin-right: 6px;
  color: var(--red);
}


/* =========================================================
   12 MONTH INSPECTION
   ========================================================= */

.maintenance-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 17px 21px;
  border: 1px solid #efcaca;
  border-radius: 10px;
  background: #fff5f5;
}

.maintenance-highlight > i {
  color: var(--red);
  font-size: 30px;
}

.maintenance-highlight strong {
  color: var(--red);
  font-size: 17px;
}

.maintenance-highlight p {
  margin: 3px 0 0;
  color: #555;
  font-size: 12px;
}

.maintenance-table-wrap {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.maintenance-table {
  width: 100%;
  border-collapse: collapse;
}

.maintenance-table th,
.maintenance-table td {
  padding: 14px 16px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
  font-size: 13px;
}

.maintenance-table th:last-child,
.maintenance-table td:last-child {
  border-right: 0;
}

.maintenance-table thead th {
  background: #111;
  color: #fff;
  font-weight: 900;
}

.maintenance-table thead .plus {
  background: var(--red);
}

.maintenance-table tbody th {
  background: #fafafa;
  text-align: left;
}

.maintenance-table tbody td:last-child {
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.maintenance-table small {
  color: #777;
  font-size: 10px;
}

.inspection-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 22px auto 0;
}

.inspection-content-grid article {
  padding: 19px 16px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fff;
  text-align: center;
}

.inspection-content-grid i {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 27px;
}

.inspection-content-grid h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.inspection-content-grid p {
  margin: 0;
  color: #666;
  font-size: 11px;
}


/* =========================================================
   MAINTENANCE INFO
   ========================================================= */

.maintenance-info {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: start;
}

.maintenance-info > div:first-child > p:not(.section-eyebrow) {
  color: #555;
  font-size: 13px;
  line-height: 1.9;
}

.maintenance-benefits {
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.maintenance-benefits h3 {
  margin: 0 0 15px;
  font-size: 18px;
}

.maintenance-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.maintenance-benefits li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  color: #444;
  font-size: 13px;
}

.maintenance-benefits li:last-child {
  border-bottom: 0;
}

.maintenance-benefits i {
  margin-right: 8px;
  color: var(--red);
}


/* =========================================================
   OTHER SERVICE
   ========================================================= */

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

.other-service-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.other-service-card > i:first-child {
  color: var(--red);
  font-size: 27px;
  text-align: center;
}

.other-service-card > i:last-child {
  color: #999;
  font-size: 13px;
}

.other-service-card strong,
.other-service-card span {
  display: block;
}

.other-service-card strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.other-service-card span {
  color: #666;
  font-size: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 768px) {
  .page-section {
    padding: 48px 0;
  }

  .page-heading {
    font-size: 23px;
  }

  .page-lead {
    font-size: 13px;
  }

  .price-hero .wrap {
    padding: 0;
  }

  .price-hero img {
    width: 100%;
  }

  .intro-grid,
  .maintenance-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-photo img {
    min-height: 230px;
  }

  .repair-price-grid {
    grid-template-columns: 1fr;
  }

  .repair-price-card {
    padding: 20px 16px 16px;
  }

  .repair-price-card dl > div {
    align-items: center;
  }

  .maintenance-highlight {
    padding: 15px;
  }

  .maintenance-table-wrap {
    border-radius: 9px;
  }

  .maintenance-table thead {
    display: none;
  }

  .maintenance-table,
  .maintenance-table tbody,
  .maintenance-table tr,
  .maintenance-table th,
  .maintenance-table td {
    display: block;
    width: 100%;
  }

  .maintenance-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 12px 12px;
    border-bottom: 8px solid var(--soft);
  }

  .maintenance-table tbody th {
    grid-column: 1 / 3;
    margin: 0 -12px 9px;
    padding: 12px;
    background: #111;
    color: #fff;
    text-align: left;
  }

  .maintenance-table tbody td {
    position: relative;
    padding: 28px 8px 9px;
    border-right: 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .maintenance-table tbody td:first-of-type::before {
    content: "あんしん点検";
  }

  .maintenance-table tbody td:last-of-type::before {
    content: "あんしん点検＋";
  }

  .maintenance-table tbody td::before {
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    color: #777;
    font-size: 9px;
    font-weight: 800;
  }

  .inspection-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .other-service-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 430px) {
  .inspection-content-grid {
    grid-template-columns: 1fr;
  }

  .estimate-tags span {
    width: 100%;
  }
}
