:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #f1eadf;
  --ink: #211d18;
  --muted: #70685f;
  --line: #e3d9cc;
  --brand: #275244;
  --brand-2: #173b32;
  --gold: #b88a42;
  --gold-soft: #efe2c8;
  --danger: #a33d36;
  --success: #2f7356;
  --warning: #996b1f;
  --shadow: 0 18px 55px rgba(54, 43, 31, 0.1);
  --shadow-strong: 0 30px 90px rgba(31, 26, 19, 0.22);
  --radius: 8px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(227, 217, 204, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(100%, var(--max));
  min-height: 68px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  flex: 0 0 auto;
  width: auto;
  height: 46px;
  gap: 8px;
  overflow: visible;
}

.brand-logo-icon {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  overflow: visible;
  border-radius: 50%;
  background: #fff;
}

.site-header .brand-logo-icon img {
  position: static;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center;
}

.brand-logo-text {
  display: inline-flex;
  align-items: baseline;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-logo-text span:first-child {
  color: #4b4b55;
}

.brand-logo-text span:last-child {
  color: #89b85b;
}

.site-header .brand-logo > img {
  width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
  object-fit: contain;
  object-position: left center;
}

.admin-title-line,
.admin-sub-line {
  white-space: nowrap;
}

.login-title {
  white-space: nowrap;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.reset-details summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
}

.reset-details .inline-form {
  margin-top: 14px;
}

.admin-title-line {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff8ec;
  font-size: 13px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-2);
  background: var(--surface-2);
}

.nav-link.primary {
  color: #fffaf0;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  font-size: 20px;
}

.section {
  padding: 68px 20px;
}

.section.tight {
  padding: 38px 20px;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100%, 820px);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 92px 20px;
  overflow: hidden;
  color: #fff9ef;
  background:
    linear-gradient(120deg, rgba(23, 59, 50, 0.93), rgba(39, 82, 68, 0.82)),
    url("../img/groups/yoiyoi-team.jpg") center/cover;
}

.hero.home-hero {
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 35, 30, 0.94) 0%, rgba(23, 59, 50, 0.82) 48%, rgba(23, 59, 50, 0.28) 100%),
    url("../img/concept/community-connection-hero.png") center/cover;
}

.hero.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(247, 244, 238, 0), var(--bg));
  pointer-events: none;
}

.hero.member-hero {
  min-height: auto;
  background:
    linear-gradient(120deg, rgba(23, 59, 50, 0.92), rgba(65, 57, 43, 0.78)),
    url("../img/groups/satta-nixons-team.jpg") center/cover;
}

.hero.concept-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 35, 30, 0.92) 0%, rgba(24, 49, 42, 0.74) 42%, rgba(24, 49, 42, 0.18) 100%),
    url("../img/concept/community-connection-hero.png") center/cover;
}

.hero.concept-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(247, 244, 238, 0), var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
}

.hero-kicker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 620px);
  margin-top: 30px;
}

.hero-kicker {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid rgba(255, 249, 239, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(12px);
}

.hero-kicker strong {
  display: block;
  color: var(--gold-soft);
  font-size: 18px;
}

.hero-kicker span {
  display: block;
  flex: 1 1 auto;
}

.hero-kicker-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-top: 12px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section:not(.hero),
.card,
.concept-panel,
.concept-cta,
.benefit-card,
.job-card {
  animation: soft-rise 0.7s ease both;
}

.card,
.button,
.nav-link,
.benefit-card,
.job-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.card:hover,
.benefit-card:hover,
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

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

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

h1,
h2,
h3 {
  line-height: 1.22;
  margin: 0;
  text-shadow: 0 3px 14px rgba(23, 59, 50, 0.14);
}

h1 {
  font-size: clamp(36px, 7vw, 72px);
  letter-spacing: 0;
}

.special-treatment {
  display: inline-block;
  padding: 0 0.12em 0.08em;
  color: #ffe4a8;
  text-shadow:
    0 3px 0 rgba(184, 138, 66, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, transparent 58%, rgba(184, 138, 66, 0.62) 58%);
}

.special-treatment.small {
  margin-left: 0.16em;
  padding-bottom: 0.04em;
  color: #fff0c4;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

.legal-title {
  font-size: clamp(26px, 3vw, 36px);
}

p {
  margin: 0;
}

.lead {
  margin-top: 20px;
  color: rgba(255, 249, 239, 0.86);
  font-size: clamp(17px, 2.4vw, 21px);
  max-width: 720px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-marquee {
  position: relative;
  width: min(100%, 740px);
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(235, 185, 92, 0.78);
  border-radius: 22px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 249, 239, 0.24) inset,
    0 18px 46px rgba(0, 0, 0, 0.2),
    0 0 34px rgba(235, 185, 92, 0.18);
}

.hero-marquee::before,
.hero-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 72px;
  pointer-events: none;
}

.hero-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(23, 59, 50, 0.9), transparent);
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(23, 59, 50, 0.9), transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 14px 0;
  animation: marquee-slide 28s linear infinite;
}

.hero-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #173b32;
  background: rgba(255, 249, 239, 0.9);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.logo-marquee {
  width: min(100%, 740px);
}

.marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
}

.hero-marquee .marquee-logo {
  min-height: 94px;
  width: 172px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.marquee-logo img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fffaf0;
  background: var(--brand);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-2);
}

.button.secondary {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--line);
}

.button.ghost {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.button.danger {
  background: var(--danger);
}

.button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
}

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

.section-head p,
.muted {
  color: var(--muted);
}

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

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card.featured {
  color: #fff9ef;
  background: linear-gradient(140deg, var(--brand-2), #315d4d);
  border-color: rgba(255, 255, 255, 0.18);
}

.card.featured .muted,
.card.featured p {
  color: rgba(255, 249, 239, 0.8);
}

.card.flat {
  box-shadow: none;
}

.card h3 {
  margin-bottom: 8px;
}

.stat {
  display: grid;
  gap: 4px;
}

.stat strong {
  color: var(--brand);
  font-size: 32px;
  line-height: 1;
}

.community-count {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.count-unit {
  font-size: 20px;
  font-weight: 900;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.tag,
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface-2);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
}

.status.pending {
  color: var(--warning);
  background: #fff4da;
}

.status.approved,
.status.open {
  color: var(--success);
  background: #e7f4ed;
}

.status.suspended,
.status.closed {
  color: var(--danger);
  background: #f8e7e5;
}

.story-band {
  background: linear-gradient(135deg, var(--brand-2), #24483f);
  color: #fff9ef;
}

.story-band .muted {
  color: rgba(255, 249, 239, 0.72);
}

.story-band .card.flat {
  background: #fffaf0;
  color: var(--text);
  border-color: rgba(255, 249, 239, 0.32);
}

.story-band .card.flat .muted,
.story-band .card.flat p {
  color: #5f5a50;
}

.story-band .card.flat h3 {
  color: var(--brand);
}

.story-band .card.flat:nth-child(2) h3 {
  color: #b07a21;
}

.story-band .card.flat:nth-child(3) h3 {
  color: #2d6f93;
}

.concept-intro {
  margin-top: -84px;
  position: relative;
  z-index: 2;
}

.concept-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.concept-panel p + p {
  margin-top: 14px;
}

.concept-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
  background: var(--surface-2);
}

.concept-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.concept-visual-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 250px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff9ef;
  background: rgba(23, 59, 50, 0.78);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-item {
  padding: 18px;
  background: var(--surface);
}

.trust-item strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
  line-height: 1.1;
}

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

.difference-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.difference-card.bad {
  color: #3f3a32;
  background: #f6efe6;
}

.difference-card.good {
  color: #fff9ef;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(140deg, #13382f, var(--brand));
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.difference-card.bad .muted {
  color: #62594d;
}

.difference-card.good .muted {
  color: rgba(255, 249, 239, 0.86);
}

.concept-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.relation-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.relation-card strong {
  color: var(--brand);
  font-size: 28px;
}

.provider-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 240px));
  gap: 18px;
  align-items: center;
}

.provider-logo-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.provider-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px;
}

.team-logo.wide-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  background: #151822;
  padding: 0;
}

.community-logo-card {
  align-content: start;
  min-height: 220px;
}

.community-logo-card .team-logo {
  margin-bottom: 10px;
}

.team-logo.text-logo {
  display: grid;
  place-items: center;
  color: #fff9ef;
  background: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.accent-text {
  color: var(--gold);
}

.coupon-warning .pill {
  color: #fff9ef;
  background: #b14d38;
}

.values-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
}

.value-card {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.value-card.large {
  grid-row: span 2;
  color: #fff9ef;
  background: linear-gradient(145deg, var(--brand-2), #49614e);
}

.value-card:not(.large) {
  color: #fff9ef;
  border-color: rgba(255, 255, 255, 0.12);
}

.value-card:not(.large) .muted {
  color: rgba(255, 249, 239, 0.78);
}

.value-card:nth-child(2) {
  background: linear-gradient(145deg, #315f52, #638567);
}

.value-card:nth-child(3) {
  background: linear-gradient(145deg, #8c6a32, #c59a48);
}

.value-card:nth-child(4) {
  background: linear-gradient(145deg, #37546d, #5f7f8f);
}

.value-card:nth-child(5) {
  background: linear-gradient(145deg, #6f493d, #a76f55);
}

.value-card.large .muted {
  color: rgba(255, 249, 239, 0.74);
}

.value-card.large h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.18;
  white-space: nowrap;
}

.value-lead {
  margin: 14px 0 0;
  color: rgba(255, 249, 239, 0.84);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  font-weight: 700;
}

.value-card .number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: timeline;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-item::before {
  counter-increment: timeline;
  content: "0" counter(timeline);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.quote-band {
  padding: 54px;
  color: #fff9ef;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(23, 59, 50, 0.94), rgba(39, 82, 68, 0.72)),
    url("../img/concept/community-connection-hero.png") center/cover;
  box-shadow: var(--shadow-strong);
}

.quote-band blockquote {
  margin: 0;
  max-width: 760px;
  font-size: clamp(19px, 2.75vw, 30px);
  line-height: 1.55;
  font-weight: 900;
}

.concept-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  border: 1px solid #ddc99f;
}

.concept-cta .eyebrow,
.section .eyebrow {
  color: var(--brand);
}

.hero .eyebrow,
.story-band .eyebrow {
  color: var(--gold-soft);
}

.home-benefits-section {
  position: relative;
  z-index: 2;
  margin-top: -38px;
}

.home-benefit-showcase {
  max-height: 980px;
  overflow: auto;
  padding-right: 4px;
}

.cta-single-line {
  white-space: nowrap;
  font-size: clamp(22px, 3vw, 34px);
}

.cta-three-line {
  white-space: normal;
  line-height: 1.34;
}

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

.cta-highlight {
  display: inline;
  margin: 0 0.12em;
  color: var(--brand);
  padding: 0 0.03em;
  border-radius: 999px;
  background: linear-gradient(transparent 58%, rgba(235, 185, 92, 0.45) 58%);
}

.cta-signature {
  margin-top: 0.45em;
  color: rgba(39, 82, 68, 0.78);
  font-size: 0.58em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: right;
}

.compact-cta {
  padding: 18px 22px;
}

.compact-cta h2 {
  font-size: clamp(24px, 3.3vw, 36px);
}

.home-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.home-feature-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.home-feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-list-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-list-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff9ef;
  background: var(--brand);
  font-weight: 900;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 78px 22px 24px;
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--brand);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  transform: translateX(-50%);
}

.steps .card.step-card {
  padding: 78px 22px 24px !important;
  text-align: center;
}

.steps .card.step-card::before {
  top: 22px !important;
  left: 50% !important;
  width: 42px !important;
  height: 42px !important;
  transform: translateX(-50%) !important;
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.progress-step {
  padding: 12px 8px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.progress-step.active {
  color: #fffaf0;
  background: var(--brand);
}

.form-step {
  display: none;
  padding: 24px;
}

.form-step.active {
  display: block;
}

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

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.label {
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fffefa;
  color: var(--ink);
}

textarea {
  min-height: 98px;
  resize: vertical;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.check,
.radio {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
}

.check input,
.radio input {
  width: auto;
  min-height: auto;
}

.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff8e8;
  color: #4c3920;
}

.notice.secure {
  border-left-color: var(--brand);
  background: #eef6f1;
}

.notice.success {
  border-left-color: var(--brand);
  background: #eef6f1;
  color: var(--brand-2);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.benefit-card,
.job-card {
  display: grid;
  gap: 14px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin-top: 7px;
}

.mini-list .button {
  width: fit-content;
}

.locked {
  filter: blur(3px);
  user-select: none;
}

.member-card {
  color: #fff9ef;
  background:
    linear-gradient(135deg, rgba(39, 82, 68, 0.98), rgba(23, 59, 50, 0.92)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.12), transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.member-card .member-no {
  color: var(--gold-soft);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-card .name {
  margin: 18px 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  color: var(--brand-2);
  background: var(--surface-2);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  color: #fffaf0;
  background: var(--brand);
  border-color: var(--brand);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface-2) 78%, #ffffff);
}

.bulk-actions label:not(.check) {
  display: grid;
  gap: 4px;
  min-width: 132px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.bulk-actions select,
.bulk-actions input {
  min-height: 38px;
}

.check.compact {
  width: fit-content;
  padding: 9px 12px;
}

.provider-title {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.coupon-code {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff7db;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: .04em;
}

.approval-request,
.approval-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.approval-request {
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.approval-request-with-preview {
  align-items: flex-start;
}

.admin-benefit-preview {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.admin-preview-banner {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f3efe7;
}

.admin-edit-details {
  margin-top: 8px;
  min-width: 260px;
}

.admin-edit-details summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
}

.admin-edit-form {
  margin-top: 8px;
}

.listing-control {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.listing-control label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
}

.team-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface-2), #fff8e8);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mako-photo {
  object-position: center 72%;
}

.taka-photo {
  object-position: center 38%;
}

.team-photo-rotated {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: rotate(360deg) scale(1.24);
}

.kaju-frame {
  background: #d9c4aa;
}

.photo-placeholder {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8dccb, #fff7e5);
  color: var(--brand);
  font-size: 40px;
  font-weight: 900;
}

.team-card {
  text-align: center;
}

.team-name {
  margin-top: 18px;
}

.team-profile {
  min-height: 84px;
}

.footer {
  padding: 36px 20px;
  color: rgba(255, 249, 239, 0.78);
  background: var(--brand-2);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #fff9ef;
  text-decoration: none;
  font-weight: 800;
}

.footer-brand {
  color: #fff9ef;
  text-decoration: none;
}

.footer-brand .brand-logo-icon {
  background: #fff;
}

.footer-brand .brand-logo-text span:first-child {
  color: #fff9ef;
}

.footer-brand .brand-logo-text span:last-child {
  color: #9fc96d;
}

.footer-links {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(21, 17, 12, 0.64);
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  width: min(100%, 720px);
  max-height: min(760px, 90vh);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-body {
  padding: 20px;
}

.close-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.list {
  display: grid;
  gap: 12px;
}

.kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.kv:last-child {
  border-bottom: 0;
}

.kv strong {
  color: var(--brand-2);
}

.hidden {
  display: none !important;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-bottom-nav {
  display: none;
}

.line {
  display: block;
}

.quote-mobile,
.quote-mobile-line {
  display: none;
}

.quote-emphasis {
  color: var(--gold);
  text-shadow: 0 2px 16px rgba(235, 185, 92, 0.26);
}

.section-title-nowrap {
  white-space: nowrap;
}

.pc-nowrap-title {
  white-space: nowrap;
  font-size: clamp(34px, 4.2vw, 56px);
}

.single-line-title {
  white-space: nowrap;
  font-size: clamp(31px, 6vw, 72px);
}

.logout-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--surface);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.benefit-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card.premium {
  padding: 0;
  overflow: hidden;
}

.benefit-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 0;
  font-weight: 900;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.benefit-banner {
  width: calc(100% - 32px);
  height: auto;
  margin: 12px 16px 0;
  object-fit: contain;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-2), var(--gold-soft));
}

.benefit-card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.benefit-card.premium h3 {
  font-size: 18px;
}

.ticket-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d9c499;
  border-radius: var(--radius);
  background: #fff7e5;
}

.ticket-box .button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.ticket-used-button,
.ticket-used-button:disabled {
  border-color: #b8b8b8;
  background: #d9d9d9;
  color: #555;
  box-shadow: none;
}

.ticket-modal {
  max-width: 640px;
  width: min(92vw, 640px);
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ticket-modal-inner {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 0;
  padding: clamp(42px, 6vw, 64px) clamp(24px, 7vw, 58px);
  text-align: center;
  place-items: center;
  overflow: hidden;
  border: 2px solid #d7b56a;
  border-radius: 28px;
  background:
    radial-gradient(circle at left center, transparent 0 24px, #fffaf0 25px),
    radial-gradient(circle at right center, transparent 0 24px, #fffaf0 25px),
    linear-gradient(135deg, #fffaf0, #fff3d8);
  box-shadow: 0 28px 80px rgba(18, 63, 49, 0.28);
}

.ticket-modal-inner::before,
.ticket-modal-inner::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 1px;
  border-left: 2px dashed rgba(215, 181, 106, 0.75);
}

.ticket-modal-inner::before {
  left: 38px;
}

.ticket-modal-inner::after {
  right: 38px;
}

.ticket-modal .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: none;
}

.ticket-modal h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
}

.ticket-store {
  margin: 0;
  color: var(--brand);
  font-weight: 900;
}

.ticket-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 63, 49, 0.18);
  color: var(--brand);
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(18, 63, 49, 0.15);
  backdrop-filter: blur(4px);
}

.form-card {
  display: grid;
  gap: 14px;
}

.inline-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

@media (max-width: 860px) {
  body {
    padding-bottom: 82px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(215, 181, 106, 0.7);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 16px 44px rgba(18, 63, 49, 0.22);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 54px;
    border-radius: 13px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    background: #f7f1e4;
  }

  .bottom-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    line-height: 1;
  }

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .brand-logo {
    height: 40px;
    gap: 7px;
  }

  .brand-logo-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .site-header .brand-logo-icon img {
    width: 100% !important;
    height: 100% !important;
  }

  .brand-logo-text {
    font-size: 19px;
  }

  .nav-links {
    position: fixed;
    inset: 68px 16px auto auto;
    width: max-content;
    min-width: 0;
    max-width: calc(100vw - 32px);
    display: none;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
    justify-items: center;
    align-items: center;
  }

  .nav-link {
    width: fit-content;
    min-width: 0;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    justify-self: center;
    background: transparent;
  }

  .nav-link.primary {
    color: #fffaf0;
    background: var(--brand);
  }

  .logout-button {
    justify-self: center;
  }

  .hero {
    min-height: 560px;
    padding: 70px 20px;
  }

  .hero.concept-hero {
    min-height: 640px;
    background:
      linear-gradient(180deg, rgba(15, 35, 30, 0.94) 0%, rgba(24, 49, 42, 0.72) 58%, rgba(24, 49, 42, 0.2) 100%),
      url("../img/concept/community-connection-hero.png") center/cover;
  }

  .hero.home-hero {
    background:
      linear-gradient(180deg, rgba(15, 35, 30, 0.94) 0%, rgba(23, 59, 50, 0.78) 58%, rgba(23, 59, 50, 0.26) 100%),
      url("../img/concept/community-connection-hero.png") 74% center/cover;
  }

  .hero-kicker-grid,
  .concept-panel,
  .trust-strip,
  .difference-grid,
  .concept-map,
  .provider-logo-grid,
  .values-mosaic,
  .concept-cta,
  .home-feature {
    grid-template-columns: 1fr;
  }

  .provider-logo-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-kicker-image {
    max-height: 220px;
  }

  .concept-map .relation-card,
  .community-logo-card {
    justify-items: center;
    text-align: center;
  }

  .relation-card h3,
  .community-logo-card h3 {
    font-size: 24px;
  }

  .community-logo-card .muted,
  .relation-card .muted {
    font-size: 15px;
  }

  .community-count {
    justify-content: center;
  }

  .team-logo,
  .team-logo.wide-logo {
    width: 84px;
    height: 84px;
  }

  .step-card {
    padding: 78px 18px 20px;
    text-align: center;
  }

  .step-card::before {
    top: 20px;
    left: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    transform: translateX(-50%);
  }

  .step-card h3 {
    margin-top: 0;
  }

  .cta-main-line span {
    display: block;
  }

  .mobile-heading-line {
    display: block;
  }

  .pc-nowrap-title {
    white-space: normal;
  }

  .quote-desktop,
  .quote-desktop-line {
    display: none;
  }

  .quote-mobile,
  .quote-mobile-line {
    display: block;
  }

  .quote-band blockquote {
    font-size: clamp(20px, 5.4vw, 28px);
    line-height: 1.55;
  }

  .value-card.large h3 {
    white-space: normal;
    font-size: clamp(30px, 8vw, 38px);
  }

  .concept-intro {
    margin-top: -46px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .quote-band {
    padding: 28px;
    background-size: auto, 155%;
    background-position: center, center;
  }

  .section-head {
    display: grid;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .field-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

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

  .benefit-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefit-provider {
    padding: 12px 14px 0;
  }

  .benefit-banner {
    width: calc(100% - 28px);
    margin: 10px 14px 0;
  }

  .benefit-card-body {
    gap: 10px;
    padding: 14px;
  }

  .form-progress {
    grid-template-columns: 1fr;
  }

  .progress-step {
    display: none;
  }

  .progress-step.active {
    display: block;
  }

  .footer .wrap {
    display: grid;
  }

  .cta-single-line {
    white-space: normal;
  }

  .cta-three-line .cta-signature {
    display: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 48px 16px;
  }

  .hero-marquee {
    width: 100%;
    border-radius: 18px;
  }

  .hero-marquee::before,
  .hero-marquee::after {
    width: 38px;
  }

  .hero-marquee-track {
    padding: 12px 0;
    animation-duration: 22s;
  }

  .marquee-set {
    gap: 24px;
    padding-right: 24px;
  }

  .hero-marquee .marquee-logo {
    width: 136px;
    min-height: 78px;
  }

  .marquee-logo img {
    height: 76px;
  }

  .ticket-modal-inner {
    padding: 46px 24px 34px;
    border-radius: 22px;
  }

  .ticket-close {
    top: 10px;
    right: 10px;
  }

  .ticket-modal-inner::before {
    left: 20px;
  }

  .ticket-modal-inner::after {
    right: 20px;
  }

  .hero-actions,
  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card {
    padding: 18px;
  }

  .benefit-card.premium h3 {
    font-size: 17px;
  }

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