/* ===== トップページ専用の見た目（2026-11-11 作り直し）=====
   index.html の <body class="home-2026"> の中だけに効く。
   戻すとき：index.html を控えに戻し、このファイルを消す（styles.css は触っていない） */

.home-2026 {
  --hm-ink: #13222c;
  --hm-sub: #52636d;
  --hm-line: #e2e9eb;
  --hm-bg: #fbfcfc;
  --hm-soft: #f1f7f6;
  --hm-navy: #0d2a3c;
  --hm-teal: #0f766e;
  --hm-teal-dark: #0a5952;
  --hm-teal-soft: #dff1ee;
  --hm-warm: #fff7ea;
  --hm-amber: #b7791f;
  --hm-radius: 18px;
  --hm-shadow: 0 1px 2px rgba(13, 42, 60, .05), 0 12px 32px rgba(13, 42, 60, .07);
  background: var(--hm-bg);
  color: var(--hm-ink);
}

.home-2026 main { overflow-x: clip; }

.hm-wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.hm-section { padding: clamp(56px, 8vw, 104px) 0; }
.hm-section.soft { background: var(--hm-soft); }

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--hm-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.hm-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hm-h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.4;
  letter-spacing: .01em;
  font-feature-settings: "palt";
}
.hm-lead {
  max-width: 46em;
  margin: 0;
  color: var(--hm-sub);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95;
}
.hm-head { margin-bottom: clamp(28px, 4vw, 44px); }
.hm-head.center { text-align: center; }
.hm-head.center .hm-lead { margin-inline: auto; }

/* ボタン */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.hm-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.hm-btn:hover::after { transform: translateX(3px) rotate(45deg); }
.hm-btn.primary {
  color: #fff;
  background: var(--hm-teal);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .26);
}
.hm-btn.primary:hover { background: var(--hm-teal-dark); transform: translateY(-2px); }
.hm-btn.ghost {
  color: var(--hm-navy);
  background: #fff;
  border-color: #c9d6da;
}
.hm-btn.ghost:hover { border-color: var(--hm-teal); color: var(--hm-teal-dark); transform: translateY(-2px); }
.hm-btn:focus-visible,
.home-2026 a:focus-visible { outline: 3px solid #7fd1c7; outline-offset: 3px; }

.hm-pr {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

/* ===== 1. いちばん上 ===== */
.hm-hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 480px at 88% 8%, #e2f3f0 0%, rgba(226, 243, 240, 0) 62%),
    radial-gradient(700px 420px at 4% 96%, #fff3df 0%, rgba(255, 243, 223, 0) 60%),
    #fbfcfc;
}
.hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hm-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4.1vw, 48px);
  line-height: 1.32;
  letter-spacing: .01em;
  font-feature-settings: "palt";
}
.hm-brand {
  display: block;
  margin-bottom: 12px;
  color: var(--hm-teal);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 800;
  letter-spacing: .1em;
}
.hm-hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, #ffe4a8 62%);
}
.hm-hero-lead {
  margin: 0 0 28px;
  color: #3d4f59;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 2;
}
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-hero-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 20px 0 0;
  color: var(--hm-sub);
  font-size: 13px;
  line-height: 1.8;
}
.hm-hero-note svg { flex: 0 0 18px; margin-top: 3px; color: var(--hm-teal); }

.hm-hero-visual { position: relative; }
.hm-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 28px;
  box-shadow: var(--hm-shadow);
  background: #dfeeee;
}
.hm-slip {
  position: absolute;
  left: clamp(-28px, -2.4vw, -12px);
  bottom: clamp(-30px, -2.6vw, -16px);
  width: min(300px, 78%);
  padding: 18px 20px 16px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(13, 42, 60, .16);
  color: var(--hm-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hm-slip:hover { transform: translateY(-3px); box-shadow: 0 24px 52px rgba(13, 42, 60, .2); }
.hm-slip-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--hm-sub);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.hm-slip-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hm-teal);
}
.hm-slip-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px dashed var(--hm-line);
  font-size: 13px;
  color: var(--hm-sub);
}
.hm-slip-row strong { color: var(--hm-ink); font-size: 18px; letter-spacing: .02em; }
.hm-slip-row.now strong { color: var(--hm-teal-dark); font-size: 24px; }
.hm-slip-foot { margin: 8px 0 0; color: #7a8a93; font-size: 11px; line-height: 1.6; }

/* ===== 2. 信頼の帯 ===== */
.hm-trust { background: #fff; border-block: 1px solid var(--hm-line); }
.hm-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-trust-grid li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 26px 22px;
}
.hm-trust-grid li + li { border-left: 1px solid var(--hm-line); }
.hm-ico {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hm-teal-soft);
  color: var(--hm-teal-dark);
}
.hm-trust-grid strong { display: block; font-size: 15px; line-height: 1.5; }
.hm-trust-grid span { display: block; margin-top: 3px; color: var(--hm-sub); font-size: 13px; line-height: 1.65; }

/* ===== 3. 悩みから選ぶ ===== */
.hm-worry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hm-worry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  color: var(--hm-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hm-worry:hover { transform: translateY(-4px); border-color: #a9d8d1; box-shadow: var(--hm-shadow); }
.hm-worry-say {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.hm-worry-say::before { content: "「"; color: var(--hm-teal); }
.hm-worry-say::after { content: "」"; color: var(--hm-teal); }
.hm-worry-to { margin: 0; color: var(--hm-sub); font-size: 14px; line-height: 1.75; flex: 1; }
.hm-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hm-teal-dark);
  font-size: 14px;
  font-weight: 800;
}
.hm-more::after { content: "→"; transition: transform .18s ease; }
a:hover > .hm-more::after, .hm-more:hover::after { transform: translateX(4px); }

/* ===== 4. 転職サービスの選び方 ===== */
.hm-transfer {
  background: var(--hm-navy);
  color: #eaf2f4;
  background-image: radial-gradient(800px 420px at 100% 0%, rgba(18, 168, 200, .18), rgba(18, 168, 200, 0) 60%);
}
.hm-transfer .hm-eyebrow { color: #7fd8cc; }
.hm-transfer .hm-lead { color: #c3d3d9; }
.hm-disclose {
  display: inline-block;
  margin: 16px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  color: #c3d3d9;
  font-size: 13px;
  line-height: 1.7;
}
.hm-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hm-svc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border-radius: var(--hm-radius);
  background: #fff;
  color: var(--hm-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hm-svc:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, .28); }
.hm-svc-type {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hm-teal-soft);
  color: var(--hm-teal-dark);
  font-size: 12px;
  font-weight: 800;
}
.hm-svc-type.search { background: var(--hm-warm); color: var(--hm-amber); }
.hm-svc h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.hm-svc p { margin: 0; color: var(--hm-sub); font-size: 14px; line-height: 1.75; flex: 1; }
.hm-svc p b { color: var(--hm-ink); }

.hm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: hmstep;
}
.hm-steps li {
  position: relative;
  padding: 20px 20px 20px 66px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--hm-radius);
  background: rgba(255, 255, 255, .05);
  counter-increment: hmstep;
}
.hm-steps li::before {
  content: counter(hmstep);
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #7fd8cc;
  color: var(--hm-navy);
  font-weight: 900;
}
.hm-steps strong { display: block; color: #fff; font-size: 16px; line-height: 1.5; }
.hm-steps span { display: block; margin-top: 4px; color: #c3d3d9; font-size: 13.5px; line-height: 1.75; }
.hm-steps a { color: #9fe6dc; font-weight: 800; }
.hm-transfer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 34px; }
.hm-transfer-cta p { margin: 0; color: #c3d3d9; font-size: 14px; line-height: 1.8; }

/* ===== 5. おすすめ記事（今ある横すべりの帯） ===== */
.home-2026 .pickup-strip { background: #fff; padding-block: clamp(40px, 6vw, 72px); }
.home-2026 .pickup-strip-label {
  color: var(--hm-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

/* ===== 6. 記事の一覧（今あるカードの見た目を整える） ===== */
.hm-hub-block + .hm-hub-block { margin-top: clamp(56px, 7vw, 88px); }
.hm-hub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.hm-hub-head .hm-h2 { margin: 0; font-size: clamp(22px, 2.8vw, 30px); }
.hm-count {
  display: inline-block;
  margin-left: 10px;
  color: var(--hm-sub);
  font-size: 14px;
  font-weight: 700;
}
.hm-count b { color: var(--hm-teal-dark); font-size: 18px; }
.hm-all {
  color: var(--hm-teal-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.hm-all::after { content: " →"; }
.hm-all:hover { text-decoration: underline; }
.hm-sub-h {
  margin: 36px 0 8px;
  font-size: 18px;
}
.hm-sub-note { margin: 0 0 16px; color: var(--hm-sub); font-size: 13.5px; line-height: 1.8; }

.home-2026 .guide-card-grid,
.home-2026 .guide-card-grid.two-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-2026 .hm-limit .guide-card:nth-child(n+7) { display: none; }
.home-2026 .guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 0 0 20px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-2026 .guide-card:hover { transform: translateY(-4px); border-color: #a9d8d1; box-shadow: var(--hm-shadow); }
.home-2026 .guide-card > * { margin-inline: 20px; }
.home-2026 .guide-card .guide-card-thumb {
  order: -1;
  width: 100%;
  margin: 0 0 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  border-bottom: 1px solid var(--hm-line);
  border-radius: 0;
}
.home-2026 .guide-card .tag { align-self: flex-start; }
.home-2026 .guide-card strong { font-size: 17px; line-height: 1.55; }
.home-2026 .guide-card small { font-size: 13.5px; line-height: 1.75; color: var(--hm-sub); }
.home-2026 .guide-card.guide-note-card { padding-top: 20px; background: var(--hm-soft); }

.home-2026 .pr-service-grid { gap: 20px; }
.home-2026 .pr-service-card { border-radius: var(--hm-radius); border-color: var(--hm-line); }

/* ===== 7. 書いている人 ===== */
.hm-author {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hm-author-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--hm-shadow);
}
.hm-author-top { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.hm-author-top img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hm-teal-soft);
}
.hm-author-top strong { display: block; font-size: 22px; }
.hm-author-top span { color: var(--hm-sub); font-size: 13.5px; }
.hm-author-card p { margin: 0 0 12px; color: #3d4f59; font-size: 15px; line-height: 1.95; }
.hm-author-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.hm-author-links a { color: var(--hm-teal-dark); font-weight: 800; font-size: 15px; }
.hm-promise { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hm-promise li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
}
.hm-promise li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--hm-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ===== 8. 最後のひと押し ===== */
.hm-final {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #fff7ea 0%, #fbfcfc 100%);
  text-align: center;
}
.hm-final h2 { margin: 0 0 12px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.5; font-feature-settings: "palt"; }
.hm-final p { max-width: 40em; margin: 0 auto 26px; color: var(--hm-sub); font-size: 15.5px; line-height: 1.95; }
.hm-final .hm-actions { justify-content: center; }

/* 画面に入ったら、ふわっと出す（動きを減らす設定の人には出さない） */
@media (prefers-reduced-motion: no-preference) {
  .hm-js .hm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .hm-js .hm-reveal.is-in { opacity: 1; transform: none; }
}

/* ===== 幅のせまい画面 ===== */
@media (max-width: 960px) {
  .hm-hero-grid { grid-template-columns: 1fr; }
  .hm-hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hm-slip { left: 12px; }
  .hm-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-trust-grid li:nth-child(3) { border-left: 0; }
  .hm-trust-grid li:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
  .hm-worry-grid, .hm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-author { grid-template-columns: 1fr; }
  .home-2026 .guide-card-grid, .home-2026 .guide-card-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hm-wrap { width: min(1120px, 100% - 32px); }
  .hm-hero { padding-top: 28px; }
  .hm-actions .hm-btn { width: 100%; }
  .hm-hero-visual { margin-bottom: 26px; }
  .hm-slip { position: relative; left: auto; bottom: auto; width: auto; margin: -34px 14px 0; }
  .hm-trust-grid { grid-template-columns: 1fr; }
  .hm-trust-grid li { padding: 18px 4px; border-left: 0 !important; }
  .hm-trust-grid li + li { border-top: 1px solid var(--hm-line); }
  .hm-worry-grid, .hm-svc-grid { grid-template-columns: 1fr; }
  .home-2026 .guide-card-grid, .home-2026 .guide-card-grid.two-col { grid-template-columns: 1fr; }
  .home-2026 .hm-limit .guide-card:nth-child(n+5) { display: none; }
  .hm-transfer-cta .hm-btn { width: 100%; }
}

/* 2026-11-11 手直し：明細のカードをスマホで枠の内側に／上の小さい見出しを1行に */
.hm-slip { display: block; }
@media (max-width: 600px) {
  .hm-brand { font-size: 12.5px; letter-spacing: .04em; }
}

/* ===== 看護師のための道具（準備中）2026-11-11 ===== */
.hm-tools { background: #fff; }
.hm-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 22px;
  border: 1.5px dashed #b9cdd2;
  border-radius: var(--hm-radius);
  background: var(--hm-soft);
}
.hm-tool h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.hm-tool p { margin: 0; color: var(--hm-sub); font-size: 14px; line-height: 1.8; }
.hm-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hm-warm);
  color: var(--hm-amber);
  font-size: 12px;
  font-weight: 800;
}
.hm-tool-note { margin: 22px 0 0; text-align: center; color: var(--hm-sub); font-size: 14px; }
@media (max-width: 960px) { .hm-tool-grid { grid-template-columns: 1fr; } }

/* 2026-11-11 ■03の助言：小さい見出しをせまい画面で1行に／記事の数を目立たせる */
.hm-trust-grid span b { color: var(--hm-teal-dark); font-size: 15px; }
@media (max-width: 420px) { .hm-brand-name { display: none; } }

/* 2026-11-11 社長「この欄長い。半分に」：転職サービスの区画を短く */
.hm-transfer { padding: clamp(40px, 5vw, 64px) 0; }
.hm-transfer .hm-head { margin-bottom: 22px; }
.hm-transfer .hm-disclose { margin-top: 10px; padding: 5px 12px; font-size: 12.5px; }
.hm-transfer .hm-svc { padding: 18px 18px 16px; gap: 8px; }
.hm-transfer-cta { margin-top: 24px; }
@media (max-width: 600px) {
  .hm-transfer .hm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-transfer .hm-svc { padding: 14px 12px; gap: 6px; }
  .hm-transfer .hm-svc h3 { font-size: 15.5px; }
  .hm-transfer .hm-svc p { font-size: 12.5px; line-height: 1.65; }
  .hm-transfer .hm-svc-type { font-size: 10.5px; padding: 2px 8px; }
  .hm-transfer .hm-svc .hm-more { font-size: 12.5px; }
}

/* 2026-11-11 字の変更：見出しの最後の「た。」だけが次の行に落ちないように */
.hm-nw { white-space: nowrap; }
