/* =========================================================
   Charichare 2026 theme
   Bulmaはレイアウト補助として残し、見た目だけ上書きするCSS
   ========================================================= */

:root {
  --cc-navy: #0b2742;
  --cc-blue: #1479b8;
  --cc-sky: #eaf7ff;
  --cc-yellow: #ffd84d;
  --cc-orange: #ff9f1c;
  --cc-green: #24a36b;
  --cc-white: #ffffff;
  --cc-text: #17324a;
  --cc-muted: #63798c;
  --cc-shadow: 0 18px 48px rgba(11, 39, 66, 0.14);
  --cc-radius-lg: 28px;
  --cc-radius-md: 18px;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  color: var(--cc-text);
  background: #f6fbff !important;
  line-height: 1.75;
}

html[data-theme="light"],
:root {
  color-scheme: light;
}

html[data-theme="light"] body {
  color: var(--cc-text);
  background: #f6fbff !important;
}

html[data-theme="light"] .section,
html[data-theme="light"] .box,
html[data-theme="light"] .table,
html[data-theme="light"] .message-body {
  color: var(--cc-text);
}

body,
p,
td,
th,
input,
textarea,
select,
button {
  font-family: "UD Shin Go Conde90 M", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
}

a {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  opacity: 0.88;
}

/* ========================
   Navbar
   ======================== */

.cc-navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 39, 66, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(11, 39, 66, 0.06);
}

.cc-navbar .navbar-item {
  color: var(--cc-text);
  font-weight: 700;
}

.cc-navbar .navbar-item:hover {
  color: var(--cc-blue);
  background: transparent;
}

.cc-navbar__brand {
  color: var(--cc-navy) !important;
  font-size: 1.15rem;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
}

/* ========================
   Hero
   ======================== */

.cc-hero {
  position: relative;
  min-height: 86vh;
  margin-top: 52px;
  color: var(--cc-white);
  background:
    linear-gradient(110deg, rgba(6, 28, 50, 0.82), rgba(13, 89, 135, 0.58), rgba(255, 159, 28, 0.20)),
    url("../img/use_in_toppage/0004.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.cc-hero::before,
.cc-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.cc-hero::before {
  width: 360px;
  height: 360px;
  right: -100px;
  top: 90px;
  background: rgba(255, 216, 77, 0.28);
}

.cc-hero::after {
  width: 520px;
  height: 520px;
  right: 10%;
  bottom: -260px;
  background: rgba(36, 163, 107, 0.18);
}

.cc-hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
}

.cc-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cc-hero__label::before {
  content: "🚴";
  letter-spacing: 0;
}

.cc-hero__title {
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.26);
}

.cc-hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.22rem, 3vw, 2.08rem);
  font-weight: 900;
  line-height: 1.55;
}

.cc-hero__text {
  max-width: 680px;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.cc-pill-button {
  border-radius: 999px !important;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.cc-pill-button:hover {
  transform: translateY(-2px);
}

.cc-hero-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--cc-radius-lg);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.cc-hero-card__eyebrow {
  color: var(--cc-yellow);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cc-hero-card__main {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.35;
}

.cc-hero-card__sub {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

/* ========================
   Sections
   ======================== */

.cc-section {
  background: var(--cc-sky);
}

.cc-section--white {
  background: var(--cc-white);
}

.cc-section-heading {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.cc-section-heading__sub {
  color: var(--cc-blue);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cc-section-heading__title {
  margin-top: 0.3rem;
  color: var(--cc-navy);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.2;
}

.cc-section-heading__text {
  margin-top: 1rem;
  color: var(--cc-muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-simple-title {
  position: relative;
  margin-bottom: 1.6rem;
  padding-left: 1rem;
  color: var(--cc-navy);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 900;
  border-left: 8px solid var(--cc-orange);
}

.cc-simple-title .icon {
  margin-right: 0.35rem;
  color: var(--cc-orange);
}

/* ========================
   Cards
   ======================== */

.cc-feature-card,
.cc-info-card,
.cc-link-card {
  border: 0;
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow);
}

.cc-feature-card {
  height: 100%;
  padding: 2.2rem 1.7rem;
  background: var(--cc-white);
  text-align: center;
}

.cc-feature-card:hover,
.cc-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(11, 39, 66, 0.18);
}

.cc-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4ba, #e8f8ff);
  font-size: 2.25rem;
}

.cc-feature-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 1.3rem;
  overflow: hidden;
  border-radius: 22px;
  background: #eaf7ff;
  box-shadow: 0 14px 34px rgba(11, 39, 66, 0.12);
}

.cc-feature-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-feature-card h3 {
  color: var(--cc-navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.cc-feature-card p {
  margin-top: 0.8rem;
  color: var(--cc-muted);
  font-weight: 700;
}

.cc-info-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.2rem;
  background: var(--cc-white);
}

.cc-info-table {
  overflow: hidden;
  border-radius: var(--cc-radius-md);
}

.cc-info-table th {
  width: 9rem;
  color: var(--cc-navy);
  background: #eef8ff !important;
  font-weight: 900;
  vertical-align: middle;
}

.cc-info-table td {
  color: var(--cc-text);
  font-weight: 700;
  vertical-align: middle;
}

.cc-link-card {
  min-height: 9rem;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff, #eaf7ff);
  color: var(--cc-navy);
  font-weight: 900;
}

.cc-link-card p:first-child {
  color: var(--cc-blue);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.cc-link-card p:last-child {
  font-size: 1.45rem;
}

.cc-link-card--yellow {
  background: linear-gradient(135deg, #fff7c8, #ffffff);
}

.cc-link-card--yellow p:first-child {
  color: #d27800;
}


/* ========================
   Poster
   ======================== */

.cc-poster-card {
  display: block;
  height: 100%;
  padding: 1rem;
  border-radius: var(--cc-radius-lg);
  background: var(--cc-white);
  box-shadow: var(--cc-shadow);
  text-align: center;
}

.cc-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(11, 39, 66, 0.18);
}

.cc-poster-card img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border-radius: 20px;
  background: #f6fbff;
}

.cc-poster-card span {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--cc-blue);
  font-weight: 900;
}

/* ========================
   Staff CTA
   ======================== */

.cc-staff-entry {
  position: relative;
  overflow: hidden;
  color: var(--cc-white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 216, 77, 0.25), transparent 32%),
    linear-gradient(135deg, #0b2742, #1479b8);
}

.cc-staff-entry::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.cc-staff-entry .container {
  position: relative;
  z-index: 1;
}

.cc-staff-entry .cc-section-heading__sub {
  color: var(--cc-yellow);
}

.cc-staff-entry__text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-staff-entry__note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

/* ========================
   Existing commonHtml form support
   ======================== */

#regStaff,
#regChallenger,
#poster,
#photo,
#commonInformation,
#chariMap,
#challenger_list,
#staff_list {
  scroll-margin-top: 76px;
}

#regStaff h1,
#regChallenger h1,
#photo h1,
#commonInformation h1,
#chariMap h1,
#challenger_list h1,
#staff_list h1 {
  margin: 0 0 1.6rem 0 !important;
  padding: 0.85rem 1rem 0.85rem 1.2rem !important;
  color: var(--cc-navy) !important;
  background: linear-gradient(90deg, #fff0a8, #eaf7ff) !important;
  border-radius: var(--cc-radius-md) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

#regStaff h1 span,
#regChallenger h1 span,
#photo h1 span,
#commonInformation h1 span,
#chariMap h1 span,
#challenger_list h1 span,
#staff_list h1 span {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.2rem !important;
  height: 2.2rem !important;
  margin-right: 0.5rem;
  color: var(--cc-white) !important;
  background: var(--cc-orange) !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: none !important;
  line-height: 1 !important;
}

#regStaff .box,
#regChallenger .box,
#photo .box,
#commonInformation .box {
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow);
}

#regStaff input,
#regStaff select,
#regStaff textarea,
#regChallenger input,
#regChallenger select,
#regChallenger textarea,
#contact input,
#contact textarea {
  border-radius: 12px;
}

#regStaffNotice p,
#regChallengerNotice p {
  margin: 0.35rem 0;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  color: #8a2b00;
  background: #fff2e6;
  font-weight: 900;
}

/* ========================
   Hidden modal contents
   ======================== */

#hidden_area {
  display: none;
}

#hidden_area .message {
  border-radius: var(--cc-radius-md);
  overflow: hidden;
}

#hidden_area .message-header {
  background: var(--cc-navy);
}

.noticeFont {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--cc-navy);
  font-size: 1.15rem;
  font-weight: 900;
}


/* ========================
   Plain JS modal / photo list
   ======================== */

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.cc-modal.is-active {
  display: flex;
}

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 39, 66, 0.72);
}

.cc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(95vw, 900px);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--cc-radius-lg);
  background: var(--cc-white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.cc-modal__close {
  position: sticky;
  top: 0.7rem;
  float: right;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.7rem 0.7rem 0 0;
  border: 0;
  border-radius: 999px;
  color: var(--cc-white);
  background: var(--cc-navy);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cc-modal__body {
  padding: 1.4rem;
  color: var(--cc-text);
}

.cc-modal-open {
  overflow: hidden;
}

.cc-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cc-photo-list img {
  width: 100%;
  height: auto;
  border-radius: var(--cc-radius-md);
  box-shadow: var(--cc-shadow);
}

/* ========================
   Mobile
   ======================== */

@media screen and (max-width: 768px) {
  .cc-hero {
    min-height: 82vh;
    margin-top: 52px;
  }

  .cc-hero__overlay {
    min-height: 82vh;
    padding: 4.6rem 1rem 3.6rem;
  }

  .cc-hero__actions .button {
    width: 100%;
  }

  .cc-hero-card {
    margin-top: 2rem;
    padding: 1.4rem;
  }

  .cc-section-heading {
    margin-bottom: 2rem;
  }

  .cc-info-card {
    padding: 0.7rem;
  }

  .cc-info-table th,
  .cc-info-table td {
    display: block;
    width: 100%;
  }

  .cc-info-table th {
    padding-bottom: 0.25rem;
  }

  .cc-info-table td {
    padding-top: 0.25rem;
  }

  .cc-link-card {
    min-height: 7.5rem;
  }

  .cc-poster-card {
    padding: 0.7rem;
  }

  .cc-poster-card img {
    max-height: none;
  }
}

/* ========================
   Vanilla JS image lightbox
   ======================== */

.cc-photo-list__item {
  display: block;
  overflow: hidden;
  border-radius: var(--cc-radius-md);
}

.cc-photo-list__image {
  cursor: zoom-in;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cc-photo-list__item:hover .cc-photo-list__image,
.cc-photo-list__image:hover {
  transform: scale(1.025);
  filter: brightness(1.04);
}

.cc-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 4.5rem;
}

.cc-image-lightbox.is-active {
  display: flex;
}

.cc-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 28, 0.88);
}

.cc-image-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.cc-image-lightbox__image {
  display: block;
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 9rem);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.cc-image-lightbox__caption {
  margin-top: 0.8rem;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-image-lightbox__close,
.cc-image-lightbox__nav {
  position: fixed;
  z-index: 2;
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.cc-image-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.cc-image-lightbox__nav {
  top: 50%;
  width: 3.4rem;
  height: 4.5rem;
  border-radius: 999px;
  font-size: 3rem;
  transform: translateY(-50%);
}

.cc-image-lightbox__nav--prev {
  left: 1rem;
}

.cc-image-lightbox__nav--next {
  right: 1rem;
}

@media screen and (max-width: 768px) {
  .cc-image-lightbox {
    padding: 3.8rem 0.8rem 2rem;
  }

  .cc-image-lightbox__image {
    max-height: calc(100vh - 8rem);
    border-radius: 12px;
  }

  .cc-image-lightbox__nav {
    width: 2.8rem;
    height: 3.8rem;
    font-size: 2.4rem;
  }

  .cc-image-lightbox__nav--prev {
    left: 0.35rem;
  }

  .cc-image-lightbox__nav--next {
    right: 0.35rem;
  }
}
/* ========================
   Prevent horizontal scroll
   ======================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

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

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.fixed-grid,
.grid {
  max-width: 100%;
}

/*
  Bulmaのcolumnsは左右に余白・負のマージンが出ることがあるため、
  スマホ時だけhero内では横はみ出しを抑える
*/
@media screen and (max-width: 768px) {
  .cc-hero {
    max-width: 100%;
    overflow: hidden;
  }

  .cc-hero::before,
  .cc-hero::after,
  .cc-staff-entry::after {
    display: none;
  }

  .cc-hero__overlay {
    max-width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow: visible;
  }

  .cc-hero .columns {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .cc-hero .column {
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .cc-hero__title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .cc-hero__lead,
  .cc-hero__text,
  .cc-hero__actions {
    max-width: 100%;
  }

  .cc-hero__actions .button {
    width: 100%;
  }

  .cc-poster-card {
    max-width: 100%;
  }
}
/* ========================
   2026 entry form design
   ======================== */

.cc-form-section {
  position: relative;
  overflow: hidden;
}

.cc-form-section::before {
  content: "";
  position: absolute;
  top: 5rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.18);
  pointer-events: none;
}

.cc-form-section::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: 3rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: rgba(20, 121, 184, 0.12);
  pointer-events: none;
}

.cc-form-section .container {
  position: relative;
  z-index: 1;
}

.cc-form-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid rgba(11, 39, 66, 0.08);
  border-radius: var(--cc-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cc-shadow);
}

.cc-form-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(11, 39, 66, 0.08);
}

.cc-form-card__eyebrow {
  color: var(--cc-orange);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cc-form-card__header h3 {
  margin-top: 0.2rem;
  color: var(--cc-navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
}

.cc-form-notice-button {
  flex: 0 0 auto;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 159, 28, 0.22);
}

.cc-entry-form .field {
  margin-bottom: 1.15rem;
}

.cc-entry-form .label {
  margin-bottom: 0.42rem;
  color: var(--cc-navy);
  font-weight: 900;
}

.cc-form-grid {
  display: grid;
  gap: 1rem;
}

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

.cc-input,
.cc-textarea,
.cc-select select {
  border: 2px solid rgba(20, 121, 184, 0.14) !important;
  border-radius: 16px !important;
  background: #f8fcff !important;
  color: var(--cc-text) !important;
  font-weight: 700;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cc-input,
.cc-select select {
  min-height: 3rem;
}

.cc-textarea {
  min-height: 9rem !important;
  resize: vertical;
}

.cc-input:focus,
.cc-textarea:focus,
.cc-select select:focus {
  border-color: var(--cc-blue) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(20, 121, 184, 0.12) !important;
}

.cc-select,
.cc-select select {
  width: 100%;
}

.cc-birthday-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 0.8rem;
}

.cc-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.cc-radio-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 2px solid rgba(20, 121, 184, 0.14);
  border-radius: 16px;
  background: #f8fcff;
  color: var(--cc-text);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cc-radio-card:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 121, 184, 0.34);
  background: #ffffff;
}

.cc-radio-card input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--cc-blue);
}

.cc-help {
  color: var(--cc-muted) !important;
  font-weight: 700;
}

.cc-form-notice {
  margin-bottom: 1rem;
}

.cc-form-actions {
  margin-top: 1.8rem;
  text-align: center;
}

.cc-submit-button {
  min-width: min(100%, 18rem);
}

#successReg {
  padding: 2rem;
  border-radius: var(--cc-radius-lg);
  background: linear-gradient(135deg, #ffffff, #eaf7ff);
  color: var(--cc-navy);
  box-shadow: var(--cc-shadow);
  font-weight: 800;
  text-align: center;
}

#successReg p:first-child {
  color: var(--cc-green);
  font-size: 1.45rem;
  font-weight: 900;
}

@media screen and (max-width: 768px) {
  .cc-form-card {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .cc-form-card__header {
    display: block;
  }

  .cc-form-notice-button {
    width: 100%;
    margin-top: 1rem;
  }

  .cc-form-grid--2,
  .cc-birthday-row,
  .cc-radio-group {
    grid-template-columns: 1fr;
  }

  .cc-submit-button {
    width: 100%;
  }
}
