/* ------------------------------------
// message
------------------------------------ */
#message h2 {
  font-family: "Josefin Slab", serif;
  color: #7ABDDD;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(auto, 68px) auto minmax(auto, 80px);
  grid-template-rows: 1fr;
  letter-spacing: 0.3em;
  align-content: center;
  place-content: center;
  margin-bottom: 0rem;
  gap: 2rem;
}
#message h2:before {
  grid-row: 1/2;
  grid-column: 1/2;
  content: "";
  display: block;
  background: url(../img/top/message_h_01.webp) no-repeat center center/contain;
  width: 100%;
  aspect-ratio: 136/216;
  max-width: 68px;
}
#message h2:after {
  grid-row: 1/2;
  grid-column: 3/4;
  content: "";
  display: block;
  background: url(../img/top/message_h_02.webp) no-repeat center center/contain;
  width: 100%;
  aspect-ratio: 160/176;
  max-width: 80px;
}
#message .lead {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.25em;
  font-family: "Zen Maru Gothic", serif;
  color: #2E2E2E;
  margin-bottom: 8rem;
}
#message .box {
  display: flex;
  justify-content: space-between;
}
#message .box .image {
  width: 25%;
}
#message .box .text {
  width: 70%;
}
@media screen and (max-width: 768px) {
  #message {
    padding: 50px 0 50px;
  }
  #message h2 {
    grid-template-columns: minmax(auto, 38px) auto minmax(auto, 50px);
    gap: 1rem;
  }
  #message h2:before {
    max-width: 38px;
  }
  #message h2:after {
    max-width: 50px;
  }
  #message .lead {
    margin-bottom: 3rem;
  }
  #message .box {
    display: block;
  }
  #message .box .text {
    width: 100%;
  }
  #message .box .image {
    width: 50%;
    margin: 0 auto;
  }
}

/* ------------------------------------
// forChildren
------------------------------------ */
#forChildren {
  background: #FDF7F4;
  padding: 100px 0 170px;
  position: relative;
}
#forChildren::before {
  content: "";
  width: 100%;
  aspect-ratio: 2384/156;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/cmn/bg_section_02.webp) no-repeat center 0/100% auto;
}
#forChildren::after {
  content: "";
  width: clamp(100px, 17vw, 170px);
  aspect-ratio: 340/158;
  position: absolute;
  right: 10vw;
  top: -2rem;
  background: url(../img/top/forchildren_h_02.webp) no-repeat center 0/100% auto;
}
#forChildren h2 {
  font-family: "Josefin Slab", serif;
  color: #F19C9C;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  position: relative;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  letter-spacing: 0.3em;
  align-content: center;
  place-content: center;
  margin-bottom: 8rem;
  gap: 0;
  text-align: center;
}
#forChildren h2:before {
  grid-row: 1/2;
  content: "";
  display: block;
  background: url(../img/top/forchildren_h_01.webp) no-repeat center center/contain;
  width: clamp(106px, 20vw, 162px);
  aspect-ratio: 323/253;
  justify-self: start;
  transform: translateX(-4rem);
}
#forChildren h2 span {
  font-family: "Zen Maru Gothic", serif;
  color: #2E2E2E;
  grid-row: 3/4;
  grid-column: 1/1;
  font-size: 1.6rem;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.25em;
}
#forChildren .reasonContainer .box {
  display: flex;
  justify-content: space-between;
}
#forChildren .reasonContainer .box .text {
  width: 35%;
  padding-top: 2rem;
}
#forChildren .reasonContainer .box .text h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}
#forChildren .reasonContainer .box .image {
  width: 55%;
}
#forChildren .reasonContainer .box:nth-child(even) {
  flex-direction: row-reverse;
}
#forChildren .reasonContainer .box:not(:last-child) {
  margin-bottom: 8rem;
}
@media screen and (max-width: 768px) {
  #forChildren {
    padding: 50px 0 50px;
  }
  #forChildren h2 {
    margin-bottom: 5rem;
  }
  #forChildren h2:before {
    transform: translateX(-1rem);
  }
  #forChildren .reasonContainer .box {
    display: block;
    justify-content: space-between;
  }
  #forChildren .reasonContainer .box .text {
    width: 100%;
    padding-top: 2rem;
  }
  #forChildren .reasonContainer .box .text h3 {
    text-align: center;
  }
  #forChildren .reasonContainer .box .image {
    width: 80%;
    margin: 0 auto;
  }
  #forChildren .reasonContainer .box:not(:last-child) {
    margin-bottom: 4rem;
  }
}

/* ------------------------------------
// worry
------------------------------------ */
#worry {
  padding: 100px 0 0;
  position: relative;
  z-index: 2;
}
#worry:before {
  content: "";
  width: 100vw;
  aspect-ratio: 2384/156;
  display: block;
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  z-index: 0;
  mask-image: url(../img/cmn/bg_section_01.webp);
  mask-size: 100% auto;
  mask-repeat: no-repeat;
  background-color: #FFF;
}
#worry h2 {
  font-family: "Josefin Slab", serif;
  color: #D6BB43;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(auto, 71px) auto minmax(auto, 55px);
  grid-template-rows: 1fr auto;
  letter-spacing: 0.3em;
  align-content: center;
  place-content: center;
  margin-bottom: 2rem;
  gap: 2rem;
}
#worry h2:before {
  grid-row: 1/2;
  grid-column: 1/2;
  content: "";
  display: block;
  background: url(../img/top/worry_h_01.webp) no-repeat center center/contain;
  width: 100%;
  aspect-ratio: 143/200;
  max-width: 71px;
}
#worry h2:after {
  grid-row: 1/2;
  grid-column: 3/4;
  content: "";
  display: block;
  background: url(../img/top/worry_h_02.webp) no-repeat center center/contain;
  width: 100%;
  aspect-ratio: 110/252;
  max-width: 55px;
}
#worry .lead {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.25em;
  font-family: "Zen Maru Gothic", serif;
  color: #2E2E2E;
  margin-bottom: 8rem;
}
@media screen and (max-width: 768px) {
  #worry {
    padding: 100px 0 0;
  }
  #worry h2 {
    grid-template-columns: minmax(auto, 50px) auto minmax(auto, 41px);
    margin-bottom: 1rem;
  }
  #worry h2:before {
    max-width: 50px;
  }
  #worry h2:after {
    max-width: 41px;
  }
  #worry .lead {
    margin-bottom: 4rem;
  }
}

/* ------------------------------------
// future
------------------------------------ */
#future {
  background: #F8FEFE;
  padding: 100px 0 70px;
  position: relative;
  z-index: 2;
}
#future:before {
  content: "";
  width: 100vw;
  aspect-ratio: 2384/156;
  display: block;
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  z-index: 0;
  mask-image: url(../img/cmn/bg_section_01.webp);
  mask-size: 100% auto;
  mask-repeat: no-repeat;
  background-color: #F8FEFE;
}
#future h2 {
  font-family: "Josefin Slab", serif;
  color: #6DABA3;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(auto, 90px) auto minmax(auto, 61px);
  letter-spacing: 0.3em;
  place-content: center;
  align-items: start;
  text-align: center;
  margin-bottom: 2rem;
  gap: 2rem;
}
#future h2:before {
  grid-row: 1/2;
  grid-column: 1/2;
  content: "";
  display: block;
  background: url(../img/top/future_h_01.webp) no-repeat center top/contain;
  width: 100%;
  aspect-ratio: 180/228;
  max-width: 90px;
  align-self: end;
}
#future h2:after {
  grid-row: 1/2;
  grid-column: 3/4;
  content: "";
  display: block;
  background: url(../img/top/future_h_02.webp) no-repeat center center/contain;
  width: 100%;
  aspect-ratio: 132/186;
  max-width: 61px;
}
#future .lead {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.25em;
  font-family: "Zen Maru Gothic", serif;
  color: #2E2E2E;
  margin-bottom: 5rem;
}
@media screen and (max-width: 1200px) {
  #future::before {
    background-size: auto 72px;
  }
}
@media screen and (max-width: 768px) {
  #future {
    padding: 50px 0 10px;
  }
  #future::before {
    mask-size: 100% auto;
  }
  #future h2 {
    grid-template-columns: minmax(auto, 50px) auto minmax(auto, 41px);
  }
  #future h2:before {
    max-width: 50px;
  }
  #future h2:after {
    max-width: 41px;
  }
}

/* ------------------------------------
// footer
------------------------------------ */
#icons {
  background: #F8FEFE;
}
#icons:before {
  background-color: #F8FEFE;
}