/* =============================================
   ミライコンパス - メインCSS
   ============================================= */

:root {
  --primary:   #FF6B35;
  --secondary: #4ECDC4;
  --accent:    #FFE66D;
  --purple:    #A855F7;
  --navy:      #1a1a2e;
  --bg:        #FFFBF5;
  --text:      #2D2D2D;
  --card-bg:   #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* =============================================
   ナビゲーション
   ============================================= */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,251,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--navy); }

.nav-menu {
  display: flex; gap: 8px; list-style: none;
}
.nav-menu a {
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 0.88rem;
  padding: 8px 16px; border-radius: 999px;
  transition: all 0.2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  background: var(--primary); color: white;
}
/* ページ別アクティブカラー */
.nav-menu .page-school.current-menu-item a   { background: var(--primary); }
.nav-menu .page-exam.current-menu-item a     { background: var(--secondary); color: var(--navy); }
.nav-menu .page-career.current-menu-item a   { background: var(--purple); }

/* ハンバーガー（SP用） */
.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   ページ共通
   ============================================= */
.site-main { padding-top: 64px; min-height: calc(100vh - 160px); }

.section {
  padding: 80px 5%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 900; letter-spacing: 2px;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 16px; color: white;
}
.tag-orange { background: var(--primary); }
.tag-teal   { background: var(--secondary); color: var(--navy); }
.tag-purple { background: var(--purple); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--navy); line-height: 1.3;
}
.section-sub {
  color: #666; margin-top: 12px;
  font-size: 1rem; line-height: 1.7;
}

/* =============================================
   カード共通
   ============================================= */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.base-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}
.base-card:hover { transform: translateY(-4px); }

/* =============================================
   フッター
   ============================================= */
.site-footer {
  background: var(--navy); color: white;
  text-align: center; padding: 40px 5%;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--primary); margin-bottom: 8px;
}
.footer-copy { font-size: 0.82rem; opacity: 0.5; }

/* =============================================
   ユーティリティ
   ============================================= */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  font-weight: 900; font-size: 0.9rem; cursor: pointer; border: none;
  font-family: inherit; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 4px 20px rgba(255,107,53,0.4); }
.btn-teal   { background: var(--secondary); color: var(--navy); }
.btn-purple { background: var(--purple); color: white; }

.badge-good { background: rgba(78,205,196,0.15); color: var(--secondary); border-radius: 6px; padding: 2px 8px; font-weight: 700; font-size: 0.8rem; }
.badge-mid  { background: rgba(255,230,109,0.30); color: #b8860b;          border-radius: 6px; padding: 2px 8px; font-weight: 700; font-size: 0.8rem; }
.badge-low  { background: rgba(255,107,53,0.10);  color: var(--primary);   border-radius: 6px; padding: 2px 8px; font-weight: 700; font-size: 0.8rem; }

/* =============================================
   アニメーション
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease both; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(8deg); }
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
  .card-grid-2,
  .card-grid-3 { grid-template-columns: 1fr; }

  .site-nav { padding: 0 4%; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 16px; border-bottom: 2px solid var(--accent); gap: 4px; }
  .nav-menu.is-open { display: flex; }
  .nav-toggle { display: flex; }

  .section { padding: 60px 4%; }
}

/* =============================================
   トップページ追加コンテンツ
   ============================================= */
.home-extra { padding-top: 0; }

/* ミライ診断バナー */
.home-shindan-banner {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 48px;
  display: flex; align-items: center;
  gap: 32px;
}
.hsb-text { flex: 1; }
.hsb-label {
  display: inline-block;
  background: var(--accent); color: var(--navy);
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hsb-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 900; color: white; line-height: 1.4; margin-bottom: 8px;
}
.hsb-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.hsb-btn {
  display: inline-block; padding: 14px 28px;
  background: var(--primary); color: white;
  border-radius: 999px; font-weight: 900; font-size: 0.95rem;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: all 0.2s;
}
.hsb-btn:hover { transform: scale(1.04); box-shadow: 0 4px 20px rgba(255,107,53,0.4); }

/* 追加コンテンツタイトル */
.home-section-title {
  font-size: 1.2rem; font-weight: 900; color: var(--navy);
  margin-bottom: 20px;
}

/* 追加コンテンツカード */
.home-sub-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hsc-card {
  background: white; border-radius: 18px;
  border: 2px solid #f0f0f0;
  padding: 24px 20px;
  text-decoration: none; color: inherit;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hsc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.hsc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.hsc-title { font-size: 0.92rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.hsc-desc  { font-size: 0.78rem; color: #666; line-height: 1.6; margin-bottom: 10px; }
.hsc-arrow { font-size: 0.8rem; font-weight: 900; }

/* =============================================
   フッター（全面改修）
   ============================================= */
.site-footer {
  background: var(--navy); color: white;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 56px 5% 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem; font-weight: 900; color: var(--primary);
  margin-bottom: 14px;
}
.footer-about { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.8; }

.footer-nav-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-nav-label {
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px; margin: 0 auto;
  padding: 20px 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links a {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
  text-decoration: none; margin-left: 20px;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   ページトップへ戻るボタン
   ============================================= */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: white;
  border: none; font-size: 1.1rem; font-weight: 900;
  cursor: pointer; box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  opacity: 0; transform: translateY(12px);
  transition: all 0.3s;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: #e55a25; transform: translateY(-2px); }

/* =============================================
   各ページ末尾CTA（ページ間回遊ナビ）
   ============================================= */
.page-cta-nav {
  background: #f9f9f9; border-radius: 20px;
  padding: 36px 40px; margin: 48px 0 0;
  text-align: center;
}
.pcn-label {
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
  color: #aaa; margin-bottom: 12px;
}
.pcn-title { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.pcn-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pcn-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 900; text-decoration: none;
  border: 2px solid; transition: all 0.2s;
}
.pcn-link:hover { transform: translateY(-2px); }
.pcn-link.orange { color: var(--primary); border-color: var(--primary); }
.pcn-link.orange:hover { background: var(--primary); color: white; }
.pcn-link.teal   { color: var(--secondary); border-color: var(--secondary); }
.pcn-link.teal:hover   { background: var(--secondary); color: var(--navy); }
.pcn-link.purple { color: var(--purple); border-color: var(--purple); }
.pcn-link.purple:hover { background: var(--purple); color: white; }
.pcn-link.amber  { color: #F59E0B; border-color: #F59E0B; }
.pcn-link.amber:hover  { background: #F59E0B; color: white; }

/* =============================================
   レスポンシブ追加
   ============================================= */
@media (max-width: 768px) {
  .home-shindan-banner { flex-direction: column; padding: 28px 22px; gap: 20px; }
  .hsb-btn { width: 100%; text-align: center; }
  .home-sub-cards { grid-template-columns: 1fr; }
  .hsc-card { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-wrap { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .scroll-top-btn { bottom: 20px; right: 20px; }
  .page-cta-nav { padding: 28px 20px; }
}

/* =============================================
   運営者情報・お問い合わせページ
   ============================================= */

/* ヒーロー */
.about-hero {
  text-align: center; margin-bottom: 48px;
}
.about-eyebrow {
  display: inline-block;
  background: var(--accent); color: var(--navy);
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.about-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; color: var(--navy); margin-bottom: 10px;
}
.about-sub { font-size: 0.95rem; color: #666; line-height: 1.7; }

/* 2カラムグリッド */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 24px; margin-bottom: 56px;
}

/* プロフィールカード */
.about-profile-card {
  background: white; border-radius: 20px;
  border: 2px solid #f0f0f0; padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.apc-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
.apc-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.apc-label   { font-size: 0.7rem; font-weight: 900; color: #aaa; letter-spacing: 1.5px; margin-bottom: 3px; }
.apc-name    { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 2px; }
.apc-company { font-size: 0.82rem; color: #888; }
.apc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid #f8f8f8;
  gap: 12px;
}
.apc-row:last-child { border-bottom: none; }
.apc-key { font-size: 0.78rem; color: #aaa; font-weight: 700; flex-shrink: 0; }
.apc-val { font-size: 0.86rem; color: var(--navy); font-weight: 500; text-align: right; word-break: break-all; }

/* ミッションカード */
.about-mission-card {
  background: var(--navy); border-radius: 20px; padding: 36px;
}
.amc-label {
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 12px;
}
.amc-title {
  font-size: 1.4rem; font-weight: 900; color: white;
  line-height: 1.5; margin-bottom: 16px;
}
.amc-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 12px; }
.amc-text:last-child { margin-bottom: 0; }

/* お問い合わせセクション */
.contact-section { margin-bottom: 48px; }
.contact-header  { text-align: center; margin-bottom: 36px; }

.contact-form-wrap {
  max-width: 640px; margin: 0 auto;
  background: white; border-radius: 20px;
  border: 2px solid #f0f0f0; padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* フォーム要素 */
.mcf-row    { margin-bottom: 22px; }
.mcf-label  {
  display: block; font-size: 0.86rem; font-weight: 900;
  color: var(--navy); margin-bottom: 8px;
}
.mcf-req {
  display: inline-block; font-size: 0.68rem; font-weight: 900;
  background: var(--primary); color: white;
  padding: 1px 6px; border-radius: 4px; margin-left: 6px;
  vertical-align: middle;
}
.mcf-input {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 2px solid #e8e8e8; font-size: 0.92rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--navy); background: white;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.mcf-input:focus { outline: none; border-color: var(--primary); }
.mcf-select { cursor: pointer; }
.mcf-textarea { min-height: 140px; resize: vertical; line-height: 1.7; }

.mcf-note {
  font-size: 0.78rem; color: #999; line-height: 1.6;
  margin-bottom: 20px;
}
.mcf-note a { color: var(--primary); }

.mcf-submit {
  width: 100%; padding: 14px; border-radius: 12px;
  background: var(--primary); color: white; border: none;
  font-size: 1rem; font-weight: 900;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  cursor: pointer; transition: all 0.2s;
}
.mcf-submit:hover { background: #e55a25; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,53,0.35); }

.mcf-success {
  margin-top: 16px; padding: 14px 18px; border-radius: 10px;
  background: rgba(78,205,196,0.1); color: #0f6e56;
  font-size: 0.88rem; font-weight: 700;
}
.mcf-error {
  margin-top: 16px; padding: 14px 18px; border-radius: 10px;
  background: rgba(226,75,74,0.08); color: #791F1F;
  font-size: 0.88rem;
}
.mcf-error a { color: var(--primary); }

/* 直接メール */
.contact-direct {
  max-width: 640px; margin: 16px auto 0;
  text-align: center;
}
.cd-label { font-size: 0.78rem; color: #aaa; display: block; margin-bottom: 6px; }
.cd-email {
  font-size: 0.95rem; font-weight: 900;
  color: var(--primary); text-decoration: none;
}
.cd-email:hover { text-decoration: underline; }

/* レスポンシブ */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* =============================================
   プライバシーポリシーページ
   ============================================= */
.privacy-hero {
  text-align: center; margin-bottom: 48px;
}
.privacy-updated {
  font-size: 0.78rem; color: #aaa; margin-top: 8px;
}

.privacy-body {
  max-width: 800px; margin: 0 auto;
}

.privacy-intro {
  background: #f9f9f9; border-radius: 14px;
  padding: 20px 24px; font-size: 0.92rem;
  color: #555; line-height: 1.8;
  margin-bottom: 40px;
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
}

.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}
.privacy-section:last-child {
  border-bottom: none;
}

.privacy-h2 {
  font-size: 1.1rem; font-weight: 900;
  color: var(--navy); margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.privacy-h3 {
  font-size: 0.92rem; font-weight: 900;
  color: var(--navy); margin-bottom: 8px;
}

.privacy-section p {
  font-size: 0.88rem; color: #555; line-height: 1.9;
}

.privacy-section a {
  color: var(--primary); text-decoration: underline;
}

.privacy-card {
  background: white; border-radius: 14px;
  border: 1.5px solid #f0f0f0; padding: 20px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.privacy-list {
  list-style: none; padding: 0; margin-top: 12px;
}
.privacy-list li {
  font-size: 0.88rem; color: #555; line-height: 1.8;
  padding: 6px 0 6px 20px; position: relative;
  border-bottom: 1px solid #f8f8f8;
}
.privacy-list li:last-child { border-bottom: none; }
.privacy-list li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--primary); font-weight: 900;
}

.privacy-notice {
  background: rgba(255,230,109,0.15);
  border: 1px solid rgba(255,230,109,0.5);
  border-radius: 10px; padding: 12px 16px;
  font-size: 0.82rem; color: #666; line-height: 1.7;
  margin-top: 14px;
}

/* プライバシー テーブル */
.privacy-table {
  width: 100%; border-collapse: collapse;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 0.88rem;
}
.privacy-table th {
  background: var(--navy); color: white;
  padding: 12px 16px; text-align: left;
  width: 30%; font-weight: 700;
}
.privacy-table td {
  padding: 12px 16px; color: #444;
  border-bottom: 1px solid #f5f5f5;
  background: white;
}
.privacy-table tr:last-child td { border-bottom: none; }

/* お問い合わせ枠 */
.privacy-contact-box {
  background: white; border-radius: 14px;
  border: 2px solid #f0f0f0; padding: 20px 24px;
  margin-top: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.pcb-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid #f8f8f8;
}
.pcb-row:last-child { border-bottom: none; }
.pcb-key {
  font-size: 0.78rem; color: #aaa; font-weight: 700;
  width: 140px; flex-shrink: 0;
}
.pcb-val {
  font-size: 0.88rem; color: var(--navy); font-weight: 500;
}
.pcb-val a { color: var(--primary); text-decoration: none; }
.pcb-val a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .privacy-table th { width: 40%; }
  .pcb-key { width: 100px; }
}

/* =============================================
   Contact Form 7 スタイル上書き
   ============================================= */

/* フォーム全体 */
.wpcf7-form {
  display: grid; gap: 20px;
}

/* ラベル */
.wpcf7-form p {
  margin: 0 !important;
}
.wpcf7-form p > label,
.wpcf7-form label {
  display: block;
  font-size: 0.86rem; font-weight: 900;
  color: var(--navy); margin-bottom: 8px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* テキスト・メール・tel入力 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  border: 2px solid #e8e8e8 !important;
  font-size: 0.92rem !important;
  font-family: 'Zen Kaku Gothic New', sans-serif !important;
  color: var(--navy) !important;
  background: white !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--primary) !important;
}

/* テキストエリア */
.wpcf7-form textarea {
  min-height: 140px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100% !important;
  padding: 14px !important;
  border-radius: 12px !important;
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  font-family: 'Zen Kaku Gothic New', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  letter-spacing: 0.5px !important;
}
.wpcf7-form input[type="submit"]:hover {
  background: #e55a25 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(255,107,53,0.35) !important;
}

/* バリデーションエラー */
.wpcf7-not-valid {
  border-color: #E24B4A !important;
}
.wpcf7-not-valid-tip {
  font-size: 0.78rem !important;
  color: #A32D2D !important;
  margin-top: 4px !important;
  display: block !important;
}

/* 送信成功・失敗メッセージ */
.wpcf7-response-output {
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.86rem !important;
  margin: 12px 0 0 !important;
  border-width: 1px !important;
}
.wpcf7-mail-sent-ok {
  background: rgba(78,205,196,0.1) !important;
  border-color: var(--secondary) !important;
  color: #085041 !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background: rgba(226,75,74,0.06) !important;
  border-color: #E24B4A !important;
  color: #791F1F !important;
}

/* スピナー */
.wpcf7-spinner {
  display: none !important;
}

/* =============================================
   トップページ ブログ最新記事セクション
   ============================================= */
.home-blog-section { margin-top: 48px; }
.hbs-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.hbs-more {
  font-size: 0.86rem; font-weight: 900;
  color: var(--primary); text-decoration: none;
  transition: opacity 0.2s;
}
.hbs-more:hover { opacity: 0.7; }

.home-blog-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hbc-card {
  background: white; border-radius: 16px;
  border: 2px solid #f0f0f0; overflow: hidden;
  text-decoration: none; display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hbc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.hbc-thumb { aspect-ratio: 16/9; overflow: hidden; background: #f5f5f5; }
.hbc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hbc-thumb-empty {
  width: 100%; height: 100%; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #ddd;
  background: linear-gradient(135deg, rgba(255,107,53,.06), rgba(168,85,247,.06));
}
.hbc-body  { padding: 14px 16px; }
.hbc-cat   {
  display: inline-block; font-size: 0.68rem; font-weight: 900;
  background: var(--primary); color: white;
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.hbc-title {
  font-size: 0.88rem; font-weight: 900; color: var(--navy);
  line-height: 1.5; margin-bottom: 6px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hbc-date { font-size: 0.74rem; color: #aaa; }

@media (max-width: 768px) {
  .home-blog-cards { grid-template-columns: 1fr; }
  .hbs-head { flex-wrap: wrap; gap: 8px; }
}