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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.saitama-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #d9ded8;
  padding: 1rem;
}

.saitama-header__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.saitama-header__brand {
  flex: 0 0 auto;
  color: #183b2a;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}
.saitama-header__brand img {
  display: block;
  height: 50px;
  width: auto;
  padding: 8px 0;
  box-sizing: content-box;
}
@media (max-width: 768px) {
  .saitama-header__brand img { height: 42px; }
}

.saitama-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
}

.saitama-header__nav a {
  color: #26362d;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.saitama-header__nav a:hover,
.saitama-header__nav a:focus-visible {
  color: #46b279;
}

.saitama-hero {
  position: relative;
  width: 100%;
  display: block;
  background: #ece8e0;
  border-bottom: 1px solid #d3d9d3;
  overflow: hidden;
}
.saitama-hero__srtitle {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.saitama-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.saitama-hero__content {
  position: relative;
  z-index: 1;
  color: #455048;
}

.saitama-hero__label {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.saitama-hero__title {
  margin: 0;
  color: #183b2a;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.saitama-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid #ccd4ce;
}

.saitama-feature {
  padding: 40px 34px;
  border-right: 1px solid #ccd4ce;
  border-bottom: 1px solid #ccd4ce;
}

.saitama-feature:nth-child(even) {
  border-right: 0;
}

.saitama-feature__number {
  display: block;
  margin-bottom: 18px;
  color: #46b279;
  font: 700 1.1rem/1 Roboto, sans-serif;
}

.saitama-feature h3 {
  margin: 0 0 18px;
  color: #183b2a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.saitama-feature p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 2;
}

.saitama-placeholder {
  width: min(100%, 1080px);
  margin: 42px auto 0;
  padding: 44px 24px;
  background: #f4f6f4;
  border-top: 1px solid #d7ddd8;
  border-bottom: 1px solid #d7ddd8;
  color: #586159;
  text-align: center;
}

.pre-course-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 7vw, 96px);
  margin-top: 42px;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  background: #f9fbfd;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.pre-course-kicker {
  display: inline-block;
  margin-bottom: 24px;
  color: #46b279;
  font-size: 0.82rem;
  font-weight: 700;
}

.pre-course-copy h3 {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.45;
}

.pre-course-copy > p {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
}

.pre-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.pre-course-button {
  min-width: 220px;
  padding: 16px 24px;
  border: 1px solid #46b279;
  border-radius: 50px;
  background: #46b279;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.pre-course-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.pre-course-button--secondary {
  background: #fff;
  color: #46b279;
}

.pre-course-flow {
  padding-left: clamp(28px, 4vw, 54px);
  border-left: 1px solid #e5e7eb;
}

.pre-course-flow h3 {
  margin: 0 0 22px;
  font-size: 1.15rem;
}

.pre-course-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pre-course-flow;
}

.pre-course-flow li {
  position: relative;
  min-height: 44px;
  padding: 10px 0 18px 62px;
  border-bottom: 1px solid #e5e7eb;
  counter-increment: pre-course-flow;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}

.pre-course-flow li:last-child {
  border-bottom: 0;
}

.pre-course-flow li::before {
  content: counter(pre-course-flow, decimal-leading-zero);
  position: absolute;
  top: 8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #46b279;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
}

.program-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.program-tab {
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid #46b279;
  border-radius: 50px;
  background: #fff;
  color: #46b279;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.program-tab[aria-selected="true"] {
  background: #46b279;
  color: #fff;
}

.program-panel {
  padding-top: 32px;
}

.program-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.program-stat {
  min-width: 0;
  padding: 16px;
  background: #f9fbfd;
  border-top: 3px solid #46b279;
}

.program-stat span {
  display: block;
  margin-bottom: 6px;
  color: #666;
  font-size: 0.72rem;
}

.program-stat strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
}

.program-audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.program-audience__block {
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.program-audience__block h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

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

.program-checklist li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
  font-size: 0.88rem;
  line-height: 1.75;
}

.program-checklist li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #46b279;
  font-weight: 700;
}

.program-teacher-note {
  margin: 24px 0 0;
  padding: 12px 16px;
  background: #f9fbfd;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.7;
}

.program-list {
  margin-top: 34px;
  border-top: 1px solid #e5e7eb;
}

.program-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 8px;
  color: #666;
  font-size: 0.78rem;
  font-weight: 700;
}

.program-chapter::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.program-row {
  display: grid;
  grid-template-columns: 44px 60px minmax(0, 1fr) minmax(130px, 0.38fr);
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}

.program-row--special {
  background: #f9fbfd;
}

.program-row__index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #46b279;
  border-radius: 50%;
  color: #46b279;
  font-size: 0.74rem;
  font-weight: 700;
}

.program-row--special .program-row__index {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: left;
}

.program-row__month,
.program-row__tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 9px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.program-row__theme strong,
.program-row__theme small {
  display: block;
}

.program-row__theme strong {
  font-size: 0.9rem;
  line-height: 1.55;
}

.program-row__theme small {
  margin-top: 2px;
  color: #666;
  font-size: 0.78rem;
  line-height: 1.55;
}

.program-row__teacher {
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: right;
}

.program-more-content[hidden] {
  display: none;
}

.program-more-button {
  display: block;
  min-width: 220px;
  margin: 28px auto 0;
  padding: 14px 24px;
  border: 1px solid #46b279;
  border-radius: 50px;
  background: #fff;
  color: #46b279;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.program-notes {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.program-notes p {
  margin: 4px 0 0;
  color: #555;
  font-size: 0.82rem;
  line-height: 1.75;
}

/* 埼玉版の確定情報が入るまで、未確定の移管元コンテンツは表示しない。 */
#pre-course > .fexbox {
  display: none !important;
}

.saitama-section-lead {
  max-width: 760px;
  margin: 40px 0 0;
  font-size: 1.05rem;
  line-height: 2;
}

#lecturers .yk-lecturer-info {
  min-width: 0;
}

#lecturers .yk-lecturer-role {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.6;
}

#lecturers .yk-lecturer-name {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.teacher-course-tag {
  display: inline-block;
  max-width: 100%;
  padding: 4px 12px;
  background: #46b279;
  border-radius: 20px;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
}

.lecturer-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

.yk-lecturer-lightbox-img[src$="main-dummy.png"] {
  width: min(380px, 80vw);
  aspect-ratio: 1;
  object-fit: cover;
}

.attendance-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 52px;
}

.attendance-step {
  min-width: 0;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.attendance-step__number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  background: #46b279;
  border-radius: 50%;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.attendance-step h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.attendance-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.attendance-contact {
  width: min(75vw, 1080px);
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.attendance-contact h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.attendance-contact p {
  margin: 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.attendance-contact a {
  color: inherit;
  text-decoration: underline;
}

button.apply-button {
  border: 0;
  font-family: inherit;
}

.apply-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.apply-button.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.faq-list {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list details {
  background: #f2faf5;
  border: 1px solid #d5ebdd;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-list details[open] {
  box-shadow: 0 6px 18px rgba(70,178,121,.12);
}
.faq-list summary {
  position: relative;
  padding: 22px 60px 22px 22px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
  color: #183b2a;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #46b279;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin: 0;
  padding: 0 24px 24px 22px;
  font-size: 0.95rem;
  line-height: 2;
  color: #3f4f45;
}

@media (max-width: 900px) {
  .saitama-header__inner {
    width: 100%;
    min-height: auto;
    padding: 15px 20px 0;
    display: block;
  }

  .saitama-header__brand {
    display: block;
    margin-bottom: 12px;
  }

  .saitama-header__nav {
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px 14px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .saitama-header__nav::-webkit-scrollbar {
    display: none;
  }

  .saitama-features {
    grid-template-columns: 1fr;
  }

  .saitama-feature,
  .saitama-feature:nth-child(even) {
    padding: 32px 8px;
    border-right: 0;
  }

  .pre-course-panel {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .pre-course-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pre-course-button {
    width: 100%;
    min-width: 0;
  }

  .pre-course-flow {
    padding-top: 34px;
    padding-left: 0;
    border-top: 1px solid #e5e7eb;
    border-left: 0;
  }

  .program-tabs {
    gap: 8px;
  }

  .program-tab {
    min-height: 64px;
    padding: 10px 8px;
    font-size: 0.78rem;
  }

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

  .program-audience {
    grid-template-columns: 1fr;
  }

  .program-row {
    grid-template-columns: 38px 52px minmax(0, 1fr);
    gap: 8px;
    padding-right: 4px;
    padding-left: 4px;
    align-items: start;
  }

  .program-row__teacher {
    grid-column: 3;
    margin-top: -4px;
    text-align: left;
  }

  .program-row--special .program-row__teacher {
    margin-top: 0;
  }

  #lecturers .yk-lecturer-card {
    align-items: flex-start;
  }

  #lecturers .yk-lecturer-photo {
    width: 96px;
    height: 120px;
  }

  .attendance-steps {
    grid-template-columns: 1fr;
  }

  .attendance-contact {
    width: 90vw;
  }
}

.yti-marq3,
.yti-marq3__viewport,
.producer-swiper {
  max-width: 100%;
  overflow: hidden;
}

.title-ani-tar,
.title-ani-tar-s {
  width: max-content;
  max-width: 100%;
}

.title-ani-tar::after,
.title-ani-tar-s::after {
  display: none;
}

.title-ani,
.title-ani-s {
  overflow: visible;
}

.title-ani-tar,
.title-ani-tar-s {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.title-ani-tar-s {
  transition-delay: 0.1s;
}

.title-ani-tar.is-visible,
.title-ani-tar-s.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .title-ani-tar,
  .title-ani-tar-s {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.fadein {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .producer-swiper .swiper-slide {
    width: min(85vw, 340px);
    margin-left: 0;
  }
}
