/* kv */
.kv-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 545px;
  background-image: url("../images/about_bg.jpg");
  background-position: center;
  background-size: cover;
}
.kv-wrapper {
  color: #fff;
  text-align: center;
}
.kv-subtitle {
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0px 0px 4px #000000;
}
.kv-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0px 4px 30px #000000;
}

@media (max-width: 767px) {
  .kv-section {
    height: 240px;
    background-image: url("../images/about_bg_sp.jpg");
  }
  .kv-wrapper {
    text-align: center;
  }
  .kv-subtitle {
    margin: 0 0 8px;
    font-size: 0.75rem;
  }
  .kv-title {
    font-size: 1.25rem;
  }
}

/* メインセクション */
.article-section {
  padding: 124px 18px;
}
.article-section-inner {
  display: grid;
  grid-template-areas: "aside article";
  grid-template-columns: clamp(300px, 25%, 373px) 1fr;
  max-width: 1370px;
  margin: 0 auto;
}

.aside-layout {
  grid-area: aside;
}
.aside-container {
  position: sticky;
  top: 1rem;
  padding: 30px;
  color: #fff;
  background-color: #0f3e8f;
}
.aside-container > ul {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0;
  list-style: none;
}
.aside-container > ul > li a {
  color: #fff;
  text-decoration: none;
}
.aside-container > ul > li a:hover {
  color: #ddd;
}
.aside-container > ul > li a.active {
  padding-left: 8px;
  color: #ffcf6e;
  border-left: 4px solid #ffcf6e;
}

.article-layout {
  grid-area: article;
  padding: 0 7%;
}
.article-container {
  margin: 0 0 60px;
  border-bottom: solid 1px #cecece;
}
.article-container-subtitle {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #0f3e8f;
}
.article-container-title {
  font-size: 2rem;
  font-weight: bold;
}

.article-container > ul {
  padding: 0;
  list-style: none;
}
.article-container > ul > li {
  border-top: solid 1px #cecece;
}

.about-article {
  display: grid;
  grid-template-areas:
    "image title"
    "image text"
    ".     link";
  grid-template-rows: auto auto auto;
  grid-template-columns: clamp(200px, 50%, 373px) 1fr;
  padding: 24px 0 20px;
}
.about-article-image {
  grid-area: image;
  margin: 0 30px 0 0;
}
.about-article-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-article-title-wrapper {
  grid-area: title;
}
.about-article-subtitle {
  margin: 0 0 12px;
  font-size: 1.125rem;
  color: #0f3e8f;
}
.about-article-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.about-article-text-wrapper {
  grid-area: text;
  margin-top: 16px;
  font-size: 1em;

  color: #5f6b7d;
  text-align: justify;
}
.about-article-text-wrapper > p {
  line-height: 2em;
}
.about-article-text-wrapper > ul {
  padding: 0 0 0 1em;
  margin: 0.5em 0 0;
  line-height: 1.5em;
}
.about-article-link {
  display: flex;
  grid-area: link;
  align-items: center;
  justify-content: flex-end;
  justify-self: flex-end;
  margin: 16px 0 0;
  font-weight: bold;
  color: #0f3e8f;
  text-decoration: none;
  border-bottom: solid 1px #5f6b7d;
}
.about-article-link::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 8px;
  content: "";
  background-image: url("../images/icon_arrow_blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.about-article-link:hover {
  color: #0a2e6b;
}

@media (max-width: 767px) {
  .article-section {
    padding: 20px;
  }
  .article-section-inner {
    grid-template-areas:
      "aside"
      "article";
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding: 40px 0;
  }
  .article-container-subtitle {
    font-size: 1rem;
  }
  .article-container-title {
    font-size: 1.25rem;
  }

  .about-article {
    display: grid;
    grid-template-areas:
      "image"
      "title"
      "text"
      "link";
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .about-article-image {
    margin: 0 0 20px;
  }
  .about-article-subtitle {
    margin: 0 0 6px;
    font-size: 0.85rem;
  }
  .about-article-title {
    margin: 0 0 12px;
    font-size: 1rem;
  }
  .about-article-text-wrapper {
    margin: 0;
    font-size: 0.8rem;
  }
  .about-article-text-wrapper > p {
    line-height: 1.5em;
  }
  .about-article-text-wrapper > ul {
    margin: 0;
  }
  .about-article-link {
    font-size: 1rem;
  }
}
