@charset "UTF-8";

/* メイン画像＆導入文 */
.pl-fp__main {
    text-align: center !important;
    margin-bottom: 40px !important;
}

.pl-fp__main img {
    width: 100% !important;
    object-fit: cover !important;
    margin-bottom: 20px !important; /* 画像と導入文の間に余白を追加 */
}

.pl-fp a {
  color: #0073aa;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.pl-fp a:hover {
  color: #005a8c;
  text-decoration: none;
}

/* 目次のデザイン（PC/SP統一 & 左寄せ） */
.pl-fp__toc {
    background-color: #f8f8f8 !important;
    padding: 10px 15px !important; /* 余白を縮小 */
    margin-bottom: 20px !important;
    display: block !important;
    border-radius: 8px !important;
}

.pl-fp__toc summary {
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    font-size: 16px !important;
    padding: 5px 10px !important; /* 目次枠内の余白を縮小 */
    border-radius: 5px !important;
    background: none !important;
    justify-content: flex-start !important;
}

.pl-fp__toc nav ul {
    list-style-type: none !important;
    padding-left: 24px !important; /* リストの左側に1.5文字分の余白を追加 */
    margin: 0 !important;
}

.pl-fp__toc nav ul li {
    padding-left: 1.5em !important;
    margin-bottom: 5px !important;
    position: relative !important;
}

.pl-fp__toc nav ul li::before {
    content: "\2022"; /* ビュレット（・）を追加 */
    color: #0073aa !important;
    font-weight: bold !important;
    display: inline-block !important;
    width: 1em !important;
    margin-left: -1.5em !important;
}

.pl-fp__toc nav ul li a {
    color: #0073aa;
    text-decoration: underline !important;
}

.soundproofingsheet-content {
    margin-bottom: 30px;
}

.underline-content span {
    background: linear-gradient(transparent 60%, #fabe01 0);
}

/* PCはデフォルトオープン、SPはデフォルトクローズ */
@media (max-width: 767px) {
    .pl-fp__toc {
        display: block !important; /* 非表示を解除 */
    }
    .pl-fp__toc[open] nav {
        display: block !important;
    }
}

/* 見出しのデザイン（競合を防ぐ） */
h2 {
    font-size: 20px !important;
    font-weight: bold !important;
    border-left: 5px solid #fdd762 !important;
    padding-left: 10px !important;
    margin-top: 60px !important;
    margin-bottom: 20px !important;
    display: flex;
    flex-direction: column;
}

h2 span {
    font-size: 16px !important;
    color: #666 !important;
    font-weight: bold !important;
}

.sub-title {
    display: block; /* 改行を適用 */
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin-top: 5px;
}

h3 {
    font-size: 18px !important;
    font-weight: bold !important;
    border-bottom: 2px solid #fdd762 !important;
    padding-bottom: 5px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

h4 {
    font-size: 18px !important;
    margin-top: 20px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

/* 独自デザイン：特定の h2 ～ h4 用 */
.custom-heading-h2 {
  font-size: 24px;
  font-weight: bold;
  border-left: 5px solid #fdd762;
  padding: 12px 0 12px 15px; /* 上下12px, 左15px */
  margin-top: 60px;
  margin-bottom: 30px;
  background-color: #fffaf4;
  line-height: 1.4;
}

.custom-heading-h3 {
  font-size: 22px;
  font-weight: bold;
  border-bottom: 3px dashed #fdd762;
  margin-top: 50px;
  margin-bottom: 20px;
  padding: 10px 0 5px 0;
  position: relative;
  padding-left: 20px; /* ●とテキストの間に余白を作る */
}

.custom-heading-h3::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fdd762;
  font-size: 18px;
  line-height: 1;
}

.custom-heading-h4 {
  font-size: 20px;
  font-weight: bold;
  border-left: 5px solid #fcea97;
  padding: 10px 0 10px 10px; /* 上下8px, 左10px */
  margin-top: 50px;
  margin-bottom: 30px;
  background-color: #f7f7f7;
}


.custom-itemlist {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 25px !important;
    justify-content: flex-start; /* 中央ではなく左寄せ */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.custom-itemlist .item {
    display: flex;
    align-items: flex-start; /* 上揃え */
    width: calc(50% - 15px);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
    gap: 20px; /* 画像とテキストの余白 */
    box-sizing: border-box;
}

/* 画像側：固定サイズを明示 */
.custom-itemlist img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* テキスト側 */
.custom-itemlist .item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-itemlist .item-content h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    word-break: break-word; /* 長い語の折り返し対策 */
}

.custom-itemlist .item-content p {
    font-size: 14px;
    margin-bottom: 10px;
    word-break: break-word; /* 長い語の折り返し対策 */
}

.custom-itemlist .item-content .detail-button {
    width: 100%;
    padding: 10px;
    display: block;
    margin-top: 5px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    background: #e84455;
    color: #fff !important;
    border-radius: 6px;
}

.custom-itemlist .item-content .detail-button:hover {
    background-color: #c9302c;
}

@media (max-width: 767px) {
  .custom-itemlist {
    justify-content: flex-start !important;
  }

  .custom-itemlist .item {
    width: calc(50% - 15px); /* スマホでも2列 */
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 0; /* ← gapを一度リセットするのが重要 */
  }

  /* 画像を中央揃え＆下余白追加 */
  .custom-itemlist img {
    margin-bottom: 5px; /* 必要に応じて調整、例：10px */
  }

  /* テキストとボタンを中央揃えに */
  .custom-itemlist .item-content {
    margin-top: 0px; /* 念のため明示 */
    padding-top: 0;
    align-items: center;
  }

  /* スマホ用フォントサイズ調整 */
  .custom-itemlist .item-content h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .custom-itemlist .item-content p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  /* ボタンサイズ制限（中央寄せ維持） */
  .custom-itemlist .item-content .detail-button {
    width: 100%;
    max-width: 200px;
    font-size: 15px;
    font-weight: bold;
  }
}


/* #knowledge <ul> のデザインを調整 */
#knowledge ul {
    padding: 15px 20px !important; /* 上下左右に余白を追加 */
}

/* <li> のデザイン */
#knowledge ul li {
    margin: 10px 0 !important; /* 各項目の上下に余白 */
    line-height: 1.6 !important; /* 行間を広げて見やすく */
}

/* 下階層の <ul> のデザイン */
#knowledge ul ul {
    margin-top: 5px !important; /* 上のリストとの間隔 */
    padding-left: 20px !important; /* 左に余白を作る */
    border-left: 3px solid #ccc !important; /* サイドに目立たせるライン */
}

/* 下階層の <li> のデザイン */
#knowledge ul ul li {
    font-size: 0.95em !important; /* 少し小さめの文字サイズ */
    color: #666 !important; /* テキストの色を薄めに */
}


/* ケーススタディ全体の設定 */
.case-study-swiper .swiper-slide {
  width: 100% !important;
  max-width: 800px; /* 好みに応じて調整可能 */
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}

.case-study-swiper {
  padding: 0 10px;
}

.case-study-swiper .swiper-wrapper {
    justify-content: center;
  }

.case-study {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.review-heading {
  transition: opacity 0.3s ease;
  margin-top: 40px;
}

.swiper-pagination {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* ケーススタディのコンテンツ部分（画像＋テキスト） */
.case-study-content {
  display: flex;
  flex-direction: row !important; /* 画像を左、テキストを右 */
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  margin: 20px 0 30px 0
}

.case-study-text .content-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  border-left: 4px solid #f0c000; /* 強調ライン */
  padding-left: 10px;
  line-height: 1.4;
}

/* 2025-06-13 */
@media (max-width: 767px) {
  
  .case-study-content {
    display: block;
  }
}

/* 画像部分 */
.case-study-img {
    width: 50%;
    text-align: left;
}

.case-study-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* h3と対策したい音のデザイン調整 */
.case-study h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
}

.case-study .content-title {
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* テキスト部分 */
.case-study-text {
    flex: 1; /* テキストエリアを柔軟に伸ばす */
}

/* テキストリストのデザイン */
.case-study-text ul {
    padding-left: 20px;
    margin-top: 15px;
}

.case-study-text ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.swiper-button-prev,
.swiper-button-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  margin-top: 0 !important;
  z-index: 10;
}


/* スマホ時の画像とテキストの順番と余白を明確に */
@media (max-width: 767px) {

  .case-study-swiper .swiper-slide {
    width: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .swiper-slide .case-study-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }

  .swiper-button-prev {
     left: 10px !important;
  }
   .swiper-button-next {
     right: 10px !important;
  }

  .swiper-pagination {
    margin-top: 10px !important;
  }

  .case-study-img {
    width: 100% !important;
    text-align: center !important;
  }

  .case-study-img img {
    display: block;
    margin: 0 auto;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  .case-study-text {
    width: 100% !important;
    text-align: left !important;
  }
}


/* 比較表の上に余白を追加 */
.list_move {
    margin-top: 50px !important;
}


/* スクロール用css */

.scroll-hint-icon-wrap {
    z-index: 10;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    animation: blink 1.2s infinite;
  }

  .scroll-hint-text {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  /* スクロール-PCでは非表示、SPでは表示する設定 */
  @media (min-width: 768px) {
    .scroll-hint-icon-wrap,
    .scroll-hint-text {
      display: none !important;
    }
  }

  /* SP専用：スクロールヒント強制表示 */
@media (max-width: 767px) {
  .scroll-hint-icon-wrap {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    z-index: 999 !important;
    animation: blink 1.2s infinite !important;
    pointer-events: none;
  }

  .scroll-hint-text {
    display: inline-block !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .ranking-container {
    position: relative !important;
  }
}


/* よくある質問（PC/SP統一 & 右端の▼削除） */
.pl-fp__faq details {
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
    background: #f9f9f9 !important;
    display: flex !important;
    flex-direction: column !important;
}

.pl-fp__faq details summary {
    cursor: pointer !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.pl-fp__faq details summary::before {
    content: "Q" !important;
    background: #0073aa !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    width: 25px !important;
    height: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    font-size: 14px !important;
}

.pl-fp__faq details p::before {
    content: "A" !important;
    background: #F54D4D !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    width: 25px !important;
    height: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    font-size: 14px !important;
}

.pl-fp__faq details summary::after {
    display: none !important; /* 右端の▼削除 */
}

.pl-fp__faq details p {
    margin-top: 10px !important; /* 回答との間に余白を追加 */
}
.pl-fp__faq details p::before {
    content: "A" !important;
    background: #F54D4D !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
}

/* おすすめアイテムのレイアウト調整 */
.cont_unit {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px !important;
  justify-content: space-between;
}

/* PC・スマホ共に横2列表示 */
.cont_unit .itemlist,
.cont_unit > div {
  width: calc(50% - 10px); /* 2列表示 */
  text-align: center;
  box-sizing: border-box;
}

.cont_unit img {
  max-width: 100%;
  height: auto;
}

.cont_unit .name {
  font-size: 16px;
  margin: 10px 0;
  font-weight: bold;
}

/* カートエリアの調整 */
.cart_area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.cart_area > div {
  width: calc(50% - 10px);
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  text-align: center;
  box-sizing: border-box;
}

.cart_area select {
  max-width: 80%;
  font-size: 14px;
  padding: 8px;
}

/* ボタンと価格の統一 */
.cart_area strong {
  color: #F54D4D;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

/* ボタンのデザイン調整 */
.cart_area button,
.detail-button {
  width: 100%; /* 幅いっぱい */
  max-width: 100%;
  padding: 12px;
  font-size: 16px;
  text-align: center;
  display: block;
  border-radius: 8px;
}

.cart_area button {
  background-color: #ff6600;
  color: #fff;
  border: none;
  cursor: pointer;
}

.cart_area button:hover {
  background-color: #e65c00;
}

.detail-button {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  text-decoration: none;
}

.detail-button:hover {
  background-color: #e0e0e0;
}

/* ラジオボタン「了承した」 */
.cart_area input[type="radio"] {
  display: flex;
  justify-content: center;
  margin: auto;
}

/* スマホ対応（768px以下も2列のまま） */
@media (max-width: 768px) {
/* スマホでも横2列を維持 */
.cont_unit .itemlist,
.cont_unit > div {
  width: calc(50% - 10px);
}
}

/* お問い合わせ（foot-act-cover）以降の h2 のデザインをリセット */
.foot-act-cover h2 {
    border-left: none !important;
    padding-left: 0 !important;
}

/* レビュースライド調整 20250530 */
.swiper-selector-area {
  margin-top: 10px;
}

.swiper-selector-content {
  margin-top: 10px;
}

.swiper-slide {
  padding: 40px;
  box-sizing: border-box;
  min-height: 250px;
}

.review-card p {
  line-height: 1.7;
  flex-grow: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
}

@media (max-width: 767px) {
  .swiper-slide {
    padding: 25px;
  }

  .review-card p {
    font-size: 1em;
  }
}