/* CSSInspection.css */

/* 基本構造 */
body {
  font-family: "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #000;
  margin: 0;
  padding: 0;
}

header.inspection-header {
  background-color: #fff;
  text-align: center;
  padding: 20px 0;
}

.section-title {
  font-size: 20px;
  background: #000;
  color: #fff;
  padding: 17px 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
  font-weight: bold;
}

/* 料金表グリッド */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  gap: 28px;
  padding: 0;
}

.price-box {
  border: 4px solid #ff4d4d;
  padding: 15px;
  text-align: center;
  background: #fff;
  position: relative;
}
.price-box.add {
  margin-bottom: 20px;
}
.price-box.add .price-amount {
  display: flex;
  align-items: center;
}

.price-label {
  font-weight: bold;
  background: #ffdada;
  color: #ee3311;
  border-radius: 9999px;
  padding: 5px 15px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 20px;
  width: 90%;
}

.price-amount {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* 追加料金の説明 */
.price-desc {
  font-size: 18px;
  color: #000;
  margin: 5px 0;
}

/* 注意書き */
.price-notes {
  margin: 15px 10px;
  font-size: 18px;
  color: #000;
}
/* 保管期間セクション */
.storage-period {
  padding: 0px 20px 40px 20px;
  text-align: center;
}

.storage-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.storage-item {
  border: 2px solid #000;
  padding: 10px 54px;
  max-width: 378px;
  flex: 1;
  border-radius: 10px;
}

.storage-item img {
  width: 100%;
  height: auto;
}

.storage-title {
  font-weight: bold;
  margin-top: 15px;
  font-size: 22px;
  display: inline;
  color: red;
  background: linear-gradient(transparent 60%, #fff600 60%);
}

.storage-period-text {
  font-size: 14px;
  margin-top: 5px;
}

.storage-note {
  font-size: 13px;
  text-align: left;
  margin-bottom: 20px;
}

.contact-text {
  position: relative;
  display: inline-block;
  font-weight: bold;
  text-align: center;
}

/* 赤線マーカー風 */
.contact-text::after {
  content: "";
  position: absolute;
  bottom: -10px; /* テキストとの距離 */
  left: 50%;
  transform: translateX(-50%);
  width: 50px; /* 線の長さ（調整可能） */
  height: 5px; /* 線の太さ */
  background-color: #ee3311; /* 赤色 */
  border-radius: 2px; /* 丸みを帯びた線 */
}

.red-title {
  font-weight: bold;
  color: #ee3311;
  font-size: 3rem;
  position: relative;
  line-height: 1.1;
  display: inline-block;
}
.red-title span {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
}
.red-title.all span {
  font-size: 1.5rem;
  color: #ee3311;
  font-weight: bold;
}
.red-title::after {
  content: "";
  position: absolute;
  bottom: -10px; /* テキストとの距離 */
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* 線の長さ（調整可能） */
  height: 5px; /* 線の太さ */
  background-color: #ee3311; /* 赤色 */
  border-radius: 2px; /* 丸みを帯びた線 */
}
.contact-btn a:hover {
  background: #222;
}
.contact-btn a {
  position: relative;
}
.contact-btn img {
  width: 16px;
  position: absolute;
  right: 10px;
  height: 16px;
}

/* おすすめセクション */
.recommend-section {
  background: #f2f2f2;
  padding: 50px 20px 150px 20px;
  text-align: center;
}

.section-title.center {
  text-align: center;
  color: #ee3311;
  position: relative;
}

.section-title.center::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ee3311;
  margin: 10px auto 20px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
  gap: 20px;
  margin: 61px auto 0 auto;
}

.recommend-box {
  position: relative;
  background: #fffde5;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.quote-icon {
  width: 49px;
  height: 49px;
  flex-shrink: 0;
  margin-top: 4px;
  position: absolute;
  top: -24px;
  left: 10px;
}

.recommend-box p {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
}
/* ここが違うセクション */
.difference-section {
  background: #fff;
  padding: 150px 20px 0px 20px;
  text-align: center;
}

.difference-section .highlight {
  color: #ee3311;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

.difference-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 10px #ee331142;
  text-align: left;
}

.difference-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.difference-box h3 {
  color: #ee3311;
  font-size: 20px;
  margin: 10px 0 5px;
  text-align: center;
  font-weight: bold;
}

.point-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 8px;
  color: #ee3311;
  text-align: center;
}

.point-desc {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  font-weight: bold;
}

/* 共通：ボタン */
.contact-text {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.8;
  margin-top: 40px;
  margin-bottom: 10px;
}

.contact-btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff000;
  padding: 17px 79px;
  font-size: 14px;
  margin-top: 20px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  transition: background 0.3s;
}

.contact-btn a:hover {
  background: #222;
}

.contact-btn img {
  width: 16px;
  height: 16px;
}
/* オプションサービス */
.option-section {
  padding: 60px 20px;
  background: #fff;
}

.option-section .section-title.left {
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
}

.option-section .sub {
  font-size: 11px;
  color: #fff;
  display: inline;
  margin-top: 4px;
  margin-left: 10px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.option-box {
  border: 5px solid #000;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 0 20px;
}

.option-box img {
  width: 100%;
  height: auto;
  border-bottom: 5px solid;
}

.option-title {
  background: #ee3311;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
  width: 80%;
  margin: 10px auto;
  border-radius: 31px;
}

.option-box p {
  font-size: 12px;
  padding: 0 15px;
  margin: 6px auto;
  width: 80%;
  font-weight: bold;
}

.option-box p.option-price {
  font-weight: bold;
  font-size: 23px;
  text-align: left;
  margin: 0px auto;
}
.option-box p.option-price.att {
  font-size: 14px;
}
.option-box p.option-price.small {
  font-size: 10px;
}
.option-price__box {
  height: 122px;
}
.option-box p.att {
  font-size: 18px;
}

.option-merit {
  background: #ee3311;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  padding: 6px 0;
  margin: 10px auto;
  width: 80%;
}

.option-note {
  font-size: 13px;
  padding: 0 15px;
  color: #444;
}
/* * メンテナンスサービス */
.maintenance-section {
  padding: 20px 20px 0 20px;
  background: #fff;
}
.mb20 {
  margin-bottom: 20px;
}
.maintenance-section .inner {
  max-width: 1180px;
  margin: 0 auto;
}

.maintenance-lead {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  font-weight: 700;
}

.maintenance-price {
  background: #000;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 17px 20px;
  margin-bottom: 40px;
}
.center-box {
  display: block;
  text-align: center;
  margin: 0 auto 50px auto;
}

.maintenance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.maintenance-item {
  flex: 1 1 48%;
}

.maintenance-heading {
  background: #f1533b;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  padding: 10px;
  height: 44px;
  margin-bottom: 15px;
  display: flex;
  align-items: baseline;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 15px;
}

.maintenance-heading .sub {
  font-size: 14px;
  display: block;
  font-weight: normal;
}

.maintenance-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.maintenance-images img {
  width: 212px;
  height: 371px;
  object-fit: cover;
  object-position: right;
}
.maintenance-images img.arrow {
  width: 20px;
  height: auto;
}
.maintenance-images div:nth-of-type(1) {
  margin: 0 auto 5px auto;
  border-radius: 10px;
  display: block;
  width: 44%;
}

.before-after-label {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  background: #5e5e5e;
  color: #fff;
  padding: 2px 10px;
  margin-bottom: 4px;
  display: inline-block;
  border-radius: 3px;
}
.before-after-label.after {
  background-color: #f1533b;
}
.maintenance-desc {
  text-align: left;
  font-size: 20px;
  width: 93%;
  margin: 0 auto;
}
.howto-section {
  padding: 60px 0;
  background-size: contain;
}

.howto-section .section-title {
  font-size: 24px;
  margin-bottom: 30px;
}

.howto-flow {
  background: #f5f5f5;
  border: 2px solid #000;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 10px;
}

.flow-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.flow-step {
  background-color: #000;
  color: #fff;
}

.flow-step p:first-child {
  font-size: 18px;
  padding: 11px;
  margin-bottom: 5px;
}
.flow-step p:first-child strong {
  font-weight: bold;
}
.flow-step p:first-child span {
  font-weight: bold;
  color: #ffe400;
}
.howto-notice .contact-link {
  margin-top: 10px;
}
.contact-link a {
  display: block;
  font-weight: bold;
  color: #ee3311;
  text-decoration: underline;
}

.howto-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.howto-option {
  flex: 1 1 276px;
  background: #f5f5f5;
  border: 2px solid #000;
  padding: 20px;
  border-radius: 10px;
}
.howto-option ul li {
  font-weight: bold;
}

.howto-option h4 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  margin-bottom: 10px;
}
.howto-option h4 span {
  color: #ffe400;
}

.howto-option h4 img {
  width: 24px;
  height: auto;
  margin-right: 10px;
}

.howto-option ul {
  padding-left: 20px;
  list-style: disc;
  font-size: 14px;
  width: 80%;
  display: block;
  margin: 0 auto;
}
.howto-notice h3 {
  color: #a80c0c;
  font-size: 1.5rem;
  font-weight: bold;
}

.howto-notice {
  background: #fdc7c6;
  padding: 20px 40px;
  font-size: 14px;
  border-radius: 10px;
  font-weight: bold;
}

.howto-notice strong {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.howto-notice strong img {
  width: 18px;
  height: auto;
  margin-right: 6px;
}
.faq-section {
  background: #f4f4f4;
  padding: 60px 0;
}
.section-title {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: bold;
}
.faq-group {
  margin-bottom: 10px;
}
.faq-group-title {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
  background: none;
  padding: 14px 16px 14px 0;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
}
.faq-group-title span {
  padding-left: 20px;
  font-weight: bold;
  border-left: 4px solid #e60012;
  color: #000;
}
.faq-items {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.faq-items.active {
  max-height: 1000px;
  opacity: 1;
}
.faq-answer-list {
  margin: 10px 0 0;
  padding: 0;
}
.faq-answer-row {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  padding: 16px;
}
.faq-answer-row dt {
  min-width: 30px;
  font-weight: bold;
  color: #e60012;
  margin-right: 8px;
}
.faq-answer-row dd {
  margin: 0;
  line-height: 1.6;
}
.faq-group-title img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.faq-answer-row:nth-child(even) {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-answer-row.active {
  max-height: 800px;
  opacity: 1;
}
.faq-item {
  background: #fff;
  margin-top: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: bold;
  padding: 16px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question img {
  width: 20px;
  height: 20px;
}
.faq-question .faq-label {
  color: #000;
  font-weight: bold;
  margin-right: 8px;
  flex-shrink: 0;
}

.faq-question .faq-text {
  flex-grow: 1;
  text-align: left;
  font-weight: bold;
  color: #000;
}

/* 回答部分 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  padding: 0 16px;
}

.faq-answer.active {
  max-height: 1000px;
  opacity: 1;
}

.faq-answer-content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.faq-answer-content .faq-label {
  color: #e60012;
  font-weight: bold;
  flex-shrink: 0;
}

.faq-answer-content p {
  margin: 0;
  line-height: 1.6;
  width: 92%;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 16px 16px 16px;
  opacity: 1;
}

.faq-answer .faq-label {
  display: inline-block;
  color: #e60012;
  font-weight: bold;
  margin-bottom: 4px;
}

.terms-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background-color: #fdc7c6;
  border-radius: 10px;
}

.terms-tab {
  padding: 18px 20px;
  background: none;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  width: 25%;
  cursor: pointer;
  color: #ff3333;
}

.terms-tab.active {
  background: #fff;
  color: #ff3333;
  border: 2px solid #ff6666;
}

.terms-content {
  display: none;
  border: 2px solid #222;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
}

.terms-content.active {
  display: block;
}
.terms-content-box {
  border-left: 3px solid #333;
  padding-left: 10px;
  margin-bottom: 10px;
}

.contact-terms {
  text-align: center;
  margin-top: 40px;
}

.btn-contact {
  display: inline-block;
  background: #000;
  color: #ffe600;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn-contact img {
  vertical-align: middle;
  margin-left: 8px;
}
.-flex {
  display: flex;
}
.ja {
  justify-content: space-around;
}
.jb {
  justify-content: space-between;
}
.jc {
  justify-content: center;
}
.half-box {
  width: 44%;
}
.half-box .price-label {
  width: 100%;
}
.half-box .price-desc {
  text-align: left;
}
.maintenance-images div:nth-of-type(2) {
  margin-top: -5px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  section {
    padding: 20px 20px;
  }
  section.main_title {
    padding: 0;
  }
  section.howto-section,
  .faq-section {
    padding: 0 20px;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
  }

  .price-label {
    font-size: 13px;
  }

  .price-amount {
    font-size: 18px;
  }
  .storage-boxes {
    flex-direction: column;
    align-items: center;
  }
  .recommend-grid {
    grid-template-columns: 1fr;
  }
  .difference-grid {
    grid-template-columns: 1fr;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .maintenance-grid {
    flex-direction: column;
  }

  .maintenance-item {
    flex: 1 1 100%;
  }
  .howto-options {
    flex-direction: column;
  }

  .flow-steps {
    font-size: 14px;
  }

  .howto-option {
    width: 100%;
  }
  .half-box {
    width: 65%;
  }
  .price-notes {
    margin: 14px 20px 0 0;
    padding-left: 0;
    font-size: 12px;
  }
  .section-title {
    margin-top: 20px;
  }
  .recommend-box p {
    font-size: 14px;
  }
  .option-section .sub {
    display: block;
    margin-left: 0px;
  }
  .option-box p.option-price {
    font-size: 21px;
    padding: 0;
  }
  .sp_blank {
    margin-left: 29px;
  }
  .maintenance-lead {
    font-size: 14px;
  }
  .maintenance-images div:nth-of-type(1) {
    width: 72.5%;
  }
  .contact-link img {
    margin-bottom: -6px !important;
  }
  .howto-option {
    flex: auto;
  }
  section.howto-section {
    padding-bottom: 50px;
  }
  .faq-section {
    padding: 50px 20px;
  }
  .terms-tab {
    width: 48.5%;
  }
  .terms-tabs {
    flex-wrap: wrap;
  }
  .center-box p:nth-child(2) br {
    display: none;
  }
  .price-desc {
    font-size: 16px;
  }
  .sp-none {
    display: none;
  }
  .recommend-section {
    padding-bottom: 50px;
  }
  .difference-section {
    padding-top: 50px;
  }
  .red-title {
    font-size: 1.3rem;
  }
  .red-title.all span,
  .red-title span {
    font-size: 1rem;
  }
  .option-price__box {
    height: auto;
  }
  .maintenance-desc {
    font-size: 14px;
  }
  .red-title.how__to span {
    font-size: 0.9rem;
  }
  section.howto-section {
    padding-top: 50px;
  }
  .maintenance-images img {
    max-width: 148px;
    width: 100%;
    height: 239px;
    min-width: 148px;
    object-fit: cover;
  }
  .maintenance-images img.arrow {
    width: 20px;
    max-width: 20px;
    min-width: 20px;
  }
  .maintenance-images img.square {
    height: 239px;
    max-width: 239px;
  }
  .faq-question {
    font-size: 16px;
  }
}
