/* Support page option A: formal annual-report layout. */
.page-hero {
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(255, 252, 245, 0.99) 0%,
      rgba(255, 252, 245, 0.95) 48%,
      rgba(255, 252, 245, 0.72) 72%,
      rgba(255, 252, 245, 0.9) 100%
    ),
    url("../../images/support/support-hero-ai.png") right center / 54% auto no-repeat;
  border-bottom: 1px solid rgba(202, 156, 72, 0.22);
}

.page-hero .container {
  min-height: 430px;
  display: grid;
  align-content: center;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  margin-bottom: 1rem;
  color: #7c5d42;
  font-weight: 700;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #8b1730;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, #8b1730, #c99636);
}

.page-hero .lead {
  max-width: 760px;
  color: #4f4038;
  font-size: 1.05rem;
  line-height: 1.95;
}

#main-content.section {
  padding: 3rem 0 5.2rem;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ea 54%, #fffdf8 100%);
}

.support-page {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
  color: #2c181a;
}

.support-page .content-block,
.support-page [id] {
  scroll-margin-top: 104px;
}

.support-page .content-block {
  padding: 1.55rem;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(202, 156, 72, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(80, 38, 18, 0.06);
}

.support-page .content-block:first-child {
  padding: 1.7rem 1.8rem 1.85rem;
}

.support-page .content-block h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  color: #8b1730;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  letter-spacing: 0;
  border-bottom: 1px solid rgba(202, 156, 72, 0.26);
}

.support-page .content-block h2::before {
  content: "";
  width: 7px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9b257, #8b1730);
}

.support-lead {
  max-width: none;
  margin: 0 0 1.45rem;
  color: #3f302b;
  font-size: 1rem;
  line-height: 1.78;
}

.support-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 1.35rem 0 0;
  border-top: 1px solid rgba(202, 156, 72, 0.28);
  border-bottom: 1px solid rgba(202, 156, 72, 0.28);
}

.support-nav a {
  min-height: 96px;
  padding: 0.95rem 0.85rem;
  color: #2c181a;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(202, 156, 72, 0.22);
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}

.support-nav a:last-child {
  border-right: 0;
}

.support-nav a:hover {
  background: rgba(255, 248, 236, 0.8);
}

.support-nav strong {
  display: block;
  color: #8b1730;
  font-size: 0.95rem;
  line-height: 1.25;
}

.support-nav span {
  display: block;
  margin-top: 0.2rem;
  color: #796159;
  font-size: 0.76rem;
  line-height: 1.45;
}

.support-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.support-visuals .case-card {
  margin: 0;
  overflow: hidden;
  background: #fff8ec;
  border: 1px solid rgba(202, 156, 72, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(58, 28, 14, 0.08);
}

.support-visuals .case-card:first-child {
  background-image: url("../../images/support/welfare-system.webp");
}

.support-visuals .case-card:nth-child(2) {
  background-image: url("../../images/support/reward-system.webp");
}

.support-visuals .case-card {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.support-visuals .case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.support-visuals .case-card figcaption {
  min-height: 54px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a2724;
  font-weight: 800;
  text-align: center;
  background: #fff9ee;
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 0;
}

.support-metric {
  min-height: 116px;
  padding: 1rem;
  background: #fffaf0;
  border: 1px solid rgba(202, 156, 72, 0.28);
  border-top: 3px solid #c99636;
  border-radius: 8px;
  box-shadow: none;
}

.support-metric strong {
  display: block;
  color: #c99636;
  font-family: var(--font-serif);
  font-size: 2.05rem;
  line-height: 1.05;
}

.support-metric span {
  display: block;
  margin-top: 0.32rem;
  color: #655049;
  font-size: 0.84rem;
  line-height: 1.45;
}

.support-grid,
.support-service-grid,
.support-grid-2,
.support-flow,
.support-number-list {
  display: grid;
}

.support-grid,
.support-service-grid {
  gap: 0.85rem;
  margin-top: 1rem;
}

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

.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

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

.support-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.support-panel,
.flow-step {
  background: #fffdf8;
  border: 1px solid rgba(202, 156, 72, 0.23);
  border-radius: 8px;
  box-shadow: none;
}

.support-panel {
  padding: 1rem;
}

.support-panel h3 {
  margin: 0 0 0.55rem;
  color: #8b1730;
  font-size: 1rem;
  letter-spacing: 0;
}

.support-panel p,
.support-panel li,
.support-note,
.support-table td,
.support-page .content-block > p {
  line-height: 1.78;
}

.support-panel p,
.support-panel li {
  font-size: 0.92rem;
}

.support-panel p:last-child,
.support-panel ul:last-child,
.support-panel ol:last-child {
  margin-bottom: 0;
}

.support-number-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.support-number-list li {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.95rem 0.85rem 3.1rem;
  background: #fffaf0;
  border: 1px solid rgba(202, 156, 72, 0.24);
  border-left: 3px solid #c99636;
  border-radius: 8px;
}

.support-number-list .num {
  position: absolute;
  left: 0.9rem;
  top: 0.85rem;
  color: #c99636;
  font-weight: 800;
  font-size: 0.85rem;
}

.support-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.flow-step {
  position: relative;
  min-height: auto;
  padding: 0.95rem;
}

.flow-step strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #8b1730;
}

.flow-step span {
  color: #796159;
  font-size: 0.86rem;
  line-height: 1.55;
}

.table-wrap {
  overflow: visible;
  border-radius: 8px;
}

.support-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffaf0;
}

.support-table th,
.support-table td {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(202, 156, 72, 0.24);
  vertical-align: top;
}

.support-table th {
  color: #8b1730;
  background: #f7ecd2;
}

.support-table td:first-child {
  width: 30%;
  color: #8b1730;
  font-weight: 700;
}

.support-note {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  color: #2c181a;
  background: linear-gradient(90deg, #fff3d9, #fffaf1);
  border-left: 3px solid #c99636;
  border-radius: 8px;
}

.support-page .gq-motion-item,
.page-hero .gq-motion-item {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 1080px) {
  .support-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    border: 0;
  }

  .support-nav a {
    border: 1px solid rgba(202, 156, 72, 0.22);
    border-radius: 8px;
  }

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

@media (max-width: 900px) {
  .support-page {
    width: min(100% - 32px, 1180px);
  }

  .support-grid-2,
  .support-number-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .page-hero {
    min-height: 420px;
    background-position: 65% center;
    background-size: auto 100%;
  }

  .page-hero .container {
    min-height: 420px;
  }

  .page-hero h1 {
    max-width: 9.6em;
    font-size: 2.05rem;
  }

  .page-hero .lead {
    max-width: 24em;
  }

  #main-content.section {
    padding-top: 1.8rem;
  }

  .support-page {
    width: min(100% - 24px, 1180px);
    gap: 1.1rem;
  }

  .support-page .content-block,
  .support-page .content-block:first-child {
    padding: 1rem;
  }

  .support-nav,
  .support-metrics,
  .support-visuals,
  .support-service-grid,
  .support-grid,
  .support-grid--three,
  .support-grid-2,
  .support-number-list,
  .support-flow {
    grid-template-columns: 1fr;
  }

  .support-nav a {
    min-height: auto;
  }

  .support-metric {
    min-height: auto;
  }

  .table-wrap {
    overflow: visible;
  }

  .support-table,
  .support-table thead,
  .support-table tbody,
  .support-table tr,
  .support-table td {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .support-table thead {
    display: none;
  }

  .support-table tr {
    margin-bottom: 0.72rem;
    padding: 0.82rem;
    background: rgba(255, 250, 240, 0.92);
    border: 1px solid rgba(202, 156, 72, 0.24);
    border-radius: 8px;
  }

  .support-table th,
  .support-table td {
    padding: 0;
    border: 0;
  }

  .support-table td:first-child {
    width: 100%;
  }

  .support-table td + td {
    margin-top: 0.52rem;
  }

  .support-table td::before {
    display: block;
    margin-bottom: 0.16rem;
    color: #c99636;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
  }

  #support-levels .support-table td:nth-child(1)::before {
    content: "\4F1A\5458\7C7B\578B";
  }

  #support-levels .support-table td:nth-child(2)::before {
    content: "\670D\52A1\5185\5BB9";
  }

  #support-levels .support-table td:nth-child(3)::before {
    content: "\98CE\9669\8FB9\754C";
  }

  #support-rewards .support-table td:nth-child(1)::before {
    content: "\7C7B\578B";
  }

  #support-rewards .support-table td:nth-child(2)::before {
    content: "\8BF4\660E";
  }
}

/* Remove shared hero decoration bands that read as horizontal ghosting. */
.page-hero > .particle-canvas,
.page-hero::before,
.page-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}
