/* ============================================================
   マイクラ育みガイド — HOME v2
   参考: tenshoku-nendo.com レイアウト × Minecraft グリーン
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ---- リセット & 変数 ---- */
:root {
  --green:      #5DB82E;
  --green-dark: #3A6B1A;
  --green-lt:   #DFF3CB;
  --gold:       #F9A825;
  --yellow:     #FEC60D;
  --blue:       #0072C9;
  --blue-dark:  #00538F;
  --blue-lt:    #E4F4FD;
  --pink:       #DA0663;
  --pink-dark:  #A30049;
  --pink-lt:    #FDE3EE;
  --text:       #1a1a1a;
  --text-sub:   #555;
  --text-light: #888;
  --bg:         #F4F9FB;
  --white:      #ffffff;
  --border:     #E0E0E0;
  --radius:     8px;
  --shadow:     0 2px 10px rgba(0,0,0,0.08);
  --font-body:  'Hiragino Kaku Gothic ProN','Hiragino Sans','Meiryo',sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg) !important;
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  image-rendering: auto !important;
}

.site,.site-content,.site-main,#page,#content,#primary,#main,.wp-site-blocks {
  margin: 0 !important;
  padding: 0 !important;
}

#home-v2 * { box-sizing: border-box; }
#home-v2 a { text-decoration: none; color: inherit; }
#home-v2 img { max-width: 100%; height: auto; display: block; }
#home-v2 ul, #home-v2 ol { list-style: none; margin: 0; padding: 0; }

/* ---- ヘッダー補正 ---- */
.mc-site-header { top: var(--wp-admin--admin-bar--height, 0); }

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.hv2-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.hv2-wrap--narrow { max-width: 780px; }

/* ============================================================
   TAGLINE STRIP — ヘッダー直下の一言説明
   ============================================================ */
.hv2-tagline {
  background: linear-gradient(180deg, var(--blue-lt) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px 20px;
  text-align: center;
}
.hv2-tagline__logo {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
  line-height: 2;
  letter-spacing: 0.02em;
}
.hv2-tagline__desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}
@media (min-width: 640px) {
  .hv2-tagline { padding: 24px 20px 26px; }
  .hv2-tagline__logo { font-size: 13px; }
  .hv2-tagline__desc { font-size: 14px; }
}

/* ============================================================
   CATEGORY TABS — 全幅グレーバー
   ============================================================ */
.hv2-tabs {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hv2-tabs::-webkit-scrollbar { display: none; }

.hv2-tabs__inner {
  display: flex;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 10px;
}

.hv2-tab {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-sub);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.12s, border-color 0.12s;
  cursor: pointer;
}
.hv2-tab:hover { color: var(--pink); }
.hv2-tab--active {
  color: var(--white);
  background: var(--green);
  border-bottom-color: var(--green);
}

@media (min-width: 640px) {
  .hv2-tab { padding: 16px 28px; font-size: 14px; }
}

/* ============================================================
   ARTICLES SECTION
   ============================================================ */
.hv2-articles {
  padding: 32px 0 40px;
  background: var(--bg);
}

/* --- セクション見出し --- */
.hv2-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hv2-section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  position: relative;
}
.hv2-section-title::before,
.hv2-section-title::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.hv2-section-title::after {
  background: linear-gradient(135deg, var(--gold) 0%, #d98a00 100%);
}
.hv2-section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--blue) 50%, var(--green) 100%);
}

@media (min-width: 640px) {
  .hv2-section-title { font-size: 26px; gap: 14px; }
  .hv2-section-title::before,
  .hv2-section-title::after { width: 18px; height: 18px; }
}

/* --- メインレイアウト: 大カード左 + 2スタック右 --- */
.hv2-top-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
@media (min-width: 640px) {
  .hv2-top-row {
    flex-direction: row;
    align-items: stretch;
  }
}

/* 大カード（左） */
.hv2-main-card {
  flex: 2;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid var(--border);
}
.hv2-main-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}
.hv2-main-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}
.hv2-main-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hv2-main-card__noimg {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #d4edbc 0%, #a8d080 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}
.hv2-main-card__body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hv2-main-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  color: var(--white);
  background: var(--green);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.hv2-main-card__title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 6px;
}
.hv2-main-card__excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
}
.hv2-main-card__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
  align-items: center;
}
.hv2-main-card__new {
  font-size: 10px;
  font-weight: bold;
  color: var(--white);
  background: var(--pink);
  padding: 2px 8px;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .hv2-main-card__noimg { height: 260px; }
  .hv2-main-card__title { font-size: 21px; }
}

/* 右スタック（2枚縦並び） */
.hv2-sub-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hv2-side-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid var(--border);
  flex: 1;
}
.hv2-side-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.hv2-side-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #d4edbc, #a8d080);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv2-side-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hv2-side-card__noimg {
  width: 100%;
  height: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.hv2-side-card__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
}
.hv2-side-card__cat {
  font-size: 10px;
  font-weight: bold;
  color: var(--green);
}
.hv2-side-card__title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.55;
  color: var(--text);
  /* 3行クランプ */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hv2-side-card__meta {
  font-size: 11px;
  color: var(--text-light);
}

@media (min-width: 640px) {
  .hv2-side-card__title { font-size: 14px; }
}

/* --- 3列グリッド --- */
.hv2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
@media (min-width: 640px) {
  .hv2-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .hv2-grid { grid-template-columns: repeat(4, 1fr); }
}

.hv2-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.hv2-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.hv2-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #d4edbc, #a8d080);
  flex-shrink: 0;
}
.hv2-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hv2-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.hv2-card__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hv2-card__cat {
  font-size: 10px;
  font-weight: bold;
  color: var(--green);
}
.hv2-card__title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hv2-card__meta {
  font-size: 11px;
  color: var(--text-light);
}

/* --- もっと見るボタン --- */
.hv2-more {
  text-align: center;
  padding: 4px 0 8px;
}
.hv2-more-btn {
  display: inline-block;
  padding: 13px 48px;
  font-size: 14px;
  font-weight: bold;
  color: var(--green-dark);
  border: 2px solid var(--green);
  border-radius: 40px;
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.hv2-more-btn:hover {
  background: var(--green);
  color: var(--white);
}

/* ============================================================
   RECOMMEND SECTION
   ============================================================ */
.hv2-recommend {
  background: var(--white);
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
}

.hv2-rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .hv2-rec-grid { grid-template-columns: repeat(3, 1fr); }
}

.hv2-rec-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
  position: relative;
}
.hv2-rec-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.hv2-rec-card--no1 { border-color: var(--pink); box-shadow: 0 4px 0 var(--pink-dark); }

.hv2-rec-rank {
  position: absolute;
  top: 0; left: 0;
  font-size: 11px;
  font-weight: bold;
  color: var(--white);
  background: var(--text-light);
  padding: 4px 14px;
  border-bottom-right-radius: 8px;
}
.hv2-rec-rank--1 { background: var(--pink); }
.hv2-rec-rank--2 { background: var(--blue); }
.hv2-rec-rank--3 { background: #C4622D; }

.hv2-rec-thumb {
  height: 88px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-bottom: 1px solid var(--border);
}
.hv2-rec-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hv2-rec-cat { font-size: 11px; font-weight: bold; color: var(--green); }
.hv2-rec-title { font-size: 15px; font-weight: 900; line-height: 1.5; color: var(--text); }
.hv2-rec-stars { font-size: 14px; color: var(--gold); }
.hv2-rec-stars span { font-weight: bold; color: var(--text); margin-left: 4px; font-size: 14px; }
.hv2-rec-stars em { color: var(--text-light); font-size: 11px; font-style: normal; }
.hv2-rec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hv2-rec-tags li {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 9px;
  background: var(--green-lt);
  color: var(--green-dark);
  border-radius: 3px;
}
.hv2-rec-text { font-size: 12px; color: var(--text-sub); line-height: 1.7; flex: 1; }
.hv2-rec-note { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 4px; }

/* ---- ボタン ---- */
.hv2-btn {
  display: block;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.13s;
  border: 2px solid transparent;
}
.hv2-btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green-dark);
  box-shadow: 0 3px 0 var(--green-dark);
}
.hv2-btn--green:hover { background: #4c8a28; }
.hv2-btn--green:active { transform: translateY(2px); box-shadow: none; }
.hv2-btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue-dark);
  box-shadow: 0 3px 0 var(--blue-dark);
}
.hv2-btn--blue:hover { background: var(--blue-dark); }
.hv2-btn--blue:active { transform: translateY(2px); box-shadow: none; }
.hv2-btn--pink {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink-dark);
  box-shadow: 0 3px 0 var(--pink-dark);
}
.hv2-btn--pink:hover { background: var(--pink-dark); }
.hv2-btn--pink:active { transform: translateY(2px); box-shadow: none; }
.hv2-btn--outline {
  background: var(--white);
  color: var(--green);
  border-color: var(--green);
}
.hv2-btn--outline:hover { background: var(--green-lt); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.hv2-faq {
  background: var(--bg);
  padding: 48px 0 64px;
}
.hv2-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.hv2-faq-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}
.hv2-faq-item[open] { box-shadow: 0 6px 18px rgba(0,0,0,0.14); }

.hv2-faq-q {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
  color: var(--white);
  background: #3A7D1F;
}
.hv2-faq-q::-webkit-details-marker { display: none; }
.hv2-faq-q::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -7px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
details[open] .hv2-faq-q::after {
  transform: rotate(225deg);
  margin-top: -3px;
}

.hv2-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  background: var(--green-lt);
}
.hv2-faq-a::before {
  content: '回答';
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--green-dark);
  padding-top: 3px;
  letter-spacing: 0.05em;
}

/* ============================================================
   人気記事ランキング（横スクロールカルーセル）
   ============================================================ */
.hv2-ranking {
  padding: 36px 0 8px;
}
.hv2-ranking-viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.hv2-ranking-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: hv2-ranking-scroll 28s linear infinite;
}
.hv2-ranking-viewport:hover .hv2-ranking-track {
  animation-play-state: paused;
}
@keyframes hv2-ranking-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hv2-rank-card {
  position: relative;
  flex: 0 0 220px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: box-shadow 0.18s, transform 0.18s;
}
.hv2-rank-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}
.hv2-rank-card__num {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
  background: #8a8a8a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  font-family: 'Press Start 2P', monospace;
}
.hv2-rank-card__num--1 { background: var(--pink); }
.hv2-rank-card__num--2 { background: var(--blue); }
.hv2-rank-card__num--3 { background: var(--yellow); color: var(--text); }
.hv2-rank-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #d4edbc, #a8d080);
}
.hv2-rank-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hv2-rank-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.hv2-rank-card__body {
  padding: 12px 14px 16px;
}
.hv2-rank-card__cat {
  font-size: 10px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 4px;
}
.hv2-rank-card__title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.55;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hv2-rank-card { flex: 0 0 240px; }
}

/* ============================================================
   利用者の声
   ============================================================ */
.hv2-voice {
  padding: 40px 0;
}
.hv2-section-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 0;
}
.hv2-voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .hv2-voice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hv2-voice-grid { grid-template-columns: repeat(3, 1fr); }
}
.hv2-voice-card {
  position: relative;
}
.hv2-voice-card::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border-radius: 8px;
  background: var(--green);
  z-index: 0;
}
.hv2-voice-grid > .hv2-voice-card:nth-child(2n)::after {
  background: var(--blue);
}
.hv2-voice-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hv2-voice-side {
  flex-shrink: 0;
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.hv2-voice-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.hv2-voice-tag {
  font-size: 11px;
  font-weight: bold;
  color: var(--text);
  line-height: 1.5;
}
.hv2-voice-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
  flex: 1;
  padding-top: 4px;
}
.hv2-voice-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 28px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mc-footer { background: #3A6B1A; }

/* ============================================================
   RESPONSIVE — モバイル微調整
   ============================================================ */
@media (max-width: 480px) {
  .hv2-main-card__title { font-size: 17px; margin-bottom: 6px; }
  .hv2-rec-grid { grid-template-columns: 1fr; }
  .hv2-main-card__body { padding: 14px 16px 18px; }
  .hv2-main-card__body > div:first-child { margin-bottom: 8px !important; }
  .hv2-main-card__excerpt { margin-bottom: 10px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hv2-side-card__body { padding: 10px 12px; }
  .hv2-card__body { padding: 10px 12px; }
}

/* =====================================================
   画像強制サイズ修正
   SVGサムネイルがコンテナをはみ出す対策
   ===================================================== */
.hv2-main-card__img-wrap {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.hv2-main-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.hv2-main-card {
  flex-direction: column !important;
}

/* サイドカード画像 */
.hv2-side-card__img-wrap {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  overflow: hidden !important;
}
.hv2-side-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* グリッドカード画像 */
.hv2-card__img-wrap {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  overflow: hidden !important;
}
.hv2-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* タグライン — ピクセルフォント修正 */
.hv2-tagline__logo {
  font-family: 'Press Start 2P', monospace !important;
  image-rendering: auto !important;
}


/* ===== ページネーション（アーカイブ用）===== */
.hv2-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}
.hv2-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.hv2-pagination .page-numbers:hover {
  border-color: var(--green);
  color: var(--green);
}
.hv2-pagination .page-numbers.current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
