.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 500px) 1fr;
  align-items: center;
  min-height: 355px;
  padding: 50px 0 36px;
}

.home-hero::before {
  position: absolute;
  right: -36px;
  bottom: 0;
  width: 720px;
  height: 310px;
  background:
    radial-gradient(circle at 25% 40%, rgba(143, 180, 204, 0.3) 0 4px, transparent 5px),
    radial-gradient(circle at 44% 27%, rgba(143, 180, 204, 0.24) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 50%, rgba(143, 180, 204, 0.22) 0 4px, transparent 5px),
    #eef7ff;
  border-radius: 48% 52% 0 0 / 56% 66% 0 0;
  content: "";
}

.home-hero::after {
  position: absolute;
  inset: 58px auto auto -50px;
  width: 290px;
  height: 250px;
  color: rgba(143, 180, 204, 0.42);
  background:
    radial-gradient(circle at 4% 56%, currentColor 0 4px, transparent 5px),
    radial-gradient(circle at 66% 12%, currentColor 0 4px, transparent 5px),
    radial-gradient(circle at 92% 44%, currentColor 0 3px, transparent 4px);
  content: "";
}

.home-hero__content,
.home-hero__visual {
  position: relative;
  z-index: 1;
}

.home-hero__content {
  padding-left: 62px;
}

.home-hero__label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 4px 14px;
  color: var(--color-main-dark);
  font-size: 0.95rem;
  font-weight: 800;
  background: #eaf5ff;
  border-radius: 999px;
}

.home-hero__label::before {
  margin-right: 4px;
  content: "＊";
}

.home-hero__title {
  margin: 0 0 16px;
  color: #4a2d20;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.78rem, 2.62vw, 2.56rem);
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.home-hero__lead {
  max-width: 455px;
  margin: 0 0 22px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.75;
}

.home-hero__visual {
  display: flex;
  justify-content: center;
  align-self: end;
}

.home-hero__visual img {
  width: min(520px, 100%);
  max-height: 315px;
  object-fit: contain;
}

.home-section {
  width: 100%;
  max-width: 100%;
  margin-top: 34px;
}

.home-lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  width: 100%;
  max-width: 100%;
}

.home-list {
  min-width: 0;
}

.home-list + .home-list {
  position: relative;
}

.home-list + .home-list::before {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: -23px;
  width: 1px;
  background: #e0e8ee;
  content: "";
}

.home-cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin-top: 36px;
}

.single-illust {
  padding-top: 34px;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "breadcrumb sidebar"
    "header sidebar"
    "media sidebar"
    "content sidebar";
  gap: 22px 32px;
  align-items: start;
}

.single-layout__breadcrumb {
  grid-area: breadcrumb;
}

.single-layout__header {
  grid-area: header;
}

.single-layout__media {
  grid-area: media;
}

.single-layout__sidebar {
  position: sticky;
  top: 104px;
  grid-area: sidebar;
  display: grid;
  gap: 18px;
}

.single-layout__content {
  grid-area: content;
  display: grid;
  gap: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6f7b83;
  font-size: 0.84rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #4c7ca1;
}

.single-illust__title {
  margin: 0 0 14px;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.62rem, 2.1vw, 2.18rem);
  line-height: 1.52;
}

.single-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px;
  color: var(--color-main-dark);
  font-size: 0.84rem;
  font-weight: 800;
  background: #eaf5ff;
  border-radius: 999px;
}

.single-illust__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.single-illust__figure img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
}

.single-illust__note {
  margin: 10px 0 0;
  color: #6f7b83;
  font-size: 0.84rem;
  font-weight: 700;
}

.side-panel,
.single-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.side-panel {
  padding: 22px;
}

.side-panel h2,
.single-section h2 {
  margin: 0;
  color: #3f281e;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.45;
}

.download-panel {
  overflow: hidden;
  padding: 0;
}

.download-panel h2 {
  padding: 18px 22px 4px;
  color: var(--color-main-dark);
  text-align: center;
}

.download-panel__lead {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.download-panel__spec {
  margin: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.download-panel__spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  font-weight: 800;
}

.download-panel__spec dt,
.download-panel__spec dd {
  margin: 0;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  margin: 20px 22px 10px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #2f8cc9, #006cb7);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.22);
}

.download-panel__note {
  margin: 0;
  padding: 0 22px 18px;
  color: #6f7b83;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.6;
}

.terms-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.terms-panel li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.terms-panel li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--color-main-dark);
  font-size: 0.72rem;
  border: 1px solid #afcfe4;
  border-radius: 50%;
  content: "✓";
}

.terms-panel__link {
  display: inline-flex;
  color: var(--color-main-dark);
  font-weight: 800;
}

.stock-panel {
  background: #f6fbff;
}

.stock-panel p {
  margin: 8px 0 16px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.stock-panel__links {
  display: grid;
  gap: 10px;
}

.stock-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #cfe0ec;
  border-radius: 999px;
}

.stock-link strong {
  color: #3f281e;
  font-size: 1rem;
}

.stock-link span {
  color: var(--color-main-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.single-section {
  padding: 22px;
}

.single-section__body {
  margin-top: 14px;
}

.single-section__body > *:first-child {
  margin-top: 0;
}

.single-section__body > *:last-child {
  margin-bottom: 0;
}

.single-use {
  background: #f6fbff;
}

.single-use__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.single-use__list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.single-use__list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-main-dark);
  font-weight: 900;
  content: "✓";
}

.single-related-grid {
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.single-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.single-tags__pill {
  min-height: 34px;
}

.about-page {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 620px);
  align-items: end;
  min-height: 250px;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 42%, rgba(143, 180, 204, 0.2) 0 5px, transparent 6px),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border-radius: 0;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 46px 52px 58px;
}

.about-hero h1 {
  margin: 0 0 12px;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
}

.about-hero p {
  margin: 0;
  font-weight: 700;
}

.about-hero__visual {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 250px;
  padding: 10px 52px 0 28px;
}

.about-hero__visual::before,
.about-hero__visual::after {
  position: absolute;
  color: #c7dded;
  font-weight: 800;
  content: "＊";
}

.about-hero__visual::before {
  top: 64px;
  left: 24px;
}

.about-hero__visual::after {
  top: 48px;
  right: 80px;
}

.about-hero__decoration {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: min(calc(100% - 36px), 590px);
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.95;
}

.about-hero__image {
  position: relative;
  z-index: 1;
  width: min(100%, 242px);
  max-height: 224px;
  object-fit: contain;
  object-position: bottom center;
}

.about-grid {
  display: grid;
  gap: 18px;
}

.about-grid--intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.about-grid--middle {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
}

.about-grid--bottom {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.about-card h2 {
  margin: 0 0 12px;
  color: #3f281e;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.45;
}

.about-card p {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.78;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card__eyebrow {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.about-profile h2 {
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
}

.about-profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.about-profile__image {
  width: 128px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  background: #f1f8fd;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-feature {
  min-height: 156px;
  padding: 18px 14px 16px;
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.about-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  color: #7fafd8;
  font-size: 34px;
  line-height: 1;
  background: #eef7ff;
  border: 1px solid #d7eaf8;
  border-radius: 50%;
}

.about-feature__icon i,
.about-feature__icon svg {
  display: block;
  width: 34px;
  height: 34px;
  color: inherit;
  font-size: 34px;
  line-height: 1;
}

.about-feature h3,
.about-faq__item h3 {
  margin: 0 0 8px;
  color: #3f281e;
  font-size: 1rem;
  line-height: 1.5;
}

.about-feature h3,
.about-feature p {
  text-align: center;
}

.about-feature p,
.about-faq__item p {
  margin: 0;
}

.about-faq {
  display: grid;
  align-content: start;
  gap: 10px;
}

.about-faq__item {
  padding: 13px 16px;
  background: #fff;
  border: 1px solid #d8e8f2;
  border-radius: 8px;
}

.about-link-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.about-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
}

.about-service-link strong {
  font-size: 1.05rem;
}

.about-service-link span {
  color: var(--color-main-dark);
  font-size: 1.5rem;
}

.about-contact {
  background: #f6fbff;
}

.about-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 20px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #2f8cc9, #006cb7);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.18);
}

.terms-page {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 26px;
}

.terms-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 46px;
  text-align: center;
  background:
    radial-gradient(circle at 16% 74%, rgba(143, 180, 204, 0.16) 0 5px, transparent 6px),
    radial-gradient(circle at 86% 24%, rgba(143, 180, 204, 0.22) 0 6px, transparent 7px),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.terms-hero h1 {
  margin: 0 0 10px;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.terms-hero p {
  width: 100%;
  max-width: 720px;
  margin: 0;
  margin-inline: auto;
  font-weight: 500;
  line-height: 1.8;
  white-space: nowrap;
}

.terms-page .terms-hero p {
  max-width: 720px;
}

.privacy-hero__break {
  display: none;
}

.terms-content {
  display: grid;
  gap: 18px;
}

.terms-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.terms-card::before,
.terms-card--ok::before,
.terms-card--ng::before {
  display: none;
  content: none;
  background: transparent;
}

.terms-card--ok {
  background: #fff;
  border-color: var(--color-border);
}

.terms-card--ng {
  background: #fff;
  border-color: var(--color-border);
}

.terms-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #3f281e;
  font-family: var(--font-heading);
  font-size: 1.16rem;
  line-height: 1.45;
}

.terms-card h2::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--color-main-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  background: #eaf5ff;
  border-radius: 50%;
  content: "＊";
}

.terms-card--ok h2::before {
  color: #fff;
  background: var(--color-main-dark);
  content: "✓";
}

.terms-card--ng h2::before {
  color: #fff;
  background: #c77a7a;
  content: "!";
}

.terms-card p {
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.terms-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-list li {
  position: relative;
  min-height: 46px;
  padding: 10px 12px 10px 40px;
  font-weight: 600;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #d8e8f2;
  border-radius: 10px;
}

.terms-list li::before {
  position: absolute;
  top: 50%;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 50%;
  transform: translateY(-50%);
}

.terms-list--ok li::before {
  background: var(--color-main-dark);
  content: "✓";
}

.terms-list--ng li::before {
  background: #c77a7a;
  content: "!";
}

.contact-page {
  max-width: 860px;
}

.contact-hero p {
  white-space: normal;
}

.contact-card p + p {
  margin-top: 10px;
}

.contact-form-card {
  padding: 28px;
}

.contact-form-card .wpforms-container {
  margin: 0;
}

.contact-form-card .wpforms-title {
  display: none;
}

.contact-form-card .wpforms-field {
  padding: 0 0 18px;
}

.contact-form-card .wpforms-field-label {
  margin-bottom: 7px;
  color: #3f281e;
  font-weight: 700;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="url"],
.contact-form-card input[type="tel"],
.contact-form-card textarea,
.contact-form-card select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
}

.contact-form-card textarea {
  min-height: 150px;
}

.contact-form-card button[type="submit"],
.contact-form-card .wpforms-submit {
  min-width: 180px;
  min-height: 50px;
  padding: 0 26px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #2f8cc9, #006cb7);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.18);
}

.contact-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.sitemap-page {
  max-width: 960px;
}

.sitemap-hero p {
  white-space: normal;
}

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

.sitemap-card--wide {
  grid-column: 1 / -1;
}

.sitemap-page .sitemap-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-page .sitemap-link-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-page .sitemap-link-list li::marker {
  content: "";
}

.sitemap-page .sitemap-link-list--pages,
.sitemap-page .sitemap-link-list--terms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sitemap-page .sitemap-link-list--tags,
.sitemap-page .sitemap-link-list--external {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sitemap-page .sitemap-link-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 38px 11px 18px;
  color: #3f281e;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  background: #fbfdff;
  border: 1px solid #d8e8f2;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(72, 111, 138, 0.06);
}

@media (min-width: 769px) {
  .sitemap-page .sitemap-link-list--pages {
    gap: 8px;
  }

  .sitemap-page .sitemap-link-list--pages a {
    padding-right: 30px;
    padding-left: 14px;
    white-space: nowrap;
  }

  .sitemap-page .sitemap-link-list--pages a::after {
    right: 11px;
  }
}

.sitemap-page .sitemap-link-list a::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--color-main-dark);
  font-size: 1rem;
  font-weight: 800;
  content: ">";
  transform: translateY(-50%);
}

.sitemap-page .sitemap-link-list a:hover {
  color: var(--color-main-dark);
  background: #f4faff;
  border-color: #bcd9eb;
}

.archive-page {
  display: grid;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 24px;
}

.archive-breadcrumb {
  margin-bottom: 2px;
}

.archive-hero {
  display: grid;
  gap: 22px;
}

.archive-hero h1 {
  margin: 0 0 10px;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.02em;
}

.archive-hero p {
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.8;
}

.archive-search {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 7px 8px 7px 22px;
  background: #fff;
  border: 2px solid #d7e7f1;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(73, 120, 151, 0.08);
}

.archive-search svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  margin-right: 14px;
  fill: #a6b4bd;
}

.archive-search input {
  width: 100%;
  min-width: 0;
  color: var(--color-text);
  font-weight: 600;
  background: transparent;
  border: 0;
  outline: 0;
}

.archive-search input::placeholder {
  color: #9aa7af;
}

.archive-search button {
  flex: 0 0 116px;
  height: 48px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(180deg, #3d91ca, #006cb7);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.18);
}

.archive-filter-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.archive-filter h2 {
  margin: 0 0 14px;
  color: #3f281e;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.45;
}

.archive-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-filter__pill,
.archive-filter__pose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main-dark);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  background: #fff;
  border: 1px solid #bdd9ec;
}

.archive-filter__pill {
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 999px;
}

.archive-filter__pose {
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 999px;
}

.archive-filter__pill.is-active,
.archive-filter__pose.is-active {
  color: #fff;
  background: var(--color-main-dark);
  border-color: var(--color-main-dark);
}

.archive-filter__pill.is-disabled,
.archive-filter__pose.is-disabled {
  color: #a3b0b8;
  pointer-events: none;
  background: #f7fafc;
  border-color: #e3edf4;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.archive-count {
  margin: 0;
  color: #3f281e;
  font-weight: 800;
}

.archive-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archive-sort select {
  min-width: 128px;
  height: 40px;
  padding: 0 34px 0 14px;
  color: #3f281e;
  font-weight: 800;
  background: #fff;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
}

.archive-results .illust-card {
  gap: 9px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(72, 111, 138, 0.06);
}

.archive-results .illust-card__image {
  padding: 6px;
  border: 0;
}

.archive-results .illust-card__title {
  display: -webkit-box;
  min-height: calc(0.86rem * 1.4 * 2);
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #3f281e;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cfe0ec;
  border-radius: 8px;
}

.archive-pagination .page-numbers.current {
  color: #fff;
  background: var(--color-main-dark);
  border-color: var(--color-main-dark);
}

.archive-pagination .page-numbers.dots {
  min-width: auto;
  border-color: transparent;
  background: transparent;
}

.archive-terms-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #d8e8f2;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.archive-terms-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-main-dark);
  font-size: 1.25rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid #9ec7e4;
  border-radius: 50%;
}

.archive-terms-cta h2 {
  margin: 0 0 4px;
  color: var(--color-main-dark);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  line-height: 1.45;
}

.archive-terms-cta p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.7;
}

.archive-terms-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 46px;
  padding: 0 24px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, #3d91ca, #006cb7);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.18);
}

.category-archive-page {
  max-width: 1120px;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 196px;
  padding: 24px 48px 24px 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 26%, rgba(143, 180, 204, 0.18) 0 5px, transparent 6px),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #d8e8f2;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.category-hero__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-height: 148px;
}

.category-hero__image img {
  width: min(100%, 320px);
  height: 100%;
  max-height: 170px;
  object-fit: contain;
  object-position: center bottom;
}

.category-hero h1 {
  margin: 0 0 12px;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.02em;
}

.category-hero p {
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.category-hero__count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  font-weight: 700;
}

.category-hero__count span {
  color: #3f281e;
}

.category-hero__count strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 16px;
  color: var(--color-main-dark);
  font-weight: 800;
  line-height: 1.2;
  background: #fff;
  border: 1px solid #bdd9ec;
  border-radius: 999px;
}

.category-filter {
  display: grid;
  gap: 12px;
}

.category-filter h2 {
  margin: 0;
}

.category-filter__list {
  gap: 12px;
}

.category-archive-page .archive-results {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tag-archive-page {
  max-width: 1040px;
}

.tag-hero {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 38px 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 26%, rgba(143, 180, 204, 0.18) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 22%, rgba(143, 180, 204, 0.22) 0 7px, transparent 8px),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #d8e8f2;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.tag-hero h1 {
  margin: 0;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.02em;
}

.tag-hero p {
  max-width: 720px;
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.tag-hero__count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 4px;
  font-weight: 700;
}

.tag-hero__count span {
  color: #3f281e;
}

.tag-hero__count strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 16px;
  color: var(--color-main-dark);
  font-weight: 800;
  line-height: 1.2;
  background: #fff;
  border: 1px solid #bdd9ec;
  border-radius: 999px;
}

.not-found-page {
  display: grid;
  gap: 26px;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 26px;
}

.not-found-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 38px 46px 44px;
  text-align: center;
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #d8e8f2;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.not-found-hero__label {
  margin: 0;
  color: #b8d6ea;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(5rem, 10vw, 6.25rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.not-found-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 140px;
}

.not-found-hero__image:empty {
  display: none;
}

.not-found-hero__image img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.not-found-mobile-break {
  display: none;
}

.not-found-hero h1 {
  margin: 0;
  color: #3f281e;
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.not-found-hero p {
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.not-found-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 50px;
  padding: 0 26px;
  color: var(--color-main-dark);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid #bdd9ec;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(72, 111, 138, 0.08);
}

.not-found-button--primary {
  color: #fff;
  background: linear-gradient(180deg, #3d91ca, #006cb7);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.18);
}

.not-found-card h2,
.not-found-latest h2 {
  margin: 0;
}

.not-found-card {
  display: grid;
  gap: 16px;
}

.not-found-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.not-found-category-list a,
.not-found-category-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--color-main-dark);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid #bdd9ec;
  border-radius: 999px;
}

.not-found-category-list span {
  color: #a3b0b8;
  background: #f7fafc;
  border-color: #e3edf4;
}

.not-found-search {
  width: 100%;
}

.not-found-latest {
  display: grid;
  gap: 18px;
  margin-top: 2px;
}
