@charset "utf-8";
/* ============================================================
   SDGs 特設ページ専用スタイル
   ブレイクポイント: max-width 959px (SP)
   ============================================================ */

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

/* ===== ヒーロー ===== */
.sdgsHero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #cfe6f2;
  margin-top: -30px;
}
.maxHeight {
  max-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;   /* 画像を縦中央に置き、上下を均等にクリップ */
}
.sdgsHero__bg {
  width: 100%;
  height: auto;
}
.sdgsHero__logo {
  position: absolute;
  top: 3%;
  left: 1%;
  width: 26%;
  max-width: 424px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.sdgsHero__copy {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 20%;
  max-width: 348px;
}

/* ===== 3つの円アイコン ===== */
.sdgsIcons {
  display: flex;
  justify-content: center;
  gap: 4%;
  list-style: none;
  margin: -60px auto 0;
  padding: 0;
  position:relative;
  z-index:99;
}
.sdgsIcons li {
  width: 200px;
  max-width: 30%;
}

/* ===== ミッション文 ===== */
.sdgsMission {
  text-align: center;
  font-size: 18px;
  line-height: 2;
  color: #333;
  margin: 20px auto 0;
  font-weight:bold;
}
h3.title3 {font-size:1.3em;margin-bottom:20px;}
/* ===== SDGs 5つの目標 ===== */
.sdgsGoals {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none;
  margin: 50px auto 0;
  padding: 0;
}
.sdgsGoals li {
  flex: 1 1 0;
  max-width: 150px;
  text-align: center;
}
.sdgsGoals li img {
  display: block;
  width: 100%;
}
.sdgsGoals li p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-top: 12px;
  text-align: left;
}

/* ===== 取り組み4カード ===== */
.sdgsPlans {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 70px auto 0;
  padding: 0;
}
.sdgsPlan {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.sdgsPlan__photo {
  display: block;
  width: 100%;
}
.sdgsPlan__body {
  flex: 1 1 auto;
  padding: 20px 18px 10px;
}
.sdgsPlan__body h3 {
  font-size: 17px;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid;
}
.sdgsPlan__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sdgsPlan__list li {
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  padding-left: 16px;
  color: #444;
}
.sdgsPlan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}
.sdgsPlan__goal {
  display: block;
  width: 88%;
  margin: 10px auto 22px;
}

/* カードごとのアクセントカラー（見出し・箇条書きの色） */
.sdgsPlan:nth-child(1) h3 { color: #1b7a3d; border-color: #1b7a3d; }
.sdgsPlan:nth-child(1) .sdgsPlan__list li { color: #1b7a3d; }
.sdgsPlan:nth-child(2) h3 { color: #1565b3; border-color: #1565b3; }
.sdgsPlan:nth-child(2) .sdgsPlan__list li { color: #1565b3; }
.sdgsPlan:nth-child(3) h3 { color: #c1355f; border-color: #c1355f; }
.sdgsPlan:nth-child(3) .sdgsPlan__list li { color: #c1355f; }
.sdgsPlan:nth-child(4) h3 { color: #e0842a; border-color: #e0842a; }
.sdgsPlan:nth-child(4) .sdgsPlan__list li { color: #e0842a; }

/* ===== wellwash / 導入の流れ ===== */
.sdgsWell {
  margin: 80px auto 0;
  text-align: center;
}
.sdgsFlow {
  margin: 40px auto 0;
  text-align: center;
}
.sdgsWell img,
.sdgsFlow img {
  width: 100%;
  height: auto;
}

/* PC/SP画像の出し分け（サイト共通 .pc/.sp を確実に効かせる） */
.sdgsHero__bg.pc,
.sdgsWell img.pc,
.sdgsFlow img.pc { display: block; }
.sdgsHero__bg.sp,
.sdgsWell img.sp,
.sdgsFlow img.sp { display: none; }

/* ============================================================
   SP (max-width: 959px)
   ============================================================ */
@media only screen and (max-width: 959px) {

  /* PC/SP画像の出し分け（SP時は反転） */
  .sdgsHero__bg.pc,
  .sdgsWell img.pc,
  .sdgsFlow img.pc { display: none; }
  .sdgsHero__bg.sp,
  .sdgsWell img.sp,
  .sdgsFlow img.sp { display: block; }

  .sdgsHero__logo { top: 2%; width: 34%; }
  .sdgsHero__copy { top: 5%; width: 35%;right:5%; }

  .sdgsIcons {
    flex-wrap: wrap;
    gap: 1%;
    margin-top: -36px;
  }
  .sdgsIcons li { width: 31%; max-width: 46%; }

  .sdgsMission {
    font-size: 15px;
    line-height: 1.9;
    margin-top: 28px;
    text-align: left;
    padding:0 20px;
  }
  .sdgsMission br { display: none; }

  .sdgsGoals {
    flex-wrap: wrap;
    gap: 14px 4%;
    margin-top: 34px;
    padding:0 20px;
  }
  .sdgsGoals li {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .sdgsGoals li p {
    font-size: 12px;
    text-align: center;
    margin-top: 8px;
  }

  .sdgsPlans {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 44px;
  }
  .sdgsPlan {
    flex: 0 0 100%;
  }
  .sdgsPlan__goal { width: 78%; }

  .sdgsWell { margin-top: 50px; padding:0 20px;}
  .sdgsFlow { margin-top: 28px; padding:0 20px;}
}

/* さらに狭い端末: SDGsタイルを2列に */
@media only screen and (max-width: 560px) {
  .sdgsGoals li {
    flex: 0 0 47%;
    max-width: 47%;
  }
}
