@font-face {
  font-family: 'footer_bar';
  src: url('../fonts/footer_bar.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Blog archive */
.blog-archive {
  max-width: none;
  margin: 0 auto;
  padding: clamp(56px, 12vw, 160px) clamp(20px, 8vw, 100px);
}

.blog-archive__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 80px 64px;
}

.blog-card__link {
  display: block;
  color: var(--c-navy);
}

.blog-card {
  flex: 0 0 calc(50% - 32px);
  min-width: 0;
}

.blog-card__image {
  aspect-ratio: 2.07 / 1;
  overflow: hidden;
  width: 100%;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card__link:hover .blog-card__img {
  transform: scale(1.03);
}

.blog-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--c-muted);
  font-size: 12px;
}

.blog-card__body {
  padding-top: 28px;
}

.blog-card__meta {
  color: var(--c-muted);
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.blog-card__title {
  color: var(--c-navy);
  font-size: 22px;
  line-height: 1.6;
  min-height: 70.4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-archive .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: clamp(48px, 10vw, 96px);
  padding-top: clamp(32px, 8vw, 56px);
  border-top: 1px solid rgba(16, 28, 76, .12);
}

.blog-archive .page-numbers {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  color: var(--c-navy);
  font-family: var(--f-en);
  font-size: 14px;
  transition: background-color .2s ease, color .2s ease;
}

.blog-archive .page-numbers.current {
  color: #fff;
  background: var(--c-navy);
}

.blog-archive a.page-numbers:hover,
.blog-archive a.page-numbers:focus-visible {
  color: #fff;
  background: var(--c-red);
}

.blog-archive .page-numbers.prev,
.blog-archive .page-numbers.next {
  font-size: 24px;
  line-height: 1;
}

.blog-archive__empty {
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 640px) {
  .blog-archive__grid {
    gap: 56px 0;
  }

  .blog-card {
    flex-basis: 100%;
  }

  .blog-card__title {
    font-size: 20px;
  }
}

/* Blog single article */
.bp__inner {
  max-width: var(--w-read-wide);
  margin: 0 auto;
  --bp-top-gutter: clamp(56px, 12vw, 120px);
  --bp-gutter: clamp(20px, 8vw, 40px);
  padding: var(--bp-top-gutter) var(--bp-gutter) 0;
}

.bp__eyecatch {
  margin-bottom: 32px;
}

.bp__eyecatch-img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .bp__eyecatch {
    width: calc(100% + var(--bp-gutter) + var(--bp-gutter));
    margin-top: calc(0px - var(--bp-top-gutter));
    margin-left: calc(0px - var(--bp-gutter));
    margin-right: calc(0px - var(--bp-gutter));
  }
}

.bp__meta {
  color: var(--c-muted);
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.bp__content {
  color: var(--c-text);
  font-size: 16px;
  line-height: var(--lh-long);
}

.bp__content > * + * {
  margin-top: 1.6em;
}

.bp__content h2 {
  position: relative;
  padding-left: 26px;
  font-family: var(--f-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--c-navy);
  line-height: var(--lh-head);
  margin-top: 2.2em;
}

.bp__content h2::before {
  content: '';
  position: absolute;
  top: calc(.75em - 6px);
  left: 0;
  width: 21px;
  height: 11px;
  background: var(--c-red);
  transform: var(--skew-kicker);
}

@media (min-width: 769px) {
  .bp__content h2 {
    font-size: 28px;
  }
}

.bp__content h3 {
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: var(--lh-head);
  margin-top: 2em;
}

.bp-heading {
  margin-bottom: 56px;
}

.bp-heading__marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.bp-heading__marker span:first-child {
  width: 30px;
  height: 11px;
  background: var(--c-red);
  transform: var(--skew-kicker);
}

.bp-heading__marker span:last-child {
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: var(--ls-kicker);
  color: var(--c-navy);
}

.bp__content .bp-heading__title {
  margin: 0 0 20px;
  font-family: var(--f-head);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--c-navy);
}

.bp__content ul,
.bp__content ol {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: .6em;
}

.bp__content li {
  line-height: var(--lh-long);
}

.bp__content a {
  color: var(--c-navy);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.bp__content a:hover {
  color: var(--c-red);
}

.bp__content a.bp__page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  padding: 16px 24px;
  background: var(--c-navy);
  color: var(--c-offwhite);
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color .2s ease;
}

.bp__content a.bp__page-link:hover {
  background: var(--c-red);
  color: var(--c-offwhite);
}

.bp__content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bp__content figure {
  margin: 0;
}

.bp__content figcaption {
  color: var(--c-muted);
  font-size: 13px;
  margin-top: .6em;
}

.bp__content blockquote {
  border-left: 3px solid var(--c-red);
  padding-left: 1.2em;
  color: var(--c-muted);
  font-style: italic;
}

.bp__content strong {
  color: var(--c-navy);
}

/* [clink] 内部リンクカード（本番サイトの .cardlink に準拠） */
.bp__content a.clink {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  border: 1px solid var(--c-navy);
  background: #fff;
  padding: 20px 20px 15px;
  margin: 15px 0 2em;
  transition: border-color .2s ease;
}

@media (min-width: 641px) {
  .bp__content a.clink:hover,
  .bp__content a.clink:focus-visible {
    border-color: var(--c-red);
  }
}

.clink__thumb {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f2f1;
}

.clink__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.clink:hover .clink__img {
  transform: scale(1.06);
}

.clink__body {
  flex: 1 1 0;
  min-width: 0;
  padding-top: 5px;
}

.clink__date {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--c-text);
  margin-bottom: 5px;
}

.clink__date::before {
  content: '\e912';
  position: absolute;
  top: 50%;
  left: 0;
  font-family: 'footer_bar';
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  transform: translateY(-50%);
}

.clink__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-navy);
  margin-bottom: 5px;
}

.clink__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .bp__content a.clink {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 15px;
    row-gap: 0;
    padding: 12px;
  }

  .clink__thumb {
    width: 96px;
    height: 96px;
    grid-row: 1 / span 2;
  }

  .clink__body {
    display: contents;
  }

  .clink__date,
  .clink__title {
    grid-column: 2;
  }

  .clink__title {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .clink__desc {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

}

.bp-adjacent {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: clamp(56px, 10vw, 96px);
  padding-top: clamp(32px, 6vw, 56px);
  border-top: 1px solid var(--line-navy);
}

.bp-adjacent__link {
  flex: 1 1 0;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.bp-adjacent__link--next {
  justify-content: flex-end;
  text-align: right;
}

.bp-adjacent__thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f2f1;
}

.bp-adjacent__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bp-adjacent__body {
  min-width: 0;
}

.bp-adjacent__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.bp-adjacent__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-adjacent__link:hover .bp-adjacent__title {
  color: var(--c-red);
}

@media (max-width: 640px) {
  .bp-adjacent {
    flex-direction: column;
    gap: 28px;
  }

  .bp-adjacent__link--next {
    justify-content: flex-start;
    text-align: left;
  }
}

.bp__back-wrap {
  max-width: var(--w-read-wide);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 8vw, 40px) clamp(56px, 10vw, 120px);
}

.bp__back-link {
  color: var(--c-navy);
  font-weight: 700;
  font-size: 14px;
}

.bp__back-link:hover {
  color: var(--c-red);
}
