/**
 * Theme SDGs - Custom Styles
 * SDGs固有のスタイル（カラー、特別なセクション）
 */

/* ============================
   SDGs カラー設定
   ============================ */

.theme-sdgs {
  --theme-main-color: #90c31f;
}

/* サムネイルコンテナのボーダー（hover時の画像拡大でも表示維持） */
.theme-sdgs .theme-article-thumb {
  border: solid 1px var(--color-light);
}

/* ページネーションの色をSDGsカラーに */
.theme-sdgs .theme-pagination-prev,
.theme-sdgs .theme-pagination-next {
  background: var(--theme-main-color);
  border-color: var(--theme-main-color);
}

.theme-sdgs .theme-pagination-number:hover {
  border-color: var(--theme-main-color);
}

.theme-sdgs .theme-pagination-number.is-active {
  background: color-mix(in srgb, var(--theme-main-color) 10%, transparent);
  border-color: var(--theme-main-color);
}

/* ============================
   What's SDGs セクション（SDGs固有）
   ============================ */

.theme-whats-sdgs {
  padding: 1%;
  background: url(../images/mv_what_bg.png) left top repeat;
  margin-bottom: 3rem;
}

.theme-whats-sdgs-layout {
  padding: 3.5% 0;
  display: flex;
  align-items: center;
  background-color: #fff;
}

.theme-whats-sdgs-title {
  margin-right: 4%;
  padding-left: 3%;
  width: 25%;
}

.theme-whats-sdgs-title img {
  width: 100%;
  height: auto;
}

.theme-whats-sdgs-content {
  width: 66%;
}

.theme-whats-sdgs-content h3 {
  margin-bottom: 1em;
  color: var(--theme-main-color);
  font-weight: bold;
  font-size: 1.6rem;
}

.theme-whats-sdgs-content p {
  line-height: 2;
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .theme-whats-sdgs {
    padding: 2%;
  }

  .theme-whats-sdgs-layout {
    padding: 7% 0 3% 0;
    display: block;
  }

  .theme-whats-sdgs-title {
    margin: 0 auto 5%;
    padding-left: 0;
    width: 47%;
  }

  .theme-whats-sdgs-content {
    width: auto;
  }

  .theme-whats-sdgs-content h3 {
    text-align: center;
    font-size: 3.5vw;
  }

  .theme-whats-sdgs-content p {
    padding: 1em;
    font-size: 3.5vw;
  }
}

/* ============================
   About Section（SDGs固有）
   ============================ */

.theme-about {
  display: flex;
  justify-content: space-between;
  background: url(../images/about_bg_pc.jpg) left top no-repeat;
  background-size: cover;
  padding: 20px;
  margin: 0;
}

.theme-about-title {
  margin-right: 1%;
  width: 33%;
}

.theme-about-title img {
  width: 100%;
  height: auto;
}

.theme-about-text {
  width: 60%;
  line-height: 2;
  font-size: 14px;
}

@media (max-width: 767px) {
  .theme-about {
    display: block;
    margin: 0 auto;
    background: url(../images/about_bg_sp.jpg) left top no-repeat;
    background-size: cover;
    padding: 20px 20px 30px;
  }

  .theme-about-title {
    margin: 0 0 6%;
    width: auto;
  }

  .theme-about-text {
    width: auto;
  }
}
@media (min-width: 768px) {
  .theme-about {
    padding: 30px;
  }
}
