@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Hachi+Maru+Pop&family=M+PLUS+Rounded+1c:wght@800&family=Shippori+Mincho:wght@700&family=Zen+Maru+Gothic:wght@700&display=swap");

:root {
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F5F5;
  --c-text: #333333;
  --c-muted: #767676;
  --c-border: #DDDDDD;

  --c-navy: #1F4E9C;
  --c-navy-dark: #163B78;
  --c-orange: #F08300;
  --c-orange-dark: #CC6F00;

  --c-new: #D6321E;

  --radius: 3px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

a {
  color: var(--c-navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

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

section {
  padding: 28px 0;
}

h1, h2, h3 {
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: bold;
}

h1 {
  font-size: 22px;
}

h2.block-title {
  font-size: 17px;
  background: #FFFFFF;
  border-left: 4px solid var(--c-navy);
  border-bottom: 1px solid var(--c-border);
  padding: 8px 12px;
  margin: 0 0 16px;
}

h3 {
  font-size: 16px;
}

p {
  margin: 0 0 12px;
}

.note {
  font-size: 13px;
  color: var(--c-muted);
}

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--c-border);
}

.site-header .header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-navy);
  text-decoration: none;
  white-space: nowrap;
}

.brand-latin {
  margin-left: 6px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.brand-tagline {
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.header-search {
  flex: 1 1 260px;
  display: flex;
  min-width: 0;
}

.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  padding: 8px 10px;
  border: 1px solid var(--c-border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #FFFFFF;
  color: var(--c-text);
}

.header-search button {
  font-size: 15px;
  font-weight: bold;
  padding: 8px 16px;
  border: 1px solid var(--c-orange-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--c-orange);
  color: #FFFFFF;
  white-space: nowrap;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--c-orange-dark);
}

.header-links {
  display: flex;
  gap: 14px;
  font-size: 13px;
  white-space: nowrap;
  flex-wrap: wrap;
}

.header-links {
  align-items: baseline;
  font-size: 12px;
}

.header-links a {
  color: var(--c-navy);
}

.login-status {
  color: var(--c-muted);
}

.block-title-count {
  margin-left: 6px;
  font-size: 0.8em;
  font-weight: normal;
  color: var(--c-muted);
}

.main-nav {
  background: var(--c-navy);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  color: #FFFFFF;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.main-nav a:hover {
  background: var(--c-navy-dark);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  background: var(--c-navy-dark);
}

.announce {
  background: #FFF6E9;
  border-bottom: 1px solid var(--c-border);
  color: #7A4B00;
  font-size: 14px;
  padding: 6px 0;
  text-align: center;
}

.announce--fair {
  background: #E8527A;
  border-bottom: 3px solid #B4235A;
  padding: 0;
}

.announce--fair a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 14px 16px;
  color: #FFFFFF;
  text-decoration: none;
}

.announce--fair a:hover {
  background: #D9406B;
  text-decoration: none;
}

.announce-badge {
  padding: 3px 12px;
  background: #FFFFFF;
  color: #E8527A;
  font-size: 14px;
  font-weight: bold;
  border-radius: 99px;
  white-space: nowrap;
}

.announce-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(150, 20, 60, 0.35);
}

.announce-more {
  padding: 4px 14px;
  border: 2px solid #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  border-radius: 99px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .announce-title {
    font-size: 19px;
  }
}

.fair-banner {
  margin: 0 0 16px;
  padding: 18px 22px;
  background: #FFF0F5;
  border: 1px solid #F3B6CB;
  border-left: 6px solid #E8527A;
  border-radius: var(--radius);
}

.fair-banner[hidden] {
  display: none;
}

.fair-banner-label {
  display: inline-block;
  margin: 0 0 6px;
  padding: 1px 10px;
  background: #E8527A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  border-radius: 99px;
}

.fair-banner-title {
  margin: 0 0 6px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #B4235A;
}

.fair-banner-lead {
  margin: 0;
  font-size: 14px;
  color: var(--c-text);
}

.breadcrumb {
  font-size: 13px;
  color: var(--c-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  margin: 0 0 20px;
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--c-text);
}

.page-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0 40px;
}

.main-col {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar {
  flex: 0 0 230px;
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .page-layout {
    flex-direction: column;
  }

  .sidebar {
    flex: 1 1 auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .side-block {
    flex: 1 1 260px;
  }
}

.side-block {
  border: 1px solid var(--c-border);
  background: #FFFFFF;
}

.side-block-title {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
  padding: 8px 10px;
}

.side-list,
.side-ranking,
.side-news {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-list li,
.side-ranking li,
.side-news li {
  font-size: 13px;
  line-height: 1.6;
}

.side-list a {
  display: block;
}

.side-ranking {
  counter-reset: rank;
}

.side-ranking li {
  min-width: 0;
}

.side-ranking a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.side-rank-num {
  display: inline-block;
  min-width: 1.4em;
  font-weight: bold;
  color: var(--c-navy);
}

.side-price {
  color: var(--c-orange);
  font-weight: bold;
  white-space: nowrap;
}

.side-news-date {
  display: block;
  color: var(--c-muted);
  font-size: 12px;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

.btn-primary {
  background: var(--c-orange);
  border-color: var(--c-orange-dark);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--c-orange-dark);
}

.btn-lavender {
  background: #FFFFFF;
  border: 1px solid var(--c-navy);
  color: var(--c-navy);
}

.btn-pill {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  color: var(--c-text);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pickup-wrap {
  position: relative;
}

.pickup-box {
  display: flex;
  align-items: stretch;
  min-height: 300px;
  border: 1px solid var(--c-border);
  background: #FFFFFF;
  transition: opacity 0.2s ease;
}

.pickup-thumb {
  flex: 0 0 45%;
  display: block;
  min-width: 0;
}

.pickup-thumb .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  font-size: 16px;
}

.pickup-info {
  flex: 1 1 auto;
  min-width: 0;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.pickup-title {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pickup-title a {
  color: var(--c-text);
}

.pickup-summary {
  margin: 0;
  font-size: 14px;
  color: var(--c-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pickup-price {
  font-size: 21px;
  margin: 2px 0 4px;
}

.btn-small {
  align-self: flex-start;
  padding: 8px 18px;
  font-size: 13px;
}

.pickup-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 0;
}

.pickup-arrow {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--c-navy);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.pickup-arrow:hover {
  background: var(--c-bg-soft);
}

.pickup-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pickup-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--c-navy);
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
}

.pickup-dot[aria-current="true"] {
  background: var(--c-navy);
}

@media (max-width: 700px) {
  .pickup-box {
    flex-direction: column;
    min-height: 0;
  }

  .pickup-thumb {
    flex: 0 0 auto;
    width: 100%;
  }

  .pickup-thumb .thumb {
    aspect-ratio: 4 / 3;
  }

  .pickup-info {
    padding: 16px 18px;
  }

  .pickup-title {
    font-size: 18px;
  }
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.banner-box {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 26px 16px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

a.banner-box {
  text-decoration: none;
}

a.banner-box:hover {
  text-decoration: none;
  opacity: 0.85;
}

.banner-box p {
  margin: 0;
  font-size: 17px;
  font-weight: bold;
}

.banner-box--navy {
  background: var(--c-navy);
}

.banner-box--navy p {
  color: #FFFFFF;
}

.banner-box--gray {
  background: var(--c-bg-soft);
}

.banner-box--gray p {
  color: var(--c-text);
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-heading-row h2.block-title {
  flex: 1;
}

.more-link {
  font-size: 13px;
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 720px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.card-row .card {
  flex: 0 0 220px;
}

.card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.card-link {
  display: block;
}

.card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.badge-new {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  color: var(--c-new);
}

.card-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

.card-title a {
  color: var(--c-text);
}

.card-meta {
  font-size: 12px;
  color: var(--c-muted);
  margin: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  border-top: 1px solid var(--c-border);
}

.card-price {
  font-size: 16px;
  color: var(--c-orange);
  font-weight: bold;
  white-space: nowrap;
  margin: 0;
}

.card-detail-link {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEEEEE;
  border-bottom: 1px solid var(--c-border);
  color: #999999;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  overflow: hidden;
}

.thumb--image {
  background: #F4F4F4;
}

.thumb .work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tag {
  font-size: 12px;
  padding: 2px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  color: var(--c-muted);
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--c-text);
  cursor: pointer;
  white-space: nowrap;
}

.chip[aria-pressed="true"] {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: #FFFFFF;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.sort-control select {
  font-size: 13px;
  padding: 6px 8px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--c-text);
}

.result-count {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 14px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 720px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

#detail-thumb .thumb {
  aspect-ratio: 4 / 3;
  min-height: 0;
  font-size: 15px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
  border: 1px solid var(--c-border);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-top: 1px solid var(--c-border);
  vertical-align: top;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
  border-top: none;
}

.spec-table th {
  width: 8em;
  background: var(--c-bg-soft);
  color: var(--c-muted);
  font-weight: bold;
  white-space: nowrap;
}

.detail-price {
  font-size: 22px;
  color: var(--c-orange);
  font-weight: bold;
}

.related-title {
  margin-top: 36px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-field .required {
  color: var(--c-new);
  font-size: 12px;
  margin-left: 6px;
  font-weight: normal;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field textarea,
.form-field select {
  width: 100%;
  font-size: 15px;
  padding: 9px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  color: var(--c-text);
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-navy);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 6px;
}

.empty-state {
  border: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  padding: 40px 20px;
  text-align: center;
  color: var(--c-muted);
}

.empty-state p {
  margin-bottom: 18px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--c-border);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid var(--c-border);
  vertical-align: top;
}

.info-table tr:first-child th,
.info-table tr:first-child td {
  border-top: none;
}

.info-table th {
  width: 12em;
  background: var(--c-bg-soft);
  white-space: nowrap;
  font-weight: bold;
}

.info-table td.pending {
  color: var(--c-muted);
}

.article {
  margin-bottom: 22px;
  border: 1px solid var(--c-border);
  padding: 16px 18px;
}

.article h2 {
  font-size: 15px;
  margin-bottom: 10px;
}

.article ol,
.article ul {
  padding-left: 1.4em;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-border);
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  flex: 0 0 auto;
  color: var(--c-muted);
  white-space: nowrap;
}

.guide-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.guide-box {
  border: 1px solid var(--c-border);
  padding: 16px;
}

.guide-box h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.guide-box p {
  font-size: 14px;
  margin-bottom: 8px;
}

.guide-box a {
  font-size: 13px;
}

.site-footer {
  margin-top: 40px;
}

.footer-links {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 32px 0;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 160px;
}

.footer-col h3 {
  font-size: 14px;
  color: var(--c-text);
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col a {
  font-size: 13px;
  color: var(--c-navy);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: var(--c-navy-dark);
  padding: 14px 0;
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-age-note {
  margin-top: 4px !important;
  color: #FFFFFF;
  font-size: 11px;
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 20px 0;
  }

  .header-row {
    padding: 10px 0;
  }

  .brand-lockup {
    flex: 1 1 100%;
  }

  .header-search {
    flex: 1 1 100%;
    order: 3;
  }

  .header-links {
    flex: 1 1 100%;
  }

  .banner-grid {
    grid-template-columns: 1fr;
  }

  .detail-price {
    font-size: 19px;
  }
}

.jk {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  --jk-ink: #FFFFFF;
  --jk-edge: #E8527A;
  --jk-accent: #E8527A;
  --jk-scrim: rgba(232, 82, 122, 0.45);
}

.jk .work-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.jk--char-right::before { background: linear-gradient(to right, var(--jk-scrim) 0%, transparent 55%); }
.jk--char-left::before { background: linear-gradient(to left, var(--jk-scrim) 0%, transparent 55%); }
.jk--char-center::before { background: linear-gradient(to top, var(--jk-scrim) 0%, transparent 45%); }

.jk-text {
  position: absolute;
  z-index: 2;
  top: 5cqw;
  width: 47cqw;
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
  color: var(--jk-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-align: left;
}
.jk--char-right .jk-text { left: 4.5cqw; }
.jk--char-left .jk-text { right: 4.5cqw; align-items: flex-end; text-align: right; }
.jk--char-center .jk-text {
  top: auto;
  bottom: 10cqw;
  left: 5cqw;
  right: 5cqw;
  width: auto;
  align-items: center;
  text-align: center;
}

.jk-text p { margin: 0; }

.jk-line {
  display: block;
  white-space: nowrap;
}

.jk-genre {
  align-self: flex-start;
  padding: 0.6cqw 2cqw;
  background: var(--jk-accent);
  color: #FFFFFF;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 3.4cqw;
  line-height: 1.3;
  letter-spacing: 0.08em;
  border-radius: 99px;
  white-space: nowrap;
}
.jk--char-left .jk-genre { align-self: flex-end; }
.jk--char-center .jk-genre { align-self: center; }

.jk-main {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 6.6cqw;
  line-height: 1.25;

  text-shadow:
    0.45cqw 0 0 var(--jk-edge), -0.45cqw 0 0 var(--jk-edge),
    0 0.45cqw 0 var(--jk-edge), 0 -0.45cqw 0 var(--jk-edge),
    0.32cqw 0.32cqw 0 var(--jk-edge), -0.32cqw 0.32cqw 0 var(--jk-edge),
    0.32cqw -0.32cqw 0 var(--jk-edge), -0.32cqw -0.32cqw 0 var(--jk-edge),
    0 0.9cqw 1.2cqw rgba(0, 0, 0, 0.35);
}

.jk-sub {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 3.5cqw;
  line-height: 1.45;
  text-shadow: 0 0 0.8cqw rgba(0, 0, 0, 0.55), 0 0 0.3cqw rgba(0, 0, 0, 0.5);
}

.jk-badges {
  position: absolute;
  z-index: 2;
  bottom: 3.5cqw;
  display: flex;
  gap: 1.2cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jk--char-right .jk-badges { left: 4.5cqw; }
.jk--char-left .jk-badges { right: 4.5cqw; }
.jk--char-center .jk-badges { left: 50%; transform: translateX(-50%); }

.jk-badges li {
  padding: 0.5cqw 1.8cqw;
  background: rgba(255, 255, 255, 0.92);
  color: var(--jk-accent);
  border: 0.35cqw solid var(--jk-accent);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 2.8cqw;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 99px;
}

@container (max-width: 260px) {
  .jk-sub { display: none; }
  .jk-main { font-size: 7cqw; }
  .jk-badges li:first-child { display: none; }
}

.jk--mimi {
  --jk-edge: #E8527A;
  --jk-accent: #E8527A;
  --jk-scrim: rgba(255, 214, 226, 0.55);
}

.jk--soine {
  --jk-edge: #2B3A7A;
  --jk-accent: #4A5BB0;
  --jk-scrim: rgba(18, 26, 70, 0.62);
}
.jk--soine .jk-main {
  font-family: "Zen Maru Gothic", sans-serif;
  text-shadow:
    0 0 1.2cqw rgba(170, 190, 255, 0.95),
    0.3cqw 0.3cqw 0 var(--jk-edge), -0.3cqw -0.3cqw 0 var(--jk-edge),
    0.3cqw -0.3cqw 0 var(--jk-edge), -0.3cqw 0.3cqw 0 var(--jk-edge);
}
.jk--soine .jk-genre::before { content: "☾ "; }

.jk--kankyo {
  --jk-edge: rgba(0, 0, 0, 0.55);
  --jk-accent: #2F6B55;
  --jk-scrim: rgba(10, 20, 16, 0.55);
}
.jk--kankyo .jk-text {
  top: 5cqw;
  bottom: 12cqw;
  width: auto;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 2cqw;
}
.jk--kankyo.jk--char-left .jk-text { flex-direction: row-reverse; }
.jk--kankyo .jk-main,
.jk--kankyo .jk-sub {
  writing-mode: vertical-rl;
  max-height: 100%;
}
.jk--kankyo .jk-main {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 6.2cqw;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1.4cqw rgba(0, 0, 0, 0.7), 0 0 0.4cqw rgba(0, 0, 0, 0.6);
}
.jk--kankyo .jk-sub {
  font-family: "Shippori Mincho", serif;
  font-size: 3.3cqw;
  letter-spacing: 0.1em;
}
.jk--kankyo .jk-genre {
  writing-mode: vertical-rl;
  align-self: flex-start;
  padding: 1.8cqw 0.6cqw;
  border-radius: 0.6cqw;
  font-family: "Shippori Mincho", serif;
}
.jk--kankyo .jk-badges li { border-radius: 0.6cqw; }

.jk--rp {
  --jk-ink: #FFE45C;
  --jk-edge: #0F4C5C;
  --jk-accent: #0F7C8C;
  --jk-scrim: rgba(8, 56, 66, 0.55);
}
.jk--rp .jk-main {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-size: 6.4cqw;
  line-height: 1.3;
  transform: rotate(-3deg);
  transform-origin: left top;
}
.jk--rp.jk--char-left .jk-main { transform-origin: right top; }
.jk--rp .jk-sub { color: #FFFFFF; }

.jk--roudoku {
  --jk-ink: #4A3222;
  --jk-edge: transparent;
  --jk-accent: #8A5A36;
  --jk-scrim: rgba(60, 40, 20, 0.25);
}
.jk--roudoku .jk-text {
  padding: 2.4cqw 3cqw;
  background: rgba(255, 249, 236, 0.9);
  border-top: 0.6cqw double #8A5A36;
  border-bottom: 0.6cqw double #8A5A36;
}
.jk--roudoku .jk-main {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 6.4cqw;
  text-shadow: none;
}
.jk--roudoku .jk-sub {
  font-family: "Shippori Mincho", serif;
  text-shadow: none;
}

.jk--oto {
  --jk-ink: #F0408A;
  --jk-edge: #FFFFFF;
  --jk-accent: #3BB4E5;
  --jk-scrim: rgba(190, 235, 255, 0.5);
}
.jk--oto .jk-main {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 6.6cqw;
  text-shadow:
    0.45cqw 0 0 var(--jk-edge), -0.45cqw 0 0 var(--jk-edge),
    0 0.45cqw 0 var(--jk-edge), 0 -0.45cqw 0 var(--jk-edge),
    0.32cqw 0.32cqw 0 var(--jk-edge), -0.32cqw 0.32cqw 0 var(--jk-edge),
    0.32cqw -0.32cqw 0 var(--jk-edge), -0.32cqw -0.32cqw 0 var(--jk-edge),
    0.9cqw 0.9cqw 0 #3BB4E5, 0 0 1.6cqw rgba(0, 0, 0, 0.25);
}
.jk--oto .jk-genre::before { content: "♪ "; }
.jk--oto .jk-sub {
  font-family: "Hachi Maru Pop", sans-serif;
  font-weight: 400;
  color: #FFFFFF;
}
