/* ====================================================================
   Sol Home – 内部ページ共通スタイル（pages.css）
   対象：company / service / faq / contact / subsidy ページ
==================================================================== */

/* ── ページヒーロー ── */
.sol-pg-hero {
  background: linear-gradient(135deg, #0f5f30 0%, #1a8a47 50%, #0f5f30 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
}

.sol-pg-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.sol-pg-hero__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin: 0 0 .75rem;
}

.sol-pg-hero__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

.sol-pg-hero__title strong {
  color: #86efac;
}

.sol-pg-hero__desc {
  font-size: clamp(.9rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin: 0;
}

/* ── パンくずリスト ── */
.sol-pg-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: .65rem 1.5rem;
}

.sol-pg-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  font-size: .8rem;
  color: #64748b;
}

.sol-pg-breadcrumb__list li + li::before {
  content: '›';
  color: #94a3b8;
  margin-right: .25rem;
}

.sol-pg-breadcrumb__list a {
  color: #0f5f30;
  text-decoration: none;
}

.sol-pg-breadcrumb__list a:hover {
  text-decoration: underline;
}

/* ── セクション・コンテナ ── */
.sol-pg-section {
  padding: 4rem 1.5rem;
}

.sol-pg-container {
  max-width: 1080px;
  margin: 0 auto;
}

.sol-pg-section__title {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 800;
  color: #111;
  text-align: center;
  margin: 0 0 2.5rem;
}

/* ── ボタン ── */
.sol-pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  min-height: 48px;
  line-height: 1.3;
  white-space: nowrap;
  font-family: inherit;
}

.sol-pg-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.sol-pg-btn--primary {
  background: #06c755;
  color: #fff;
  border-color: #06c755;
}

.sol-pg-btn--sub {
  background: #fff;
  color: #0f5f30;
  border-color: #0f5f30;
}

.sol-pg-btn--outline {
  background: transparent;
  color: #0f5f30;
  border-color: #0f5f30;
}

.sol-pg-btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  min-height: 56px;
}

/* ── CTA セクション ── */
.sol-pg-cta-section {
  background: linear-gradient(160deg, #0d1f0d 0%, #162b16 60%, #0d1f0d 100%);
  text-align: center;
  color: #fff;
}

/* FAQ ページ CTA: ダークグリーン→ダーク系で高級感 */
.sol-faq-cta {
  background: linear-gradient(160deg, #1a1a1a 0%, #2a1a00 60%, #1a1a1a 100%);
}

.sol-faq-cta__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 .6rem;
}

.sol-faq-cta__title {
  color: #fff;
  margin-bottom: 1rem;
}
.sol-faq-cta__title strong {
  color: #ff9c42;
}

.sol-pg-cta-note {
  font-size: .93rem;
  color: rgba(255,255,255,.72);
  margin: 0 auto 1.75rem;
  max-width: 520px;
  line-height: 1.75;
}

.sol-pg-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* FAQ CTA の LINE ボタン: オレンジ */
.sol-faq-cta__line-btn {
  background: linear-gradient(135deg, #ff7a00, #ff9c42) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 32px rgba(255,122,0,.38);
}
.sol-faq-cta__line-btn:hover {
  box-shadow: 0 14px 42px rgba(255,122,0,.52);
  transform: translateY(-2px);
}

/* 電話ボタン: 白枠ゴースト */
.sol-faq-cta .sol-pg-btn--sub {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}
.sol-faq-cta .sol-pg-btn--sub:hover {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

/* 受付時間テキスト */
.sol-faq-cta__note-sub {
  margin: 1.25rem 0 0;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

/* ── 共通メリットグリッド ── */
.sol-pg-merit-bar {
  background: #f8fafc;
}

.sol-pg-merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sol-pg-merit {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  text-align: center;
}

.sol-pg-merit__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .75rem;
}

.sol-pg-merit strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #0f5f30;
  margin-bottom: .5rem;
}

.sol-pg-merit p {
  font-size: .875rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   サービスページ
================================================================ */

.sol-service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.sol-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.sol-service-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sol-service-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.sol-service-card__badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 999px;
  border: 1px solid #fcd34d;
  margin-bottom: .4rem;
}

.sol-service-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.sol-service-card__desc {
  color: #374151;
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.sol-service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sol-service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: #374151;
  padding-left: .25rem;
}

.sol-service-card__list li::before {
  content: '✓';
  color: #0f5f30;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .05em;
}

.sol-service-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ================================================================
   FAQページ – アコーディオン
   ■ 仕組み:
     .sol-faq-item__a        → grid コンテナ（grid-template-rows: 0fr ↔ 1fr）
     .sol-faq-item__a__inner → min-height:0 + overflow:hidden で clip
   ■ 状態管理: JS が .is-open を付け外し
   ■ デザイン: 閉じた状態=白カード / 開いた状態=薄オレンジ背景
   ================================================================ */

/* アコーディオン全体 */
.sol-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  /* ★ FAQ 横幅を少し狭めて 1 行あたりの文字数を最適化 */
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ── カード外枠 ── */
.sol-faq-item {
  background: #fff;
  border: 1.5px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  /* ★ border・shadow を滑らかにトランジション */
  transition: border-color .22s ease, box-shadow .22s ease;
}
/* 開いた状態: オレンジ系ボーダー・シャドウ */
.sol-faq-item:has(.sol-faq-item__q[aria-expanded="true"]) {
  border-color: #ffd0a1;
  box-shadow: 0 6px 24px rgba(255,122,0,.12);
}

/* ── 質問ボタン ── */
.sol-faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  transition: background .2s ease, color .2s ease;
  font-family: inherit;
  min-height: 62px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sol-faq-item__q:hover {
  background: #fafafa;
}
/* ★ 開いた状態: 薄オレンジ背景 */
.sol-faq-item__q[aria-expanded="true"] {
  background: #fff4e7;
  color: #b84a00;
}
.sol-faq-item__q:focus-visible {
  outline: 2px solid #ff7a00;
  outline-offset: -2px;
}

/* ── Q ラベル（丸バッジ） ── */
.sol-faq-item__q-label {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  border-radius: 50%;
  transition: background .2s ease;
}
/* 開いた状態: Q ラベルをオレンジに */
.sol-faq-item__q[aria-expanded="true"] .sol-faq-item__q-label {
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
}

/* ── 質問テキスト ── */
.sol-faq-item__q-text {
  flex: 1;
  min-width: 0; /* テキストが溢れない */
}

/* ── カテゴリーバッジ ── */
.sol-faq-item__q-cat {
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 700;
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: .15rem .65rem;
  display: none;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.sol-faq-item__q[aria-expanded="true"] .sol-faq-item__q-cat {
  background: #fff4e7;
  border-color: #ffd0a1;
  color: #b84a00;
}

/* ── ＋ アイコン（+→×に回転） ── */
.sol-faq-item__q-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
  /* ★ 回転アニメーション（+→×で45°） */
  transition: background .2s ease, transform .3s cubic-bezier(.4, 0, .2, 1);
}
.sol-faq-item__q[aria-expanded="true"] .sol-faq-item__q-icon {
  background: #ffe0b2;
  transform: rotate(45deg);
}
.sol-faq-item__q-icon::before,
.sol-faq-item__q-icon::after {
  content: '';
  position: absolute;
  background: #64748b;
  border-radius: 2px;
  transition: background .2s ease;
}
/* 横棒 */
.sol-faq-item__q-icon::before {
  width: 52%; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
/* 縦棒 */
.sol-faq-item__q-icon::after {
  width: 2px; height: 52%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.sol-faq-item__q[aria-expanded="true"] .sol-faq-item__q-icon::before,
.sol-faq-item__q[aria-expanded="true"] .sol-faq-item__q-icon::after {
  background: #ff7a00;
}

/* ════════════════════════════════════════════════════════════
   回答パネル — CSS Grid トリック
   ★ .sol-faq-item__a__inner に min-height:0 が必須
      これがないと Firefox でパネルが閉じない
   ════════════════════════════════════════════════════════════ */
.sol-faq-item__a {
  display: grid;
  grid-template-rows: 0fr;           /* 閉じた状態: 高さ 0 */
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1);
}
.sol-faq-item__a.is-open {
  grid-template-rows: 1fr;           /* 開いた状態: フル高さ */
}

/* ★ min-height:0 は Firefox でのグリッド折り畳みに必須 */
.sol-faq-item__a__inner {
  overflow: hidden;
  min-height: 0;                     /* ← Firefox 対応: これがないと閉じない */
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1.25rem;
  /* ★ 薄オレンジ背景（オレンジ質問と統一感） */
  background: #fff9f4;
  border-top: 1px solid #ffd0a1;
}

/* ── A ラベル（丸バッジ） ── */
.sol-faq-item__a-label {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff4e7;
  color: #c05a00;
  font-size: .82rem;
  font-weight: 900;
  border-radius: 50%;
  border: 1px solid #ffd0a1;
  margin-top: .1rem;
}

/* ── 回答テキスト ── */
.sol-faq-item__a p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.82;
  color: #374151;
}

/* ── FAQ下 CTA セクション: 余白調整 ── */
.sol-faq-page .sol-faq-list-section {
  padding-bottom: 2.5rem;
}
.sol-faq-page .sol-pg-cta-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.sol-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.sol-contact-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.sol-contact-card--featured {
  border-color: #06c755;
  background: #f0fdf4;
}

.sol-contact-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #06c755;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: .25rem .75rem;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.sol-contact-card__icon {
  font-size: 3rem;
  display: block;
  margin: .5rem 0 .75rem;
}

.sol-contact-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 .5rem;
}

.sol-contact-card__desc {
  font-size: .875rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.sol-contact-card__detail {
  font-size: .8rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

/* お問い合わせ種別カード */
.sol-contact-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.sol-contact-type-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  font-family: inherit;
  text-decoration: none;
  display: block;
}

.sol-contact-type-card:hover {
  border-color: #0f5f30;
  box-shadow: 0 4px 16px rgba(15,95,48,.12);
}

.sol-contact-type-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .75rem;
}

.sol-contact-type-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 .4rem;
}

.sol-contact-type-card__desc {
  font-size: .8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* タイプカード: ボタン */
.sol-contact-type-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f5f30, #1a8a47);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 40px;
  width: 100%;
}
.sol-contact-type-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,95,48,.28);
  color: #fff;
}

/* アクティブ（選択中）のタイプカード */
.sol-contact-type-card--active {
  border-color: #0f5f30;
  background: #f0fdf4;
  box-shadow: 0 4px 16px rgba(15,95,48,.15);
}
.sol-contact-type-card--active .sol-contact-type-card__btn {
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  box-shadow: 0 8px 20px rgba(255,122,0,.32);
}

/* 相談タイプ バナー（?type= 指定時） */
.sol-contact-type-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid rgba(15,95,48,.22);
  border-radius: 12px;
  padding: .9rem 1.25rem;
  margin: 0 auto 0;
  max-width: 860px;
  flex-wrap: wrap;
}
.sol-contact-type-banner__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.sol-contact-type-banner__text {
  flex: 1 1 0;
  font-size: .9rem;
  color: #0f5f30;
  font-weight: 700;
  line-height: 1.55;
}
.sol-contact-type-banner__text strong {
  color: #ff7a00;
}
.sol-contact-type-banner__link {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: #0f5f30;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease;
}
.sol-contact-type-banner__link:hover {
  background: #1a8a47;
  color: #fff;
}
@media (max-width: 640px) {
  .sol-contact-type-banner {
    padding: .8rem 1rem;
    gap: .6rem;
  }
  .sol-contact-type-banner__link {
    width: 100%;
    justify-content: center;
  }
}

/* お問い合わせフォーム */
.sol-contact-form-section {
  background: #f8fafc;
}

.sol-contact-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.sol-contact-form-note {
  font-size: .875rem;
  color: #475569;
  text-align: center;
  margin: -1.25rem 0 2rem;
}

.sol-form-field {
  margin-bottom: 1.25rem;
}

.sol-form-field label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: .4rem;
}

.sol-form-field .sol-required {
  color: #dc2626;
  font-size: .75rem;
  margin-left: .35rem;
}

.sol-form-field input[type="text"],
.sol-form-field input[type="email"],
.sol-form-field input[type="tel"],
.sol-form-field select,
.sol-form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  box-sizing: border-box;
  min-height: 48px;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}

.sol-form-field input:focus,
.sol-form-field select:focus,
.sol-form-field textarea:focus {
  border-color: #0f5f30;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,95,48,.1);
}

.sol-form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.sol-form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.sol-form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: #0f5f30;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 56px;
  min-width: 200px;
  font-family: inherit;
  transition: opacity .2s;
}

.sol-form-submit-btn:hover {
  opacity: .88;
}

.sol-form-submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.sol-form-privacy-note {
  font-size: .78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

.sol-form-status {
  min-height: 1.5rem;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

.sol-form-status--success { color: #0f5f30; }
.sol-form-status--error   { color: #dc2626; }

/* 会社情報テーブル */
.sol-contact-info-section {
  background: #fff;
}

.sol-contact-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.sol-contact-info-table th,
.sol-contact-info-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.sol-contact-info-table th {
  width: 30%;
  font-weight: 700;
  color: #374151;
  background: #f8fafc;
  white-space: nowrap;
}

.sol-contact-info-table td {
  color: #111;
}

.sol-contact-info-table a {
  color: #0f5f30;
  text-decoration: none;
}

/* ================================================================
   お問い合わせページ 拡張スタイル（page-contact.php 新フォーム対応）
   ★ クラスプレフィックス: sol-cpf__ （Sol Contact Page Form）
================================================================ */

/* ── 連絡方法グリッド（3列）── */
.sol-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

/* ── 相談タイプグリッド（2〜3列）── */
.sol-contact-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* ── 連絡先カード 色バリアント ── */
.sol-contact-card--line {
  border-color: #06c755;
  background: #f0fdf4;
}
.sol-contact-card--tel {
  border-color: #ff7a00;
  background: #fff4e7;
}
.sol-contact-card--mail {
  border-color: #6366f1;
  background: #f5f3ff;
}

/* ── 連絡先カード アイコン色 ── */
.sol-contact-card--line .sol-contact-card__icon { color: #06c755; }
.sol-contact-card--tel  .sol-contact-card__icon { color: #ff7a00; }
.sol-contact-card--mail .sol-contact-card__icon { color: #6366f1; }

/* ── カード内ボタン（共通）── */
.sol-contact-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .7rem 1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  min-height: 46px;
  font-family: inherit;
  color: #fff;
  margin-top: .25rem;
}
.sol-contact-card__btn:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff;
}

/* ── LINE・電話・メール ボタン色 ── */
.sol-contact-card__btn--line { background: #06c755; }
.sol-contact-card__btn--tel  { background: linear-gradient(135deg, #ff7a00, #ff9c42); }
.sol-contact-card__btn--mail { background: #4f46e5; }

/* ── フォームカード（page-contact.php 新フォーム用コンテナ）── */
.sol-contact-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

/* ================================================================
   sol-cpf__ フォームフィールド
================================================================ */

/* フォーム全体 */
.sol-cpf {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* フィールドグループ */
.sol-cpf__group {
  margin-bottom: 1.35rem;
}
.sol-cpf__group:last-child {
  margin-bottom: 0;
}

/* ラベル */
.sol-cpf__label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: .45rem;
  line-height: 1.4;
}

/* 必須・任意バッジ */
.sol-cpf__req,
.sol-cpf__opt {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  padding: .1rem .55rem;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.5;
}
.sol-cpf__req {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.sol-cpf__opt {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* テキスト入力・セレクト */
.sol-cpf__input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  box-sizing: border-box;
  min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.sol-cpf__input:focus {
  border-color: #ff7a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}
.sol-cpf__input::placeholder {
  color: #94a3b8;
}

/* テキストエリア */
.sol-cpf__textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: .95rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  box-sizing: border-box;
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.sol-cpf__textarea:focus {
  border-color: #ff7a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}
.sol-cpf__textarea::placeholder {
  color: #94a3b8;
}

/* エラーメッセージ（個別フィールド）*/
.sol-cpf__err {
  display: none;
  font-size: .78rem;
  color: #dc2626;
  margin-top: .3rem;
  font-weight: 600;
}
.sol-cpf__group.has-error .sol-cpf__err {
  display: block;
}
.sol-cpf__group.has-error .sol-cpf__input,
.sol-cpf__group.has-error .sol-cpf__textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

/* フォーム全体エラー */
.sol-cpf__form-error {
  display: none;
  padding: .85rem 1.1rem;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 700;
  color: #dc2626;
  text-align: center;
  white-space: pre-wrap;
  margin-top: .75rem;
}
.sol-cpf__form-error.is-visible {
  display: block;
}

/* チェックボックスグループ */
.sol-cpf__checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: .25rem;
}
.sol-cpf__check-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  color: #374151;
  cursor: pointer;
  line-height: 1.4;
  padding: .35rem .75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.sol-cpf__check-label:hover {
  border-color: #ff7a00;
  background: #fff4e7;
}
.sol-cpf__check-label input[type="checkbox"] {
  accent-color: #ff7a00;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sol-cpf__check-label:has(input:checked) {
  border-color: #ff7a00;
  background: #fff4e7;
  color: #b84a00;
  font-weight: 700;
}

/* ラジオボタングループ */
.sol-cpf__radios {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  margin-top: .25rem;
}
.sol-cpf__radio-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  color: #374151;
  cursor: pointer;
  padding: .35rem .75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.sol-cpf__radio-label:hover {
  border-color: #ff7a00;
  background: #fff4e7;
}
.sol-cpf__radio-label input[type="radio"] {
  accent-color: #ff7a00;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sol-cpf__radio-label:has(input:checked) {
  border-color: #ff7a00;
  background: #fff4e7;
  color: #b84a00;
  font-weight: 700;
}

/* ── ファイルアップロードエリア ── */
.sol-cpf__upload-area {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.sol-cpf__upload-area:hover,
.sol-cpf__upload-area.is-dragover {
  border-color: #ff7a00;
  background: #fff4e7;
}
.sol-cpf__file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.sol-cpf__upload-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: block;
}
.sol-cpf__upload-text {
  font-size: .88rem;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}
.sol-cpf__upload-text small {
  font-size: .78rem;
  color: #94a3b8;
}
.sol-cpf__upload-hint {
  font-size: .78rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

/* ── 2列グリッド行（キャパシティ並列など）── */
.sol-cpf__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sol-cpf__row2 .sol-cpf__group {
  margin-bottom: 0;
}

/* ── 送信ボタンエリア ── */
.sol-cpf__submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}
.sol-cpf__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  min-height: 58px;
  min-width: 240px;
  font-family: inherit;
  box-shadow: 0 10px 32px rgba(255, 122, 0, .35);
  transition: opacity .2s, transform .15s, box-shadow .2s;
  letter-spacing: .02em;
}
.sol-cpf__submit:hover {
  opacity: .93;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 122, 0, .48);
}
.sol-cpf__submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sol-cpf__submit-label {
  pointer-events: none;
}

/* ── プライバシーノート ── */
.sol-cpf__privacy-note {
  font-size: .78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.65;
  margin: 0;
}
.sol-cpf__privacy-note a {
  color: #0f5f30;
  text-decoration: underline;
}

/* ── 送信完了表示 ── */
.sol-cpf__success {
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.sol-cpf__success-icon {
  font-size: 3rem;
  line-height: 1;
}
.sol-cpf__success-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f5f30;
  margin: 0;
}
.sol-cpf__success-body {
  font-size: .95rem;
  color: #374151;
  line-height: 1.75;
  margin: 0;
}
.sol-cpf__success-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.sol-cpf__success-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #0f5f30;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .9rem;
}
.sol-cpf__line-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .9rem 2rem;
  background: #06c755;
  color: #fff;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  min-height: 50px;
}
.sol-cpf__line-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff;
}

/* ── レスポンシブ ── */
@media (max-width: 767px) {
  .sol-contact-grid {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .sol-contact-type-grid {
    grid-template-columns: 1fr;
  }
  .sol-contact-form-card {
    padding: 1.5rem 1.1rem;
    border-radius: 14px;
  }
  .sol-cpf__row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sol-cpf__row2 .sol-cpf__group {
    margin-bottom: 1.35rem;
  }
  .sol-cpf__submit {
    width: 100%;
    min-width: unset;
  }
}

@media (min-width: 768px) {
  .sol-contact-grid {
    gap: 1.5rem;
  }
  .sol-contact-form-card {
    padding: 3rem;
  }
}

/* ================================================================
   補助金ページ
================================================================ */

.sol-subsidy-notice-section {
  padding: 2rem 1.5rem;
}

.sol-subsidy-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.sol-subsidy-notice__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.sol-subsidy-notice__text {
  font-size: .9rem;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

.sol-subsidy-group {
  margin-bottom: 2.5rem;
}

.sol-subsidy-group:last-child {
  margin-bottom: 0;
}

.sol-subsidy-group__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f5f30;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #bbf7d0;
}

.sol-subsidy-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
}

.sol-subsidy-item__name {
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 .5rem;
}

.sol-subsidy-item__body {
  font-size: .9rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 .5rem;
}

.sol-subsidy-item__note {
  font-size: .8rem;
  color: #92400e;
  background: #fffbeb;
  border-left: 3px solid #fcd34d;
  padding: .35rem .75rem;
  margin: .5rem 0 0;
  border-radius: 0 4px 4px 0;
}

.sol-subsidy-city-lead {
  font-size: .95rem;
  color: #475569;
  line-height: 1.7;
  margin: -1.5rem 0 1.5rem;
  text-align: center;
}

.sol-subsidy-city-table {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.sol-subsidy-city-table__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0f5f30;
  color: #fff;
}

.sol-subsidy-city-table__head > div {
  padding: .75rem 1rem;
  font-size: .85rem;
  font-weight: 700;
}

.sol-subsidy-city-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e2e8f0;
}

.sol-subsidy-city-table__row:nth-child(even) {
  background: #f8fafc;
}

.sol-subsidy-city-table__row > div {
  padding: .75rem 1rem;
  font-size: .875rem;
  color: #374151;
}

.sol-subsidy-city-note {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.6;
  margin: .5rem 0 0;
}

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

@media (min-width: 600px) {
  .sol-service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  /* タブレット以上でカテゴリーバッジを表示 */
  .sol-faq-item__q-cat {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 599px) {
  /* スマホ: タップしやすい高さ・読みやすいフォントに */
  .sol-faq-item__q {
    min-height: 66px;
    font-size: .95rem;
    padding: 1rem;
    gap: .6rem;
    line-height: 1.55;
  }
  .sol-faq-item__q-label {
    width: 1.75rem;
    height: 1.75rem;
    font-size: .78rem;
  }
  .sol-faq-item__q-icon {
    width: 1.35rem;
    height: 1.35rem;
  }
  .sol-faq-item__a__inner {
    padding: 1rem;
    gap: .55rem;
  }
  .sol-faq-item__a-label {
    width: 1.75rem;
    height: 1.75rem;
    font-size: .78rem;
  }
  .sol-faq-item__a p {
    font-size: .9rem;
    line-height: 1.78;
  }
  /* スマホ: FAQ全体の横余白を確保 */
  .sol-faq-page .sol-faq-list-section {
    padding: 2rem 1rem 2rem;
  }
}

@media (min-width: 768px) {
  .sol-pg-hero {
    padding: 5rem 2rem 4.5rem;
  }

  .sol-pg-section {
    padding: 5rem 2rem;
  }

  .sol-pg-merit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sol-service-card__cta {
    flex-direction: row;
  }

  .sol-contact-form {
    padding: 3rem;
  }

  .sol-contact-info-table th {
    width: 25%;
  }
}

@media (max-width: 599px) {
  .sol-pg-section {
    padding: 3rem 1.25rem;
  }

  .sol-service-card {
    padding: 1.5rem;
  }

  .sol-contact-form {
    padding: 1.5rem 1.25rem;
  }

  .sol-contact-info-table th {
    width: 35%;
    white-space: normal;
  }

  .sol-subsidy-city-table__head,
  .sol-subsidy-city-table__row {
    grid-template-columns: 1.2fr .8fr;
  }

  .sol-pg-merit-grid {
    grid-template-columns: 1fr;
  }

  .sol-subsidy-notice {
    flex-direction: column;
    gap: .5rem;
  }
}
