@charset "utf-8";

/* CBT2026 ボランティア募集ページ専用スタイル */
.volunteer-page {
  --volunteer-deep-blue: #087fa6;
  --volunteer-pale-blue: #eaf8fc;
  --volunteer-content-width: 1100px;
  --volunteer-shadow: 0 12px 30px rgba(24, 89, 108, 0.12);
  background: #f7fbfc;
}

.volunteer-page a:focus-visible {
  outline: 3px solid #f28b35;
  outline-offset: 4px;
}

.volunteer-page #contents {
  padding-right: clamp(1rem, 5vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  padding-left: clamp(1rem, 5vw, 5rem);
}

.volunteer-layout {
  width: 100%;
  max-width: var(--volunteer-content-width);
  margin: 0 auto;
  font-size: 1em;
}

.volunteer-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--volunteer-pale-blue) 100%);
  box-shadow: var(--volunteer-shadow);
  text-align: center;
}

.volunteer-hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(39, 171, 212, 0.11);
  pointer-events: none;
}

.volunteer-hero__eyebrow,
.volunteer-section__heading > p {
  margin: 0 0 0.25rem;
  color: var(--volunteer-deep-blue);
  font-family: "Reddit Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.volunteer-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  color: var(--volunteer-deep-blue);
  font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.volunteer-hero__lead {
  margin: 0 auto 1rem;
  color: #253b43;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.9;
}

.volunteer-hero__text {
  max-width: 760px;
  margin: 0 auto;
  line-height: 2;
}

.volunteer-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.75rem clamp(1.5rem, 5vw, 3.5rem);
  border: 2px solid var(--primary-color);
  border-radius: 999px;
  background: var(--primary-color);
  box-shadow: 0 8px 20px rgba(39, 171, 212, 0.25);
  color: #fff !important;
  font-size: 1em;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.volunteer-cta:hover {
  background: #fff;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.volunteer-section,
.volunteer-entry {
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--volunteer-shadow);
}

.volunteer-section__heading {
  margin-bottom: 1.5rem;
}

.volunteer-page main .volunteer-section__heading h2,
.volunteer-page .volunteer-alert h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #273b42;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.volunteer-preparation {
  margin-bottom: 1.5rem;
}

.volunteer-preparation__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  color: #52656c;
  font-size: 0.85em;
  font-weight: 800;
}

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

.volunteer-preparation__item {
  display: grid;
  grid-template-columns: minmax(125px, 0.8fr) minmax(100px, 0.8fr) 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #dcecf1;
  border-radius: 10px;
  background: #f8fafb;
  line-height: 1.55;
}

.volunteer-preparation__item strong {
  color: var(--volunteer-deep-blue);
}

.volunteer-preparation__item span {
  color: #52656c;
  font-weight: 700;
}

.volunteer-preparation__item b {
  font-size: 0.9em;
}

.volunteer-event-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

.volunteer-day-card {
  overflow: hidden;
  border: 1px solid rgba(39, 171, 212, 0.28);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 89, 108, 0.08);
}

.volunteer-day-card__header {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.volunteer-day-card__header span {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.5;
}

.volunteer-page main .volunteer-day-card__header h3 {
  display: block;
  margin: 0;
  border: 0;
  color: #fff;
  font-size: 1.15em;
  line-height: 1.6;
}

.volunteer-day-card__options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.volunteer-day-card__options li {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(90px, 0.8fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid #dcecf1;
  line-height: 1.55;
}

.volunteer-day-card__options li:first-child {
  border-top: 0;
}

.volunteer-day-card__options strong {
  color: var(--volunteer-deep-blue);
  font-size: 0.9em;
}

.volunteer-day-card__options span {
  color: #465b63;
  font-weight: 700;
  white-space: nowrap;
}

.volunteer-day-card__full {
  background: var(--volunteer-pale-blue);
}

.volunteer-details {
  margin: 0;
}

.volunteer-details > div {
  display: grid;
  grid-template-columns: minmax(170px, 23%) 1fr;
  border-top: 1px solid #dcecf1;
}

.volunteer-details > div:last-child {
  border-bottom: 1px solid #dcecf1;
}

.volunteer-details dt,
.volunteer-details dd {
  margin: 0;
  padding: 1.15rem 1.25rem;
}

.volunteer-details dt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--volunteer-pale-blue);
  color: var(--volunteer-deep-blue);
  font-weight: 800;
}

.volunteer-details dt i {
  width: 1.25rem;
  color: var(--primary-color);
  text-align: center;
}

.volunteer-details dd {
  align-self: center;
  line-height: 1.8;
}

.volunteer-requirement-emphasis {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  border: 1px solid rgba(197, 46, 73, 0.35);
  border-radius: 5px;
  background: #fff0f3;
  color: #a31430;
  font-weight: 900;
}

.volunteer-contact {
  display: grid;
  gap: 0.35rem;
}

.volunteer-contact__address {
  color: var(--volunteer-deep-blue);
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.volunteer-contact small {
  color: #5f7077;
  font-size: 0.78em;
  line-height: 1.7;
}

.volunteer-alert {
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid #e98698;
  border-left: 7px solid #c52e49;
  border-radius: 14px;
  background: #fff0f3;
  box-shadow: 0 10px 25px rgba(144, 28, 49, 0.1);
  color: #7c1830;
  font-size: 1.1em;
}

.volunteer-alert__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: #c52e49;
  color: #fff;
  font-size: 1em;
  font-weight: 800;
}

.volunteer-page .volunteer-alert h2 {
  color: #9d1f39;
}

.volunteer-alert p {
  margin: 1rem 0 0;
  font-size: 1em;
  line-height: 1.9;
}

.volunteer-alert strong {
  color: #a31430;
}

.volunteer-alert__note {
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 46, 73, 0.25);
  font-size: 0.9em !important;
}

.volunteer-alert a {
  color: #8c1730;
  font-weight: 800;
}

.volunteer-entry > p {
  margin-bottom: 1.5rem;
}

.volunteer-entry__frame {
  overflow: hidden;
  border: 1px solid #dcecf1;
  border-radius: 12px;
  background: #fff;
}

.volunteer-entry__frame iframe {
  display: block;
  width: 100%;
  min-height: 800px;
}

.volunteer-entry__mobile {
  text-align: center;
}

.volunteer-entry__mobile p {
  margin: 0.7rem 0 0;
  color: #65777e;
  font-size: 0.78em;
}

@media screen and (min-width: 900px) {
  .volunteer-page #contents {
    padding-top: 110px;
  }
}

@media screen and (max-width: 899px) {
  .volunteer-page #contents {
    padding-top: 80px;
  }

}

@media screen and (max-width: 700px) {
  .volunteer-hero,
  .volunteer-section,
  .volunteer-entry {
    border-radius: 14px;
  }

  .volunteer-preparation__grid {
    grid-template-columns: 1fr;
  }

  .volunteer-preparation__item {
    grid-template-columns: 1fr 1fr;
  }

  .volunteer-preparation__item b {
    grid-column: 1 / 3;
  }

  .volunteer-event-days {
    grid-template-columns: 1fr;
  }

  .volunteer-details > div {
    grid-template-columns: 1fr;
  }

  .volunteer-details dt,
  .volunteer-details dd {
    padding: 0.85rem 1rem;
  }

  .volunteer-details dd {
    padding-top: 0.7rem;
    padding-bottom: 1rem;
  }

  .volunteer-cta {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .volunteer-page *,
  .volunteer-page *::before,
  .volunteer-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
