@charset "utf-8";

.header {
  width: 100%;
  margin: 0 auto;
}

.header, .headerLogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.headerLogo {
  margin: 32px 0 32px 48px;
  align-items: center;
}

.headerLogo svg {
  width: 202px;
  height: 20px;
}

.headerLogoCaption {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-left: 16px;
  font-feature-settings: initial;
}

.headerPR {
  border: solid 1px;
  padding: 5px 10px;
  margin-right: 48px;
  font-size: 1.2rem;
}

.border {
  border-color: #e6e6e6;
  border-top-width: 1px;
  border-top-style: solid;
}

.footer {
  width: 100%;
  background-color: #1C32A5;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.8;
  padding: 24px 0;
  text-align: center;
  margin-top: auto;
}

.footer a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer a:hover {
  opacity: 0.7;
}

.footer > h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.footer > ul {
  list-style: none;
  margin: 8px auto 24px;
  padding: 0;
  max-width: 100%;
}

.footer > ul > li {
  display: inline-block;
  margin-bottom: 8px;
}

.footer > ul > li:last-child a:after {
  content: "";
  margin: 0;
}

.footer > ul > li a:after {
  content: "|";
  margin: 0 4px;
}

.footer > ul > li > a > svg {
  position: relative;
  top: 3px;
  margin-left: 4px;
}

.nikkeiLogo {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.nikkeiLogo > span {
  display: inline-block;
  vertical-align: top;
  margin-left: 24px;
}

@media screen and (max-width: 834px) {
  .header {
    width: 100%;
    height: 54px;
    border-color: #E6E6E6;
    box-sizing: border-box;
  }

  .headerLogo {
    margin: 0;
  }

  .headerLogo > h1 {
    margin-left: 16px;
  }

  .headerLogo > h1 > a > svg {
    width: 135px;
    height: 13px;
    vertical-align: middle;
  }

  .headerLogoCaption {
    display: none;
  }

  .headerPR {
    padding: 4px 8px;
    margin-right: 16px;
    font-size: 0.8rem;
  }

  .footer {
    display: block;
    position: relative;
    padding: 22px 0;
  }

  .footer > h4 {
    line-height: 1.5;
  }

  .footer > ul {
    width: 360px;
  }

  .footer > ul:nth-child(n+3) {
    margin-top: calc(-1 * 12px);
  }

  .footer > ul > li {
    margin-bottom: 8px;
  }

  .footer > ul > li:nth-child(3) a:after {
    content: "";
    margin: 0;
  }

  .nikkeiLogo > span {
    display: block;
    margin: 12px 0 0 0;
    width: auto;
    text-align: center;
  }
}