/* 메인 화면 (디자인 415·418번) */
.hero { height: 640px; background: url(../img/hero.jpg) center/cover no-repeat; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 60%); }
.hero .txt { position: absolute; left: 0; right: 0; top: 250px; max-width: 1200px; margin: 0 auto; padding: 0 60px; color: #fff; }
.hero h2 { font-size: 48px; font-weight: 800; letter-spacing: -1.5px; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.hero p { font-size: 20px; font-weight: 700; margin-top: 14px; line-height: 1.45; white-space: pre-line; text-shadow: 0 2px 10px rgba(0,0,0,.25); }

.quick-wrap { background: var(--bg-soft); padding: 40px 0 46px; }
.quick { max-width: 1000px; margin: 0 auto 26px; display: flex; background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; overflow: hidden; }
.quick:last-child { margin-bottom: 0; }
.quick .label { flex: none; width: 76px; color: #fff; padding: 16px 10px; font-size: 11px; line-height: 1.35; display: flex; flex-direction: column; justify-content: center; }
.quick .label b { display: block; font-size: 15px; margin-top: 8px; }
.quick.work .label { background: var(--teal); }
.quick.welfare .label { background: var(--navy); }
.quick ul { flex: 1; display: flex; align-items: center; }
.quick li { flex: 1; position: relative; }
.quick li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: #ddd; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 4px; font-size: 14.5px; text-align: center; line-height: 1.2; min-height: 104px; }
.quick a img { width: 46px; height: 40px; object-fit: contain; }
.quick a:hover span { color: var(--primary); }

.mid { max-width: 1000px; margin: 0 auto; padding: 50px 20px 46px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 54px; }
.mid .vline { background: #ddd; }
.ntabs { display: flex; gap: 14px; border-bottom: 2px solid #3b7fc4; padding-bottom: 10px; }
.ntabs button { font-size: 22px; font-weight: 800; color: #a4a4a4; padding: 0; }
.ntabs button.on { color: var(--blue); }
.npane { display: none; }
.npane.on { display: block; }
.npane li a { display: flex; justify-content: space-between; gap: 14px; padding: 12px 10px; border-bottom: 1px solid #d5d9de; font-size: 14.5px; color: #444; }
.npane li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npane li a time { flex: none; color: #888; font-size: 12.5px; }
.npane li a:hover span { color: var(--primary); }
.npane .more { display: block; text-align: right; font-size: 13px; color: #888; margin-top: 10px; }
.fee h3 { font-size: 22px; font-weight: 800; }
.fee h3 em { color: var(--blue); font-style: normal; }
.fee > p { font-size: 13.5px; color: #333; margin: 4px 0 26px; }
.fee .ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: center; }
.fee .pic { aspect-ratio: 1; border: 1px solid #ccc; border-radius: 14px; display: grid; place-items: center; background: #fff; margin-bottom: 14px; }
.fee .pic img { width: 76%; }
.fee .ways b { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 15px; }
.fee .ways b i { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.fee .ways p { font-size: 12.5px; color: #333; margin-top: 4px; }

.orgs { background: var(--bg-soft); padding: 40px 0 46px; }
.orgs .in { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.orgs h3 { font-size: 22px; color: var(--blue); margin-bottom: 26px; }
.orgs ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.orgs a { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 8px; padding: 18px 22px; }
.orgs a i { width: 40px; height: 40px; border-radius: 50%; background: #e9eef8; display: grid; place-items: center; flex: none; }
.orgs a b { font-size: 21px; font-weight: 800; display: block; line-height: 1.2; }
.orgs a small { font-size: 12px; color: #444; }
.orgs a:hover b { color: var(--primary); }

.logos { padding: 30px 0; overflow: hidden; }
.logos .track { display: flex; gap: 20px; width: max-content; animation: flow 30s linear infinite; }
.logos:hover .track { animation-play-state: paused; }
.logos a { flex: none; width: 170px; height: 46px; border: 1px solid #ddd; display: grid; place-items: center; background: #fff; }
.logos a img { max-width: 150px; max-height: 36px; }
@keyframes flow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos .track { animation: none; } }

@media (max-width: 1023px) {
  .is-main .site-header { position: absolute; background: none; }
  .hero { height: 330px; background-position: 68% center; }
  .hero .txt { top: 150px; padding: 0 22px; }
  .hero h2 { font-size: 24px; letter-spacing: -0.8px; }
  .hero p { font-size: 13px; margin-top: 8px; }
  .quick-wrap { background: #fff; padding: 26px 16px 10px; }
  .quick { flex-wrap: wrap; border: 0; border-radius: 0; margin-bottom: 0; }
  .quick.work { border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 20px; }
  .quick .label { width: auto; border-radius: 16px; padding: 14px; margin: 4px; font-size: 11px; }
  .quick .label b { font-size: 16px; margin-top: 4px; }
  .quick ul { display: contents; }
  .quick li { flex: none; width: calc(25% - 2px); }
  .quick.welfare li { width: calc(33.3% - 2px); }
  .quick.work .label { width: calc(25% - 8px); }
  .quick.welfare .label { width: calc(33.3% - 8px); }
  .quick li + li::before { top: 22px; bottom: 22px; }
  .quick a { font-size: 13px; min-height: 92px; }
  .quick a img { width: 40px; height: 34px; }
  .mid { grid-template-columns: 1fr; gap: 36px; padding: 30px 16px; }
  .mid .vline { display: none; }
  .ntabs button { font-size: 18px; }
  .fee .ways { gap: 16px; }
  .orgs .in { padding: 0 16px; }
  .orgs h3 { font-size: 18px; margin-bottom: 16px; }
  .orgs ul { grid-template-columns: 1fr; gap: 10px; }
  .orgs a b { font-size: 17px; }
  .logos a { width: 130px; height: 40px; }
}
