:root {
  --news-blue: #123fce;
  --news-deep: #06113c;
  --news-line: #d7e1ff;
  --news-soft: #f5f8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: anywhere;
  background: #fff;
  color: var(--news-deep);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .055em;
}

.kp-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--news-blue);
  font-weight: 700;
  transform: translateY(-150%);
}

.kp-skip-link:focus {
  transform: translateY(0);
}

a {
  color: var(--news-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:focus-visible {
  outline: 3px solid #8bb7ff;
  outline-offset: 4px;
}

.news-main {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
  padding: 82px 0 132px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin-bottom: 64px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .035em;
}

.article-head,
.article-body {
  width: min(100%, 880px);
  margin-right: auto;
}

.article-head {
  padding-bottom: 38px;
  border-bottom: 4px solid #0b257e;
}

.page-label {
  margin: 0 0 22px;
  color: var(--news-blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .13em;
}

.page-title {
  margin: 0;
  color: var(--news-deep);
  font-size: clamp(50px, 6.3vw, 78px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .02em;
}

.article-date {
  display: block;
  margin-top: 28px;
  color: var(--news-blue);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .045em;
}

.article-body {
  padding-top: 52px;
  font-weight: 400;
}

.article-body > p {
  margin: 0;
}

.article-body > p + p {
  margin-top: 26px;
}

.article-body h2 {
  position: relative;
  margin: 66px 0 24px;
  padding-bottom: 18px;
  color: var(--news-deep);
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .025em;
}

.article-body h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 99px;
  background: var(--news-blue);
}

.article-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--news-line);
}

.article-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 42px 14px 18px;
  border: 1px solid var(--news-line);
  border-radius: 8px;
  background: var(--news-soft);
  color: var(--news-deep);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.article-links a::after {
  content: "→";
  position: absolute;
  right: 18px;
  color: var(--news-blue);
  font-size: 20px;
}

.article-links a:hover {
  border-color: var(--news-blue);
  box-shadow: 0 10px 30px rgba(18, 63, 206, .1);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  body {
    font-size: 15.5px;
    line-height: 2.05;
    letter-spacing: .045em;
  }

  .news-main {
    width: min(100% - 32px, 1040px);
    padding: 52px 0 100px;
  }

  .breadcrumb {
    gap: 0 10px;
    margin-bottom: 36px;
    font-size: 14px;
  }

  .article-head {
    padding-bottom: 30px;
    border-bottom-width: 3px;
  }

  .page-label {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .page-title {
    font-size: 42px;
  }

  .article-date {
    margin-top: 22px;
    font-size: 20px;
  }

  .article-body {
    padding-top: 36px;
  }

  .article-body > p + p {
    margin-top: 24px;
  }

  .article-body h2 {
    margin-top: 50px;
    padding-bottom: 15px;
    font-size: 25px;
  }

  .article-body h2::after {
    width: 48px;
    height: 3px;
  }

  .article-links {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .article-links a {
    transition: none;
  }
}
