:root {
  --primary-color: #00327e;
  --secondary-color: #01337e;
  --tertiary-color: #ff7200;
  --background-color: #f9f9f9;
  --darkgray-color: #c2c2c2;
  --lightgray-color: #f7f7f7;
  --white-color: #ffffff;
  --footerbg-color: #011c44;

  --line-color: #dddddd;
  --body-color: #444;
}

html {
  font-size: 62.5%;
}

/* @media (max-width: 1440px) {
  html {
    font-size: 0.694444444444vw;
  }
} */
@media (max-width: 1202px) {
  html {
    font-size: 0.8319467554vw;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 1.30208333333vw;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 2.17391304348vw;
  }
}

body {
  font-size: 1.6rem;
  color: var(--body-color);
  word-break: keep-all;
}

@media (max-width: 460px) {
  body {
    /* line-height: 1.5; */
    overflow-x: hidden;
  }
}

p {
  font-size: 1.6rem;
  line-height: 1.5;
}

.fs {
  font-size: 1.3rem;
}

.inner {
  max-width: 1410px;
  margin: 0 auto;
}

@media (max-width: 1442px) {
  .inner {
    margin: 0 1.6rem;
  }
}

.w_inner {
  max-width: 1410px;
  margin: 0 auto;
}

/* 1410--1442px 1170--1202px*/

@media (max-width: 1442px) {
  .w_inner {
    margin: 0 1.6rem;
  }
}

.default {
  position: relative;
  padding: 10.4rem 0;
}

.default.bg {
  background: var(--background-color);
}

.default.bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: 1px;
  height: 4rem;
  background: var(--primary-color);
  transform: translate(0, -50%);
}

.title {
  margin-bottom: 4rem;
}

.title h2 {
  font-size: 4rem;
  font-weight: 100;
  line-height: 1.25;
}

.title h2 em {
  font-weight: 800;
}

.title .desc {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  font-weight: 300;
}

.a_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  height: 4rem;
  border-radius: 4rem;
  padding: 0 1.6rem 0 2.4rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.a_btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 4rem;
  border-radius: 4rem;
  background: var(--primary-color);
}

.icon_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 4.8rem;
  padding: 0 9.6rem 0 4.8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.icon_btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: var(--primary-color);
}
.icon_btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 4.8rem;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/arrow-right.svg) no-repeat
    center center;

  filter: invert();
}

.sub_title {
  /* max-width: calc((100% - 141rem) / 2 + 141rem); */
  background: var(--lightgray-color);
  margin-left: auto;

  padding: 6.4rem 0 0 0;
}

.sub_title .title h2 {
  font-size: 2.4rem;
  font-weight: 100;
}

.sub_title .title .desc {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  font-weight: 300;
}

.sub_title .left_inner {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  max-width: 141rem;
  margin: 0 auto;
}

.sub_nav {
  text-align: right;
  margin-top: -2rem;
  margin-bottom: 8rem;
  line-height: 4rem;
}

.sub_nav .right_inner {
  max-width: 117rem;
  margin-left: auto;

  padding: 0 1.6rem 0 0;

  background: var(--secondary-color);
  color: var(--lightgray-color);
}

.sub_content {
  margin-bottom: 8rem;
}

.sub_content .page_title {
  margin-bottom: 4.8rem;
}

.sub_content .page_title h3 {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-color);
  white-space: nowrap;
}

.sub_content .page_title h3 strong {
  font-size: 4.8rem;
  font-weight: 700;
}

.sub_content .content strong {
  display: block;
  margin-bottom: 3.2rem;
  font-size: 3.2rem;
  font-weight: 700;
  /* font-family: "GB"; */
}

@media (max-width: 1440px) {
  .sub_title {
    width: auto;
    margin: 0 0;
    padding: 4rem 1.6rem 0 1.6rem;
  }

  .sub_content .page_title h3 strong {
    font-size: 3.2rem;
  }
}

.flx {
  display: flex;
  gap: 3rem;
}

.flx > * {
  flex: 1;
  min-width: 0;
}

.flx img {
  width: 100%;
}

.flx strong {
  display: block;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  line-height: 2.4rem;
  font-size: 2rem;
  font-weight: 600;
}

.flx p {
  font-size: 1.5rem;
  opacity: 0.75;
}

@media (max-width: 460px) {
  .flx {
    flex-direction: column;
    gap: 4rem;
  }
}

.grd3 {
  display: grid;
  gap: 4rem 3rem;
  grid-template-columns: repeat(
    auto-fit,
    minmax(calc((1170px - 3rem * 2) / 3), 1fr)
  );
}

.grd4 {
  display: grid;
  gap: 4rem 3rem;
  grid-template-columns: repeat(
    auto-fit,
    minmax(calc((1170px - 3rem * 3) / 4), 1fr)
  );
}

#footer {
  padding: 8rem 0 5.6rem 0;
  background: var(--footerbg-color);
  color: var(--lightgray-color);
  border-top: 1px solid #ddd;

  font-size: 1.4rem;
  line-height: 1.5;
}

#footer .inner {
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  gap: 8px;
}

#footer .info {
  display: flex;
  gap: 2.4rem;
}

#footer .info li {
  position: relative;
  /* text-align: center; */
  white-space: nowrap;
}

#footer .info li ~ li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;

  transform: translate(0, -50%);

  width: 1px;
  height: 0.5em;

  background: #ccc;
}

@media (max-width: 768px) {
  #footer .info {
    flex-direction: column;
    gap: 0;
  }

  #footer .info li ~ li::before {
    display: none;
  }
}

.to_top {
  position: fixed;
  left: 50%;
  bottom: 18rem;
  z-index: 998;

  transform: translate(-50%, 0);

  max-width: calc(1410px + 160px);
  width: 100%;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s;
}

.to_top button {
  position: absolute;
  right: 0;
  width: 4rem;
  height: 4rem;

  background: var(--tertiary-color);

  border-radius: 50%;
}

.to_top button svg {
  margin-top: 2px;
}

.to_top.on {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .to_top {
    position: fixed;
    left: auto;
    right: -1.6rem;
    bottom: 14rem;

    width: auto;
  }

  .to_top.on {
    right: 1.6rem;
  }
}

.design {
  margin-top: 1.6rem;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
}
