/* =========================================================
   ハングルマッチ / 韓国語フレーズ一覧200選
   200行を一望できる密度を最優先。すべて hm- 名前空間。
   :root は fallback。既存のハヌル定義があればこのブロックは削除。
   ========================================================= */

:root {
  --haneul: #329eff;
  --haneul-050: #f2f8ff;
  --haneul-100: #dcecff;
  --haneul-300: #9ccdff;
  --bada: #0b3a6b;
  --gyul: #ff8a3d;
  --geum: #f2b705;
  --ink: #16222e;
  --ink-60: #5b6b7b;
  --ink-40: #8c9aa8;
  --line: #e3eaf1;
  --paper: #ffffff;
  --paper-2: #f7fafd;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 20px;
  --bar-h: 118px;
  /* sticky バーの高さ。アンカー補正に使う */
}

.hm-ph-wrap {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 18px;
}

.hm-ph-section {
  padding-block: 48px;
}

/* ---------- 見出し ---------- */
.hm-ph-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--haneul);
  background: var(--haneul-050);
  border: 1px solid var(--haneul-100);
  padding: 5px 13px;
  border-radius: 999px;
  margin: 0 0 16px;
}

.hm-ph-h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.4;
  font-weight: 800;
  color: var(--bada);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.hm-ph-num {
  color: var(--haneul);
  font-size: 1.24em;
  padding-inline: 3px;
}

.hm-ph-h1-sub {
  font-size: .58em;
  color: var(--ink-60);
  font-weight: 700;
}

.hm-ph-h2 {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 800;
  color: var(--bada);
  margin: 0 0 10px;
  padding-left: 13px;
  border-left: 5px solid var(--haneul);
  line-height: 1.5;
}

.hm-ph-lead {
  font-size: .95rem;
  line-height: 1.9;
  color: var(--ink-60);
  margin: 0 0 20px;
}

.hm-ph-note {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--ink-60);
  margin: 0 0 20px;
}

/* ---------- HERO ---------- */
.hm-ph-hero {
  background: radial-gradient(900px 280px at 50% -70px, var(--haneul-050), transparent 70%), var(--paper);
  padding-block: 44px 32px;
}

.hm-ph-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hm-ph-badges li {
  font-size: .78rem;
  font-weight: 700;
  color: var(--bada);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- 絞り込みバー ---------- */
.hm-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}

.hm-bar-inner {
  padding-block: 10px;
}

.hm-bar-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hm-bar-row+.hm-bar-row {
  margin-top: 8px;
}

.hm-search {
  flex: 1;
  position: relative;
  display: block;
}

.hm-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  opacity: .5;
}

.hm-search input {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
}

.hm-search input:focus {
  outline: none;
  border-color: var(--haneul);
  background: var(--paper);
}

.hm-bar-chips {
  overflow-x: auto;
  scrollbar-width: none;
}

.hm-bar-chips::-webkit-scrollbar {
  display: none;
}

.hm-chips {
  display: flex;
  gap: 6px;
  flex: none;
}

.hm-chips-pol {
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.hm-chip {
  flex: none;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-60);
  transition: border-color .14s, background-color .14s, color .14s;
}

.hm-chip:hover {
  border-color: var(--haneul-300);
}

.hm-chip.hm-on {
  background: var(--haneul);
  border-color: var(--haneul);
  color: #fff;
}

.hm-bar-count {
  margin: 8px 0 0;
  font-size: .76rem;
  color: var(--ink-40);
  font-weight: 700;
}

.hm-bar-count strong {
  color: var(--haneul);
  font-size: .95rem;
}

/* ---------- トグル ---------- */
.hm-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px 8px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink-60);
  transition: border-color .16s, background-color .16s, color .16s;
}

.hm-toggle-dot {
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #d7dfe8;
  position: relative;
  flex: none;
  transition: background-color .18s;
}

.hm-toggle-dot::after {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  width: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s;
}

.hm-toggle[aria-pressed="true"] {
  border-color: var(--haneul);
  background: var(--haneul-050);
  color: var(--bada);
}

.hm-toggle[aria-pressed="true"] .hm-toggle-dot {
  background: var(--haneul);
}

.hm-toggle[aria-pressed="true"] .hm-toggle-dot::after {
  transform: translateX(12px);
}

/* ---------- ボタン ---------- */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s, background-color .16s;
}

.hm-btn:active {
  transform: translateY(1px);
}

.hm-btn-primary {
  background: var(--haneul);
  color: #fff;
}

.hm-btn-primary:hover {
  background: #1f8ceb;
}

.hm-btn-cta {
  background: var(--gyul);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 138, 61, .26);
}

.hm-btn-cta:hover {
  background: #f57a2c;
}

.hm-btn-mini {
  padding: 9px 16px;
  font-size: .8rem;
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-60);
}

.hm-btn-quiz {
  flex: none;
}

.hm-btn-quiz:hover {
  border-color: var(--haneul-300);
  color: var(--bada);
}

/* ---------- 目次 ---------- */
.hm-toc {
  padding-block: 26px 8px;
  display: grid;
  gap: 16px;
}

.hm-toc-label {
  margin: 0 0 8px;
  font-size: .76rem;
  font-weight: 800;
  color: var(--ink-40);
  letter-spacing: .06em;
}

.hm-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hm-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  color: var(--bada);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--paper);
}

.hm-toc a:hover {
  border-color: var(--haneul-300);
  background: var(--haneul-050);
}

.hm-toc a span {
  font-size: .72rem;
  color: var(--ink-40);
}

/* ---------- グループ / セクション ---------- */
.hm-group {
  padding-top: 26px;
}

.hm-group-head {
  margin-bottom: 16px;
}

.hm-group-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink-40);
  letter-spacing: .08em;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hm-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hm-group-note {
  margin: 0;
  font-size: .8rem;
  color: var(--ink-40);
}

.hm-sec {
  margin-bottom: 30px;
  scroll-margin-top: var(--bar-h);
}

.hm-sec-head {
  margin-bottom: 10px;
}

.hm-sec-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--bada);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.hm-sec-emoji {
  font-size: 1.1em;
}

.hm-sec-count {
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink-40);
}

.hm-sec-catch {
  margin: 5px 0 0;
  font-size: .84rem;
  color: var(--ink-60);
}

/* ---------- 行（一覧の主役） ---------- */
.hm-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--paper);
}

.hm-row+.hm-row {
  border-top: 1px solid var(--line);
}

.hm-row.hm-hide {
  display: none;
}

.hm-row-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 14px;
  transition: background-color .14s;
}

.hm-row-btn:hover {
  background: var(--haneul-050);
}

.hm-row-btn:focus-visible {
  outline: 2px solid var(--haneul);
  outline-offset: -2px;
}

.hm-row-play {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--haneul-050);
  color: var(--haneul);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  padding-left: 2px;
}

.hm-row.hm-speaking .hm-row-play {
  background: var(--haneul);
  color: #fff;
}

.hm-row-main {
  flex: 1;
  min-width: 0;
  position: relative;
  display: block;
}

.hm-row-ja {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.hm-row-ko-area {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.hm-row-ko {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--haneul);
  word-break: keep-all;
}

.hm-row-yomi {
  font-size: .76rem;
  color: var(--ink-40);
}

.hm-row-veil {
  display: none;
}

.hm-row-pol {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.hm-pol-hamnida {
  background: #eaf0f8;
  color: #2a4d76;
}

.hm-pol-haeyo {
  background: var(--haneul-100);
  color: #0f6dc2;
}

.hm-pol-banmal {
  background: #ffeede;
  color: #c25c11;
}

.hm-row-note {
  margin: 0;
  padding: 0 14px 12px 52px;
  font-size: .78rem;
  line-height: 1.75;
  color: var(--ink-60);
}

.hm-row-note b {
  color: var(--bada);
}

.hm-row-note b::after {
  content: "／";
  color: var(--ink-40);
  font-weight: 400;
  margin-inline: 3px;
}

/* --- 覚えるモード --- */
.hm-memorize .hm-row-ko-area {
  visibility: hidden;
}

.hm-memorize .hm-row-veil {
  display: inline-flex;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 22px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--haneul);
  background: var(--haneul-050);
  border: 1px dashed var(--haneul-300);
  border-radius: var(--r-s);
  padding: 0 12px;
}

.hm-memorize .hm-row.hm-open .hm-row-ko-area {
  visibility: visible;
}

.hm-memorize .hm-row.hm-open .hm-row-veil {
  display: none;
}

.hm-memorize .hm-row.hm-open {
  background: var(--haneul-050);
}

/* ---------- 深掘り導線 ---------- */
.hm-deep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  text-decoration: none;
  padding: 14px 16px;
  border: 1.5px solid var(--haneul-100);
  border-radius: var(--r-m);
  background: var(--haneul-050);
  transition: border-color .16s, background-color .16s;
}

.hm-deep:hover {
  border-color: var(--haneul);
  background: #e8f3ff;
}

.hm-deep-label {
  flex: none;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: var(--haneul);
  border-radius: 999px;
  padding: 4px 10px;
}

.hm-deep-text {
  flex: 1;
  min-width: 0;
}

.hm-deep-text b {
  display: block;
  font-size: .9rem;
  color: var(--bada);
}

.hm-deep-text small {
  display: block;
  font-size: .76rem;
  color: var(--ink-60);
  margin-top: 2px;
}

.hm-deep-arrow {
  flex: none;
  color: var(--haneul);
  font-weight: 800;
}

/* ---------- インラインCTA ---------- */
.hm-inline-cta {
  margin: 30px 0;
  padding: 24px 22px;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, #fff8f2, #fff);
  border: 1.5px solid #ffdcc2;
  text-align: center;
}

.hm-inline-cta p {
  margin: 0 0 8px;
  font-size: .88rem;
  line-height: 1.8;
  color: var(--ink-60);
}

.hm-inline-cta p b {
  color: var(--bada);
  font-size: 1rem;
}

.hm-inline-cta .hm-btn {
  margin-top: 10px;
}

.hm-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-40);
  font-size: .9rem;
}

/* ---------- クイズ ---------- */
.hm-quiz {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--paper);
  padding: 22px;
}

.hm-quiz-start {
  text-align: center;
  padding-block: 10px;
}

.hm-q-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}

.hm-q-bar>i {
  display: block;
  height: 100%;
  background: var(--haneul);
  width: 0;
  transition: width .25s;
}

.hm-q-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hm-q-count {
  font-size: .78rem;
  color: var(--ink-40);
  font-weight: 700;
}

.hm-q-streak {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gyul);
}

.hm-q-prompt {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bada);
  text-align: center;
  padding: 20px 10px 24px;
  line-height: 1.5;
}

.hm-q-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.hm-q-choices button {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 14px 17px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .14s, background-color .14s;
}

.hm-q-choices button:hover:not(:disabled) {
  border-color: var(--haneul-300);
  background: var(--haneul-050);
}

.hm-q-choices button:disabled {
  cursor: default;
}

.hm-q-choices button.hm-ok {
  border-color: #2fa86a;
  background: #eaf8f1;
  color: #1d7a4c;
}

.hm-q-choices button.hm-ng {
  border-color: #e2607a;
  background: #fdeef1;
  color: #b8384f;
}

.hm-q-result {
  text-align: center;
}

.hm-q-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--geum);
  line-height: 1.2;
  margin: 0;
}

.hm-q-score small {
  display: block;
  font-size: .76rem;
  color: var(--ink-40);
  font-weight: 700;
  margin-top: 4px;
}

.hm-q-miss {
  text-align: left;
  margin-top: 22px;
}

.hm-q-miss h4 {
  font-size: .92rem;
  color: var(--bada);
  margin: 0 0 9px;
}

.hm-q-miss ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.hm-q-miss li {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gyul);
  border-radius: var(--r-s);
  padding: 11px 13px;
  background: var(--paper-2);
}

.hm-q-miss .ko {
  font-weight: 700;
  color: var(--haneul);
}

.hm-q-miss .ja {
  font-size: .82rem;
  color: var(--ink-60);
  display: block;
  margin-top: 2px;
}

/* ---------- CTA / FAQ ---------- */
.hm-cta {
  background: var(--bada);
  color: #fff;
  border-radius: var(--r-l);
  padding: 32px 26px;
  text-align: center;
}

.hm-cta h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.5;
}

.hm-cta p {
  font-size: .9rem;
  line-height: 1.85;
  color: #cfe2f5;
  margin: 0 0 20px;
}

.hm-cta-sub {
  font-size: .76rem !important;
  color: #9dbfe0 !important;
  margin: 13px 0 0 !important;
}

.hm-faq {
  display: grid;
  gap: 9px;
}

.hm-faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--paper);
}

.hm-faq summary {
  cursor: pointer;
  padding: 15px 17px;
  font-weight: 700;
  color: var(--bada);
  font-size: .93rem;
  list-style: none;
}

.hm-faq summary::-webkit-details-marker {
  display: none;
}

.hm-faq summary::after {
  content: "＋";
  float: right;
  color: var(--haneul);
  font-weight: 800;
}

.hm-faq details[open] summary::after {
  content: "－";
}

.hm-faq p {
  margin: 0;
  padding: 0 17px 17px;
  font-size: .87rem;
  line-height: 1.85;
  color: var(--ink-60);
}

/* ---------- SP ---------- */
@media (max-width: 640px) {
  :root {
    --bar-h: 132px;
  }

  .hm-ph-section {
    padding-block: 38px;
  }

  .hm-row-btn {
    gap: 10px;
    padding: 11px 12px;
  }

  .hm-row-pol {
    font-size: .64rem;
    padding: 3px 7px;
  }

  .hm-row-note {
    padding-left: 48px;
  }

  .hm-chips-pol {
    margin-left: 4px;
    padding-left: 8px;
  }

  .hm-deep {
    gap: 10px;
    padding: 12px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* =========================================================
   ハングルマッチ / フレーズ個別記事
   haneul-phrases.css を読み込んだ「あと」に読み込むこと
   ========================================================= */

.hm-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-block: 20px 6px;
  font-size: .78rem;
  color: var(--ink-40);
  flex-wrap: wrap;
}

.hm-crumb a {
  color: var(--ink-60);
  text-decoration: none;
}

.hm-crumb a:hover {
  color: var(--haneul);
}

.hm-art-h1 {
  font-size: clamp(1.45rem, 4.6vw, 2.05rem);
  line-height: 1.45;
  font-weight: 800;
  color: var(--bada);
  margin: 6px 0 20px;
  letter-spacing: -.01em;
}

.hm-art-sec {
  padding-block: 30px 0;
}

/* ---------- 即答ブロック ---------- */
.hm-answer {
  border: 2px solid var(--haneul-100);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--haneul-050), #fff);
  padding: 20px 20px 22px;
  margin-bottom: 8px;
}

.hm-answer .hm-rows {
  border: 0;
  background: none;
}

.hm-answer-btn {
  padding: 0 0 6px;
}

.hm-answer-btn:hover {
  background: none;
}

.hm-answer-ko {
  display: block;
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 800;
  color: var(--haneul);
  line-height: 1.25;
  letter-spacing: .01em;
}

.hm-answer-yomi {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-60);
  margin-top: 6px;
}

.hm-answer-yomi em {
  font-style: normal;
  color: var(--ink-40);
}

.hm-answer-ja {
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--haneul-300);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bada);
}

.hm-answer-text {
  margin: 10px 0 0;
  font-size: .92rem;
  line-height: 1.9;
  color: var(--ink-60);
}

.hm-answer .hm-row-play {
  width: 32px;
  height: 32px;
  font-size: .7rem;
}

/* ---------- ツール行 ---------- */
.hm-tools-row {
  margin-bottom: 12px;
}

/* ---------- 早見表（上ほどかたい、を視覚化） ---------- */
.hm-var-rows {
  border-left: 4px solid var(--haneul-100);
}

/* ---------- 本文 ---------- */
.hm-prose {
  font-size: .94rem;
  line-height: 1.95;
  color: var(--ink);
}

.hm-prose p {
  margin: 0 0 16px;
}

.hm-prose strong {
  color: var(--bada);
}

.hm-prose ul,
.hm-prose ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.hm-prose li {
  margin-bottom: 7px;
}

.hm-prose code {
  background: var(--haneul-050);
  border: 1px solid var(--haneul-100);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: .95em;
  color: var(--bada);
  font-family: inherit;
  font-weight: 700;
}

.hm-prose blockquote {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--gyul);
  background: #fff8f2;
  border-radius: 0 var(--r-s) var(--r-s) 0;
  font-size: .89rem;
  color: var(--ink-60);
}

.hm-prose blockquote p:last-child {
  margin-bottom: 0;
}

.hm-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: .88rem;
}

.hm-prose th,
.hm-prose td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
}

.hm-prose th {
  background: var(--paper-2);
  color: var(--bada);
  font-weight: 700;
}

/* ---------- ハングル講座CTA（この記事群の本命） ---------- */
.hm-hangul-cta {
  border-radius: var(--r-l);
  padding: 30px 26px;
  text-align: left;
  background: var(--bada);
  color: #fff;
  background-image: radial-gradient(600px 200px at 100% 0%, rgba(50, 158, 255, .35), transparent 70%);
}

.hm-hangul-cta-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--bada);
  background: var(--geum);
  padding: 5px 12px;
  border-radius: 999px;
}

.hm-hangul-cta h2 {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.55;
}

.hm-hangul-cta p {
  font-size: .9rem;
  line-height: 1.9;
  color: #cfe2f5;
  margin: 0 0 20px;
}

.hm-hangul-cta p b {
  color: #fff;
}

.hm-hangul-cta-sub {
  font-size: .76rem !important;
  color: #9dbfe0 !important;
  margin: 13px 0 0 !important;
}

@media (max-width: 640px) {
  .hm-answer {
    padding: 18px 16px 20px;
  }

  .hm-hangul-cta {
    padding: 26px 20px;
  }
}

/* ---------- 記事カード（/phrases と 各記事の下部で共用） ---------- */
.hm-art-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.hm-art-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 16px 18px 14px;
  background: var(--paper);
  transition: border-color .16s, background-color .16s;
}

.hm-art-cards a:hover {
  border-color: var(--haneul-300);
  background: var(--haneul-050);
}

.hm-artc-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.hm-artc-ko {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--haneul);
  line-height: 1.3;
  word-break: keep-all;
}

.hm-artc-yomi {
  font-size: .76rem;
  color: var(--ink-40);
  font-weight: 700;
}

.hm-artc-ja {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--bada);
}

.hm-artc-title {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--ink-60);
  flex: 1;
}

.hm-artc-cat {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-40);
}