/* ============================================================
   sdgs.html 専用スタイル
   sdgs.mhtml (tres.co.jp/sdgs/) の #mainvisual_bg と .content_base
   (および同じ構造の .content_grey) を、実サイトの
   common.css / page_parts.css の実装に合わせて再現したもの。
   共通の #siteHeader / .site-footer は css/style.css を使用するため
   ここでは触れず、.sdgs 配下のみ定義する。
   (元CSSは rem 指定だが、このサイトの html は 62.5% リセットを
   使わないため、同じ見た目になるよう px に換算済み)
============================================================ */

/* ---- HERO (mainvisual) ---- */
.sdgs #mainvisual_bg {
  display: table;
  height: 100vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}
.sdgs #mainvisual_bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(/assets/images/sdgs-bg.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(100%);
  animation: sdgsGrayscale .5s ease-in-out 2s forwards;
}
@keyframes sdgsGrayscale {
  from { filter: grayscale(100%); }
  to   { filter: grayscale(0); }
}
.sdgs .mainvisual_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---- content sections ---- */
.sdgs .content_base,
.sdgs .content_grey {
  padding: 5vw 0;
  position: relative;
  color: #444;
  font-size: 14px;
  line-height: 1.8;
}
.sdgs .content_grey { background-color: #f5f5f5; }
.sdgs .content_base { background: #fff; }
.sdgs .content_base + .content_base { padding: 0 0 5vw; }

.sdgs h1,
.sdgs h2 { line-height: 1.4; }

@media (max-width: 767px) {
  .sdgs .content_base,
  .sdgs .content_grey {
    padding: 10vw 0;
  }
  .sdgs .content_base + .content_base { padding: 0 0 10vw; }
}

/* ---- inner widths ---- */
.sdgs .inner960,
.sdgs .inner1080 {
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}
.sdgs .inner960  { max-width: 960px; }
.sdgs .inner1080 { max-width: 1080px; }

.sdgs .inner1200 {
  width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .sdgs .inner1200 {
    width: auto;
    padding: 0 5%;
  }
}

/* ---- flex utilities ---- */
.sdgs .flex {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}
.sdgs .flex_lg4-xs12 {
  width: 30%;
  flex-basis: 30%;
  margin-bottom: 5vw;
}
.sdgs .flex_lg6-xs12 {
  width: 48%;
  flex-basis: 48%;
  margin-bottom: 5vw;
}
@media (max-width: 767px) {
  .sdgs .flex_lg4-xs12,
  .sdgs .flex_lg6-xs12 {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 10vw;
  }
}

/* ---- headings / text ---- */
.sdgs .title_top {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}
.sdgs .title_subcopy {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}
.sdgs .text_center { text-align: center; }
.sdgs .text_center img { margin-bottom: 2%; }
.sdgs .text_right { text-align: right !important; }
.sdgs .text_bold { font-weight: 700; }
.sdgs .text_blue { color: #038; }
.sdgs .margin_b2 { margin-bottom: 2vw !important; }

@media (max-width: 767px) {
  .sdgs .title_top { font-size: 20px; }
}
