/*
 * 岸本国際社労士事務所 — 下層ページ共通
 */

.p-subpage {
  padding: calc(var(--header-height) + 48px) 0 var(--section-padding-sp);
  background-color: var(--c-bg-gray);
}

.p-subpage__article {
  max-width: 800px;
  margin-inline: auto;
  padding: 40px 24px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background-color: var(--c-bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.p-subpage__head {
  margin-bottom: 32px;
}

.p-subpage__ttl {
  position: relative;
  padding-bottom: 16px;
  font-size: var(--fz-h2-md);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-heading);
}

.p-subpage__ttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background-color: var(--c-accent);
}

.p-subpage__body h2 {
  margin: 40px 0 16px;
  font-size: var(--fz-h3);
  line-height: var(--lh-h3);
}

.p-subpage__body h2:first-child {
  margin-top: 0;
}

.p-subpage__body p {
  margin-bottom: 16px;
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  color: var(--c-text-sub);
}

.p-subpage__body p:last-child {
  margin-bottom: 0;
}

.p-subpage__body ul,
.p-subpage__body ol {
  margin-bottom: 16px;
  padding-left: 1.5em;
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  color: var(--c-text-sub);
}

.p-subpage__body li + li {
  margin-top: 8px;
}

.p-subpage__body a {
  color: var(--c-main);
  text-decoration: underline;
}

.p-subpage__body a:hover,
.p-subpage__body a:focus {
  color: #084a9f;
}

.p-subpage__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* お知らせ詳細 */

.p-news-detail__date {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-family-en);
  font-size: var(--fz-small);
  line-height: 1.6;
  color: var(--c-text-sub);
}

.p-news-detail__eyecatch {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
  border-radius: 10px;
  object-fit: cover;
  /* aspect-ratio: 16 / 9; */
}

@media (min-width: 768px) {
  .p-subpage {
    padding-block: calc(var(--header-height) + 64px) var(--section-padding-pc);
  }

  .p-subpage__article {
    padding: 56px 48px;
  }

  .p-subpage__head {
    margin-bottom: 40px;
  }

  .p-subpage__ttl {
    font-size: var(--fz-h2);
  }

  .p-subpage__actions {
    margin-top: 48px;
  }
}
