/* ========================================
   共通設定
======================================== */

/* ページ内の各セクションで共通使用する日本語フォント */
.product-features,
.lineup-comparison,
.pro-detail-features,
.faq-section {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ========================================
   洗濯槽クリーナーPROの特長
======================================== */

.product-features {
  color: #333;
}

/* ページ全体のコンテンツ幅は900pxに統一 */
.product-features__inner {
  max-width: 900px;
  margin: 0 auto;
}

.product-features__title {
  margin-top: 0;
  line-height: 1.4;
  font-weight: 600;
}

.product-features__grid {
  display: grid;
}

/* グリッド内で長い文章がはみ出さないようにする */
.feature-card {
  min-width: 0;
}

/* 画像エリアは正方形で統一 */
.feature-card__media {
  border: 1px solid #b8b8b8;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__title {
  margin-top: 0;
  color: #1e94e6;
  line-height: 1.35;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  font-weight: 400;
}

.product-features__note,
.product-features__trademark {
  font-weight: 300;
}

/* ========================================
   ラインナップ比較
======================================== */

.lineup-comparison {
  color: #3f6578;
  font-weight: 600;
}

.lineup-comparison__inner {
  max-width: 900px;
  margin: 0 auto;
}

.lineup-comparison__title {
  margin-top: 0;
  color: #fff;
  background: #55a7e2;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 500;
}

/* 定期使用向き〜超強力の矢印バー */
.lineup-comparison__scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #19a6d8 0%, #c69200 50%, #df0000 100%);
  text-align: center;
}

/* 矢印バーの左右に付く三角形 */
.lineup-comparison__scale::before,
.lineup-comparison__scale::after {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  content: "";
  transform: translateY(-50%);
}

.lineup-comparison__scale::before {
  border-top: solid transparent;
  border-right: solid #19a6d8;
  border-bottom: solid transparent;
}

.lineup-comparison__scale::after {
  border-top: solid transparent;
  border-bottom: solid transparent;
  border-left: solid #df0000;
}

.lineup-comparison__type-row {
  display: grid;
  width: 100%;
}

.lineup-comparison__type {
  margin: 0!important;
  padding: 10px 16px!important;
  color: #fff!important;
  text-align: center!important;
  line-height: 1.4!important;
}

.lineup-comparison__type--powder {
  grid-column: 2 / 5;
  background: #1da4d1;
  margin-right: 2%!important;
}

.lineup-comparison__type--liquid {
  grid-column: 5 / 7;
  background: #df0000;
}

/* SPで矢印バー・タイプ見出し・表をまとめて横スクロールさせるための外枠 */
.lineup-comparison__scroll {
  overflow-x: visible;
}

.lineup-comparison__scroll-inner {
  width: 100%;
}

.lineup-comparison__table-wrap {
  overflow-x: visible;
}

/* 比較表本体 */
.lineup-table {
  width: 100%;
  color: #505865;
  border-collapse: collapse;
  table-layout: fixed;
  font-weight: 600;
}

/* 表の説明文はスクリーンリーダー向けに残し、画面上では非表示 */
.lineup-table__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lineup-table th,
.lineup-table td {
  border-right: 1px solid #b7dceb;
  border-bottom: 1px solid #cde8f3;
  vertical-align: top;
}

.lineup-table th:first-child,
.lineup-table td:first-child {
  border-left: 0;
}

.lineup-table thead th {
  border-bottom: 0;
}

.lineup-table tbody th {
  color: #505865;
  text-align: left;
  line-height: 1.3;
}

.lineup-table tbody td {
  line-height: 1.5;
}

/* 使用頻度の行だけ薄い水色背景 */
.lineup-table tbody tr:first-child th,
.lineup-table tbody tr:first-child td {
  background: #e8f7fc;
  text-align: center;
  vertical-align: middle;
  line-height: 1.35;
  font-weight: 500;
}

.lineup-table tbody tr:last-child th,
.lineup-table tbody tr:last-child td {
  border-bottom: 0;
  text-align: center;
  vertical-align: middle;
}

.lineup-table tbody td strong {
  margin-left: 6px;
  color: #505865;
  font-weight: 400;
}

/* 表の上部に表示する商品情報 */
.product-summary {
  display: grid;
  justify-items: center;
}

.product-summary img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-summary h3 {
  margin: 0;
  color: #505865;
  line-height: 1.35;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}

.product-summary a{
  text-decoration: none;
}
/* ========================================
   4つの特長詳細
======================================== */

.pro-detail-features {
  color: #333;
}

.pro-detail-features__inner {
  max-width: 900px;
  margin: 0 auto;
}

.pro-detail-features__title {
  margin-top: 0;
  border-bottom: 2px solid #1898e6;;
  color: #1898e6;
  line-height: 1.35;
  font-weight: 700;
}

/* 01〜04の番号と見出しを横並びにする */
.pro-detail-feature__heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.pro-detail-feature__number {
  display: grid;
  place-items: center;
  color: #fff;
  background: #54a8e2;
  font-weight: 600;
  line-height: 1;
}

.pro-detail-feature__heading h3 {
  margin: 0;
  color: #1898e6;
  line-height: 1.35;
  font-weight: 700!important;
}

.pro-detail-feature__heading small {
  font-size: 45%;
  vertical-align: super;
}

/* 本文内の段落は読みやすい行間にする */
.pro-detail-feature__body p {
  margin:2%;
  margin-bottom:2%!important;
  line-height: 1.6!important;
  font-size: 14px!important;
}

.pro-detail-feature__lead {
  color: #1898e6;
  font-weight: 700;
}

.pro-detail-feature__note {
  color: #666;
}

.pro-detail-feature__body--media {
  display: grid;
  align-items: center;
}

.pro-detail-feature__body img,
.pro-detail-feature__image {
  display: block;
  width: 100%;
  height: auto;
  background: #f2f2f2;
}

.pro-detail-feature__copy {
  display: grid;
  color: #555;
}

/* 酸素系と塩素系の違いをHTMLで表現する比較ブロック */
.cleaning-comparison {
  color: #444;
}

.cleaning-comparison__title {
  margin: 0;
  text-align: center;
  line-height: 1.45;
  font-weight: 600;
}

.cleaning-comparison__columns {
  display: grid;
}

.cleaning-comparison__label {
  margin: 0;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
}

.cleaning-comparison__column--oxygen .cleaning-comparison__label,
.cleaning-comparison__result--oxygen .cleaning-comparison__photo span {
  background: #999ec0;
}

.cleaning-comparison__column--chlorine .cleaning-comparison__label,
.cleaning-comparison__result--chlorine .cleaning-comparison__photo span {
  background: #08a4dc;
}

.cleaning-comparison__catch {
  text-align: center;
  font-weight: 600;
line-height: 0.7;
  margin-top: 5%;
}

.cleaning-comparison__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.cleaning-comparison__flow img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  background: #d8eef8;
}

.cleaning-comparison__flow span {
  width: 0;
  height: 0;
  border-top: solid transparent;
  border-bottom: solid transparent;
  border-left: solid #8d9cc2;
}

.cleaning-comparison__column--chlorine .cleaning-comparison__flow span {
  border-left-color: #08a4dc;
}

.cleaning-comparison__text,
.cleaning-comparison__result figcaption {
  font-weight: 500;
line-height: 1;
}

.cleaning-comparison__photo {
  position: relative;
}

.cleaning-comparison__photo span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.cleaning-comparison__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  background: #d8eef8;
}

.cleaning-comparison__result {
  margin: 0;
}

/* ========================================
   FAQ
======================================== */

.faq-section {
  color: #333;
}

.faq-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section__title {
  margin-top: 0;
  border-bottom: 1px solid #bdbdbd;
  color: #54a8e2;
  line-height: 1.1;
  font-weight: 500;
  text-align:center;
}

.faq-list {
  margin: 0;
}

.faq-item {
  margin: 0;
}

.faq-item__question {
  display: grid;
  grid-template-columns: auto 1fr;
  border-bottom: 1px solid #cfcfcf;
  color: #54a8e2;
  line-height: 1.45;
  font-weight: 700;
}

/* 質問文の先頭にQを自動表示 */
.faq-item__question::before {
  content: "Q";
}

.faq-item__answer {
  margin: 0;
  color: #3f3f3f;
  line-height: 1.6;
  font-weight: 500;
}

.faq-section__trademark {
  margin-bottom: 0;
  color: #3f3f3f;
  font-weight: 500;
}

/* ========================================
   PC表示: 768px以上
======================================== */
@media (min-width: 768px) {
  /* 洗濯槽クリーナーPROの特長 */
  .product-features {
    padding: 0px 16px 0px;
  }

  .product-features__title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .product-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 44px;
  }

  .feature-card__media {
    margin: 0 0 18px;
  }

  .feature-card__title {
    margin-bottom: 14px;
    font-size: 18px!important;
    letter-spacing:1px;
  }

  .feature-card__text {
    font-size: 16px!important;
    line-height: 2.2rem!important;
    
  }

  .product-features__note {
    margin: 10px 0 0;
    font-size: 12px!important;
    line-height: 1.7!important;
  }

  .product-features__trademark {
    margin: 30px 0 0;
    font-size: 16px!important;
    line-height: 1.2!important;
  }

  /* ラインナップ比較 */
  .lineup-comparison {
    padding: 32px 16px 56px;
  }

  .lineup-comparison__title {
    margin-bottom: 36px;
    padding: 18px 24px;
    font-size: 26px;
  }

  .lineup-comparison__scale {
    margin: 0 64px 32px;
    padding: 18px 64px;
    font-size: 24px;
    font-weight: 400;
  }

  .lineup-comparison__scale::before {
    left: -64px;
    border-top-width: 48px;
    border-right-width: 72px;
    border-bottom-width: 48px;
  }

  .lineup-comparison__scale::after {
    right: -64px;
    border-top-width: 48px;
    border-bottom-width: 48px;
    border-left-width: 72px;
  }

  .lineup-comparison__type-row {
    grid-template-columns: 72px repeat(5, 1fr);
    gap: 0;
    margin: 0 0 18px;
  }

  .lineup-comparison__type {
    font-size: 18px!important;
  }

  /* PCでは比較表を900px幅に収める */
  .lineup-table {
    min-width: 900px;
  }

  .lineup-table thead th {
    padding: 0 10px 14px;
  }

  .lineup-table tbody th {
    width: 72px;
    padding: 14px 10px 14px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
  }

  .lineup-table tbody td {
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 400;
  }

  .lineup-table tbody tr:first-child th,
  .lineup-table tbody tr:first-child td {
    font-size: 17px;
  }

  /* 最後の商品だけ文字量が多いため、使用頻度の文字を少し小さくする */
  .lineup-table tbody tr:first-child .lineup-table__small-frequency {
    font-size: 16px;
  }

  .lineup-table tbody td strong {
    font-size: 25px;
  }

  .product-summary {
    gap: 12px;
  }

  .product-summary img {
    max-width: 140px;
  }

  .product-summary h3 {
    font-size: 14px;
  }

  /* 4つの特長詳細 */
  .pro-detail-features {
    padding: 48px 16px 72px;
    width: 800px;
    margin: 0 auto;
  }

  .pro-detail-features__title {
    margin-bottom: 36px;
    padding-bottom: 12px;
    font-size: 34px;
  }

  .pro-detail-feature {
    margin-top: 48px;
  }

  .pro-detail-feature:first-of-type {
    margin-top: 0;
  }

  .pro-detail-feature__heading {
    gap: 18px;
    margin-bottom: 22px;
  }

  .pro-detail-feature__number {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .pro-detail-feature__heading h3 {
    font-size: 30px;
  }

  .pro-detail-feature__body {
    padding-left: 82px;
    font-size: 18px;
    width: 100%;
  }

  .pro-detail-feature__lead {
    margin-top: 18px!important;
    font-size: 21px!important;
  }

  .pro-detail-feature__note {
    margin-top: 10px!important;
    font-size: 12px!important;
  }

  .pro-detail-feature__body--media {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr);
    gap: 28px;
  }

  .pro-detail-feature__image {
    max-width: 760px;
    margin: 0 auto;
  }

  .pro-detail-feature__image--narrow {
    max-width: 640px;
    margin-top: 36px;
  }

  .pro-detail-feature__image--narrow:first-child {
    margin-top: 0;
  }

  .cleaning-comparison {
    padding: 40px 40px 48px;
      background-color: #f3f3f3;
  }

  .cleaning-comparison__title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .cleaning-comparison__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
  }

  .cleaning-comparison__label {
    padding: 10px 16px;
    font-size: 20px;
  }

  .cleaning-comparison__catch {
    margin: 20px 0 18px;
    font-size: 24px;
    line-height: 1.5;
  }

  .cleaning-comparison__flow {
    gap: 0;
  }

  .cleaning-comparison__flow span {
    border-top-width: 16px!important;
    border-bottom-width: 16px!important;
    border-left-width: 18px!important;
  }

  .cleaning-comparison__text {
    margin-top: 18px!important;
    font-size: 18px!important;
    line-height: 1.5!important;
  }

  .cleaning-comparison__photo span {
    min-width: 120px;
    padding: 8px 18px;
    font-size: 18px!important;
  }

  .cleaning-comparison__result {
    margin-top: 38px;
  }

  .cleaning-comparison__result figcaption {
    margin-top: 10px;
    font-size: 16px!important;
    line-height: 1.;
    line-height: 1.6;
  }

  .pro-detail-feature__copy {
    gap: 14px;
    margin-top: 40px;
    font-size: 12px!important;
  }

  /* FAQ */
  .faq-section {
    padding: 56px 16px 48px;
    width: 700px;
    margin: 0 auto;
  }

  .faq-section__title {
    margin-bottom: 54px;
    padding-bottom: 24px;
    font-size: 40px;
    text-align: center;
  }

  .faq-item {
    margin-top: 42px;
  }

  .faq-item:first-child {
    margin-top: 0;
  }

  .faq-item__question {
    gap: 28px;
    padding-bottom: 12px;
    font-size: 24px;
  }

  .faq-item__answer {
    padding-top: 14px;
    font-size: 20px;
  }

  .faq-section__trademark {
    margin-top: 38px;
    padding-left: 18px;
    font-size: 14px!important;

  }
}

/* ========================================
   SP表示: 767px以下
======================================== */
@media (max-width: 767px) {
  /* 洗濯槽クリーナーPROの特長 */
  .product-features {
    padding: 0px;
  }

  .product-features__title {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .product-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
  }

  .feature-card__media {
    margin: 0 0 12px;
  }

  .feature-card__title {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .feature-card__text {
    font-size: 13px!important;
    line-height: 1.6!important;
  }

  .product-features__note,
  .product-features__trademark {
    font-size: 12px;
  }

  .product-features__note {
    margin: 10px 0 0;
    line-height: 1.7;
  }

  .product-features__trademark {
    margin: 48px 0 0;
    line-height: 1.8;
  }

  /* ラインナップ比較 */
  .lineup-comparison {
    padding: 20px 10px 32px;
  }

  .lineup-comparison__title {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .lineup-comparison__scale {
    margin: 0 24px 14px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .lineup-comparison__scale::before {
    left: -24px;
    border-top-width: 24px;
    border-right-width: 28px;
    border-bottom-width: 24px;
  }

  .lineup-comparison__scale::after {
    right: -24px;
    border-top-width: 24px;
    border-bottom-width: 24px;
    border-left-width: 28px;
  }

  .lineup-comparison__type-row {
    grid-template-columns: 58px repeat(5, 1fr);
    gap: 0;
    margin: 0 0 10px;
  }

  .lineup-comparison__type {
    padding: 7px 10px;
    font-size: 15px;
    line-height: 1.25;
  }

  /* SPでは表を横スクロール前提にして、列幅を確保する */
  .lineup-comparison__scroll {
    overflow-x: auto;
  }

  .lineup-comparison__scroll-inner {
    min-width: 760px;
  }

  .lineup-table {
    min-width: 760px;
    font-weight: 500;
  }

  .lineup-table thead th {
        padding: 10px 8px 8px;
    font-weight:500;
    text-align:center;
    font-size:14px!important;
  }

  .lineup-table tbody th {
    width: 58px;
    padding: 9px 8px 9px 0;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
  }

  .lineup-table tbody td {
    padding: 9px 9px;
    font-size: 11px;
    line-height: 1.32;
  }

  .lineup-table tbody tr:first-child th,
  .lineup-table tbody tr:first-child td {
    font-size: 12px;
    line-height: 1.25;
  }

  /* 最後の商品だけ文字量が多いため、使用頻度の文字を少し小さくする */
  .lineup-table tbody tr:first-child .lineup-table__small-frequency {
    font-size: 11px;
  }

  .lineup-table tbody td strong {
    font-size: 17px;
    font-weight: 500;
  }

  .product-summary {
    gap: 7px;
  }

  .product-summary img {
    max-width: 96px;
  }

  .product-summary h3 {
    font-size: 10px;
    line-height: 1.25;
    font-weight: 600;
  }

  /* 4つの特長詳細 */
  .pro-detail-features {
    padding: 36px 18px 40px;
  }

  .pro-detail-features__title {
   margin-bottom: 28px;
    padding-bottom: 8px;
    font-size: 20px;
    text-align:center;
  }

  .pro-detail-feature {
    margin-top: 34px;
  }

  .pro-detail-feature:first-of-type {
    margin-top: 0;
  }

  .pro-detail-feature__heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .pro-detail-feature__number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .pro-detail-feature__heading h3 {
    font-size: 20px;
  }

  .pro-detail-feature__body {
    font-size: 13px;
  }

  .pro-detail-feature__lead {
    margin-top: 14px;
    font-size: 15px;
  }

  .pro-detail-feature__note {
    margin-top: 6px;
    font-size: 10px;
  }

  .pro-detail-feature__body--media {
    gap: 14px;
  }

  .pro-detail-feature__image {
    margin: 0 auto;
  }

  .pro-detail-feature__image--narrow {
    margin-top: 26px;
  }

  .pro-detail-feature__image--narrow:first-child {
    margin-top: 0;
  }

  .cleaning-comparison {
    padding: 24px 14px 30px;
    background-color: #f3f3f3;
  }

  .cleaning-comparison__title {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .cleaning-comparison__columns {
    gap: 26px;
  }

  .cleaning-comparison__label {
    padding: 8px 12px;
    font-size: 18px;
  }

  .cleaning-comparison__catch {
    margin: 14px 0 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  .cleaning-comparison__flow span {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 13px;
  }

  .cleaning-comparison__text {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
  }

  .cleaning-comparison__photo span {
    min-width: 84px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .cleaning-comparison__result {
    margin-top: 24px;
  }

  .cleaning-comparison__result figcaption {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .pro-detail-feature__copy {
    gap: 12px;
    font-size: 13px;
  }

  /* FAQ */
  
  .faq-section {
    padding: 40px 18px 36px;
    
  }

  .faq-section__title {
    margin-bottom: 34px;
    padding-bottom: 16px;
    font-size: 30px;
  }

  .faq-item {
    margin-top: 32px;
  }

  .faq-item:first-child {
    margin-top: 0;
  }

  .faq-item__question {
    gap: 18px;
    padding-bottom: 8px;
    font-size: 18px;
  }

  .faq-item__answer {
    padding-top: 10px;
    font-size: 14px;
  }

  .faq-section__trademark {
    margin-top: 30px;
    font-size: 10px;
  }
}
