/* ============================================================
   マッチ学園「チョークボード×採点」デザイン (案A+C / 2026-08-21)
   黒板グリーン #1B1E3D / 深緑 #12142B / 赤ペン #FF4D8D
   鉛筆インク #22242E / ノート紙 #F5F4FA / 採点朱(明朝) はCの遺伝子
   ============================================================ */

/* --- 見出し書体: Zen Kaku Gothic New --- */
h1, h2, h3, h4,
.site_title,
.heading,
.keyvisual__text_area {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
.site_title__link {
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* --- キービジュアル = 黒板（チョークの枠線と文字） --- */
.keyvisual {
  position: relative;
}
.keyvisual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(249, 246, 236, 0.35);
  border-radius: 10px;
  pointer-events: none;
}
.keyvisual__text_area {
  color: #F5F4FA;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.05em;
}

/* --- 記事本文 h2: 赤ペンの短いアンダーバー ＋ 薄い罫線 --- */
.main_content h2.wp-block-heading {
  color: #12142B;
  font-weight: 900;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(35, 74, 60, 0.18);
  background: linear-gradient(#FF4D8D, #FF4D8D) left bottom / 56px 3px no-repeat;
}

/* --- 記事本文 h3: 赤ペンの縦マーカー --- */
.main_content h3.wp-block-heading {
  color: #12142B;
  padding: 2px 0 2px 12px;
  border-left: 4px solid #FF4D8D;
  border-radius: 2px;
}

/* --- 引用 = 答案用紙の罫線（案Cの遺伝子） --- */
.main_content blockquote {
  background: repeating-linear-gradient(transparent 0 25px, rgba(38, 53, 94, 0.08) 25px 26px), #fffdf6;
  border: 1px solid #e6ddc8;
  border-left: 4px solid #c13b2a;
  border-radius: 8px;
  padding: 14px 16px;
}

/* --- サイドバー見出し = 黒板ミニパネル --- */
.sub_content .widget h3.wp-block-heading,
.sub_content .heading__title {
  background: #1B1E3D;
  color: #F5F4FA;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.98em;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: 1.5px dashed rgba(249, 246, 236, 0.45);
  outline-offset: -5px;
}

/* --- 採点スタンプ / 点数（案Cの遺伝子・記事内で使える汎用クラス） --- */
.mg-stamp {
  display: inline-block;
  border: 2px solid #c13b2a;
  color: #c13b2a;
  border-radius: 6px;
  padding: 1px 9px;
  font-weight: 800;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  background: rgba(255, 255, 255, 0.6);
}
.mg-score {
  font-family: "Shippori Mincho", serif;
  color: #c13b2a;
  font-weight: 800;
  font-size: 1.35em;
  letter-spacing: 0.02em;
}

/* --- 冒頭の統合表記はノート紙に沈める --- */
p.taffi-notice {
  color: #a89f8d;
}

/* --- 商品カードはノート紙の上で白く浮かせる --- */
.taffi-card {
  box-shadow: 0 1px 2px rgba(42, 42, 38, 0.05), 0 10px 24px -12px rgba(42, 42, 38, 0.16);
}

/* --- サイドバー（.l-side_main 配下）: 黒板ミニパネル見出し＋整列リスト --- */
.l-side_main .widget h3.wp-block-heading {
  background: #1B1E3D;
  color: #F5F4FA;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: 1.5px dashed rgba(249, 246, 236, 0.45);
  outline-offset: -5px;
  margin-bottom: 6px;
}
.l-side_main .widget ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.88em;
}
.l-side_main .widget li {
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(35, 74, 60, 0.25);
  line-height: 1.55;
}
.l-side_main .widget li:last-child { border-bottom: 0; }
.l-side_main .widget a { text-decoration: none; }
.l-side_main .wp-block-latest-posts__post-date {
  display: block;
  font-size: 0.82em;
  color: #8b8574;
  margin-top: 2px;
}
.l-side_main .wpp-excerpt { display: none; }
.l-side_main .widget { margin-bottom: 22px; }

/* キービジュアルのURL表示は非表示（タイトル＋キャッチフレーズで十分） */
.keyvisual__text_area__inner small { display: none; }

/* ============================================================
   本文タイポグラフィ（読む体験の作り込み）
   ============================================================ */

/* 段落: ゆったりした行間とリズム */
.main_content p {
  line-height: 1.95;
  margin: 1.5em 0;
  letter-spacing: 0.015em;
}
.main_content p.taffi-notice { margin: 0 0 12px; }

/* 本文リンク = 赤ペンの下線 */
.main_content p a,
.main_content li a {
  color: #b23e30;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 77, 141, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.main_content p a:hover,
.main_content li a:hover { text-decoration-color: #FF4D8D; }

/* 強調: 太字 ＋ 蛍光マーカー（==〜==記法） */
.main_content strong { font-weight: 800; }
.main_content mark.mg-marker,
.main_content mark {
  background: linear-gradient(transparent 52%, rgba(247, 227, 107, 0.85) 52%);
  padding: 0 2px;
  color: inherit;
}

/* 箇条書き = 赤ペンのチェックリスト */
.main_content ul.wp-block-list {
  list-style: none;
  margin: 1.6em 0;
  padding: 14px 18px;
  background: #fffdf6;
  border: 1px solid #e6ddc8;
  border-radius: 10px;
}
.main_content ul.wp-block-list > li {
  position: relative;
  padding-left: 1.7em;
  margin: 0.55em 0;
  line-height: 1.8;
}
.main_content ul.wp-block-list > li::before {
  content: "✓";
  position: absolute;
  left: 0.2em;
  color: #FF4D8D;
  font-weight: 800;
}
.main_content ol { margin: 1.6em 0; }
.main_content ol > li { margin: 0.5em 0; line-height: 1.8; }
.main_content ol > li::marker { color: #12142B; font-weight: 800; }

/* 区切り線 = チョークの破線 */
.main_content hr {
  border: 0;
  border-top: 2px dashed rgba(35, 74, 60, 0.35);
  margin: 2.4em auto;
  max-width: 240px;
}

/* テーブル = 黒板ヘッダー×ノート紙 */
.main_content table { border-collapse: collapse; margin: 1.6em 0; }
.main_content th {
  background: #1B1E3D;
  color: #F5F4FA;
  border: 1px solid #24493c;
  padding: 0.6em 0.9em;
  font-weight: 700;
}
.main_content td {
  border: 1px solid #dcd3bf;
  padding: 0.6em 0.9em;
  background: #fff;
}
.main_content tr:nth-child(even) td { background: #fbf8ef; }

/* 見出し前後の呼吸 */
.main_content h2.wp-block-heading { margin: 2.6em 0 1em; }
.main_content h3.wp-block-heading { margin: 2em 0 0.8em; }

/* 動画・カードの余白 */
.main_content .wp-block-embed { margin: 2em 0; }
.main_content .taffi-card { margin: 1.8em 0 2.4em; }

/* --- フッター上ウィジェット（アーカイブ/カテゴリー）: 黒板ミニパネル --- */
.c-footer_top .widget h2 {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #1B1E3D;
  color: #F5F4FA;
  padding: 9px 14px;
  border-radius: 8px;
  outline: 1.5px dashed rgba(249, 246, 236, 0.45);
  outline-offset: -5px;
  margin: 0 0 10px;
}
.c-footer_top .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}
.c-footer_top .widget li {
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(35, 74, 60, 0.22);
  line-height: 1.6;
}
.c-footer_top .widget li:last-child { border-bottom: 0; }
.c-footer_top .widget li .children { margin-left: 1em; border-top: 1px dashed rgba(35, 74, 60, 0.22); margin-top: 8px; }
.c-footer_top .widget a { text-decoration: none; }

/* --- 関連記事: 1件もない場合はセクションごと非表示 --- */
.related:not(:has(article)) { display: none; }

/* --- スマホのヒーロー最適化 --- */
@media (max-width: 767px) {
  /* ティッカー+検索の帯はヒーローと重なるため非表示（検索はメニュー内から） */
  .l-info_search { display: none; }
  /* Scrollインジケーターはサブタイトルと衝突するため非表示 */
  .keyvisual__scroll_area { display: none; }
  /* タイトルをスマホ幅に収める */
  .keyvisual__text_area__inner h1.heading-is-custom {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.03em;
  }
  .keyvisual__text_area__inner { padding: 0 14px; }
}

/* スマホ: キービジュアル文字の確実な上書き（テーマ生成CSSが4rem/nowrapのため） */
@media (max-width: 767px) {
  .l-keyvisual_top .heading-is-custom,
  .l-keyvisual_common .heading-is-custom {
    font-size: 23px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    text-align: center;
  }
  .l-keyvisual_top .phrase-is-custom,
  .l-keyvisual_common .phrase-is-custom {
    font-size: 13px !important;
    white-space: normal !important;
    text-align: center;
  }
  .keyvisual__text_area,
  .keyvisual__text_area__inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* スマホ: ヒーロー上に浮くPCナビ（ホーム）は非表示（ハンバーガーメニューがあるため） */
@media (max-width: 767px) {
  .global_navi { display: none; }
}

/* --- 文字サイズの底上げ（テーマ既定: 本文13.5〜15pxは小さすぎるため） --- */
body {
  font-size: clamp(1.5rem, 1.6vw, 1.6rem); /* 15〜16px */
}
.main_content p,
.main_content li {
  font-size: 1.6rem; /* 記事本文は16px固定 */
}
.main_content h2.wp-block-heading {
  font-size: clamp(2.1rem, 2.5vw, 2.5rem); /* 21〜25px */
}
.main_content h3.wp-block-heading {
  font-size: clamp(1.8rem, 2.1vw, 2.1rem); /* 18〜21px */
}
@media (max-width: 767px) {
  /* SPヒーロータイトルも少し大きく（23px→26px・2行想定） */
  .l-keyvisual_top .heading-is-custom,
  .l-keyvisual_common .heading-is-custom {
    font-size: 26px !important;
  }
}

/* --- ヘッダー位置の全ページ統一 ---
   トップのみ .i-header が position:absolute でコンテンツに重なる設計だったため、
   下層と同じ通常フローに戻す。ティッカー+検索帯は廃止（検索はヘッダーのSEARCHへ） */
.type-home .i-header { position: relative; }
.l-info_search { display: none; }

/* --- ヒーロー上端をヘッダーに密着（全ページ） --- */
.l-keyvisual { margin-top: 0 !important; padding-top: 0 !important; }

/* --- ハンバーガーパネル内の見出しもサイドバーと同じ黒板ミニパネルに --- */
.panel__contents .widget h3.wp-block-heading {
  background: #1B1E3D;
  color: #F5F4FA;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: 1.5px dashed rgba(249, 246, 236, 0.45);
  outline-offset: -5px;
  margin: 18px 0 8px;
}
.panel__contents .widget ul { list-style: none; margin: 0; padding: 0; font-size: 0.92em; }
.panel__contents .widget li { padding: 9px 2px; border-bottom: 1px dashed rgba(35, 74, 60, 0.25); }
.panel__contents .widget li:last-child { border-bottom: 0; }
.panel__contents .widget a { text-decoration: none; }

/* --- お気に入りページ: トップ同様の全幅ヒーロー（文字はバナー内蔵のため非表示） --- */
.page-id-64 .keyvisual {
  min-height: clamp(300px, 36vw, 700px); /* 記事Heroと同じ計算式（文字入り画像のため切らない） */
}
.page-id-64 .keyvisual__bg {
  background-position: left center !important;
}
.page-id-64 .keyvisual__bg {
  background: url(/wp-content/uploads/2026/08/fav-hero.jpg) left center / cover no-repeat;
}
.page-id-64 .keyvisual__contents { display: none; }
/* お気に入りヒーロー: 黒板色・方眼などのオーバーレイを除去してバナーをそのまま見せる */
.page-id-64 .keyvisual,
.page-id-64 .l-keyvisual {
  background: none !important;
}
.page-id-64 .keyvisual__bg::before,
.page-id-64 .keyvisual__bg::after,
.page-id-64 .keyvisual__overlay {
  display: none !important;
}

/* --- 記事ページ: 全幅ヒーロー（3種バナーを記事IDでローテーション・お気に入りと同サイズ） --- */
/* バナーに文字が入っているため重ねず、記事タイトルは画像の下に出す */
.type-single .keyvisual {
  min-height: 0;
  overflow: visible;
}
.type-single .keyvisual__bg {
  position: relative; /* 絶対配置をやめて高さを持たせ、タイトルを下に流す */
  /* バナーに文字が焼き込まれているため、高さを幅に追随させて切れを防ぐ。
     画像比は約0.53(高さ/幅)。36vwなら上下の切り取り量が常に一定に収まる。 */
  height: clamp(300px, 36vw, 700px);
}
.type-single.mg-hero-1 .keyvisual__bg { background: url(/wp-content/uploads/2026/08/article-hero-1.jpg) left 40% / cover no-repeat !important; }
.type-single.mg-hero-2 .keyvisual__bg { background: url(/wp-content/uploads/2026/08/article-hero-2.jpg) left 40% / cover no-repeat !important; }
.type-single.mg-hero-3 .keyvisual__bg { background: url(/wp-content/uploads/2026/08/article-hero-3.jpg) left 28% / cover no-repeat !important; }
/* KVコンテンツ（タイトル・日付）は画像の下、ノート紙の上に配置する */
.type-single .keyvisual__contents {
  display: block;
  padding: 22px 0 0;
}
/* ヒーロー〜パンくずの間の余白を締める（テーマのKVテキスト枠 min-height:340px が余白の正体） */
.type-single .l-keyvisual { padding-bottom: 6px; }
.type-single .c-keyvisual {
  min-height: 0;
  height: auto;
  align-items: flex-start;
}
.type-single .keyvisual__text_area,
.type-single .keyvisual__text_area__inner { width: 100%; }
/* text_areaのflex gapで日付の下に20pxの空きが出るためブロック化 */
.type-single .keyvisual__text_area { display: block; }
.type-single .keyvisual__contents { gap: 0; }
.type-single .keyvisual h1.heading {
  color: #12142B;
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: left;
  text-shadow: none;
}
/* タイトルを先、日付を後に並べ替える（テーマは日付が先） */
.type-single .keyvisual__text_area__inner {
  display: flex;
  flex-direction: column;
}
.type-single .keyvisual h1.heading { order: 1; margin: 0 0 8px; }
.type-single .keyvisual__time {
  order: 2;
  display: flex;
  gap: 16px;
  margin: 0;
  color: #6E7A72;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.type-single .keyvisual__time span { color: inherit; }
/* アイコンだけだと公開/更新が区別できないため文字を添える */
.type-single .keyvisual__time_posted::before { content: "公開 "; font-family: inherit; opacity: 0.85; }
.type-single .keyvisual__time_update::before { content: "更新 "; font-family: inherit; opacity: 0.85; }
/* 記事上部の余白を締める（テーマの本文エリアpadding-top: PC60px/SP40pxが過大） */
.type-single .l-contents { padding-top: 22px; }
.type-single .main_content .sns_list { margin-top: 0; margin-bottom: 4px; }
@media (max-width: 767px) {
  .type-single .main_content .sns_list .sns_list__item { margin-top: 2px; margin-bottom: 2px; }
}
@media (max-width: 767px) {
  .type-single .l-contents { padding-top: 12px; }
}

/* パンくずはJSでヒーロー画像の直下へ移動する。移動先での余白を整える */
.type-single .keyvisual .l-breadcrumb {
  padding: 12px 0 0;
  border-bottom: 1px solid rgba(35, 74, 60, 0.10);
}
.type-single .keyvisual .l-breadcrumb .container { padding-bottom: 10px; }
@media (max-width: 767px) {
  .type-single .keyvisual__contents { padding: 18px 0 2px; }
}
.type-single .keyvisual,
.type-single .l-keyvisual {
  background: none !important;
}
.type-single .keyvisual__bg::before,
.type-single .keyvisual__bg::after,
.type-single .keyvisual__overlay {
  display: none !important;
}
/* 記事ヒーローはバナーそのまま（黒板のチョーク枠線を除去） */
.type-single .keyvisual::after { display: none; }

/* --- お問い合わせフォーム（Contact Form 7）: 黒板×ノート紙のデザインに合わせる --- */
.wpcf7 {
  background: #fff;
  border: 1px solid rgba(35, 74, 60, 0.18);
  border-radius: 12px;
  padding: 26px 26px 22px;
  box-shadow: 0 2px 10px rgba(35, 74, 60, 0.06);
}
.wpcf7 label {
  display: block;
  font-weight: 700;
  font-size: 0.95em;
  color: #12142B;
  margin-bottom: 18px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1.5px solid rgba(35, 74, 60, 0.28);
  border-radius: 8px;
  background: #FCFAF4;
  font-size: 16px; /* iOSの自動ズーム防止 */
  color: #22242E;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpcf7 textarea { min-height: 190px; line-height: 1.8; resize: vertical; }
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #1B1E3D;
  box-shadow: 0 0 0 3px rgba(27, 30, 61, 0.12);
}
/* クイズ（スパム対策）は1行にまとめる */
.wpcf7 .wpcf7-quiz-label { font-weight: 400; }
.wpcf7 span.wpcf7-form-control-wrap { display: inline-block; width: 100%; }
.wpcf7 label:has(.wpcf7-quiz) { font-weight: 400; font-size: 0.9em; color: #4a5a52; }
.wpcf7 input.wpcf7-quiz { max-width: 220px; }
/* 同意チェック */
.wpcf7 .wpcf7-acceptance { display: block; margin: 4px 0 18px; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.92em; margin: 0; }
.wpcf7 .wpcf7-acceptance input[type="checkbox"] { width: 17px; height: 17px; accent-color: #1B1E3D; }
/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 6px auto 0;
  padding: 14px 20px;
  background: #1B1E3D;
  color: #F5F4FA;
  border: 0;
  border-radius: 999px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 1.02em;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 3px 0 #12142B;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.wpcf7 input[type="submit"]:hover { background: #12142B; }
.wpcf7 input[type="submit"]:active { transform: translateY(2px); box-shadow: 0 1px 0 #12142B; }
.wpcf7 input[type="submit"]:focus-visible { outline: 3px solid #FF4D8D; outline-offset: 3px; }
/* 検証メッセージ */
.wpcf7 .wpcf7-not-valid-tip { color: #FF4D8D; font-size: 0.86em; font-weight: 700; margin-top: 4px; }
.wpcf7 .wpcf7-response-output {
  border-radius: 8px;
  border-width: 1.5px;
  padding: 12px 16px;
  margin: 18px 0 0;
  font-size: 0.94em;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #1B1E3D; background: rgba(27, 30, 61, 0.06); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #FF4D8D; background: rgba(255, 77, 141, 0.05); }
@media (max-width: 767px) {
  .wpcf7 { padding: 18px 16px 16px; }
  .wpcf7 input[type="submit"] { max-width: 100%; }
}

/* --- 規約系リンク行: コピーライト直上（JSで移動） --- */
.ap-legal--above-copyright {
  margin: 26px auto 0;
  padding: 0 20px;
  text-align: center;
}
.ap-legal--above-copyright a {
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.ap-legal--above-copyright a:hover { opacity: 1; }
/* 直後のコピーライトとの間隔を詰める */
.ap-legal--above-copyright + .l-copyright { padding-top: 4px; }

/* --- トップHero: 画像にロゴ・コピーを焼き込んだ版に差し替え（2026-08-22） --- */
/* 画像側に文字があるため、重ねて表示しているテキストは視覚的に隠す。
   （DOMからは消さない＝見出しの意味とスクリーンリーダー向け読み上げは残す） */
.type-home .keyvisual__text_area {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* 記事Heroと同じ考え方: 高さを幅に比例させ、どの画面幅でも文字が切れないようにする */
.type-home .keyvisual {
  min-height: clamp(300px, 36vw, 700px);
}
.type-home .keyvisual__bg {
  background-position: center top !important; /* 画像の上端をヘッダー直下に合わせる */
}

/* 仕上げ済みバナーのため、黒板デザインのチョーク枠とオーバーレイを外す */
.type-home .keyvisual::after { display: none; }
.type-home .keyvisual__overlay,
.type-home .keyvisual__bg::before,
.type-home .keyvisual__bg::after { display: none !important; }
.type-home .keyvisual__img { object-fit: cover; object-position: center top; }

/* ==========================================================
   D-ME 仮ブランド上書き（2026-08-24）
   マッチ学園の写真Hero前提の隠し・画像指定を戻し、
   グラデーションKV＋HTMLテキスト表示の仮構成にする。
   本ブランド素材が出来たらこのブロックごと置き換える。
   ========================================================== */
/* トップKVテキストを再表示（隠し解除） */
.type-home .keyvisual__text_area {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 24px;
  overflow: visible;
  clip: auto;
  clip-path: none;
}
/* グラデーション背景の仮KV */
.type-home .keyvisual,
.type-home .keyvisual__bg {
  background: linear-gradient(160deg, #1B1E3D 0%, #12142B 70%, #251B45 100%) !important;
}
.type-home .keyvisual {
  min-height: clamp(240px, 26vw, 420px);
}
.type-home .keyvisual__title { color: #F5F4FA; }
.type-home .keyvisual__sub_title { color: #37E6E0; }
/* 記事Hero: マッチ学園バナーのローテーションを仮グラデに置換 */
.type-single .keyvisual__bg {
  background: linear-gradient(160deg, #1B1E3D 0%, #12142B 100%) !important;
  height: clamp(140px, 14vw, 220px) !important;
}
