@charset "UTF-8";
/* ============================================================
   MRT 自治体向けサイト 新デザイン CSS  v3
   対象: page-lp.php / page-library.php / single-mrt.php

   既存テーマ（ress.min.css / grid.css / style.css / VK Blocks /
   bootstrap_vk_using.css）との衝突を防ぐため
     ・全クラス名に mrt- プレフィックス
     ・全セレクタを #mrt-page 配下にスコープ
   の2重防御をかけています。
   ============================================================ */

html { scroll-behavior: smooth; }
body.mrt-body { margin: 0; padding: 0; background: #fff; }

#mrt-page {
  --navy:   #003b80;
  --blue:   #0066b3;
  --cyan:   #2aa7c7;
  --teal:   #0f7a6c;
  --ink:    #14202b;
  --muted:  #64748b;
  --line:   #dbe5ec;
  --pale:   #f3f8fb;
  --red:    #f54b4b;
  --shadow: 0 14px 38px rgba(0, 59, 128, .09);

  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
}

#mrt-page, #mrt-page *, #mrt-page *::before, #mrt-page *::after { box-sizing: border-box; }
#mrt-page a { text-decoration: none; color: inherit; }
#mrt-page img { max-width: 100%; }
#mrt-page ul, #mrt-page ol { list-style: none; margin: 0; padding: 0; }

#mrt-page .mrt-container { width: min(1180px, calc(100% - 48px)); margin: auto; }
#mrt-page .mrt-narrow    { width: min(820px, calc(100% - 48px));  margin: auto; }


/* ============================================================
   既存テーマの見出し指定を打ち消す
   （style.css / VK Blocks が h1〜h6 に色・サイズを当てているため）
   ============================================================ */
#mrt-page h1, #mrt-page h2, #mrt-page h3,
#mrt-page h4, #mrt-page h5, #mrt-page h6 {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  line-height: 1.5;
}
#mrt-page p { margin: 0; }

/* ------------------------------------------------------------
   日本語の改行位置を整える
   単語の途中や助詞の直前で折り返さないようにします
   ------------------------------------------------------------ */
#mrt-page h1, #mrt-page h2, #mrt-page h3,
#mrt-page .mrt-card-title, #mrt-page .mrt-page-title,
#mrt-page .mrt-article-title, #mrt-page .mrt-section-title,
#mrt-page .mrt-cta-card h3 {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* ============================================================
   ヘッダー
   ============================================================ */
#mrt-page .mrt-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 229, 236, .8);
}
#mrt-page .mrt-header-inner {
  height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
#mrt-page .mrt-logo img { width: 96px; height: auto; display: block; }

#mrt-page .mrt-nav {
  display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700;
}
#mrt-page .mrt-nav a:not(.mrt-header-cta) { position: relative; padding: 10px 0; }
#mrt-page .mrt-nav a:not(.mrt-header-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 2px; background: var(--blue); transition: .2s;
}
#mrt-page .mrt-nav a:not(.mrt-header-cta):hover::after { right: 0; }

#mrt-page .mrt-burger {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
#mrt-page .mrt-burger span {
  display: block; position: absolute; left: 13px;
  width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: .22s;
}
#mrt-page .mrt-burger span:nth-child(1) { top: 16px; }
#mrt-page .mrt-burger span:nth-child(2) { top: 22px; }
#mrt-page .mrt-burger span:nth-child(3) { top: 28px; }
#mrt-page .mrt-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
#mrt-page .mrt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#mrt-page .mrt-burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ============================================================
   ボタン
   ============================================================ */
#mrt-page .mrt-header-cta,
#mrt-page .mrt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 9px;
  font-weight: 800; font-size: 14px; line-height: 1.4;
  transition: .2s; cursor: pointer; border: none; font-family: inherit; text-align: center;
}
#mrt-page .mrt-header-cta { background: var(--navy); color: #fff; }
#mrt-page .mrt-btn-primary { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
#mrt-page .mrt-btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; }
#mrt-page .mrt-btn-outline:hover { background: var(--pale); }
#mrt-page .mrt-btn-red { background: var(--red); color: #fff; }
#mrt-page .mrt-header-cta:hover,
#mrt-page .mrt-btn-primary:hover,
#mrt-page .mrt-btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 59, 128, .18); }

/* ============================================================
   ヒーロー
   ============================================================ */
#mrt-page .mrt-hero {
  position: relative; overflow: hidden; padding: 92px 0 82px;
  background:
    radial-gradient(circle at 82% 18%, rgba(42, 167, 199, .14) 0 120px, transparent 121px),
    linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
}
#mrt-page .mrt-hero::after {
  content: ""; position: absolute; width: 500px; height: 500px;
  border: 1px solid rgba(0, 102, 179, .09); border-radius: 50%;
  right: -210px; bottom: -250px;
}
#mrt-page .mrt-hero-grid {
  display: grid; grid-template-columns: 1.18fr .82fr; gap: 54px; align-items: center;
}
#mrt-page .mrt-eyebrow {
  display: block; height: 4px; width: 52px; border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
#mrt-page .mrt-hero h1 {
  font-size: 42px; line-height: 1.35; margin: 18px 0 20px;
  letter-spacing: .01em; font-weight: 800; color: var(--ink);
}
/* 意味の切れ目で折り返す。塊の途中では改行しない */
#mrt-page .nowrap { display: inline-block; }
#mrt-page .mrt-hero-lead { font-size: 17px; color: #526271; margin: 0 0 34px; line-height: 1.85; }
#mrt-page .mrt-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

#mrt-page .mrt-hero-visual {
  min-height: 380px; border-radius: 26px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 52%, var(--cyan) 100%);
  box-shadow: var(--shadow);
}
#mrt-page .mrt-hero-visual::before,
#mrt-page .mrt-hero-visual::after {
  content: ""; position: absolute;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
}
#mrt-page .mrt-hero-visual::before { width: 340px; height: 340px; right: -80px; top: -90px; }
#mrt-page .mrt-hero-visual::after  { width: 240px; height: 240px; left: -80px; bottom: -110px; }
#mrt-page .mrt-hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
#mrt-page .mrt-placeholder {
  position: absolute; inset: 34px;
  border: 1px dashed rgba(255, 255, 255, .56); border-radius: 18px;
  display: grid; place-items: center; text-align: center; color: #fff; font-weight: 800;
}

/* ============================================================
   セクション共通
   ============================================================ */
#mrt-page .mrt-section { padding: 92px 0; }
#mrt-page .mrt-section.mrt-alt { background: var(--pale); }
#mrt-page .mrt-section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px;
}
#mrt-page .mrt-section-title {
  font-size: 30px; line-height: 1.35; margin: 0;
  position: relative; padding-left: 18px; font-weight: 800; color: var(--ink);
}
#mrt-page .mrt-section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; border-radius: 4px; background: linear-gradient(var(--blue), var(--cyan));
}
#mrt-page .mrt-section-kicker { font-size: 13px; color: var(--muted); margin-top: 9px; }
#mrt-page .mrt-center-actions { text-align: center; margin-top: 34px; }

/* ============================================================
   地域課題カード
   ============================================================ */
#mrt-page .mrt-issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
#mrt-page .mrt-issue {
  display: flex; flex-direction: column;
  padding: 25px 22px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; min-height: 178px;
  box-shadow: 0 8px 24px rgba(15, 38, 58, .035); transition: .2s;
}
#mrt-page a.mrt-issue:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dbe8;
}
#mrt-page .mrt-issue-num {
  width: 34px; height: 5px; border-radius: 9px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); margin-bottom: 20px;
}
#mrt-page .mrt-issue h3 { font-size: 18px; line-height: 1.5; margin: 0 0 12px; font-weight: 800; color: var(--navy); }
#mrt-page .mrt-issue p  { font-size: 12px; line-height: 1.65; color: #6b7785; margin: 0; }
#mrt-page .mrt-issue p  { overflow-wrap: anywhere; }
#mrt-page .mrt-issue-more {
  margin-top: auto; padding-top: 16px; font-size: 12px; font-weight: 800; color: var(--blue);
}
#mrt-page a.mrt-issue:hover .mrt-issue-more { text-decoration: underline; }

/* ============================================================
   ソリューション
   ============================================================ */
#mrt-page .mrt-solutions { display: grid; gap: 16px; }
#mrt-page .mrt-solution {
  display: grid; grid-template-columns: 64px 1fr 34px; gap: 20px; align-items: center;
  padding: 25px 27px; border: 1px solid var(--line); background: #fff;
  border-radius: 14px; transition: .2s;
}
#mrt-page .mrt-solution:hover {
  border-color: #b8d2e3; box-shadow: var(--shadow); transform: translateX(3px);
}
#mrt-page .mrt-solution-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(145deg, #eaf6fb, #f8fbfd); border: 1px solid #d8e8f1;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); box-shadow: 0 5px 14px rgba(0, 102, 179, .08); transition: .2s;
}
#mrt-page .mrt-solution-icon i { display: block; font-size: 27px; line-height: 1; color: inherit; }
#mrt-page .mrt-solution:hover .mrt-solution-icon {
  background: linear-gradient(145deg, #e3f2f9, #f4fbfd); border-color: #b8d7e8; transform: translateY(-2px);
}
#mrt-page .mrt-solution h3 { font-size: 19px; margin: 0 0 7px; font-weight: 800; color: var(--navy); }
#mrt-page .mrt-solution p  { margin: 0; color: #697785; font-size: 12px; }
#mrt-page .mrt-arrow { font-size: 25px; color: var(--blue); text-align: right; }

/* ============================================================
   カード（導入実績・ナレッジ共通）
   ============================================================ */
#mrt-page .mrt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#mrt-page .mrt-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 8px 26px rgba(15, 38, 58, .035); transition: .2s;
  display: flex; flex-direction: column;
}
#mrt-page .mrt-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dbe8;
}
#mrt-page .mrt-thumb {
  height: 178px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8f3f2, #dcecee);
}
#mrt-page .mrt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#mrt-page .mrt-thumb-empty {
  width: 100%; height: 100%;
  display: grid; place-content: center; justify-items: center;
  color: #8aa6ad; font-weight: 800; font-size: 12px; text-align: center;
}
#mrt-page .mrt-thumb-empty i { font-size: 30px; margin-bottom: 6px; opacity: .55; }

/* 種別の帯 */
#mrt-page .mrt-band {
  position: absolute; left: 0; top: 0; z-index: 2;
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 7px 14px; border-radius: 0 0 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
}
#mrt-page .mrt-band i { font-size: 12px; }
#mrt-page .mrt-band--case { background: var(--navy); }
#mrt-page .mrt-band--news { background: var(--teal); }
#mrt-page .mrt-band.is-inline {
  position: static; border-radius: 6px; margin-bottom: 16px;
}

#mrt-page .mrt-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
#mrt-page .mrt-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 11px; }
#mrt-page .mrt-meta span {
  font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 5px;
  background: var(--pale); color: var(--blue); border: 1px solid #d8e8f1;
}
#mrt-page .mrt-meta span.is-issue {
  background: #fff6ec; color: #b4671b; border-color: #f0dcc4;
}
#mrt-page .mrt-card-title {
  font-size: 15px; font-weight: 800; line-height: 1.55; margin: 0 0 10px;
  overflow-wrap: anywhere;
  /* 2行で打ち切り、3行目以降は「…」。高さを固定して説明文の開始位置を揃える */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(15px * 1.55 * 2);
}
#mrt-page .mrt-card:hover .mrt-card-title { color: var(--blue); text-decoration: underline; }
/* 説明文：外枠でパディングと背景を持ち、内側のテキストだけを3行で切る。
   パディングと clamp を同じ要素に持たせると行が漏れるため、2層に分けています。 */
#mrt-page .mrt-card-desc {
  background: #f2f4f6;
  padding: 11px 13px;
  margin: 0;
  border-radius: 7px;
  overflow: hidden;
}
#mrt-page .mrt-card-desc span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
  color: #495866;
  overflow-wrap: anywhere;
  word-break: break-word;
  /* 3行ぶんの高さで固定。短い文でもここで揃う */
  height: calc(12px * 1.7 * 3);
}
#mrt-page .mrt-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
#mrt-page .mrt-card-foot > span:first-child { overflow-wrap: anywhere; min-width: 0; }
/* カード下端に寄せつつ、上の要素との間隔を確保する
   （margin-top:auto だけだと 14px の余白が打ち消される） */
#mrt-page .mrt-card-foot {
  margin-top: auto;
  padding-top: 16px;
}
#mrt-page .mrt-card-desc,
#mrt-page .mrt-card-title { margin-bottom: 16px; }
#mrt-page .mrt-card-foot .mrt-more { color: var(--blue); font-weight: 800; white-space: nowrap; }

/* ============================================================
   一覧ページ：ページヘッド
   ============================================================ */
#mrt-page .mrt-page-head {
  padding: 44px 0 40px;
  background:
    radial-gradient(circle at 88% 10%, rgba(42, 167, 199, .13) 0 130px, transparent 131px),
    linear-gradient(180deg, #fff, #f7fbfd);
  border-bottom: 1px solid var(--line);
}
#mrt-page .mrt-crumbs { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
#mrt-page .mrt-crumbs a:hover { color: var(--blue); text-decoration: underline; }
#mrt-page .mrt-crumbs i { font-size: 10px; margin: 0 7px; opacity: .6; }
#mrt-page .mrt-page-title {
  font-size: 33px; font-weight: 800; margin: 0; line-height: 1.35;
  position: relative; padding-left: 18px; color: var(--ink);
}
#mrt-page .mrt-page-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 5px; border-radius: 4px; background: linear-gradient(var(--blue), var(--cyan));
}
#mrt-page .mrt-page-lead { font-size: 14px; color: #526271; margin: 14px 0 0; max-width: 820px; }

/* ============================================================
   一覧ページ：絞り込み
   ============================================================ */
#mrt-page .mrt-filter { padding: 30px 0 0; }
#mrt-page .mrt-filter-block { margin-bottom: 22px; }
#mrt-page .mrt-filter-label {
  font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 11px;
  display: flex; align-items: center; gap: 7px;
}
#mrt-page .mrt-filter-label i { color: var(--blue); font-size: 14px; }

#mrt-page .mrt-types {
  display: flex; border: 1.5px solid var(--line); border-radius: 10px;
  overflow: hidden; width: fit-content; max-width: 100%; flex-wrap: wrap; background: #fff;
}
#mrt-page .mrt-type {
  padding: 12px 26px; font-size: 13px; font-weight: 800; color: #3d4d5c;
  transition: .2s; border-right: 1px solid var(--line);
}
#mrt-page .mrt-type:last-child { border-right: none; }
#mrt-page .mrt-type:hover { background: var(--pale); }
#mrt-page .mrt-type[aria-current="page"] {
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
}
#mrt-page .mrt-type .n { font-weight: 700; opacity: .75; margin-left: 7px; font-size: 11px; }

#mrt-page .mrt-chips { display: flex; gap: 9px; flex-wrap: wrap; }
#mrt-page .mrt-chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 9px;
  padding: 9px 16px; font-size: 13px; font-weight: 700; color: #3d4d5c; transition: .2s;
}
#mrt-page .mrt-chip:hover { border-color: #b8d2e3; background: var(--pale); }
#mrt-page .mrt-chip[aria-current="page"] {
  background: linear-gradient(135deg, var(--navy), var(--blue)); border-color: var(--navy); color: #fff;
}

#mrt-page .mrt-filter-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding: 18px 0 0; border-top: 1px solid var(--line);
}
#mrt-page .mrt-result-count { font-size: 13px; color: #526271; }
#mrt-page .mrt-result-count b { font-size: 19px; color: var(--navy); margin: 0 3px; }

#mrt-page .mrt-filter + .mrt-section { padding-top: 36px; }

/* ============================================================
   ページネーション
   ============================================================ */
#mrt-page .mrt-pager {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 52px; flex-wrap: wrap;
}
#mrt-page .mrt-pager .page-numbers {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  font-size: 14px; font-weight: 700; color: #3d4d5c; transition: .2s; padding: 0 12px;
}
#mrt-page .mrt-pager a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
#mrt-page .mrt-pager .page-numbers.current {
  background: linear-gradient(135deg, var(--navy), var(--blue)); border-color: var(--navy); color: #fff;
}
#mrt-page .mrt-pager .page-numbers.dots { border: none; background: none; min-width: 20px; }

/* ============================================================
   0件表示
   ============================================================ */
#mrt-page .mrt-empty {
  text-align: center; padding: 64px 24px;
  border: 1px dashed var(--line); border-radius: 16px; background: var(--pale);
}
#mrt-page .mrt-empty i { font-size: 38px; color: #a9bcc8; display: block; margin-bottom: 14px; }
#mrt-page .mrt-empty p { font-size: 14px; color: #526271; margin: 0 0 22px; }

/* ============================================================
   記事詳細
   ============================================================ */
#mrt-page .mrt-article-head {
  padding: 36px 0 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(42, 167, 199, .12) 0 130px, transparent 131px),
    linear-gradient(180deg, #fff, #f7fbfd);
}
#mrt-page .mrt-article-title {
  font-size: 32px; font-weight: 800; line-height: 1.45; margin: 0 0 20px; color: var(--ink);
}
#mrt-page .mrt-article-meta {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding-bottom: 32px; font-size: 13px; color: #526271;
}
#mrt-page .mrt-article-meta .item {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; font-weight: 700;
}
#mrt-page .mrt-article-meta .item i { color: var(--blue); font-size: 14px; }
#mrt-page .mrt-article-meta .item.is-issue {
  background: #fff6ec; border-color: #f0dcc4; color: #b4671b;
}
#mrt-page .mrt-article-meta .item.is-issue i { color: #d08234; }

#mrt-page .mrt-article-hero {
  height: 400px; border-radius: 20px; overflow: hidden; margin-bottom: -70px;
  background: linear-gradient(135deg, #e8f3f2, #dcecee);
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
#mrt-page .mrt-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

#mrt-page .mrt-article-wrap { padding: 110px 0 80px; }

/* 本文：段落と改行のみ。見出し・表・画像には壊れないための最低限だけ指定 */
#mrt-page .mrt-entry p { font-size: 16px; line-height: 2.05; margin: 0 0 28px; color: #2c3a47; overflow-wrap: anywhere; }
#mrt-page .mrt-entry p:last-child { margin-bottom: 0; }
#mrt-page .mrt-entry h2 { font-size: 21px; font-weight: 800; line-height: 1.5; margin: 44px 0 16px; }
#mrt-page .mrt-entry h3 { font-size: 18px; font-weight: 800; line-height: 1.5; margin: 32px 0 14px; }
#mrt-page .mrt-entry ul,
#mrt-page .mrt-entry ol {
  margin: 0 0 28px; padding-left: 1.4em; font-size: 16px; line-height: 2;
  list-style: revert;
}
#mrt-page .mrt-entry li { margin-bottom: 6px; }
#mrt-page .mrt-entry img { height: auto; border-radius: 10px; margin: 0 0 28px; }
#mrt-page .mrt-entry figure { margin: 0 0 28px; }
#mrt-page .mrt-entry figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }
#mrt-page .mrt-entry table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 14px; }
#mrt-page .mrt-entry th,
#mrt-page .mrt-entry td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
#mrt-page .mrt-entry blockquote {
  margin: 0 0 28px; padding: 18px 22px; background: var(--pale);
  border-left: 3px solid var(--line); color: #3d4d5c; font-size: 15px;
}
#mrt-page .mrt-entry blockquote p { margin: 0; font-size: 15px; }
#mrt-page .mrt-entry a { color: var(--blue); text-decoration: underline; }

#mrt-page .mrt-article-back {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center;
}

/* 関連記事 */
#mrt-page .mrt-related { background: var(--pale); padding: 76px 0; border-top: 1px solid var(--line); }
#mrt-page .mrt-related-title {
  font-size: 24px; font-weight: 800; margin: 0 0 30px;
  position: relative; padding-left: 18px; color: var(--ink);
}
#mrt-page .mrt-related-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; border-radius: 4px; background: linear-gradient(var(--blue), var(--cyan));
}

/* ============================================================
   お問い合わせCTA
   ============================================================ */
#mrt-page .mrt-cta { background: var(--pale); padding: 78px 0; border-top: 1px solid var(--line); }
#mrt-page .mrt-cta-title { font-size: 28px; font-weight: 800; margin: 0 0 10px; text-align: center; color: var(--ink); }
#mrt-page .mrt-cta-lead {
  font-size: 13px; color: #667483; text-align: center; margin: 0 auto 34px; max-width: 700px;
}
#mrt-page .mrt-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#mrt-page .mrt-cta-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 34px; background: #fff;
  text-align: center; box-shadow: 0 8px 28px rgba(15, 38, 58, .035);
}
#mrt-page .mrt-cta-card h3 { font-size: 19px; line-height: 1.45; margin: 0 0 16px; font-weight: 800; color: var(--ink); }
#mrt-page .mrt-cta-card p { font-size: 13px; color: #667483; max-width: 430px; margin: 0 auto 24px; }

/* 直前が淡色背景のときは境目を消す */
#mrt-page .mrt-section.mrt-alt + .mrt-cta,
#mrt-page .mrt-related + .mrt-cta { border-top: none; background: #fff; }

/* ============================================================
   フッター
   ============================================================ */
#mrt-page .mrt-footer { background: #06101d; color: rgba(255, 255, 255, .84); padding: 38px 0 28px; }
#mrt-page .mrt-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
#mrt-page .mrt-footer-nav {
  display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; font-size: 13px;
}
#mrt-page .mrt-footer-nav a:hover { text-decoration: underline; }
#mrt-page .mrt-copyright { font-size: 11px; color: rgba(255, 255, 255, .56); }

/* ============================================================
   フォーカス表示
   ============================================================ */
#mrt-page a:focus-visible,
#mrt-page button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 980px) {
  #mrt-page .mrt-burger { display: block; }
  #mrt-page .mrt-header-inner { position: relative; }
  #mrt-page .mrt-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(15, 38, 58, .1); padding: 8px 24px 20px;
  }
  #mrt-page .mrt-nav.is-open { display: flex; }
  #mrt-page .mrt-nav a:not(.mrt-header-cta) { padding: 15px 2px; border-bottom: 1px solid var(--line); }
  #mrt-page .mrt-nav a:not(.mrt-header-cta)::after { display: none; }
  #mrt-page .mrt-header-cta { margin-top: 16px; }

  #mrt-page .mrt-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  #mrt-page .mrt-hero h1 { font-size: 38px; }
  #mrt-page .mrt-hero-visual { min-height: 310px; }
  #mrt-page .mrt-issue-grid { grid-template-columns: 1fr 1fr; }
  #mrt-page .mrt-grid { grid-template-columns: 1fr 1fr; }
  #mrt-page .mrt-page-title { font-size: 28px; }
  #mrt-page .mrt-article-title { font-size: 28px; }
  #mrt-page .mrt-article-hero { height: 300px; margin-bottom: -50px; }
  #mrt-page .mrt-article-wrap { padding: 80px 0 60px; }
}

@media (max-width: 650px) {
  #mrt-page .mrt-container,
  #mrt-page .mrt-narrow { width: min(100% - 30px, 1180px); }
  #mrt-page .mrt-header-inner { height: 72px; }
  #mrt-page .mrt-logo img { width: 82px; }
  #mrt-page .mrt-hero { padding: 60px 0; }
  #mrt-page .mrt-hero-grid { gap: 28px; }
  #mrt-page .mrt-hero h1 { font-size: 31px; }
  #mrt-page .mrt-hero-lead { font-size: 15px; }
  #mrt-page .mrt-hero-actions .mrt-btn { width: 100%; }
  #mrt-page .mrt-hero-visual { min-height: 250px; border-radius: 20px; }
  #mrt-page .mrt-section { padding: 64px 0; }
  #mrt-page .mrt-section-title { font-size: 25px; }
  #mrt-page .mrt-section-head { align-items: start; flex-direction: column; }
  #mrt-page .mrt-page-title { font-size: 24px; }
  #mrt-page .mrt-article-title { font-size: 23px; }
  #mrt-page .mrt-article-hero { height: 210px; border-radius: 14px; }
  #mrt-page .mrt-issue-grid,
  #mrt-page .mrt-grid,
  #mrt-page .mrt-cta-grid { grid-template-columns: 1fr; }
  #mrt-page .mrt-solution { grid-template-columns: 50px 1fr 20px; padding: 20px 18px; gap: 14px; }
  #mrt-page .mrt-types { width: 100%; }
  #mrt-page .mrt-type { flex: 1; padding: 12px 10px; font-size: 12px; text-align: center; }
  #mrt-page .mrt-entry p { font-size: 15px; line-height: 1.95; }
  #mrt-page .mrt-entry table { display: block; overflow-x: auto; white-space: nowrap; }
  #mrt-page .mrt-cta { padding: 56px 0; }
  #mrt-page .mrt-cta-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #mrt-page * { transition: none !important; }
}