:root {
  --bg: #f5f3ee;
  --ink: #1f2328;
  --muted: #5b6770;
  --accent: #0e6b7f;
  --accent-2: #c96c39;
  --surface: #ffffff;
  --surface-2: #f0ebe3;
  --shadow: 0 18px 40px rgba(13, 20, 27, 0.12);
  --radius-lg: 24px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 20%, #fff7e8 0%, transparent 55%),
    radial-gradient(circle at 90% 0%, #e7f2f4 0%, transparent 40%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

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

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 35, 40, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.nav-cta:hover {
  background: #0c5a6b;
  color: #fff;
}

.hero {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(15, 70, 77, 0.65), rgba(201, 108, 57, 0.25)),
    url("/public-static/image/RPDC.jpeg") center 70% / cover no-repeat;
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 70px 60px 140px;
  min-height: 700px;
  box-shadow: var(--shadow);
  position: relative;
}

@supports (clip-path: polygon(0 0)) {
  .hero {
    border-radius: var(--radius-lg);
    clip-path: inset(0 round var(--radius-lg));
  }
}

.hero h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  margin: 0 0 16px;
}

.hero p {
  max-width: 520px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  position: absolute;
  top: 24px;
  right: 24px;
  justify-content: flex-end;
}

.login-box {
  width: min(420px, 90vw);
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(20, 24, 28, 0.12);
  color: #1f2328;
  backdrop-filter: blur(6px);
}

.login-box .wrap {
  border: none;
  padding: 0;
}

.login-box .pc-login-widget {
  font-size: 0.95rem;
}

.login-box .pc-login-widget input {
  width: 100%;
}

.login-box .pc-login-widget label {
  font-weight: 600;
}

.btn {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: #fff;
  color: #0b3b44;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  margin: 0;
}


.muted {
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(20, 24, 28, 0.08);
  border: 1px solid rgba(31, 35, 40, 0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(31, 35, 40, 0.12);
  background: #fff;
  color: var(--accent);
}

.badge svg {
  width: 16px;
  height: 16px;
}

.badge img {
  width: 16px;
  height: 16px;
  display: block;
}

.badge-new {
  background: #fff4e6;
  color: #b34a1f;
  border-color: rgba(179, 74, 31, 0.25);
}

.badge-new.badge-icon {
  background: transparent;
  border: none;
  padding: 0;
}

.badge-new.badge-icon svg {
  width: 110px;
  height: 34px;
}

.badge-new.badge-icon {
  animation: badge-blink 1.4s ease-in-out infinite;
}

@keyframes badge-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.badge-lock {
  background: #eef6f7;
  color: #0e6b7f;
  border-color: rgba(14, 107, 127, 0.25);
}

.badge-icon {
  padding: 0;
  border: none;
  background: transparent;
}

.badge-icon img,
.badge-icon svg {
  width: 24px;
  height: 24px;
}

.notice {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid rgba(31, 35, 40, 0.08);
}

.info-stack {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.info-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-left: 8px solid var(--accent);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
  display: grid;
  gap: 10px;
}

.info-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff1e6;
  box-shadow: inset 0 0 0 1px rgba(31, 35, 40, 0.1);
}

.info-icon svg {
  width: 26px;
  height: 26px;
}

.info-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7b4a2d;
}

.info-card__title {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card.info-heat {
  border-left-color: var(--accent-2);
  background: linear-gradient(120deg, #fff4e7, #ffffff 45%);
}

.info-card.info-cs {
  border-left-color: #1b6a7c;
  background: linear-gradient(120deg, #eaf5f7, #ffffff 48%);
}

.info-card.info-cs .info-icon {
  background: #e6f2f5;
}

@media (max-width: 720px) {
  .info-card__header {
    align-items: flex-start;
  }

  .info-kicker {
    letter-spacing: 0.1em;
  }
}

.ticker {
  overflow: hidden;
  background: #fff7ee;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: 999px;
  padding: 10px 0;
  margin-bottom: 24px;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-loop 15s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ticker-text {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f3a2a;
}

.ticker-icon svg {
  width: 20px;
  height: 20px;
}

.ticker-spacer {
  width: 40px;
}

@keyframes ticker-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.blink {
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.is-hidden {
  display: none;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-reset li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(31, 35, 40, 0.1);
}

.list-reset li:last-child {
  border-bottom: none;
}

.highlight {
  font-weight: 600;
  color: var(--accent-2);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq details {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 10px 24px rgba(20, 24, 28, 0.08);
  margin-bottom: 16px;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq summary::marker {
  color: var(--accent-2);
}

.footer {
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

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

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 48px 26px;
  }

  .hero-actions {
    position: static;
    margin-top: 24px;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
