@charset "UTF-8";

/*!
Theme Name: Neko Yado Cocoon Child
Description: ねこ宿研究所専用のCocoon子テーマ
Theme URI: https://www.neko-yado.com/
Author: ねこ宿研究所
Template: cocoon-master
Version: 2.1.3
*/

:root {
  --ny-ink: #535252;
  --ny-muted: #778893;
  --ny-accent: #a45f2a;
  --ny-accent-dark: #824719;
  --ny-paper: #fffdf9;
  --ny-surface: rgba(255, 252, 246, 0.96);
  --ny-line: rgba(132, 91, 50, 0.2);
  --ny-shadow: 0 8px 24px rgba(74, 48, 29, 0.1);
}

body.neko-yado-original {
  color: var(--ny-ink);
}

/* Complete article archive linked from the front-page new-entry section. */
.neko-all-articles__intro {
  margin: 0 0 1.5rem;
  color: var(--ny-muted);
}

.neko-all-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.neko-all-articles__card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ny-line);
  border-radius: 16px;
  background: var(--ny-paper);
  box-shadow: 0 5px 18px rgba(74, 48, 29, 0.07);
}

.neko-all-articles__card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--ny-ink);
  text-decoration: none;
}

.neko-all-articles__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eee9e2;
}

.neko-all-articles__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.neko-all-articles__card > a:hover .neko-all-articles__media img,
.neko-all-articles__card > a:focus-visible .neko-all-articles__media img {
  transform: scale(1.035);
}

.neko-all-articles__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--ny-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.neko-all-articles__body {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.neko-all-articles__body strong {
  color: var(--ny-ink);
  font-size: 1rem;
  line-height: 1.65;
}

.neko-all-articles__body > span {
  margin-top: 0.65rem;
  color: var(--ny-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.neko-all-articles__body b {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--ny-accent-dark);
  font-size: 0.78rem;
}

.neko-all-articles__pagination {
  margin-top: 2rem;
}

.neko-all-articles__pagination ul.page-numbers {
  display: flex;
  width: 100%;
  height: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  line-height: normal;
  list-style: none;
}

.neko-all-articles__pagination a,
.neko-all-articles__pagination span {
  display: grid;
  width: auto;
  height: auto;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ny-line);
  border-radius: 999px;
  background: var(--ny-paper);
  color: var(--ny-ink);
  line-height: 1.2;
  text-decoration: none;
}

.neko-all-articles__pagination .current {
  border-color: var(--ny-accent);
  background: var(--ny-accent);
  color: #fff;
}

/* Cocoon defaults hovered links to bright red; keep interactions in this theme's palette. */
body.neko-yado-original a:hover,
body.neko-yado-original a:focus-visible {
  color: var(--ny-accent-dark);
}

body.neko-yado-original .sns-buttons a:hover,
body.neko-yado-original .sns-buttons a:focus-visible,
body.neko-yado-original .bc-brand-color-white a:hover,
body.neko-yado-original .bc-brand-color-white a:focus-visible,
body.neko-yado-original .btn:hover,
body.neko-yado-original .btn:focus-visible,
body.neko-yado-original .btn-wrap > a:hover,
body.neko-yado-original .btn-wrap > a:focus-visible,
body.neko-yado-original .ranking-item-link-buttons a:hover,
body.neko-yado-original .ranking-item-link-buttons a:focus-visible,
body.neko-yado-original .atca-feature__primary:hover,
body.neko-yado-original .atca-feature__primary:focus-visible {
  color: #fff;
}

body.home.custom-background #content,
body.home.custom-background #main {
  background-color: transparent !important;
}

/* This is an information site: show update dates, never publication dates. */
.post-date {
  display: none !important;
}

/* Header and navigation */
body.home .header-container-in.hlt-top-menu {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

body.home .header-container .header {
  position: relative;
  display: flex;
  width: 100%;
  min-height: clamp(520px, calc(100svh - 56px), 900px);
  align-items: center;
  overflow: hidden;
  background-color: #aaa8a6;
  background-image: url("https://www.neko-yado.com/wp-content/uploads/2026/04/PXL_20260328_105513702-scaled.jpg");
  background-position: center;
  background-size: cover;
}

body.home .header-container .header::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(24, 23, 22, 0.52);
  content: "";
}

body.home .header-container .header-in {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

body.home #header .logo-header {
  display: block;
  float: none !important;
  width: 100% !important;
  max-width: none;
  margin: 0;
  text-align: center !important;
}

body.home .header-container .header-in.wrap,
body.home .header-container .navi-in.wrap {
  max-width: 1200px;
}

body.home .header-container .site-name-text,
body.home .header-container .tagline {
  color: #fff;
  text-shadow: 0 2px 13px rgba(0, 0, 0, 0.42);
}

body.home .header-container .site-name-text {
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
}

body.home .header-container .tagline {
  display: block;
  margin-bottom: 1.4rem;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  letter-spacing: 0.08em;
}

.navi {
  height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#navi-in {
  position: relative;
  width: 100%;
  max-width: none;
  border-bottom: 1px solid rgba(83, 82, 82, 0.08);
  background: rgba(228, 228, 227, 0.5);
  box-shadow: 0 2px 12px rgba(49, 49, 49, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#navi-in > .neko-header-home-link {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
  display: inline-flex;
  width: auto;
  height: 34px;
  align-items: center;
  gap: 0.55rem;
  padding-right: 0.75rem;
  border-radius: 999px;
  color: #313131;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
}

#navi-in > .neko-header-home-link::before {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72) url("https://www.neko-yado.com/wp-content/uploads/2026/04/cropped-logo-192x192.png") center / cover no-repeat;
  box-shadow: 0 1px 5px rgba(49, 49, 49, 0.12);
  content: "";
}

#navi-in > .neko-header-home-link:hover,
#navi-in > .neko-header-home-link:focus-visible {
  background: rgba(255, 255, 255, 0.3) !important;
  color: #313131;
  outline: 2px solid rgba(83, 82, 82, 0.55);
  outline-offset: 3px;
  transform: translateY(-50%) scale(1.04);
}

.navi-in a:hover,
.navi-in a:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #313131;
}

.navi-in > ul > li > .sub-menu {
  background: rgba(246, 246, 246, 0.96);
}

body.home #content-in {
  display: block;
}

body.home #main {
  width: 100%;
  max-width: none;
}

body.home #sidebar {
  display: none;
}

/* Index and article surfaces */
.list-new-entries .list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.list-new-entries .entry-card-wrap {
  width: 100%;
  margin: 0;
}

.list-new-entries .entry-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.list-new-entries .entry-card-thumb {
  float: none;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
}

.list-new-entries .entry-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-new-entries .entry-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 1rem;
}

.list-new-entries .entry-card-title {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.02rem;
  line-height: 1.55;
}

.list-new-entries .entry-card-snippet {
  font-size: 0.82rem;
  line-height: 1.75;
}

.list-new-entries .entry-card-meta {
  margin-top: auto;
}

body.home .list-new-entries {
  max-width: 1080px;
  margin-inline: auto;
}

body.home .list-new-entries-title {
  margin: 0 0 1.15rem;
  text-align: left;
}

body.home .list-new-entries-title::before {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ny-accent);
  content: "New Stories";
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.home .list-new-entries-title .list-title-in {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

body.home .list-new-entries .list-more-button {
  min-width: 150px;
  padding: 0.7rem 1.2rem;
  border-color: var(--ny-accent);
  border-radius: 999px;
  color: var(--ny-accent-dark);
}

body.home .list-new-entries .list-more-button:hover,
body.home .list-new-entries .list-more-button:focus-visible {
  background: var(--ny-accent);
  color: #fff;
}

/* Category columns use compact horizontal cards, independent of the index cards. */
#list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

#list-columns .list-column {
  width: auto;
  min-width: 0;
}

#list-columns .list {
  display: block;
}

#list-columns .new-entry-cards {
  display: grid;
  gap: 0.75rem;
}

#list-columns .new-entry-card-link {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(83, 82, 82, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(74, 48, 29, 0.06);
}

#list-columns .new-entry-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  height: 100%;
}

#list-columns .new-entry-card-thumb {
  float: none;
  width: 120px;
  height: 100%;
  min-height: 92px;
  margin: 0;
}

#list-columns .new-entry-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#list-columns .new-entry-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0.75rem;
}

#list-columns .new-entry-card-title {
  font-size: 0.9rem;
  line-height: 1.55;
}

#list-columns .list-more-button-wrap {
  margin-top: 1rem;
}

/* The old generic category columns are replaced by the editorial discovery area. */
body.home #list-columns {
  display: none;
}

body.home .widget-index-bottom {
  margin: 0;
}

.neko-home-discovery {
  --ny-home-radius: 18px;
  max-width: 1080px;
  margin: clamp(2.6rem, 6vw, 5rem) auto 2rem;
}

.neko-home-discovery a {
  text-decoration: none;
}

.neko-home-section-heading {
  margin-bottom: 1.3rem;
  text-align: center;
}

.neko-home-section-heading.is-left {
  text-align: left;
}

.neko-home-section-heading p {
  margin: 0 0 0.2rem;
  color: var(--ny-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.neko-home-section-heading h2 {
  margin: 0;
  color: #363332;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
}

.neko-home-section-heading > span {
  display: block;
  margin-top: 0.35rem;
  color: #746f6b;
  font-size: 0.86rem;
  line-height: 1.7;
}

.neko-home-ranking__list .popular-entry-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
}

.neko-home-ranking__list .popular-entry-card-link {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  grid-column: span 2;
  margin: 0;
  border-radius: var(--ny-home-radius);
  background: #37312e;
  box-shadow: 0 7px 22px rgba(49, 42, 37, 0.13);
  color: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.neko-home-ranking__list .popular-entry-card-link:first-child {
  grid-column: span 4;
}

.neko-home-ranking__list .popular-entry-card {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
}

.neko-home-ranking__list .popular-entry-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.neko-home-ranking__list .popular-entry-card-thumb::after {
  position: absolute;
  inset: 28% 0 0;
  background: linear-gradient(transparent, rgba(25, 22, 20, 0.88));
  content: "";
}

.neko-home-ranking__list .popular-entry-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.neko-home-ranking__list .popular-entry-card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 2.8rem 0.85rem 0.9rem;
  background: transparent;
}

.neko-home-ranking__list .popular-entry-card-title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
}

.neko-home-ranking__list .popular-entry-card-link:first-child .popular-entry-card-title {
  font-size: 1rem;
}

.neko-home-ranking__list .ranking-visible .popular-entry-card-link::before,
.neko-home-ranking__list .popular-entry-cards.ranking-visible .popular-entry-card-link::before {
  z-index: 4;
  top: 0.72rem;
  left: 0.72rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(54, 45, 39, 0.82);
  box-shadow: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.neko-home-ranking__list .popular-entry-card-meta {
  display: none;
}

.neko-home-portals {
  margin-top: clamp(3.3rem, 7vw, 5.5rem);
}

.neko-home-portals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.neko-home-portal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 150px;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgba(132, 91, 50, 0.16);
  border-radius: var(--ny-home-radius);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 7px 22px rgba(74, 48, 29, 0.07);
  color: var(--ny-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.neko-home-portal > small {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #f2e7dc;
  color: var(--ny-accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.neko-home-portal > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.neko-home-portal b {
  color: var(--ny-accent);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.neko-home-portal strong {
  margin: 0.15rem 0 0.3rem;
  color: #363332;
  font-size: 1.08rem;
  line-height: 1.4;
}

.neko-home-portal em {
  color: #77716c;
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.55;
}

.neko-home-portal > i {
  color: var(--ny-accent);
  font-size: 1.15rem;
  font-style: normal;
}

.neko-home-guides,
.neko-home-cats {
  margin-top: clamp(3.3rem, 7vw, 5.5rem);
}

.neko-home-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.neko-home-guide-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(83, 82, 82, 0.1);
  border-radius: var(--ny-home-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(74, 48, 29, 0.07);
  color: var(--ny-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.neko-home-guide-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ede9e4;
}

.neko-home-guide-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.neko-home-guide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.1rem 1.15rem;
}

.neko-home-guide-card__body small {
  color: var(--ny-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.neko-home-guide-card__body strong {
  margin: 0.25rem 0 0.45rem;
  color: #363332;
  font-size: 1.02rem;
  line-height: 1.5;
}

.neko-home-guide-card__body > span {
  color: #746f6b;
  font-size: 0.76rem;
  line-height: 1.7;
}

.neko-home-guide-card__body b {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--ny-accent-dark);
  font-size: 0.75rem;
}

.neko-home-text-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin: 1.1rem 0 0 auto;
  padding: 0.55rem 0;
  color: var(--ny-accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.neko-home-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.neko-home-cat-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--ny-home-radius);
  background: #34302e;
  box-shadow: 0 6px 20px rgba(49, 42, 37, 0.12);
  color: #fff;
}

.neko-home-cat-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.neko-home-cat-card__media::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(25, 22, 20, 0.78));
  content: "";
}

.neko-home-cat-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.neko-home-cat-card__body {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 1rem;
}

.neko-home-cat-card__body small {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.neko-home-cat-card__body strong {
  grid-column: 1;
  color: #fff;
  font-size: 1.2rem;
}

.neko-home-cat-card__body b {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #fff;
  font-size: 1.1rem;
}

.neko-home-culture {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  min-height: 190px;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border-radius: 22px;
  background: linear-gradient(125deg, #383330, #5b3b2b);
  box-shadow: 0 12px 32px rgba(49, 42, 37, 0.18);
  color: #fff;
}

.neko-home-culture::after {
  position: absolute;
  top: -80%;
  right: -8%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.neko-home-culture__mark {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.neko-home-culture__mark span {
  position: absolute;
  top: 22px;
  width: 23px;
  height: 29px;
  border-radius: 80% 20% 65% 35%;
  background: #d99a6c;
}

.neko-home-culture__mark span:first-child {
  left: 23px;
  transform: rotate(-20deg);
}

.neko-home-culture__mark span:nth-child(2) {
  right: 23px;
  transform: rotate(20deg) scaleX(-1);
}

.neko-home-culture__mark i {
  position: absolute;
  right: 24px;
  bottom: 17px;
  left: 24px;
  height: 35px;
  border-radius: 50% 50% 44% 44%;
  background: #d99a6c;
}

.neko-home-culture__body {
  position: relative;
  z-index: 1;
}

.neko-home-culture__body p {
  margin: 0 0 0.15rem;
  color: #e4b08a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.neko-home-culture__body h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.neko-home-culture__body > span {
  display: block;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.8;
}

.neko-home-culture > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.neko-home-culture > a:hover,
.neko-home-culture > a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #4a352a;
}

@media (hover: hover) and (pointer: fine) {
  .neko-home-ranking__list .popular-entry-card-link:hover {
    box-shadow: 0 12px 30px rgba(49, 42, 37, 0.2);
    transform: translateY(-3px);
  }

  .neko-home-ranking__list .popular-entry-card-link:hover .popular-entry-card-thumb img {
    transform: scale(1.04);
  }

  .neko-home-portal:hover,
  .neko-home-guide-card:hover {
    border-color: rgba(164, 95, 42, 0.42);
    box-shadow: 0 11px 28px rgba(74, 48, 29, 0.12);
    transform: translateY(-3px);
  }

  .neko-home-guide-card:hover .neko-home-guide-card__image,
  .neko-home-cat-card:hover .neko-home-cat-card__image {
    transform: scale(1.035);
  }
}

.neko-home-portal:focus-visible,
.neko-home-ranking__list .popular-entry-card-link:focus-visible,
.neko-home-guide-card:focus-visible,
.neko-home-cat-card:focus-visible,
.neko-home-text-link:focus-visible,
.neko-home-culture > a:focus-visible {
  outline: 2px solid var(--ny-accent);
  outline-offset: 3px;
}

.entry-card-wrap,
.related-entry-card-wrap,
.blogcard-wrap {
  overflow: hidden;
  border: 1px solid rgba(83, 82, 82, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 18px rgba(74, 48, 29, 0.07);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* Internal blog cards identify articles by title and domain; omit blog-like dates. */
.internal-blogcard-wrap .internal-blogcard-date {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .entry-card-wrap:hover,
  .related-entry-card-wrap:hover,
  .blogcard-wrap:hover {
    border-color: rgba(164, 95, 42, 0.45);
    box-shadow: 0 9px 24px rgba(74, 48, 29, 0.12);
    transform: translateY(-2px);
  }
}

.entry-card-wrap:focus-visible,
.related-entry-card-wrap:focus-visible,
.blogcard-wrap:focus-visible {
  outline: 2px solid var(--ny-accent);
  outline-offset: 3px;
}

.list-new-entries h1,
.list-columns h1,
.related-entry-heading,
.comment-title,
.sidebar h3,
.footer h3,
.main-widget-label {
  color: var(--ny-ink);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.article h2,
.entry-content h2 {
  border: 0;
  border-bottom: 2px solid rgba(164, 95, 42, 0.22);
  background: rgba(248, 246, 243, 0.9);
  color: var(--ny-ink);
}

.article h3,
.entry-content h3 {
  border-left-color: var(--ny-accent);
}

.cat-label {
  background: rgba(83, 82, 82, 0.9) !important;
  color: #fff !important;
}

/* Long inn names should remain readable without pushing the article wider. */
.article-header .entry-title {
  max-width: 100%;
  margin-bottom: 1.1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content blockquote {
  margin-block: 1.5rem;
  border: 1px solid rgba(83, 82, 82, 0.12);
  border-left: 4px solid rgba(164, 95, 42, 0.55);
  border-radius: 8px;
  background: rgba(248, 246, 243, 0.82);
  color: var(--ny-ink);
}

.entry-content table {
  border-color: rgba(83, 82, 82, 0.16);
}

.entry-content table th {
  background: rgba(228, 228, 227, 0.58);
  color: var(--ny-ink);
}

.entry-content table tbody tr:nth-child(even) td {
  background: rgba(248, 246, 243, 0.5);
}

/* Photo contribution callout for articles that still use representative images. */
.neko-photo-contribution {
  position: relative;
  overflow: hidden;
  margin: 2.5rem 0 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(83, 82, 82, 0.14);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 246, 243, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 6px 20px rgba(74, 48, 29, 0.07);
}

.neko-photo-contribution::after {
  position: absolute;
  right: -0.35rem;
  bottom: -1.25rem;
  color: rgba(164, 95, 42, 0.07);
  content: "●";
  font-size: 8rem;
  line-height: 1;
  pointer-events: none;
}

.neko-photo-contribution__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--ny-accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.entry-content .neko-photo-contribution h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ny-ink);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.45;
}

.neko-photo-contribution > p:not(.neko-photo-contribution__eyebrow) {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  line-height: 1.8;
}

.neko-photo-contribution .neko-photo-contribution__note {
  color: var(--ny-muted);
  font-size: 0.82rem;
}

.neko-photo-contribution__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--ny-accent);
  border-radius: 999px;
  background: var(--ny-accent);
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.neko-photo-contribution__button:hover,
.neko-photo-contribution__button:focus-visible {
  border-color: var(--ny-accent-dark);
  background: var(--ny-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.neko-photo-contribution__button:focus-visible {
  outline: 2px solid rgba(83, 82, 82, 0.55);
  outline-offset: 3px;
}

/* Feature Pension Atca prominently at the top of the home-page index. */
body:not(.home) #custom_html-1 {
  display: none;
}

.atca-feature {
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  max-width: 960px;
  overflow: hidden;
  margin: 0 auto 1.7rem;
  border: 1px solid var(--ny-line);
  border-radius: 18px;
  background: var(--ny-surface);
  box-shadow: var(--ny-shadow);
}

.atca-feature__image {
  min-height: 230px;
}

.atca-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atca-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.atca-feature__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--ny-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.atca-feature h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  line-height: 1.25;
}

.atca-feature__body > p:not(.atca-feature__eyebrow) {
  margin: 0 0 1.25rem;
  line-height: 1.85;
}

.atca-feature__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.atca-feature__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.atca-feature__primary {
  background: var(--ny-accent);
  color: #fff;
}

.atca-feature__secondary {
  border: 1px solid var(--ny-accent);
  color: var(--ny-accent-dark);
}

/* Sidebar and footer */
.sidebar .widget,
.author-box {
  border: 1px solid rgba(83, 82, 82, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.neko-sidebar-guide h3 {
  margin: 1rem 0 0.5rem;
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 1px solid rgba(83, 82, 82, 0.12);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.neko-sidebar-guide ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.neko-sidebar-guide li {
  margin: 0;
}

.neko-sidebar-guide li a {
  display: block;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(83, 82, 82, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ny-ink);
  font-size: 0.78rem;
  line-height: 1.4;
  text-decoration: none;
}

.neko-sidebar-guide li a:hover,
.neko-sidebar-guide li a:focus-visible {
  border-color: rgba(164, 95, 42, 0.45);
  background: rgba(248, 246, 243, 0.95);
  color: var(--ny-accent-dark);
}

.footer {
  border-top: 1px solid rgba(83, 82, 82, 0.14);
  background: rgba(246, 245, 243, 0.96);
  color: var(--ny-ink);
}

.footer a,
.footer .site-name-text,
.footer .copyright {
  color: var(--ny-ink);
}

.footer-in {
  min-height: 0;
  padding-top: 0.8rem;
  padding-bottom: 0.65rem;
}

.footer-widgets {
  margin: 0 0 0.45rem;
  padding: 0;
}

.footer-widgets .widget {
  margin: 0;
}

.neko-future-inn {
  max-width: 760px;
  margin: 0 auto;
  padding: 0.25rem 1rem;
  text-align: center;
}

.neko-future-inn p {
  margin: 0;
  color: var(--ny-ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.footer-bottom {
  min-height: 0;
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(83, 82, 82, 0.09);
}

.footer-bottom-logo .site-name-text {
  font-size: 1.05rem;
}

.footer-bottom-content,
.footer .copyright,
.footer .navi-footer a {
  font-size: 0.76rem;
}

.footer .navi-footer-in > ul {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .entry-card-wrap,
  .related-entry-card-wrap,
  .blogcard-wrap,
  .neko-home-portal,
  .neko-home-guide-card,
  .neko-home-guide-card__image,
  .neko-home-cat-card__image,
  .neko-home-ranking__list .popular-entry-card-link,
  .neko-home-ranking__list .popular-entry-card-thumb img {
    transition: none;
  }
}

@media screen and (min-width: 701px) and (max-width: 1023px) {
  .neko-all-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-new-entries .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #list-columns {
    grid-template-columns: 1fr;
  }

  .neko-home-portals__grid,
  .neko-home-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neko-home-ranking__list .popular-entry-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neko-home-ranking__list .popular-entry-card-link,
  .neko-home-ranking__list .popular-entry-card-link:first-child {
    grid-column: auto;
  }

  .neko-home-ranking__list .popular-entry-card-link:first-child {
    grid-column: span 2;
  }

  .neko-home-portal:last-child,
  .neko-home-guide-card:last-child {
    grid-column: 1 / -1;
  }

  .neko-home-cats__grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.7rem;
    scroll-snap-type: x proximity;
  }

  .neko-home-cat-card {
    scroll-snap-align: start;
  }

  .neko-home-culture {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .neko-home-culture > a {
    grid-column: 2;
    width: fit-content;
  }
}

@media screen and (min-width: 1024px) {
  body.home .list-new-entries .list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  body.home .list-new-entries .entry-card-wrap:first-child {
    grid-column: span 8;
  }

  body.home .list-new-entries .entry-card-wrap:nth-child(2) {
    grid-column: span 4;
  }

  body.home .list-new-entries .entry-card-wrap:nth-child(n + 3) {
    grid-column: span 3;
  }

  body.home .list-new-entries .entry-card-wrap:first-child .entry-card-thumb {
    aspect-ratio: 2 / 1;
  }

  body.home .list-new-entries .entry-card-wrap:nth-child(2) .entry-card-thumb {
    aspect-ratio: 1 / 1;
  }

  body.home .list-new-entries .entry-card-wrap:first-child .entry-card-title {
    font-size: 1.22rem;
  }

  body.home .list-new-entries .entry-card-wrap:nth-child(n + 3) .entry-card-snippet {
    display: none;
  }

  body.home .list-new-entries .entry-card-wrap:nth-child(n + 3) .entry-card-title {
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  #navi {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  body:not(.home) .header-container {
    padding-top: 56px;
  }

  .footer-in {
    max-width: 1080px;
    padding: 1.15rem 1.5rem 0.9rem;
  }

  .footer-widgets {
    display: block;
    margin-bottom: 0.8rem;
  }

  .footer-left:empty,
  .footer-right:empty {
    display: none;
  }

  .footer-center {
    width: 100%;
    padding: 0;
  }

  .neko-future-inn {
    max-width: none;
    padding: 0;
  }

  .neko-future-inn p {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .footer-bottom {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-top: 0.75rem;
  }

  .footer-bottom-logo,
  .footer-bottom-content {
    width: auto;
    float: none;
  }

  .footer-bottom-logo {
    position: static;
    bottom: auto;
    flex: 0 0 auto;
    text-align: left;
  }

  .footer-bottom-logo .site-name-text {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .footer-bottom-content {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
  }

  .footer .navi-footer {
    margin-right: auto;
  }

  .footer .navi-footer-in > ul {
    gap: 1.25rem;
    padding: 0;
  }

  .footer .navi-footer-in > ul > li {
    border: 0;
  }

  .footer .navi-footer a {
    padding: 0.25rem 0;
  }

  .footer .copyright {
    margin: 0;
    white-space: nowrap;
  }
}

@media screen and (max-width: 700px) {
  .neko-all-articles__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .neko-all-articles__card > a {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .neko-all-articles__media {
    height: 100%;
    min-height: 154px;
    aspect-ratio: auto;
  }

  .neko-all-articles__body {
    min-height: 154px;
    padding: 0.85rem;
  }

  .neko-all-articles__body > span {
    display: none;
  }

  body.home .header-container .header {
    min-height: clamp(520px, calc(100svh - 50px), 900px);
  }

  body.home .header-container .site-name-text {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body.home .header-container .tagline {
    padding-inline: 1rem;
    font-size: 0.76rem;
    line-height: 1.7;
  }

  .article-header .entry-title {
    margin-bottom: 0.9rem;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    line-height: 1.45;
  }

  .entry-content h2 {
    padding: 0.75rem 0.8rem;
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .entry-content h3 {
    font-size: 1.16rem;
    line-height: 1.55;
  }

  .atca-feature {
    grid-template-columns: 1fr;
  }

  .list-new-entries .list {
    grid-template-columns: 1fr;
  }

  .neko-home-discovery {
    margin-top: 3.2rem;
  }

  .neko-home-section-heading,
  .neko-home-section-heading.is-left {
    text-align: left;
  }

  .neko-home-portals__grid,
  .neko-home-guides__grid {
    grid-template-columns: 1fr;
  }

  .neko-home-ranking__list .popular-entry-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(210px, 76vw));
    gap: 0.7rem;
    overflow-x: auto;
    margin-right: -0.8rem;
    padding: 0.15rem 0.8rem 0.75rem 0.15rem;
    scroll-padding-left: 0.15rem;
    scroll-snap-type: x mandatory;
  }

  .neko-home-ranking__list .popular-entry-card-link,
  .neko-home-ranking__list .popular-entry-card-link:first-child {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .neko-home-ranking__list .popular-entry-card,
  .neko-home-ranking__list .popular-entry-card-link:first-child .popular-entry-card {
    min-height: 230px;
  }

  .neko-home-ranking__list .popular-entry-card-link:first-child .popular-entry-card-title {
    font-size: 0.86rem;
  }

  .neko-home-portal {
    min-height: 124px;
    padding: 1rem;
  }

  .neko-home-cats__grid {
    grid-template-columns: repeat(4, minmax(165px, 72vw));
    gap: 0.7rem;
    overflow-x: auto;
    margin-right: -0.8rem;
    padding: 0.15rem 0.8rem 0.75rem 0.15rem;
    scroll-padding-left: 0.15rem;
    scroll-snap-type: x mandatory;
  }

  .neko-home-cat-card {
    scroll-snap-align: start;
  }

  .neko-home-culture {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .neko-home-culture__mark {
    width: 56px;
    height: 56px;
  }

  .neko-home-culture__mark span {
    top: 14px;
    width: 15px;
    height: 19px;
  }

  .neko-home-culture__mark span:first-child {
    left: 14px;
  }

  .neko-home-culture__mark span:nth-child(2) {
    right: 14px;
  }

  .neko-home-culture__mark i {
    right: 15px;
    bottom: 11px;
    left: 15px;
    height: 23px;
  }

  .neko-home-culture__body > span {
    font-size: 0.76rem;
  }

  .neko-home-culture > a {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  #list-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #list-columns .new-entry-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  #list-columns .new-entry-card-thumb {
    width: 108px;
  }

  .atca-feature__image {
    min-height: 210px;
    max-height: 280px;
  }

  .atca-feature__links a {
    width: 100%;
  }

  .entry-card-wrap,
  .related-entry-card-wrap,
  .blogcard-wrap {
    border-radius: 9px;
  }

  .neko-photo-contribution {
    margin-top: 2rem;
    padding: 1.15rem;
    border-radius: 11px;
  }

  .neko-photo-contribution__button {
    width: 100%;
  }

  .neko-future-inn {
    padding-inline: 0;
  }

  .neko-future-inn p {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
  }

  .footer-in {
    padding: 0.65rem 0.8rem 0.55rem;
  }

  .footer-bottom {
    padding-top: 0.35rem;
  }
}

@media screen and (max-width: 1023px) {
  /* The desktop navigation must not remain between the hero and home content. */
  #navi {
    display: none;
  }

  #navi-in > .neko-header-home-link {
    display: none;
  }

  .mobile-header-menu-buttons {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(83, 82, 82, 0.08);
    background: rgba(228, 228, 227, 0.58);
    /* Filters make Cocoon's fixed drawer use this 50px bar as its containing block. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-header-menu-buttons .logo-menu-button .menu-button-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  .mobile-header-menu-buttons .logo-menu-button .menu-button-in::before {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72) url("https://www.neko-yado.com/wp-content/uploads/2026/04/cropped-logo-192x192.png") center / cover no-repeat;
    box-shadow: 0 1px 4px rgba(49, 49, 49, 0.1);
    content: "";
  }

  #navi-menu-content.menu-content {
    top: 0;
    bottom: 0;
    width: min(88vw, 360px);
    max-width: 360px;
    height: 100dvh;
    background: rgba(246, 246, 246, 0.99);
    box-shadow: 8px 0 26px rgba(49, 49, 49, 0.16);
  }

  #navi-menu-content .menu-close-button {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(83, 82, 82, 0.1);
    background: rgba(246, 246, 246, 0.97);
  }

  #navi-menu-content .menu-drawer {
    padding: 0.5rem 1rem calc(2rem + env(safe-area-inset-bottom));
  }

  #navi-menu-content .menu-drawer > ul {
    margin: 0;
    padding: 0;
  }

  #navi-menu-content .menu-drawer a {
    padding: 0.72rem 0.65rem;
    border-bottom: 1px solid rgba(83, 82, 82, 0.09);
    color: var(--ny-ink);
  }

  #navi-menu-content .menu-drawer .sub-menu {
    padding-left: 0.8rem;
  }

  /* Cocoon hides desktop footer widgets below 834px; keep our site message visible. */
  .footer .footer-widgets {
    display: block;
  }

  .footer .footer-center {
    padding: 0.25rem 0;
  }

  body:not(.home) .container {
    padding-top: 50px;
  }
}
