body {
  background: #fffcf7;
}

.mobile-only-display {
  display: inline-block;
}

.pc-only-display {
  display: none;
}

.container-1 .right img {
  max-height: 300px;
  object-fit: contain;
}

.reverse-container {
  flex-direction: row-reverse;
}

.section-bg-white {
  background: #fff;
}

.contest__section-title {
  display: flex;
  align-items: flex-end;
  color: #333333;
  font-size: 16pt;
  line-height: 130%;
  margin-bottom: 15px;
}

.title__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #f2693a;
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  border-radius: 6px;
  letter-spacing: -0.03em;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-right: 5px;
}

.bg_red {
  background: #ff0000;
}

.bg_green {
  background: #2ba464;
}

.bg_rose {
  background: #e7427a;
}

.bg_sky {
  background: #4aa1ea;
}

.bg_blue {
  background: #0068b7;
}

.bg_orange {
  background: #ff8400;
}

.bg_violet {
  background: #9d569e;
}

.introduction-text {
  text-align: left;
}

.container-1 p {
  text-align: left;
}

.section-introduction .left p {
  line-height: 170%;
}

.section-introduction .right {
  text-align: center;
}

.img-dance-hachi {
  margin-top: 20px;
  width: 70%;
  height: auto;
}

.card-container {
  margin-top: 30px;
}

.card {
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  margin: 1rem auto;
  margin-bottom: 30px;
}

.card-header {
  height: 30px;
  background: linear-gradient(to bottom, #f8a5ff, #ffdede);
}

.card-blue .card-header {
  background: linear-gradient(to bottom, #b9e6ff, #86b7ff);
}

.card-yellow .card-header {
  background: linear-gradient(to bottom, #f69a73, #f6d365);
}

.card-body {
  padding: 1.5rem 1rem;
  height: 275px;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #f08080;
  margin-top: 6px;
}

.card-blue .card-title::after {
  background: #b9e6ff;
}

.card-yellow .card-title::after {
  background: #f69a73;
}

.card-text {
  font-size: 14px;
  color: #444;
  margin: 0.5rem 0 1rem;
}

.card-icon {
  margin-top: auto;
}

.card-icon img {
  width: 50%;
  height: auto;
  opacity: 0.6;
}

.sumaho-icon img {
  width: 60%;
}

.section-top {
  background: linear-gradient(
    to right,
    #99ffcc 0%,
    #e6ffe6 10%,
    #ffffff 15%,
    #ffffff 85%,
    #e6ffe6 90%,
    #99ffcc 100%
  );
}

.section-top__main-visual {
  width: 100%;
  vertical-align: top;
}

.characon-share-icons {
  display: flex;
  justify-content: space-around;
}

.characon-share-x {
  width: 75px;
  height: 75px;
  background: #000;
  border-radius: 37.5px;
  padding-top: 17px;
}

.characon-share-x-string {
  width: 40px;
}

.characon-share-line {
  width: 75px;
}

.characon-share-facebook {
  width: 75px;
}

.cap-unagi {
  width: 80px;
  position: absolute;
  top: 120px;
  left: -20px;
  z-index: 1;
}

.tarako-kuchibiru {
  width: 100px;
  position: absolute;
  top: 120px;
  right: -20px;
  z-index: 1;
}

.section-introduction {
  padding: 30px 20px 30px 20px;
  margin-bottom: 30px;
}

.section-introduction h3 {
  margin-top: 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-weight: 500;
  line-height: 22px;
}

.section-introduction__apply-button {
  display: block;
  margin: 15px auto 0px;
  padding: 3px 0;
  width: 230px;
  background-color: #2ba464;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.section-introduction__character-talk {
  margin-top: 40px;
  display: inline-block;
}

.section-introduction__character-serif-set {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  max-width: 600px;
}

.section-introduction__character-serif-set-left {
  margin-right: 10px;
}

.section-introduction__character-image {
  width: 100px;
  height: 100px;
}

.section-introduction__character-serif {
  width: 100%;
  text-align: left;
  font-size: 14px;
  border: 2px solid #ff7e00;
  border-radius: 10px;
  padding: 10px;
  background-color: white;
}

.section-whats-eito {
  padding: 30px 20px 60px 20px;
}

.section-whats-eito h3 {
  display: block;
  margin: 40px auto 0px;
  padding: 10px 0;
  width: 280px;
  background-color: #2ba464;
  border-radius: 25px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.section-whats-eito p {
  margin-top: 10px;
  font-size: 16px;
  text-align: left;
  line-height: 200%;
}

.section-whats-eito__item2 {
  margin-top: 20px;
}

.section-whats-eito__sdgs_poster {
  margin-top: 20px;
  width: 90%;
}

.section-whats-eito__minifont {
  font-size: 12px;
  margin-top: 20px;
  line-height: 18px;
}

.section-whats-eito__link-button {
  display: block;
  margin: 5px auto 0px;
  padding: 13px 0;
  width: 300px;
  height: 50px;
  background-color: #2ba464;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.section-requirements {
  padding: 30px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.section-requirements__content-wrapper {
  max-width: 450px;
}

.section-requirements__element {
  margin-top: 20px;
}

.section-requirements h3 {
  display: block;
  margin-right: auto;
  padding: 3px 0;
  width: 100px;
  background-color: #2ba464;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.section-requirements p {
  margin-top: 5px;
  text-align: left;
  font-size: 14px;
}

.reward-attention p {
  font-weight: bold;
  font-size: 10px;
  line-height: 150%;
  text-align: left;
}

.reward-attention span {
  color: red;
}

.section-previous-award {
  padding: 30px;
  margin-bottom: 40px;
}

.section-previous-award p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 170%;
  text-align: left;
  word-break: auto-phrase;
}

.section-previous-award__characters {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 15px;
}

.section-previous-award__characters-icon {
  width: 40%;
  max-width: 200px;
}

.section-previous-award__characters-icon img {
  width: 100%;
}

.section-previous-award__characters section {
  display: none;
}

.section-previous-award__modal img {
  max-width: 100%;
}

.section-previous-award__video-area {
  margin-top: 40px;
}

.section-previous-award h3 {
  display: block;
  margin: 15px auto 0px;
  padding: 3px 0;
  width: 280px;
  background-color: #2ba464;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.section-previous-award__video {
  margin-top: 10px;
  width: 100%;
}

.design-advice-image {
  margin-top: 50px;
  max-width: 100%;
  border: #ff8400 10px solid;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.design-advice-button {
  margin-top: 20px;
}

.section-initial-screening__hachibo-serif {
  position: relative;
  width: 340px;
  margin: 0 auto 85px;
}

.section-initial-screening__hachibo-serif p {
  padding: 30px 20px;
  border-radius: 10px;
  border: solid 3px #fff600;
  background-color: #feffe2;
  width: 330px;
  margin: 30px auto;
  line-height: 200%;
  font-weight: 600;
}

.section-initial-screening__hachibo-serif img {
  width: 130px;
  position: absolute;
  top: 20px; /* 4行のときは120px */
  right: -15px;
  z-index: 1;
}

.section-initial-screening__hachibo-serif_2 {
  height: 200px;
  padding: 20px 20px;
  border-radius: 10px;
  border: solid 3px #fff600;
  background-color: #feffe2;
  width: 330px;
  margin: 0 auto;
  line-height: 200%;
  font-weight: 600;
  position: relative;
  margin-top: 75px;
}

.section-initial-screening__hachibo-serif_2 p {
  font-size: 20px;
  margin-bottom: 15px;
}

.character-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 30px;
  margin-top: 20px;
}

.character-list p {
  text-align: center;
}

#post-info {
  display: none;
}

.section-application-method__post-modal h2 {
  display: inline-block;
  color: #ffffff;
  font-size: 18pt;
  text-shadow: 1px 1px 1px #ff7e00, -1px 1px 1px #ff7e00, 1px -1px 1px #ff7e00,
    -1px -1px 1px #ff7e00, 1px 0px 1px #ff7e00, 0px 1px 1px #ff7e00,
    -1px 0px 1px #ff7e00, 0px -1px 1px #ff7e00;
}

.section-application-method__post-modal p {
  margin-top: 10px;
  word-break: auto-phrase;
}

.post-modal__address {
  margin-top: 30px;
}

.footer__content-wrapper {
  margin-top: 0px;
}

@media (min-width: 1025px) {
  .pcLayout__content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  .container-1 {
    display: flex;
    justify-content: space-between;
  }

  .container-1 .left {
    width: 60%;
  }

  .container-1 .right {
    width: 35%;
  }

  .container-1 .right img {
    max-height: 500px;
    object-fit: contain;
  }

  .video-container .right {
    width: 50%;
  }

  .video-container .left {
    width: 45%;
  }

  .section-top__main-visual {
    max-width: 1200px;
  }

  .card-body {
    height: 320px;
  }

  .title__icon {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    font-size: 44px;
  }

  .sumaho-icon img {
    width: 70%;
  }

  .contest__section-title {
    margin-top: 10px;
    font-size: 36px;
  }

  .introduction-text {
    font-size: 24px;
    line-height: 170%;
  }

  .card-container {
    display: flex;
  }

  .mobile-only-display {
    display: none;
  }

  .pc-only-display {
    display: inline-block;
  }

  .section-introduction {
    padding-bottom: 120px;
  }

  .section-introduction h3 {
    margin-top: 17px;
    font-size: 24px;
  }

  .section-introduction__apply-button {
    margin-top: 30px;
    width: 400px;
    height: 80px;
    border-radius: 15px;
    font-size: 30px;
    padding: 27.5px 0;
  }

  .section-introduction__apply-button br {
    display: none;
  }

  .section-introduction__character-talk {
    margin-top: 50px;
  }

  .section-introduction__character-serif-set {
    margin-bottom: 30px;
    max-width: 1024px;
  }

  .section-introduction__character-serif-set-left {
    margin-right: 40px;
  }

  .section-introduction__character-image {
    width: 150px;
    height: 150px;
  }

  .section-introduction__character-serif {
    display: flex;
    align-items: center;
    width: 600px;
    height: 140px;
    font-size: 20px;
    line-height: 140%;
    border: 2px solid #e7427a;
    border-radius: 20px;
    padding: 0px 30px;
  }

  .section-whats-eito {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .section-whats-eito h3 {
    margin-top: 30px;
    padding-top: 5px;
    width: 330px;
    height: 35px;
    background-color: #2ba464;
    border-radius: 22.5px;
    font-size: 20px;
    font-weight: bold;
  }

  .section-whats-eito p {
    margin-top: 15px;
    font-size: 24px;
    line-height: 170%;
  }

  .section-whats-eito__item2 {
    margin-top: 40px;
  }

  .section-whats-eito__sdgs_poster {
    width: 100%;
    margin-top: 0;
  }

  .section-whats-eito__minifont {
    font-size: 16px;
    line-height: 180%;
  }

  .section-whats-eito__link-button {
    width: 320px;
    height: 60px;
    border-radius: 15px;
    font-size: 24px;
    padding: 18px 0;
  }

  .section-requirements {
    padding-bottom: 120px;
  }

  .section-requirements__content-wrapper {
    display: inline-block;
    max-width: 1200px;
    margin-bottom: 40px;
  }

  .section-requirements__element {
    margin-top: 40px;
    padding-bottom: 40px;
    min-height: 100px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
  }

  .section-requirements h3 {
    padding-top: 6px;
    width: 170px;
    height: 35px;
    background-color: #2ba464;
    border-radius: 22.5px;
    font-size: 20px;
    font-weight: bold;
    flex: 0 0 200px;
    margin-right: 100px;
  }

  .section-requirements p {
    margin: 0;
    font-size: 20px;
    line-height: 180%;
    flex: 1;
  }

  .reward-attention p {
    font-size: 14px;
  }

  .section-previous-award {
    margin-bottom: 120px;
  }

  .section-previous-award p {
    margin-top: 15px;
    font-size: 24px;
    line-height: 180%;
  }

  .section-previous-award__characters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
    margin-bottom: 30px;
    width: 100%;
  }

  .section-previous-award__characters-icon {
    width: 22%;
    max-width: none;
  }

  .section-previous-award__video-area {
    margin-top: 60px;
    margin-bottom: 10px;
  }

  .section-previous-award h3 {
    font-size: 20px;
    width: 400px;
    height: 35px;
    padding-top: 5px;
  }

  .section-previous-award__video {
    width: 100%;
  }

  .design-advice-image {
    width: 100%;
  }

  .section-initial-screening__hachibo-serif {
    width: 600px;
    margin-bottom: 100px;
  }

  .section-initial-screening__hachibo-serif p {
    width: 400px;
    font-size: 20px;
    margin-top: 80px;
  }

  .section-initial-screening__hachibo-serif img {
    width: 150px;
    top: -15px;
    right: 30px;
  }
}

/*--- 一次審査 ---*/
.section-initial-screening {
  padding: 30px 20px 30px 20px;
  background: linear-gradient(to bottom, #e6ffe6, #ccffcc, #99ffcc);
}
.section-initial-screening .contest2024__section-title {
  margin-bottom: 20px;
}
.section-initial-screening__comment {
  font-weight: 600;
  margin-bottom: 20px;
}
.section-initial-screening .touhyouchara {
  width: 100%;
  max-width: 600px;
  vertical-align: middle;
}
.characon-data-link {
  display: block;
  margin: 30px auto;
  padding: 3px 0;
  width: 300px;
  height: 75px;
  background-color: #f05a24;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  padding-top: 15px;
}
@media (min-width: 1025px) {
  .section-initial-screening__comment {
    font-size: 24px;
    line-height: 150%;
  }
  .section-initial-screening .touhyouchara {
    max-width: 1149px;
  }
}
.section-initial-screening__smallfont {
  font-size: 12px;
  margin-bottom: 20px;
}
.section-initial-screening__event-info {
  padding: 30px 0;
}
.section-initial-screening__event-element {
  margin-bottom: 20px;
}
.section-initial-screening__event-element h3 {
  display: block;
  margin: 0 auto;
  padding: 3px 0;
  width: 200px;
  background-color: #2ba464;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}
.section-initial-screening__event-element p {
  margin-top: 5px;
  font-size: 14px;
}

/*------投票場所 ------*/

.vote-location-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.vote-location-block {
  background: #feffe2;
  width: 80%;
  margin: 30px auto 15px;
  border-radius: 40px;
  padding: 25px;
}

.vote-location-title {
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin: 0 auto 3px;
}

.vote-location-info {
  display: inline-block;
  font-weight: bold;
  line-height: 170%;
}

.vote-location-note {
  display: block;
  font-size: 13px;
  line-height: 170%;
}

.vote-location-block p {
  line-height: 170%;
}

.vote-button {
  display: block;
  margin: 30px auto 0;
  padding: 3px 0;
  width: 150px;
  height: 60px;
  background-color: #f05a24;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  padding-top: 15px;
  text-align: center;
}

.story-button {
  display: block;
  margin: 30px auto 0;
  padding: 3px 0;
  width: 300px;
  height: 70px;
  background-color: #f05a24;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  padding-top: 13px;
  text-align: center;
}

.vote-attention {
  display: inline-block;
  margin-top: 20px;
  color: red;
  font-weight: bold;
}

@media (min-width: 1025px) {
  .story-button {
    margin-bottom: 80px;
    width: 400px;
    height: 90px;
    border-radius: 20px;
    font-size: 28px;
    line-height: 120%;
    padding-top: 10px;
  }

  .section-whats-eito h3 {
    width: 500px;
    height: 60px;
    border-radius: 30px;
    font-size: 30px;
    padding-top: 19px;
    margin-top: 80px;
  }
  .vote-location-container {
    flex-direction: row;
    justify-content: space-around;
  }
  .vote-location-block {
    width: 500px;
  }
  .vote-location-title {
    font-size: 24px;
  }
  .vote-location-info {
    font-size: 20px;
  }
  .vote-location-note {
    font-size: 16px;
  }
  .vote-button {
    width: 300px;
    height: 70px;
    border-radius: 35px;
    font-size: 28px;
    line-height: 120%;
    padding-top: 19px;
  }
}

.kaijou_pic {
  margin-top: 30px;
  width: 100%;
}

.character-container img {
  /* 1. アニメーションの速度を設定 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* 2. 初期状態の影（薄くしておく） */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.character-container img:hover {
  /* 3. 上に移動させる（マイナス方向に移動） */
  transform: translateY(-10px);

  /* 4. 影を大きく、深くして浮遊感を出す */
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.character-container a {
  display: block;
  width: 40%;
}

.character-container img {
  width: 100%;
}

@media (min-width: 1025px) {
  .character-container a {
    width: 23%;
  }
}

.character-container section {
  display: none;
}
