@charset "utf-8";

/* =====================================
  common
===================================== */
.contents-block {
  padding: 64px clamp(20px, calc((100% - 840px) / 2), 162px);
  border-radius: 40px;
  background-color: var(--color-mono50);
}
.contents-text + .contents-text {
  margin-top: 32px;
}

@media screen and (max-width: 767px) {
  .contents-block {
    padding: 32px 16px;
    border-radius: 20px;
  }
}


/* =====================================
  header
===================================== */
#study-header {
  padding: 8px 20px;
  background-color: #FFF8ED;
  border-radius: 0 0 60px 60px;
  position: relative;
  z-index: 2;
}
.study-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1164px;
  margin: 0 auto;
}
.study-header__logo-link,
.study-header__logo-img {
  display: block;
}
.study-header__link {
  text-align: right;
}
.study-header__link a {
  display: block;
}


@media screen and (max-width: 767px) {
  #study-header {
    padding: 11px 20px 15px;
    border-radius: 0 0 20px 20px;
  }
  .study-header__inner {
    gap: 21px;
  }
  .study-header__logo {
    width: 168px;
    flex-shrink: 0;
  }
  .study-header__link {
    flex-shrink: 1;
  }
  .study-header__logo-img {
    min-width: 178px;
  }
}

/* =====================================
  hero
===================================== */
.hero {
  margin-top: -60px;
  padding: 60px 20px 160px;
  background-color: #FFEDED;
  overflow: hidden;
}
.hero__inner {
  padding: 72px 0;
  position: relative;
  z-index: 1;
}
.hero__inner::before {
  content: "";
  width: 280px;
  height: 225px;
  background: url(/kids/study/common/img/bg_hero_loop.svg) no-repeat center / contain;
  position: absolute;
  top: -112px;
  left: -266px;
  z-index: -1;
}
.hero__inner::after {
  content: "";
  width: 589px;
  height: 770px;
  background: url(/kids/study/common/img/bg_book.svg) no-repeat center / contain;
  position: absolute;
  left: calc(960px - 70px);
  bottom: -208px;
  z-index: -1;
}
.hero__title {
  font-size: 0;
}
.hero__detail {
  max-width: 960px;
  margin-top: 40px;
  padding: 24px 40px 32px;
  border-radius: 20px;
  background-color: var(--color-mono50);
}
* + .hero__text:first-of-type {
  margin-top: 12px;
}
.hero__text + .hero__text {
  margin-top: 32px;
}

@media screen and (max-width: 767px) {
  .hero {
    margin-top: -20px;
    padding: 20px 0 40px;
  }
  .hero__inner {
    padding: 32px 20px;
  }
  .hero__inner::before {
    width: 114px;
    height: 93px;
    background-image: url(/kids/study/common/img/bg_hero_loop_sp.svg);
    position: absolute;
    top: -60px;
    left: -30px;
  }
  .hero__inner::after {
    width: 280px;
    height: 224px;
    background-image: url(/kids/study/common/img/bg_book_sp.svg);
    top: auto;
    left: auto;
    right: -143px;
    bottom: -51px;
  }
  .hero__title {
    text-align: center;
  }
  .hero__title-img {
    width: 65.867vw;
  }
  .hero__title-img--water-cycle{
    width: 73vw;
  }
  .hero__title-img--forest-water,
  .hero__title-img--water-issues{
    width: 88vw;
  }
  .hero__title-img--plant-water,
  .hero__title-img--save-water,
  .hero__title-img--soft-drinks {
    width: 90vw;
  }
  .hero__detail {
    margin-top: 24px;
    padding: 16px 12px;
    border-radius: 12px;
  }

}

/* =====================================
  article-detail
===================================== */
.article-detail {
  margin-top: -160px;
  padding: 80px 20px;
  border-radius: 0 160px 0 0;
  background-color: #FAF2E6;
  background-image: linear-gradient(90deg, #FDFBF7 1px, transparent 1px), linear-gradient(#FDFBF7 1px, transparent 1px);
  background-position: 0 0;
  background-size: 32px 32px;
  position: relative;
  z-index: 2;
}
.article-detail__contents + .article-detail__contents {
  margin-top: 80px;
}

.article-detail__title {
  display: flex;
  align-items: flex-start;
}
.article-detail__title-num {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  padding: 4px 16px 6px;
  background: url(/kids/study/common/img/icon_title_treat.svg) no-repeat center / contain;
  color: var(--color-mono0);
  font-size: 2rem;/* 32px */
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.96px;
}
.article-detail__title-text {
  padding: 2px 0 2px 12px;
  font-size: 2.5rem;/* 40px */
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 1.2px;
  word-break: break-all;
}
.article-detail__rank-title {
  display: flex;
  align-items: center;
  margin-top: 32px;
}
.article-detail__rank-title-num {
  padding: 5px 7px 10px;
  background: url(/kids/study/common/img/icon_title_flag.svg) no-repeat center / contain;
  color: var(--color-mono0);
  font-size: 1.125rem;/* 18px */
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.54px;
  white-space: nowrap;
}
.article-detail__rank-title-text {
  padding: 0 0 5.5px 8px;
  font-size: 1.125rem;/* 18px */
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.54px;
}

.article-detail__bg-area {
  margin-top: 48px;
  padding: 48px 64px;
  border-radius: 20px;
  background-color: var(--color-mono100);
}

.article-detail__bg-area.article-detail__bg-area--small{
  padding-top: 24px;
  padding-bottom: 24px;
}

.article-detail__image {
  margin: 0;
  font-size: 0;
}
.article-detail__image-caption {
  max-width: 712px;
  margin: 8px auto 0 auto;
  font-size: 0.875rem;/* 14px */
  line-height: 1.8;
  letter-spacing: 0.42px;
}

.article-detail__title + .contents-text {
  margin-top: 48px;
}
.article-detail__rank-title + .contents-text {
  margin-top: 5px;
}
.contents-text + .article-detail__image {
  margin-top: 20px;
}
.article-detail__image + .contents-text {
  margin-top: 32px;
}
.contents-text + .article-detail__caution {
  margin-top: 12px;
}
.article-detail__bg-area + .contents-text {
  margin-top: 48px;
}

@media screen and (max-width: 767px) {
  .article-detail {
    margin-top: -40px;
    padding: 48px 20px;
    border-radius: 0 40px 0 0;
    background-size: 20px 20px;
  }
  .article-detail__contents + .article-detail__contents {
    margin-top: 32px;
  }

  .article-detail__title {
    display: flex;
  }
  .article-detail__title-num {
    margin-top: 4px;
    padding: 2px 10px 4px;
    font-size: 1.5rem;/* 24px */
    letter-spacing: 0.72px;
  }
  .article-detail__title-text {
    padding: 0 0 0 12px;
    font-size: 1.75rem;/* 28px */
    letter-spacing: 0.84px;
  }
  .article-detail__rank-title {
    margin-top: 20px;
  }
  .article-detail__rank-title-num {
    padding: 5px 7px 10px;
  }
  .article-detail__rank-title-text {
    padding: 0 0 0 8px;
  }

  .article-detail__bg-area {
    margin-top: 20px;
    padding: 20px 16px;
  }

  .article-detail__title + .contents-text {
    margin-top: 20px;
  }
  .article-detail__rank-title + .contents-text {
    margin-top: 6.5px;
  }
  .article-detail__image + .contents-text {
    margin-top: 16px;
  }
  .article-detail__bg-area + .contents-text {
    margin-top: 20px;
  }

}


/* =====================================
  reference
===================================== */
.reference {
  padding: 24px 20px 24px;
  background-color: var(--color-note-find);
  background-image: linear-gradient(90deg, #F76B99 1px, transparent 1px), linear-gradient(#F76B99 1px, transparent 1px);
  background-position: 0 0;
  background-size: 32px 32px;
}
.reference__contents {
  padding-top: 32px;
  padding-bottom: 32px;
}
.reference__title {
  font-size: 1.75rem;/* 28px */
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.84px;
}
.reference__list {
  margin-top: 20px;
}
.reference__list-item {
  padding-left: 27px;
  position: relative;
}
.reference__list-item + .reference__list-item {
  margin-top: 0;
}
.reference__list-item::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background-color: var(--color-blue950);
  position: absolute;
  top: calc(0.5em * 2);
  left: 11px;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .reference {
    padding: 20px;
    background-size: 20px 20px;
  }
  .reference__contents {
    padding: 20px 16px;
  }
  .reference__title {
    font-size: 1.25rem;/* 20px */
    letter-spacing: 0.6px;
  }
  .reference__list {
    margin-top: 8px;
  }
  .reference__list-item {
    padding-left: 24px;
    line-height: 1.8;
  }
  .reference__list-item::before {
    width: 4px;
    height: 4px;
    top: calc(0.5em * 1.8);
    left: 10px;
  }
  .reference__list-item + .reference__list-item {
    margin-top: 12px;
  }
}


/* =====================================
  other
===================================== */
.other {
  padding: 56px 20px;
  text-align: center;
}
.other__title {
  font-size: 1.5rem;/* 24px */
}
.other__title-inner {
  padding: 0 54px;
}
.other__title-inner::before,
.other__title-inner::after {
  width: 37.81px;
  height: 44.683px;
}
.other__button {
  margin-top: 16px;
}

@media screen and (max-width: 767px) {
  .other {
    padding: 40px 20px;
  }
  .other__title {
    font-size: 1.25rem;/* 20px */
    letter-spacing: 0.6px;
  }
  .other__title-inner {
    padding: 0 42px;
  }
  .other__button {
    margin-top: 12px;
  }
}


/* =====================================
  keywords
===================================== */
.keywords {
  padding: 56px 20px;
  background-color: #FFEDED;
}
.keywords__list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.keywords__link {
  display: inline-block;
  padding: 7px 12px 9px;
  border-radius: 9999px;
  background-color: var(--color-mono50);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  font-size: 1rem;/* 16px */
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.48px;
}
.keywords__link::before {
  content: "＃";
}

@media (hover: hover) {
  .keywords__link:hover {
    background-color: var(--color-note-find);
    color: var(--color-mono0);
    text-decoration: underline;
  }
}

@media screen and (max-width: 767px) {
  .keywords {
    padding: 40px 20px;
  }
  .keywords__list {
    justify-content: flex-start;
    gap: 8px 7px;
    margin-top: 20px;
  }
}


/* =====================================
  other
===================================== */

.color-decimal__list {
  margin-top: 16px;
}

.color-decimal__list--flex {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.color-decimal__title {
  position: relative;
  padding-left: 20px;
  text-indent: -20px;
  font-weight: bold;
  color: var(--color-blue700);
}

.color-decimal__title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  border-radius: 9999px;
  background-color: #FF5873;
  transform: translateY(2px);
}

.color-decimal__item + .color-decimal__item{
  margin-top: 5px;
}

.color-decimal__item--blue.color-decimal__title::before {
  background-color: var(--color-blue600);
}

.color-decimal__text {
  margin: 4px 0 20px 24px;
  font-size: 16px;
  line-height: 1.8;
  color: inherit;
}

.color-decimal__item--number {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-decimal__number {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 9999px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  background-color: #FF5873;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
}

.color-decimal__item--blue .color-decimal__number{
  background-color: var(--color-blue600);
}

.color-decimal__number span{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.color-decimal__item--number .color-decimal__text {
  margin: 0;
}

.contents-text-wrap{
  margin-top: 48px;
}

.contents-text + .contents-links-wrap{
  margin-top: 16px;
}

@media (max-width: 767px) {
  .color-decimal__list {
    margin-top: 8px;
  }
  .color-decimal__title::before {
    width: 14px;
    height: 14px;
  }
  .color-decimal__item + .color-decimal__item{
    margin-top: 20px;
  }
  .color-decimal__item--number + .color-decimal__item--number{
    margin-top: 12px;
  }
  .color-decimal__number {
    font-size: 14px;
    margin-top: 7px;
  }
  .color-decimal__item--number {
    gap: 10px;
    align-items: flex-start;
  }
  .contents-text-wrap{
    margin-top: 20px;
  }
  .contents-text + .contents-links-wrap{
    margin-top: 12px;
  }
}

.article-detail__bg-area > *:first-child .article-detail__rank-title,
.article-detail__bg-area > .color-decimal__list:first-child,
.article-detail__bg-area > .reference__list:first-child,
.article-detail__bg-area > .contents-text-wrap{
  margin-top: 0;
}

.contents-text--right{
  text-align: right;
}

.contents-image__img--center{
  display: block;
  margin:0 auto;
}