:root {
  --primary: #346bea;
  --primary-dark: #314368;
  --black: #32281e;
  --gray: #595d60;
  --tips: #808183;
  --red: #fe072f;
  --white: #f8f4f0;
}

* {
  margin: 0;
}

img,
a {
  user-select: none;
}

a {
  text-decoration: none;
  color: #333333;
}

img {
  object-fit: cover;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  user-select: none;
  color: var(--black);
}

h4 {
  font-size: 28px;
  text-align: center;
}

h6 {
  font-size: 24px;
  font-weight: 400;
}

.line-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#page-bg {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#page-bg .section-main h4 {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

#page-bg .section-main p {
  line-height: 28px;
  color: var(--primary-dark);
}

.md {
  display: none;
}

.lg {
  display: none;
}

@media screen and (max-width: 767px) {
  .md {
    display: block;
  }

  #page-bg {
    height: 527px;
  }

  #page-bg .section-main {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    text-align: center;
  }

  #page-bg br {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  body {
    min-width: 1200px;
  }

  h4 {
    font-size: 32px;
  }

  h6 {
    font-size: 28px;
    font-weight: 400;
  }

  .lg {
    display: block;
  }

  .section-main {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  #page-bg {
    height: 560px;
  }

  #page-bg .section-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #page-bg .section-main h4 {
    text-align: left;
    font-size: 48px;
    margin-bottom: 24px;
  }

  #page-bg .section-main p {
    line-height: 32px;
  }

  #nav {
    display: flex;
    gap: 10px;
  }
}
