@charset "utf-8";

/*--------------------------------------------------------------
  友達紹介キャンペーン
--------------------------------------------------------------*/

#Refer-a-Friend-titlearea {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

#Refer-a-Friend-titlearea .container-max {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: start;
  height: stretch;
  min-height: 100%;
}

#Refer-a-Friend-titlearea .titlearea {
  margin: 0;
  padding: 2rem;
  width: 50%;
  height: stretch;

  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
}

#Refer-a-Friend-titlearea .linkarea {
  margin: 0;
  padding: 3rem;
  width: 50%;
  height: stretch;

  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  text-align: end;
}

#Refer-a-Friend-titlearea h5 strong {
  color: #f00;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #Refer-a-Friend-titlearea {
    background-position: 40% 50%;
  }

  #Refer-a-Friend-titlearea .titlearea {
    margin: 0;
    padding: 1rem;
    width: 100%;
  }

  #Refer-a-Friend-titlearea .linkarea {
    margin: 0;
    padding: 1rem;
    width: 100%;
    height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #Refer-a-Friend-titlearea .linkarea img {
    width: 100%;
  }

  #Refer-a-Friend-titlearea .container-max {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #Refer-a-Friend-titlearea {
    background-position: 40% 50%;
  }

  #Refer-a-Friend-titlearea .titlearea {
    margin: 0;
    padding: 1rem;
    width: 100%;
  }

  #Refer-a-Friend-titlearea .linkarea {
    margin: 0;
    padding: 1rem;
    width: 100%;
    height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #Refer-a-Friend-titlearea .linkarea img {
    width: 100%;
  }

  #Refer-a-Friend-titlearea .container-max {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
  キャンペーン詳細
--------------------------------------------------------------*/
#refer-frends {
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 0;
  padding: 3rem 0;
  width: 100%;
}

#refer-frends .refer-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 960px;
  margin: 0;
  padding: 1rem;
}

#refer-frends .refer-content {
  width: 100%;
  background-color: rgb(255 255 255 / 0.8);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
}

#refer-frends .refer-content > p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
  color: #333;
}

#refer-frends .refer-content > p:last-child {
  margin-bottom: 0;
}

#refer-frends .refer-content p strong {
  color: rgb(var(--main-color) / 1);
  font-weight: bold;
  font-size: 1.2rem;
}

#refer-frends .refer-box {
  background-color: #f0fff9;
  border: 2px solid rgb(0 195 185 / 0.5);
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  text-align: left;
}

#refer-frends .refer-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#refer-frends .refer-box p:last-child {
  margin-bottom: 0;
}

#refer-frends .refer-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

#refer-frends .refer-box ul li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 0.5rem;
  padding-left: 1.8rem;
  position: relative;
  font-weight: bold;
}

#refer-frends .refer-box ul li::before {
  content: "✔";
  color: rgb(0 195 185);
  position: absolute;
  left: 0;
  top: 0;
}

#refer-frends .refer-benefits {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

#refer-frends .refer-benefits .benefit-item {
  flex: 1;
  background-color: rgb(255 255 255 / 1);
  border: 6px solid rgb(var(--main-color) / 0.65);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#refer-frends .refer-benefits .benefit-item h4 {
  font-size: 1.3rem;
  color: #fff;
  background-color: rgb(var(--main-color) / 1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin: -3.5rem 0 1.5rem 0;
  font-weight: bold;
  display: inline-block;
}

#refer-frends .refer-benefits .benefit-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#refer-frends .refer-benefits .benefit-item p strong {
  font-size: 1.5rem;
  color: rgb(var(--main-color) / 1);
}

#refer-frends .refer-benefits .benefit-item small {
  display: block;
  font-size: 0.9rem;
  color: #666;
  text-align: left;
  line-height: 1.4;
  margin-top: auto;
}

@media (max-width: 767.98px) {
  #refer-frends .refer-container {
    width: 100%;
  }

  #refer-frends .refer-content {
    padding: 1.5rem;
  }

  #refer-frends .refer-benefits {
    flex-direction: column;
    gap: 2.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #refer-frends .refer-container {
    width: 100%;
  }
}

/*--------------------------------------------------------------
  未来創造ろんり教室について
--------------------------------------------------------------*/
#thinkacademy-adout {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

  margin: 0;
  padding: 0 0 3rem 0;

  width: 100%;
  height: 120vh;

  background-color: #f0fff9;
}

#thinkacademy-adout .adout-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

  width: 960px;
  height: stretch;

  margin: 0;
  padding: 1rem;
}

#thinkacademy-adout .adout-container > h2 {
  color: #666;
  text-align: center;
}

#thinkacademy-adout .adout-container > img:first-child {
  margin: 3rem 0 0 0;
  width: 60vw;
}

#thinkacademy-adout .adout-container > .adout-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin: 0;
  padding: 0;
}

#thinkacademy-adout .adout-container > .adout-grid div:first-child {
  margin: 0;
  padding: 1rem 0 1rem 0;

  text-align: center;
}

#thinkacademy-adout .adout-container > .adout-grid div:last-child {
  margin: 0;
  padding: 1rem;
  width: 100%;
  /* background-color: rgb(255 255 255 / 0.7); */
  border-radius: 1rem;

  text-align: justify;
}

#thinkacademy-adout .adout-container > .adout-grid div.external a {
  background-color: #fff;
  font-size: 0.8rem;
  color: #666;

  filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.4));
}

#thinkacademy-adout .adout-container > .adout-grid div.external a:hover {
  color: rgb(var(--main-color) / 1);
}

#thinkacademy-adout
  .adout-container
  > .adout-grid
  div.external
  a
  > span.material-symbols-outlined {
  margin: 0;
  padding: 0 0 0 3px;
  font-size: 1rem;
  line-height: 1rem;
  vertical-align: -3px;
}

#thinkacademy-adout .adout-container > .adout-grid div.external a:first-child {
  margin: 1rem 0 1rem 0;
  padding: 0.5rem 1rem 0.5rem 2rem;

  border: 1px solid #eee;
  border-radius: 1.5rem 0 0 1.5rem;
}

#thinkacademy-adout .adout-container > .adout-grid div.external a:last-child {
  margin: 1rem 0 1rem 0;
  padding: 0.5rem 2rem 0.5rem 1rem;

  border: 1px solid #eee;
  border-radius: 0 1.5rem 1.5rem 0;
}

#thinkacademy-adout .about-policy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 1rem;
  line-height: 1.1rem;
}

#thinkacademy-adout .about-policy > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

#thinkacademy-adout .about-policy h2 {
  margin: 0;
  padding: 3rem 0 1rem 0;
  font-size: 1.7vw;
  line-height: 2.1vw;

  color: rgb(var(--main-color) / 1);
}

#thinkacademy-adout .about-policy div > h3 {
  margin: 0.5rem 0 0.5rem 0;
  font-weight: 600;
}

#thinkacademy-adout .about-policy div > h3 .material-symbols-outlined {
  font-size: 2rem;
  color: #999;
}

#thinkacademy-adout .about-policy p {
  font-size: 1.2rem;
  line-height: 1.6rem;

  font-weight: 500;
  text-align: center;
}

#thinkacademy-adout .about-policy h2 a {
  margin: 0;
  padding: 1rem 0 1rem 0;
  font-size: 1.9vw;
  line-height: 2.1vw;

  color: rgb(var(--main-color) / 1);
}

#thinkacademy-adout .about-policy h3 strong {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 500;
  color: rgb(0 195 185);
}

#thinkacademy-adout .submenu-btn-w a:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255 255 255 / 1);
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #thinkacademy-adout .adout-container {
    width: 100%;
  }

  #thinkacademy-adout .adout-container > img:first-child {
    width: 90vw;
  }

  #thinkacademy-adout .adout-container > .adout-grid div:last-child {
    width: 100%;
  }

  #thinkacademy-adout .about-policy h2 {
    font-size: 3.3vw;
    line-height: 3.7vw;

    vertical-align: middle;
  }

  #thinkacademy-adout .about-policy h2 a {
    font-size: 3.3vw;
    line-height: 3.7vw;

    vertical-align: middle;
  }

  #thinkacademy-adout .about-policy {
    font-size: 1rem;
    line-height: 1.1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #thinkacademy-adout .adout-container {
    width: 100%;
  }

  #thinkacademy-adout .adout-container > .adout-grid div:last-child {
    width: 100%;
  }

  #thinkacademy-adout .about-policy h2 {
    font-size: 2.4vw;
    line-height: 2.8vw;
  }

  #thinkacademy-adout .about-policy h2 a {
    font-size: 2.4vw;
    line-height: 2.8vw;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
  特徴
--------------------------------------------------------------*/

#thinkacademy-features {
  display: flex;
  justify-content: center;
  align-items: start;

  margin: 0;
  padding: 3rem 0 3rem 0;

  width: 100%;
}

#thinkacademy-features .features-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;

  width: 960px;
  height: stretch;

  margin: 0;
  padding: 1rem;
}

#thinkacademy-features .features-container h2,
#thinkacademy-features .features-container h2 * {
  margin: 0;
  padding: 0 0 1rem 0;
  color: #666;
  font-size: clamp(1.8rem, 2vw, 3rem);
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
}

#thinkacademy-features .features-container h2 strong {
  line-height: 1.2;
  font-weight: 600;
}

#thinkacademy-features .features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 1rem;
  justify-content: center;
  align-items: stretch;

  margin: 0;
  padding: 0;
}

#thinkacademy-features .features-grid > div {
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  column-gap: 0;
  row-gap: 0;

  background-color: rgb(255 255 255 / 0.7);
  border: 6px solid rgb(var(--main-color) / 0.65);
  border-radius: 1rem;

  text-align: center;
}

#thinkacademy-features .features-grid > div div.bg-img {
  height: 10rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

#thinkacademy-features .features-grid > div div:last-child {
  margin: 0;
  padding: 1rem;
}

#thinkacademy-features .features-grid div > h3 {
  font-size: 1.5rem;
  line-height: 1.7rem;
  color: rgb(var(--main-color) / 1);
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #thinkacademy-features .features-container {
    width: 100%;
  }

  #thinkacademy-features .features-grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  #thinkacademy-features .features-grid > div div.bg-img {
    height: 30vh;
  }

  #thinkacademy-features .features-grid > div:first-child div.bg-img {
    background-position: center 30%;
  }

  #thinkacademy-features .features-grid div > h3 {
    font-size: 9vw;
    line-height: 10vw;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #thinkacademy-features .features-container {
    width: 100%;
  }

  #thinkacademy-features .features-grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  #thinkacademy-features .features-grid > div div.bg-img {
    height: 30vh;
  }

  #thinkacademy-features .features-grid > div:first-child div.bg-img {
    background-position: center 30%;
  }

  #thinkacademy-features .features-grid div > h3 {
    font-size: 9vw;
    line-height: 10vw;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}
