@charset "utf-8";

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

#campain-summer {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

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

#campain-summer .titlearea {
  margin: 0;
  padding: 2rem;
  width: 50%;
  height: stretch;

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

#campain-summer .linkarea {
  margin: 0;
  padding: 3rem;
  width: 50%;
  height: stretch;

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

#campain-summer h5 strong {
  color: #f00;
}

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

  #campain-summer .titlearea {
    margin: 0;
    padding: 1rem;
    width: 100%;
  }

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

  #campain-summer .linkarea img {
    width: 100%;
  }

  #campain-summer .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 の画面サイズの場合のスタイル */
  #campain-summer {
    background-position: 40% 50%;
  }

  #campain-summer .titlearea {
    margin: 0;
    padding: 1rem;
    width: 100%;
  }

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

  #campain-summer .linkarea img {
    width: 100%;
  }

  #campain-summer .container-max {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
  }
}

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

/*--------------------------------------------------------------
  夏期講習のご案内
--------------------------------------------------------------*/
#summer-courses {
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 0;
  padding: 5rem 0;
  width: 100%;
  background-color: #f7fbff;
}

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

#summer-courses .section-title {
  font-size: 2.2rem;
  color: rgb(var(--main-color) / 1);
  margin-bottom: 4rem;
  font-weight: bold;
  text-align: center;
}

#summer-courses .courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
}

#summer-courses .course-card {
  background-color: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#summer-courses .course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#summer-courses .course-hero {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

#summer-courses .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
}

#summer-courses .course-title-svg {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 100%;
  filter: drop-shadow(0px 2px 6px rgba(255, 255, 255, 0.9));
}

#summer-courses .course-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

#summer-courses .course-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-align: center;
}

#summer-courses .course-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2.5rem;
  text-align: justify;
  flex-grow: 1;
}

#summer-courses .hero-cta-btn {
  margin-top: auto;
  align-self: center;
  width: 100%;
  max-width: 300px;
  text-align: center;
  background-color: rgb(var(--main-color) / 1);
  color: #fff;
  border-radius: 3rem;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--main-color) / 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

#summer-courses .hero-cta-btn:hover {
  background-color: #333;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

#summer-courses .hero-cta-btn .arrow {
  margin-left: 0.5rem;
  font-size: 0.9em;
}

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

  #summer-courses .courses-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #summer-courses .summer-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 以上の画面サイズの場合のスタイル */
}
