@charset "UTF-8";

/* コンテナ崩れ防止の全体設定 */
#air-4dx,
#air-4dx * {
  box-sizing: border-box;
}

.block-goods-comment1 {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

#air-4dx {
  background: linear-gradient(rgba(253,253,248,0.6),rgba(0,0,0,0));
  background-size: cover;
  padding-bottom: 10px;
}

#air-4dx .air-4dx-logo {
  padding: 30px 0 20px;
  text-align: center;
}

#air-4dx .air-4dx-logo img {
  width: 50%;
  max-width: 400px;
  height: auto;
}

#air-4dx .lead {
  padding: 10px 0;
  font-size: 32px;
  color: #fff;
  text-align: center;
}

#air-4dx .lead.high {
  background-color: #1F4DA0;
}

#air-4dx .lead.low {
  background-color: #D7053D;
}

#air-4dx .img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto 0;
}

#air-4dx .img+.paragraph {
  margin-top: 20px;
}

#air-4dx .paragraph {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 0 20px;
  font-size: 20px;
  line-height: 2;
}

#air-4dx .flex-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

#air-4dx .flex-item {
  padding: 10px;
}

#air-4dx .feature {
  display: flex;
  margin-top: 10px;
}

#air-4dx .feature-contents {
  width: 100%;
  padding: 40px 60px;
  background-color: #D9D9DA;
}

#air-4dx .feature-title {
  font-size: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  border-left: none;
  color: #231815;
}

#air-4dx h4 {
  margin: 0 0 20px;
}

#air-4dx .feature-contents p {
  font-size: 16px;
  color: #231815;
}

#air-4dx .feature-title span {
  margin-right: 10px;
  font-size: 1.2em;
  color: #CA0238;
  font-weight: bold;
}

#air-4dx .feature-image {
  max-width: 45%;
}

#air-4dx .feature-image img {
  height: 100%;
}

#air-4dx .feature-detail {
  display: flex;
  padding: 8px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

#air-4dx .feature-detail .support {
  width: 160px;
  padding: 10px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  text-align: center;
}

#air-4dx .feature-detail .support-text {
  margin-left: 10px;
  font-size: 14px;
  color: #231815;
}

#air-4dx .feature-text {
  max-width: 45%;
  padding: 30px 20px 10px;
  display: flex;
  align-items: center;
  background-color: #696765;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

#air-4dx .paragraph.red {
  color: #D7053D;
  padding: 0;
}

#air-4dx .pickup-bg {
  background: #F8F7F2;
  padding: 40px 40px 68px 40px;
}

#air-4dx .pickup-bg .title {
  font-size: 32px;
  margin-bottom: 32px;
}

#air-4dx ul {
  display: flex;
  justify-content: space-evenly;
  max-width: 856px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

#air-4dx li {
  position: relative;
  background: #fff;
  width: 384px;
  padding: 20px 16px;
  margin-bottom: 48px;
  border-radius: 12px;
  align-self: flex-start;
}

#air-4dx li:nth-child(odd) {
  margin-right: 20px;
}

#air-4dx li:nth-child(n+5) {
  margin-bottom: 0;
}

#air-4dx li img {
  position: absolute;
  left: -25px;
  bottom: -28px;
}

#air-4dx li .text-right {
  text-align: right;
}

#air-4dx .feature .neck {
  display: flex;
  margin-top: 25px;
  padding: 20px 0;
  border-top: 1px solid #848484;
  border-bottom: 1px solid #848484;
}

#air-4dx .feature .neck-p {
  justify-content: flex-start;
  width: 240px;
  padding: 17px 0;
  background-color: #848484;
  color: #FFF;
  text-align: center;
  font-size: 16px;
}

/* ==================================================
   枕の高さ別比較表 (PC用スタイル調整)
================================================== */
/* 1. 見出し（中央の30px黒下線デザイン） */
.block-goods-comment2 .block-goods-comparison h2,
.block-goods-comment2 .block-goods-comparison h3 {
  background: none;
  border: none;
  padding: 0 0 15px 0;
  margin: 30px 0 20px 0;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #333333;
  line-height: 1.4;
  position: relative;
}

/* アイコン(::before)のみ非表示 */
.block-goods-comment2 .block-goods-comparison h2::before,
.block-goods-comment2 .block-goods-comparison h3::before {
  display: none;
}

/* 中央の30px黒下線(::after) */
.block-goods-comment2 .block-goods-comparison h2::after,
.block-goods-comment2 .block-goods-comparison h3::after {
  content: '';
  width: 30px;
  height: 2px;
  display: inline-block;
  background-color: #000;
  position: absolute;
  bottom: 2px;
  left: calc(50% - 15px);
}

/* 2. ポイントエリア（白背景） */
.block-goods-comment2 .block-goods-comparison .comparison-point {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 25px;
}

/* 3. テーブルタイトルの下線と下余白 */
.block-goods-comment2 .block-goods-comparison .table-high-title,
.block-goods-comment2 .block-goods-comparison .table-low-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.block-goods-comment2 .block-goods-comparison .table-high-title::after,
.block-goods-comment2 .block-goods-comparison .table-low-title::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #c1c0c0;
}

/* 4. テーブル項目・内容の縦中央揃え（復元部分） */
.block-goods-comment2 .block-goods-comparison table th,
.block-goods-comment2 .block-goods-comparison table td {
  vertical-align: middle;
}

.block-goods-comment2 .block-goods-comparison table td > div,
.block-goods-comment2 .block-goods-comparison table th > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

/* 5. スムーススクロール */
html {
  scroll-behavior: smooth;
}