/* =========================================================
   ALVEARE コーポレートサイト — プレーンHTML版 スタイルシート
   このファイル1枚で全ページの見た目を管理しています。
   色を変えたいときは、下の :root の値を書き換えてください。
   ========================================================= */

/* ---- 配色（ここを変えると全体の色が変わります） ---- */
:root {
  --primary: #1E2761;       /* メインのネイビー */
  --primary-900: #0B0F2E;   /* 濃いネイビー */
  --secondary: #00838F;     /* ティール（差し色） */
  --secondary-50: #E0F2F1;  /* 薄いティール */
  --secondary-300: #4DB6AC; /* 明るいティール */
  --accent: #E17055;        /* コーラル（CTAボタン） */
  --accent-600: #C4573E;
  --bg: #F5F7FA;            /* 薄いグレー背景 */
  --g200: #E2E8F0;         /* 罫線グレー */
  --g500: #636E72;         /* 補助テキスト */
  --g800: #2D3436;         /* 本文テキスト */
  --white: #FFFFFF;

  --shadow-card: 0 1px 3px rgba(30,39,97,.06), 0 1px 2px rgba(30,39,97,.04);
  --shadow-card-hover: 0 4px 12px rgba(30,39,97,.10), 0 2px 4px rgba(30,39,97,.06);

  --content: 1200px;        /* 中央コンテンツの最大幅 */
}

/* ---- リセット・基本 ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--g800);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 英字見出し用フォント */
.en { font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif; }

/* 中央寄せコンテナ */
.container {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション共通の上下余白 */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

/* セクション見出し */
.section-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: .15em; color: var(--secondary);
  text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-size: 24px; font-weight: 900; color: var(--primary);
  margin-bottom: 8px;
}
.section-lead { font-size: 14px; color: var(--g500); }
@media (min-width: 768px) { .section-title { font-size: 30px; } }

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

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s ease;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(225,112,85,.3); }
.btn-accent:hover { background: var(--accent-600); }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,.7); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-primary { background: var(--primary); color: #fff; }

/* =========================================================
   ヘッダー（全ページ共通）
   ※ 変更するときは各ページの同じ部分を直してください
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--g200);
}
.header-inner {
  max-width: var(--content); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo svg { width: 26px; height: 28px; }
.logo img { height: 34px; width: auto; display: block; }
.logo-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: .08em; color: var(--primary);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--primary); }
.nav a:hover { color: var(--secondary); }
.nav .btn { padding: 9px 22px; font-size: 13px; }
/* お問い合わせボタンは白文字（.nav a の色指定より優先させる） */
.nav a.btn-accent,
.nav a.btn-accent:hover { color: #fff; }

/* サービスのドロップダウン（CSSのみ・JS不要） */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--g200); border-radius: 8px;
  box-shadow: var(--shadow-card-hover); padding: 8px 0; min-width: 200px;
  opacity: 0; visibility: hidden; transition: all .15s ease;
}
.dropdown a { display: block; padding: 9px 18px; white-space: nowrap; }
.dropdown a:hover { background: var(--bg); }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; top: 115%; }

/* ハンバーガー（モバイル用） */
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); margin: 5px 0; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--g200);
    padding: 8px 20px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .has-dropdown:hover .dropdown { top: auto; }
}

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  /* 背景：ヒーロー画像の上にネイビーのグラデーションを重ねる */
  background:
    linear-gradient(135deg, rgba(30,39,97,.88) 0%, rgba(11,15,46,.82) 100%),
    url("../images/hero-bg.jpg");
  background-size: cover; background-position: center;
  color: #fff; padding: 72px 0;
}
.hero-inner {
  max-width: var(--content); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 40px;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-graphic { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-graphic img { width: 420px; max-width: 100%; height: auto; }
.hero h1 { font-size: 28px; font-weight: 900; line-height: 1.35; margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: 15px; color: #d1d5db; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .hero { padding: 100px 0; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 860px) {
  .hero-graphic { display: none; }  /* スマホでは図を非表示 */
}

/* =========================================================
   課題セクション
   ========================================================= */
.pain { background: var(--bg); }
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.pain-card {
  background: #fff; border-radius: 12px; padding: 28px; text-align: center;
  box-shadow: var(--shadow-card);
}
.pain-card .icon { font-size: 36px; margin-bottom: 16px; }
.pain-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--g500); }

/* =========================================================
   サービスセクション
   ========================================================= */
.cards-4 { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: #fff; border-left: 4px solid var(--secondary); border-radius: 12px;
  padding: 24px; text-align: left; box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); }
.service-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.service-card .ico { font-size: 30px; }
.service-card .badge {
  background: var(--secondary-50); color: var(--secondary);
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--g500); margin-bottom: 16px; }
.service-card .more { font-size: 13px; font-weight: 600; color: var(--secondary); }
.service-card .more:hover { text-decoration: underline; }

/* =========================================================
   数字セクション
   ========================================================= */
.numbers { background: var(--primary); color: #fff; }
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 16px; text-align: center; }
@media (min-width: 1024px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
.stat .value { font-family: "Plus Jakarta Sans", sans-serif; font-size: 44px; font-weight: 900; line-height: 1; }
.stat .value .unit { font-size: 20px; color: var(--secondary-300); }
.stat .label { font-size: 13px; color: #9ca3af; margin-top: 8px; }
.numbers .section-title { color: #fff; }

/* =========================================================
   導入事例セクション
   ========================================================= */
.works-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: box-shadow .2s ease;
}
.work-card:hover { box-shadow: var(--shadow-card-hover); }
.work-card .thumb { aspect-ratio: 16/9; background: var(--g200); object-fit: cover; width: 100%; }
.work-card .body { padding: 20px; }
.work-card .industry {
  display: inline-block; background: var(--secondary-50); color: var(--secondary);
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.work-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.5; }
.work-card .result { font-size: 13px; color: var(--g500); }
.center-link { text-align: center; margin-top: 40px; }
.center-link a { font-size: 14px; font-weight: 700; color: var(--secondary); }
.center-link a:hover { text-decoration: underline; }

/* =========================================================
   お知らせセクション
   ========================================================= */
.news { background: var(--bg); }
.news-list { max-width: 800px; margin: 40px auto 0; }
.news-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 18px 4px; border-bottom: 1px solid var(--g200);
}
.news-item .date { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; color: var(--g500); width: 92px; }
.news-item .cat { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.cat-green { background: #E0F2F1; color: var(--secondary); }
.cat-orange { background: #FBE9E7; color: var(--accent); }
.news-item .title { flex: 1; font-size: 14px; color: var(--g800); min-width: 200px; }
.news-item:hover .title { color: var(--secondary); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(135deg, #00838F 0%, #1E2761 100%);
  color: #fff; text-align: center; padding: 72px 20px;
}
.cta h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.cta p { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 32px; }
@media (min-width: 768px) { .cta h2 { font-size: 30px; } }

/* =========================================================
   フッター（全ページ共通）
   ========================================================= */
.site-footer { background: var(--primary-900); color: #9ca3af; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 12px; margin-top: 12px; line-height: 1.7; }
.footer-col h3 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 12px; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 10px; color: #6b7280;
}
.footer-bottom a:hover { color: #fff; }

/* 電話番号（SVGアウトライン：スクレイピング対策で文字列を残さない） */
.tel-svg { height: 1em; width: auto; display: inline-block; vertical-align: -0.1em; fill: currentColor; }

/* =========================================================
   スクロールでふわっと浮き上がる演出
   .reveal を付けた要素が画面に入ると .is-visible が付き、表示されます
   （ページ下部の小さなJavaScriptで制御）
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* JavaScriptが無効な環境でも内容は必ず表示する */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}

/* =========================================================
   下層ページ共通パーツ
   ========================================================= */

/* パンくず */
.breadcrumb { background: var(--bg); font-size: 12px; color: var(--g500); padding: 12px 0; }
.breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: #cbd5e1; }

/* ページ見出し（英字＋日本語） */
.page-hero { background: linear-gradient(135deg, #1E2761 0%, #0B0F2E 100%); color: #fff; text-align: center; padding: 56px 20px; }
.page-hero .en { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--secondary-300); text-transform: uppercase; margin-bottom: 6px; }
.page-hero h1 { font-size: 26px; font-weight: 900; letter-spacing: .05em; }
@media (min-width: 768px) { .page-hero h1 { font-size: 32px; } }

/* 見出し（セクション内・中央） */
.heading { text-align: center; margin-bottom: 40px; }
.heading .en { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--secondary); text-transform: uppercase; margin-bottom: 6px; }
.heading h2 { font-size: 24px; font-weight: 900; color: var(--primary); }
@media (min-width: 768px) { .heading h2 { font-size: 30px; } }

/* リード文 */
.lead-text { max-width: 820px; margin: 0 auto; font-size: 15px; line-height: 2; color: var(--g800); text-align: center; }

/* 汎用本文 */
.prose { max-width: 800px; margin: 0 auto; }
.prose p { font-size: 14px; color: var(--g800); line-height: 2; margin-bottom: 16px; }
.signature { text-align: right; margin-top: 24px; }
.signature .role { font-size: 12px; color: var(--g500); }
.signature .name { font-size: 18px; font-weight: 700; color: var(--primary); }

/* 沿革タイムライン */
.history { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 32px; box-shadow: var(--shadow-card); }
.history-row { display: flex; flex-direction: column; gap: 4px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--g200); }
.history-row:last-child { padding: 0; margin: 0; border-bottom: 0; }
.history-row .year { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; color: var(--secondary); }
.history-row .event { font-size: 14px; color: var(--g800); }
@media (min-width: 768px) { .history-row { flex-direction: row; gap: 24px; } .history-row .year { width: 110px; flex-shrink: 0; } }

/* 会社情報テーブル */
.profile-table { max-width: 800px; margin: 0 auto; border: 1px solid var(--g200); border-radius: 12px; overflow: hidden; }
.profile-row { display: flex; flex-direction: column; border-bottom: 1px solid var(--g200); }
.profile-row:last-child { border-bottom: 0; }
.profile-row .label { background: var(--bg); padding: 14px 20px; font-size: 13px; font-weight: 700; color: var(--primary); }
.profile-row .value { padding: 14px 20px; font-size: 14px; color: var(--g800); }
@media (min-width: 768px) { .profile-row { flex-direction: row; } .profile-row .label { width: 200px; flex-shrink: 0; background: transparent; border-right: 1px solid var(--g200); } }

/* 課題リスト */
.pain-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; padding: 0; }
.pain-list li { list-style: none; background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; font-size: 14px; box-shadow: var(--shadow-card); }

/* サービスメニュー（3列カード） */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-item { background: #fff; border-radius: 12px; padding: 24px; box-shadow: var(--shadow-card); text-align: left; }
.menu-item .ico { font-size: 28px; margin-bottom: 10px; }
.menu-item h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.menu-item p { font-size: 13px; color: var(--g500); line-height: 1.8; }

/* フロー（番号付きステップ） */
.flow-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .flow-grid { grid-template-columns: repeat(4, 1fr); } .flow-grid.cols5 { grid-template-columns: repeat(5, 1fr); } }
.flow-step { text-align: center; background: #fff; border-radius: 12px; padding: 24px 16px; box-shadow: var(--shadow-card); }
.flow-step .num { font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700; color: var(--secondary); display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--secondary-50); align-items: center; justify-content: center; margin-bottom: 12px; }
.flow-step h3 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.flow-step p { font-size: 12px; color: var(--g500); line-height: 1.7; }

/* 強み・特徴 */
.features { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border-radius: 12px; padding: 28px; box-shadow: var(--shadow-card); }
.feature .ico { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.feature p { font-size: 13px; color: var(--g500); line-height: 1.9; }

/* タグ（技術スタック等） */
.tag-group { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .tag-group { grid-template-columns: repeat(2, 1fr); } }
.tag-box { background: #fff; border-radius: 12px; padding: 22px; box-shadow: var(--shadow-card); }
.tag-box h3 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--bg); border: 1px solid var(--g200); border-radius: 999px; padding: 4px 14px; font-size: 12px; color: var(--g800); }

/* アクセス：地図埋め込み */
.map-embed { max-width: 1000px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.office-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--g200); border-radius: 12px; padding: 32px; text-align: center; box-shadow: var(--shadow-card); }
.office-card .company { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.office-card .addr { font-size: 14px; color: var(--g800); line-height: 2; }
.office-card .tel-line { margin-top: 16px; font-weight: 700; color: var(--primary); display: flex; justify-content: center; align-items: center; gap: 8px; }

/* お問い合わせ 準備中 */
.notice-card { max-width: 720px; margin: 0 auto; background: var(--bg); border: 1px solid var(--g200); border-radius: 12px; padding: 48px 24px; text-align: center; }
.notice-card .circle { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--secondary-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.notice-card h2 { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.notice-card p { font-size: 14px; color: var(--g800); line-height: 1.9; margin-bottom: 24px; }
.notice-card .tel-line { font-weight: 700; color: var(--primary); font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.notice-card .hours { font-size: 12px; color: var(--g500); margin-top: 10px; }

/* 番号SVG（imgで読み込む版も同じ見た目に） */
img.tel-svg { height: 1em; width: auto; display: inline-block; vertical-align: -0.1em; }

/* 関連リンクのCTAボタン中央寄せ */
.btn-center { text-align: center; margin-top: 8px; }

/* プライバシーポリシー本文 */
.policy { max-width: 820px; margin: 0 auto; }
.policy h2 { font-size: 17px; font-weight: 700; color: var(--primary); border-left: 4px solid var(--secondary); padding-left: 14px; margin: 32px 0 14px; }
.policy p { font-size: 14px; color: var(--g800); line-height: 1.95; margin-bottom: 12px; }
.policy ol { padding-left: 20px; }
.policy ol li { font-size: 14px; color: var(--g800); line-height: 1.9; margin-bottom: 10px; }
.policy .revisions { font-size: 13px; color: var(--g500); margin-top: 24px; }

/* =========================================================
   実例（事例）詳細ページ
   ========================================================= */
.case-hero { background: linear-gradient(135deg, #1E2761 0%, #0B0F2E 100%); color: #fff; text-align: center; padding: 60px 20px; }
.case-hero .badge2 { display: inline-block; background: rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.case-hero h1 { font-size: 24px; font-weight: 900; max-width: 900px; margin: 0 auto; line-height: 1.5; }
.case-hero .sub { font-size: 16px; font-weight: 700; color: var(--secondary-300); margin-top: 14px; }
@media (min-width: 768px) { .case-hero h1 { font-size: 30px; } }

.case-meta { background: var(--bg); padding: 32px 20px; }
.case-meta .grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.case-meta .label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--g500); margin-bottom: 6px; }
.case-meta .val { font-size: 14px; font-weight: 700; color: var(--g800); }

.case-body { max-width: 860px; margin: 0 auto; padding: 56px 20px; }
.case-block { margin-bottom: 44px; }
.case-block:last-child { margin-bottom: 0; }
.case-block .en { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--secondary); margin-bottom: 8px; }
.case-block h2 { font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.case-block p { font-size: 14px; line-height: 1.95; color: var(--g800); white-space: pre-wrap; }

.case-result { background: var(--primary); color: #fff; padding: 56px 20px; }
.case-result .heading .en { color: var(--secondary-300); }
.case-result .heading h2 { color: #fff; }
.result-highlights { max-width: 1000px; margin: 0 auto 36px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.result-highlights .hl { text-align: center; padding: 28px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.result-highlights .hl .v { font-family: "Plus Jakarta Sans", sans-serif; font-size: 44px; font-weight: 900; color: var(--secondary-300); line-height: 1; }
.result-highlights .hl .u { font-size: 18px; font-weight: 700; }
.result-highlights .hl .l { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 10px; }
.case-result .result-text { font-size: 14px; max-width: 720px; margin: 0 auto; line-height: 1.95; color: rgba(255,255,255,.9); white-space: pre-wrap; text-align: center; }

/* =========================================================
   ニュース詳細ページ
   ========================================================= */
.article { max-width: 800px; margin: 0 auto; }
.article .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.article h1 { font-size: 23px; font-weight: 900; color: var(--primary); line-height: 1.5; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--g200); }
.article-body { font-size: 15px; line-height: 2; color: var(--g800); }
.article-body p { margin-bottom: 18px; }
.article-body img { border-radius: 8px; margin: 16px 0; }
.article-back { text-align: center; margin-top: 48px; }
.article-back a { display: inline-block; padding: 13px 40px; border: 1.5px solid var(--primary); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--primary); }
.article-back a:hover { background: var(--primary); color: #fff; }

/* =========================================================
   サービスページ（本来のデザインに合わせたパーツ）
   ========================================================= */
/* ページ見出しは単色ネイビー */
.page-hero { background: var(--primary); }

/* リード下のビフォーアフター画像 */
.lead-image { max-width: 720px; margin: 32px auto 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card-lg, 0 8px 24px rgba(30,39,97,.12)); }
.lead-image img { width: 100%; height: auto; display: block; }

/* 課題：✓付き2列カード */
.pain-check { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 800px; margin: 0 auto; }
@media (min-width: 768px) { .pain-check { grid-template-columns: repeat(2, 1fr); } }
.pain-check .item { background: #fff; border-radius: 8px; padding: 20px 24px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-card); }
.pain-check .chk { width: 28px; height: 28px; border-radius: 50%; background: var(--secondary-50); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.pain-check .txt { font-size: 14px; color: var(--g800); font-weight: 500; line-height: 1.7; }

/* サービスメニューを中央寄せ・枠付きに（本来の支援内容カード） */
.menu-item { text-align: center; border: 1px solid var(--g200); }
.menu-item .ico { font-size: 32px; }

/* 強みのアイコンボックス */
.feature .icobox { width: 56px; height: 56px; border-radius: 12px; background: var(--secondary-50); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }

/* 技術スタックのヘッダー */
.tag-box .tb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tag-box .tb-head .ic { width: 44px; height: 44px; border-radius: 8px; background: var(--secondary-50); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.tag-box .tb-head h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin: 0; }

/* フロー（濃紺の丸＋矢印） */
.flow { display: flex; flex-direction: column; gap: 16px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .flow { flex-direction: row; align-items: flex-start; justify-content: center; gap: 0; } }
.flow-node { display: flex; flex-direction: row; align-items: center; gap: 16px; flex: 1; }
@media (min-width: 768px) { .flow-node { flex-direction: column; text-align: center; gap: 0; } }
.flow-node .circle2 { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700; flex-shrink: 0; }
@media (min-width: 768px) { .flow-node .circle2 { margin: 0 auto 14px; } }
.flow-node h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.flow-node p { font-size: 12px; color: var(--g500); line-height: 1.7; }
@media (min-width: 768px) { .flow-node p { max-width: 180px; margin: 0 auto; } }
.flow-arrow { display: none; }
@media (min-width: 768px) { .flow-arrow { display: flex; align-items: flex-start; padding-top: 18px; color: var(--secondary); font-size: 20px; flex-shrink: 0; width: 40px; justify-content: center; } }

/* サポート体制（運用保守） */
.support-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
@media (min-width: 768px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
.support-card { background: #fff; border: 1px solid var(--g200); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-card); }
.support-card .sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.support-card .sc-head .ic { width: 48px; height: 48px; border-radius: 8px; background: var(--secondary-50); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.support-card .sc-head h3 { font-size: 15px; font-weight: 700; color: var(--primary); }
.support-card .blk { margin-bottom: 14px; font-size: 14px; color: var(--g800); }
.support-card .blk .lbl { font-weight: 700; color: var(--primary); font-size: 13px; margin-bottom: 3px; }
.esc-step { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.esc-step .n { font-family: "Plus Jakarta Sans", sans-serif; font-size: 11px; font-weight: 700; color: var(--secondary); width: 24px; }
.esc-step .s { font-size: 13px; font-weight: 600; color: var(--g800); }
.esc-arrow { padding-left: 7px; color: #cbd5e1; font-size: 12px; line-height: 1; margin-bottom: 4px; }
.esc-note { font-size: 11px; color: var(--g500); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--g200); line-height: 1.7; }

/* 運用プラン */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 960px; margin: 0 auto; align-items: stretch; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border: 1px solid var(--g200); border-radius: 12px; padding: 36px 24px 28px; box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--secondary); box-shadow: 0 8px 24px rgba(0,131,143,.15); }
.plan .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--secondary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 12px; letter-spacing: .05em; white-space: nowrap; }
.plan .pname { font-size: 20px; font-weight: 900; color: var(--primary); text-align: center; margin-bottom: 8px; }
.plan .ptime-wrap { text-align: center; margin-bottom: 20px; }
.plan .ptime { display: inline-block; background: var(--bg); color: var(--g800); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 6px; }
.plan .pfeat { border-top: 1px solid var(--g200); padding-top: 20px; margin-bottom: 24px; flex: 1; }
.plan .pf { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--g800); line-height: 1.6; }
.plan .pf .c { color: var(--secondary); font-weight: 700; flex-shrink: 0; }
.plan .pbtn { display: block; text-align: center; padding: 11px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.plan .pbtn.solid { background: var(--secondary); color: #fff; }
.plan .pbtn.outline { border: 1px solid var(--secondary); color: var(--secondary); }

/* 関連実績（2列カード） */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card { background: #fff; border: 1px solid var(--g200); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .2s ease; display: block; }
.rel-card:hover { box-shadow: var(--shadow-card-hover); }
.rel-card .thumb { height: 160px; background-size: cover; background-position: center; }
.rel-card .body { padding: 20px; }
.rel-card .ind { display: inline-block; background: var(--secondary-50); color: var(--secondary); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.rel-card h3 { font-size: 14px; font-weight: 700; color: var(--primary); margin: 10px 0 8px; line-height: 1.5; }
.rel-card .sub { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.rel-card .more { font-size: 12px; font-weight: 600; color: var(--secondary); }
.center-more { text-align: center; margin-top: 36px; }
.center-more a { font-size: 14px; font-weight: 700; color: var(--secondary); }
.center-more a:hover { text-decoration: underline; }
