/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

p.imadake {
    text-align: center;
}

/* ==================================================
   岸本販促企画事務所：共通カラー
================================================== */
:root {
  --kp-navy: #0B3348;
  --kp-blue: #274E6E;
  --kp-gold: #B89245;
  --kp-ivory: #F8F5EF;
  --kp-border: #E4DDD2;
  --kp-text: #333333;
}


/* ==================================================
   基本フォント・本文設定
================================================== */
body,
html,
.entry-content,
p {
  font-family: "游ゴシック体", "Yu Gothic", "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
}


/* ==================================================
   共通コンテナ幅
   - kp-wide-container：サービス・料金・カード系
   - kp-container：会社案内・2カラム系
   - kp-text-container：文章中心エリア
================================================== */
.kp-wide-container {
  max-width: 1180px;
  width: min(100% - 40px, 1180px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.kp-container {
  max-width: 1000px;
  width: min(100% - 40px, 1000px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.kp-text-container {
  max-width: 800px;
  width: min(100% - 40px, 800px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}


/* ==================================================
   文章エリア内の画像左寄せ
   kp-text-container 内に入れた画像を本文左端に揃える
================================================== */
.kp-text-container .wp-block-image {
  text-align: left !important;
}

.kp-text-container .wp-block-image img {
  margin-left: 0 !important;
  margin-right: auto !important;
}


/* ==================================================
   セクション見出し
   H2 + 英字小見出しの余白調整
   例：サービス案内 / Service
================================================== */
.kp-section-en {
  color: var(--kp-gold);
  text-align: center;
  margin-top: 0;
}

.wp-block-group.is-vertical.is-content-justification-center.is-layout-flex:has(> h2.wp-block-heading + p) {
  gap: 4px !important;
}


/* ==================================================
   セクションリード文
================================================== */
.kp-section-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}


/* ==================================================
   特定ページ：フッターCTA非表示
   page-id-6565 のみフッターウィジェットを非表示
================================================== */
.page-id-6565 .footer-widget-area {
  display: none;
}


/* ==================================================
   スマホ時の見出し折り返し対策
   VKパターン内の text-nowrap によるはみ出し防止
================================================== */
@media (max-width: 767px) {
  .wp-block-heading .text-nowrap,
  .wp-block-heading.text-nowrap {
    white-space: normal !important;
  }
}


/* ==================================================
   選ばれる理由 6カード
================================================== */
.kp-reason-section {
  background: var(--kp-ivory);
}

.kp-reason-card {
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kp-reason-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.kp-reason-title {
  color: var(--kp-navy);
  font-size: 21px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 66px;
}

.kp-reason-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
  min-height: 84px;
}

.kp-reason-img {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 20px;
}

.kp-reason-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


/* ==================================================
   選ばれる理由 6カード：スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-reason-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-reason-card {
    padding: 24px 20px !important;
  }

  .kp-reason-number {
    font-size: 30px;
  }

  .kp-reason-title {
    font-size: 20px;
    min-height: 0;
  }

  .kp-reason-text {
    font-size: 15px;
    min-height: 0;
  }
}


/* ==================================================
   ホームページ制作ページ：大切にしていること 3カード
================================================== */
.kp-approach-section {
  background: var(--kp-ivory);
}

.kp-approach-card {
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kp-approach-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.kp-approach-title {
  color: var(--kp-navy);
  font-size: 21px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 66px;
}

.kp-approach-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
  min-height: 112px;
}

.kp-approach-img {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 20px;
}

.kp-approach-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


/* ==================================================
   ホームページ制作ページ：大切にしていること 3カード スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-approach-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-approach-card {
    padding: 24px 20px !important;
  }

  .kp-approach-number {
    font-size: 30px;
  }

  .kp-approach-title {
    font-size: 20px;
    min-height: 0;
  }

  .kp-approach-text {
    font-size: 15px;
    min-height: 0;
  }
}


/* ==================================================
   ホームページ制作ページ：料金表
================================================== */
.kp-price-section {
  background: var(--kp-ivory);
}

.kp-price-grid {
  align-items: stretch;
}

.kp-price-card {
  position: relative;
  height: 100%;
  padding: 32px 28px 30px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  display: flex;
  flex-direction: column;
}

.kp-price-card-featured {
  position: relative;
  border: 2px solid var(--kp-gold);
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.1);
}

/* おすすめラベル：カード右上に小さく表示 */
.kp-price-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-block;
  background: var(--kp-gold);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0;
  z-index: 2;
}

.kp-price-label {
  color: var(--kp-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kp-price-title {
  color: var(--kp-navy);
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.kp-price-desc {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  min-height: 52px;
  margin: 0 0 22px;
}

.kp-price-amount {
  color: var(--kp-navy);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.kp-price-amount span {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.kp-price-note {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
  margin: 10px 0 22px;
}

.kp-price-list {
  border-top: 1px solid var(--kp-border);
  padding-top: 22px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.kp-price-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 11px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-price-caption {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 44px !important;
  margin-bottom: 24px;
}


/* ==================================================
   ホームページ制作ページ：料金表 スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-price-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-price-card {
    padding: 28px 22px 26px;
  }

  .kp-price-title {
    font-size: 21px;
  }

  .kp-price-desc,
  .kp-price-note {
    min-height: 0;
  }

  .kp-price-amount {
    font-size: 34px;
  }

  .kp-price-badge {
    top: 12px;
    right: 14px;
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ==================================================
   トップページ：SEOと実践経験を活かしたWeb制作
================================================== */

.kp-strength-section {
  background: #FFFFFF;
}

.kp-strength-grid {
  align-items: stretch;
}

.kp-strength-card {
  height: 100%;
  padding: 30px 28px;
  background: #FFFFFF;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
}

.kp-strength-number {
  color: var(--kp-gold);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.kp-strength-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
}

.kp-strength-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}

@media (max-width: 781px) {
  .kp-strength-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-strength-card {
    padding: 24px 20px;
  }

  .kp-strength-number {
    font-size: 30px;
  }

  .kp-strength-title {
    font-size: 19px;
  }
}

/* ==================================================
   トップページ：料金の目安
================================================== */
.kp-top-price-section {
  background: var(--kp-ivory);
}

.kp-top-price-grid {
  align-items: stretch;
}

.kp-top-price-card {
  height: 100%;
  padding: 32px 28px 30px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  display: flex;
  flex-direction: column;
}

.kp-top-price-label {
  color: var(--kp-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kp-top-price-title {
  color: var(--kp-navy);
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.kp-top-price-desc {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  min-height: 52px;
  margin: 0 0 14px;
}

.kp-top-price-note {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
  margin: 0 0 12px;
}

.kp-top-price-amount {
  color: var(--kp-navy);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

.kp-top-price-amount span {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.kp-top-price-list {
  border-top: 1px solid var(--kp-border);
  padding-top: 22px;
  margin-top: auto;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.kp-top-price-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 11px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-top-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-top-price-caption {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 44px !important;
  margin-bottom: 24px;
}


/* ==================================================
   トップページ：料金の目安 スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-top-price-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-top-price-card {
    padding: 28px 22px 26px;
  }

  .kp-top-price-title {
    font-size: 21px;
  }

  .kp-top-price-desc,
  .kp-top-price-note {
    min-height: 0;
  }

  .kp-top-price-amount {
    font-size: 34px;
  }
}

/* ==================================================
   トップページ：サービス案内
================================================== */
.kp-service-section {
  background: #FFFFFF;
}

.kp-service-grid {
  align-items: stretch;
}

.kp-service-card {
  position: relative;
  height: 100%;
  padding: 0 26px 30px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kp-service-img {
  margin-left: -26px;
  margin-right: -26px;
  margin-bottom: 24px;
}

.kp-service-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.kp-service-number {
  color: var(--kp-gold);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.kp-service-label {
  color: var(--kp-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kp-service-title {
  color: var(--kp-navy);
  font-size: 21px;
  line-height: 1.5;
  margin: 0 0 14px;
  min-height: 64px;
}

.kp-service-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  min-height: 112px;
  margin: 0 0 18px;
}

.kp-service-list {
  border-top: 1px solid var(--kp-border);
  padding-top: 20px;
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}

.kp-service-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-service-card .vk_button {
  margin-top: auto;
}


/* ==================================================
   トップページ：サービス案内 スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-service-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-service-card {
    padding: 0 20px 26px;
  }

  .kp-service-img {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 22px;
  }

  .kp-service-number {
    font-size: 30px;
  }

  .kp-service-title {
    font-size: 20px;
    min-height: 0;
  }

  .kp-service-text {
    min-height: 0;
  }
}

/* トップページ：強みセクションからサービス案内への余白調整 */
.kp-strength-section {
  padding-bottom: 56px !important;
}

.kp-service-section {
  padding-top: 48px !important;
}

/* ==================================================
   トップページ：強みセクション → サービス案内の余白調整
================================================== */

.kp-strength-section {
  padding-bottom: 48px !important;
}

.kp-service-section {
  padding-top: 48px !important;
}


/* スマホではさらに詰める */
@media (max-width: 781px) {
  .kp-strength-section {
    padding-bottom: 32px !important;
  }

  .kp-service-section {
    padding-top: 32px !important;
  }
}

@media (max-width: 781px) {
  .kp-strength-section {
    padding-bottom: 24px !important;
  }

  .kp-service-section {
    padding-top: 28px !important;
  }
}

/* ==================================================
   トップページ：会社案内
================================================== */
.kp-company-section {
  background: #FFFFFF;
}

.kp-company-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
}

.kp-company-img {
  margin: 0;
}

.kp-company-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.kp-company-en {
  text-align: left;
}

.kp-company-title {
  color: var(--kp-navy);
  font-size: 24px;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 18px;
}

.kp-company-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.kp-company-points {
  gap: 10px !important;
  margin-top: 22px;
  margin-bottom: 34px;
}

.kp-company-points p {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-company-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-company-card .vk_button {
  margin-top: 4px;
}


/* ==================================================
   トップページ：会社案内 スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-company-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-company-card {
    padding: 22px;
  }

  .kp-company-title {
    font-size: 21px;
  }

  .kp-company-en {
    text-align: center;
  }

  .kp-company-card h2 {
    text-align: center;
  }

  .kp-company-card .vk_button {
    text-align: center;
  }
}

/* 会社案内：本文側の揃えと余白調整 */
.kp-company-card .wp-block-column:nth-child(2),
.kp-company-title,
.kp-company-text,
.kp-company-points {
  text-align: left;
}

.kp-company-points {
  gap: 10px !important;
  margin-top: 22px;
  margin-bottom: 36px;
}

/* ==================================================
   固定ページ共通CTA
================================================== */
.kp-common-cta-section {
  background: var(--kp-ivory);
}

.kp-common-cta-card {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 40px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
  text-align: center;
}

.kp-common-cta-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-common-cta-title {
  color: var(--kp-navy);
  font-size: 28px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 18px;
}

.kp-common-cta-text {
  color: var(--kp-text);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.kp-common-cta-card .vk_button {
  margin-top: 0;
}


/* ==================================================
   固定ページ共通CTA スマホ調整
================================================== */
@media (max-width: 781px) {
  .kp-common-cta-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-common-cta-card {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .kp-common-cta-title {
    font-size: 22px;
  }

  .kp-common-cta-text {
    font-size: 15px;
  }

  .pc-only {
    display: none;
  }
}

/* ==================================================
   ホームページ制作ページ：ヒーロー
================================================== */

.kp-hp-hero-section {
  background: #fff;
}

.kp-hp-hero-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-hp-hero-title {
  color: var(--kp-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 22px;
}

.kp-hp-hero-lead {
  color: var(--kp-text);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 26px;
}

.kp-hp-hero-points {
  gap: 9px !important;
  margin-bottom: 30px;
}

.kp-hp-hero-points p {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-hp-hero-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-hp-hero-img {
  margin: 0;
}

.kp-hp-hero-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
  display: block;
}

.kp-hp-hero-note {
  margin-top: 36px;
  color: var(--kp-navy);
  font-weight: 700;
  line-height: 1.8;
}

.kp-hp-hero-button .wp-block-button__link {
  background: var(--kp-navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.8em 1.4em;
  font-weight: 700;
  text-decoration: none;
}


/* ==================================================
   ホームページ制作ページ：ヒーロー スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-hp-hero-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-hp-hero-title {
    font-size: 30px;
  }

  .kp-hp-hero-lead {
    font-size: 16px;
  }

  .kp-hp-hero-img img {
    border-radius: 18px;
  }

  .kp-hp-hero-note {
    margin-top: 28px;
    font-size: 14px;
  }
}

/* ==================================================
   ホームページ制作ページ：お悩み
================================================== */

.kp-hp-worry-section {
  background: var(--kp-ivory);
}

.kp-hp-worry-grid {
  align-items: stretch;
}

.kp-hp-worry-card {
  height: 100%;
  padding: 30px 24px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-hp-worry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-hp-worry-title {
  color: var(--kp-navy);
  font-size: 19px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 12px;
  min-height: 60px;
}

.kp-hp-worry-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 0;
}


/* ==================================================
   ホームページ制作ページ：お悩み スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-hp-worry-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-hp-worry-card {
    padding: 26px 20px 24px;
  }

  .kp-hp-worry-title {
    font-size: 18px;
    min-height: 0;
  }

  .kp-hp-worry-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
}

/* ==================================================
   ホームページ制作ページ：SEO実践力
================================================== */

.kp-hp-seo-section {
  background: #fff;
}

.kp-hp-seo-grid {
  align-items: stretch;
}

.kp-hp-seo-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-hp-seo-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.kp-hp-seo-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-hp-seo-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}

.kp-hp-seo-message {
  max-width: 860px;
  padding: 30px 34px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 20px;
}

.kp-hp-seo-message p {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.kp-hp-seo-message p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   ホームページ制作ページ：SEO実践力 スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-hp-seo-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-hp-seo-card {
    padding: 26px 20px 24px;
  }

  .kp-hp-seo-number {
    font-size: 30px;
  }

  .kp-hp-seo-title {
    font-size: 19px;
    min-height: 0;
  }

  .kp-hp-seo-message {
    padding: 24px 20px;
  }
}

/* ==================================================
   ホームページ制作ページ：ホームページが担う3つの役割
================================================== */

.kp-hp-role-section {
  background: var(--kp-ivory);
}

.kp-hp-role-grid {
  align-items: stretch;
}

.kp-hp-role-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-hp-role-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.kp-hp-role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-hp-role-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-hp-role-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   ホームページ制作ページ：ホームページが担う3つの役割 スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-hp-role-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-hp-role-card {
    padding: 26px 20px 24px;
  }

  .kp-hp-role-number {
    font-size: 30px;
  }

  .kp-hp-role-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .kp-hp-role-title {
    font-size: 19px;
    min-height: 0;
  }
}

/* ==================================================
   ホームページ制作ページ：サービスの流れ
================================================== */

.kp-hp-flow-section {
  background: #fff;
}

.kp-hp-flow-grid {
  align-items: stretch;
}

.kp-hp-flow-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-hp-flow-step {
  display: inline-block;
  color: #fff;
  background: var(--kp-gold);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 999px;
  margin: 0 auto 18px;
}

.kp-hp-flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-hp-flow-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-hp-flow-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   ホームページ制作ページ：サービスの流れ スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-hp-flow-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-hp-flow-card {
    padding: 26px 20px 24px;
  }

  .kp-hp-flow-title {
    font-size: 19px;
    min-height: 0;
  }

  .kp-hp-flow-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
}

/* ==================================================
   サーバー移転ページ：ヒーロー
================================================== */

.kp-server-hero-section {
  background: #fff;
}

.kp-server-hero-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-server-hero-title {
  color: var(--kp-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 22px;
}

.kp-server-hero-lead {
  color: var(--kp-text);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 26px;
}

.kp-server-hero-points {
  gap: 9px !important;
  margin-bottom: 30px;
}

.kp-server-hero-points p {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-server-hero-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-server-hero-button .wp-block-button__link,
.kp-server-price-button .wp-block-button__link {
  background: var(--kp-navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.8em 1.4em;
  font-weight: 700;
  text-decoration: none;
}

.kp-server-hero-visual {
  padding: 48px 34px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
  text-align: center;
}

.kp-server-visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.kp-server-visual-title {
  color: var(--kp-navy);
  font-size: 23px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 16px;
}

.kp-server-visual-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   サーバー移転ページ：おすすめ・作業内容カード
================================================== */

.kp-server-worry-section,
.kp-server-work-section,
.kp-server-price-section {
  background: var(--kp-ivory);
}

.kp-server-worry-grid,
.kp-server-work-grid,
.kp-server-price-grid {
  align-items: stretch;
}

.kp-server-worry-card,
.kp-server-work-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-server-worry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-server-worry-title,
.kp-server-work-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-server-worry-text,
.kp-server-work-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}

.kp-server-work-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}


/* ==================================================
   サーバー移転ページ：301リダイレクト
================================================== */

.kp-server-redirect-section {
  background: #fff;
}

.kp-server-info-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 38px 40px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
}

.kp-server-info-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-server-info-title {
  color: var(--kp-navy);
  font-size: 26px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 18px;
}

.kp-server-info-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.kp-server-info-text:last-child {
  margin-bottom: 0;
}


/* ==================================================
   サーバー移転ページ：自分でもできる？
================================================== */

.kp-server-self-section {
  background: #fff;
}

.kp-server-self-visual {
  padding: 42px 30px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-server-self-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.kp-server-self-visual-title {
  color: var(--kp-navy);
  font-size: 22px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
}

.kp-server-self-visual-text,
.kp-server-self-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.kp-server-self-en {
  text-align: left;
}

.kp-server-self-points {
  gap: 9px !important;
  margin-top: 24px;
}

.kp-server-self-points p {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-server-self-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}


/* ==================================================
   サーバー移転ページ：料金表
================================================== */

.kp-server-price-card {
  position: relative;
  height: 100%;
  padding: 32px 28px 30px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  display: flex;
  flex-direction: column;
}

.kp-server-price-card-featured {
  position: relative;
  border: 2px solid var(--kp-gold);
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.1);
}

.kp-server-price-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-block;
  background: var(--kp-gold);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0;
  z-index: 2;
}

.kp-server-price-label {
  color: var(--kp-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.kp-server-price-title {
  color: var(--kp-navy);
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.kp-server-price-desc {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  min-height: 52px;
  margin: 0 0 22px;
}

.kp-server-price-amount {
  color: var(--kp-navy);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.kp-server-price-amount span {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.kp-server-price-note {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
  margin: 10px 0 22px;
}

.kp-server-price-list {
  border-top: 1px solid var(--kp-border);
  padding-top: 22px;
  margin-top: auto;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.kp-server-price-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 11px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-server-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-server-price-caption {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 44px !important;
  margin-bottom: 24px;
}


/* ==================================================
   サーバー移転ページ：スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-server-hero-section,
  .kp-server-worry-section,
  .kp-server-work-section,
  .kp-server-redirect-section,
  .kp-server-self-section,
  .kp-server-price-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-server-hero-title {
    font-size: 30px;
  }

  .kp-server-hero-lead {
    font-size: 16px;
  }

  .kp-server-hero-visual,
  .kp-server-self-visual,
  .kp-server-info-card {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .kp-server-worry-card,
  .kp-server-work-card,
  .kp-server-price-card {
    padding: 26px 20px 24px;
  }

  .kp-server-worry-title,
  .kp-server-work-title {
    font-size: 19px;
    min-height: 0;
  }

  .kp-server-price-title {
    font-size: 21px;
  }

  .kp-server-price-desc,
  .kp-server-price-note {
    min-height: 0;
  }

  .kp-server-price-amount {
    font-size: 34px;
  }

  .kp-server-price-badge {
    top: 12px;
    right: 14px;
    font-size: 11px;
    padding: 6px 10px;
  }

  .kp-server-self-en {
    text-align: center;
  }
}

/* ==================================================
   サーバー移転ページ：料金表 1カード版
================================================== */

.kp-server-price-single-wrap {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.kp-server-price-single-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.kp-server-price-single-card .kp-server-price-desc {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  min-height: 0;
}

.kp-server-price-single-card .kp-server-price-note {
  min-height: 0;
}

.kp-server-price-extra {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.05);
}

.kp-server-price-extra-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 18px;
}

.kp-server-price-extra-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.kp-server-price-extra-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-server-price-extra-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-server-price-extra-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 781px) {
  .kp-server-price-extra {
    padding: 24px 20px;
  }

  .kp-server-price-extra-title {
    font-size: 19px;
  }
}

/* ==================================================
   会社案内ページ：ヒーロー
================================================== */

.kp-company-page-hero-section {
  background: #fff;
}

.kp-company-page-hero-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-company-page-hero-title {
  color: var(--kp-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 22px;
}

.kp-company-page-hero-lead {
  color: var(--kp-text);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 26px;
}

.kp-company-page-hero-points {
  gap: 9px !important;
}

.kp-company-page-hero-points p {
  position: relative;
  margin: 0;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.7;
}

.kp-company-page-hero-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.kp-company-page-hero-card {
  padding: 48px 34px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
  text-align: center;
}

.kp-company-page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.kp-company-page-hero-card-title {
  color: var(--kp-navy);
  font-size: 23px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 16px;
}

.kp-company-page-hero-card-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   会社案内ページ：代表挨拶
================================================== */

.kp-company-greeting-section {
  background: var(--kp-ivory);
}

.kp-company-greeting-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 44px 46px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
}

.kp-company-greeting-text {
  color: var(--kp-text);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 18px;
}

.kp-company-greeting-sign {
  color: var(--kp-navy);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 0;
}


/* ==================================================
   会社案内ページ：大切にしていること
================================================== */

.kp-company-value-section {
  background: #fff;
}

.kp-company-value-grid {
  align-items: stretch;
}

.kp-company-value-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-company-value-number {
  color: var(--kp-gold);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.kp-company-value-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-company-value-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   会社案内ページ：対応できること
================================================== */

.kp-company-service-section {
  background: var(--kp-ivory);
}

.kp-company-service-grid {
  align-items: stretch;
}

.kp-company-service-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-company-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-company-service-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-company-service-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   会社案内ページ：会社概要
================================================== */

.kp-company-profile-section {
  background: #fff;
}

.kp-company-profile-card {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 34px 36px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
}

.kp-company-profile-table {
  margin: 0;
}

.kp-company-profile-table table {
  width: 100%;
  border-collapse: collapse;
}

.kp-company-profile-table td {
  border-bottom: 1px solid var(--kp-border);
  padding: 18px 16px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
}

.kp-company-profile-table tr:last-child td {
  border-bottom: none;
}

.kp-company-profile-table td:first-child {
  width: 28%;
  color: var(--kp-navy);
  font-weight: 700;
  background: var(--kp-ivory);
}


/* ==================================================
   会社案内ページ：スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-company-page-hero-section,
  .kp-company-greeting-section,
  .kp-company-value-section,
  .kp-company-service-section,
  .kp-company-profile-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-company-page-hero-title {
    font-size: 30px;
  }

  .kp-company-page-hero-lead {
    font-size: 16px;
  }

  .kp-company-page-hero-card,
  .kp-company-greeting-card,
  .kp-company-profile-card {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .kp-company-page-hero-card-title {
    font-size: 21px;
  }

  .kp-company-greeting-text {
    font-size: 15px;
    line-height: 1.9;
  }

  .kp-company-value-card,
  .kp-company-service-card {
    padding: 26px 20px 24px;
  }

  .kp-company-value-title,
  .kp-company-service-title {
    font-size: 19px;
    min-height: 0;
  }

  .kp-company-profile-table table,
  .kp-company-profile-table tbody,
  .kp-company-profile-table tr,
  .kp-company-profile-table td {
    display: block;
    width: 100%;
  }

  .kp-company-profile-table td {
    padding: 14px 14px;
  }

  .kp-company-profile-table td:first-child {
    width: 100%;
    border-bottom: none;
  }
}

/* ==================================================
   お問い合わせページ：ヒーロー
================================================== */

.kp-contact-hero-section {
  background: #fff;
}

.kp-contact-hero-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 52px 42px;
  background: var(--kp-ivory);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
  text-align: center;
}

.kp-contact-hero-label {
  color: var(--kp-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.kp-contact-hero-title {
  color: var(--kp-navy);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.45;
  margin-top: 0;
  margin-bottom: 18px;
}

.kp-contact-hero-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--kp-text);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   お問い合わせページ：相談できる内容
================================================== */

.kp-contact-service-section {
  background: var(--kp-ivory);
}

.kp-contact-service-grid {
  align-items: stretch;
}

.kp-contact-service-card {
  height: 100%;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  text-align: center;
}

.kp-contact-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.kp-contact-service-title {
  color: var(--kp-navy);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 14px;
  min-height: 64px;
}

.kp-contact-service-text {
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
}


/* ==================================================
   お問い合わせページ：フォーム
================================================== */

.kp-contact-form-section {
  background: #fff;
}

.kp-contact-form-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 44px 46px;
  background: #fff;
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
}

.kp-contact-form-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 34px;
}


/* Contact Form 7：フォーム見た目調整 */
.kp-contact-form-card .wpcf7 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.kp-contact-form-card .wpcf7 p {
  margin-bottom: 18px;
}

.kp-contact-form-card .wpcf7 label {
  color: var(--kp-navy);
  font-weight: 700;
  line-height: 1.8;
}

.kp-contact-form-card .wpcf7 input[type="text"],
.kp-contact-form-card .wpcf7 input[type="email"],
.kp-contact-form-card .wpcf7 input[type="tel"],
.kp-contact-form-card .wpcf7 input[type="url"],
.kp-contact-form-card .wpcf7 textarea,
.kp-contact-form-card .wpcf7 select {
  width: 100%;
  border: 1px solid var(--kp-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.kp-contact-form-card .wpcf7 textarea {
  min-height: 180px;
}

.kp-contact-form-card .wpcf7 input[type="submit"] {
  display: block;
  width: min(100%, 360px);
  margin: 28px auto 0;
  padding: 14px 24px;
  background: var(--kp-navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.kp-contact-form-card .wpcf7 input[type="submit"]:hover {
  opacity: 0.9;
}


/* ==================================================
   お問い合わせページ：スマホ調整
================================================== */

@media (max-width: 781px) {
  .kp-contact-hero-section,
  .kp-contact-service-section,
  .kp-contact-form-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .kp-contact-hero-card,
  .kp-contact-form-card {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .kp-contact-hero-title {
    font-size: 32px;
  }

  .kp-contact-hero-lead {
    font-size: 16px;
  }

  .kp-contact-service-card {
    padding: 26px 20px 24px;
  }

  .kp-contact-service-title {
    font-size: 19px;
    min-height: 0;
  }

  .kp-contact-form-card .wpcf7 textarea {
    min-height: 150px;
  }
}

/* ========================================
   CWS 吹き出しブロック
   名前はアイコンの下に表示する調整版
======================================== */

.cws-balloon {
  margin: 32px 0;
}

.cws-balloon .wp-block-columns {
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0;
}

.cws-balloon__icon {
  flex-basis: 92px !important;
  max-width: 92px;
  text-align: center;
}

.cws-balloon__image {
  margin: 0 0 8px;
  text-align: center;
}

.cws-balloon__image img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: #f7f3ea;
  border: 1px solid #e5dcc8;
  box-shadow: 0 6px 18px rgba(21, 38, 64, 0.08);
}

.cws-balloon__name {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1f3556;
  letter-spacing: 0.02em;
  text-align: center;
  word-break: break-word;
}

.cws-balloon__content {
  flex-basis: auto !important;
}

.cws-balloon__body {
  position: relative;
  margin: 2px 0 0;
  padding: 18px 20px;
  background: #fffdf8;
  border: 1px solid #e7ddc8;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(21, 38, 64, 0.07);
  color: #333;
  line-height: 1.85;
}

.cws-balloon__body::before {
  content: "";
  position: absolute;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #fffdf8;
  border-left: 1px solid #e7ddc8;
  border-bottom: 1px solid #e7ddc8;
}

/* 左アイコン */
.cws-balloon.is-left .cws-balloon__body::before {
  left: -8px;
  transform: rotate(45deg);
}

/* 右アイコン */
.cws-balloon.is-right .wp-block-columns {
  flex-direction: row-reverse;
}

.cws-balloon.is-right .cws-balloon__body {
  background: #f7fbff;
  border-color: #d8e5f2;
}

.cws-balloon.is-right .cws-balloon__body::before {
  right: -8px;
  background: #f7fbff;
  border-color: #d8e5f2;
  transform: rotate(-135deg);
}

/* ポイント・補足用 */
.cws-balloon.is-point .cws-balloon__body {
  background: #f8f4ea;
  border-color: #dfd1b5;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .cws-balloon {
    margin: 28px 0;
  }

  .cws-balloon .wp-block-columns {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap !important;
  }

  .cws-balloon__icon {
    flex-basis: 64px !important;
    max-width: 64px;
  }

  .cws-balloon__image {
    margin-bottom: 6px;
  }

  .cws-balloon__image img {
    width: 48px;
    height: 48px;
  }

  .cws-balloon__name {
    font-size: 0. सातrem;
    line-height: 1.4;
  }

  .cws-balloon__body {
    margin-top: 0;
    padding: 15px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.75;
  }
}


/* ========================================
   CWS コラム：アフィリエイトボタン
======================================== */

.cws-affiliate-buttons {
  margin-top: 16px;
  margin-bottom: 16px;
}

.cws-affiliate-button .wp-block-button__link {
  display: inline-block;
  padding: 14px 28px;
  background: #d94a38;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(217, 74, 56, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cws-affiliate-button .wp-block-button__link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .cws-affiliate-button .wp-block-button__link {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
    text-align: center;
  }

  .cws-affiliate-buttons {
    width: 100%;
  }

  .cws-affiliate-buttons .wp-block-button {
    width: 100%;
  }
}

/* ========================================
   CWS コラム：アフィリエイトボタン
======================================== */

.cws-affiliate-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
}

.cws-affiliate-buttons .wp-block-button {
  display: flex !important;
  justify-content: center !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cws-affiliate-button .wp-block-button__link {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  width: auto !important;
  min-width: 280px;
  max-width: 100%;
  padding: 14px 28px;
  background: #d94a38;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(217, 74, 56, 0.18);
}

@media (max-width: 767px) {
  .cws-affiliate-buttons {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cws-affiliate-buttons .wp-block-button {
    width: 100% !important;
  }

  .cws-affiliate-button .wp-block-button__link {
    width: 100% !important;
    min-width: 0;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}

.cws-affiliate-buttons a.wp-block-button__link.wp-element-button {
  display: inline-block !important;
  width: auto !important;
  min-width: 280px;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 14px 28px;
  background: #d94a38;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(217, 74, 56, 0.18);
}



/* ========================================
   共通：丸アイコンの位置調整
   Font Awesome の見た目ズレ補正

   対象：
   - ホームページ制作ページ お悩み
   - ホームページ制作ページ 3つの役割
   - ホームページ制作ページ サービスの流れ
   - サーバー移転ページ ヒーロー
   - サーバー移転ページ おすすめ
   - サーバー移転ページ 自分でもできる？
   - 会社案内ページ ヒーロー
   - 会社案内ページ 対応できること
   - お問い合わせページ 相談できる内容
======================================== */

.kp-hp-worry-icon,
.kp-hp-role-icon,
.kp-hp-flow-icon,
.kp-server-visual-icon,
.kp-server-worry-icon,
.kp-server-self-icon,
.kp-company-page-hero-icon,
.kp-company-service-icon,
.kp-contact-service-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Font Awesome 本体 */
.kp-hp-worry-icon i,
.kp-hp-role-icon i,
.kp-hp-flow-icon i,
.kp-server-visual-icon i,
.kp-server-worry-icon i,
.kp-server-self-icon i,
.kp-company-page-hero-icon i,
.kp-company-service-icon i,
.kp-contact-service-icon i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Font Awesome の疑似要素側を微調整 */
.kp-hp-worry-icon i::before,
.kp-hp-role-icon i::before,
.kp-hp-flow-icon i::before,
.kp-server-visual-icon i::before,
.kp-server-worry-icon i::before,
.kp-server-self-icon i::before,
.kp-company-page-hero-icon i::before,
.kp-company-service-icon i::before,
.kp-contact-service-icon i::before {
  display: block !important;
  line-height: 1 !important;
  transform: translateX(1px);
}

/* ==================================================
   CWS Web制作コラム：記事本文・画像・装飾ボックス追加
   Lightning .entry-body 対応版
================================================== */

/* --------------------------------------------------
   吹き出しCSSの文字化け補正
-------------------------------------------------- */
@media (max-width: 767px) {
  .cws-balloon__name {
    font-size: 0.72rem !important;
    line-height: 1.4;
  }
}


/* --------------------------------------------------
   記事本文の読みやすさ
-------------------------------------------------- */
.single-post .entry-body,
.single-post .entry-content {
  font-size: 16px;
  line-height: 1.95;
  color: var(--kp-text);
}

.single-post .entry-body p,
.single-post .entry-content p {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.single-post .entry-body h2,
.single-post .entry-content h2 {
  margin-top: 3.2em;
  margin-bottom: 1.1em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--kp-border);
  color: var(--kp-navy);
  line-height: 1.45;
}

.single-post .entry-body h3,
.single-post .entry-content h3 {
  margin-top: 2.4em;
  margin-bottom: 0.9em;
  color: var(--kp-navy);
  line-height: 1.5;
}

.single-post .entry-body ul,
.single-post .entry-body ol,
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-top: 1em;
  margin-bottom: 1.7em;
  padding-left: 1.4em;
}

.single-post .entry-body li,
.single-post .entry-content li {
  margin-bottom: 0.55em;
  line-height: 1.85;
}


/* --------------------------------------------------
   記事内画像：中央寄せ・枠線・角丸・影
-------------------------------------------------- */
.cws-article-image,
.entry-body .wp-block-image,
.entry-content .wp-block-image {
  margin: 34px auto;
  text-align: center;
}

.cws-article-image img,
.entry-body .wp-block-image img,
.entry-content .wp-block-image img,
.single-post .entry-body img,
.single-post .entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--kp-border);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(11, 51, 72, 0.08);
  background: #fff;
}

.cws-article-image figcaption,
.entry-body .wp-block-image figcaption,
.entry-content .wp-block-image figcaption,
.single-post .entry-body figcaption,
.single-post .entry-content figcaption,
.single-post .entry-body .wp-caption-text,
.single-post .entry-content .wp-caption-text {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
}


/* --------------------------------------------------
   蛍光ライン
-------------------------------------------------- */
.cws-marker {
  background: linear-gradient(transparent 62%, rgba(184, 146, 69, 0.35) 62%);
  font-weight: 700;
  padding: 0 0.08em;
}


/* --------------------------------------------------
   旧記事装飾ボックス共通
   memo / graybox / blue-box
   cws-memo / cws-gray-box / cws-blue-box
-------------------------------------------------- */
.entry-body .memo,
.entry-body .graybox,
.entry-body .blue-box,
.entry-body .cws-memo,
.entry-body .cws-gray-box,
.entry-body .cws-blue-box,
.entry-content .memo,
.entry-content .graybox,
.entry-content .blue-box,
.entry-content .cws-memo,
.entry-content .cws-gray-box,
.entry-content .cws-blue-box {
  position: relative;
  margin: 30px auto;
  padding: 22px 24px;
  border-radius: 16px;
  line-height: 1.9;
  border: 1px solid var(--kp-border);
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
}

.entry-body .memo > *:first-child,
.entry-body .graybox > *:first-child,
.entry-body .blue-box > *:first-child,
.entry-body .cws-memo > *:first-child,
.entry-body .cws-gray-box > *:first-child,
.entry-body .cws-blue-box > *:first-child,
.entry-content .memo > *:first-child,
.entry-content .graybox > *:first-child,
.entry-content .blue-box > *:first-child,
.entry-content .cws-memo > *:first-child,
.entry-content .cws-gray-box > *:first-child,
.entry-content .cws-blue-box > *:first-child {
  margin-top: 0;
}

.entry-body .memo > *:last-child,
.entry-body .graybox > *:last-child,
.entry-body .blue-box > *:last-child,
.entry-body .cws-memo > *:last-child,
.entry-body .cws-gray-box > *:last-child,
.entry-body .cws-blue-box > *:last-child,
.entry-content .memo > *:last-child,
.entry-content .graybox > *:last-child,
.entry-content .blue-box > *:last-child,
.entry-content .cws-memo > *:last-child,
.entry-content .cws-gray-box > *:last-child,
.entry-content .cws-blue-box > *:last-child {
  margin-bottom: 0;
}


/* memo / cws-memo：ワンポイントアドバイス */
.entry-body .memo,
.entry-body .cws-memo,
.entry-content .memo,
.entry-content .cws-memo {
  background: #fffdf8;
  border-color: var(--kp-border);
}

.entry-body .memo::after,
.entry-body .cws-memo::after,
.entry-content .memo::after,
.entry-content .cws-memo::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 4px;
  height: calc(100% - 44px);
  border-radius: 0 999px 999px 0;
  background: var(--kp-gold);
}


/* graybox / cws-gray-box：補足説明 */
.entry-body .graybox,
.entry-body .cws-gray-box,
.entry-content .graybox,
.entry-content .cws-gray-box {
  background: #f7f8fa;
  border-color: #e5e7eb;
  box-shadow: none;
}


/* blue-box / cws-blue-box：重要ポイント */
.entry-body .blue-box,
.entry-body .cws-blue-box,
.entry-content .blue-box,
.entry-content .cws-blue-box {
  background: #f4f8fc;
  border-color: #cfddea;
}


/* 先頭の POINT / NOTE ラベル */
.entry-body .memo > p:first-child,
.entry-body .graybox > p:first-child,
.entry-body .blue-box > p:first-child,
.entry-body .cws-memo > p:first-child,
.entry-body .cws-gray-box > p:first-child,
.entry-body .cws-blue-box > p:first-child,
.entry-content .memo > p:first-child,
.entry-content .graybox > p:first-child,
.entry-content .blue-box > p:first-child,
.entry-content .cws-memo > p:first-child,
.entry-content .cws-gray-box > p:first-child,
.entry-content .cws-blue-box > p:first-child {
  margin-bottom: 12px;
  line-height: 1;
}

.entry-body .memo > p:first-child strong,
.entry-body .graybox > p:first-child strong,
.entry-body .blue-box > p:first-child strong,
.entry-body .cws-memo > p:first-child strong,
.entry-body .cws-gray-box > p:first-child strong,
.entry-body .cws-blue-box > p:first-child strong,
.entry-content .memo > p:first-child strong,
.entry-content .graybox > p:first-child strong,
.entry-content .blue-box > p:first-child strong,
.entry-content .cws-memo > p:first-child strong,
.entry-content .cws-gray-box > p:first-child strong,
.entry-content .cws-blue-box > p:first-child strong {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

/* ラベル色：memo */
.entry-body .memo > p:first-child strong,
.entry-body .cws-memo > p:first-child strong,
.entry-content .memo > p:first-child strong,
.entry-content .cws-memo > p:first-child strong {
  background: #f3ead6;
  color: #8a6a2d;
}

/* ラベル色：graybox */
.entry-body .graybox > p:first-child strong,
.entry-body .cws-gray-box > p:first-child strong,
.entry-content .graybox > p:first-child strong,
.entry-content .cws-gray-box > p:first-child strong {
  background: #eef1f4;
  color: #4b5563;
}

/* ラベル色：blue-box */
.entry-body .blue-box > p:first-child strong,
.entry-body .cws-blue-box > p:first-child strong,
.entry-content .blue-box > p:first-child strong,
.entry-content .cws-blue-box > p:first-child strong {
  background: #dceaf6;
  color: #1f4d73;
}


/* blue-box内リスト */
.entry-body .blue-box ul,
.entry-body .blue-box ol,
.entry-body .cws-blue-box ul,
.entry-body .cws-blue-box ol,
.entry-content .blue-box ul,
.entry-content .blue-box ol,
.entry-content .cws-blue-box ul,
.entry-content .cws-blue-box ol {
  margin-top: 0.9em;
  margin-bottom: 0;
  padding-left: 1.35em;
}

.entry-body .blue-box li,
.entry-body .cws-blue-box li,
.entry-content .blue-box li,
.entry-content .cws-blue-box li {
  margin-bottom: 0.55em;
  line-height: 1.85;
}

.entry-body .blue-box li:last-child,
.entry-body .cws-blue-box li:last-child,
.entry-content .blue-box li:last-child,
.entry-content .cws-blue-box li:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------
   アコーディオン：cws-toggle / details
-------------------------------------------------- */
.entry-body details.cws-toggle,
.entry-body .wp-block-details.cws-toggle,
.entry-content details.cws-toggle,
.entry-content .wp-block-details.cws-toggle {
  margin: 30px auto;
  padding: 0;
  border: 1px solid var(--kp-border);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
  overflow: hidden;
}

.entry-body details.cws-toggle summary,
.entry-body .wp-block-details.cws-toggle summary,
.entry-content details.cws-toggle summary,
.entry-content .wp-block-details.cws-toggle summary {
  position: relative;
  cursor: pointer;
  padding: 17px 20px 17px 52px;
  color: var(--kp-navy);
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
  background: #fffdf8;
}

.entry-body details.cws-toggle summary::-webkit-details-marker,
.entry-body .wp-block-details.cws-toggle summary::-webkit-details-marker,
.entry-content details.cws-toggle summary::-webkit-details-marker,
.entry-content .wp-block-details.cws-toggle summary::-webkit-details-marker {
  display: none;
}

.entry-body details.cws-toggle summary::before,
.entry-body .wp-block-details.cws-toggle summary::before,
.entry-content details.cws-toggle summary::before,
.entry-content .wp-block-details.cws-toggle summary::before {
  content: "＋";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--kp-navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.entry-body details.cws-toggle[open] summary,
.entry-body .wp-block-details.cws-toggle[open] summary,
.entry-content details.cws-toggle[open] summary,
.entry-content .wp-block-details.cws-toggle[open] summary {
  border-bottom: 1px solid var(--kp-border);
}

.entry-body details.cws-toggle[open] summary::before,
.entry-body .wp-block-details.cws-toggle[open] summary::before,
.entry-content details.cws-toggle[open] summary::before,
.entry-content .wp-block-details.cws-toggle[open] summary::before {
  content: "−";
}

.entry-body details.cws-toggle > *:not(summary),
.entry-body .wp-block-details.cws-toggle > *:not(summary),
.entry-content details.cws-toggle > *:not(summary),
.entry-content .wp-block-details.cws-toggle > *:not(summary) {
  margin-left: 22px;
  margin-right: 22px;
}

.entry-body details.cws-toggle > *:not(summary):first-of-type,
.entry-body .wp-block-details.cws-toggle > *:not(summary):first-of-type,
.entry-content details.cws-toggle > *:not(summary):first-of-type,
.entry-content .wp-block-details.cws-toggle > *:not(summary):first-of-type {
  margin-top: 18px;
}

.entry-body details.cws-toggle > *:last-child,
.entry-body .wp-block-details.cws-toggle > *:last-child,
.entry-content details.cws-toggle > *:last-child,
.entry-content .wp-block-details.cws-toggle > *:last-child {
  margin-bottom: 22px;
}


/* 旧 toggle-wrap が残った場合 */
.entry-body .toggle-wrap,
.entry-body .cws-toggle-wrap,
.entry-content .toggle-wrap,
.entry-content .cws-toggle-wrap {
  margin: 30px auto;
  padding: 22px 24px;
  border: 1px solid var(--kp-border);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(11, 51, 72, 0.06);
}


/* --------------------------------------------------
   スマホ調整
-------------------------------------------------- */
@media (max-width: 767px) {
  .single-post .entry-body,
  .single-post .entry-content {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .single-post .entry-body p,
  .single-post .entry-content p {
    margin-bottom: 1.35em;
  }

  .single-post .entry-body h2,
  .single-post .entry-content h2 {
    margin-top: 2.7em;
    margin-bottom: 1em;
    line-height: 1.5;
  }

  .single-post .entry-body h3,
  .single-post .entry-content h3 {
    margin-top: 2.1em;
    line-height: 1.5;
  }

  .cws-article-image,
  .entry-body .wp-block-image,
  .entry-content .wp-block-image {
    margin: 26px auto;
  }

  .cws-article-image img,
  .entry-body .wp-block-image img,
  .entry-content .wp-block-image img,
  .single-post .entry-body img,
  .single-post .entry-content img {
    border-radius: 10px;
  }

  .entry-body .memo,
  .entry-body .graybox,
  .entry-body .blue-box,
  .entry-body .cws-memo,
  .entry-body .cws-gray-box,
  .entry-body .cws-blue-box,
  .entry-content .memo,
  .entry-content .graybox,
  .entry-content .blue-box,
  .entry-content .cws-memo,
  .entry-content .cws-gray-box,
  .entry-content .cws-blue-box {
    margin: 24px auto;
    padding: 18px 18px;
    border-radius: 14px;
  }

  .entry-body .memo::after,
  .entry-body .cws-memo::after,
  .entry-content .memo::after,
  .entry-content .cws-memo::after {
    top: 18px;
    height: calc(100% - 36px);
  }

  .entry-body details.cws-toggle summary,
  .entry-body .wp-block-details.cws-toggle summary,
  .entry-content details.cws-toggle summary,
  .entry-content .wp-block-details.cws-toggle summary {
    padding: 15px 16px 15px 46px;
  }

  .entry-body details.cws-toggle summary::before,
  .entry-body .wp-block-details.cws-toggle summary::before,
  .entry-content details.cws-toggle summary::before,
  .entry-content .wp-block-details.cws-toggle summary::before {
    left: 16px;
  }

  .entry-body details.cws-toggle > *:not(summary),
  .entry-body .wp-block-details.cws-toggle > *:not(summary),
  .entry-content details.cws-toggle > *:not(summary),
  .entry-content .wp-block-details.cws-toggle > *:not(summary) {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* ==================================================
   A8ネット等：文中アフィリエイトリンク内の計測用img調整
   - img-inline 内の 1x1 計測画像を通常画像装飾から除外
================================================== */

.img-inline {
  display: inline !important;
  white-space: nowrap;
}

.img-inline img,
.entry-body .img-inline img,
.entry-content .img-inline img,
.single-post .entry-body .img-inline img,
.single-post .entry-content .img-inline img {
  display: inline !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  vertical-align: baseline !important;
}

/* 念のため、1x1計測画像が img-inline なしで残った場合も装飾しない */
.entry-body img[width="1"][height="1"],
.entry-content img[width="1"][height="1"],
.single-post .entry-body img[width="1"][height="1"],
.single-post .entry-content img[width="1"][height="1"] {
  display: inline !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  vertical-align: baseline !important;
}

/* ==================================================
   CWS Web制作コラム：コードブロック
   Cocoonのコード説明部分の移転用
================================================== */

.entry-body pre.wp-block-code,
.entry-content pre.wp-block-code,
.entry-body .wp-block-code,
.entry-content .wp-block-code {
  margin: 30px auto;
  padding: 18px 20px;
  background: #f7f8fa;
  border: 1px solid var(--kp-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(11, 51, 72, 0.05);
  overflow-x: auto;
  line-height: 1.7;
}

.entry-body pre.wp-block-code code,
.entry-content pre.wp-block-code code,
.entry-body .wp-block-code code,
.entry-content .wp-block-code code {
  display: block;
  color: #1f3556;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre;
  background: transparent;
}

/* インラインコード */
.entry-body p code,
.entry-content p code,
.entry-body li code,
.entry-content li code {
  padding: 0.12em 0.35em;
  background: #f3ead6;
  border-radius: 5px;
  color: #1f3556;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.9em;
}

@media (max-width: 767px) {
  .entry-body pre.wp-block-code,
  .entry-content pre.wp-block-code,
  .entry-body .wp-block-code,
  .entry-content .wp-block-code {
    margin: 24px auto;
    padding: 15px 16px;
    border-radius: 12px;
  }

  .entry-body pre.wp-block-code code,
  .entry-content pre.wp-block-code code,
  .entry-body .wp-block-code code,
  .entry-content .wp-block-code code {
    font-size: 0.84rem;
  }
}

/* ==================================================
   CWS 吹き出し：アイコンと名前の位置補正
================================================== */

.cws-balloon__icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}

.cws-balloon__image {
  margin: 0 !important;
  line-height: 1 !important;
}

.cws-balloon__image img {
  display: block !important;
  margin: 0 auto !important;
}

.cws-balloon__name {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--kp-navy, #0B3348);
  text-align: center;
}

/* 記事本文側の p 余白が吹き出し名に効くのを防ぐ */
.single-post .entry-body .cws-balloon__name,
.single-post .entry-content .cws-balloon__name,
.entry-body .cws-balloon__name,
.entry-content .cws-balloon__name {
  margin: 0 !important;
  margin-bottom: 0 !important;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .cws-balloon__icon {
    gap: 5px !important;
  }

  .cws-balloon__name {
    font-size: 0.72rem !important;
    line-height: 1.35;
  }
}

/* details / toggle ブロック */
.cws-toggle {
  margin: 1.5em 0;
  padding: 1em 1.2em;
  border: 1px solid #e5e0d6;
  border-radius: 10px;
  background: #fffdf8;
}

/* 閉じている時に見えるタイトル部分 */
.cws-toggle summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.6;
}

/* 開いた時、summary と中身の間に余白 */
.cws-toggle[open] summary {
  margin-bottom: 1em;
}

/* details 内の本文・画像などの間隔 */
.cws-toggle > *:not(summary) {
  margin-top: 1em;
}

/* details 内の画像 */
.cws-toggle .wp-block-image {
  margin: 1.2em 0;
}

/* details 内の見出し */
.cws-toggle h2,
.cws-toggle h3,
.cws-toggle h4 {
  margin-top: 1.4em;
  margin-bottom: 0.7em;
}

/* details 内の段落 */
.cws-toggle p {
  margin-bottom: 1em;
  line-height: 1.8;
}

/* 関連記事カード */
.cws-related-card {
  margin: 1.8em 0;
  padding: 1.1em 1.3em;
  border: 1px solid #e4dcc9;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 4px 14px rgba(31, 54, 92, 0.06);
}

.cws-related-card__label {
  display: inline-block;
  margin: 0 0 0.6em;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  background: #f2ead8;
  color: #7b6332;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.4;
}

.cws-related-card__title {
  margin: 0;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.7;
}

.cws-related-card__title a {
  color: #1f365c;
  text-decoration: none;
}

.cws-related-card__title a:hover {
  text-decoration: underline;
}

/* ================================
  CWS 共通比較カードブロック
  TablePress / 比較表 / 料金表 / 仕様表のブロック化用
================================ */

/* セクション全体 */
.cws-comparison-section {
  margin: 36px 0;
  padding: 34px 28px;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.06);
}

/* 英字ラベル */
.cws-comparison-label {
  margin: 0 0 8px;
  color: #b08a3c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 見出し */
.cws-comparison-title {
  margin: 0 0 14px;
  color: #10233f;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

/* リード文 */
.cws-comparison-lead {
  margin: 0 0 24px;
  color: #4d5870;
  font-size: 15px;
  line-height: 1.9;
}

/* カラム全体 */
.cws-comparison-columns {
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

/* 比較カード */
.cws-comparison-card {
  position: relative;
  height: 100%;
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 35, 63, 0.09);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(16, 35, 63, 0.06);
}

/* おすすめカード */
.cws-comparison-card.is-recommend {
  border-color: rgba(176, 138, 60, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #fbf6ea 100%);
}

/* バッジ */
.cws-comparison-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  background: rgba(176, 138, 60, 0.12);
  border: 1px solid rgba(176, 138, 60, 0.24);
  border-radius: 999px;
  color: #8a682c;
  font-size: 12px;
  font-weight: 700;
}

/* カード見出し */
.cws-comparison-card-title {
  margin: 0 0 8px;
  color: #10233f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

/* 価格・料金ラベル */
.cws-comparison-price-label {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

/* 価格・料金 */
.cws-comparison-price {
  margin: 0 0 18px;
  color: #10233f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

/* 税込・月額などの補足 */
.cws-comparison-price span {
  margin-left: 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

/* 仕様リスト */
.cws-comparison-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 仕様リスト各項目 */
.cws-comparison-spec-list li {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(16, 35, 63, 0.08);
}

/* 仕様ラベル */
.cws-comparison-spec-label {
  display: block;
  margin-bottom: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

/* 仕様値 */
.cws-comparison-spec-value {
  display: block;
  color: #25324a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* カード内の補足・おすすめ理由 */
.cws-comparison-point {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: rgba(16, 35, 63, 0.035);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 16px;
  color: #4d5870;
  font-size: 14px;
  line-height: 1.8;
}

/* 共通補足ボックス */
.cws-comparison-common-box {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 20px;
}

/* 共通補足ボックス見出し */
.cws-comparison-common-title {
  margin: 0 0 12px;
  color: #10233f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* 共通補足リスト */
.cws-comparison-common-list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1.2em;
  color: #344056;
  font-size: 15px;
  line-height: 1.9;
}

.cws-comparison-common-list li {
  margin-bottom: 6px;
}

.cws-comparison-common-list li::marker {
  color: #b08a3c;
}

/* 注意書き */
.cws-comparison-note {
  margin: 18px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.8;
}

/* ================================
  スマホ調整
================================ */
@media (max-width: 781px) {
  .cws-comparison-section {
    margin: 28px 0;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .cws-comparison-title {
    font-size: 22px;
  }

  .cws-comparison-card {
    padding: 24px 20px;
  }

  .cws-comparison-price {
    font-size: 28px;
  }
}

/* ==================================================
   CWS 記事共通パーツCSS 追加分
   - 投稿記事リライト・装飾共通パーツ
   - 既存の kpカラー変数 / cws-balloon / cws-comparison を前提
   - 記事ごとの個別CSSを増やさないための共通パーツ
================================================== */

/* --------------------------------------------------
   記事冒頭・要約ボックス
   使用例：cws-article-lead-box
-------------------------------------------------- */
.single-post .cws-article-lead-box {
  margin: 28px 0 34px;
  padding: 26px 28px;
  background: linear-gradient(180deg, var(--kp-ivory) 0%, #ffffff 100%);
  border: 1px solid var(--kp-border);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(11, 51, 72, 0.06);
}

.single-post .cws-article-lead-box p {
  margin-bottom: 0.9em;
  color: var(--kp-text);
  font-size: 16px;
  line-height: 1.9;
}

.single-post .cws-article-lead-box p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
   小さな注記・補足文
   使用例：cws-small-note / cws-article-note
-------------------------------------------------- */
.single-post .cws-small-note,
.single-post .cws-article-note {
  color: #333333;
  line-height: 1.8;
}

.single-post .cws-article-note {
  margin: 16px 0 24px;
  padding: 16px 18px;
  background: rgba(11, 51, 72, 0.035);
  border: 1px solid rgba(11, 51, 72, 0.08);
  border-radius: 14px;
}

.single-post .cws-article-note p {
  margin-bottom: 0.6em;
}

.single-post .cws-article-note p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
   図解画像・アイキャッチ的な本文内画像
   通常の手順スクショとの差別化用
   使用例：wp:image に className "cws-infographic"
-------------------------------------------------- */
.single-post .wp-block-image.cws-infographic {
  margin: 38px auto;
}

.single-post .wp-block-image.cws-infographic img {
  border-radius: 18px;
  border: 1px solid rgba(184, 146, 69, 0.24);
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
}

.single-post .wp-block-image.cws-infographic figcaption {
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

/* --------------------------------------------------
   記事内CTA
   使用例：cws-article-cta
-------------------------------------------------- */
.single-post .cws-article-cta {
  margin: 48px 0 42px;
  padding: 34px 32px;
  background: linear-gradient(180deg, var(--kp-ivory) 0%, #ffffff 100%);
  border: 1px solid var(--kp-border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.08);
}

.single-post .cws-article-cta__label {
  margin: 0 0 10px;
  color: var(--kp-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.single-post .cws-article-cta__title {
  margin: 0 0 14px;
  color: var(--kp-navy);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.55;
}

.single-post .cws-article-cta__text {
  margin: 0 0 22px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.9;
}

.single-post .cws-article-cta__list {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.single-post .cws-article-cta__list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 1.6em;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.75;
}

.single-post .cws-article-cta__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--kp-gold);
  font-weight: 700;
}

.single-post .cws-article-cta__buttons {
  gap: 12px;
  margin-top: 20px;
}

.single-post .cws-article-cta__buttons .wp-block-button__link,
.single-post .cws-article-cta .wp-block-button__link {
  padding: 13px 24px;
  background: var(--kp-navy);
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(11, 51, 72, 0.16);
}

.single-post .cws-article-cta__buttons .wp-block-button__link:hover,
.single-post .cws-article-cta .wp-block-button__link:hover {
  opacity: 0.88;
}

/* --------------------------------------------------
   記事内サービス導線カード
   使用例：cws-service-link-grid / cws-service-link-card
-------------------------------------------------- */
.single-post .cws-service-link-grid {
  gap: 18px;
  margin: 24px 0 0;
}

.single-post .cws-service-link-card {
  height: 100%;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(11, 51, 72, 0.06);
}

.single-post .cws-service-link-card__label {
  margin: 0 0 8px;
  color: var(--kp-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-post .cws-service-link-card__title {
  margin: 0 0 10px;
  color: var(--kp-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.single-post .cws-service-link-card__text {
  margin: 0;
  color: var(--kp-text);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------
   FAQ / よくある質問
   使用例：cws-faq / cws-faq-item
-------------------------------------------------- */
.single-post .cws-faq {
  margin: 34px 0;
}

.single-post .cws-faq-item {
  margin: 0 0 14px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--kp-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(11, 51, 72, 0.05);
  overflow: hidden;
}

.single-post .cws-faq-item summary {
  position: relative;
  padding: 18px 48px 18px 22px;
  color: var(--kp-navy);
  font-weight: 700;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}

.single-post .cws-faq-item summary::-webkit-details-marker {
  display: none;
}

.single-post .cws-faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  background: var(--kp-navy);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

.single-post .cws-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--kp-gold);
  font-size: 22px;
  font-weight: 700;
}

.single-post .cws-faq-item[open] summary::after {
  content: "−";
}

.single-post .cws-faq-item > *:not(summary) {
  padding-left: 22px;
  padding-right: 22px;
}

.single-post .cws-faq-item p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.85;
}

/* --------------------------------------------------
   手順・流れカード
   使用例：cws-step-list / cws-step-item
-------------------------------------------------- */
.single-post .cws-step-list {
  counter-reset: cws-step;
  margin: 30px 0;
  padding: 0;
}

.single-post .cws-step-item {
  counter-increment: cws-step;
  position: relative;
  margin: 0 0 16px;
  padding: 22px 24px 22px 72px;
  background: #ffffff;
  border: 1px solid var(--kp-border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(11, 51, 72, 0.05);
}

.single-post .cws-step-item::before {
  content: counter(cws-step);
  position: absolute;
  top: 22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--kp-navy);
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.single-post .cws-step-item__title {
  margin: 0 0 8px;
  color: var(--kp-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.single-post .cws-step-item__text {
  margin: 0;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.85;
}

/* --------------------------------------------------
   旧記事由来の装飾span補正
   既存記事で残りやすい marker / bold-red 等をCWSトーンに寄せる
-------------------------------------------------- */
.single-post .marker,
.single-post .cws-marker {
  background: linear-gradient(transparent 62%, rgba(184, 146, 69, 0.24) 62%);
  font-weight: 700;
}

.single-post .marker_blue {
  background: linear-gradient(transparent 62%, rgba(39, 78, 110, 0.16) 62%);
  font-weight: 700;
}

.single-post .bold,
.single-post .futoji {
  font-weight: 700;
}

.single-post .bold-red,
.single-post .font-red {
  color: #b93a2f;
  font-weight: 700;
}

/* --------------------------------------------------
   旧記事由来の中央寄せ・補足ラベル
-------------------------------------------------- */
.single-post .center {
  text-align: center;
}

.single-post .imadake {
  display: inline-block;
  margin: 18px auto 10px;
  padding: 7px 14px;
  background: rgba(184, 146, 69, 0.12);
  border: 1px solid rgba(184, 146, 69, 0.28);
  border-radius: 999px;
  color: #8a682c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------
   スマホ調整
-------------------------------------------------- */
@media (max-width: 781px) {
  .single-post .cws-article-lead-box,
  .single-post .cws-article-cta {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .single-post .cws-article-cta {
    margin: 40px 0 34px;
  }

  .single-post .cws-article-cta__title {
    font-size: 22px;
  }

  .single-post .cws-article-cta__buttons .wp-block-button,
  .single-post .cws-article-cta .wp-block-button {
    width: 100%;
  }

  .single-post .cws-article-cta__buttons .wp-block-button__link,
  .single-post .cws-article-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .single-post .cws-service-link-card {
    padding: 22px 20px;
  }

  .single-post .cws-faq-item summary {
    padding: 16px 44px 16px 18px;
  }

  .single-post .cws-faq-item > *:not(summary) {
    padding-left: 18px;
    padding-right: 18px;
  }

  .single-post .cws-step-item {
    padding: 20px 18px 20px 62px;
  }

  .single-post .cws-step-item::before {
    left: 18px;
  }

  .single-post .wp-block-image.cws-infographic {
    margin: 32px auto;
  }

  .single-post .wp-block-image.cws-infographic img {
    border-radius: 14px;
  }
}

/* --------------------------------------------------
   FAQ 回答文の余白調整
   details内の回答テキストが端に寄るのを防ぐ
-------------------------------------------------- */
.single-post .cws-faq-item > p,
.single-post .cws-faq-item .wp-block-paragraph,
.single-post .cws-faq-item > .wp-block-paragraph {
  margin: 0;
  padding: 0 22px 22px 22px;
  color: var(--kp-text);
  font-size: 15px;
  line-height: 1.85;
}

.single-post .cws-faq-item summary + p {
  padding-top: 0;
}

/* スマホ調整 */
@media (max-width: 781px) {
  .single-post .cws-faq-item > p,
  .single-post .cws-faq-item .wp-block-paragraph,
  .single-post .cws-faq-item > .wp-block-paragraph {
    padding: 0 18px 20px 18px;
  }
}

/* ==================================================
   CWS 記事用：手順グリッドカード
   - トップページのカード感を記事用にコンパクト化
   - PC：3列 / タブレット：2列 / スマホ：1列
================================================== */

.single-post .cws-step-grid-section {
  margin: 34px 0 44px;
  padding: 38px 28px;
  background: var(--kp-navy);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(11, 51, 72, 0.10);
}

.single-post .cws-step-grid-label {
  margin: 0 0 8px;
  color: var(--kp-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.single-post .cws-step-grid-heading {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.single-post .cws-step-grid-lead {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
}

.single-post .cws-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.single-post .cws-step-grid-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid rgba(228, 221, 210, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(11, 51, 72, 0.08);
}

.single-post .cws-step-grid-number {
  margin: 0 0 18px;
  color: var(--kp-gold);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
}

.single-post .cws-step-grid-title {
  margin: 0 0 14px;
  color: var(--kp-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.single-post .cws-step-grid-text {
  margin: 0;
  color: var(--kp-text);
  font-size: 14.5px;
  line-height: 1.85;
}

.single-post .cws-step-grid-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* タブレット調整 */
@media (max-width: 960px) {
  .single-post .cws-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ調整 */
@media (max-width: 781px) {
  .single-post .cws-step-grid-section {
    margin: 30px 0 38px;
    padding: 30px 20px;
    border-radius: 20px;
  }

  .single-post .cws-step-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .single-post .cws-step-grid-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .single-post .cws-step-grid-number {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .single-post .cws-step-grid-title {
    font-size: 17px;
  }
}

/* --------------------------------------------------
   手順グリッド見出しの色補正
   投稿本文のh3装飾に上書きされるのを防ぐ
-------------------------------------------------- */
.single-post .entry-content .cws-step-grid-section h3.cws-step-grid-heading,
.single-post .entry-content .cws-step-grid-section .wp-block-heading.cws-step-grid-heading,
.single-post .cws-step-grid-section h3.cws-step-grid-heading,
.single-post .cws-step-grid-section .wp-block-heading.cws-step-grid-heading {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.single-post .entry-content .cws-step-grid-section h3.cws-step-grid-heading::before,
.single-post .entry-content .cws-step-grid-section h3.cws-step-grid-heading::after,
.single-post .cws-step-grid-section h3.cws-step-grid-heading::before,
.single-post .cws-step-grid-section h3.cws-step-grid-heading::after {
  display: none !important;
  content: none !important;
}

/* --------------------------------------------------
   比較カード見出しエリア調整
-------------------------------------------------- */
.single-post .cws-comparison-label,
.single-post .cws-comparison-title {
  text-align: center;
}

.single-post .cws-comparison-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------
   比較カード下部の共通補足ボックス余白調整
   上のカード群と「選び方の目安」が詰まるのを防ぐ
-------------------------------------------------- */
.single-post .cws-comparison-common-box {
  margin-top: 24px;
}

/* --------------------------------------------------
   記事末尾CTA 見出し余白・ラベル位置調整
   投稿本文のh2装飾がCTA内見出しに強く効くのを防ぐ
-------------------------------------------------- */
.single-post .entry-content .cws-article-cta .cws-article-cta__label,
.single-post .cws-article-cta .cws-article-cta__label {
  margin: 0 0 12px !important;
  text-align: center;
}

.single-post .entry-content .cws-article-cta h2.cws-article-cta__title,
.single-post .entry-content .cws-article-cta .wp-block-heading.cws-article-cta__title,
.single-post .cws-article-cta h2.cws-article-cta__title,
.single-post .cws-article-cta .wp-block-heading.cws-article-cta__title {
  margin: 0 0 20px !important;
  padding: 0 0 18px !important;
  color: var(--kp-navy) !important;
  background: transparent !important;
  border-top: none !important;
  border-right: none !important;
  border-left: none !important;
  border-bottom: 1px solid rgba(11, 51, 72, 0.12) !important;
  box-shadow: none !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  line-height: 1.55 !important;
  text-align: center;
}

.single-post .entry-content .cws-article-cta h2.cws-article-cta__title::before,
.single-post .entry-content .cws-article-cta h2.cws-article-cta__title::after,
.single-post .cws-article-cta h2.cws-article-cta__title::before,
.single-post .cws-article-cta h2.cws-article-cta__title::after {
  display: none !important;
  content: none !important;
}

/* --------------------------------------------------
   比較カード内 h3 見出し余白調整
   投稿本文のh3装飾が比較カード見出しに強く効くのを防ぐ
-------------------------------------------------- */
.single-post .entry-content .cws-comparison-section h3.cws-comparison-title,
.single-post .entry-content .cws-comparison-section .wp-block-heading.cws-comparison-title,
.single-post .cws-comparison-section h3.cws-comparison-title,
.single-post .cws-comparison-section .wp-block-heading.cws-comparison-title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: var(--kp-navy) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.single-post .entry-content .cws-comparison-section h3.cws-comparison-title::before,
.single-post .entry-content .cws-comparison-section h3.cws-comparison-title::after,
.single-post .cws-comparison-section h3.cws-comparison-title::before,
.single-post .cws-comparison-section h3.cws-comparison-title::after {
  display: none !important;
  content: none !important;
}

/* 比較カードの英字ラベル・リード文も整える */
.single-post .cws-comparison-label {
  margin: 0 0 10px !important;
  text-align: center;
}

.single-post .cws-comparison-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------
   手順リストカードのコンパクト調整
   短い手順カードが間延びして見えるのを防ぐ
-------------------------------------------------- */
.single-post .cws-step-list {
  margin: 28px 0 34px;
}

.single-post .cws-step-item {
  margin-bottom: 14px;
  padding: 20px 22px 20px 72px;
  min-height: 0;
}

.single-post .cws-step-item::before {
  top: 20px;
  left: 22px;
  width: 34px;
  height: 34px;
  font-size: 15px;
}

/* 手順カード内のh3に投稿本文の見出し装飾が効くのを防ぐ */
.single-post .entry-content .cws-step-item h3.cws-step-item__title,
.single-post .entry-content .cws-step-item .wp-block-heading.cws-step-item__title,
.single-post .cws-step-item h3.cws-step-item__title,
.single-post .cws-step-item .wp-block-heading.cws-step-item__title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--kp-navy) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.single-post .entry-content .cws-step-item h3.cws-step-item__title::before,
.single-post .entry-content .cws-step-item h3.cws-step-item__title::after,
.single-post .cws-step-item h3.cws-step-item__title::before,
.single-post .cws-step-item h3.cws-step-item__title::after {
  display: none !important;
  content: none !important;
}

.single-post .cws-step-item__text {
  margin: 0 !important;
  text-align: left;
}

/* スマホ調整 */
@media (max-width: 781px) {
  .single-post .cws-step-item {
    padding: 18px 18px 18px 62px;
  }

  .single-post .cws-step-item::before {
    top: 18px;
    left: 18px;
  }
}

/* 投稿詳細ページでは、パンくず上の大きいページヘッダーを非表示 */
.single-post .page-header {
  display: none;
}

/* カテゴリー一覧ページではページヘッダーを控えめに */
.archive .page-header {
  background: #f7f4ee;
  border-top: 1px solid #e8dcc8;
  border-bottom: 1px solid #e8dcc8;
  padding: 28px 16px;
}

.archive .page-header .page-header-title,
.archive .page-header h1 {
  color: #003047;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-shadow: none;
}

.archive .page-header .page-header-subtext {
  color: #b08a3c;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

/* ==============================
   投稿記事用 目次デザイン
   Easy Table of Contents
============================== */

.single-post #ez-toc-container {
  width: 100%;
  max-width: 820px;
  margin: 36px 0 44px;
  padding: 28px 32px;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 48, 71, 0.07);
}

.single-post #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eadfcd;
}

.single-post #ez-toc-container .ez-toc-title {
  margin: 0;
  color: #003047;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.single-post #ez-toc-container .ez-toc-title::before {
  content: "CONTENTS";
  display: block;
  margin-bottom: 4px;
  color: #b08a3c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.single-post #ez-toc-container nav,
.single-post #ez-toc-container ul {
  margin: 0;
  padding: 0;
}

.single-post #ez-toc-container li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post #ez-toc-container a {
  display: block;
  color: #243746;
  text-decoration: none;
  line-height: 1.75;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* H2相当 */
.single-post #ez-toc-container .ez-toc-list > li > a {
  position: relative;
  padding: 9px 10px 9px 22px;
  font-weight: 700;
  border-radius: 10px;
}

.single-post #ez-toc-container .ez-toc-list > li > a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.15em;
  width: 7px;
  height: 7px;
  background: #b08a3c;
  border-radius: 50%;
}

/* H3相当 */
.single-post #ez-toc-container .ez-toc-list ul {
  margin: 2px 0 8px 16px;
  padding-left: 14px;
  border-left: 1px solid #e5d8c4;
}

.single-post #ez-toc-container .ez-toc-list ul a {
  padding: 5px 10px;
  color: #546575;
  font-size: 0.95rem;
  font-weight: 400;
}

.single-post #ez-toc-container a:hover {
  color: #003047;
  background: #f7f1e7;
}

/* 開閉ボタンまわり */
.single-post #ez-toc-container .ez-toc-title-toggle {
  color: #003047;
  font-size: 0.9rem;
}

.single-post #ez-toc-container .ez-toc-pull-right {
  float: none;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .single-post #ez-toc-container {
    margin: 28px 0 36px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .single-post #ez-toc-container .ez-toc-title {
    font-size: 1.08rem;
  }

  .single-post #ez-toc-container .ez-toc-list > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .single-post #ez-toc-container .ez-toc-list ul a {
    font-size: 0.92rem;
  }
}

/* ==============================
   投稿記事用 目次デザイン
   Easy Table of Contents
============================== */

.single-post #ez-toc-container {
  width: 100%;
  max-width: 820px;
  margin: 36px 0 44px;
  padding: 28px 32px;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 48, 71, 0.07);
}

.single-post #ez-toc-container .ez-toc-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eadfcd;
}

.single-post #ez-toc-container .ez-toc-title {
  margin: 0;
  color: #003047;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.single-post #ez-toc-container .ez-toc-title::before {
  content: "CONTENTS";
  display: block;
  margin-bottom: 4px;
  color: #b08a3c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.single-post #ez-toc-container nav,
.single-post #ez-toc-container ul {
  margin: 0;
  padding: 0;
}

.single-post #ez-toc-container li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post #ez-toc-container a {
  display: block;
  color: #243746;
  text-decoration: none;
  line-height: 1.75;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* H2相当 */
.single-post #ez-toc-container .ez-toc-list > li > a {
  position: relative;
  padding: 9px 10px 9px 22px;
  font-weight: 700;
  border-radius: 10px;
}

.single-post #ez-toc-container .ez-toc-list > li > a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.15em;
  width: 7px;
  height: 7px;
  background: #b08a3c;
  border-radius: 50%;
}

/* H3相当 */
.single-post #ez-toc-container .ez-toc-list ul {
  margin: 2px 0 8px 16px;
  padding-left: 14px;
  border-left: 1px solid #e5d8c4;
}

.single-post #ez-toc-container .ez-toc-list ul a {
  padding: 5px 10px;
  color: #546575;
  font-size: 0.95rem;
  font-weight: 400;
}

.single-post #ez-toc-container a:hover {
  color: #003047;
  background: #f7f1e7;
}

/* 開閉ボタンまわり */
.single-post #ez-toc-container .ez-toc-title-toggle {
  color: #003047;
  font-size: 0.9rem;
}

.single-post #ez-toc-container .ez-toc-pull-right {
  float: none;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .single-post #ez-toc-container {
    margin: 28px 0 36px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .single-post #ez-toc-container .ez-toc-title {
    font-size: 1.08rem;
  }

  .single-post #ez-toc-container .ez-toc-list > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .single-post #ez-toc-container .ez-toc-list ul a {
    font-size: 0.92rem;
  }
}

/* ==============================
   制作コラム 固定ページ
   /column/ 用デザイン
============================== */

.cws-column-hero {
  margin: 0 auto 56px;
  padding: 64px 44px;
  background: linear-gradient(135deg, #fffdf8 0%, #f7f1e7 100%);
  border: 1px solid #e8dcc8;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 48, 71, 0.08);
}

.cws-section-label {
  margin: 0 0 14px;
  color: #b08a3c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cws-column-hero__title {
  margin: 0 0 22px;
  color: #003047;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.cws-column-hero__lead,
.cws-section-lead {
  color: #33495a;
  font-size: 1.02rem;
  line-height: 2;
}

.cws-column-hero__lead {
  max-width: 860px;
  margin: 0;
}

.cws-column-section {
  margin: 0 auto 72px;
}

.cws-section-title {
  margin: 0 0 18px;
  color: #003047;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.cws-section-lead {
  max-width: 860px;
  margin: 0 0 32px;
}

.cws-column-card-grid,
.cws-column-article-grid {
  gap: 24px;
  margin-bottom: 24px;
}

.cws-column-card,
.cws-article-card {
  height: 100%;
  padding: 30px 28px;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(0, 48, 71, 0.06);
}

.cws-column-card.is-recommend {
  background: #fffaf0;
  border-color: #d7bd80;
}

.cws-column-card__label,
.cws-article-card__badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 13px;
  color: #7a5a1e;
  background: #f6eddd;
  border: 1px solid #e1cfaa;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cws-column-card__title,
.cws-article-card__title {
  margin: 0 0 16px;
  color: #003047;
  font-size: 1.22rem;
  line-height: 1.55;
}

.cws-article-card__title a {
  color: #003047;
  text-decoration: none;
}

.cws-article-card__title a:hover {
  color: #b08a3c;
}

.cws-column-card__text,
.cws-article-card__text {
  margin: 0 0 20px;
  color: #42576a;
  font-size: 0.96rem;
  line-height: 1.85;
}

.cws-article-card__link {
  margin: 0;
  font-weight: 700;
}

.cws-article-card__link a {
  color: #003047;
  text-decoration: none;
  border-bottom: 1px solid #b08a3c;
}

.cws-article-card__link a:hover {
  color: #b08a3c;
}

.cws-small-button .wp-block-button__link {
  padding: 10px 18px;
  background: #003047;
  border: 1px solid #003047;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.cws-small-button.is-outline .wp-block-button__link {
  background: transparent;
  color: #003047;
}

.cws-small-button .wp-block-button__link:hover {
  background: #b08a3c;
  border-color: #b08a3c;
  color: #fff;
}

/* 最新記事ブロック */
.cws-latest-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
}

.cws-latest-posts li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 48, 71, 0.05);
}

.cws-latest-posts .wp-block-latest-posts__featured-image {
  margin: 0;
}

.cws-latest-posts .wp-block-latest-posts__featured-image img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.cws-latest-posts a {
  color: #003047;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.cws-latest-posts a:hover {
  color: #b08a3c;
}

.cws-latest-posts time {
  display: block;
  margin-top: 8px;
  color: #7a8793;
  font-size: 0.86rem;
}

/* カテゴリー内リンク一覧 */
.cws-column-link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 28px;
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(0, 48, 71, 0.05);
}

.cws-column-link-list li {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #eee3d0;
}

.cws-column-link-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cws-column-link-list a {
  color: #003047;
  font-weight: 700;
  text-decoration: none;
}

.cws-column-link-list a:hover {
  color: #b08a3c;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .cws-column-hero {
    margin-bottom: 44px;
    padding: 42px 24px;
    border-radius: 22px;
  }

  .cws-column-section {
    margin-bottom: 56px;
  }

  .cws-column-card,
  .cws-article-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .cws-latest-posts {
    grid-template-columns: 1fr;
  }

  .cws-latest-posts li {
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .cws-latest-posts .wp-block-latest-posts__featured-image img {
    width: 96px;
    height: 70px;
  }

  .cws-column-link-list {
    padding: 22px;
  }
}

/* 制作コラム：セクション見出しを中央寄せに統一 */
.cws-column-section .cws-section-label,
.cws-column-section .cws-section-title,
.cws-column-section .cws-section-lead {
  text-align: center;
}

.cws-column-section .cws-section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* 制作コラム：ヒーロー部分も中央寄せ */
.cws-column-hero {
  text-align: center;
}

.cws-column-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

/* 制作コラム：まず読んでほしい記事カードの段間余白 */
.cws-column-pickup .cws-column-article-grid {
  margin-bottom: 32px !important;
}

.cws-column-pickup .cws-column-article-grid + .cws-column-article-grid {
  margin-top: 32px !important;
}

/* =========================================================
   CWS Column Page CSS
   対象：固定ページ /column のみ
   注意：投稿記事用の cws-article-note / cws-comparison / cws-step などは変更しない
========================================================= */

.cws-column-page {
  --cws-navy: #073b53;
  --cws-gold: #b58a33;
  --cws-ivory: #fbf8f1;
  --cws-border: #e8d9bd;
  --cws-text: #183247;
  --cws-muted: #566b7a;
  --cws-shadow: 0 14px 34px rgba(7, 59, 83, 0.08);
  color: var(--cws-text);
}

/* 共通セクション */
.cws-column-page .cws-column-hero,
.cws-column-page .cws-column-section,
.cws-column-page .cws-column-support {
  padding: clamp(56px, 7vw, 88px) 0;
}

.cws-column-page .cws-column-section + .cws-column-section,
.cws-column-page .cws-column-section + .cws-column-support {
  border-top: 1px solid rgba(232, 217, 189, 0.55);
}

/* セクション見出し：中央寄せ */
.cws-column-page .cws-section-label {
  margin: 0 0 16px;
  color: var(--cws-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
}

.cws-column-page .cws-section-title,
.cws-column-page .cws-column-support__title {
  margin: 0;
  color: var(--cws-navy);
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.cws-column-page .cws-section-lead {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--cws-text);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 2;
  text-align: center;
}

/* ヒーロー */
.cws-column-page .cws-column-hero {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(48px, 7vw, 84px);
  text-align: center;
}

.cws-column-page .cws-column-hero__title {
  max-width: 980px;
  margin: 0 auto;
  color: var(--cws-navy);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.35;
}

.cws-column-page .cws-column-hero__lead {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--cws-text);
  font-size: clamp(1rem, 1.65vw, 1.1rem);
  line-height: 2;
}

/* 目的別カード */
.cws-column-page .cws-column-card-grid {
  gap: 30px;
  margin-top: 42px;
}

.cws-column-page .cws-column-card-grid .wp-block-column {
  display: flex;
}

.cws-column-page .cws-column-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 360px;
  padding: 38px 36px;
  background: rgba(251, 248, 241, 0.76);
  border: 1px solid var(--cws-border);
  border-radius: 24px;
  box-shadow: var(--cws-shadow);
  text-align: left;
}

.cws-column-page .cws-column-card.is-recommend {
  background: #fffaf0;
  border-color: rgba(181, 138, 51, 0.52);
}

.cws-column-page .cws-column-card__label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 28px;
  padding: 8px 18px;
  border: 1px solid var(--cws-border);
  border-radius: 999px;
  background: #fff7e7;
  color: #8a641d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: left;
}

.cws-column-page .cws-column-card__title {
  margin: 0;
  color: var(--cws-navy);
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.cws-column-page .cws-column-card__text {
  margin: 24px 0 0;
  color: var(--cws-text);
  font-size: 1rem;
  line-height: 2;
  text-align: left;
}

.cws-column-page .cws-column-card__buttons {
  margin-top: auto;
  padding-top: 34px;
  justify-content: center !important;
}

/* 記事カード */
.cws-column-page .cws-column-article-grid {
  gap: 30px;
  margin-top: 42px;
}

.cws-column-page .cws-column-pickup .cws-column-article-grid + .cws-column-article-grid {
  margin-top: 32px;
}

.cws-column-page .cws-column-article-grid .wp-block-column {
  display: flex;
}

.cws-column-page .cws-article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid rgba(232, 217, 189, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(7, 59, 83, 0.07);
}

.cws-column-page .cws-article-card__badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff7e7;
  color: #8a641d;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.cws-column-page .cws-article-card__title {
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.cws-column-page .cws-article-card__title a {
  color: var(--cws-navy);
  text-decoration: none;
}

.cws-column-page .cws-article-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cws-column-page .cws-article-card__text {
  margin: 18px 0 0;
  color: var(--cws-muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.cws-column-page .cws-article-card__link {
  margin: auto 0 0;
  padding-top: 22px;
  font-weight: 700;
}

.cws-column-page .cws-article-card__link a {
  color: var(--cws-navy);
  text-decoration: none;
}

.cws-column-page .cws-article-card__link a::after {
  content: " →";
}

/* 最新記事：/column専用 */
.cws-column-page .cws-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.cws-column-page .cws-latest-posts li {
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(232, 217, 189, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(7, 59, 83, 0.07);
}

.cws-column-page .cws-latest-posts .wp-block-latest-posts__featured-image {
  float: none;
  margin: 0 0 16px;
}

.cws-column-page .cws-latest-posts .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.cws-column-page .cws-latest-posts a {
  color: var(--cws-navy);
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.cws-column-page .cws-latest-posts a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cws-column-page .cws-latest-posts .wp-block-latest-posts__post-date {
  display: block;
  margin-top: 10px;
  color: var(--cws-muted);
  font-size: 0.86rem;
}

/* カテゴリ別リンク */
.cws-column-page .cws-column-category-section {
  scroll-margin-top: 90px;
}

.cws-column-page .cws-column-link-list {
  max-width: 880px;
  margin: 34px auto 0;
  padding: 30px 36px;
  background: #fff;
  border: 1px solid rgba(232, 217, 189, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(7, 59, 83, 0.06);
}

.cws-column-page .cws-column-link-list li {
  margin: 0;
  padding: 12px 0;
  line-height: 1.8;
}

.cws-column-page .cws-column-link-list li + li {
  border-top: 1px dashed rgba(181, 138, 51, 0.24);
}

.cws-column-page .cws-column-link-list a {
  color: var(--cws-navy);
  font-weight: 700;
  text-decoration: none;
}

.cws-column-page .cws-column-link-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cws-column-page .cws-column-note {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 24px 28px;
  background: #fffaf0;
  border: 1px solid var(--cws-border);
  border-radius: 18px;
}

.cws-column-page .cws-column-note p {
  margin: 0;
  line-height: 1.9;
}

.cws-column-page .cws-column-section__buttons {
  margin-top: 30px;
  justify-content: center !important;
}

/* サポートCTA */
.cws-column-page .cws-column-support {
  margin-top: clamp(42px, 6vw, 70px);
  padding: clamp(54px, 7vw, 78px) clamp(24px, 4vw, 52px);
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 62%, #f4f8fb 100%);
  border: 1px solid var(--cws-border);
  border-radius: 28px;
  box-shadow: var(--cws-shadow);
}

.cws-column-page .cws-column-support__text {
  max-width: 960px;
  margin: 28px auto 0;
  color: var(--cws-text);
  font-size: 1rem;
  line-height: 2;
  text-align: left;
}

.cws-column-page .cws-column-support__list {
  max-width: 720px;
  margin: 30px auto 0;
  padding-left: 1.25em;
}

.cws-column-page .cws-column-support__list li {
  margin: 0 0 12px;
  line-height: 1.7;
}

.cws-column-page .cws-column-support__buttons {
  margin-top: 34px;
  justify-content: center !important;
}

/* ボタン */
.cws-column-page .wp-block-button .wp-block-button__link {
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.5;
}

.cws-column-page .wp-block-button.cws-primary-button .wp-block-button__link,
.cws-column-page .wp-block-button.cws-small-button:not(.is-outline) .wp-block-button__link {
  background: var(--cws-navy);
  color: #fff;
  border: 1px solid var(--cws-navy);
}

.cws-column-page .wp-block-button.cws-small-button.is-outline .wp-block-button__link {
  background: #fff;
  color: var(--cws-navy);
  border: 1px solid var(--cws-navy);
}

.cws-column-page .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(7, 59, 83, 0.16);
}

/* レスポンシブ */
@media (max-width: 991px) {
  .cws-column-page .cws-column-card-grid,
  .cws-column-page .cws-column-article-grid {
    gap: 22px;
  }

  .cws-column-page .cws-latest-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cws-column-page .cws-column-hero,
  .cws-column-page .cws-column-section,
  .cws-column-page .cws-column-support {
    padding: 44px 0;
  }

  .cws-column-page .cws-section-lead,
  .cws-column-page .cws-column-hero__lead {
    text-align: left;
  }

  .cws-column-page .cws-column-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .cws-column-page .cws-column-card__buttons,
  .cws-column-page .cws-column-section__buttons,
  .cws-column-page .cws-column-support__buttons {
    justify-content: center !important;
  }

  .cws-column-page .cws-latest-posts {
    grid-template-columns: 1fr;
  }

  .cws-column-page .cws-column-link-list,
  .cws-column-page .cws-column-note {
    padding: 22px 20px;
  }

  .cws-column-page .wp-block-button .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

/* CWS記事CTA内のボタンは中央寄せに統一 */
.cws-article-cta .cws-article-cta__buttons {
  display: flex;
  justify-content: center !important;
}

/* Gutenberg側で左寄せクラスが付いていても中央寄せを優先 */
.cws-article-cta .wp-block-buttons.cws-article-cta__buttons.is-content-justification-left {
  justify-content: center !important;
}

/* CTAの英字ラベル・見出し・説明文も中央寄せに統一 */
.cws-article-cta .cws-article-cta__label,
.cws-article-cta .cws-article-cta__title,
.cws-article-cta .cws-article-cta__text {
  text-align: center;
}

/* CWS吹き出し：アイコン列と画像サイズを固定 */
.cws-balloon .cws-balloon__columns {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cws-balloon .cws-balloon__icon {
  flex: 0 0 82px !important;
  max-width: 82px;
  text-align: center;
}

.cws-balloon .cws-balloon__image {
  margin: 0 auto 6px;
}

.cws-balloon .cws-balloon__image img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  object-fit: cover;
  border-radius: 50%;
}

.cws-balloon .cws-balloon__name {
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
}

.cws-balloon .cws-balloon__content {
  flex: 1 1 auto;
}

/* CWS比較・確認カード：上下のカードがくっつかないように行間を確保 */
.cws-comparison-section .cws-comparison-columns {
  gap: 28px;
  row-gap: 28px;
  align-items: stretch;
}

/* WordPress標準columnsの左マージンが干渉する場合の補正 */
.cws-comparison-section .cws-comparison-columns > .wp-block-column {
  margin-left: 0 !important;
}

/* 複数のcolumnsブロックを連続で置いた場合も上下余白を確保 */
.cws-comparison-section .cws-comparison-columns + .cws-comparison-columns {
  margin-top: 28px;
}

/* ========================================
   アフィリエイトボタン下の余白調整
======================================== */

/* Shortcoderなどで出しているアフィリエイトボタン周り */
.cws-affiliate-button,
.cws-affiliate-btn,
.cws-affiliate-box,
.cws-affiliate-banner,
.cws-affiliate-card {
  margin-bottom: 2.4rem !important;
}

/* アフィリエイトボタン直後の本文が詰まらないようにする */
.cws-affiliate-button + p,
.cws-affiliate-btn + p,
.cws-affiliate-box + p,
.cws-affiliate-banner + p,
.cws-affiliate-card + p {
  margin-top: 2rem;
}

/* ショートコードブロック直後の段落が詰まる場合の保険 */
.wp-block-shortcode + p {
  margin-top: 2rem;
}

/* ========================================
   本文内リンクの視認性アップ
   - 通常リンクを青く・太字にする
   - ボタンリンクやヘッダー等には影響させない
======================================== */

.entry-body :where(p, li, dd, figcaption) a:not(.wp-block-button__link),
.entry-content :where(p, li, dd, figcaption) a:not(.wp-block-button__link) {
  color: #0066cc;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

/* ホバー時 */
.entry-body :where(p, li, dd, figcaption) a:not(.wp-block-button__link):hover,
.entry-content :where(p, li, dd, figcaption) a:not(.wp-block-button__link):hover {
  color: #004a99;
  text-decoration-thickness: 2px;
}

/* 訪問済みリンクも薄くなりすぎないようにする */
.entry-body :where(p, li, dd, figcaption) a:not(.wp-block-button__link):visited,
.entry-content :where(p, li, dd, figcaption) a:not(.wp-block-button__link):visited {
  color: #0055aa;
}

/* ========================================
   サイドバーCTA：WordPress・サーバー設定相談
======================================== */

.cws-sidebar-cta {
  margin: 0 0 28px;
  padding: 24px 22px;
  background: #fffaf0;
  border: 1px solid rgba(190, 148, 72, 0.32);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(16, 38, 64, 0.08);
}

.cws-sidebar-cta__label {
  margin: 0 0 8px;
  color: #b5832f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.cws-sidebar-cta__title {
  margin: 0 0 14px;
  color: #003b5c;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.cws-sidebar-cta__text {
  margin: 0 0 16px;
  color: #26364a;
  font-size: 0.92rem;
  line-height: 1.85;
}

.cws-sidebar-cta__list {
  margin: 0 0 18px;
  padding: 14px 16px 14px 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 59, 92, 0.08);
  border-radius: 16px;
  color: #26364a;
  font-size: 0.9rem;
  line-height: 1.75;
}

.cws-sidebar-cta__list li {
  margin-bottom: 4px;
}

.cws-sidebar-cta__buttons {
  display: grid;
  gap: 10px;
}

.cws-sidebar-cta__button,
.cws-sidebar-cta__subbutton {
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.cws-sidebar-cta__button {
  background: #003b5c;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 59, 92, 0.18);
}

.cws-sidebar-cta__button:hover {
  background: #002f4a;
  color: #fff;
}

.cws-sidebar-cta__subbutton {
  background: #fff;
  color: #003b5c;
  border: 1px solid rgba(0, 59, 92, 0.22);
}

.cws-sidebar-cta__subbutton:hover {
  background: #f4f8fb;
  color: #003b5c;
}

/* ========================================
   サイドバーCTA：リスト左余白の調整
======================================== */

.cws-sidebar-cta__list {
  padding: 18px 20px 18px px;
  list-style-position: outside;
}

.cws-sidebar-cta__list li {
  padding-left: 4px;
  margin-bottom: 8px;
}

.cws-sidebar-cta__list li:last-child {
  margin-bottom: 0;
}

.cws-sidebar-cta__list li::marker {
  color: #003b5c;
  font-size: 0.9em;
}

/* ========================================
   サイドバーCTA：リストの見た目を強制調整
======================================== */

.cws-sidebar-cta ul.cws-sidebar-cta__list {
  margin: 0 0 18px !important;
  padding: 16px 20px !important;
  list-style: none !important;
}

.cws-sidebar-cta ul.cws-sidebar-cta__list > li {
  position: relative !important;
  margin: 0 0 10px !important;
  padding-left: 1.4em !important;
  line-height: 1.75 !important;
}

.cws-sidebar-cta ul.cws-sidebar-cta__list > li:last-child {
  margin-bottom: 0 !important;
}

.cws-sidebar-cta ul.cws-sidebar-cta__list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 5px;
  background: #003b5c;
  border-radius: 50%;
}

/* ========================================
   サイドバー：よく読まれる記事
======================================== */

.cws-sidebar-links {
  margin: 0 0 28px;
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 59, 92, 0.12);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(16, 38, 64, 0.06);
}

.cws-sidebar-links__label {
  margin: 0 0 8px;
  color: #b5832f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.cws-sidebar-links__title {
  margin: 0 0 16px;
  color: #003b5c;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.cws-sidebar-links__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cws-sidebar-links__list li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 59, 92, 0.1);
}

.cws-sidebar-links__list li:first-child {
  padding-top: 0;
}

.cws-sidebar-links__list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cws-sidebar-links__list a {
  color: #0066cc;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.65;
  text-decoration: none;
}

.cws-sidebar-links__list a:hover {
  color: #004a99;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

