/* ===================================================
   誠和企画 レイアウト差別化オーバーライド
   ベース：青（コーポレート）
   差し込みアクセント：赤・黒（ロゴ由来）
   =================================================== */

:root {
  --seiwa-red: #C8161D;       /* ロゴの赤 */
  --seiwa-red-dark: #9F1116;  /* 赤ホバー */
  --seiwa-black: #1A1A1A;     /* ロゴの黒 */
}

/* ---- セクションラベル（英字小見出し）→ 赤アクセント ---- */
.section-label {
  color: var(--seiwa-red) !important;
  letter-spacing: 0.3em;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--seiwa-red);
}
.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

/* ---- セクションタイトル下線：青→赤に置換（強調感）---- */
.section-title::after {
  background: var(--seiwa-red) !important;
  width: 56px !important;
  height: 3px !important;
}

/* ---- license-bar + header を sticky で並列配置（隙間ゼロ）---- */
.license-bar {
  background: var(--seiwa-black) !important;
  border-top: 3px solid var(--seiwa-red) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1090 !important;
  padding: 6px 0 !important;
  font-size: 12px !important;
  line-height: 1.4;
}
/* ヘッダーは license-bar の直下に sticky で続く */
.header {
  position: sticky !important;
  top: auto !important;
  z-index: 1080 !important;
}
/* HERO は flow 通り直接続く（margin-top をリセット）*/
.hero {
  margin-top: 0 !important;
  height: calc(100vh - 130px) !important;
  min-height: 540px !important;
}
.scroll-progress {
  top: 0 !important;
}
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* SP では license-bar を非表示（ハンバーガー妨害防止）*/
@media (max-width: 1024px) {
  .license-bar { display: none !important; }
  .header { position: sticky !important; top: 0 !important; }
  .hero { margin-top: 0 !important; height: auto !important; min-height: 480px !important; }
}

/* ---- ヘッダー下端：赤の細ライン（差し込み）---- */
.header {
  border-bottom: 1px solid #D4DEE9 !important;
  position: relative;
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 30%,
    var(--seiwa-red) 30%,
    var(--seiwa-red) 33%,
    var(--seiwa-black) 33%,
    var(--seiwa-black) 36%,
    #1A8FE0 36%,
    #1A8FE0 100%
  );
}

/* ---- フッター上端：3色帯（赤・黒・青）の差し込み ---- */
.footer {
  position: relative;
  border-top: none !important;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--seiwa-red) 0%,
    var(--seiwa-red) 33%,
    var(--seiwa-black) 33%,
    var(--seiwa-black) 66%,
    #0E4D8C 66%,
    #0E4D8C 100%
  );
}

/* ---- HEROスタッツの「無料査定」を赤強調＋大きく（PC）---- */
.hero-stat:nth-child(2) .hero-stat-num {
  color: var(--seiwa-red) !important;
  font-size: 64px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.hero-stat:nth-child(2) .hero-stat-num span {
  font-size: 22px !important;
}
.hero-stat:nth-child(2) .hero-stat-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

/* ---- スマホでは控えめに（はみ出し防止）---- */
@media (max-width: 768px) {
  .hero-stats {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-end;
  }
  .hero-stat {
    flex: 1;
    min-width: 0;
  }
  .hero-stat-num {
    font-size: 22px !important;
    line-height: 1.1 !important;
  }
  .hero-stat-num span {
    font-size: 11px !important;
  }
  .hero-stat-label {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
  .hero-stat:nth-child(2) .hero-stat-num {
    font-size: 36px !important;
  }
  .hero-stat:nth-child(2) .hero-stat-num span {
    font-size: 13px !important;
  }
  .hero-stat:nth-child(2) .hero-stat-label {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }
}
@media (max-width: 480px) {
  .hero-stat:nth-child(2) .hero-stat-num {
    font-size: 28px !important;
  }
  .hero-stat-num { font-size: 18px !important; }
}

/* ---- 売却プランを見る（btn-ghost）：背景白 反転で見える化 ---- */
.hero .btn-ghost {
  background: rgba(255,255,255,0.95) !important;
  color: #062F5C !important;
  border: 2px solid #fff !important;
  font-weight: 700 !important;
}
.hero .btn-ghost:hover {
  background: var(--seiwa-red) !important;
  color: #fff !important;
  border-color: var(--seiwa-red) !important;
}

/* ---- 「無料」「不要」など強調語 → 赤 ---- */
.qp-badge {
  background: var(--seiwa-red) !important;
}
.qp-list li::before {
  color: var(--seiwa-red) !important;
}

/* ---- value-card REASON番号 → 赤 ---- */
.value-card-no {
  color: var(--seiwa-red) !important;
}
.value-points li::before {
  color: var(--seiwa-red) !important;
}

/* ---- service-stripe 番号 → 黒、矢印 → 赤 ---- */
.service-stripe-num {
  color: var(--seiwa-black) !important;
  border-right-color: var(--seiwa-red) !important;
}
.service-stripe-points li::before {
  color: var(--seiwa-red) !important;
}
.service-stripe-link {
  color: var(--seiwa-red) !important;
}
.service-stripe-link:hover {
  color: var(--seiwa-red-dark) !important;
}

/* ---- property-types：上ボーダーを赤に統一 ---- */
.pt-card {
  border-top-color: var(--seiwa-red) !important;
}
.pt-card:hover {
  border-top-color: var(--seiwa-red-dark) !important;
}
.pt-icon-svg {
  color: #0E4D8C; /* 通常時は青 */
}
.pt-card:hover .pt-icon-svg {
  color: var(--seiwa-red);
}

/* ---- 業者買取プラン推奨色：赤の薄い帯 ---- */
.plan-card:first-child {
  border-top-color: var(--seiwa-red) !important;
}
.plan-card:first-child .plan-recommend {
  background: var(--seiwa-red) !important;
  border-color: var(--seiwa-red) !important;
}

/* ---- license-bar の左テキスト：赤丸 bullet ---- */
.license-bar-left span {
  position: relative;
  padding-left: 12px;
}
.license-bar-left span:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--seiwa-red);
  border-radius: 50%;
}

/* ---- 「お問合せ・無料査定」ヘッダーCTA：逆色（赤強調）---- */
.header-cta .btn-primary {
  background: var(--seiwa-red) !important;
  color: #fff !important;
  border: 2px solid var(--seiwa-red) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}
.header-cta .btn-primary:hover {
  background: #fff !important;
  color: var(--seiwa-red) !important;
}

/* ---- Sticky CTA 上端：赤に ---- */
.refit-sticky-cta {
  border-top-color: var(--seiwa-red) !important;
}


/* ---- LOGO 画像差替（seiwakikaku.png）---- */
.header-logo {
  background: none !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.header-logo > * { display: block !important; }
.header-logo-icon {
  width: 64px;
  height: 64px;
  background: url('../img/logo-seiwa.png') center/contain no-repeat !important;
  flex-shrink: 0;
}
.header-logo-icon::before { content: none !important; display: none !important; }
.header-logo-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #062F5C;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.header-logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: #5A6B7C;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .header-logo-icon { width: 48px; height: 48px; }
  .header-logo-text { font-size: 12px; }
  .header-logo-text small { font-size: 10px; }
}

/* Footer logo */
.footer-logo {
  background: none !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  filter: none !important;
}
.footer-logo > * { display: block !important; }
.footer-logo-icon {
  width: 56px;
  height: 56px;
  background: url('../img/logo-seiwa.png') center/contain no-repeat #fff !important;
  background-image: url('../img/logo-seiwa.png') !important;
  flex-shrink: 0;
}
.footer-logo-icon::before { content: none !important; display: none !important; }
.footer-logo-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.footer-logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ---- モバイルメニュー：ロゴ＋会社名を上部に表示 ---- */
.header-nav.mobile-open {
  padding: 0 !important;
  width: 300px !important;
}
.header-nav.mobile-open::before {
  content: '株式会社誠和企画';
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 96px;
  padding-left: 90px;
  padding-right: 16px;
  background: #062F5C url('../img/logo-seiwa.png') no-repeat 18px center / 60px 60px;
  border-bottom: 3px solid var(--seiwa-red);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}
.header-nav.mobile-open a {
  padding: 18px 24px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  font-size: 14px !important;
  color: var(--seiwa-black) !important;
  position: relative;
}
.header-nav.mobile-open a:hover {
  background: #F2F6FB !important;
  color: var(--seiwa-red) !important;
}

/* モバイルメニュー：閉じるボタン（最下部） */
.mobile-close-btn {
  display: none;  /* desktopでは非表示 */
}
.header-nav.mobile-open .mobile-close-btn,
body .mobile-close-btn {
  /* mobile-open時の表示は下のメディアクエリで */
}
.header-nav.mobile-open .mobile-close-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 24px 24px 16px;
  padding: 14px 20px;
  background: var(--seiwa-black);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  width: calc(100% - 48px);
  box-sizing: border-box;
  transition: background 0.2s;
}
.header-nav.mobile-open .mobile-close-btn:hover {
  background: var(--seiwa-red);
}

/* ---- HEROスライダー：額・余白・ボーダー完全除去 ---- */
.hero-slides,
.hero-slide,
.hero-slide img {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.hero-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.hero {
  background: #062F5C !important;
}
.hero-photo {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ---- グラデーション・ぼかし全排除（AIっぽいフラット化） ---- */
.header { background: rgba(255,255,255,0.98) !important; backdrop-filter: none !important; }
.header-tel { background: #fff !important; border-left: 1px solid #D4DEE9 !important; }

/* PLAN cards: グラデ廃止、フラット＋ボーダー */
.plan-card {
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #D4DEE9 !important;
  border-top: 4px solid #0E4D8C !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
}
.plan-card.popular {
  border-top: 4px solid #1A8FE0 !important;
  border-color: #1A8FE0 !important;
}
.plan-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: 0;
  right: 0;
  background: #1A8FE0;
  color: #fff;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
}
.plan-header {
  background: #062F5C !important;
  background-image: none !important;
  color: #fff;
  padding: 28px 24px !important;
  position: relative;
}
.plan-card.popular .plan-header {
  background: #0E4D8C !important;
}
.plan-recommend {
  background: rgba(255,255,255,0.1) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 12px !important;
  font-size: 12px !important;
  display: inline-block;
}
.plan-name { color: #fff !important; }
.plan-eng { color: rgba(255,255,255,0.7) !important; letter-spacing: 0.2em; }
.plan-price { color: #fff !important; font-size: 26px !important; }
.plan-btn {
  background: #062F5C !important;
  background-image: none !important;
  border-radius: 0 !important;
}
.plan-card.popular .plan-btn {
  background: #1A8FE0 !important;
}

/* CTA ボタン グラデ排除 */
.btn-primary {
  background: #0E4D8C !important;
  background-image: none !important;
  filter: none !important;
}
.btn-primary:hover {
  background: #062F5C !important;
  filter: none !important;
  transform: none !important;
}
.btn-primary::before { display: none !important; }
.btn:hover { filter: none !important; transform: none !important; }

/* hero-content overlay グラデ排除 */
.hero-slide::after {
  background: rgba(6,47,92,0.45) !important;
  background-image: none !important;
}

/* CTA box グラデ排除 */
.cta-box {
  background: #F2F6FB !important;
  background-image: none !important;
  border: 1px solid #D4DEE9 !important;
}

/* section-ocean グラデ排除 */
.section-ocean::before {
  background: #EAF1F8 !important;
  background-image: none !important;
}
.section-ocean {
  background: #EAF1F8 !important;
  background-image: none !important;
}

/* 上付き光彩・separator帯グラデ排除 → 単色線 */
.separator, .divider {
  background: #D4DEE9 !important;
  background-image: none !important;
}

/* 全SVG fill #c24e22 / #e06938 / #08d863 など旧カラー除去 */
.btn-line, .btn-line:hover { display: none !important; }

/* AIっぽいハイライト：薄い格子の追加（任意） */
.section-warm {
  background-image:
    linear-gradient(rgba(14,77,140,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,77,140,0.025) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  background-position: 0 0 !important;
}



/* ---- 上部 免許情報バンド ---- */
.license-bar {
  background: #062F5C;
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
  letter-spacing: 0.04em;
}
.license-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.license-bar-left { display: flex; gap: 16px; flex-wrap: wrap; }
.license-bar-left span { color: rgba(255,255,255,0.85); }
.license-bar-right { color: rgba(255,255,255,0.7); font-size: 11px; }
@media (max-width: 768px) {
  .license-bar { font-size: 10px; padding: 4px 0; }
  .license-bar-right { display: none; }
}

/* ---- HERO redesign: 右の儀式写真 → 査定フォームパネル ---- */
.hero-quote-panel {
  background: rgba(255,255,255,0.96);
  border: 2px solid #0E4D8C;
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: 0 12px 40px rgba(6,47,92,0.18);
  width: 320px;
}
.hero-quote-panel .qp-badge {
  display: inline-block;
  background: #1A8FE0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.hero-quote-panel .qp-title {
  font-size: 20px;
  font-weight: 700;
  color: #0E2336;
  margin-bottom: 6px;
  line-height: 1.4;
}
.hero-quote-panel .qp-sub {
  font-size: 12px;
  color: #5A6B7C;
  margin-bottom: 16px;
  line-height: 1.6;
}
.hero-quote-panel .qp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.hero-quote-panel .qp-list li {
  font-size: 13px;
  color: #0E2336;
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dotted #D4DEE9;
}
.hero-quote-panel .qp-list li::before {
  content: "✓";
  color: #1A8FE0;
  font-weight: 700;
  position: absolute;
  left: 0;
}
.hero-quote-panel .qp-cta {
  display: block;
  background: #0E4D8C;
  color: #fff !important;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  margin-bottom: 8px;
  transition: background 0.2s;
}
.hero-quote-panel .qp-cta:hover { background: #062F5C; }
.hero-quote-panel .qp-tel {
  display: block;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #062F5C;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.hero-quote-panel .qp-tel small {
  display: block;
  font-size: 11px;
  color: #5A6B7C;
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0;
}
@media (max-width: 1180px) {
  .hero-quote-panel { display: none; }
}

/* ---- SERVICE 横長3ストライプ（元 FLEET 3-card grid を上書き） ---- */
.service-stripe-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1200px;
  margin: 24px auto 0;
  border-top: 1px solid #D4DEE9;
}
.service-stripe {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 20px;
  border-bottom: 1px solid #D4DEE9;
  background: #fff;
  transition: background 0.2s;
}
.service-stripe:hover { background: #F2F6FB; }
.service-stripe-num {
  font-family: var(--en);
  font-size: 36px;
  font-weight: 700;
  color: #1A8FE0;
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
  padding-right: 16px;
  border-right: 3px solid #0E4D8C;
}
.service-stripe-body { padding: 0 20px; }
.service-stripe-name {
  font-size: 22px;
  font-weight: 700;
  color: #062F5C;
  margin-bottom: 6px;
}
.service-stripe-desc {
  font-size: 14px;
  color: #2C3E50;
  line-height: 1.7;
  margin: 0;
}
.service-stripe-tag {
  display: inline-block;
  background: #EAF1F8;
  color: #0E4D8C;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .service-stripe { grid-template-columns: 60px 1fr; gap: 12px; padding: 20px 12px; }
  .service-stripe-tag { display: none; }
  .service-stripe-num { font-size: 26px; padding-right: 8px; }
  .service-stripe-name { font-size: 17px; }
  .service-stripe-desc { font-size: 13px; }
}

/* ---- 物件種別カード（充実版）---- */
.property-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 32px auto 0;
}
.pt-card {
  background: #fff;
  border: 1px solid #D4DEE9;
  border-top: 4px solid #0E4D8C;
  padding: 32px 20px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.pt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14,77,140,0.15);
  border-top-color: #1A8FE0;
}
.pt-icon-svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #1A8FE0;
}
.pt-icon-svg svg {
  width: 100%;
  height: 100%;
}
.pt-name {
  font-size: 18px;
  font-weight: 700;
  color: #062F5C;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.pt-desc {
  font-size: 13px;
  color: #2C3E50;
  line-height: 1.7;
  margin: 0 0 16px;
}
.pt-meta {
  font-size: 11px;
  color: #5A6B7C;
  background: #F2F6FB;
  padding: 8px 10px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.pt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: auto;
}
.pt-tags span {
  font-size: 10px;
  color: #0E4D8C;
  background: #fff;
  border: 1px solid #B8C7D8;
  padding: 3px 8px;
  letter-spacing: 0.04em;
}
.pt-note {
  font-size: 12px;
  color: #5A6B7C;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .property-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .property-types { grid-template-columns: 1fr; }
}

/* ---- AREA リスト（バー無し・テキストのみ）---- */
.area-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 32px auto 0;
}
.area-item {
  background: #fff;
  border: 1px solid #D4DEE9;
  padding: 18px 12px;
  text-align: center;
}
.area-item-name {
  font-size: 16px;
  font-weight: 700;
  color: #062F5C;
  margin-bottom: 6px;
}
.area-item-note {
  font-size: 12px;
  color: #5A6B7C;
}
@media (max-width: 768px) {
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---- No.1 バッジ削除 ---- */
.plan-table thead th.popular-col::before {
  content: none !important;
  display: none !important;
}
.plan-table thead th.popular-col {
  background: #1A8FE0 !important;
}
.plan-table tbody td.popular-col {
  background: rgba(26,143,224,0.05) !important;
}

/* ---- 明朝強制ゴシック化（残った直書き対策）---- */
.plan-name, .plan-eng, .plan-recommend, .plan-price,
.fleet-name, .ship-name, .route-name-lg, .article-title,
.section-title, .cta-title, .reason-title,
.hero-copy, .hero-label, .hero-sub,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans) !important;
}

/* ---- FLOW 横並び4カード（元縦timeline 上書き） ---- */
.flow-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 32px auto 0;
}
.flow-card-tile {
  background: #fff;
  border: 1px solid #D4DEE9;
  padding: 24px 18px;
  text-align: left;
  position: relative;
  border-top: 4px solid #1A8FE0;
}
.flow-card-tile::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  width: 16px;
  height: 16px;
  background: #1A8FE0;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.flow-card-tile:last-child::before { display: none; }
.flow-card-tile .fc-step {
  font-family: var(--en);
  font-size: 12px;
  color: #1A8FE0;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 4px;
}
.flow-card-tile .fc-num {
  font-family: var(--en);
  font-size: 32px;
  font-weight: 700;
  color: #062F5C;
  line-height: 1;
  margin-bottom: 12px;
}
.flow-card-tile .fc-title {
  font-size: 16px;
  font-weight: 700;
  color: #062F5C;
  margin-bottom: 8px;
}
.flow-card-tile .fc-desc {
  font-size: 13px;
  color: #2C3E50;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 980px) {
  .flow-cards-row { grid-template-columns: repeat(2, 1fr); }
  .flow-card-tile::before { display: none; }
}
@media (max-width: 480px) {
  .flow-cards-row { grid-template-columns: 1fr; }
}

/* ---- VALUE PROPOSITION 充実版（写真大きめ）---- */
.value-card {
  border-top: 4px solid #1A8FE0 !important;
  background: #fff !important;
  padding: 0 0 32px !important;
  position: relative;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.value-card .value-photo {
  height: 220px !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #EAF1F8;
  border: none !important;
}
.value-card .value-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.value-card-no,
.value-title,
.value-text,
.value-points,
.value-data {
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 768px) {
  .value-card .value-photo { height: 180px !important; }
}
.value-card-no {
  font-family: var(--en);
  font-size: 11px;
  color: #1A8FE0;
  letter-spacing: 0.25em;
  font-weight: 700;
  margin-bottom: 6px;
}
.value-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #062F5C !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
.value-text {
  font-size: 14px !important;
  color: #2C3E50 !important;
  line-height: 1.85 !important;
  margin-bottom: 18px !important;
  text-align: left !important;
}
.value-points {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
}
.value-points li {
  font-size: 13px !important;
  color: #062F5C;
  padding: 8px 0 8px 24px;
  border-bottom: 1px dotted #D4DEE9;
  position: relative;
  line-height: 1.5;
}
.value-points li:last-child { border-bottom: none; }
.value-points li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 8px;
  color: #1A8FE0;
  font-weight: 700;
}
.value-data {
  text-align: left !important;
  font-family: var(--en) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #0E4D8C !important;
  letter-spacing: 0 !important;
  margin-top: auto !important;
  padding-top: 16px;
  border-top: 2px solid #EAF1F8;
}
.value-data small {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #5A6B7C !important;
  margin-left: 8px;
}

/* ---- SERVICE STRIPE 充実版 ---- */
.service-stripe-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 12px;
}
.service-stripe-points li {
  font-size: 13px;
  color: #2C3E50;
  padding: 4px 0 4px 22px;
  position: relative;
  line-height: 1.6;
}
.service-stripe-points li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  top: 4px;
  color: #1A8FE0;
}
.service-stripe-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1A8FE0;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.service-stripe-link:hover {
  color: #062F5C;
}
.service-stripe {
  align-items: flex-start !important;
  padding: 32px 24px !important;
}
.service-stripe-num {
  padding-top: 4px;
}

/* ---- セクション区切り 斜めバー追加 ---- */
.section-warm, .section-blue {
  position: relative;
}
.section-warm::before, .section-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #1A8FE0 50%, transparent 100%);
}

/* ---- ボタン形状 シャープに ---- */
.btn { border-radius: 2px !important; }
.btn-primary { background: #0E4D8C !important; }
.btn-primary:hover { background: #062F5C !important; }
.btn-ghost { border: 2px solid #0E4D8C !important; color: #0E4D8C !important; }
.btn-ghost:hover { background: #0E4D8C !important; color: #fff !important; }

/* ---- セクションタイトル下線スタイル ---- */
.section-title {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 32px !important;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #1A8FE0;
}

/* ---- フッター 4カラム化（PC）／ 2カラム（スマホ）---- */
.footer-inner {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start !important;
}
.footer-nav {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  border: none !important;
  padding: 0 !important;
}
@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 20px !important;
  }
  /* 1番目のbrand要素は2カラムまたいで全幅に */
  .footer-inner > .footer-brand {
    grid-column: 1 / -1 !important;
    margin-bottom: 12px;
  }
  /* 旧構造（footer-nav 単独）の場合、2カラムで横並び表示 */
  .footer-inner > .footer-nav {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }
  .footer-nav a { font-size: 13px !important; }
}

/* ---- ページ全体タイポグラフィ調整（より企業色強く）---- */
body { font-size: 16px !important; line-height: 1.8 !important; }
.hero-copy {
  font-size: 48px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.4 !important;
  color: #fff !important;
}
.hero-sub { font-size: 16px !important; line-height: 2 !important; color: #fff !important; }
.hero-label { color: #fff !important; opacity: 0.92 !important; }
.hero-cta-note { color: rgba(255,255,255,0.85) !important; }
.hero-stat-num,
.hero-stat-label { color: #fff !important; }
/* 「0円 / 無料査定」だけは赤強調を維持 */
.hero-stat:nth-child(2) .hero-stat-num { color: var(--seiwa-red) !important; }

@media (max-width: 768px) {
  .hero-copy { font-size: 28px !important; }
  .hero-sub { font-size: 14px !important; }
}
