@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}



.type-post h1 {
  font-size: 2.25rem;
  margin-top: 0;
  border-bottom: 3px solid #2D8C3C;
  padding-bottom: 16px;
}

.type-post h2 {
font-size: 1.875rem;
    border-left: 5px solid #2D8C3C;
    padding-left: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #E8F5EA;
    border-radius: 0 4px 4px 0;
}
.type-post h3 {
font-size: 1.3rem;
    border-bottom: 1px dashed #E2E8F0;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    padding: 0;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* ─── リスト ────────────────────────────────────────────────── */

.type-post ul,
.type-post ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 24px;
}

.type-post li {
  margin-bottom: 8px;
  line-height: 1.9;
}

.type-post ul li::marker {
  color: #2D8C3C;
}


/* ─── 汎用テーブル（comparison-table 以外） ────────────────── */

.type-post .table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.type-post .generic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: #fff;
}

.type-post .generic-table th {
  background: #E8F5EA;
  color: #276749;
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
  border-bottom: 2px solid #2D8C3C;
  border-right: 1px solid #9AE6B4;
  white-space: nowrap;
}

.type-post .generic-table th:last-child { border-right: none; }

.type-post .generic-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #E2E8F0;
  border-right: 1px solid #F0F4F8;
  color: #4A5568;
  vertical-align: middle;
  line-height: 1.7;
}

.type-post .generic-table td:last-child { border-right: none; }
.type-post .generic-table tr:last-child td { border-bottom: none; }

.type-post .generic-table tbody tr:nth-child(even) td { background: #F8FFFE; }
.type-post .generic-table tbody tr:hover td { background: #E8F5EA; transition: background 0.15s ease; }







.type-post .comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  border: 1px solid #E2E8F0;
}

.type-post .comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: #fff;
  white-space: nowrap;
}

.type-post .comparison-table thead th {
  background: #2D8C3C;
  color: #fff;
  font-weight: 600;
  padding: 16px 20px;
  text-align: left;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.type-post .comparison-table thead th:first-child {
  border-radius: 12px 0 0 0;
}

.type-post .comparison-table thead th:last-child {
  border-radius: 0 12px 0 0;
}

.type-post .comparison-table tbody tr {
  border-bottom: 1px solid #E2E8F0;
  transition: background 0.15s ease;
}

.type-post .comparison-table tbody tr:last-child {
  border-bottom: none;
}

.type-post .comparison-table tbody tr:hover {
  background: #E8F5EA;
}

.type-post .comparison-table tbody td {
  padding: 16px 20px;
  vertical-align: middle;
  color: #4A5568;
  white-space: normal;
}

.type-post .comparison-table tbody td:first-child {
  font-weight: 600;
  color: #1A1A2E;
  white-space: nowrap;
}

.type-post .comparison-table .badge-recommend {
  display: inline-block;
  background: #2D8C3C;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 4px;
  vertical-align: middle;
}










/* ─── サービス詳細カード ────────────────────────────────────── */

/* 主な機能タグ */
.service-features {
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0 20px;
}
.service-features .sf-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.service-features .sf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-features .sf-tag {
  background: #fff;
  border: 1px solid #CBD5E0;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: #4A5568;
  line-height: 1.5;
}

/* 料金プラン */
.service-pricing {
  border-left: 4px solid #ECC94B;
  background: #FFFFF0;
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  margin: 16px 0 20px;
}
.service-pricing .sp-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #975A16;
  margin-bottom: 10px;
}
.service-pricing .sp-list {
  margin: 0;
  padding-left: 18px;
}
.service-pricing .sp-list li {
  font-size: 0.875rem;
  color: #4A5568;
  margin-bottom: 4px;
  line-height: 1.7;
}

/* メリット・デメリット 2カラムグリッド */
.service-merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 20px;
}
.service-pros {
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  border-radius: 10px;
  padding: 16px 20px;
}
.service-pros .spros-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #276749;
  margin-bottom: 10px;
}
.service-pros ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-pros li {
  font-size: 0.875rem;
  color: #276749;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.service-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #38A169;
}
.service-cons {
  background: #FFF5F5;
  border: 1px solid #FEB2B2;
  border-radius: 10px;
  padding: 16px 20px;
}
.service-cons .scons-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #9B2C2C;
  margin-bottom: 10px;
}
.service-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-cons li {
  font-size: 0.875rem;
  color: #744210;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.service-cons li::before {
  content: '△';
  position: absolute;
  left: 0;
  color: #E53E3E;
}

/* こんな企業に */
.service-recommend {
  background: #EBF8FF;
  border-left: 4px solid #4299E1;
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  margin: 16px 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.service-recommend .srec-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2B6CB0;
  white-space: nowrap;
  background: #BEE3F8;
  padding: 3px 10px;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-recommend .srec-text {
  font-size: 0.875rem;
  color: #2C5282;
  margin: 0;
  line-height: 1.7;
}



/* ─── ステップ見出し（選び方・チェックポイント系） ─────────── */

.type-post h3.step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  border-left: 4px solid #2D8C3C;
  border-bottom: 1px solid #9AE6B4;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  font-size: 1.125rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.type-post .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: #2D8C3C;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── 記事レベル メリット・デメリット見出し ────────────────── */

.type-post h3.merit-heading {
  background: #F0FFF4;
  border-left: 5px solid #38A169;
  border-bottom: none;
  border-radius: 0 6px 6px 0;
  padding: 12px 18px;
  color: #276749;
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.type-post h3.demerit-heading {
  background: #FFF5F5;
  border-left: 5px solid #E53E3E;
  border-bottom: none;
  border-radius: 0 6px 6px 0;
  padding: 12px 18px;
  color: #9B2C2C;
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

/* ─── チェックリスト ─────────────────────────────────────────── */

.type-post .check-list {
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 16px 0 24px;
}

.type-post .check-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.type-post .check-list li {
  font-size: 0.9rem;
  color: #276749;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}

.type-post .check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #2D8C3C;
}

/* ─── 注意・ポイントボックス ─────────────────────────────────── */

.type-post .point-box {
  background: #EBF8FF;
  border-left: 4px solid #4299E1;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: #2C5282;
  line-height: 1.8;
}

.type-post .point-box .pb-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2B6CB0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ─── レスポンシブ ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .type-post {
    padding: 24px 16px;
  }

  .type-post h1 { font-size: 1.875rem; }
  .type-post h2 { font-size: 1.5rem; }
  .type-post h3 { font-size: 1.25rem; }

  .type-post .cta-block {
    padding: 32px 20px;
  }

  .type-post .cta-block .cta-badges {
    gap: 12px;
  }

  .type-post .service-merit-grid {
    grid-template-columns: 1fr;
  }
}

.type-post p{
	    font-size: 16px;
}









.cta-block {
  background: linear-gradient(135deg, #2D8C3C 0%, #236B2E 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  margin: 48px 0;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-block .cta-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-block .cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.cta-block .cta-desc {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.9;
  color: #fff;
}
.cta-block .cta-note {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 8px;
  color: #fff;
}
.cta-block .cta-button {
  display: inline-block;
  background: #fff;
  color: #236B2E;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 20px;
}
.cta-block .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  color: #236B2E;
  text-decoration: none;
}
.cta-block .cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  opacity: 0.9;
  color: #fff;
}
.cta-block .cta-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cta-block.cta-compact {
  padding: 24px 24px;
  margin: 32px 0;
}
.cta-block.cta-compact .cta-title {
  font-size: 1.25rem;
}
.cta-block.cta-compact .cta-desc {
  font-size: 1rem;
  margin-bottom: 16px;
}
.rc-tg-overlay{position:absolute;bottom:0;left:0;right:0;height:190px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.96) 48%,#fff 100%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:24px;pointer-events:none;}
.rc-tg-btn{pointer-events:auto;background:#2563eb;color:#fff;border:none;border-radius:8px;padding:14px 36px;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px rgba(37,99,235,.38);transition:background .15s,transform .1s;}
.rc-tg-btn:hover{background:#1d4ed8;transform:translateY(-1px);}




.dl-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #222;
}
.dl-modal-sub {
  font-size: 13px;
  color: #555;
  margin: 0 0 20px;
  line-height: 1.6;
}
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.required-mark {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  margin-bottom: 16px;
  outline: none;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus {
  border-color: #1a73e8;
}
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: #1a73e8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 4px;
}
.wpcf7-form input[type="submit"]:hover {
  background: #1558b0;
}
.dl-modal-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 14px;
}