:root {
  --navy: #092c5f;
  --blue: #075bd3;
  --light-blue: #f3f8ff;
  --text: #172c4a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 32px;
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 488px;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.brand-name {
  margin-left: 4px;
  color: #133c79;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -1px;
}

.brand-tagline {
  margin-left: 28px;
  color: #172a45;
  font-size: 14px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a,
.language {
  transition: color .2s ease;
}

.main-nav a:hover,
.language:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.button {
  min-width: 150px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
}

.button-small {
  min-width: 66px;
  height: 37px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0873dd, #0750c1);
}

.button-outline {
  color: #0759c8;
  background: #fff;
}

.language {
  border: 0;
  margin-left: 8px;
  padding: 8px 22px 8px 10px;
  color: #28364a;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html[lang="en"] .main-nav {
  gap: 30px;
}

html[lang="en"] .brand-tagline {
  margin-left: 20px;
  font-size: 13px;
}

html[lang="en"] .course-card h3 {
  font-size: 14px;
}

html[lang="ja"] .course-card {
  padding-top: 12px;
}

html[lang="ja"] .course-card h3 {
  margin-bottom: 5px;
  font-size: 14px;
}

html[lang="ja"] .course-card p {
  font-size: 11px;
  line-height: 1.45;
}

.hero {
  height: 322px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 32%, rgba(255,255,255,.95), rgba(255,255,255,0) 31%),
    linear-gradient(110deg, #edf6ff 0%, #f8fbff 43%, #e7f3ff 100%);
}

.hero-inner {
  width: 1128px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 42px;
}

.hero h1 {
  margin: 0 0 13px;
  color: #0b356d;
  font-size: 40px;
  line-height: 1.42;
  letter-spacing: 1px;
}

.hero p {
  margin: 0 0 25px;
  color: #173a67;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 25px;
}

.hero-visual {
  position: absolute;
  top: 2px;
  right: -52px;
  width: 572px;
  height: 316px;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 100%);
}

.section {
  padding: 19px 0 28px;
}

.container {
  width: 1174px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 14px;
  color: #0b356d;
  text-align: center;
  font-size: 24px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 21px;
}

.course-card {
  height: 168px;
  padding: 14px 8px 12px;
  text-align: center;
  border: 1px solid #edf1f6;
  border-radius: 9px;
  background: linear-gradient(160deg, #f8fbff, #fff);
  box-shadow: 0 2px 6px rgba(18, 56, 104, .08);
}

.course-card img {
  width: 58px;
  height: 54px;
  object-fit: cover;
  margin-bottom: 2px;
  mix-blend-mode: multiply;
}

.course-card h3,
.learning-item h3 {
  margin: 1px 0 8px;
  color: #102f5d;
  font-size: 16px;
}

.course-card p,
.learning-item p {
  margin: 0;
  color: #303a4a;
  font-size: 12px;
  line-height: 1.65;
}

.learning {
  padding-top: 11px;
  padding-bottom: 25px;
  background: linear-gradient(110deg, #f7fbff, #fff 48%, #f7fbff);
}

.learning h2 {
  margin-bottom: 13px;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.learning-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border-right: 1px solid #dce4ee;
}

.learning-item:last-child {
  border-right: 0;
}

.learning-item img {
  flex: 0 0 70px;
  width: 70px;
  height: 72px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.learning-item h3 {
  margin-bottom: 6px;
}

.enterprise-wrap {
  padding: 8px 0 10px;
  background: #fff;
}

.enterprise-banner {
  width: 1230px;
  height: 154px;
  display: grid;
  grid-template-columns: 570px 1fr;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: #283e88;
}

.enterprise-copy {
  display: flex;
  align-items: center;
  padding: 0 25px;
  color: #fff;
  background: linear-gradient(120deg, #26387c, #2d438e);
}

.enterprise-copy img {
  width: 115px;
  height: 116px;
  margin-right: 20px;
  border-radius: 58px;
  object-fit: cover;
  mix-blend-mode: screen;
}

.enterprise-copy h2 {
  margin: 0 0 7px;
  font-size: 22px;
}

.enterprise-copy p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.enterprise-link {
  display: inline-flex;
  min-width: 107px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4edff;
  border-radius: 4px;
  font-size: 14px;
}

.training-photo {
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.site-footer {
  min-height: 125px;
  padding: 17px 0 8px;
  color: #fff;
  background: linear-gradient(105deg, #0d326d, #092a5b);
}

.footer-grid {
  width: 1190px;
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 38px;
  margin: 0 auto;
}

.footer-grid h3,
.footer-grid strong {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
}

.footer-grid a,
.footer-brand span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.91);
  font-size: 12px;
}

.follow img {
  width: 145px;
  height: 36px;
  object-fit: cover;
}

.copyright {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 18px;
  }

  .brand {
    flex-basis: auto;
  }

  .brand-tagline,
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-inner,
  .container,
  .enterprise-banner,
  .footer-grid {
    width: calc(100% - 40px);
  }

  .hero-visual {
    opacity: .65;
    right: -120px;
  }

  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }

  .enterprise-banner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .language {
    display: none;
  }

  .hero {
    height: 390px;
  }

  .hero-copy {
    padding-top: 35px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-visual {
    width: 390px;
    height: auto;
    top: 118px;
    right: -145px;
    opacity: .45;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .learning-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .learning-item {
    border-right: 0;
    border-bottom: 1px solid #dce4ee;
  }

  .enterprise-banner {
    height: auto;
    display: block;
  }

  .enterprise-copy {
    padding: 18px;
  }

  .training-photo {
    display: block;
  }

  .site-footer {
    padding-bottom: 18px;
  }

  .copyright {
    margin-top: 15px;
  }
}
