﻿/* ============================================================
   TAP 홈페이지 공통 스타일
   - 색상 · 글꼴은 맨 위 :root 의 변수(--primary, --display 등)만 바꾸면 전체에 적용됩니다.
   - 게시판 스타일은 css/board.css 에 따로 있습니다.
   ============================================================ */
:root {
  color-scheme: light;
  --ink: #1e2548;
  --ink-2: #4a5070;
  --ink-3: #7a7f98;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #e3e7f0;
  --green: #08a956;
  --green-d: #067f41;
  --primary: #1b78bd;
  --primary-d: #135d94;
  --primary-soft: #eaf4fc;
  --blue: #1f9fd9;
  --blue-soft: #e6f5fc;
  --orange: #f5a331;
  --orange-soft: #fff3e1;
  --pink: #dc5f98;
  --pink-soft: #fdecf3;
  --navy: #26336e;
  --display: "Do Hyeon", "Noto Sans KR", system-ui, sans-serif;
  --verse: "Gowun Dodum", "Noto Sans KR", system-ui, sans-serif; /* 성경 말씀 인용 글꼴 */
  --body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1120px;
  --gut: clamp(16px, 4vw, 32px);
  --r: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.01em;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gut);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
}
.cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .15s;
}
.cta:hover {
  background: var(--primary-d);
}
.cta svg {
  width: 18px;
  height: 18px;
}
@media (max-width:880px) {
  .hdr .wrap {
    height: 62px;
  }
  .brand img {
    height: 38px;
  }
}
/* ---------- page scaffolding ---------- */
.page {
  animation: fade .35s ease;
}
@keyframes fade {
  from {
    opacity: .4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.phead {
  background: var(--mist);
  padding-block: 44px 40px;
  position: relative;
  overflow: hidden;
}
.phead .crumb {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
}
.phead h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-top: 6px;
}
.phead p.lead {
  margin-top: 10px;
  color: var(--ink-2);
  max-width: 60ch;
}
.phead .dots {
  position: absolute;
  right: var(--gut);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}
.phead .dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
}
.dots i:nth-child(1) {
  background: var(--blue);
}
.dots i:nth-child(2) {
  background: var(--orange);
}
.dots i:nth-child(3) {
  background: var(--pink);
}
@media (max-width:600px) {
  .phead .dots {
    display: none;
  }
}
.sec {
  padding-block: 56px;
}
.sec+.sec {
  padding-top: 0;
}
.h2 {
  font-size: clamp(26px, 3.6vw, 34px);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.muted {
  color: var(--ink-2);
}
.small {
  font-size: 14px;
}
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-2);
}
.note {
  font-size: 14px;
  color: var(--ink-3);
}
/* ---------- HOME ---------- */
.hero {
  position: relative;
  height: clamp(300px, 52vw, 560px);
  overflow: hidden;
  background: #bfe3f5;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.on {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide.illust img {
  object-position: center 40%;
}
.hero .ctrl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero .ctrl button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, .3);
  padding: 0;
  cursor: pointer;
}
.hero .ctrl button[aria-current="true"] {
  background: #fff;
  width: 32px;
  border-radius: 999px;
}
.intro {
  position: relative;
  margin-top: -64px;
  z-index: 2;
}
.intro .card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(30, 37, 72, .13);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  align-items: stretch;
}
.intro .card>div:first-child {
  padding-right: clamp(24px, 4vw, 48px);
  align-self: center;
}
.intro h1 {
  font-size: clamp(26px, 3.4vw, 36px);
}
.intro h1 .t {
  color: var(--blue);
}
.intro h1 .a {
  color: var(--orange);
}
.intro h1 .p {
  color: var(--pink);
}
.intro p {
  margin-top: 12px;
  color: var(--ink-2);
}
.intro .when {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 40px);
}
.intro .when .tag {
  align-self: flex-start;
  background: var(--primary-soft);
  color: var(--primary-d);
}
.intro .when h2 {
  font-size: 24px;
  line-height: 1.25;
}
.intro .when dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 0;
  font-size: 14px;
}
.intro .when dt {
  font-weight: 700;
  color: var(--ink);
}
.intro .when dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.intro .when dd small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-3);
}
.intro .when dl {
  row-gap: 10px !important;
}
.intro .when .cta {
  justify-content: center;
  margin-top: 4px;
}
.intro .cta {
  font-size: 22px;
  padding: 14px 28px;
}
@media (max-width:720px) {
  .intro .card {
    grid-template-columns: 1fr;
  }
  .intro .card>div:first-child {
    padding-right: 0;
  }
  .intro .when {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 22px;
  }
  .intro {
    margin-top: -36px;
  }
}
/* 신청 버튼이 없을 때(접수 기간 외): 가운데 정렬 한 칸 배치 */
.intro .card>div:only-child {
  grid-column: 1/-1;
  padding-right: 0;
  text-align: center;
  justify-self: center;
  max-width: 720px;
}
.intro .card>div:only-child p {
  margin-inline: auto;
}
@media (max-width:720px) {
  .intro .card>div:only-child {
    text-align: left;
  }
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  padding: 20px;
  isolation: isolate;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 50, .62), rgba(20, 24, 50, 0) 60%);
  z-index: -1;
}
.tile>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .5s;
}
.tile:hover>img {
  transform: scale(1.04);
}
.tile h3 {
  font-size: 24px;
}
.tile span {
  font-size: 14px;
  opacity: .92;
}
.tile.solid::after {
  display: none;
}
.tile.yt {
  background: #e8322b;
}
.tile.map {
  background: var(--blue);
}
.tile .ic {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
}
.tile .go {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
}
.tile .go svg {
  width: 16px;
  height: 16px;
}
@media (max-width:880px) {
  .quick {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:460px) {
  .quick {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 170px;
  }
}
.stories {
  background: var(--orange-soft);
  padding-block: 52px;
  overflow: hidden;
}
.stories .top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.stories h2 img {
  display: inline-block;
  height: 1.1em;
  vertical-align: -.18em;
  margin-right: 6px;
}
.marq {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marq 48s linear infinite;
}
.marq:hover {
  animation-play-state: paused;
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}
.quote {
  width: 320px;
  flex: none;
  background: #fff;
  border-radius: 22px 22px 22px 6px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(185, 120, 20, .10);
}
.quote p {
  font-size: 16px;
  line-height: 1.65;
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  filter: brightness(.8);
}
@media (prefers-reduced-motion:reduce) {
  .marq {
    animation: none;
    width: auto;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .marq .dup {
    display: none;
  }
}
/* ---------- people ---------- */
.letter {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.letter figure {
  margin: 0;
  position: sticky;
  top: 96px;
}
.letter figure img {
  border-radius: var(--r);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.letter figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.letter .body p {
  margin-bottom: 1.05em;
  color: var(--ink-2);
  max-width: 64ch;
}
.letter .body p.first {
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.letter .sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.letter .sig img {
  height: 46px;
  width: auto;
}
@media (max-width:760px) {
  .letter {
    grid-template-columns: 1fr;
  }
  .letter figure {
    position: static;
    max-width: 260px;
  }
}
.staff {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  margin-top: 32px;
}
.person {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
}
.person .av {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}
.person .name {
  font-family: var(--display);
  font-size: 20px;
}
.person .name small {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 6px;
  font-weight: 500;
}
.bubble {
  position: relative;
  margin-top: 10px;
  background: var(--mist);
  border-radius: 6px 20px 20px 20px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.bubble p+p {
  margin-top: .7em;
}
.bubble .verse {
  font-family: var(--verse);
  font-size: 17px;
  color: var(--ink);
}
.person:nth-child(1) .bubble {
  background: var(--blue-soft);
}
.person:nth-child(2) .bubble {
  background: var(--orange-soft);
}
.person:nth-child(3) .bubble {
  background: var(--pink-soft);
}
.person:nth-child(4) .bubble {
  background: #e7f6ed;
}
@media (max-width:760px) {
  .staff {
    grid-template-columns: 1fr;
  }
}
/* ---------- vision ---------- */
.tap3 {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.tapr {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.tapr .k {
  padding: 22px 24px;
  color: #fff;
}
.tapr .k b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  display: block;
  line-height: 1.1;
}
.tapr .k b::first-letter {
  font-size: 1.25em;
}
.tapr .k span {
  font-size: 15px;
  font-weight: 700;
  opacity: .95;
}
.tapr .v {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  font-size: 17px;
}
.tapr.t .k {
  background: var(--blue);
}
.tapr.a .k {
  background: var(--orange);
}
.tapr.p .k {
  background: var(--pink);
}
@media (max-width:640px) {
  .tapr {
    grid-template-columns: 1fr;
  }
}
.goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.goal {
  background: var(--pink-soft);
  border-radius: var(--r);
  padding: 26px 22px;
  text-align: center;
}
.goal svg {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  color: var(--pink);
}
.goal h3 {
  font-size: 22px;
}
@media (max-width:640px) {
  .goals {
    grid-template-columns: 1fr;
  }
}
.whole {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 30px;
}
.whole blockquote {
  margin: 0;
  font-family: var(--verse);
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.6;
  color: var(--ink);
}
.whole blockquote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 10px;
}
.whole .txt p {
  color: var(--ink-2);
  margin-bottom: .8em;
}
@media (max-width:760px) {
  .whole {
    grid-template-columns: 1fr;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chips a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.chips a:hover {
  border-color: var(--ink-3);
}
.area {
  padding-block: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.area .hd {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.area .num {
  font-family: var(--display);
  font-size: 64px;
  line-height: .9;
  color: var(--c);
}
.area h2 {
  font-size: clamp(26px, 3.4vw, 32px);
  color: var(--c);
}
.area .hd p {
  color: var(--ink-2);
  font-weight: 500;
}
.area .verse {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--mist);
  border-radius: 14px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 70ch;
}
.area .verse cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.item>img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.item .in {
  padding: 20px 22px;
}
.item h3 {
  font-size: 22px;
  color: var(--c);
}
.item .kv {
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}
.item ul {
  margin: 8px 0 0;
  padding-left: 1.1em;
  color: var(--ink-2);
  font-size: 15px;
}
.item p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 6px;
}
.item.wide {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.item.wide>img {
  height: 100%;
  aspect-ratio: auto;
}
@media (max-width:760px) {
  .items {
    grid-template-columns: 1fr;
  }
  .item.wide {
    grid-template-columns: 1fr;
  }
  .item.wide>img {
    aspect-ratio: 16/9;
  }
}
.pledge {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 24px 26px;
}
.pledge h3 {
  font-size: 24px;
}
.pledge ol {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
}
.pledge li {
  display: grid;
  grid-template-columns: 52px 1fr;
  font-size: 15px;
}
.pledge li b {
  font-family: var(--display);
  font-weight: 400;
  color: #ffd489;
}
.stopimg {
  width: 180px;
  border-radius: 14px;
  margin-top: 14px;
}
/* ---------- history ---------- */
/* ---------- location ---------- */
.locs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.loc {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.loc .mapph {
  height: 220px;
  background: var(--c-soft);
  position: relative;
  overflow: hidden;
}
.loc .mapph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.loc .in {
  padding: 22px 24px;
}
.loc h3 {
  font-size: 26px;
}
.loc dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 12px;
  margin: 14px 0 18px;
  font-size: 15px;
}
.loc dt {
  font-weight: 700;
  color: var(--ink-3);
}
.loc dd {
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.btn:hover {
  background: var(--ink);
  color: #fff;
}
.btn svg {
  width: 16px;
  height: 16px;
}
@media (max-width:760px) {
  .locs {
    grid-template-columns: 1fr;
  }
}
/* ---------- board ---------- */
.clip {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 6px;
  color: var(--ink-3);
}
.scrollx {
  overflow-x: auto;
}
/* ---------- curriculum ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.stage {
  border-radius: 22px;
  background: var(--s-soft);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stage .top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stage .ico {
  width: 56px;
  height: 56px;
  flex: none;
}
.stage h3 {
  font-size: 28px;
  color: var(--s);
}
.stage .age {
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--s-d);
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-block;
}
.stage .motto {
  font-family: var(--display);
  font-size: 20px;
}
.stage h4 {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--s-d);
  margin-bottom: 4px;
}
.stage ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 15px;
  color: var(--ink-2);
}
.stage .out {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
}
.stage .out q {
  font-family: var(--display);
  font-size: 19px;
  display: block;
  quotes: "“" "”";
  color: var(--s-d);
}
.stage .out p {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 6px;
}
.st1 {
  --s: #b0701d;
  --s-d: #8a5510;
  --s-soft: #fdf1df;
}
.st2 {
  --s: #1f9a54;
  --s-d: #137a3f;
  --s-soft: #e6f6ec;
}
.st3 {
  --s: #1b86b8;
  --s-d: #136a93;
  --s-soft: #e4f3fb;
}
.st4 {
  --s: #cc4f86;
  --s-d: #a83a6b;
  --s-soft: #fcebf2;
}
@media (max-width:760px) {
  .stages {
    grid-template-columns: 1fr;
  }
}
.verses {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 22px 26px;
  flex-wrap: wrap;
}
.verses b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: #ffd489;
}
.verses p {
  flex: 1;
  min-width: 220px;
}
/* ---------- recruit ---------- */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-width: 620px;
  margin: 0 auto 40px;
  padding: 6px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.tabs button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  line-height: 1.3;
  color: var(--ink-3);
  transition: background .25s, color .25s, box-shadow .25s;
}
.tabs button:hover {
  color: var(--primary);
}
.tabs button b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  display: block;
  letter-spacing: .02em;
}
.tabs button span {
  font-size: 13px;
  color: inherit;
  opacity: .8;
}
.tabs button[aria-selected="true"] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 120, 189, .28);
}
.tabs button[aria-selected="true"] b {
  color: #fff;
}
.facts {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-top: 2px solid var(--ink);
}
.facts dt,
.facts dd {
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  min-width: 0;
}
.facts dt {
  font-family: var(--display);
  font-size: 19px;
}
.facts dd ul {
  margin: 0;
  padding-left: 1.1em;
}
.facts dd .big {
  font-weight: 700;
  font-size: 18px;
}
@media (max-width:600px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts dt {
    padding-bottom: 0;
    border: 0;
  }
}
.fee {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 15px;
}
.fee th,
.fee td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: center;
}
.fee thead th {
  background: var(--mist);
  font-weight: 700;
}
.fee tbody th {
  text-align: left;
  font-weight: 700;
}
.fee td b {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.fee .off {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--pink);
}
.tts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.tt {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.tt h4 {
  font-size: 22px;
  color: #fff;
  background: var(--c);
  padding: 10px 16px;
  text-align: center;
}
.tt table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}
.tt td {
  padding: 8px 8px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  text-align: center;
  line-height: 1.35;
}
.tt td.tm {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-2);
  text-align: left;
  width: 86px;
  background: #fff;
}
.tt td.act {
  background: var(--c-soft);
  font-weight: 700;
}
.tt td.act small {
  display: block;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 12.5px;
}
.tt td.brk {
  color: var(--ink-3);
}
.tt tr.sub td {
  background: var(--c);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px;
}
@media (max-width:980px) {
  .tts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:640px) {
  .tts {
    grid-template-columns: minmax(0, 1fr);
  }
}
.apply {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--primary-soft);
  border-radius: var(--r);
  padding: 24px 28px;
}
.apply h3 {
  font-size: 24px;
}
.apply .cta {
  font-size: 21px;
  padding: 13px 28px;
}
.feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 6px;
}
.feat div {
  background: var(--mist);
  border-radius: 14px;
  padding: 16px 18px;
}
.feat b {
  display: block;
  font-size: 16px;
}
.feat p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 4px;
}
@media (max-width:640px) {
  .feat {
    grid-template-columns: 1fr;
  }
}
.sibling {
  margin-top: 10px;
  font-size: 14px;
  color: var(--pink);
  font-weight: 700;
}
/* ---------- faq ---------- */
.faqgrp {
  margin-top: 36px;
}
.faqgrp:first-child {
  margin-top: 0;
}
.faqgrp h2 {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faqgrp h2 i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  position: relative;
  font-weight: 700;
  font-size: 17px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "Q";
  font-family: var(--display);
  font-weight: 400;
  color: var(--c);
  margin-right: 12px;
  font-size: 20px;
}
summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), top .32s cubic-bezier(.2, .8, .2, 1);
}
details[open] summary::after {
  transform: rotate(-135deg);
  top: 28px;
}
details.closing summary::after {
  transform: rotate(45deg);
  top: 24px;
}
summary:hover {
  color: var(--primary-d);
}
details .a {
  padding: 0 0 20px 32px;
  color: var(--ink-2);
  max-width: 72ch;
  overflow: hidden;
}
/* ---------- parallax ---------- */
.plx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.plx-img {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 136%;
  z-index: -2;
  will-change: transform;
}
.plx-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .slide img {
  position: absolute;
  left: 0;
  top: -12%;
  height: 124%;
  will-change: transform;
}
.band {
  min-height: clamp(320px, 46vw, 500px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 22, 48, .78) 0%, rgba(18, 22, 48, .35) 45%, rgba(18, 22, 48, 0) 75%);
}
.band .wrap {
  width: 100%;
  padding-block: 40px;
}
.band blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.45;
  max-width: 30ch;
  text-wrap: balance;
}
.band cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  opacity: .85;
  margin-top: 12px;
  letter-spacing: .02em;
}
.band .lbl {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 10px;
}
.areaband {
  margin-top: 18px;
  border-radius: var(--r);
  min-height: clamp(260px, 34vw, 380px);
}
.areaband .wrap {
  padding-inline: clamp(20px, 4vw, 40px);
  padding-block: 28px;
}
.areaband blockquote {
  font-size: clamp(18px, 2.2vw, 23px);
  max-width: 40ch;
}
.areaband .big {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  top: 6px;
  font-family: var(--display);
  font-size: clamp(90px, 14vw, 170px);
  line-height: 1;
  color: #fff;
  opacity: .9;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
@media (prefers-reduced-motion:reduce) {
  .plx-img,
  .hero .slide img {
    transform: none !important;
  }
}
/* ---------- mission ---------- */
.mhero {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.mhero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 15%;
  max-height: 440px;
  background: var(--navy);
}
.mhero .in {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.mhero .eyebrow {
  color: #ffd489;
}
.mhero h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.mhero p {
  color: #d6daf0;
  max-width: 58ch;
}
.mcols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}
.mcol {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mcol .eyebrow {
  color: var(--c);
}
.mcol h3 {
  font-size: 26px;
}
.mcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.mcol li b {
  display: block;
  font-size: 16px;
}
.mcol li b::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  margin-right: 8px;
  vertical-align: 2px;
}
.mcol li p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 2px;
  padding-left: 16px;
}
.mcol .ph {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.mcol .ph img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 12px;
}
.mcol .ph.one {
  grid-template-columns: 1fr;
}
.mcol .ph.one img {
  aspect-ratio: auto;
}
@media (max-width:760px) {
  .mhero {
    grid-template-columns: 1fr;
  }
  .mhero img {
    max-height: 260px;
  }
  .mcols {
    grid-template-columns: 1fr;
  }
}
.mkcard {
  margin-top: auto;
  border-radius: 16px;
  background: var(--pink-soft);
  padding: 20px 20px 18px;
}
.mkcard .lbl {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #a83a6b;
}
.mkcard ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mkcard li {
  display: grid;
  grid-template-columns: 28px auto 1fr;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}
.mkcard li svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
}
.mkcard li b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
}
.mkcard li b::before {
  display: none;
}
.mkcard li span {
  justify-self: end;
  font-size: 13px;
  color: var(--ink-3);
}
.mkcard p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.mkcard p svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: #a83a6b;
}
/* ---------- special programs ---------- */
.progs {
  display: grid;
  gap: 26px;
}
.prog {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: var(--p-soft);
}
.prog .in {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prog .name {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  color: var(--p);
  letter-spacing: .01em;
}
.prog .tagline {
  font-family: var(--display);
  font-size: 21px;
}
.prog dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px 14px;
  margin: 0;
  font-size: 15.5px;
}
.prog dt {
  font-weight: 800;
  color: var(--p);
}
.prog dd {
  margin: 0;
  color: var(--ink-2);
}
.prog dd.verse {
  font-family: var(--verse);
  font-size: 18px;
  color: var(--ink);
}
.prog .gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: clamp(16px, 3vw, 28px);
  align-content: center;
  background: var(--p);
}
.prog .gal img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
.prog .gal img:first-child {
  grid-column: 1/-1;
  aspect-ratio: 16/9;
}
.prog.dad {
  --p: #26336e;
  --p-soft: #eef0f8;
}
.prog.tel {
  --p: #2c9a4a;
  --p-soft: #eaf6ee;
}
.prog.dad .gal {
  background: #26336e;
}
.prog.tel .gal img {
  grid-column: 1/-1;
  aspect-ratio: 16/9;
}
@media (max-width:760px) {
  .prog {
    grid-template-columns: 1fr;
  }
  .prog dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .prog dd {
    margin-bottom: 10px;
  }
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-d);
  text-decoration: none;
  margin-top: 10px;
}
.more:hover {
  text-decoration: underline;
}
/* ---------- history (scroll timeline) ---------- */
.since {
  text-align: center;
  padding-block: 56px 12px;
}
.since .eyebrow {
  display: block;
  margin-bottom: 6px;
}
.since p {
  margin-top: 14px;
}
.wave {
  font-size: clamp(56px, 11vw, 124px);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: .01em;
}
.wave span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
}
.wave .sp {
  width: .3em;
}
.wave .n1 {
  color: var(--blue);
}
.wave .n2 {
  color: var(--orange);
}
.wave .n3 {
  color: var(--pink);
}
.wave .n4 {
  color: var(--green);
}
.wave.go span {
  animation: waveIn .55s cubic-bezier(.2, .8, .2, 1) forwards, waveBob .36s ease-in-out;
  animation-delay: calc(var(--i)*55ms), calc(var(--i)*55ms + .5s);
}
@keyframes waveIn {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes waveBob {
  0%,
  100% {
    transform: none;
    opacity: 1;
  }
  50% {
    transform: translateY(-.12em);
    opacity: 1;
  }
}
.his {
  position: relative;
  max-width: 1040px;
  margin: 36px auto 0;
}
.axis {
  position: absolute;
  left: 50%;
  top: 0;
  height: 0;
  width: 3px;
  margin-left: -1.5px;
  background: var(--line);
  border-radius: 3px;
}
.axis-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--orange) 55%, var(--pink));
  transition: height .6s cubic-bezier(.2, .8, .2, 1);
}
.scene {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 120px;
  align-items: start;
  padding-block: 36px 96px;
}
.scene .dot {
  position: absolute;
  left: 50%;
  top: 62px;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  transition: border-color .3s, background .3s, box-shadow .3s, transform .3s;
}
.scene.active .dot {
  border-color: var(--c);
  background: var(--c);
  box-shadow: 0 0 0 9px var(--ring);
  transform: scale(1.1);
}
.scene .text,
.scene .card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.scene.on .text {
  opacity: 1;
  transform: none;
}
.scene.on .card {
  opacity: 1;
  transform: none;
  transition-delay: .25s;
}
.scene .text {
  text-align: right;
}
.scene .card {
  margin: 0;
}
.scene.r .text {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}
.scene.r .card {
  grid-column: 1;
  grid-row: 1;
}
.scene .y {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 84px);
  line-height: 1;
  color: var(--c);
}
.scene h3 {
  font-size: 26px;
  margin-top: 6px;
}
.scene .desc {
  color: var(--ink-2);
  margin-top: 10px;
}
.scene ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
}
.scene li b {
  color: var(--c);
  font-weight: 800;
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}
.scene li .more {
  margin: 0 0 0 6px;
}
.scene .card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(30, 37, 72, .14);
}
.his-end {
  text-align: center;
  padding-block: 10px 72px;
}
.his-end p {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--ink-2);
}
.his-end .line {
  margin-top: 6px;
  color: var(--ink);
}
.his-end .line span {
  background: linear-gradient(transparent 62%, rgba(245, 163, 49, .45) 62%) no-repeat 0 0/0% 100%;
  transition: background-size 1.2s cubic-bezier(.2, .8, .2, 1);
}
.his-end.on .line span {
  background-size: 100% 100%;
}
@media (max-width:760px) {
  .axis {
    left: 14px;
  }
  .scene {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 0 56px 46px;
    row-gap: 18px;
  }
  .scene .dot {
    left: 14px;
    top: 44px;
  }
  .scene .text,
  .scene.r .text {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  .scene .card,
  .scene.r .card {
    grid-column: 1;
    grid-row: 2;
  }
  .scene h3 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .wave span,
  .scene .text,
  .scene .card {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none;
  }
  .axis-fill {
    transition: none;
  }
}
/* ---------- fullscreen menu ---------- */
.hdr .wrap {
  gap: 14px;
}
/* 로고를 왼쪽에 두고 나머지(신청 · 메뉴 버튼)는 항상 오른쪽 끝에 붙입니다.
   TAP 신청 버튼이 없을 때(APPLY_OPEN = False)도 메뉴 버튼은 오른쪽에 그대로 남습니다. */
.hdr .brand {
  margin-right: auto;
}
.menubtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px 9px 20px;
  font-family: var(--display);
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.menubtn:hover {
  border-color: var(--ink-3);
}
.menubtn .bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}
.menubtn .bars::before,
.menubtn .bars::after,
.menubtn .bars i {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2.4px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .2s, top .35s cubic-bezier(.2, .8, .2, 1);
}
.menubtn .bars::before {
  top: 0;
}
.menubtn .bars i {
  top: 6px;
}
.menubtn .bars::after {
  top: 12px;
}
.menu-open .menubtn .bars::before {
  top: 6px;
  transform: rotate(45deg);
}
.menu-open .menubtn .bars::after {
  top: 6px;
  transform: rotate(-45deg);
}
.menu-open .menubtn .bars i {
  opacity: 0;
}
.hdr {
  z-index: 300;
  transition: background .3s, border-color .3s;
}
.menu-open .hdr {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}
.menu-open .hdr .hdr-apply {
  visibility: hidden;
}
.menu-open .hdr .brand img {
  /* background: #fff;
  border-radius: 12px;
  padding: 3px 8px; */
  box-sizing: content-box;
}
.fsmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  clip-path: circle(0px at var(--mx, calc(100% - 60px)) var(--my, 36px));
  transition: clip-path .65s cubic-bezier(.7, 0, .2, 1);
  overflow: auto;
}
.menu-open .fsmenu {
  clip-path: circle(150vmax at var(--mx, calc(100% - 60px)) var(--my, 36px));
}
/* 다 펼쳐진 뒤에는 원 모양 자르기를 풀어서, 창 크기를 바꿔도 메뉴가 잘리지 않게 합니다 */
.menu-open .fsmenu.fs-done {
  clip-path: none;
}
.menu-open {
  overflow: hidden;
}
html {
  scrollbar-gutter: stable;
}
.fs-side {
  position: relative;
  overflow: hidden;
}
.fs-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fs-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 22, 48, .7), transparent 55%);
}
.fs-side p {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  right: 20px;
  bottom: clamp(24px, 4vw, 48px);
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}
.fs-main {
  padding: clamp(100px, 14vh, 150px) clamp(24px, 5vw, 72px) 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-content: start;
}
.fs-grp h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
  color: #fff;
}
.fs-grp h2 small {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #ffd489;
  margin-bottom: 4px;
}
.fs-grp a {
  display: block;
  width: fit-content;
  text-decoration: none;
  color: #cfd4ee;
  font-size: 17px;
  padding: 6px 0;
  transition: color .15s, transform .2s;
}
.fs-grp a:hover {
  color: #fff;
  transform: translateX(4px);
}
.fs-grp a.cur {
  color: #fff;
  font-weight: 700;
}
.fs-grp a.cur::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd489;
  margin-right: 8px;
  vertical-align: 3px;
}
.fs-grp a.cta {
  color: #fff;
  padding: 10px 22px;
  margin-top: 16px;
  display: inline-flex;
}
.fs-grp a.cta:hover {
  transform: none;
}
.fs-grp,
.fs-foot {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.menu-open .fs-grp,
.menu-open .fs-foot {
  opacity: 1;
  transform: none;
}
.menu-open .fs-grp:nth-child(1) {
  transition-delay: .28s;
}
.menu-open .fs-grp:nth-child(2) {
  transition-delay: .36s;
}
.menu-open .fs-grp:nth-child(3) {
  transition-delay: .44s;
}
.menu-open .fs-foot {
  transition-delay: .52s;
}
.fs-foot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 20px;
  margin-top: 8px;
  font-size: 13px;
  color: #aeb4d6;
}
@media (max-width:880px) {
  .fsmenu {
    grid-template-columns: 1fr;
  }
  .fs-side {
    display: none;
  }
  .fs-main {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 92px 24px 32px;
  }
  .fs-grp {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .fs-grp+.fs-grp {
    padding-top: 10px;
  }
  .fs-grp h2 {
    font-size: 26px;
    margin-bottom: 6px;
  }
  .fs-grp a {
    display: block;
    width: auto;
    margin: 0;
    padding: 9px 0;
    font-size: 17px;
  }
  .fs-grp a:hover {
    transform: none;
  }
  .fs-grp a.cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  /* 휴대폰 · 태블릿: 신청 버튼을 작게 줄여서 메뉴 버튼 옆에 계속 보여 줍니다 */
  .hdr .hdr-apply {
    font-size: 16px;
    padding: 8px 14px;
    gap: 6px;
  }
  .hdr .hdr-apply svg {
    width: 15px;
    height: 15px;
  }
  .menubtn {
    font-size: 17px;
    padding: 8px 14px 8px 16px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .fsmenu {
    transition: none;
  }
  .fs-grp,
  .fs-foot {
    transition: none;
  }
}
/* gBoard.css 가 :root 의 --primary 를 보라색으로 바꾸는 것을 막습니다 */
/* ---------- 검색 ---------- */
/* ---------- 목록(공지사항) ---------- */
/* ---------- 버튼 ---------- */
/* ---------- 페이지 번호 ---------- */
/* ---------- 글 보기 ---------- */
/* ---------- 사진(앨범) ---------- */
/* ---------- 영상 목록(카드) ---------- */
/* ---------- 휴대폰 ---------- */
/* ---------- footer ---------- */
.ftr {
  background: var(--ink);
  color: #c9cde0;
  margin-top: 40px;
  padding-block: 40px;
  font-size: 14px;
}
.ftr .wrap {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ftr .l {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.ftr img.sar {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}
.ftr b {
  color: #fff;
}
.ftr .copy {
  font-size: 13px;
  opacity: .7;
}
.copybtn {
  font: inherit;
  font-size: 13px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  margin-left: 6px;
}
/* ---------- mobile fine-tuning ---------- */
@media (max-width:600px) {
  body {
    font-size: 15px;
  }
  .sec {
    padding-block: 40px;
  }
  .phead {
    padding-block: 28px 26px;
  }
  .phead h1 {
    font-size: 30px;
  }
  .phead p.lead {
    font-size: 14.5px;
  }
  .h2 {
    font-size: 24px;
  }
  .cta {
    font-size: 17px;
    padding: 9px 18px;
  }
  .intro .cta {
    font-size: 19px;
    padding: 12px 24px;
  }
  .intro p {
    font-size: 14.5px;
  }
  .quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tile {
    min-height: 140px;
    padding: 14px;
    border-radius: 14px;
  }
  .tile h3 {
    font-size: 19px;
  }
  .tile span {
    font-size: 12.5px;
  }
  .tile .ic {
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
  }
  .tile .go {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
  }
  .quote {
    width: 260px;
    padding: 18px 20px;
  }
  .quote p {
    font-size: 15px;
  }
  .tabs {
    gap: 4px;
    margin: 0 0 24px;
    padding: 4px;
    border-radius: 16px;
  }
  .tabs button {
    padding: 11px 12px;
    border-radius: 12px;
  }
  .tabs button b {
    font-size: 21px;
  }
  .tabs button span {
    font-size: 11.5px;
    display: block;
    line-height: 1.35;
    margin-top: 2px;
  }
  .facts dt {
    font-size: 17px;
    padding-top: 16px;
  }
  .facts dd {
    padding-top: 6px;
    padding-bottom: 16px;
  }
  .facts dd .big {
    font-size: 16px;
  }
  .fee {
    min-width: 0;
    font-size: 13.5px;
  }
  .fee th,
  .fee td {
    padding: 10px 6px;
  }
  .fee td b {
    font-size: 14.5px;
  }
  .fee .off {
    display: block;
    margin: 2px 0 0;
  }
  .apply {
    padding: 20px;
    gap: 12px;
  }
  .apply h3 {
    font-size: 20px;
  }
  .apply .cta {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 12px 20px;
  }
  .verses {
    padding: 18px 20px;
  }
  .verses b {
    font-size: 40px;
  }
  .verses .cta {
    width: 100%;
    justify-content: center;
  }
  .person {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
  .person .av {
    width: 56px;
    height: 56px;
  }
  .bubble {
    padding: 14px 16px;
    font-size: 14.5px;
  }
  .letter .body p.first {
    font-size: 19px;
  }
  .stage {
    padding: 22px 18px;
  }
  .stage h3 {
    font-size: 24px;
  }
  .stage .motto {
    font-size: 18px;
  }
  .tapr .k b {
    font-size: 26px;
  }
  .tapr .v {
    font-size: 15.5px;
    padding: 16px 20px;
  }
  .area .num {
    font-size: 52px;
  }
  summary {
    font-size: 16px;
  }
  .tabs button span {
    text-wrap: balance;
  }
}

/* 아주 좁은 화면(360px 이하): 손 아이콘을 빼고 글자만 남깁니다 */
@media (max-width:360px) {
  .hdr .hdr-apply svg {
    display: none;
  }
  .hdr .hdr-apply {
    padding: 8px 12px;
    font-size: 15px;
  }
  .menubtn {
    padding: 8px 12px;
  }
}

/* ---------- 모집요강 시간표: 휴대폰에서는 탭으로 하나씩 ---------- */
.tt-tabs {
  display: none;
}
@keyframes ttIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width:640px) {
  .tt-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 4px 0 12px;
  }
  .tt-tabs button {
    font: inherit;
    font-family: var(--display);
    font-size: 17px;
    padding: 9px 4px;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s;
  }
  .tt-tabs button[aria-pressed="true"] {
    background: var(--c);
    border-color: var(--c);
    color: #fff;
  }
  .tts.tabbed .tt {
    display: none;
  }
  .tts.tabbed .tt.on {
    display: block;
    animation: ttIn .35s cubic-bezier(.2, .8, .2, 1);
  }
}
@media (prefers-reduced-motion:reduce) {
  .tts.tabbed .tt.on {
    animation: none;
  }
}

/* ---------- people list ---------- */

.people-list {
  margin-top: 80px;  
}

/* 각 그룹 */
.people-group {
  margin-top: 72px;
}

.people-group:first-child {
  margin-top: 0;
}

/* 그룹 제목 */
.people-group h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0;
  padding-bottom: 20px;

  border-bottom: 2px solid var(--line);

  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;

  color: #297445;
}

/* 제목 앞 원 */
.people-group h2::before {
  content: "";
  flex: none;

  width: 14px;
  height: 14px;

  border-radius: 50%;
  background: #49ad68;
}


/* 2열 명단 */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 90px;
  row-gap: 24px;

  padding-top: 30px;
}


/* 한 사람 */
.people-item {
  display: flex;
  align-items: baseline;
  gap: 8px;

  min-width: 0;
}


/* 이름 */
.people-item strong {
  flex: none;

  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;

  color: #151820;
}


/* 직분 */
.people-item span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;

  color: #656b76;
}

/* 교역자 */
.people-group.minister h2 {
  color: var(--primary);
}

.people-group.minister h2::before {
  background: var(--blue);
}


/* 스탭 */
.people-group.staff-group h2 {
  color: #297445;
}

.people-group.staff-group h2::before {
  background: #49ad68;
}


/* 학부모 봉사자 */
.people-group.parent h2 {
  color: #8a631c;
}

.people-group.parent h2::before {
  background: #dda12b;
}


/* ---------- tablet / mobile ---------- */

@media (max-width:760px) {

  .people-list {
    margin-top: 56px;
  }

  .people-group {
    margin-top: 54px;
  }

  .people-group h2 {
    gap: 10px;
    padding-bottom: 16px;
    font-size: 23px;
  }

  .people-group h2::before {
    width: 12px;
    height: 12px;
  }

  .people-grid {
    column-gap: 30px;
    row-gap: 20px;
    padding-top: 24px;
  }

  .people-item {
    gap: 7px;
  }

  .people-item strong {
    font-size: 19px;
  }

  .people-item span {
    font-size: 14px;
  }
}


/* 작은 휴대폰 */
@media (max-width:480px) {

  .people-list {
    margin-top: 48px;
  }

  .people-group {
    margin-top: 48px;
  }

  .people-group h2 {
    font-size: 21px;
  }

  .people-group h2::before {
    width: 11px;
    height: 11px;
  }

  /* 휴대폰에서도 2열 유지 */
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 16px;
    row-gap: 18px;

    padding-top: 22px;
  }

  .people-item {
    gap: 5px;
    flex-wrap: wrap;
  }

  .people-item strong {
    font-size: 18px;
  }

  .people-item span {
    font-size: 13px;
  }
}