:root {
  --navy: #071d3a;
  --blue: #0875a8;
  --blue-2: #0d90c3;
  --gold: #d8a52f;
  --gold-soft: #f5e6b7;
  --red: #b8242f;
  --ink: #172033;
  --muted: #667085;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --line: #dfe6ef;
  --success: #18794e;
  --shadow: 0 16px 38px rgba(7, 29, 58, .12);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--navy); color: #dce8f4; font-size: .9rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(223,230,239,.8); backdrop-filter: blur(16px); }
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; background: #000; box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.brand-text { min-width: 0; }
.brand-title { display: block; font-weight: 850; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-subtitle { display: block; color: var(--muted); font-size: .83rem; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: #243047; font-weight: 650; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); background: #eaf6fb; }
.nav-cta { margin-left: 6px; background: var(--navy) !important; color: #fff !important; }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: var(--navy); margin: auto; content: ""; transition: .25s; }
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(5px); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), #0b355c 58%, #0a6d93); color: #fff; }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(216,165,47,.32), transparent 68%); right: -130px; top: -170px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 75px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.08)); }
.hero-grid { position: relative; z-index: 1; min-height: 600px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: 74px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { margin: 20px 0 18px; max-width: 760px; font-size: clamp(2.4rem, 5.8vw, 5rem); line-height: .98; letter-spacing: -.05em; }
.hero h1 span { color: #ffd45f; }
.hero p { max-width: 680px; color: #d9e8f3; font-size: 1.12rem; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; text-decoration: none; font-weight: 750; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.btn-primary { background: var(--gold); color: #261b02; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-blue { background: var(--blue); color: #fff; }
.hero-card { background: rgba(255,255,255,.98); border-radius: 28px; padding: 26px; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.65); }
.hero-logo-wrap { min-height: 300px; display: grid; place-items: center; background: #000; border-radius: 20px; overflow: hidden; }
.hero-logo-wrap img { width: min(100%, 370px); }
.hero-card footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #23a66f; box-shadow: 0 0 0 5px #ddf7ec; }

.quick-links { margin-top: -42px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { min-height: 145px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, border-color .2s; }
.quick-card:hover { transform: translateY(-5px); border-color: #99cfe3; }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e8f5fa; color: var(--blue); font-weight: 900; }
.quick-card h3 { margin: 14px 0 4px; color: var(--navy); }
.quick-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.section { padding: 88px 0; }
.section-muted { background: var(--surface-2); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .09em; font-weight: 850; font-size: .8rem; }
.section h2 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; color: var(--navy); }
.section-heading p { max-width: 560px; margin: 0; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(7,29,58,.06); }
.card h3 { margin: 10px 0 6px; color: var(--navy); }
.card p { color: var(--muted); }
.course-card { position: relative; overflow: hidden; min-height: 315px; display: flex; flex-direction: column; }
.course-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -45px; top: -45px; background: var(--accent-soft, #e8f5fa); }
.course-symbol { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 950; color: var(--accent, var(--blue)); background: var(--accent-soft, #e8f5fa); }
.course-card .link-arrow { margin-top: auto; color: var(--accent, var(--blue)); font-weight: 800; text-decoration: none; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.tag { border-radius: 999px; padding: 5px 9px; background: #f1f4f8; color: #475467; font-size: .8rem; font-weight: 650; }

.notice-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.notice-list { display: grid; gap: 14px; }
.notice { display: grid; grid-template-columns: 68px 1fr; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.notice-date { min-height: 62px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.notice-date strong { font-size: 1.45rem; }
.notice h3 { margin: 0 0 3px; }
.notice p { margin: 0; color: var(--muted); font-size: .93rem; }
.calendar-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.calendar-card h3 { margin-top: 0; font-size: 1.6rem; }
.calendar-card p { color: #d2e3ee; }
.calendar-preview { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 24px 0; }
.calendar-preview span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); font-size: .8rem; }
.calendar-preview .active { background: var(--gold); color: #231800; font-weight: 900; }

.feature-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.feature-visual { min-height: 410px; border-radius: 28px; background: linear-gradient(145deg, #eaf5fa, #d7eaf1); position: relative; overflow: hidden; border: 1px solid #c5dfe9; }
.feature-visual::before, .feature-visual::after { content: ""; position: absolute; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.feature-visual::before { width: 64%; height: 52%; left: 8%; top: 12%; transform: rotate(-5deg); }
.feature-visual::after { width: 58%; height: 45%; right: 5%; bottom: 9%; transform: rotate(7deg); }
.visual-label { position: absolute; z-index: 2; padding: 16px; border-radius: 16px; background: var(--navy); color: #fff; font-weight: 800; box-shadow: var(--shadow); }
.visual-label.one { left: 17%; top: 22%; }
.visual-label.two { right: 13%; bottom: 20%; background: var(--blue); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #def4e9; color: var(--success); font-weight: 900; }

.page-hero { background: linear-gradient(135deg, var(--navy), #0d4f76); color: #fff; padding: 76px 0; }
.page-hero .breadcrumbs { color: #c4dce9; font-size: .9rem; margin-bottom: 14px; }
.page-hero .breadcrumbs a { color: #fff; }
.page-hero h1 { margin: 0; max-width: 850px; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1; letter-spacing: -.05em; }
.page-hero p { max-width: 720px; color: #d7e7f0; font-size: 1.08rem; }
.course-detail { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.content-block + .content-block { margin-top: 44px; }
.content-block h2 { font-size: 2rem; }
.sidebar { position: sticky; top: 104px; }
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-list strong { display: block; color: var(--navy); }
.placeholder-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.placeholder { min-height: 180px; border-radius: 17px; background: linear-gradient(145deg, #edf2f7, #dce7ef); border: 1px dashed #9fb3c4; display: grid; place-items: center; text-align: center; padding: 18px; color: #5c7080; }
.project-card { padding: 0; overflow: hidden; }
.project-thumb { min-height: 190px; display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 950; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.project-body { padding: 22px; }

.cta { background: linear-gradient(135deg, #0a3558, var(--navy)); color: #fff; border-radius: 28px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; position: relative; }
.cta::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -90px; top: -120px; background: rgba(216,165,47,.18); }
.cta h2 { color: #fff; max-width: 640px; }
.cta p { color: #d5e4ef; max-width: 640px; }
.cta .btn { position: relative; z-index: 1; white-space: nowrap; }

.site-footer { background: #06172c; color: #c7d5e2; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 38px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer a { color: #c7d5e2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid, .feature-panel, .notice-layout, .course-detail { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 58px; }
  .hero-card { max-width: 620px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .topbar .container { min-height: 42px; justify-content: center; text-align: center; }
  .topbar .topbar-right { display: none; }
  .brand-subtitle { display: none; }
  .brand-title { font-size: .92rem; max-width: 210px; }
  .brand-logo { width: 50px; height: 50px; }
  .hero-grid { gap: 32px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .quick-links { margin-top: -28px; }
  .quick-grid, .grid-2, .grid-3, .grid-4, .placeholder-gallery { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .cta { padding: 34px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .notice { grid-template-columns: 58px 1fr; }
}
