/* ------------------------------
 width: all
------------------------------ */
main section.s01 .wrapper {
  width: 1000px;
  margin: 0 auto;
}

main .mainttl01 {
  text-align: left;
  margin-bottom: 20px;
}

main section.s01 .wrapper .dl01 dd p {
  font-size: 16px;
  line-height: 28px;
  margin-top: 20px;
}

main section.s02 {
  margin-top: 50px;
}

main section.s02 .wrapper {
  width: 1000px;
  margin: 0 auto;
}

main section.s02 .wrapper .now {
  position: relative;
}

.contest_icon {
  position: absolute;
  top: -20px;
  left: -20px;

  width: 100px;
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  color: #fff;
  font-family: fot-tsukuardgothic-std, sans-serif;
  line-height: 1;

  z-index: 1;
}

.contest_icon::after {
  content: '';
  position: absolute;
  inset: 0;

  background: url(../../images/ct_icon.svg) center / contain no-repeat;

  z-index: -1;

  animation: rotation 4s linear infinite;
}

/* アニメーション */
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.now .contest_item {
  background-color: #FFEAE0;
  padding: 32px 48px;
}

.contest_item h3 {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: bold;
  text-align: center;
}

.img_box {
  width: 100%;
  margin-top: 16px;
}

.img_box img {
  display: block;
  width: 100%;
}

.contest_item a {
  width: 480px;
  background-color: #FF651E;
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-family: "source-han-sans-japanese", sans-serif;
  text-align: center;
  color: #fff;
  line-height: 16px;
  padding: 24px 0;
  margin: 24px auto 0;
}

.contest_list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contest_list .contest_item {
  background-color: #EFFAD8;
  padding: 24px;
  width: 480px;
}

.contest_list .contest_item h3 {
  font-size: 20px;
  line-height: 26px;
  font-weight: bold;
}

.contest_list .contest_item a {
  width: 300px;
  background-color: #00913A;
  display: block;
  text-decoration: none;
  font-size: 16px;
  font-family: "source-han-sans-japanese", sans-serif;
  text-align: center;
  color: #fff;
  line-height: 16px;
  padding: 16px 0;
  margin: 24px auto 0;
}


/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main section.s01 {
    padding: 0 20px;
  }

  main section.s01 .wrapper {
    width: 100%;
    margin: 0 auto;
  }

  main .mainttl01 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
  }

  main section.s01 .wrapper .dl01 dd p {
    font-size: 14px;
    line-height: 24px;
    margin-top: 0;
  }

  main section.s02 {
    padding: 0 20px ;
  }

  main section.s02 .wrapper {
    width: 100%;
    margin: 0 auto;
  }

  main section.s02 .wrapper .now {
    position: relative;
  }

  .contest_icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    color: #fff;
    font-family: fot-tsukuardgothic-std, sans-serif;
    line-height: 1;

    z-index: 1;
  }

  .contest_icon::after {
    content: '';
    position: absolute;
    inset: 0;

    background: url(../../images/ct_icon.svg) center / contain no-repeat;

    z-index: -1;

    animation: rotation 4s linear infinite;
  }

  /* アニメーション */
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .now .contest_item {
    background-color: #FFEAE0;
    padding: 16px;
  }

  .contest_item h3 {
    font-family: fot-tsukuardgothic-std, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    text-align: center;
  }

  .img_box {
    width: 100%;
    margin-top: 8px;
  }

  .img_box img {
    display: block;
    width: 100%;
  }

  .contest_item a {
    width: 100%;
    background-color: #FF651E;
    display: block;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    color: #fff;
    line-height: 14px;
    padding: 16px 0;
    margin: 16px auto 0;
  }

  .contest_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .contest_list .contest_item {
    background-color: #EFFAD8;
    padding: 16px;
    width: 100%;
  }

  .contest_list .contest_item h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .contest_list .contest_item a {
    width: 100%;
    background-color: #00913A;
    display: block;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    color: #fff;
    line-height: 14px;
    padding: 16px 0;
    margin: 16px auto 0;
  }
}