:root {
  --renewal-ink: #181116;
  --renewal-navy: #4f1f2f;
  --renewal-navy-2: #8f243b;
  --renewal-paper: #ffffff;
  --renewal-soft: #fff7f8;
  --renewal-line: #ead9de;
  --renewal-muted: #74636a;
  --renewal-blue: #6f2e48;
  --renewal-red: #d84b61;
  --renewal-rose: #d84b61;
  --renewal-wine: #8f243b;
  --renewal-gold: #c99a3d;
  --renewal-green: #6d8057;
  --renewal-teal: #2f766d;
  --renewal-copper: #b86b45;
  --renewal-plum: #7c3b5d;
  --renewal-rose-soft: #fff1f5;
  --renewal-blue-soft: #f7edf1;
  --renewal-gold-soft: #fff7e8;
  --renewal-shadow: 0 18px 48px rgba(95,31,47,.18);
  --renewal-shadow-soft: 0 12px 30px rgba(95,31,47,.1);

  --ink: var(--renewal-ink);
  --navy: var(--renewal-navy);
  --navy-2: var(--renewal-navy-2);
  --paper: var(--renewal-paper);
  --soft: var(--renewal-soft);
  --line: var(--renewal-line);
  --muted: var(--renewal-muted);
  --blue: var(--renewal-blue);
  --red: var(--renewal-red);
  --rose: var(--renewal-rose);
  --wine: var(--renewal-wine);
  --gold: var(--renewal-gold);
  --green: var(--renewal-green);
  --teal: var(--renewal-teal);
  --copper: var(--renewal-copper);
  --plum: var(--renewal-plum);
  --rose-soft: var(--renewal-rose-soft);
  --blue-soft: var(--renewal-blue-soft);
  --gold-soft: var(--renewal-gold-soft);
  --shadow: var(--renewal-shadow);
  --shadow-soft: var(--renewal-shadow-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

li {
    list-style:none;
}

body.renewal-page,
body.theme-wine-premium {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(216,75,97,.12), rgba(216,75,97,0) 32%),
    radial-gradient(circle at 88% 12%, rgba(201,154,61,.12), rgba(201,154,61,0) 28%),
    linear-gradient(180deg, #fff 0%, #fff7f8 44%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body.theme-wine-premium,
body.community-renewal-footer {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.theme-wine-premium > main,
body.theme-wine-premium > #main_contents,
body.community-renewal-footer > #main_contents {
  flex: 1 0 auto;
  width: 100%;
}

body.popup_active {
  overflow: hidden;
}

div.error,
.theme-wine-premium .error-message,
.renewal-page .error-message {
  display: block;
  margin-top: 6px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-align: left;
}

.theme-wine-premium .red,
.renewal-page .red {
  color: var(--rose) !important;
}

.renewal-page img,
.theme-wine-premium img {
  display: block;
  max-width: 100%;
}

.renewal-page a,
.theme-wine-premium a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(143,36,59,.18);
  box-shadow: 0 14px 38px rgba(95,31,47,.08);
  backdrop-filter: blur(14px);
}

.header-inner,
.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: auto;
  height: 46px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(17,24,32,.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(17,24,32,.12);
}

.btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--teal), #56a295);
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(47,118,109,.18);
}

.btn-green {
  color: #fff !important;
  background: linear-gradient(135deg, var(--teal), #56a295);
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(47,118,109,.18);
}

.btn-red {
  color: #fff !important;
  background: linear-gradient(135deg, var(--rose), var(--plum));
  border-color: var(--rose);
}

.btn-like {
  color: var(--wine) !important;
  background: var(--rose-soft);
  border-color: rgba(216,75,97,.22);
  box-shadow: 0 10px 24px rgba(216,75,97,.12);
}

.btn-like.on {
  color: #fff !important;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  border-color: rgba(216,75,97,.34);
}

.btn-dark {
  color: #fff !important;
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}

.btn-outline {
  color: var(--wine) !important;
  background: transparent;
  border-color: rgba(143,36,59,.32);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(143,36,59,.06);
  box-shadow: none;
}

.btn-disabled {
  color: #9a8b91 !important;
  background: #e8e3e5;
  border-color: #d8d0d4;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

#popup_body {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(24,17,22,.58);
  backdrop-filter: blur(8px);
}

#popup_content {
  position: fixed;
  top: 50% !important;
  left: 50% !important;
  z-index: 1001;
  display: none;
  width: min(560px, calc(100% - 28px));
  max-height: min(86vh, 760px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
}

#popup_content div[class^="cont"] {
  display: none;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(143,36,59,.16);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(35,25,31,.18);
}

#popup_content div[class^="cont"].popup_active {
  display: grid;
}

#popup_content .title {
  margin: 0;
  color: var(--wine);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

#popup_content .button {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

#popup_content .button a,
#popup_content .button input,
#popup_content .button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(143,36,59,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--plum));
  color: #fff;
  box-shadow: 0 12px 26px rgba(143,36,59,.18);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 360px) {
  #popup_content .button {
    grid-template-columns: 1fr !important;
  }
}

#popup_content .cont_point_type .wrap {
  min-width: 0;
}

#popup_content .cont_point_type .type_table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(143,36,59,.14);
  border-radius: 12px;
}

#popup_content .cont_point_type .type_table th,
#popup_content .cont_point_type .type_table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(143,36,59,.1);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

#popup_content .cont_point_type .type_table th {
  background: var(--rose-soft);
  color: var(--wine);
}

#popup_content .cont_point_type .type_table tr:last-child th,
#popup_content .cont_point_type .type_table tr:last-child td {
  border-bottom: 0;
}

#popup_content .cont_point_type .text_box {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--navy);
}

#popup_content .cont_point_type .text_box .title {
  margin-bottom: 4px;
  color: #9a671b;
  font-size: 14px;
  text-align: left;
}

#popup_content .cont_point_type .text_box .text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

#popup_content div.cont_point_type.popup_active {
  gap: 12px;
  padding: 20px;
}

#popup_content .cont_point_type .popup_close {
  margin-top: 8px;
}

@media (max-width: 640px) {
  #popup_content div.cont_point_type.popup_active {
    gap: 8px;
    padding: 14px;
  }

  #popup_content .cont_point_type > .title {
    font-size: 15px;
  }

  #popup_content .cont_point_type .type_table th,
  #popup_content .cont_point_type .type_table td {
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.25;
  }

  #popup_content .cont_point_type .text_box {
    margin-top: 6px;
    padding: 8px 10px;
  }

  #popup_content .cont_point_type .text_box .title {
    font-size: 13px;
  }

  #popup_content .cont_point_type .text_box .text {
    font-size: 11px;
    line-height: 1.35;
  }

  #popup_content .cont_point_type .popup_close {
    width: 28px;
    height: 28px;
    margin-top: 4px;
    padding: 7px;
  }
}

#popup_content .popup_close {
  display: block;
  width: 32px;
  height: 32px;
  margin: 16px auto 0;
  padding: 8px;
  border-radius: 999px;
  background: var(--rose-soft);
  object-fit: contain;
  cursor: pointer;
}

#popup_content .button input.popup_close {
  display: inline-flex;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(143,36,59,.24);
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  box-shadow: none;
  object-fit: initial;
}

.area-toggle {
  cursor: pointer;
}

.member-menu {
  position: relative;
}

.member-menu summary {
  list-style: none;
  cursor: pointer;
}

.member-menu summary::-webkit-details-marker {
  display: none;
}

.member-menu > summary.btn-red {
  background: linear-gradient(135deg, #5f1f2f, #8f243b);
  border-color: #8f243b;
  box-shadow: 0 10px 24px rgba(95,31,47,.18);
}

.member-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  padding: 10px;
  border: 1px solid rgba(17,24,32,.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.member-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.member-panel a:hover {
  background: var(--blue-soft);
}

.member-panel a::after {
  content: ">";
  color: var(--red);
  font-weight: 900;
}

.modal-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.area-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17,24,32,.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.modal-toggle:checked + .area-modal {
  opacity: 1;
  pointer-events: auto;
}

.area-modal-card {
  width: min(620px, 100%);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.area-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.area-modal-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.area-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.area-modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

.area-modal-body {
  padding: 18px;
}

.area-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.area-modal-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(17,24,32,.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    linear-gradient(135deg, var(--blue-soft), var(--gold-soft));
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.area-modal-grid a::after {
  content: ">";
  color: var(--red);
  font-weight: 900;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(201,154,61,.3), rgba(201,154,61,0) 30%),
    radial-gradient(circle at 12% 72%, rgba(216,75,97,.22), rgba(216,75,97,0) 28%),
    linear-gradient(135deg, #32121d 0%, #5f1f2f 46%, #8f243b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255,236,205,.1) 0 1px, transparent 1px 100%);
  background-size: 54px 54px;
  opacity: .3;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 0;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  white-space: nowrap;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  scrollbar-color: rgba(248,227,162,.55) rgba(255,255,255,.08);
  scrollbar-width: thin;
}

.breadcrumb::-webkit-scrollbar {
  height: 5px;
}

.breadcrumb::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.breadcrumb::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(248,227,162,.55);
}

.breadcrumb a,
.breadcrumb span {
  flex: 0 0 auto;
}

.breadcrumb span:last-child {
  color: #f8e3a2;
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 35px 0;
}

.section.alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(216,75,97,.12), rgba(216,75,97,0) 30%),
    linear-gradient(135deg, #fff7f8 0%, #fff 48%, #fff7e8 100%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(23,35,51,.05) 0 1px, transparent 1px 100%);
  background-size: 44px 44px;
  opacity: .32;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "M PLUS 1p", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .03em;
  text-shadow: 0 8px 22px rgba(95,31,47,.08);
}

.section-head h2::before {
  content: attr(data-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--gold));
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(184,36,51,.18);
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50px;
  bottom: -12px;
  width: min(104px, calc(100% - 50px));
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red), var(--gold) 62%, rgba(95,31,47,.18));
  box-shadow: 0 8px 18px rgba(216,75,97,.16);
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(143,36,59,.16);
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.menu-strip {
  margin-top: 0;
  padding: 18px 0 30px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.menu-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(143,36,59,.12);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,250,.94)),
    linear-gradient(135deg, var(--rose-soft), var(--gold-soft));
  box-shadow: 0 10px 24px rgba(17,24,32,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143,36,59,.24);
  box-shadow: 0 16px 34px rgba(95,31,47,.12);
}

.menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8f243b, #c33d56);
  border: 0;
  box-shadow: 0 8px 16px rgba(95,31,47,.16);
}

.menu-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.menu-card:nth-child(3n+1) .menu-icon {
  background: linear-gradient(135deg, #8f243b, #d84b61);
}

.menu-card:nth-child(3n+2) .menu-icon {
  background: linear-gradient(135deg, #5f1f2f, #8f243b);
}

.menu-card:nth-child(3n) .menu-icon {
  background: linear-gradient(135deg, #b4842e, #d2a247);
  box-shadow: 0 8px 16px rgba(180,132,46,.16);
}

.menu-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

.menu-card span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.menu-card .menu-icon {
  display: inline-flex;
  margin-top: 0;
  color: #fff;
  font-size: 0;
  line-height: 1;
}

.menu-card .menu-icon svg {
  flex: 0 0 auto;
  display: block;
}

.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 20;
  border-top: 1px solid rgba(17,24,32,.08);
  background: rgba(255,255,255,.94);
  box-shadow: 0 -14px 32px rgba(17,24,32,.08);
  backdrop-filter: blur(14px);
}

.bottom-nav ul {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.bottom-nav-badge {
  position: absolute;
  top: -4px;
  left: calc(50% + 5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.bottom-nav svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav li.active a {
  color: var(--red);
}

.footer-note {
  padding: 24px 0 92px;
  color: var(--muted);
  background: linear-gradient(135deg, #4f1f2f, #8f243b);
  text-align: center;
  font-size: 13px;
}

.footer-links {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #fff;
  font-weight: 800;
}

.footer-links a {
  padding: 0 8px;
  line-height: 1.7;
}

.footer-links a + a {
  border-left: 1px solid rgba(255,255,255,.62);
}

.footer-brand-copy {
  margin: 10px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

/* Small cast profile */
.small-cast-profile {
  padding: 28px 0 8px;
}

.small-cast-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(143,36,59,.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,250,.94)),
    linear-gradient(135deg, var(--rose-soft), var(--gold-soft));
  box-shadow: var(--shadow-soft);
}

.small-cast-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-soft), var(--gold-soft));
}

.small-cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.small-cast-body {
  min-width: 0;
}

.small-cast-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.small-cast-label {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

.small-cast-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.small-cast-heading h1 span {
  color: var(--muted);
  font-size: .62em;
}

.small-cast-area {
  flex: 0 0 auto;
  margin: 2px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.small-cast-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.small-cast-stats > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(95,31,47,.06);
}

.small-cast-stats > .on {
  background: rgba(124,59,93,.1);
  color: var(--plum);
}

.small-cast-stats > .score {
  background: var(--gold-soft);
  color: #9c6b16;
}

.small-cast-stats > .score .star {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin: 0;
  color: #c7bdc1;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
}

.small-cast-stats > .score .star span {
  color: #d4a12f;
  line-height: 1;
}

.small-cast-stats > .score .star .num {
  margin-left: 4px;
  color: #9c6b16;
  font-size: 12px;
  line-height: 1;
}

.small-cast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.small-cast-actions .btn {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 13px;
}

/* Common pagination */
.paging {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.paging .prev,
.paging .next,
.paging .page,
.paging p {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.paging .off {
  display: none;
}

.paging a,
.paging .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(143,36,59,.14);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(95,31,47,.08);
}

.paging .current {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff !important;
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

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

  .section-head {
    display: block;
  }

  .section-head p,
  .section-action {
    margin-top: 12px;
  }

  .section-action {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-inner,
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 58px;
    padding: 8px 0;
    gap: 10px;
  }

  .logo img {
    height: 36px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
  }

  .member-menu .btn {
    padding-inline: 9px;
  }

  .member-panel {
    position: fixed;
    top: 62px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .area-modal {
    padding: 12px;
  }

  .area-modal-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 30px 0;
  }

  .menu-strip {
    margin-top: 0 !important;
    padding: 6px 0 !important;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    padding: 8px 7px;
    border-radius: 12px;
  }

  .menu-card {
    display: flex;
    min-height: 52px;
    padding: 6px 4px;
    border-radius: 8px;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    text-align: center;
  }

  .menu-icon {
    width: 26px;
    height: 26px;
    margin: 0 auto;
  }

  .menu-icon svg {
    width: 15px;
    height: 15px;
  }

  .menu-card strong {
    font-size: 10px;
    line-height: 1.2;
  }

  .menu-card span span {
    display: none;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .section-head h2::before {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .section-head h2::after {
    left: 44px;
    width: min(92px, calc(100% - 44px));
  }

  .section-head p {
    font-size: 13px;
    line-height: 1.7;
  }

  .bottom-nav ul {
    min-height: 60px;
  }

  .small-cast-profile {
    padding-top: 18px;
  }

  .small-cast-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
  }

  .small-cast-heading {
    display: block;
  }

  .small-cast-heading h1 {
    font-size: 22px;
  }

  .small-cast-area {
    display: inline-flex;
    margin-top: 8px;
  }

  .small-cast-stats {
    gap: 5px;
    margin-top: 8px;
  }

  .small-cast-stats > span {
    min-height: 22px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .small-cast-stats > .score .star,
  .small-cast-stats > .score .star .num {
    font-size: 11px;
  }

  .small-cast-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.theme-wine-premium > .bottom-nav,
  body.community-renewal-footer > .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  body.theme-wine-premium > main,
  body.theme-wine-premium > #main_contents,
  body.community-renewal-footer > #main_contents {
    padding-bottom: 84px;
  }

  body.theme-wine-premium > .footer-note,
  body.community-renewal-footer > .footer-note {
    margin-top: 84px;
    margin-bottom: 60px;
  }
}

@media (max-width: 360px) {
  .header-actions .btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .menu-card {
    min-height: 50px;
    padding: 6px 3px;
  }

  .menu-icon {
    width: 26px;
    height: 26px;
  }

  .menu-card strong {
    font-size: 9px;
  }

  .footer-links {
    font-size: 12px;
  }
}

/* Public renewal pages: compact rhythm for smartphone-first browsing. */
body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) {
  line-height: 1.6;
}

body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(p, li, dd, .text, .lead, .description, .summary, .note) {
  font-size: clamp(12px, .92vw, 14px);
  line-height: 1.66;
}

body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.section-head h2) {
  font-size: clamp(24px, 3vw, 32px);
}

body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(h3, .card-title, .menu-card strong) {
  line-height: 1.36;
}

body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.btn, .section-action, .button a, .button input, button, input[type="submit"]) {
  font-size: 12px;
  line-height: 1.25;
}

body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.menu-card, .girl-card, .blog-card, .forum-card, .voice-card, .kuri-blog-card, .girl-blog-card, .toy-card, .price-card) {
  font-size: 13px;
}

/* Shared header buttons across public, auth, and mypage screens. */
.site-header .header-actions .btn,
.site-header .member-menu > summary.btn {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(95,31,47,.08);
}

.site-header .header-actions .area-toggle {
  padding-inline: 12px;
}

@media (max-width: 640px) {
  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) {
    line-height: 1.56;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(p, li, dd, .text, .lead, .description, .summary, .note) {
    font-size: 12px;
    line-height: 1.58;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.section) {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.section-head) {
    margin-bottom: 20px;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.section-head h2) {
    gap: 8px;
    margin-bottom: 8px;
    font-size: clamp(19px, 5.6vw, 22px);
    line-height: 1.28;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.section-head p) {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.58;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(h3, .card-title, .menu-card strong) {
    font-size: 14px;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.btn, .section-action, .button a, .button input, button, input[type="submit"]) {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  body.theme-wine-premium:not(.member-workspace-renewal):not(.member-auth-renewal) :where(.menu-card, .girl-card, .blog-card, .forum-card, .voice-card, .kuri-blog-card, .girl-blog-card, .toy-card, .price-card) {
    border-radius: 12px;
  }

  .site-header .header-actions .btn,
  .site-header .member-menu > summary.btn {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .site-header .header-actions .btn,
  .site-header .member-menu > summary.btn {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 11px;
  }
}
