p {
  text-align: center;
  line-height: 2.2;
}

.hero {
  position: relative;
  align-items: center;
  background-color: #e0f9ff;
  padding-top: 20px;
}

.hero__content {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  min-height: 380px;
}

.hero__title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  max-width: 561px;
}

.hero__chu {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  @media screen and (max-width: 767px) {
    top: 0;
    right: 0;
    transform: scale(0.8);
    transform-origin: bottom right;
  }
}

.hero__description {
  font-size: 2.1rem;
  font-weight: bold;
  color: #fff;
  width: 100%;
  background-color: #13b7d2;
  text-align: center;
  padding-block: 0.3em;
  margin-top: -120px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, .3);
  position: relative;
  z-index: 1;
  line-height: 1.2;
  padding-block: .6em;

  & span {
    display: inline-block;
  }
}



.content {
  background: repeating-linear-gradient(-45deg,
      #fff 0 30px,
      #83c36d 30px 33px,
      #fff 33px 65px,
      #f7b756 65px 68px);
  padding: 20px 3% 60px;

  & .inner {
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 40px 5%;

    & section {
      margin-bottom: 4em;
      &:last-child{
        margin-bottom: 2em;
      }
    }
  }
}

.title {
  font-size: 1.8em;
  font-weight: 900;
  color: #fff;
  margin-bottom: .4em;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-text-stroke: 1px black;
  color: white;
  text-shadow:
    3px 3px 0 #4d4d4d,
    -1px -1px 0 #4d4d4d,
    1px -1px 0 #4d4d4d,
    -1px 1px 0 #4d4d4d,
    1px 1px 0 #4d4d4d;
  paint-order: stroke fill;

  &::first-letter {
    font-size: 1.2em;
    color: #f3af49;
  }

  & .title-text {
    position: relative;
    z-index: 1;

    & small {
      font-size: .6em;
      margin-left: -.3em;
    }
  }
}

.title__stroke {
  margin-top: -20px;
  opacity: 0;
  max-width: 450px;
  width: 100%;
}

.scroll-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-in.on {
  opacity: 1;
  transform: translateY(0);
}

@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 2174.58056640625px;
    stroke-dasharray: 2174.58056640625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2174.58056640625px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 2174.58056640625px;
    stroke-dasharray: 2174.58056640625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 2174.58056640625px;
  }
}

.cls-1 {
  fill: none;
  stroke: #ffec3f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.916px;
}

.title__stroke.on {
  opacity: 1;
  -webkit-animation: animate-svg-stroke-1 2s linear 0s both;
  animation: animate-svg-stroke-1 2s linear 0s both;
}



.event-date {
  font-size: 1.4em;
  font-weight: 900;
  color: #13b7d2;
  @media screen and (max-width: 767px) {
    font-size: 1.2em;
  }
}

.event-date__date,
.event-date__time {
  display: inline-block;
  line-height: 1;
}

.event-date__year,
.event-date__month,
.event-date__day,
.event-date__hour,
.event-date__minute {
  font-family: 'Affogato-Bold';
  font-size: 2.3em;
}

.apply-date {
  font-size: 1.1em;
  font-weight: 700;
  color: #4d4d4d;
  margin-bottom: 1em;
}

.apply-date__date,
.apply-date__time {
  display: inline-block;
  line-height: 1;
}

.apply-date__year,
.apply-date__month,
.apply-date__day,
.apply-date__hour,
.apply-date__minute {
  font-family: 'Affogato-Bold';
  font-size: 1.8em;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  padding: .5em 1em;
  background-color: #83c36d;
  color: #ffffff !important;
  font-size: 2em;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  &.out{
    filter: grayscale(1);
    cursor: default;
    pointer-events: none;
  }
  @media screen and (max-width: 767px) {
    font-size: 1.6em;
  }
  & .text {
    line-height: 1.3;
  }
}

.link-btn:hover {
  background-color: #83c36d;
  transform: scale(1.03);
  &.out{
  background-color: #83c36d;
  transform: scale(1);
  }
}

.arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.8em;
  height: 0.8em;
  transform: translate(0.4em, -0.05em);
}

.arrow::before,
.arrow::after {
  box-sizing: border-box;
}

.arrow::after {
  content: '';
  border-style: solid;
  border-width: 0.32em 0 0.32em 0.48em;
  border-color: transparent transparent transparent #ffffff;
}

.programs {
  text-align: left;
  max-width: 650px;
  margin: 0 auto;

  & .program {
    position: relative;
    margin: 2em auto 4em;
    max-width: 800px;

    & .program__time {
      font-size: 1.2em;
      font-weight: bold;
      color: #4d4d4d;
      margin-bottom: .5em;
      background-color: rgb(255 255 255 / .8);
      border-left: 2px dotted rgb(0 0 0 / .1);
      border-right: 2px dotted rgb(0 0 0 / .1);
      box-shadow: 0 0 5px rgb(0 0 0 / .12);
      transform: rotate(-2deg);
      padding: 10px 20px;
      line-height: 1;
      position: absolute;
      top: -1em;
      left: 1em;
      display: inline-block;
      width: auto;
      max-width: calc(100% - 2em);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      z-index: 1;
    }

    & .program__content {
      padding: 2.5em 1em 1em;
      position: relative;
      border: 1px solid #48a1b8;

      &::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 8px;
        width: calc(100% + 1px);
        height: calc(100% + 1px);
        background: #e0f9ff;
        z-index: -1;
      }
    }

    & .program__title {
      display: flex;
      text-align: center;
      margin: 0 auto 1em;
      background-color: #48a1b8;
      /*#a5c9c1*/
      width: max-content;
      flex-wrap: wrap;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 10px;
      padding: .7em 1em;
      border-radius: 999px;

      @media screen and (max-width: 767px) {
        width: 100%;
        box-sizing: border-box;
        padding: .6em .8em;
        border-radius: 16px;
      }

      & p {
        font-size: 1.4em;
        color: #fff;
        font-weight: bold;
        @media screen and (max-width: 767px) {
          font-size: 1.1em;
        }
      }

      & img {
        max-height: 3.4em;
        @media screen and (max-width: 767px) {
          font-size: 1.0em;
        }
      }
    }

    & .program__download {
      display: block;
      font-size: 0.9em;
      color: #4d4d4d;
      margin-top: .3em;

      & a {
        color: #13b7d2;
        text-decoration: underline;
      }
    }
  }
}

.img-box {
  display: flex;
  margin: auto;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-family: 'HuiFontP';
  font-weight: 500;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    margin-bottom: 10px;
  }

  & p {
    font-size: 1.8em;
    color: #ea6088;
    margin-bottom: .5em;
    font-weight: 900;
    @media screen and (max-width: 767px) {
      line-height: 1.3;
    }

    & span {
      display: inline-block;
    }
  }

  & img {
    width: 100%;
    height: auto;
    max-width: 100px;
  }
}

.pamphlet {
  max-width: 650px;
  width: 100%;
}

.schedule {
  max-width: 650px;
  margin: 0 auto;

  & li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid #ea6088;
    color: #333333;
    gap: 20px;
    &.grayout{
      filter: grayscale(1);
      text-decoration: line-through;
    }

    & .schedule__count {
      display: inline-block;
      padding: 10px 15px;
      background: #ea6088;
      color: #fff;
    }

    & .schedule__date {
      text-align: left;

      & span {
        font-size: 1.3em;
        display: block;
        font-weight: 900;
        line-height: 1.3;
      }
    }
  }
}


