:root {
  --base-1: #ffffff;
  --base-2: #fdf0f6;
  --accent: #d82570;

  --text: #111111;
  --muted: #666666;
  --border: #e6e6e6;

  --container: 1120px;
  --banner-max-h: 140px;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--base-1);
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   Header
========================= */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--base-1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* toggle */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.nav-button-text {
  font-size: 14px;
  font-weight: 700;
}

.nav-button-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #ffffff;
}

.nav-button-icon::before,
.nav-button-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #ffffff;
}

.nav-button-icon::before {
  top: -6px;
}

.nav-button-icon::after {
  top: 6px;
}

/* nav */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  width: 100%;
  background: var(--accent);
  z-index: 20;
}

#nav-toggle:checked ~ .site-nav {
  display: block;
}

.nav-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 16px;
}

.nav-link {
  display: block;
  padding: 12px 0;
  color: #ffffff;
  text-decoration: none;
}

/* sns */
.header-sns {
  display: flex;
  gap: 8px;
}

.sns-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  background: #ffffff;
}

.header-sns--pc {
  display: none;
}

.header-sns--sp {
  padding: 0 16px 16px;
}

/* Header PC */
@media (min-width: 768px) {
  .nav-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    width: auto;
    background: transparent;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
  }

  .nav-link {
    padding: 6px 4px;
    color: var(--text);
    white-space: nowrap;
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.08em;
  }

  .header-sns--sp {
    display: none;
  }

  .header-sns--pc {
    display: flex;
  }

  .sns-icon {
    width: 28px;
    height: 28px;
  }
}

/* =========================
   Section
========================= */
.section {
  padding: 40px 0;
}

.section-lineup {
  background: var(--base-2);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  line-height: normal;
}

.section-title-sub {
  font-size: 12px;
}

.section-title-main {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
}

/* Search */
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--base-1);
  font-size: 16px;
}

.search-button {
  padding: 10px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--base-1);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.search-empty {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card {
  overflow: hidden;
  background: var(--base-1);
}

.card-link {
  display: block;
  text-decoration: none;
}

.poster {
  aspect-ratio: 64 / 89;
  background: #f3f3f3;
}

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

.meta {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.category_china {
  background: #ff7f7f;
  color: #ffffff;
}

.category_korea {
  background: #7fbfff;
  color: #ffffff;
}

.category_japan {
  background: #ffbf7f;
  color: #ffffff;
}

.title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14px * 1.4 * 2);
}

.cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.button {
  display: inline-block;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--base-1);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.button--lg {
  min-width: 280px;
  padding: 18px 32px;
  font-size: 16px;
}

/* Section PC */
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 420px;
    align-items: end;
    gap: 24px;
  }

  .cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .section-title-sub {
    font-size: 11px;
  }

  .section-title-main {
    font-size: 26px;
  }
}

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--accent);
  color: #ffffff;
}

.footer-banner {
  padding: 16px 0;
}

.footer-banner-inner {
  display: flex;
  justify-content: center;
}

.footer-banner-link {
  display: inline-block;
  text-decoration: none;
}

.footer-banner-img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  max-height: var(--banner-max-h);
  object-fit: contain;
}

.footer-main {
  padding: 22px 0;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-nav-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
}

.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-logo {
  display: block;
  width: auto;
  height: 40px;
}

.copyright {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
  }
}

/* =========================
   Pager
========================= */
.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pager-link {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--base-1);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.pager-link--current {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.pager-link--disabled,
.pager-link[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* =========================
   PC only
========================= */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .nav-link[aria-current="page"] {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .card {
    position: relative;
  }

  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(216, 37, 112, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .card:hover::after,
  .card:focus-within::after {
    opacity: 1;
  }
}