@charset "UTF-8";
/*
----------
学ぶ　sdgs　TOPページ
----------
*/
:root {
  --color--green: #46aa32;
  --color--brown: #7c5802;
}

/*
----------------------------------------------------------
背景
----------------------------------------------------------
*/
.p-learn__sdgs {
  background-image: url("../../../assets/img/learn/comic_sdgs/bg_dot.png");
  background-size: auto;
  background-repeat: repeat;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.bg_jewelry {
  background-image: url("../../../assets/img/learn/comic_sdgs/bg_illu_jewelry_03.png"), url("../../../assets/img/learn/comic_sdgs/bg_illu_jewelry_02.png");
  background-size: 18.75vw auto, 12vw auto;
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right 0;
  z-index: 2;
  position: relative;
  margin-top: -70px;
  padding-top: 70px;
  padding-bottom: 200px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .bg_jewelry {
    background-image: none;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 150px;
  }
}
@media screen and (max-width: 767px) {
  .bg_jewelry {
    background-image: none;
    margin-top: 0;
    padding-top: 0;
  }
}
/*
----------------------------------------------------------
　mainvisual
----------------------------------------------------------
*/
.p-learn__sdgs .mainvisual {
  background-image: url(../../../assets/img/learn/comic_sdgs/kv_sdgs_top.png);
  background-size: auto 100%;
  background-position: center;
  background-repeat: repeat-x;
  width: 100%;
  position: relative;
  z-index: 1;
}
.p-learn__sdgs .mainvisual__inner {
  background-image: url(../../../assets/img/learn/comic_sdgs/kv_sdgs_top_illust.png);
  background-size: auto 98%;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100%;
  min-height: 615px;
}
.p-learn__sdgs .mainvisual h1 {
  text-align: center;
  margin: 0 auto 0 auto;
  padding-top: 65px;
  position: relative;
  z-index: 2;
}
.p-learn__sdgs .mainvisual h1 img {
  width: 80%;
  max-width: 820px;
  aspect-ratio: 820/230;
}
.p-learn__sdgs .mainvisual__text {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  align-items: flex-end;
}
.p-learn__sdgs .mainvisual h2 {
  position: relative;
  z-index: 2;
  color: #004986;
  font-size: clamp(16px, 1.8vw, 22px);
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}
.p-learn__sdgs .mainvisual .kv_chara1, .p-learn__sdgs .mainvisual .kv_chara2 {
  z-index: 2;
  max-width: 210px;
  width: 34.1%; /* ← 210px ÷ 615px */
  height: auto; /* 縦横比を維持して縮む */
  object-fit: contain;
  padding: 0 1rem;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn__sdgs .mainvisual__inner {
    min-height: 550px;
  }
  .p-learn__sdgs .mainvisual h1 {
    padding-top: 7rem;
  }
  .p-learn__sdgs .mainvisual h1 img {
    width: 55vw;
  }
  .p-learn__sdgs .mainvisual__text {
    margin: 0 auto;
    align-items: center;
  }
  .p-learn__sdgs .mainvisual .kv_chara1, .p-learn__sdgs .mainvisual .kv_chara2 {
    width: 18vw;
  }
}
@media screen and (max-width: 767px) {
  .p-learn__sdgs .mainvisual__inner {
    background-image: url(../../../assets/img/learn/comic_sdgs/kv_sdgs_top_sp.png);
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
  }
  .p-learn__sdgs .mainvisual h1 {
    padding-top: 6.25rem;
  }
  .p-learn__sdgs .mainvisual h1 img {
    width: 90%;
  }
  .p-learn__sdgs .mainvisual__text {
    margin: 2rem auto 0 auto;
  }
  .p-learn__sdgs .mainvisual .kv_chara1, .p-learn__sdgs .mainvisual .kv_chara2 {
    display: none;
  }
}
/*
----------------------------------------------------------
ボタン
----------------------------------------------------------
*/
.p-learn__sdgs__top_btns {
  width: 90%;
  max-width: 870px;
  margin: 70px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
}
.p-learn__sdgs__top_btns li {
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 10px;
  color: white;
  border: 4px solid #004986;
  background-image: linear-gradient(90deg, #c7e6e6, #0099bb);
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.5px;
  cursor: pointer;
}
.p-learn__sdgs__top_btns li:hover {
  opacity: 0.8;
}
.p-learn__sdgs__top_btns li .btn_inner {
  padding: 8px 10px;
  background-color: white;
  justify-content: space-between;
  display: flex;
  flex: 1;
  align-items: center;
}
.p-learn__sdgs__top_btns li .btn_inner img.label {
  width: 55px;
}
.p-learn__sdgs__top_btns li a {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.p-learn__sdgs__top_btns li a:hover {
  color: rgba(0, 0, 0, 0.8);
}
.p-learn__sdgs__top_btns li.comingsoon {
  pointer-events: none;
  box-shadow: none;
  border-color: #a5aaaf;
  background: #f3f3f3;
  transform: none;
}
.p-learn__sdgs__top_btns li.comingsoon .btn_inner {
  border-top: 2px solid #a5aaaf;
  border-bottom: 2px solid #a5aaaf;
  padding: 5px 10px;
  background-color: white;
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}
.p-learn__sdgs__top_btns li.comingsoon a {
  color: #a5aaaf;
  cursor: not-allowed;
}
.p-learn__sdgs__top_btns li.comingsoon:hover {
  box-shadow: none;
  transform: none;
}

@media screen and (max-width: 767px) {
  .p-learn__sdgs__top_btns {
    gap: 15px;
  }
  .p-learn__sdgs__top_btns li {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  }
}
/*
----------------------------------------------------------
パレット
----------------------------------------------------------
*/
.p-learn__sdgs__top_palette {
  background-image: url(../../../assets/img/learn/comic_sdgs/element_palette_bg.png);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  max-width: 1000px;
  aspect-ratio: 1000/370;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  display: flex;
  gap: 30px;
}

.p-learn__sdgs__top_palette__left {
  position: relative;
}
.p-learn__sdgs__top_palette__left .illust {
  position: absolute;
  right: 0;
}
.p-learn__sdgs__top_palette__left .gold_label {
  margin-bottom: 10px;
  padding: 10px 0;
  width: 400px;
  aspect-ratio: 400/160;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #b38728 0%, #f6e27a 30%, #f9f295 50%, #f6e27a 70%, #b38728 100%);
}
.p-learn__sdgs__top_palette__left .gold_label__inner {
  background-image: url(../../../assets/img/learn/comic_sdgs/element_palette_ttl_dot_1.svg), url(../../../assets/img/learn/comic_sdgs/element_palette_ttl_dot_1.svg);
  background-size: 100% auto;
  background-position: top center, bottom center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding: 2rem 2rem;
  text-align: center;
  width: 100%;
}
.p-learn__sdgs__top_palette__left .gold_label h2 {
  margin-bottom: 0.5rem;
}
.p-learn__sdgs__top_palette__left .gold_label .date {
  background-color: var(--color--brown);
  color: white;
  line-height: 20px;
  border-radius: 30px;
  padding: 10px 1rem 5px 1rem;
  font-size: clamp(16px, 1.6vw, 20px);
  margin: auto;
}

.p-learn__sdgs__top_palette__right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.p-learn__sdgs__top_palette__right .palette_charactor {
  text-align: center;
}
.p-learn__sdgs__top_palette__right .palette_charactor .comment {
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  color: var(--color--brown);
  font-size: clamp(12px, 1.8vw, 22px);
  line-height: 1.5;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-learn__sdgs__top_palette__right .palette_charactor .comment::before, .p-learn__sdgs__top_palette__right .palette_charactor .comment::after {
  position: relative;
  display: inline-block;
  content: "";
  background: var(--color--brown);
  width: 3px;
  height: 2em;
  margin: 0 0.5em;
  margin-top: 1em;
  vertical-align: middle;
}
.p-learn__sdgs__top_palette__right .palette_charactor .comment::before {
  transform: rotate(-25deg);
}
.p-learn__sdgs__top_palette__right .palette_charactor .comment::after {
  transform: rotate(25deg);
}
.p-learn__sdgs__top_palette__right .palette_circle {
  position: relative;
}
.p-learn__sdgs__top_palette__right .palette_circle img.element_palette {
  max-width: 90%;
  max-height: 90%;
  width: 290px;
}
.p-learn__sdgs__top_palette__right .palette_circle img.kirakira1, .p-learn__sdgs__top_palette__right .palette_circle img.kirakira2 {
  position: absolute;
  width: 50px;
  height: 50px;
}
.p-learn__sdgs__top_palette__right .palette_circle img.kirakira1 {
  top: 1rem;
  right: 1rem;
}
.p-learn__sdgs__top_palette__right .palette_circle img.kirakira2 {
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn__sdgs__top_palette {
    width: 90%;
    padding: 2rem 0;
  }
  .p-learn__sdgs__top_palette__left {
    width: 40%;
  }
  .p-learn__sdgs__top_palette__left .gold_label {
    width: 100%;
  }
  .p-learn__sdgs__top_palette__left .gold_label__inner {
    padding: 1rem;
  }
  .p-learn__sdgs__top_palette__left .illust {
    width: 80%;
  }
  .p-learn__sdgs__top_palette__right {
    width: 60%;
  }
  .p-learn__sdgs__top_palette__right .palette_charactor img {
    max-width: 140px;
  }
}
@media screen and (max-width: 767px) {
  .p-learn__sdgs__top_palette {
    padding: 10vw 0 0 0;
    background-image: url(../../../assets/img/learn/comic_sdgs/element_palette_bg_sp.png);
    max-width: 90%;
    aspect-ratio: 340/450;
    flex-direction: column;
    gap: 0;
  }
  .p-learn__sdgs__top_palette .gold_label {
    width: 100%;
    margin-bottom: 1rem;
  }
  .p-learn__sdgs__top_palette .gold_label__inner {
    padding: 1rem 2rem;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__left .illust {
    display: none;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right {
    padding: 0 0.5rem 0 0.5rem;
    gap: 0;
    align-items: center;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment {
    line-height: 1.4;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor img {
    max-width: 100px;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment::before, .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment::after {
    width: 2px;
    height: 4em;
    margin: 0 0.25em;
    margin-top: 0;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment::before, .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment::after {
    transform: rotate(-10deg);
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right .palette_charactor .comment::after {
    transform: rotate(10deg);
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right img.element_palette {
    max-width: 100%;
    max-height: 100%;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right img.kirakira1, .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right img.kirakira2 {
    width: 30px;
    height: 30px;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right img.kirakira1 {
    top: 0.5rem;
    right: 0.5rem;
  }
  .p-learn__sdgs__top_palette .p-learn__sdgs__top_palette__right img.kirakira2 {
    bottom: 0.5rem;
    left: 0.5rem;
  }
}
.p-learn__sdgs ruby[data-ruby] {
  position: relative;
}

.p-learn__sdgs ruby[data-ruby]::before {
  position: absolute;
  line-height: 100%;
  text-align: center;
  left: -3em;
  right: -3em;
  transform-origin: bottom center;
  transform: scale(0.5);
  bottom: 95%;
}

.p-learn__sdgs ruby rt {
  letter-spacing: -0.05em;
  line-height: 1;
  text-align: center;
  word-break: keep-all;
}

/*# sourceMappingURL=learn_sdgs.css.map */
