@charset "utf-8";

/* ------------------- hero -------------------- */
.t-hero__content {
  position: relative;
  background-image:
    linear-gradient(#FECDE9 1px, transparent 1px),
    linear-gradient(90deg, #FECDE9 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
  overflow: hidden;
}

.t-hero__title {
  width: 70%;
  margin: 0 auto;
  padding-top: 40px;
}

.t-hero__text {
  color: var(--c-blue-500);
  width: 60%;
  margin-left: 15%;
  line-height: 2.4;
}

@media screen and (min-width: 768px) {
  .t-hero__section {
    display: flex;
    flex-direction: row-reverse;
    margin: 0 auto;
  }

  .t-hero__img {
    width: 50%;
    z-index: 2;
  }

  .t-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .t-hero__character {
    position: absolute;
    top: 9%;
    right: 3%;
    width: 30%;
  }
}

@media screen and (max-width: 767px) {
  .t-hero__text {
    padding: 20px 0 40px;
  }
  .t-hero__img img{
    aspect-ratio: 375/300;
    object-fit: cover;
  }
  .t-hero__character {
    position: absolute;
    bottom: 21%;
    right: 2%;
    width: 103px;
  }
}

/* ------------------- about -------------------- */
.t-about__section {
  max-width: var(--pc-maw-md);
  width: var(--inner-w);
  margin-inline: auto;
  border-radius: 0 0 50px 50px;
  padding-bottom: 40px;
}

.t-about__header {
  background-color: var(--c-green-600);
  color: var(--c-white);
  padding: 40px 0;
  position: relative;
  border-radius: 50px 50px 0 0;
}

.t-about__subtitle {
  width: fit-content;
  font-size: 14px;
  margin: 0 auto;
  border-bottom: 2px dotted;
}

.t-about__title {
  font-size: 30px;
  width: fit-content;
  margin: 20px auto 0;
}

.t-about__title .border {
  position: relative;
  display: inline-block;
  font-weight: 900;
}

.t-about__title .border::after{
  content: '';
  display: inline-block;
  width: 95%;
  height: 1px;
  background-color: var(--c-white);
  position: absolute;
  left: 0;
  bottom: 0;
}

.t-about__character {
  position: absolute;
  left: 4%;
  bottom: -12%;
  width: 15%;
}

.t-about__deco01 {
  position: absolute;
  right: 3%;
  width: 18%;
  min-width: 80px;
}

.t-about__deco02 {
  position: absolute;
  bottom: -3%;
  right: 3%;
  width: 16%;
  min-width: 120px;
  z-index: 2;
}

.t-about__list li {
  display: flex;
  align-items: center;
  padding: 40px 6%;
  position: relative;
  gap: 20px;
}

.t-about__list-point {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
  color: var(--c-white);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  letter-spacing: normal;
}

.t-about__list-number {
  font-size: 50px;
  display: block;
}

.t-about__list-text {
  color: var(--c-blue-500);
  font-weight: 700;
}

.t-about__list li:nth-child(1) {
  background-color: var(--c-blue-300);
}

.t-about__list li:nth-child(3) {
  background-color: var(--c-yellow-300);
}

.t-about__list li:nth-child(5) {
  background-color: var(--c-brown-300);
}

.t-about__list li:nth-child(1) .t-about__list-point {
  background-color: var(--c-orange-500);
}

.t-about__list li:nth-child(2) .t-about__list-point {
  background-color: var(--c-green-500);
}

.t-about__list li:nth-child(3) .t-about__list-point {
  background-color: var(--c-blue-500);
}

.t-about__list li:nth-child(4) .t-about__list-point {
  background-color: var(--c-yellow-500);
}

.t-about__list li:nth-child(5) .t-about__list-point {
  background-color: var(--c-brown-500);
}

.t-about__list {
  margin-bottom: 40px;
  background-color: var(--c-white);
}

@media screen and (min-width: 1001px) {
  .t-about__deco01 {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media screen and (max-width: 1000px) {
  .t-about__character {
    display: none;
  }

  .t-about__deco01 {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 20%;
  }
}

@media screen and (min-width: 768px) {
  .t-about__section {
    margin-top: var(--spc-100);
  }

  .t-about__title main {
    display: inline-block;
    width: 340px;
  }

  .t-about__list li:nth-child(2n) .t-about__list-point {
    margin-left: 90px;
  }

  .t-about__list-text {
    font-size: var(--fz-28);
    flex: 1;
  }

  .t-about__title img{
    display: inline-block;
    width: 330px;
  }

  .t-about__deco01{
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .t-about__section {
    margin-top: var(--spc-65);
  }

  .t-about__header {
    padding: 20px 0 40px;
  }

  .t-about__title {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
  }

  .t-about__title .border {
    margin-bottom: 10px;
  }

  .t-about__title main {
    width: 230px;
  }

  .t-about__list-point {
    position: absolute;
    top: -20px;
    width: 60px;
    height: 60px;
    font-size: 10px;
  }

  .t-about__list li:nth-child(2n-1) .t-about__list-point {
    left: 8%;
  }

  .t-about__list li:nth-child(2n) .t-about__list-point {
    right: 8%;
  }

  .t-about__list-number {
    font-size: 30px;
  }

  .t-about__list-text {
    font-size: 16px;
    width: fit-content;
    margin: 0 auto;
    white-space: nowrap;
  }

  .t-about__list li {
    padding: 50px 10%;
  }

  .t-about__title img{
    width: 230px;
  }
}

/* -------------------  attend-------------------- */
.t-attend__list {
  max-width: 860px;
  margin: 40px auto 0;
}

.t-attend__top {
  position: relative;
}

.t-attend__list-otona .t-attend__caption {
  color: var(--c-blue-500);
}

.t-attend__list-codomo .t-attend__caption {
  color: var(--c-pink-300);
}

.t-attend__title {
  height: 50px;
  margin: 40px auto 20px;
}

.t-attend__title img {
  height: 100%;
}

.t-attend__text {
  color: var(--c-blue-500);
  width: fit-content;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
}

.t-attend__text::after {
  content: '';
  display: inline-block;
  background-image: url(../images/top/otona-btn.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.t-attend__list-codomo .t-attend__text::after {
  background-image: url(../images/top/codomo-btn.svg);
}

.t-attend__img {
  border-radius: 50%;
}

.t-attend__list li a {
  transition: all 0.3s;
}

@media screen and (hover: hover) {
  .t-attend__img {
    overflow: hidden;
    width: 410px;
  }

  .t-attend__list li a:hover {
    opacity: 1;
  }

  .t-attend__list li a:hover .t-attend__img>img {
    transform: scale(1.1);
  }

  .t-attend__list li a:hover img {
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {
  .t-attend__section {
    margin-top: var(--spc-100);
  }

  .t-attend__caption {
    writing-mode: vertical-rl;
    font-size: 20px;
    position: absolute;
    height: max-content;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    background-color: var(--c-white);
    padding: 20px 10px;
  }

  .t-attend__list-otona .t-attend__caption {
    right: 110%;
  }

  .t-attend__list-codomo .t-attend__caption {
    left: 110%;
  }

  .t-attend__list {
    width: 78%;
    display: flex;
    gap: 40px;
  }

  .t-attend__list li {
    flex: 1;
  }

  .t-attend__img .character {
    position: absolute;
    width: 120px;
    bottom: -2%;
  }

  .t-attend__list-otona .t-attend__img .character {
    left: -10%;
  }

  .t-attend__list-codomo .t-attend__img .character {
    right: -6%;
    width: 100px;
  }

  .t-attend__list-codomo {
    margin-top: 60px;
  }

  .t-attend__img .character::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: #102B5C;
    position: absolute;
    top: 15px;
    z-index: 2;
  }

  .t-attend__list-otona .t-attend__img .character::before {
    left: -10px;
    transform: rotate(45deg);
  }

  .t-attend__list-codomo .t-attend__img .character::before {
    right: -10px;
    transform: rotate(-45deg);
    top: -8px;
  }
}

@media screen and (max-width: 767px) {
  .t-attend__section {
    margin-top: var(--spc-80);
  }

  .t-attend__list {
    max-width: var(--inner-w);
    margin-top: 20px;
  }

  .t-attend__img {
    position: relative;
    width: 200px;
    margin: 0 auto;
  }

  .t-attend__img .character {
    position: absolute;
    width: 80px;
    bottom: 0;
  }

  .t-attend__list-otona .t-attend__img .character {
    left: -10%;
  }

  .t-attend__list-codomo .t-attend__img .character {
    right: -10%;
  }

  .t-attend__caption {
    text-align: center;
    margin-top: 20px;
  }

  .t-attend__title {
    height: 40px;
    margin-top: 5px;
  }

  .t-attend__text {
    font-size: 14px;
  }

  .t-attend__list-codomo {
    margin-top: 40px;
  }
}

/* ------------------- course -------------------- */
.t-course__section {
  background-color: var(--c-blue-300);
  border-radius: 100px 100px 0 0;
  max-width: var(--pc-maw-lg);
  margin-inline: auto;
}

.t-course__list {
  max-width: var(--pc-maw-md);
  width: var(--inner-w);
}

.t-course__list li a {
  display: flex;
  align-items: center;
  background-color: var(--c-white);
  border-radius: 20px;
}

.t-course__title {
  flex: 1;
  line-height: 1.2;
  color: var(--c-blue-500);
}

.t-course__title .en{
  font-weight: 900;
}

.t-course__title .jp{
  font-weight: 700;
}

@media screen and (hover: hover) {
  .t-course__list li a:hover {
    opacity: 1;
  }

  .t-course__img {
    overflow: hidden;
  }

  .t-course__list li a:hover .t-course__img img {
    transform: scale(1.1);
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {
  .t-course__section {
    margin-top: var(--spc-100);
    padding: var(--spc-100) 0;
  }

  .t-course__list {
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .t-course__img {
    width: 120px;
    border-radius: 20px 0 0 20px;
  }

  .t-course__title {
    padding: 0 20px;
  }

  .t-course__title .en {
    font-size: 12px;
    display: block;
  }

  .t-course__title .jp {
    font-size: var(--fz-30);
    display: block;
    margin-top: 12px;
  }
}

@media screen and (max-width: 767px) {
  .t-course__section {
    margin-top: var(--spc-80);
    padding: var(--spc-80) 0;
  }

  .t-course__list {
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .t-course__img {
    width: 70px;
    border-radius: 20px 0 0 20px;
  }

  .t-course__title {
    padding: 0 10px;
  }

  .t-course__title .en {
    font-size: 10px;
    display: block;
  }

  .t-course__title .jp {
    font-size: 16px;
    display: block;
    margin-top: 5px;
  }
}


/* ------------------- news -------------------- */
.t-news__section {
  background-color: var(--c-pink-200);
  border-radius: 100px 100px 0 0;
  max-width: var(--pc-maw-lg);
  overflow: hidden;
  margin: 0 auto;
}

.t-news__wrap {
  background-color: var(--c-white);
  border-radius: 20px;
  max-width: 1000px;
  width: var(--inner-w);
  margin: 40px auto 0;
  position: relative;
  padding: 40px 0;
}

.t-news__list {
  max-width: 800px;
  width: var(--inner-w);
  margin: 0 auto;
}

.t-news__list li+li {
  border-top: 1px dashed var(--c-blue-500);
}

.t-news__list time {
  width: fit-content;
}

.t-news__text {
  flex: 1;
}

.t-news__character {
  width: 160px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
}

.t-news__btn a {
  display: block;
  border-radius: 50px;
  background-color: var(--c-blue-500);
  text-align: center;
  padding: 6px 0;
  width: 150px;
  font-size: 12px;
  margin: 20px auto 0;
  color: var(--c-white);
}

@media screen and (max-width: 1000px) {
  .t-news__character {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .t-news__section {
    padding: var(--spc-100) 0;
  }
  .t-news__list{
    padding-right: 150px;
  }
  .t-news__list li a {
    display: flex;
    gap: 30px;
    font-size: 14px;
    padding: 15px 0;
  }
  .t-news__text{
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }
}

@media screen and (max-width: 767px) {
  .t-news__section {
    padding: var(--spc-80) 0;
  }

  .t-news__wrap {
    padding: 20px 0;
  }

  .t-news__list li a {
    font-size: 12px;
    padding: 10px 0;
    display: block;
  }
}

/* ------------------- event -------------------- */
.t-blog__list {
  max-width: var(--pc-maw-md);
  width: var(--inner-w);
  margin: 40px auto;
}

.t-blog__list a {
  display: block;
  color: var(--c-blue-500);
}

.t-blog__list-thumb img {
  border-radius: 20px;
}

.t-blog__list-date {
  font-weight: 400;
  font-size: var(--fz-14);
}

.t-blog__list-title {
  font-weight: 700;
  font-size: var(--fz-20);
}

.t-blog__list-text {
  font-size: var(--fz-16);
  color: #222222;
}

@media screen and (min-width: 768px) {
  .t-blog__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .t-event__section {
    margin-top: var(--spc-100);
  }

  .t-blog__list-thumb{
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .t-blog__list a {
    display: flex;
    gap: 10px;
  }

  .t-blog__list-thumb {
    width: 40%;
  }

  .t-blog__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .t-blog__list-date {
    font-size: 10px;
  }

  .t-blog__list-title {
    font-size: 14px;
  }

  .t-blog__list-text {
    font-size: 12px;
    max-height: 40px;
    overflow: hidden;
  }

  .t-blog__list article+article {
    margin-top: 20px;
  }

  .t-event__section {
    margin-top: var(--spc-80);
  }
}

/* ------------------- blog -------------------- */
@media screen and (min-width: 768px) {
  .t-blog__section {
    margin-top: var(--spc-100);
  }
}

@media screen and (max-width: 767px) {
  .t-blog__section {
    margin-top: var(--spc-80);
  }
}