@charset "utf-8";
/* ------ 出典・参照元（外部リンク） ------ */
.is-style-citation, .is-style-reference-site {
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  margin-bottom: 30px;
  padding: 20px;
}
.is-style-citation .citation-title, .is-style-reference-site .reference-site-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 5px;
}
.post-content .is-style-citation ul, .post-content .is-style-reference-site ul {
  list-style: square outside;
  padding-left: 25px;
  margin-bottom: 0;
}
.post-content .is-style-citation li p, .post-content .is-style-reference-site li p {
  margin: 0;
  padding: 0;
}

/* ------ 関連記事（内部リンク） ------ */
.is-style-related-links {
  font-size: 0.875rem;
  color: var(--color-text);
  background: var(--color-bg);
  margin-bottom: 30px;
  padding: 20px;
}

.is-style-related-links .related-links-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 5px;
}

.post-content .is-style-related-links ul {
  list-style: square outside;
  padding: 0 0 0 25px;
  margin-bottom: 0;
}

.post-content .is-style-related-links li p {
  margin: 0;
  padding: 0;
}

/* ==============================
  公開ページ：テーブル共通
============================== */
:where(#post-container) {
  .post-content {
    .wp-block-table {
      thead {
	    border-bottom: 0;
	  
        th {
		  border: 1px solid var(--color-accent);
		  border-right: 1px solid var(--color-surface);
		
		  &:last-child { border-right: 1px solid var(--color-accent);}
	    }
      }
      tbody {
	    td {
		  background: rgba(10,186,181,0.1);
		  border: 1px solid var(--color-accent);
	    }
      }
      @media (max-width: 430px) {
	    & { font-size: 0.875rem; }
      }
    }
  }
}

/* ==============================
  公開ページ：テーブル横スクロール案内
  実際に横スクロールがある時だけ表示
============================== */

.post-content figure.wp-block-table,
.post-content .wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ==============================
  公開ページ：テーブル横スクロール案内
  レイアウトずれ防止版
============================== */

.post-content figure.wp-block-table,
.post-content .wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* 常に高さを確保する */
.post-content figure.wp-block-table::before,
.post-content .wp-block-table::before {
  content: "← 横にスクロールできます →";
  display: inline-block;
  min-height: 1.4em;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #666;
  background: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 0 8px;
  white-space: nowrap;

  /* 初期状態は透明。高さは残す */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* 横スクロール可能で、まだ右に続きがある時だけ見せる */
.post-content figure.wp-block-table.cbs-can-scroll-right::before,
.post-content .wp-block-table.cbs-can-scroll-right::before {
  visibility: visible;
  opacity: 1;
}

/* PCでは完全に非表示 */
@media (min-width: 768px) {
  .post-content figure.wp-block-table::before,
  .post-content .wp-block-table::before {
    display: none;
  }
}

/* PCでは案内を非表示 */
@media (min-width: 768px) {
  .post-content figure.wp-block-table.cbs-can-scroll-right::before,
  .post-content .wp-block-table.cbs-can-scroll-right::before {
    display: none;
  }
}

.post-content figure.wp-block-table table,
.post-content .wp-block-table table {
  width: max-content !important;
  min-width: 100%;
  table-layout: auto !important;
  border-collapse: collapse;
}

.post-content figure.wp-block-table.is-style-comparison-table table,
.post-content .wp-block-table.is-style-comparison-table table {
  min-width: 720px !important;
}

.post-content figure.wp-block-table.is-style-info-table table,
.post-content .wp-block-table.is-style-info-table table {
  min-width: 520px !important;
}
/* ==============================
  公開ページ：FAQ
============================== */

.post-content .cbs-faq-question {
  position: relative;
  display: block;
  max-width: 100%;
  font-weight: 700;
  padding-left: 2.5rem;
  border-bottom: 0;
}

.post-content .cbs-faq-question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0099FF;
  color: #fff;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 430px) {
  .post-content .cbs-faq-question::before {
	top: -6px;
  }
}

.post-content .cbs-faq-answer {
  position: relative;
  display: block;
  max-width: 100%;
  border-top: none;
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  padding-left: 2.5rem;
}

.post-content .cbs-faq-answer::before {
  content: "A";
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F88379;
  color: #fff;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  font-weight: 700;
}

/* ==============================
  公開ページ：体験談・お客様の声
  - quote版
  - group版
  - 自動整形 paragraph版
============================== */

/* ------------------------------
  quote / group 共通
------------------------------ */

.post-content .wp-block-quote.is-style-experience,
.post-content .wp-block-quote.is-style-customer-voice,
.post-content .wp-block-group.is-style-experience,
.post-content .wp-block-group.is-style-customer-voice {
  position: relative;
  max-width: 100%;
  border-radius: 6px;
  padding: 48px 20px 20px;
  margin: 24px 0;
  box-sizing: border-box;
  font-style: normal;
  overflow-wrap: anywhere;
}

.post-content .wp-block-quote.is-style-experience p,
.post-content .wp-block-quote.is-style-customer-voice p,
.post-content .wp-block-group.is-style-experience p,
.post-content .wp-block-group.is-style-customer-voice p {
  margin-top: 0;
  margin-bottom: 0.85em;
  line-height: 1.9;
  font-style: normal;
}

.post-content .wp-block-quote.is-style-experience p:last-child,
.post-content .wp-block-quote.is-style-customer-voice p:last-child,
.post-content .wp-block-group.is-style-experience p:last-child,
.post-content .wp-block-group.is-style-customer-voice p:last-child {
  margin-bottom: 0;
}

.post-content .wp-block-quote.is-style-experience::before,
.post-content .wp-block-quote.is-style-customer-voice::before,
.post-content .wp-block-group.is-style-experience::before,
.post-content .wp-block-group.is-style-customer-voice::before {
  position: absolute;
  top: 14px;
  left: 20px;
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}

/* quote / group：体験談 */
.post-content .wp-block-quote.is-style-experience,
.post-content .wp-block-group.is-style-experience {
  background: #fffaf0;
  border: 1px solid #f0d9a5;
  border-left: 5px solid #e0a530;
}

.post-content .wp-block-quote.is-style-experience::before,
.post-content .wp-block-group.is-style-experience::before {
  content: "体験談";
  background: #e0a530;
}

/* quote / group：お客様の声 */
.post-content .wp-block-quote.is-style-customer-voice,
.post-content .wp-block-group.is-style-customer-voice {
  background: #f4fbf7;
  border: 1px solid #bfe4cc;
  border-left: 5px solid #3ca267;
}

.post-content .wp-block-quote.is-style-customer-voice::before,
.post-content .wp-block-group.is-style-customer-voice::before {
  content: "お客様の声";
  background: #3ca267;
}

/* ------------------------------
  自動整形 paragraph版 共通
------------------------------ */

.post-content .cbs-experience-block,
.post-content .cbs-customer-voice-block {
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 20px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.9;
  font-style: normal;
  overflow-wrap: anywhere;
}

/* paragraph版：体験談 */
.post-content .cbs-experience-block {
  background: #fffaf0;
  border-left: 5px solid #e0a530;
  border-right: 1px solid #f0d9a5;
}

/* paragraph版：お客様の声 */
.post-content .cbs-customer-voice-block {
  background: #f4fbf7;
  border-left: 5px solid #3ca267;
  border-right: 1px solid #bfe4cc;
}

/* paragraph版：最初の段落 */
.post-content .cbs-experience-first,
.post-content .cbs-customer-voice-first {
  padding-top: 48px;
  border-top: 1px solid;
  border-radius: 6px 6px 0 0;
  margin-top: 24px;
}

/* paragraph版：最後の段落 */
.post-content .cbs-experience-last,
.post-content .cbs-customer-voice-last {
  padding-bottom: 18px;
  border-bottom: 1px solid;
  border-radius: 0 0 6px 6px;
  margin-bottom: 24px;
}

/* paragraph版：1段落だけの場合 */
.post-content .cbs-experience-first.cbs-experience-last,
.post-content .cbs-customer-voice-first.cbs-customer-voice-last {
  border-radius: 6px;
}

/* paragraph版：体験談の上下罫線 */
.post-content .cbs-experience-first {
  border-top-color: #f0d9a5;
}

.post-content .cbs-experience-last {
  border-bottom-color: #f0d9a5;
}

/* paragraph版：お客様の声の上下罫線 */
.post-content .cbs-customer-voice-first {
  border-top-color: #bfe4cc;
}

.post-content .cbs-customer-voice-last {
  border-bottom-color: #bfe4cc;
}

/* paragraph版：ラベル */
.post-content .cbs-experience-first::before,
.post-content .cbs-customer-voice-first::before {
  position: absolute;
  top: 14px;
  left: 20px;
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}

/* paragraph版：体験談ラベル */
.post-content .cbs-experience-first::before {
  content: "体験談";
  background: #e0a530;
}

/* paragraph版：お客様の声ラベル */
.post-content .cbs-customer-voice-first::before {
  content: "お客様の声";
  background: #3ca267;
}

/* 体験談・お客様の声：マーカー専用段落は非表示 */
.post-content .cbs-voice-marker-hidden {
  display: none !important;
}

/* ------------------------------
  あわせて読みたい・参考リンク
------------------------------ */
.cbs-related-section, .cbs-reference-section, .cbs-summary-section {
  background: var(--color-bg);
  padding: 20px 30px 18px;
  margin-bottom: 20px;
  
  h2 { font-size: 1.125rem; background: none; border: 0; padding: 0; margin-bottom: 15px; }
  p { margin-bottom: 0; }
  ul { margin-bottom: 0; padding: 0 0 0 20px; }
  li {
	margin-bottom: 5px;
	
	&:last-child {
      margin-bottom: 0;
	}
  }
  @media (max-width: 430px) {
	& {
	  padding-right: 15px;

      h2 { font-size: 1.0rem; }
      ul { padding: 0; }
      li { text-align: justify; }
    }
  }
}

/* ------------------------------
  目次
------------------------------ */

.auto-toc {
  background: var(--color-bg);
  padding: 20px;
  margin-bottom: 2.0rem;
  
  
  .auto-toc-title {
	text-align: center;
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 10px;
  }
  ol {
	padding: 0 10px 0 30px;
	margin-bottom: 0;
	line-height: 1.2;
	
	li { 
	  margin-bottom: 10px;
	  
	&:last-child{ margin-bottom: 0; }
	}
  }
  
  @media (max-width: 430px) {
	& {
	  
      ol {
	    padding: 0 10px 0 20px;
	    
	    li { text-align: justify; }
	  }
    }
  }
}



.cbs-affiliate-ad img {
  max-width: 100%;
}












