@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/
/*========= 投稿ページを固定ページの幅に合わせる =========*/

/* PC表示（1240px以上）*/
@media only screen and (min-width: 1240px) {
  .single .wrap,
  .single #inner-content {
    max-width: 1180px !important;
    width: 100% !important;
  }
}

/* タブレット・PC表示（1030px以上）*/
@media only screen and (min-width: 1030px) {
  .single .wrap,
  .single #inner-content {
    max-width: 1180px !important;
    width: 100% !important;
  }
  
  /* メインカラムとサイドバーの比率調整 */
  .single .d-5of7 {
    width: 68% !important;
  }
  
  .single .d-2of7 {
    width: 32% !important;
  }
}
/* ==================== CTAエリア最適化版 ==================== */

.cta-area-optimized {
  padding: 40px 0;
  width: 100%;
}

.cta-container-optimized {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* 責任者メッセージヘッダー（グリーン背景） */
.cta-header-optimized {
  background: linear-gradient(135deg, #4b8e70 0%, #3d7359 100%);
  color: white;
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.manager-photo-optimized {
  flex-shrink: 0;
}

.manager-photo-optimized img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  background-color: white;
  padding: 3px;
}

.manager-message-optimized {
  flex: 1;
  min-width: 250px;
}

.manager-company {
  font-size: 12px;
  margin-bottom: 5px;
  opacity: 0.85;
}

.manager-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.manager-quote {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}

/* CTA本体（白背景） */
.cta-body-optimized {
  padding: 35px 30px;
  background-color: white;
}

.cta-title-optimized {
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
  color: #333;
  font-weight: bold;
}

/* 電話ボタン（上段） */
.cta-phone-wrapper {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.cta-btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #4b8e70;
  color: white;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(75, 142, 112, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 280px;
}

.cta-btn-phone:hover {
  background-color: #3d7359;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(75, 142, 112, 0.4);
}

.cta-btn-phone .btn-icon {
  font-size: 24px;
}

/* メール・LINEボタン（下段・横並び） */
.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.cta-btn-mail,
.cta-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
}

.cta-btn-mail {
  background-color: #e05c3d;
  box-shadow: 0 3px 10px rgba(224, 92, 61, 0.25);
}

.cta-btn-mail:hover {
  background-color: #c74d2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(224, 92, 61, 0.35);
}

.cta-btn-line {
  background-color: #06c755;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.25);
}

.cta-btn-line:hover {
  background-color: #05b04a;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(6, 199, 85, 0.35);
}

.cta-btn-mail .btn-icon,
.cta-btn-line .btn-icon {
  font-size: 18px;
}

/* 補足情報 */
.cta-info-optimized {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 25px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* 信頼ポイント */
.cta-trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 20px;
  background-color: #f8faf9;
  border-radius: 10px;
  border: 1px solid #e0e7e4;
}

.trust-point {
  text-align: center;
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 6px;
  color: #4b8e70;
}

.trust-text {
  font-size: 14px;
  font-weight: bold;
  color: #4b8e70;
  line-height: 1.3;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .cta-area-optimized {
    padding: 30px 15px;
  }

  .cta-header-optimized {
    padding: 25px 20px;
    flex-direction: column;
    text-align: center;
  }

  .manager-photo-optimized {
    margin: 0 auto;
  }

  .manager-message-optimized {
    min-width: 100%;
  }

  .cta-body-optimized {
    padding: 30px 20px;
  }

  .cta-title-optimized {
    font-size: 20px;
  }

  .cta-btn-phone {
    padding: 16px 30px;
    font-size: 18px;
    min-width: 100%;
    max-width: 100%;
  }

  .cta-buttons-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn-mail,
  .cta-btn-line {
    min-width: 100%;
    max-width: 100%;
  }

  .cta-trust-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .manager-name {
    font-size: 18px;
  }

  .manager-quote {
    font-size: 13px;
  }

  .cta-btn-phone {
    font-size: 16px;
    padding: 14px 20px;
  }

  .cta-btn-phone .btn-icon {
    font-size: 20px;
  }
}
/* 査定方法セクション */
.assessment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.assessment-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
}

.assessment-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.assessment-email {
  border-top: 4px solid #4A90E2;
}

.assessment-line {
  border-top: 4px solid #06C755;
}

.assessment-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.assessment-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.assessment-button-email {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.assessment-button-line {
  background: linear-gradient(135deg, #06C755 0%, #05A344 100%);
}

.assessment-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.assessment-button .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.assessment-button:hover .arrow {
  transform: translateX(4px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .assessment-methods {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 16px;
  }
  
  .assessment-box {
    padding: 28px 20px;
  }
  
  .assessment-button {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
  }
}
/* カスタムH2スタイル - 背景画像一枚版 */
.custom-title-h2 {
  position: relative;
  background: linear-gradient(to bottom, #3d6b1f 0%, #2d5016 100%);
  padding: 10px 40px; 
  margin: 40px 0 30px;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 下の吹き出し三角 */
.custom-title-h2::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 20px 0 20px;
  border-color: #2d5016 transparent transparent transparent;
}

/* 顔写真 */
.custom-title-h2::after {
  content: '';
  width: 80px;
  height: 80px;
  background-image: url('https://chatbk.jp/oumiya/kaitori/wp-content/uploads/2025/11/sekinin.png'); /* 背景透過PNG */
  background-size: cover;
  background-position: center;
  border-radius: 50%; /* 丸く */
  flex-shrink: 0;
  margin-left: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .custom-title-h2 {
    font-size: 20px;
    padding: 10px 15px;
    min-height: 100px;
  }
  
  .custom-title-h2::after {
    width: 60px;
    height: 60px;
  }
}