/* =========================================
   共通ヒーローセクション（統一デザイン）
========================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.page-bg {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 0;
}

/*.page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 30, 0.45);
  /* ✅ 統一した半透明黒 */
/*
  z-index: 1;
}*/

.page-hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUp 1.5s ease forwards;
  margin-top: 12vh;
}

.page-hero-text h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.page-hero-text p {
  font-size: clamp(16px, 2vw, 22px);
  margin-top: 10px;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero-text h1 {
    font-size: 2rem;
  }
}

/* =========================================
   当社の方針セクション
========================================= */
.page-lead {
  text-align: center;
  background: #f8faff;
  padding: 6rem 2rem 5rem;
  color: #182578;
}

.page-lead .inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-lead h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
}

.page-lead h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #182578, #4a6ef1);
  border-radius: 2px;
}

.page-lead p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
  color: #333;
  margin-top: 2rem;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .page-lead {
    padding: 4rem 1.5rem 3rem;
  }

  .page-lead h2 {
    font-size: 1.4rem;
  }

  .page-lead p {
    font-size: 0.95rem;
  }
}

/* =========================================
   SDGsとは？ セクション（縦レイアウト版）
========================================= */
.section-sdgs-about {
  background: #f8faff;
  padding: 6rem 2rem;
  color: #333;
}

.section-sdgs-about .inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-sdgs-about h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: #182578;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-sdgs-about h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #182578, #4a6ef1);
  border-radius: 2px;
}

.sdgs-about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.sdgs-about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
  max-width: 800px;
}

/* 外務省リンク */
.sdgs-link {
  margin-top: 2rem;
}

.sdgs-link img {
  width: 280px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.sdgs-link img:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 37, 120, 0.25);
}

/* 画像部分 */
.sdgs-about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.sdgs-about-image img:hover {
  transform: scale(1.03);
}

/* フェードアップ */
.fadeUpTrigger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadeUp {
  opacity: 1;
  transform: translateY(0);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .sdgs-about-text {
    font-size: 0.95rem;
    text-align: left;
  }

  .sdgs-link img {
    width: 220px;
  }

  .sdgs-about-image img {
    max-width: 90%;
  }
}

/* =========================================
   SDGs カードセクション（2カラム配置・リード付き）
========================================= */
.sectionSDGs {
  background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
  padding: 6rem 2rem;
  text-align: center;
  border-radius: 16px;
}

.sectionSDGs .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sectionSDGs h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: #182578;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.sectionSDGs h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #182578, #4a6ef1);
  border-radius: 2px;
}

.sectionSDGs .lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin: 2rem auto 3.5rem;
  max-width: 800px;
}

/* ====== カード配置（横並び）====== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

/* カード本体 */
.articleListSDGs {
  background: #fff;
  flex: 1 1 calc(48% - 20px);
  /* ← PC時は2カラム */
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.articleListSDGs:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(24, 37, 120, 0.18);
  filter: brightness(1.05);
}

/* テキスト領域 */
.articleListSDGs a {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.articleListTextSDGs h1 {
  color: #182578;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.articleListSDGs:hover h1 {
  color: #0d47a1;
}

.articleListTextSDGs h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #182578, #4a6ef1);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.articleListSDGs:hover h1::after {
  width: 120px;
}

.articleListTextSDGs p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

/* アイコン群 */
.articleListImageSDGs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.articleListImageSDGs img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.articleListImageSDGs img:hover {
  transform: scale(1.1);
  filter: brightness(1.15);
}

/* フェードアップ */
.fadeUpTrigger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadeUp {
  opacity: 1;
  transform: translateY(0);
}

/* ====== レスポンシブ対応 ====== */
@media screen and (max-width: 1024px) {
  .articleListSDGs {
    flex: 0 1 calc(48% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .articleListSDGs {
    flex: 0 1 90%;
  }

  .articleListTextSDGs h1 {
    font-size: 1.25rem;
  }

  .articleListTextSDGs p {
    font-size: 0.95rem;
  }

  .articleListImageSDGs img {
    width: 70px;
  }
}