/* B5レポート用紙商品ページ専用。共通CSSへ影響させないため #Main 内に限定する。 */

body {
  background-color: #ffffff;
}

#Contents,
#mein-Contents,
#Main {
  min-width: 0;
  box-sizing: border-box;
}

#Contents {
  width: 100%;
}

#Main .report-b5-page-title {
  margin-bottom: 20px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#Main .report-b5-intro {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #e4c9c9;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
  color: #222222;
}

#Main .report-b5-intro__label {
  margin: 0 0 6px;
  color: #a40f16;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#Main .report-b5-intro h2 {
  margin: 0 0 14px;
  color: #222222;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#Main .report-b5-intro__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
}

#Main .report-b5-product-image {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 22px auto 0;
  object-fit: contain;
}

#Main .report-b5-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

#Main .report-b5-summary div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #eadede;
  border-radius: 8px;
  background: #ffffff;
}

#Main .report-b5-summary dt {
  margin-bottom: 3px;
  color: #777777;
  font-size: 0.78rem;
  font-weight: 700;
}

#Main .report-b5-summary dd {
  margin: 0;
  color: #222222;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#Main .report-b5-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

#Main .report-b5-button {
  display: inline-flex;
  flex: 1 1 220px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid #c8161d;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#Main .report-b5-button--primary {
  background: #c8161d;
  color: #ffffff;
}

#Main .report-b5-button--primary:hover,
#Main .report-b5-button--primary:focus-visible {
  background: #9f1117;
  color: #ffffff;
}

#Main .report-b5-button--outline {
  background: #ffffff;
  color: #a40f16;
}

#Main .report-b5-button--outline:hover,
#Main .report-b5-button--outline:focus-visible {
  background: #fff0f0;
  color: #8a0d13;
}

#Main .report-b5-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 36px;
}

#Main .report-b5-jump a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #9fc7e3;
  border-radius: 7px;
  background: #f5fbff;
  color: #154a70;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#Main .report-b5-jump a:hover,
#Main .report-b5-jump a:focus-visible {
  background: #e7f5ff;
  color: #0b3858;
}

#Main .report-b5-section {
  margin: 0 0 44px;
  scroll-margin-top: 24px;
}

#Main .report-b5-heading {
  position: static;
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 0;
  border-left: 6px solid #c8161d;
  border-radius: 4px;
  background: #f4f4f4;
  color: #222222;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#Main .report-b5-card-grid,
#Main .report-b5-finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

#Main .report-b5-card,
#Main .report-b5-finish-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9e5ed;
  border-radius: 9px;
  background: #ffffff;
}

#Main .report-b5-card h3,
#Main .report-b5-finish-grid h3 {
  margin: 0 0 9px;
  color: #a40f16;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#Main .report-b5-card p,
#Main .report-b5-finish-grid p,
#Main .report-b5-section > p {
  margin: 0;
  color: #333333;
  line-height: 1.85;
}

#Main .report-b5-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#Main .report-b5-spec-table {
  width: 100%;
  border-collapse: collapse;
  color: #222222;
}

#Main .report-b5-spec-table caption {
  padding: 0 0 9px;
  font-weight: 700;
  text-align: left;
}

#Main .report-b5-spec-table th,
#Main .report-b5-spec-table td {
  padding: 12px 14px;
  border: 1px solid #b7cbd8;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

#Main .report-b5-spec-table th {
  width: 32%;
  background: #edf6fb;
  font-weight: 700;
}

#Main .report-b5-price-guide {
  margin: 0 0 16px;
  padding: 13px 15px;
  border-left: 4px solid #2589d0;
  background: #f2f8fc;
  color: #243642;
  line-height: 1.75;
}

#Main .report-b5-price-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#Main .report-b5-price-section .tab-wrap {
  gap: 0 6px;
  max-width: 100%;
  min-width: 0;
}

#Main .report-b5-price-section .tab-label {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 9px 8px;
  background: #2589d0;
  color: #ffffff;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#Main .report-b5-price-section .tab-switch:checked + .tab-label {
  background: #003457;
  color: #ffffff;
}

#Main .report-b5-price-section .tab-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#Main .report-b5-price-section .table {
  box-sizing: border-box;
  min-width: 620px;
  margin-top: 0;
}

#Main .report-b5-price-section .table th {
  padding: 10px 12px;
  white-space: normal;
}

#Main .report-b5-price-section .table td,
#Main .report-b5-price-section .table .pth {
  padding: 0;
}

#Main .report-b5-price-section .table .pth {
  padding: 10px 12px;
}

#Main .report-b5-price-section .table .tp {
  box-sizing: border-box;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #c8161d;
  font: inherit;
  cursor: pointer;
}

#Main .report-b5-price-section .table .tp:hover,
#Main .report-b5-price-section .table .tp:focus-visible {
  background: #c8161d;
  color: #ffffff;
}

#Main .report-b5-price-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #e4c9c9;
  border-left: 5px solid #c8161d;
  border-radius: 6px;
  background: #fff8f8;
  color: #333333;
  line-height: 1.75;
}

#Main .report-b5-resource-grid,
#Main .report-b5-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

#Main .report-b5-resource-grid a,
#Main .report-b5-related-grid a {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border: 1px solid #a9c9df;
  border-radius: 8px;
  background: #ffffff;
  color: #174f75;
  line-height: 1.55;
  text-decoration: none;
}

#Main .report-b5-resource-grid a:hover,
#Main .report-b5-resource-grid a:focus-visible,
#Main .report-b5-related-grid a:hover,
#Main .report-b5-related-grid a:focus-visible {
  background: #eef8ff;
  color: #0e3b5a;
}

#Main .report-b5-resource-grid strong,
#Main .report-b5-related-grid strong {
  margin-bottom: 5px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

#Main .report-b5-resource-grid span,
#Main .report-b5-related-grid span {
  color: #4b5962;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

#Main .report-b5-faq {
  border-top: 1px solid #cbd8e1;
}

#Main .report-b5-faq details {
  border-bottom: 1px solid #cbd8e1;
  background: #ffffff;
}

#Main .report-b5-faq summary {
  padding: 16px 12px;
  color: #222222;
  font-weight: 700;
  line-height: 1.65;
  cursor: pointer;
  overflow-wrap: anywhere;
}

#Main .report-b5-faq details div {
  padding: 0 12px 16px 30px;
}

#Main .report-b5-faq p {
  margin: 0;
  color: #333333;
  line-height: 1.8;
}

#Main .report-b5-contact {
  margin: 0 0 48px;
  padding: 24px;
  border: 1px solid #a9c9df;
  border-radius: 10px;
  background: #f3f9fd;
  color: #222222;
}

#Main .report-b5-contact h2 {
  margin: 0 0 10px;
  color: #222222;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#Main .report-b5-contact p {
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 760px) {
  #Main .report-b5-summary,
  #Main .report-b5-card-grid,
  #Main .report-b5-finish-grid,
  #Main .report-b5-resource-grid,
  #Main .report-b5-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  #Main .report-b5-page-title {
    padding: 0.8rem 1rem;
    font-size: 1.45rem;
  }

  #Main .report-b5-intro {
    padding: 20px 16px;
  }

  #Main .report-b5-summary,
  #Main .report-b5-card-grid,
  #Main .report-b5-finish-grid,
  #Main .report-b5-resource-grid,
  #Main .report-b5-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #Main .report-b5-jump {
    grid-template-columns: minmax(0, 1fr);
  }

  #Main .report-b5-heading {
    padding: 10px 12px;
    border-left-width: 5px;
  }

  #Main .report-b5-section {
    margin-bottom: 36px;
    scroll-margin-top: 190px;
  }

  #Main .report-b5-price-section .tab-label {
    min-height: 64px;
    padding: 8px 5px;
    font-size: 0.78rem;
  }

  #Main .report-b5-contact {
    padding: 20px 16px;
  }

  #Main .report-b5-faq details div {
    padding-left: 12px;
  }
}

@media (max-width: 390px) {
  #Main .report-b5-price-section .tab-label {
    font-size: 0.72rem;
  }

  #Main .report-b5-button {
    flex-basis: 100%;
  }
}
