@charset "UTF-8";

/*==================================================
    ブログ共通ページ
==================================================*/
.blog-page,
.blog-detail-page {
  background: #f8fafb;
}

.blog-page .global-nav a[aria-current="page"],
.blog-detail-page .global-nav a[aria-current="page"] {
  color: #2785ad;
}

.blog-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding: 78px 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(95, 219, 215, .23), transparent 28%),
    linear-gradient(125deg, #123b56 0%, #185c74 62%, #16818a 100%);
}

.blog-page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}

.blog-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -90px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255, 255, 255, .035);
}

.breadcrumb {
  display: flex;
  margin-bottom: 54px;
  align-items: center;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  gap: 12px;
}

.breadcrumb a {
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.blog-breadcrumb-wrap {
  border-bottom: 1px solid #e5ecef;
  background: #fff;
}

.blog-breadcrumb-wrap .breadcrumb {
  min-height: 54px;
  margin: 0 auto;
  color: #758995;
}

.blog-breadcrumb-wrap .breadcrumb a:hover {
  color: #247da2;
}

.blog-page-hero__en {
  margin-bottom: 8px;
  color: #7fe2df;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}

.blog-page-hero h1 {
  margin: 0;
  font-family: var(--font-round);
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1.1;
  letter-spacing: .055em;
}

.blog-page-hero h1 + p {
  margin: 17px 0 0;
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.blog-page-hero__lead {
  margin: 27px 0 0 !important;
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.9;
  letter-spacing: .02em !important;
}

.blog-index {
  position: relative;
  background:
    radial-gradient(circle at 8% 8%, rgba(52, 159, 180, .08), transparent 24%),
    #f8fafb;
}

.blog-index__heading {
  align-items: end;
}

.blog-index__grid {
  gap: 30px;
}

.blog-index__grid .blog-card {
  min-width: 0;
  border-width: 1px;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(18, 45, 64, .08);
}

.blog-index__grid .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(18, 45, 64, .14);
}

.blog-index__grid .blog-card__body {
  padding: 28px 28px 31px;
}

.blog-cta {
  margin-top: 0;
}

.blog-page .floating-fkun-nav,
.blog-detail-page .floating-fkun-nav {
  z-index: 920;
}

/* ▼ ブログページのスクロール表示 */
.blog-page .reveal,
.blog-detail-page .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s ease var(--reveal-delay, 0ms),
    transform .7s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}

.blog-page .reveal.is-visible,
.blog-detail-page .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .blog-page-hero {
    min-height: 340px;
    padding: 62px 0 68px;
  }

  .blog-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-index__grid .blog-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .blog-page-hero {
    min-height: 285px;
    padding: 42px 0 52px;
  }

  .blog-page-hero::after {
    top: -120px;
    right: -150px;
    width: 320px;
    height: 320px;
  }

  .breadcrumb {
    max-width: 100%;
    margin-bottom: 38px;
    overflow: hidden;
    font-size: 9px;
    white-space: nowrap;
  }

  .breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .blog-page-hero__en {
    text-align: center;
  }

  .blog-page-hero h1,
  .blog-page-hero h1 + p {
    text-align: center;
  }

  .blog-page-hero__lead {
    margin-top: 22px !important;
    font-size: 13px !important;
    text-align: center;
  }

  .blog-page-hero h1 {
    font-size: clamp(48px, 16vw, 64px);
  }

  .blog-page-hero h1 + p {
    margin-top: 12px;
    font-size: 17px;
  }

  .blog-index {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .blog-index__heading {
    margin-bottom: 40px;
  }

  .blog-index__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-index__grid .blog-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .blog-index__grid .blog-card__body {
    padding: 24px 22px 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .reveal,
  .blog-detail-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
