/* yR Media の base.css には手を入れず、ギャラリーだけの小さな直しをここに置く（2026-10-04） */
.head-icons a span, .site-logo__sub { white-space: nowrap; }

/* いいね（2026-10-04） */
.like { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 10px; border: 1px solid #d6dbe3; border-radius: 999px; background: rgba(255,255,255,.94); color: #444; font: 600 13px/1 var(--sans); cursor: pointer; }
.like svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.like:hover { border-color: #e0335a; color: #e0335a; }
.like.is-on { border-color: #e0335a; background: #fff0f3; color: #c81e45; }
.like.is-on svg { fill: currentColor; }
.like--big { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.like-at { position: absolute; top: 10px; right: 10px; z-index: 2; }
.like-msg { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 70; background: #111; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; }

/* メインビジュアル（Swiper・4:3・最新5件をループ。PC は5枚並べる・影なし＝2026-10-04 カツ指定） */
.mv { background: linear-gradient(135deg, #0055ff 0%, #0036b3 100%); padding: 28px 0 32px; overflow: hidden; }
.mv .swiper { width: 100%; padding: 0 24px 36px; }
.mv__slide { display: block; color: #fff; text-decoration: none; }
.mv__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #0a2a6b; }
.mv__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .5s ease; }
.mv__slide:hover .mv__img img { scale: 1.04; }
.mv__text { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 0; }
.mv__cat { align-self: flex-start; font-size: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 1px 10px; letter-spacing: .12em; }
.mv__title { font-weight: 700; font-size: 15px; line-height: 1.6; }
.mv__slide:hover .mv__title { text-decoration: underline; }
.mv__dots { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.mv__dots button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; position: relative; }
.mv__dots button::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; opacity: .5; }
.mv__dots button[aria-current="true"]::before { opacity: 1; }
.mv .swiper-button-prev, .mv .swiper-button-next { color: #fff; width: 44px; height: 44px; top: 38%; }
.mv__ctrl { display: flex; justify-content: center; margin-top: 6px; }
.mv__pause { min-height: 36px; padding: 4px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: transparent; color: #fff; font-size: 13px; cursor: pointer; }

/* いいねランキング（メインビジュアルの下・1〜10位） */
.lrank { width: min(1100px, calc(100% - 48px)); margin: 36px auto 0; }
.lrank__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 20px; }
.lrank__item { position: relative; }
.lrank__no { position: absolute; top: -10px; left: -6px; z-index: 2; min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: #1a1a1a; color: #fff; font: 600 15px/1 var(--latin); }
.lrank__item:nth-child(-n+3) .lrank__no { background: #0055ff; }
.lrank__img { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); }
.lrank__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: scale .5s ease; }
.lrank__link { text-decoration: none; color: var(--text-strong); }
.lrank__link:hover img { scale: 1.04; }
.lrank__title { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; line-height: 1.6; }
.lrank__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-sub); }
@media (max-width: 1023px) { .lrank { width: min(760px, calc(100% - 32px)); } .lrank__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .lrank__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 12px 4px 8px; scrollbar-width: none; }
  .lrank__item { flex: none; width: 62vw; scroll-snap-align: start; }
}

/* 頭を固定（2026-10-04 カツ指定）。下にスクロールしたら2段目は隠して1段目だけ残す */
.site-head { position: sticky; top: 0; z-index: 60; }
.site-head.is-scrolled .site-head__sub { display: none; }
.head-icons { align-items: flex-start; }
/* メニュー（アイコンの「メニュー」で開く） */
.head-menu { position: relative; }
.head-menu summary { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font-size: 11px; letter-spacing: .08em; color: var(--text-strong); white-space: nowrap; }
.head-menu summary::-webkit-details-marker { display: none; }
.head-menu summary svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.head-menu[open] summary svg { stroke: var(--rose); }
.head-menu__panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px 24px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,.12); z-index: 70; }
.head-menu__panel ul { list-style: none; margin: 0; padding: 0; }
.head-menu__panel a, .head-menu__panel button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; font: inherit; font-size: 14px; color: var(--text-strong); cursor: pointer; }
.head-menu__panel a:hover, .head-menu__panel button:hover { color: var(--rose); }
.head-menu__panel small { font-size: 11px; color: #fff; background: var(--rose); border-radius: 999px; padding: 1px 8px; }
@media (max-width: 760px) {
  .head-icons__pc { display: none !important; }
  .head-menu summary svg { width: 22px; height: 22px; }
  .head-menu__panel { grid-template-columns: 1fr; position: fixed; left: 16px; right: 16px; top: 64px; width: auto; max-height: calc(100vh - 80px); overflow-y: auto; }
}
.head-menu__panel a, .head-menu__panel button { flex-direction: row; align-items: center; justify-content: space-between; letter-spacing: .02em; font-size: 14px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 18px 0 6px; font-size: 13px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* 有料会員限定の札（トップの見本の行・2026-10-05。一覧のカードは Tailwind の札） */
.lock-tag { display: inline-block; margin-left: .6em; padding: 1px 8px; border-radius: 99px; background: #111; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: middle; white-space: nowrap; }
.mv__cat .lock-tag { background: rgba(0, 0, 0, .55); }
