/* ==========================================================================
   Sections — SBS 아카데미 뷰티스타일
   S01~S12 섹션별 레이아웃 스타일
   ========================================================================== */

/* ── S01 GNB ── */
.gnb {
  position: sticky;
  top: 0;
  z-index: var(--z-gnb);
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233,30,140,0.1);
  transition: all 300ms ease;
}
.gnb.scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gnb__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gnb__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-dark);
}
.gnb__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.gnb__sns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gnb__sns-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(233,30,140,0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}
.gnb__sns-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── S02 Hero ── */
/* ── Sticky Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  transition: padding 0.3s;
}
.site-header.scrolled .site-header__inner {
  padding: 10px 32px;
}
.site-header__logo img {
  height: 44px;
  width: auto;
  transition: height 0.3s;
}
.site-header.scrolled .site-header__logo img {
  height: 36px;
}
.site-header__social {
  display: flex;
  gap: 12px;
}
.site-header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #888;
  transition: background 0.2s, color 0.2s, width 0.3s, height 0.3s;
}
.site-header__social-link:hover {
  background: rgba(233,30,140,0.8);
  color: #fff;
}
.site-header.scrolled .site-header__social-link {
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.05);
  color: #555;
}
.site-header.scrolled .site-header__social-link:hover {
  background: rgba(233,30,140,0.8);
  color: #fff;
}
.section--hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf0e9 0%, #F0EBE5 30%, #ede4f0 60%, #e8dff2 100%);
}
.section--hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,30,140,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.section--hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147,112,219,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
/* Decorative floating shapes */
.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__deco--1 {
  top: 15%;
  right: 8%;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(233,30,140,0.12);
  animation: heroFloat 8s ease-in-out infinite;
}
.hero__deco--2 {
  top: 55%;
  right: 35%;
  width: 60px;
  height: 60px;
  background: rgba(233,30,140,0.06);
  animation: heroFloat 6s ease-in-out infinite 1s;
}
.hero__deco--3 {
  top: 25%;
  left: 42%;
  width: 24px;
  height: 24px;
  background: rgba(233,30,140,0.15);
  animation: heroFloat 5s ease-in-out infinite 0.5s;
}
.hero__deco--4 {
  bottom: 20%;
  left: 5%;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(147,112,219,0.12);
  animation: heroFloat 7s ease-in-out infinite 2s;
}
.hero__deco--5 {
  top: 10%;
  left: 25%;
  width: 14px;
  height: 14px;
  background: rgba(147,112,219,0.2);
  animation: heroFloat 4s ease-in-out infinite 1.5s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.7; }
}
.hero__content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  min-height: 350px;
}
/* Left text block */
.hero__text {
  flex: 1;
  padding-bottom: 16px;
}
.hero__heading {
  display: flex;
  flex-direction: column;
  word-break: keep-all;
  margin-bottom: 12px;
}
.hero__line1 {
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 900;
  color: #222;
  line-height: 1.1;
  letter-spacing: -1px;
}
.hero__line2 {
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 900;
  color: #222;
  line-height: 1.15;
  letter-spacing: -1px;
  white-space: nowrap;
}
.hero__line2 em {
  font-style: normal;
  color: var(--color-primary);
  -webkit-text-stroke: 0.5px var(--color-primary);
}
.hero__script {
  font-family: 'Nanum Pen Script', cursive;
  font-size: clamp(36px, 4.5vw, 60px);
  color: #333;
  margin: 8px 0 4px;
  position: relative;
  display: inline-block;
}
.hero__script::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  opacity: 0.5;
  border-radius: 2px;
  transform: rotate(-1deg);
}
.hero__stars {
  color: var(--color-primary);
  font-size: 0.7em;
}
.hero__subtitle {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  color: #222;
  margin-top: 20px;
  letter-spacing: -0.5px;
}
.hero__disclaimer {
  color: #999;
  font-size: 12px;
  margin-top: 24px;
  line-height: 1.6;
  word-break: keep-all;
}
/* Right person visual */
.hero__visual {
  flex-shrink: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__person {
  width: 130%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  margin-top: 80px;
  margin-left: -15%;
}

/* ── S03 Admission Results ── */
.section--admission {
  background: #1a1610;
  color: #fff;
  padding: 0;
}
.admission__hero {
  position: relative;
  overflow: hidden;
}
.admission__hero-bg {
  position: absolute;
  inset: 0;
}
.admission__hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admission__hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px 48px;
}
.admission__hero-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.admission__hero-desc {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.admission__hero-desc strong {
  color: #D4A854;
  font-weight: 800;
}
.admission__wreaths {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 20px);
  padding: 0 16px 48px;
}
.admission__wreath-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 20vw, 220px);
  height: clamp(150px, 20vw, 220px);
  background: url('../assets/images/year/crown.png') center/contain no-repeat;
  padding-top: 5px;
  gap: 0;
}
.admission__wreath-year {
  font-size: clamp(14px, 1.8vw, 20px);
  color: #E8D5B0;
  font-weight: 800;
  line-height: 1.2;
}
.admission__wreath-numrow {
  display: flex;
  align-items: flex-end;
  gap: 1px;
}
.admission__wreath-num {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.admission__wreath-unit {
  font-size: clamp(13px, 1.6vw, 18px);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  padding-bottom: 4px;
}
.admission__year-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-top: 20px;
  letter-spacing: -0.5px;
}
.admission__year-title em {
  font-style: normal;
  color: var(--color-primary);
}
.admission__big-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}
.admission__year-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
}
.admission__big-number {
  font-size: clamp(72px, 10vw, 120px);
}
.admission__big-unit {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
}
.admission__big-desc {
  color: rgba(255,255,255,0.9);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  margin-top: 16px;
  letter-spacing: 1px;
}
.admission__big-desc strong {
  color: #fff;
  font-weight: 800;
  background: rgba(233,30,140,0.3);
  padding: 2px 10px;
  border-radius: 6px;
}
.admission__laurel {
  margin: 48px auto 0;
  text-align: center;
}
.laurel__wreath {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}
.laurel__svg {
  width: clamp(80px, 12vw, 140px);
  height: auto;
  flex-shrink: 0;
}
.laurel__svg--left {
  animation: laurel-sway-left 4s ease-in-out infinite;
}
.laurel__svg--right {
  animation: laurel-sway-right 4s ease-in-out infinite;
}
@keyframes laurel-sway-left {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
}
@keyframes laurel-sway-right {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}
.laurel__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  min-width: 180px;
}
.laurel__year {
  font-family: var(--font-number);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
}
.laurel__number {
  font-size: clamp(56px, 8vw, 96px);
  color: #fff;
  line-height: 1;
  margin: 4px 0;
  text-shadow: 0 0 40px rgba(255,255,255,0.3);
}
.laurel__unit {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 6px;
}
.admission__chart {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 40px;
}
.admission__chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

/* Bar chart */
.bar-chart-group {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  gap: 16px;
  padding: 0 16px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.bar-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-number);
}
.bar-unit {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.bar {
  width: 100%;
  height: 0;
  border-radius: 8px 8px 0 0;
  background: var(--bar-color, rgba(255,255,255,0.3));
  border-top: 4px solid var(--bar-top, #fff);
  transition: height 1s ease-out;
}
.bar-year {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* Badges section */
.admission__badges-section {
  background: #1a1610;
  padding: 80px 0;
}
.admission__badges-section .section-title {
  color: #fff;
}
.admission__badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.admission__badge-grid .badge {
  text-align: center;
  justify-content: center;
}

/* Marquee */
.admission__marquee {
  background: rgba(255,255,255,0.05);
  padding: 24px 0;
  position: relative;
}
.marquee-pause-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

/* ── S04 Q&A ── */
.section--qa {
  background-color: #fafafa;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0l2.5 15h15l-12 9 4.5 15-10-8-10 8 4.5-15-12-9h15z' fill='%23ed2690' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
  padding: 80px 0;
}
.qa__video {
  max-width: 720px;
  margin: 0 auto 48px;
}
.qa__video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.qa__video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
/* Card layout */
.qa__card {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}
.qa__card-inner {
  display: flex;
  gap: 0;
  align-items: stretch;
}
/* Profile (left) */
.qa__profile {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  background: linear-gradient(180deg, rgba(233,30,140,0.06), rgba(233,30,140,0.02));
  border-right: 1px solid rgba(233,30,140,0.08);
}
.qa__photo {
  width: 360px;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.qa__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qa__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.qa__name {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}
.qa__name strong {
  font-size: 22px;
  color: #222;
  display: block;
  margin-top: 4px;
}
/* Slides (right) */
.qa__slides {
  flex: 1;
  position: relative;
  min-width: 0;
  padding: 32px 48px 32px 32px;
}
.qa__slides .qa-swiper {
  overflow: hidden;
}
.qa__slide-q {
  background: rgba(233,30,140,0.08);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 28px;
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  line-height: 1.5;
  word-break: keep-all;
}
.qa__slide-a {
  font-size: 24px;
  line-height: 1.8;
  color: #444;
  padding: 0 4px;
  word-break: keep-all;
}
/* QA 탭 버튼 크기 */
.section--qa .tab-btn {
  font-size: 24px;
  padding: 16px 32px;
}
/* Swiper navigation */
.qa-swiper-prev,
.qa-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 22px;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
  color: #666;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 10;
  transition: all 0.2s;
}
.qa-swiper-prev:hover,
.qa-swiper-next:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.qa-swiper-prev { left: -18px; }
.qa-swiper-next { right: 8px; }
.qa-swiper-prev.swiper-button-disabled,
.qa-swiper-next.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}
/* Swiper pagination */
.qa-swiper-pagination {
  text-align: center;
  margin-top: 20px;
}
.qa-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ddd;
  opacity: 1;
  margin: 0 4px;
}
.qa-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* ── S05 Certificate ── */
.section--certificate {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.license__bg {
  position: absolute;
  inset: 0;
}
.license__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.license__overlay {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}
.license__wreaths {
  display: flex;
  justify-content: flex-start;
  gap: clamp(4px, 0.6vw, 10px);
  padding: 0 16px 24px;
  padding-left: clamp(24px, 4vw, 64px);
  max-width: 90%;
}
.license__wreath-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(115px, 11.5vw, 173px);
  height: clamp(115px, 11.5vw, 173px);
  background: url('../assets/images/year/crown.png') center/contain no-repeat;
  padding-top: 0;
  padding-bottom: 5px;
  gap: 0;
}
.license__wreath-year {
  font-size: clamp(12px, 1.4vw, 16px);
  color: #fff;
  font-weight: 600;
}
.license__wreath-numrow {
  display: flex;
  align-items: flex-end;
  gap: 1px;
}
.license__wreath-num {
  font-size: clamp(21px, 2.3vw, 31px);
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
}
.license__wreath-unit {
  font-size: clamp(11px, 1.2vw, 15px);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  padding-bottom: 3px;
}
.license__label {
  font-size: clamp(13px, 1.4vw, 18px);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}
.license__text {
  text-align: left;
  max-width: 60%;
  padding: 0 16px;
  padding-left: clamp(24px, 4vw, 64px);
}
.license__main-text {
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.license__main-text strong {
  font-weight: 900;
  font-size: clamp(22px, 3.5vw, 44px);
  color: #FFD700;
}
.license__sub-text {
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}
.license__cta {
  margin-top: 32px;
  padding: 0 16px;
  padding-left: clamp(24px, 4vw, 64px);
}
.license__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3b5998;
  color: #fff;
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms ease;
}
.license__btn:hover {
  background: #4a6ab5;
}
.license__btn span {
  font-size: 20px;
}
.license__model {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 85%;
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 767px) {
  .license__wreaths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-items: center;
    max-width: 380px;
    margin: 0 auto;
    padding-bottom: 32px;
  }
  .license__wreath-item {
    width: 140px;
    height: 140px;
  }
  .license__wreath-item:last-child {
    grid-column: 1 / -1;
  }
  .license__model {
    display: none;
  }
  .license__text {
    text-align: center;
    max-width: 100%;
    padding-left: 16px;
  }
  .license__cta {
    text-align: center;
  }
}
.progress-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.progress-bar {
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  border-radius: 8px;
  transition: width 1.5s ease-out;
}

/* ── S06 Student Reviews ── */
.section--reviews {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.review-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}
.review-swiper2 {
  overflow: visible;
  padding-top: 70px;
}
/* Slide scale effect: center large, sides small */
.review-swiper2 .swiper-slide {
  transition: transform 400ms ease, opacity 400ms ease;
  transform: scale(0.85);
  opacity: 0.5;
}
.review-swiper2 .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}
/* Tag-shaped card */
.review-tag-card {
  position: relative;
  background: #fff;
  border: 2px solid #d0d0d0;
  border-radius: 24px 24px 80px 80px;
  padding: 108px 24px 32px;
  text-align: center;
  margin-top: 0;
}
/* Photo overlapping card top */
.review-tag__photo {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 173px;
  height: 173px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0e0e0;
  background: #fff;
  z-index: 2;
}
.review-tag__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}
.review-tag__title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 48px;
  word-break: keep-all;
}
.review-tag__text {
  font-size: 17px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 66px;
  word-break: keep-all;
}
.review-tag__info {
  font-size: 13px;
  color: #999;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
/* Navigation */
.review-swiper2-prev,
.review-swiper2-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 44px;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease;
}
.review-swiper2-prev:hover,
.review-swiper2-next:hover {
  color: var(--color-primary);
}
.review-swiper2-prev { left: 0; }
.review-swiper2-next { right: 0; }
/* Mobile */
@media (max-width: 767px) {
  .review-slider { padding: 0 40px; }
  .review-tag__photo { width: 144px; height: 144px; top: -72px; }
  .review-tag-card { padding-top: 88px; }
}

/* ── S07 Benefits ── */
.section--benefits {
  background: linear-gradient(135deg, #D4618C, #E8829E);
  padding: 80px 0;
}
/* Roller tabs */
.benefits-roller__tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
}
.benefits-roller__tab {
  padding: 10px 24px;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}
.benefits-roller__tab.active {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
/* Panels */
.benefits-roller__panel {
  display: none;
  animation: benefitFadeIn 500ms ease;
}
.benefits-roller__panel.active {
  display: block;
}
@keyframes benefitFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Grid layouts */
.benefits-grid {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.benefits-grid--5col {
  grid-template-columns: repeat(5, 1fr);
}
.benefits-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.benefits-grid__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.benefits-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.benefits-grid__item:hover img {
  transform: scale(1.05);
}
/* Study: left2 + center big + right2 */
.study-layout {
  display: flex;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.study-col--side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.study-col--center {
  flex: 2;
  display: flex;
}
.study-item {
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
}
.study-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.study-item:hover img {
  transform: scale(1.05);
}
/* Benefits grid nav arrows */
.benefits-grid-nav { display: none; }

/* Mobile: 2×2 grid per page, horizontal scroll */
@media (max-width: 767px) {
  .benefits-roller__tab { padding: 8px 16px; font-size: 13px; }
  .benefits-roller__panel.active { position: relative; }

  /* 2-row grid flowing columns */
  .benefits-grid {
    display: grid;
    grid-template-columns: none; /* reset PC columns */
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 5px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    scroll-behavior: smooth;
  }
  .benefits-grid::-webkit-scrollbar { display: none; }
  .benefits-grid__item {
    aspect-ratio: 1/1;
    scroll-snap-align: start;
  }
  /* snap only first-row items (odd children) */
  .benefits-grid__item:nth-child(even) { scroll-snap-align: none; }

  /* Study: flatten cols into same 2-row grid */
  .study-layout {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 5px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    max-width: 100%;
    scroll-behavior: smooth;
  }
  .study-layout::-webkit-scrollbar { display: none; }
  .study-col--side,
  .study-col--center {
    display: contents;
  }
  .study-item {
    aspect-ratio: 1/1;
    scroll-snap-align: start;
  }
  .study-item:nth-child(even) { scroll-snap-align: none; }

  /* Mobile nav arrows */
  .benefits-grid-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }
  .benefits-grid-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    backdrop-filter: blur(4px);
  }
  .benefits-grid-nav button:hover {
    background: rgba(255,255,255,0.35);
    border-color: #fff;
  }
}

/* ── S08 Education System ── */
.section--system {
  background: #fff;
  padding: 80px 0;
  position: relative;
}
/* Roller tabs */
.system-roller__tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
}
.system-roller__tab {
  padding: 10px 24px;
  border-radius: 24px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}
.system-roller__tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
/* Panels */
.system-roller__panel {
  display: none;
  animation: benefitFadeIn 500ms ease;
}
.system-roller__panel.active {
  display: block;
}
/* Grid layouts */
.system-grid {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.system-grid--5col {
  grid-template-columns: repeat(5, 1fr);
}
.system-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.system-grid__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.system-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.system-grid__item:hover img {
  transform: scale(1.05);
}
/* Nav arrows (hidden on PC) */
.system-grid-nav { display: none; }

@media (max-width: 767px) {
  .system-roller__tab { padding: 8px 16px; font-size: 13px; }
  .system-roller__panel.active { position: relative; }
  .system-grid {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 5px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    scroll-behavior: smooth;
  }
  .system-grid::-webkit-scrollbar { display: none; }
  .system-grid__item {
    scroll-snap-align: start;
  }
  .system-grid__item:nth-child(even) { scroll-snap-align: none; }
  .system-grid-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }
  .system-grid-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: rgba(212,97,140,0.1);
    color: var(--color-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
  }
  .system-grid-nav button:hover {
    background: rgba(212,97,140,0.25);
  }
}

/* ── S09 Gallery ── */
.section--gallery {
  background: linear-gradient(135deg, #e8dff5 0%, #f5dde8 30%, #ddeef5 70%, #e8dff5 100%);
  padding: 80px 0;
  overflow: hidden;
}
/* Gallery header */
.gallery__header {
  text-align: center;
  margin-bottom: 48px;
}
.gallery__title {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin: 0;
}
.gallery__title-accent {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
}
/* Campus slider */
.campus-slider {
  position: relative;
  padding: 0 48px;
}
.campus-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(120, 180, 220, 0.4);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.campus-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.campus-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.campus-card__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: none;
  padding: 0;
  border-radius: 0;
}
.campus-card__desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  background: none;
  padding: 0;
  border-radius: 0;
  margin-top: 4px;
}
/* Swiper center slide effect */
.campus-swiper .swiper-slide {
  transform: scale(0.85);
  opacity: 0.5;
  transition: transform 300ms ease, opacity 300ms ease;
}
.campus-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}
.campus-swiper .swiper-slide-active .campus-card {
  border-color: rgba(120, 180, 220, 0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
/* Campus nav buttons */
.campus-swiper-prev,
.campus-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}
.campus-swiper-prev:hover,
.campus-swiper-next:hover {
  background: var(--color-primary);
  color: #fff;
}
.campus-swiper-prev { left: 0; }
.campus-swiper-next { right: 0; }
@media (max-width: 767px) {
  .campus-slider { padding: 0 32px; }
  .campus-card__name { font-size: 14px; }
  .campus-card__desc { font-size: 11px; }
  .gallery__award-box { padding: 12px 20px; }
}

/* ── S10 Consultation Form ── */
.section--form {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* Form reveal animation */
.form-reveal {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.form-reveal--left {
  transform: translateX(-40px);
}
.form-reveal--right {
  transform: translateX(40px);
}
.form-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.section--form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E91E8C, #F0198C, #F97316);
  opacity: 0.95;
}
.form-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.form__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.form__left {
  position: relative;
}
.form__trust-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.form__trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
}
.form__card {
  padding: 36px 40px;
  border-radius: 28px;
}
.form__card h3 {
  text-align: left;
}
.form__card p {
  text-align: left;
}
.form__card form {
  display: flex;
  flex-direction: column;
}
.form__privacy-text {
  font-size: 12px;
  color: var(--color-text-mid);
  line-height: 1.6;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 12px;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 8px;
  margin-bottom: 16px;
  word-break: keep-all;
}
.form__consent-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.form__consent-btns .btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ── S11 Partners ── */
.section--partners {
  background: #fff;
  padding: 80px 0;
}
.partner-logo {
  max-height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 300ms ease;
  margin: 0 auto;
}
.partner-logo:hover {
  filter: grayscale(0%);
}
/* Swiper fallback */
.partner-swiper.swiper-fallback {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.partner-swiper.swiper-fallback .swiper-wrapper {
  display: contents;
}

/* ── S12 Footer ── */
.footer {
  background: #1F1F2E;
  padding: 64px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer__logo {
  margin-bottom: 24px;
}
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer__info p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer__label {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.footer__heading {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 200ms ease;
}
.footer__links a:hover {
  color: var(--color-primary);
}
.footer__sns-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.footer__sns-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}
.footer__sns-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.footer__copyright {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  line-height: 1.6;
}
