@charset "UTF-8";

/* =========================================================
   Hyakukiri — 100cut-golf.jp
   ダークグリーン基調 / ランキング送客を主導線にした編集メディア
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #0f1b13;
  --bg-2:          #132018;
  --surface:       #16241a;
  --surface-2:     #1b2c20;
  --line:          rgba(214, 232, 218, .10);
  --line-strong:   rgba(214, 232, 218, .20);

  --text:          #e6ece7;
  --text-2:        #9fb0a4;
  --text-3:        #7b8c80;

  --accent:        #7cc48b;
  --accent-soft:   rgba(124, 196, 139, .10);
  --accent-line:   rgba(124, 196, 139, .42);

  --cta-bg:        #8fc79a;
  --cta-fg:        #10261a;
  --cta-bg-hover:  #a3d9ae;

  --ad:            #d3a94a;
  --ad-bg:         rgba(211, 169, 74, .07);
  --ad-line:       rgba(211, 169, 74, .48);

  --radius:        10px;
  --radius-lg:     14px;

  --shell:         1200px;
  --side:          320px;
  --gap:           40px;

  --ease:          cubic-bezier(.16, 1, .3, 1);
  --font-head:     "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  --font-body:     "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Noto Sans JP", system-ui, -apple-system, sans-serif;

  --z-header:      50;
  --z-mobilecta:   60;
  --z-drawer:      70;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.4; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hk-skip {
  position: absolute; left: -9999px;
  background: var(--cta-bg); color: var(--cta-fg);
  padding: 10px 18px; border-radius: var(--radius); font-weight: 700;
}
.hk-skip:focus { left: 12px; top: 12px; z-index: 999; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Shell ---------- */
.hk-container { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

.hk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side);
  gap: var(--gap);
  align-items: start;
  padding: 40px 0 72px;
}

/* =========================================================
   Header
   ========================================================= */
.hk-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(15, 27, 19, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hk-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.hk-logo { display: flex; flex-direction: column; justify-content: center; line-height: 1.25; flex-shrink: 0; }
.hk-logo__name { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.hk-logo__tag { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }

.hk-nav { margin-left: auto; }
.hk-nav ul { display: flex; align-items: center; gap: 26px; }
.hk-nav a {
  font-size: 14.5px; color: var(--text-2);
  transition: color .25s var(--ease);
  position: relative; padding: 4px 0;
}
.hk-nav a:hover { color: var(--text); }
.hk-nav .current-menu-item > a,
.hk-nav .current-menu-parent > a { color: var(--text); }
.hk-nav .current-menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.hk-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta-bg); color: var(--cta-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hk-cta:hover { background: var(--cta-bg-hover); transform: translateY(-1px); }

.hk-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); align-items: center; justify-content: center; }
.hk-burger span { display: block; width: 17px; height: 1.5px; background: var(--text); position: relative; }
.hk-burger span::before, .hk-burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--text); }
.hk-burger span::before { top: -5.5px; }
.hk-burger span::after { top: 5.5px; }

/* Drawer (mobile) */
.hk-drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--bg); padding: 24px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto;
}
.hk-drawer[data-open="true"] { transform: translateX(0); }
.hk-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.hk-drawer__close { font-size: 26px; line-height: 1; color: var(--text-2); padding: 6px 10px; }
.hk-drawer ul { display: grid; gap: 2px; }
.hk-drawer a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }

/* =========================================================
   Hero (front page)
   ========================================================= */
.hk-hero { border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
.hk-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px; align-items: start;
}
.hk-hero__title {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.3;
}
.hk-hero__lead { margin-top: 18px; color: var(--text-2); font-size: 15.5px; max-width: 34em; }

.hk-aff {
  display: inline-flex; align-items: center; gap: 10px;
  width: fit-content; max-width: 100%;
  margin-top: 28px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 15px 28px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hk-aff::after {
  content: "→"; font-size: 15px; color: var(--accent); flex-shrink: 0;
}
.hk-aff:hover { background: rgba(124, 196, 139, .16); transform: translateY(-1px); }
.hk-aff__text { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }

.hk-hero__featured { display: grid; gap: 12px; }
.hk-feat {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.hk-feat:hover { border-color: var(--line-strong); background: var(--surface-2); }
.hk-feat__thumb { aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.hk-feat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hk-feat__body { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.hk-feat__cat { font-size: 11px; color: var(--accent); letter-spacing: .04em; }
.hk-feat__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.55; }

/* =========================================================
   Section heading
   ========================================================= */
.hk-sec { margin-bottom: 56px; }
.hk-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hk-sec__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hk-sec__more { font-size: 13px; color: var(--text-2); transition: color .25s var(--ease); }
.hk-sec__more:hover { color: var(--accent); }

/* ---------- Tabs ---------- */
.hk-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hk-tab {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 20px; font-size: 13.5px; color: var(--text-2);
  transition: all .25s var(--ease);
}
.hk-tab:hover { color: var(--text); border-color: var(--accent-line); }
.hk-tab[aria-selected="true"] { background: #eaf2ec; color: #16241a; border-color: #eaf2ec; font-weight: 700; }

/* ---------- Card grid ---------- */
.hk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hk-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.hk-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.hk-card__thumb { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.hk-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hk-card:hover .hk-card__thumb img { transform: scale(1.03); }
.hk-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.hk-card__cat { font-size: 11.5px; color: var(--accent); letter-spacing: .04em; }
.hk-card__title { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.hk-card__date { font-size: 12px; color: var(--text-3); margin-top: auto; padding-top: 4px; }

.hk-noimg {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(-45deg, rgba(124,196,139,.07) 0 6px, transparent 6px 12px),
    var(--surface-2);
  display: grid; place-items: center;
  color: var(--text-3); font-size: 11px; letter-spacing: .08em;
}

/* ---------- Ad slot ---------- */
.hk-ad {
  border: 1px solid var(--ad-line); background: var(--ad-bg);
  border-radius: var(--radius); padding: 20px 22px; margin: 28px 0;
}
.hk-ad__label {
  display: inline-block; background: var(--ad); color: #241b05;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 11px; border-radius: 999px; margin-bottom: 12px;
}
.hk-ad__body { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.hk-ad__note { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }

/* ---------- Ranking promo (TOP) ---------- */
.hk-rankpromo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hk-rankcard {
  border: 1px solid var(--accent-line); border-radius: var(--radius);
  background: var(--accent-soft); overflow: hidden;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hk-rankcard:hover { background: rgba(124, 196, 139, .16); transform: translateY(-2px); }
.hk-rankcard__thumb { aspect-ratio: 16 / 9; background: var(--surface-2); }
.hk-rankcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hk-rankcard__body { display: block; padding: 16px 18px 18px; }
.hk-rankcard__title { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.55; }
.hk-note { font-size: 13px; color: var(--text-3); margin-top: 18px; }

/* =========================================================
   Archive — list layout (not cards)
   ========================================================= */
.hk-breadcrumb { font-size: 12.5px; color: var(--text-3); padding: 22px 0 0; }
.hk-breadcrumb a { color: var(--text-2); transition: color .25s var(--ease); }
.hk-breadcrumb a:hover { color: var(--accent); }
.hk-breadcrumb span { margin: 0 7px; opacity: .5; }

.hk-archive__head { margin-bottom: 30px; }
.hk-archive__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.hk-archive__desc { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }
.hk-archive__count { color: var(--text-3); }

.hk-list { display: grid; gap: 14px; }
.hk-listitem {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.hk-listitem:hover { border-color: var(--accent-line); background: var(--surface-2); }
.hk-listitem__thumb { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.hk-listitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hk-listitem__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.hk-listitem__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.55; }
.hk-listitem__meta { font-size: 12.5px; color: var(--text-3); }
.hk-listitem__meta span { margin: 0 6px; opacity: .5; }

/* Inline ranking banner (mobile emphasis) */
.hk-inlinebanner {
  display: block; border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--radius); padding: 18px 20px; margin: 14px 0;
  transition: background .25s var(--ease);
}
.hk-inlinebanner:hover { background: rgba(124, 196, 139, .16); }
.hk-inlinebanner__text { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; }

/* Pagination */
.hk-pagination { margin-top: 40px; display: flex; justify-content: center; }
.hk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hk-pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 14px; color: var(--text-2);
  transition: all .25s var(--ease);
}
.hk-pagination a.page-numbers:hover { color: var(--text); border-color: var(--accent-line); }
.hk-pagination .page-numbers.current { background: var(--cta-bg); color: var(--cta-fg); border-color: var(--cta-bg); font-weight: 700; }
.hk-pagination .page-numbers.dots { border-color: transparent; }

/* =========================================================
   Single
   ========================================================= */
.hk-article__head { margin-bottom: 28px; }
.hk-article__cat {
  display: inline-block; font-size: 11.5px; color: var(--accent);
  border: 1px solid var(--accent-line); border-radius: 999px;
  padding: 3px 13px; margin-bottom: 16px;
}
.hk-article__title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.45; }
.hk-article__meta { margin-top: 16px; font-size: 13px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 16px; }
.hk-article__eyecatch { margin: 28px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }

/* TOC */
.hk-toc {
  border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: var(--radius); padding: 22px 24px; margin: 32px 0;
}
.hk-toc__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.hk-toc ol { counter-reset: toc; display: grid; gap: 9px; }
.hk-toc li { counter-increment: toc; font-size: 14.5px; line-height: 1.6; }
.hk-toc li::before { content: counter(toc) "."; color: var(--accent); margin-right: 9px; font-weight: 700; }
.hk-toc li.is-h3 { counter-increment: none; margin-left: 22px; font-size: 13.5px; }
.hk-toc li.is-h3::before { content: "–"; }
.hk-toc a { color: var(--text-2); transition: color .25s var(--ease); }
.hk-toc a:hover { color: var(--accent); }

/* Article body */
.hk-body { font-size: 16.5px; line-height: 2; }
.hk-body > * + * { margin-top: 1.5em; }
.hk-body h2 {
  font-size: 23px; font-weight: 700; margin-top: 2.6em; margin-bottom: .9em;
  padding: 14px 0 14px 18px; border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0; scroll-margin-top: 88px;
}
.hk-body h3 {
  font-size: 19px; font-weight: 700; margin-top: 2.2em; margin-bottom: .7em;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); scroll-margin-top: 88px;
}
.hk-body h4 { font-size: 17px; margin-top: 2em; margin-bottom: .6em; }
.hk-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hk-body a:hover { color: var(--cta-bg-hover); }
.hk-body ul, .hk-body ol { padding-left: 1.4em; }
.hk-body ul { list-style: disc; }
.hk-body ol { list-style: decimal; }
.hk-body li { margin-bottom: .5em; }
.hk-body li::marker { color: var(--accent); }
.hk-body blockquote {
  border-left: 3px solid var(--line-strong); padding: 4px 0 4px 20px;
  color: var(--text-2); font-style: normal;
}
.hk-body img { border-radius: var(--radius); }
.hk-body figure { margin: 2em 0; }
.hk-body figcaption { font-size: 13px; color: var(--text-3); margin-top: 10px; text-align: center; }
.hk-body code { background: var(--surface-2); padding: 2px 7px; border-radius: 4px; font-size: .9em; }
.hk-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.hk-body th, .hk-body td { border: 1px solid var(--line-strong); padding: 12px 14px; text-align: left; }
.hk-body th { background: var(--surface-2); font-weight: 700; }
.hk-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* Related */
.hk-related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.hk-related__title { font-size: 19px; font-weight: 700; margin-bottom: 22px; }
.hk-related .hk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Page (fixed pages) */
.hk-page__title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 28px; letter-spacing: -.02em; }

/* =========================================================
   Sidebar
   ========================================================= */
.hk-side { display: grid; gap: 22px; align-content: start; }
.hk-side__sticky { display: grid; gap: 22px; align-self: start; }

.hk-widget {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px;
}
.hk-widget--aff { border-color: var(--accent-line); background: var(--accent-soft); }
.hk-widget--ad { border-color: var(--ad-line); background: var(--ad-bg); }
.hk-widget__label {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
  background: var(--surface-2); color: var(--text-2);
}
.hk-widget--ad .hk-widget__label { background: var(--ad); color: #241b05; }
.hk-widget__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 14px; }

.hk-ranklist { display: grid; gap: 12px; }
.hk-ranklist__item {
  display: grid; grid-template-columns: 30px 64px minmax(0, 1fr); gap: 11px; align-items: center;
  padding: 9px; border-radius: 8px;
  transition: background .25s var(--ease);
}
.hk-ranklist__item:hover { background: rgba(255, 255, 255, .04); }
.hk-ranklist__num {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  background: var(--surface-2); color: var(--text-2);
}
.hk-ranklist__item:nth-child(1) .hk-ranklist__num { background: var(--cta-bg); color: var(--cta-fg); }
.hk-ranklist__item:nth-child(2) .hk-ranklist__num,
.hk-ranklist__item:nth-child(3) .hk-ranklist__num { background: rgba(143, 199, 154, .3); color: var(--text); }
.hk-ranklist__thumb { aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
.hk-ranklist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hk-ranklist__title { display: block; font-size: 13px; line-height: 1.55; }
.hk-ranklist__cat { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }

.hk-catlist { display: grid; gap: 2px; }
.hk-catlist a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14px;
  transition: color .25s var(--ease);
}
.hk-catlist a:hover { color: var(--accent); }
.hk-catlist li:last-child a { border-bottom: 0; }
.hk-catlist__count { font-size: 12px; color: var(--text-3); }

.hk-mail__note { font-size: 13px; color: var(--text-2); margin-bottom: 14px; line-height: 1.7; }
.hk-mail__form { display: grid; gap: 10px; }
.hk-mail__input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 11px 14px; font-size: 14px; color: var(--text);
}
.hk-mail__input::placeholder { color: var(--text-3); }
.hk-mail__submit {
  background: var(--cta-bg); color: var(--cta-fg); font-family: var(--font-head);
  font-weight: 700; font-size: 14px; padding: 11px; border-radius: 8px;
  transition: background .25s var(--ease);
}
.hk-mail__submit:hover { background: var(--cta-bg-hover); }

/* =========================================================
   Footer
   ========================================================= */
.hk-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 52px 0 40px; }
.hk-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.hk-footer__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.hk-footer__list { display: grid; gap: 10px; }
.hk-footer__list a { font-size: 13.5px; color: var(--text-2); transition: color .25s var(--ease); }
.hk-footer__list a:hover { color: var(--accent); }
.hk-footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3);
}
.hk-footer__acc-toggle { display: none; }

/* Mobile sticky CTA */
.hk-mobilecta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilecta);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 27, 19, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.hk-mobilecta a {
  display: block; text-align: center;
  background: var(--cta-bg); color: var(--cta-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 999px;
}

/* =========================================================
   404 / search
   ========================================================= */
.hk-empty { padding: 60px 0; text-align: center; }
.hk-empty__title { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.hk-empty__text { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }

.hk-searchform { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.hk-searchform input[type="search"] {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 11px 14px; color: var(--text); font-size: 14px;
}
.hk-searchform button {
  background: var(--cta-bg); color: var(--cta-fg); font-weight: 700;
  padding: 11px 20px; border-radius: 8px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  :root { --side: 300px; --gap: 32px; }
  .hk-nav ul { gap: 18px; }
  .hk-nav a { font-size: 13.5px; }
}

@media (max-width: 900px) {
  .hk-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  
  .hk-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hk-grid, .hk-rankpromo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-related .hk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-nav { display: none; }
  .hk-cta { display: none; }
  .hk-burger { display: flex; margin-left: auto; }
  .hk-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hk-footer__col { border-bottom: 1px solid var(--line); }
  .hk-footer__title {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0; padding: 17px 2px; cursor: pointer;
  }
  .hk-footer__title::after { content: "+"; font-size: 18px; color: var(--text-3); font-weight: 400; }
  .hk-footer__col[data-open="true"] .hk-footer__title::after { content: "−"; }
  .hk-footer__list { display: none; padding: 0 2px 20px; }
  .hk-footer__col[data-open="true"] .hk-footer__list { display: grid; }
  .hk-mobilecta { display: block; }
  body { padding-bottom: 78px; }
}

@media (max-width: 600px) {
  .hk-container { width: calc(100% - 32px); }
  .hk-hero { padding: 36px 0 32px; }
  .hk-grid, .hk-rankpromo { grid-template-columns: minmax(0, 1fr); }
  .hk-related .hk-grid { grid-template-columns: minmax(0, 1fr); }
  .hk-listitem { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .hk-listitem__title { font-size: 15px; }
  .hk-body { font-size: 16px; }
  .hk-body h2 { font-size: 20px; }
  .hk-body h3 { font-size: 17.5px; }
  .hk-sec { margin-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Single 追加パーツ（監修者 / 記事末CTA / 追従目次）
   ========================================================= */
.hk-main { min-width: 0; }

/* 監修者プロフィール（E-E-A-T） */
.hk-supervisor {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; align-items: center;
  margin-top: 48px; padding: 20px 22px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--surface);
}
.hk-supervisor__photo {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden;
  background: var(--surface-2); display: grid; place-items: center;
}
.hk-supervisor__photo img { width: 100%; height: 100%; object-fit: cover; }
.hk-supervisor__initial { font-size: 12px; color: var(--text-3); }
.hk-supervisor__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.hk-supervisor__role { font-weight: 400; font-size: 12.5px; color: var(--text-3); margin-left: 10px; }
.hk-supervisor__bio { font-size: 13.5px; color: var(--text-2); line-height: 1.75; margin-top: 6px; }

/* 記事末CTA（読了後の送客を最大化） */
.hk-endcta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 10px 16px;
  margin-top: 36px; padding: 26px 28px;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--radius-lg);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hk-endcta:hover { background: rgba(124, 196, 139, .18); transform: translateY(-1px); }
.hk-endcta__text {
  grid-column: 1; min-width: 0;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2vw, 20px);
}
.hk-endcta__arrow {
  grid-column: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cta-bg); color: var(--cta-fg);
  display: grid; place-items: center; font-size: 16px;
}

/* サイドバー追従目次 */
.hk-toc-side ol { counter-reset: stoc; display: grid; gap: 8px; max-height: 44vh; overflow-y: auto; }
.hk-toc-side li { counter-increment: stoc; font-size: 13px; line-height: 1.55; }
.hk-toc-side li::before { content: counter(stoc) "."; color: var(--accent); margin-right: 7px; font-weight: 700; }
.hk-toc-side li.is-h3 { counter-increment: none; margin-left: 16px; font-size: 12.5px; }
.hk-toc-side li.is-h3::before { content: "–"; }
.hk-toc-side a { color: var(--text-2); transition: color .25s var(--ease); }
.hk-toc-side a:hover, .hk-toc-side a.is-current { color: var(--accent); }
.hk-toc-side a.is-current { font-weight: 700; }

@media (max-width: 900px) {
  .hk-toc-side { display: none; }
  .hk-supervisor { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .hk-supervisor__photo { width: 52px; height: 52px; }
  .hk-endcta { padding: 20px; }
}

/* =========================================================
   サイドバー追従（サイドバー全体を sticky）
   ========================================================= */
.hk-side {
  position: sticky; top: 92px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 2px;
}
.hk-side::-webkit-scrollbar { width: 6px; }
.hk-side::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.hk-side::-webkit-scrollbar-track { background: transparent; }
/* 追従中は目次自体のスクロールを殺し、サイドバー側でまとめて送る */
.hk-toc-side ol { max-height: none; overflow: visible; }

/* フッターのメルマガ帯（サイドバーから移設） */
.hk-newsletter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 28px; align-items: center;
  padding: 26px 28px; margin-bottom: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--surface);
}
.hk-newsletter__title { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.hk-newsletter__note { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.hk-newsletter__form { display: flex; gap: 10px; }
.hk-newsletter__form .hk-mail__input { flex: 1; }
.hk-newsletter__form .hk-mail__submit { padding: 11px 24px; white-space: nowrap; }

@media (max-width: 900px) {
  .hk-side {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .hk-newsletter { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px; }
}
@media (max-width: 600px) {
  .hk-newsletter__form { flex-direction: column; }
}

/* =========================================================
   タグ
   ========================================================= */
.hk-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hk-tags__label { font-size: 12.5px; color: var(--text-3); letter-spacing: .04em; }
.hk-tags__list { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-tags__list a {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 15px; font-size: 13px; color: var(--text-2);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.hk-tags__list a:hover {
  color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft);
}
.hk-tags__hash { color: var(--accent); margin-right: 3px; font-weight: 700; }

.hk-tagcloud { margin-top: 40px; }
.hk-tagcloud .hk-widget { padding: 22px 24px; }
.hk-tagcloud .hk-tags__list { gap: 9px; }

@media (max-width: 600px) {
  .hk-tags { margin-top: 32px; padding-top: 20px; }
  .hk-tags__list a { padding: 5px 13px; font-size: 12.5px; }
}

/* =========================================================
   ヒーロー背景画像（未設定なら従来どおり無地）
   ========================================================= */
.hk-hero--image { position: relative; isolation: isolate; }
.hk-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hk-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 82%; }
/* 左は文字が乗るので濃く、右は被写体を見せるため薄く抜く */
.hk-hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,27,19,.93) 0%, rgba(15,27,19,.86) 30%, rgba(15,27,19,.62) 52%, rgba(15,27,19,.22) 78%, rgba(15,27,19,.06) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15,27,19,0) 34%);
}
.hk-hero--image {
  padding: 96px 0 88px;
  min-height: 520px;
  display: flex; align-items: center;
}
.hk-hero--image .hk-hero__inner { width: min(100% - 40px, var(--shell)); }
.hk-hero--image .hk-hero__title { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hk-hero--image .hk-hero__lead { color: #cdd8d0; }
.hk-hero--image .hk-feat { background: rgba(22,36,26,.82); backdrop-filter: blur(6px); }
.hk-hero--image .hk-aff { background: rgba(124,196,139,.16); backdrop-filter: blur(6px); }

@media (max-width: 900px) {
  /* モバイルは横位置が変わるので、暗さを均一にして文字を確実に読ませる */
  .hk-hero--image::after {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(15,27,19,.80) 34%, rgba(15,27,19,.46) 100%);
  }
  .hk-hero--image { padding: 52px 0 44px; min-height: 0; display: block; }
  .hk-hero__bg img { object-position: 68% 82%; }
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.hk-form { display: grid; gap: 26px; max-width: 640px; margin-top: 8px; }
.hk-form__row { display: grid; gap: 10px; }
.hk-form__label { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; }
.hk-form__req { color: var(--accent); margin-left: 2px; }
.hk-form__input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 13px 15px;
  font-family: inherit; font-size: 15px; line-height: 1.7;
  color: var(--text);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.hk-form__input:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface);
}
.hk-form__input::placeholder { color: var(--text-3); }
.hk-form__textarea { resize: vertical; min-height: 200px; }

.hk-form__submit {
  justify-self: start;
  background: var(--cta-bg); color: var(--cta-fg);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px 40px; border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hk-form__submit:hover { background: var(--cta-bg-hover); transform: translateY(-1px); }

/* ハニーポット：人には見せず、スクリーンリーダーからも外す */
.hk-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hk-form__notice {
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px;
  font-size: 14.5px; line-height: 1.75;
}
.hk-form__notice--ok { border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--text); }
.hk-form__notice--ng { border: 1px solid rgba(224, 122, 95, .5); background: rgba(224, 122, 95, .08); color: #edc4b6; }

@media (max-width: 600px) {
  .hk-form { gap: 20px; }
  .hk-form__submit { justify-self: stretch; text-align: center; }
}

/* =========================================================
   アイキャッチ未設定時のSVGプレースホルダ
   ========================================================= */
.hk-ph { display: block; width: 100%; height: 100%; }
/* 画像と同じ挙動にする（カードのホバーで少し寄る） */
.hk-card:hover .hk-ph { transform: scale(1.03); transition: transform .5s var(--ease); }

/* 記事冒頭のアイキャッチ枠：SVGのときは16:9で高さを確保する */
.hk-article__eyecatch .hk-ph { aspect-ratio: 16 / 9; }
/* SVG内のテキストは見出しフォントに揃える */
.hk-ph text { font-family: var(--font-head); }
/* プレースホルダが白背景になったので、カード内で浮かないよう境界を締める */
.hk-card__thumb .hk-ph,
.hk-listitem__thumb .hk-ph,
.hk-ranklist__thumb .hk-ph,
.hk-feat__thumb .hk-ph { box-shadow: inset 0 0 0 1px rgba(15, 27, 19, .10); }
