/* Reset defaults to avoid UA margin/padding differences. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

b,
strong {
  font-weight: normal;
}

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Light.614db5c538cb.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Regular.6208396d3d91.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Medium.498311051f44.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Bold.388fafa05db3.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/ZenKakuGothicNew-Black.5c1fc51f4595.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
:root {
  --green-left: #43b172;
  --green-right: #9ac814;
  --tag-green: #43b172;
  --tag-lime: #9ac814;
  --accent-red-light: #e86b5a;
  --accent-red: #d64545;
  --accent-orange-light: #f7a23a;
  --accent-orange: #f36b21;
  --soft-gray: #f5f4f2;
  --text: #000;
  --border-gray: #707070;
  --bp-md: 900px;
  --problems-spot-max-vh-mobile: 95;
  --problems-spot-max-vh-desktop: 90;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.heading-marker {
  position: relative;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  font-size: 1.75rem;
  padding: 0;
  margin-bottom: 16px;
  z-index: 0;
  isolation: isolate;
  padding: 0 5px;
}

.heading-marker::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15em;
  height: 0.6em;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  opacity: 0.35;
  z-index: -1;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.8;
}
@media (min-width: 900px) {
  body {
    background: var(--soft-gray);
  }
}
body .form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eb5505;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: normal;
}

body.is-login-success-modal-open {
  overflow: hidden;
}

.guest-banner {
  padding: 8px 16px;
  text-align: center;
  color: #ffffff;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
}

.guest-banner--anonymous-age {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-banner__button {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 4px 12px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.guest-banner__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.login-success-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 70;
}
@media (min-width: 900px) {
  .login-success-modal {
    padding: 24px;
  }
}

.login-success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-success-modal__backdrop {
  position: absolute;
  inset: 0;
}

.login-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7e3de;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 900px) {
  .login-success-modal__dialog {
    border-radius: 20px;
    padding: 24px;
    gap: 16px;
  }
}

.login-success-modal__message {
  margin: 0;
  color: #4f4f4f;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .login-success-modal__message {
    font-size: 1.375rem;
  }
}

.login-success-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.login-success-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.login-success-modal__close:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.login-success-modal__close:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}

.text-link {
  color: var(--green-left);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  opacity: 0.8;
}

.guest-banner__link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

main {
  display: block;
  flex: 1;
}

.section {
  padding-bottom: 72px;
}

.section__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.section__heading h2 {
  margin: 0;
  font-size: 2rem;
  text-shadow: 0 3px 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff;
}

.section__subtitle {
  font-size: inherit;
  text-shadow: 0 3px 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff;
}

.section__heading--highlight {
  padding: 6px 0 12px;
}

.section__heading--highlight h1 {
  position: relative;
  display: inline-block;
}

.section__heading--highlight h1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/highlighter-pen.fb59c07d7b61.png") no-repeat left center;
  opacity: 0.2;
  z-index: -1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
}
@media (min-width: 900px) {
  .header {
    padding: 20px 20px;
  }
}

.logo img {
  width: 120px;
}
@media (min-width: 900px) {
  .logo img {
    width: 160px;
  }
}

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

.menu {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--soft-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}
@media (min-width: 900px) {
  .menu {
    width: 72px;
    height: 72px;
    font-size: 12px;
    background: #ffffff;
  }
}

.menu__lines {
  display: block;
  width: 28px;
  height: 14px;
  position: relative;
}

.menu__lines::before,
.menu__lines::after {
  content: "";
  background: #000;
  height: 4px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  right: 0;
}

.menu__lines::before {
  top: 0;
}

.menu__lines::after {
  bottom: 0;
}

.menu__text {
  line-height: 1;
  margin-top: 4px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: flex;
  justify-content: flex-end;
  z-index: 50;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-panel {
  background: #ffffff;
  width: calc(100% - 70px);
  height: 100%;
  padding: 24px;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
@media (min-width: 900px) {
  .menu-panel {
    width: 400px;
  }
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f1f1f1;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.menu-panel__inner {
  height: 100%;
  padding-top: 64px;
  box-sizing: border-box;
}

.menu-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.menu-actions form {
  margin: 0;
}

.menu-actions form .menu-action {
  width: 100%;
}

.menu-action {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 16px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid #e7e3de;
  font-size: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-action--outline {
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  color: #ffffff;
  border: none;
}

.menu-action:hover {
  transform: translateY(-1px);
}

.menu-nav {
  height: 100%;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  border-bottom: 1px solid #e7e3de;
  padding-bottom: 12px;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: inherit;
  color: var(--text);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.menu-link:hover {
  color: var(--tag-green);
}

.menu-link.menu-link--current {
  color: var(--tag-green);
  font-weight: 700;
}

.footer__curve {
  position: relative;
  padding: 124px 0 28px;
  overflow: hidden;
}

.footer__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer__mascots {
  display: flex;
  justify-content: center;
  position: relative;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px;
}
@media (min-width: 900px) {
  .footer__social {
    gap: 12px;
    margin: 0 auto 22px;
  }
}

.footer__social-link {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.2s ease;
}
@media (min-width: 900px) {
  .footer__social-link {
    width: 56px;
    height: 56px;
  }
}

.footer__social-link:hover {
  transform: translateY(-2px);
}

.footer__social-link:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}

.footer__social-link img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__mascots::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: 100%;
  min-width: 2200px;
  height: 1100px;
  background: var(--soft-gray);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
@media (min-width: 900px) {
  .footer__mascots::before {
    background: #ffffff;
  }
}

.footer__mascots img {
  width: 100%;
  min-width: 220px;
  margin-top: -100px;
}
@media (min-width: 900px) {
  .footer__mascots img {
    margin-top: -100px;
    width: 520px;
  }
}

.footer--with-social .footer__mascots img {
  margin-top: -4px;
}

.footer__copy {
  margin: 10px 0 0;
  font-size: 0.625rem;
}

body.is-menu-open {
  overflow: hidden;
}

.page-index {
  background: #ffffff;
}

.page-index .index-hero-wrap {
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
}

.page-index .header {
  background: transparent;
}

.page-index .menu {
  background: #f1f1f1;
}

.page-index .footer__mascots::before {
  background: var(--soft-gray);
}

.hero {
  background: transparent;
  padding: 24px 0 0;
  position: relative;
  overflow: hidden;
}

.hero__curve {
  position: relative;
  z-index: 0;
  padding: 120px 0 0;
}

.hero__curve::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 140px;
  width: 100%;
  min-width: 2200px;
  height: 1100px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  width: 100%;
}

.hero-card__frame {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.hero-card__frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.hero-card__title {
  margin: 10px 0 0;
  font-size: inherit;
  color: #ffffff;
}

.hero__intro {
  width: 100%;
  margin: 0 auto;
  padding: 40px 10px 72px;
  position: relative;
  z-index: 1;
}

.hero__mascots {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hero__mascots img {
  margin-top: -150px;
  width: 100%;
  max-width: 300px;
  height: auto;
}
@media (min-width: 900px) {
  .hero__mascots img {
    max-width: 400px;
  }
}

.hero__title {
  font-size: 2.125rem;
  margin: 0 0 16px;
  text-align: center;
  font-weight: 900;
}

.hero__text {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: inherit;
}

.hero__brain-age-teaser {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  display: block;
}
@media (min-width: 900px) {
  .hero__brain-age-teaser {
    padding: 28px 32px;
  }
}

.hero__brain-age-teaser--hero {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.hero__brain-age-copy {
  text-align: center;
}

.hero__brain-age-copy-lead {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__brain-age-copy-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero__brain-age-copy-text {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: inherit;
  text-align: center;
}

.hero__brain-age-display {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brain-age-sample {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5e5;
  color: #4a713f;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__brain-age-meter {
  --hero-age-digit-height: 6.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding-bottom: 10px;
}
@media (min-width: 900px) {
  .hero__brain-age-meter {
    --hero-age-digit-height: 8.2rem;
  }
}

.hero__brain-age-reels {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__brain-age-reel {
  position: relative;
  width: 72px;
  height: var(--hero-age-digit-height);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 100%), linear-gradient(180deg, #deecd0 0%, #f9fcf7 100%);
  box-shadow: inset 0 0 0 1px rgba(127, 174, 99, 0.16), inset 0 18px 30px rgba(255, 255, 255, 0.72), inset 0 -18px 30px rgba(137, 162, 115, 0.08);
}
@media (min-width: 900px) {
  .hero__brain-age-reel {
    width: 86px;
  }
}

.hero__brain-age-reel::before,
.hero__brain-age-reel::after {
  content: "";
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 22%;
  pointer-events: none;
}

.hero__brain-age-reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(239, 246, 232, 0.95) 0%, rgba(239, 246, 232, 0) 100%);
}

.hero__brain-age-reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(239, 246, 232, 0.95) 0%, rgba(239, 246, 232, 0) 100%);
}

.hero__brain-age-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 0, 0);
  transition: transform 1s cubic-bezier(0.2, 0.9, 0.1, 1), filter 0.25s ease;
  will-change: transform;
}

.hero__brain-age-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--hero-age-digit-height);
  color: #2e4328;
  font-size: clamp(3.8rem, 10vw, 6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero__brain-age-unit {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.hero__stats {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--soft-gray);
  border-radius: 18px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__stat {
  text-align: center;
  flex: 1;
}

.hero__stat-label {
  font-size: inherit;
  display: block;
  line-height: 1.1;
  font-weight: bold;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
@media (min-width: 900px) {
  .hero__stat-value {
    font-size: 3rem;
  }
}

.hero__divider {
  width: 1px;
  height: 80px;
  background: var(--border-gray);
}

.section-footprints .index__container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.section-footprints {
  background-image: url("../image/cat-footprints-right.5d4b784409ea.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 800px;
}
@media (min-width: 900px) {
  .section-footprints {
    background-size: auto 1200px;
  }
}

.points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  --point-shadow-offset: 12px;
}
@media (min-width: 900px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.point {
  margin-top: 50px;
  position: relative;
  display: flex;
}

.point::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(var(--point-shadow-offset), var(--point-shadow-offset));
  background-color: #ffffff;
  background-image: radial-gradient(circle, rgba(67, 177, 114, 0.35) 0 2px, transparent 2px);
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
}

.point__body {
  background: var(--soft-gray);
  border-radius: 24px;
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
}

.point__image img {
  height: 243px;
  width: auto;
  margin: -100px auto 16px;
}

.point__title {
  margin: 0 0 12px;
  font-size: 1.625rem;
}

.point__text {
  margin: 0;
  font-size: inherit;
  text-align: left;
}

.notice-list {
  display: grid;
  gap: 16px;
}

.notice {
  background: var(--soft-gray);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 16px;
  gap: 8px;
}
@media (min-width: 900px) {
  .notice {
    grid-template-columns: 170px 1fr;
    gap: 16px;
    padding: 18px 24px;
  }
}

.notice--link {
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.notice--link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.notice--link:hover {
  color: #ffffff;
}

.notice--link:hover::after {
  transform: scale(1, 1);
}

.notice--link:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}

.notice--link:focus-visible {
  color: #ffffff;
}

.notice--link:focus-visible::after {
  transform: scale(1, 1);
}

.notice__date {
  font-size: 0.75rem;
}

.notice__text {
  font-size: inherit;
}

.notice__cta {
  margin-top: 24px;
  text-align: center;
}

.notice__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%), linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: color 0.2s ease, background-image 0.2s ease;
}

.notice__cta-button:hover {
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
}

.notice__cta-button:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.filters--category {
  margin-top: 12px;
}

.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-gray);
  border: 1px solid #e7e3de;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.875rem;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter.is-active {
  background: var(--tag-green);
  color: #ffffff;
  border-color: transparent;
}

.filter:not(.is-active):hover {
  background: var(--tag-green);
  color: #ffffff;
  border-color: transparent;
}

.filter.is-active:hover {
  background: var(--soft-gray);
  color: var(--text);
  border-color: #e7e3de;
}

.filters__summary {
  margin: 12px 0 0;
  font-size: 0.75rem;
}

.filters__summary--empty {
  margin-top: 16px;
}

.game-legend-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
@media (min-width: 900px) {
  .game-legend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }
}
@media (min-width: 1200px) {
  .game-legend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.game-card__category {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #4f5d57;
}

.game-legend {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
}

.game-legend__pill {
  padding: 6px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.625rem;
  line-height: 120%;
}

.game-legend__pill--green {
  background: #57a676;
}

.game-legend__pill--lime {
  background: #93c61f;
}

.game-legend__pill--speed {
  background: #ffffff;
  color: #57a676;
  border: 1px solid #57a676;
}

.game-legend__pill--stepup {
  background: #ffffff;
  color: #93c61f;
  border: 1px solid #93c61f;
}

.game-legend__text {
  font-size: 0.625rem;
}
@media (min-width: 900px) {
  .game-legend__text {
    white-space: nowrap;
  }
}

.game-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 900px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background: var(--soft-gray);
  border-radius: 16px;
  padding: 16px;
}
.game-card.is-filter-hidden {
  display: none !important;
}

.game-card--link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.game-card--link::before,
.game-card--link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  padding: 3px;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: clip-path 0.3s ease, opacity 0.3s ease;
}

.game-card--link::before {
  clip-path: inset(0 100% 100% 0 round 16px);
  opacity: 0;
}

.game-card--link::after {
  clip-path: inset(100% 0 0 100% round 16px);
  opacity: 0;
}

.game-card--link:hover::before,
.game-card--link:hover::after {
  clip-path: inset(0 round 16px);
  opacity: 1;
}

.game-card--link:focus-visible::before,
.game-card--link:focus-visible::after {
  clip-path: inset(0 round 16px);
  opacity: 1;
}

.game-card--link > * {
  position: relative;
  z-index: 1;
}

.game-card__pills {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 16px);
}

.game-card__pill {
  font-size: 0.625rem;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 120%;
}

.game-card__pill--green {
  background: #57a676;
}

.game-card__pill--lime {
  background: #93c61f;
}

.game-card__pill--speed {
  background: #ffffff;
  color: #57a676;
  border: 1px solid #57a676;
}

.game-card__pill--stepup {
  background: #ffffff;
  color: #93c61f;
  border: 1px solid #93c61f;
}

.game-card__image {
  height: 180px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.game-card__title {
  margin: 12px 0;
}

.faq-notice-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.faq-notice {
  background: var(--soft-gray);
  border-radius: 20px;
  padding: 16px;
}
@media (min-width: 900px) {
  .faq-notice {
    padding: 18px 24px;
  }
}

.faq-notice--link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.faq-notice--link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.faq-notice--link:hover {
  color: #ffffff;
}

.faq-notice--link:hover::after {
  transform: scale(1, 1);
}

.faq-notice--link:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}

.faq-notice--link:focus-visible {
  color: #ffffff;
}

.faq-notice--link:focus-visible::after {
  transform: scale(1, 1);
}

.faq-notice__text {
  margin: 0;
  font-size: inherit;
}

.faq__cta {
  margin-top: 24px;
  text-align: center;
}

.faq__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%), linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: color 0.2s ease, background-image 0.2s ease;
}

.faq__cta-button:hover {
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, var(--green-left) 0%, var(--green-right) 100%);
}

.faq__cta-button:focus-visible {
  outline: 2px solid #7fae63;
  outline-offset: 2px;
}