/* Header */
.js-header.is-scrolled {
  box-shadow: 0 1px 12px rgba(6, 72, 141, 0.08);
}

.header-brand__tag {
  border-left: 1px solid rgba(28, 160, 242, 0.35);
  padding-left: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: #06488D;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .header-brand__tag {
    padding-left: 0.75rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .header-brand__tag {
    padding-left: 1rem;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
  }
}

.menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.menu-icon__line {
  position: absolute;
  right: 0;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1CA0F2 0%, #06488D 100%);
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.25s ease, width 0.35s ease, top 0.35s ease, bottom 0.35s ease;
}

.menu-icon__line:nth-child(1) {
  top: 0;
  width: 22px;
}

.menu-icon__line:nth-child(2) {
  top: 6px;
  width: 13px;
}

.menu-icon__line:nth-child(3) {
  bottom: 0;
  width: 17px;
}

.is-menuopen .menu-icon__line:nth-child(1) {
  top: 6px;
  width: 22px;
  transform: rotate(45deg);
}

.is-menuopen .menu-icon__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.is-menuopen .menu-icon__line:nth-child(3) {
  bottom: auto;
  top: 6px;
  width: 22px;
  transform: rotate(-45deg);
}

.header-cta {
  align-self: stretch;
  min-width: 8.5rem;
  padding-inline: 1.5rem;
  background: linear-gradient(90deg, #1CA0F2 0%, #06488D 100%);
  text-decoration: none;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.header-cta--block {
  align-self: auto;
  width: 100%;
  min-width: 0;
  border-radius: 9999px;
  padding-block: 1rem;
  box-shadow: 0 8px 24px rgba(6, 72, 141, 0.22);
}

@media (min-width: 640px) {
  .header-cta {
    min-width: 9.5rem;
    padding-inline: 2rem;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1CA0F2 0%, #06488D 52%, #043566 100%);
  font-weight: 500;
}

.site-footer__heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 500;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__link:hover {
  color: #fff;
}

/* Mobile fixed CTA（hero通過後に表示） */
.js-mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.js-mobile-cta.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta-bar {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -8px 32px rgba(6, 72, 141, 0.22);
}

.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: filter 0.25s ease;
}

.mobile-cta-bar__btn:active {
  filter: brightness(0.95);
}

.mobile-cta-bar__btn--mail {
  background: linear-gradient(90deg, #1CA0F2 0%, #06488D 100%);
  color: #fff;
}

.mobile-cta-bar__btn--tel {
  background: #fff;
  color: #06488D;
}

.mobile-cta-bar__btn svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 1280px) {
  .js-mobile-cta {
    display: none;
  }
}

@media (max-width: 1279px) {
  body.is-mobile-cta-visible {
    padding-bottom: 3.25rem;
  }
}

.nav-mobile-details summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-details[open] .nav-mobile-chevron {
  transform: rotate(180deg);
}

.nav-mobile-chevron {
  transition: transform 0.2s ease;
}

/* ヒーロー：タイトル */
.p-kv__title {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
  .p-kv__title {
    line-height: 3.5rem;
  }
}

.p-kv__copy {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* ヒーロー：平行四辺形タグ */
.p-kv__tags {
  gap: 0.625rem;
}

.kv-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.kv-tag span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.kv-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: skewX(-12deg);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(6, 72, 141, 0.25);
}

.kv-tag:nth-child(1)::before {
  background: linear-gradient(135deg, rgba(28, 160, 242, 0.95) 0%, rgba(6, 72, 141, 0.9) 100%);
}

.kv-tag:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(6, 72, 141, 0.92) 0%, rgba(28, 160, 242, 0.85) 100%);
}

.kv-tag:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(28, 160, 242, 0.88) 0%, rgba(4, 56, 110, 0.95) 100%);
}


/* ========================================
   Hero slideshow
   ======================================== */
.p-kv__scene img {
  object-fit: cover;
}

@media (max-width: 767px) {
  .p-kv__scene img {
    object-position: 65% center;
  }
}

.p-kv__scene {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: opacity, transform;
}

.p-kv__scene.is-acitve {
  opacity: 1 !important;
  z-index: 2;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 6s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Text entrance — 初期非表示 → ふわっと表示（二段階クラスなし） */
.p-kv__label,
.p-kv__title,
.p-kv__copy,
.p-kv__tags,
.p-kv__scroll,
.p-kv .js-kv-dots {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease, transform 1s ease;
}

.p-kv.is-loaded .p-kv__label,
.p-kv.is-loaded .p-kv__title,
.p-kv.is-loaded .p-kv__copy,
.p-kv.is-loaded .p-kv__tags,
.p-kv.is-loaded .p-kv__scroll,
.p-kv.is-loaded .js-kv-dots {
  opacity: 1;
  transform: none;
}

/* Scroll indicator */
.c-scrolldown__label {
  writing-mode: vertical-rl;
  animation: scrolldown 2s ease-in-out infinite;
}

@keyframes scrolldown {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

/* Slide dots */
.kv-dot.is-active {
  width: 2rem;
  background-color: #fff;
}

.kv-dot:not(.is-active) {
  width: 1rem;
  background-color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   4つの対応（elematec p-service 参考）
   ======================================== */
.p-process__deco {
  position: absolute;
  top: 2.75rem;
  left: 0;
  z-index: 2;
  font-size: clamp(6rem, 26vw, 13rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.03);
  transform: translateX(-6.8%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .p-process__deco {
    top: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .p-process__deco {
    top: 3.75rem;
    font-size: clamp(7rem, 18vw, 14rem);
  }
}

.p-process__intro {
  padding-top: 0;
}

.p-process__onestop {
  padding-top: 0;
}

@media (min-width: 1024px) {
  .p-process__intro,
  .p-process__onestop {
    padding-top: 2.25rem;
  }
}

.p-process {
  min-height: 28rem;
}

@media (min-width: 768px) {
  .p-process {
    min-height: 31.25rem;
  }
}

.p-process__figure {
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}

.p-process__figure.is-active {
  opacity: 1;
  z-index: 1;
}

.p-process__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.p-process__item:hover,
.p-process__item.is-active {
  background: #fff;
  border-color: #1CA0F2;
  box-shadow: 0 8px 24px rgba(6, 72, 141, 0.15);
}

.p-process__item-body {
  flex: 1;
  min-width: 0;
}

.p-process__item-head {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-bottom: 0.4375rem;
  font-size: 0.875rem;
}

.p-process__num {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1CA0F2;
}

.p-process__item em {
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1CA0F2;
}

.p-process__item-title {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: #06488D;
}

.p-process__item-desc {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #4a5568;
}

.p-process__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: #E6F3FB;
  color: #06488D;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.p-process__item:hover .p-process__icon,
.p-process__item.is-active .p-process__icon {
  background: #06488D;
  color: #fff;
}

.p-process__arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-top: 0.75rem;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #1CA0F2;
  transition: border-left-color 0.25s ease;
}

.p-process__item:hover .p-process__arrow,
.p-process__item.is-active .p-process__arrow {
  border-left-color: #06488D;
}

/* ========================================
   選ばれる理由
   ======================================== */
.p-reason__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(6, 72, 141, 0.08);
}

.p-reason__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.p-reason__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
}

.p-reason__head {
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.p-reason__head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #1CA0F2, #06488D);
  transform: translateX(-50%);
}

.p-reason__num {
  display: block;
  margin-bottom: -1.5rem;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(28, 160, 242, 0.14);
}

.p-reason__title {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: #06488D;
}

.p-reason__text {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.85;
  color: #4a5568;
  text-align: left;
}

.p-reason__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 3rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: #06488D;
}

.p-reason__footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 3rem;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.p-reason__footer-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.625rem;
  width: fit-content;
  max-width: 100%;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: #06488D;
  text-align: left;
}

.p-reason__footer-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #06488D;
  color: #fff;
}

/* ========================================
   調査事例（WORKS）
   ======================================== */
.p-works__slider {
  width: 100%;
}

.p-works .js-works-swiper {
  overflow: hidden;
  width: 100%;
}

.p-works:not(.p-works--grid) .swiper-slide {
  width: 17.5rem;
  height: auto;
}

@media (min-width: 768px) {
  .p-works:not(.p-works--grid) .swiper-slide {
    width: 21rem;
  }
}

@media (min-width: 1280px) {
  .p-works:not(.p-works--grid) .swiper-slide {
    width: 23rem;
  }
}

.p-works__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(6, 72, 141, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-works__card:hover {
  box-shadow: 0 8px 32px rgba(6, 72, 141, 0.14);
  transform: translateY(-2px);
}

.p-works__image-wrap {
  overflow: hidden;
}

.p-works__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-works__card:hover .p-works__image {
  transform: scale(1.05);
}

.p-works__body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
}

.p-works__cat {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  background: #E6F3FB;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #06488D;
}

.p-works__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  color: #1A202C;
  transition: color 0.3s ease;
}

.p-works__card:hover .p-works__title {
  color: #06488D;
}

.p-works__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(6, 72, 141, 0.2);
  border-radius: 50%;
  background: #fff;
  color: #06488D;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.p-works__nav:hover {
  border-color: #06488D;
  background: #06488D;
  color: #fff;
}

.p-works__nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* 4枚以下 — Grid 表示 */
.p-works--grid .p-works__slider {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.p-works--grid .js-works-swiper {
  overflow: visible;
}

.p-works--grid .swiper-wrapper {
  display: grid !important;
  gap: 1.25rem;
  width: 100% !important;
  transform: none !important;
}

.p-works--grid .swiper-slide {
  width: auto !important;
  height: auto;
  margin: 0 !important;
}

.p-works--grid .p-works__controls {
  display: none;
}

.p-works--grid [data-works-duplicate] {
  display: none;
}

.p-works--grid.p-works--count-1 .swiper-wrapper {
  grid-template-columns: minmax(0, 21rem);
  justify-content: center;
}

.p-works--grid.p-works--count-2 .swiper-wrapper {
  grid-template-columns: 1fr;
}

.p-works--grid.p-works--count-3 .swiper-wrapper {
  grid-template-columns: 1fr;
}

.p-works--grid.p-works--count-4 .swiper-wrapper {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .p-works--grid.p-works--count-2 .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-works--grid.p-works--count-4 .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .p-works--grid.p-works--count-3 .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .p-works--grid.p-works--count-4 .swiper-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   セクション区切りタイポ（三和ペイント p_top_message_typo 参考）
   ======================================== */
.p-section-typo {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 1.5rem;
  background: #fff;
}

.p-section-typo__marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.p-section-typo__track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 8vw, 5rem);
  animation: p-section-typo-scroll 48s linear infinite;
  will-change: transform;
}

.p-section-typo__text {
  flex-shrink: 0;
  font-size: clamp(5.5rem, 24vw, 13rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.06em;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(135deg, rgba(28, 160, 242, 0.06) 0%, rgba(6, 72, 141, 0.025) 50%, rgba(28, 160, 242, 0.045) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 767px) {
  .p-section-typo__text {
    font-size: clamp(7rem, 32vw, 9.5rem);
  }
}

@keyframes p-section-typo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .p-section-typo {
    padding: 3.5rem 0 2rem;
  }

  .p-section-typo__text {
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-section-typo__track {
    animation: none;
  }
}

/* ========================================
   お問い合わせ CTA
   ======================================== */
.p-cta__image img {
  object-position: 62% center;
}

@media (min-width: 768px) {
  .p-cta__image img {
    object-position: center;
  }
}

/* ========================================
   会社情報
   ======================================== */
.p-company__figure {
  aspect-ratio: 3 / 2;
}

.p-company__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   セクション英字ラベル（About / REASON / WORKS / NEWS など）
   ======================================== */
.section-en {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-en::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #1CA0F2, #06488D);
}

.section-en span {
  background: linear-gradient(135deg, #1CA0F2 0%, #06488D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========================================
   お知らせ・トピックス
   ======================================== */

.p-posts__line {
  height: 2px;
  background: linear-gradient(90deg, rgba(28, 160, 242, 0.2) 0%, #1CA0F2 25%, #06488D 75%, rgba(6, 72, 141, 0.2) 100%);
}

.p-posts__cat {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  background: #E6F3FB;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #06488D;
}

.p-news__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-news__card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(6, 72, 141, 0.08);
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-news__card:hover {
  box-shadow: 0 8px 32px rgba(6, 72, 141, 0.14);
  transform: translateY(-2px);
}

.p-news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.p-news__date {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #718096;
}

.p-news__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1A202C;
  transition: color 0.3s ease;
}

.p-news__card:hover .p-news__title {
  color: #06488D;
}

.p-topics__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-topics__card {
  display: flex;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(6, 72, 141, 0.08);
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.p-topics__card:hover {
  box-shadow: 0 8px 32px rgba(6, 72, 141, 0.14);
  transform: translateY(-2px);
}

.p-topics__image-wrap {
  flex-shrink: 0;
  width: 6.5rem;
  overflow: hidden;
}

.p-topics__image {
  width: 100%;
  height: 100%;
  min-height: 5.5rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-topics__card:hover .p-topics__image {
  transform: scale(1.05);
}

.p-topics__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
  min-width: 0;
}

.p-topics__title {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.55;
  color: #1A202C;
  transition: color 0.3s ease;
}

.p-topics__card:hover .p-topics__title {
  color: #06488D;
}

.p-topics__date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #718096;
}

@media (min-width: 768px) {
  .p-topics__image-wrap {
    width: 8.5rem;
  }

  .p-topics__image {
    min-height: 6.5rem;
  }

  .p-topics__title {
    font-size: 1rem;
  }
}

/* ========================================
   Scroll reveal animations（シンプルフェード）
   ======================================== */
html.js-scroll-ready [data-scroll],
html.js-scroll-ready .js-scroll-stagger > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--scroll-delay, 0ms);
}

html.js-scroll-ready [data-scroll].is-inview,
html.js-scroll-ready .js-scroll-stagger.is-inview > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-scroll-ready [data-scroll],
  html.js-scroll-ready .js-scroll-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
