@charset "UTF-8";

.sp {
    display: none;
}

/* ================================================
   ジュニアモニター ページ専用スタイル
   ================================================ */
.content-wrap {
    background: url(../img/bg_star_l.png) repeat-y left top, url(../img/bg_star_r.png) repeat-y right top;
    background-size: 5%;
}
.action.jmonitor {
  line-height: 1.8;
    color: #333;
}


/* ------------------------------------------------
   アニメーション
   ------------------------------------------------ */
.lauph_anime {
    opacity: 0;
}

@keyframes tilt-once {
    0%   { transform: rotate(0deg); }
    5%   { transform: rotate(10deg); }  /* 5%の時点で右に10度傾く */
    15%  { transform: rotate(0deg); }   /* 10%で元に戻る */
    100% { transform: rotate(0deg); }   /* 残りの時間はそのまま静止 */
}

.lauph_anime.is-show {
  animation: bounceIn 0.8s ease-out forwards, tilt-once 2s infinite 0.8s ease-in-out;
}
.jm-section:nth-child(2n) .lauph_anime.is-show {
  animation: bounceIn 0.8s ease-out forwards, tilt-once 2s infinite 1.3s ease-in-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px); /* ① 最初は少し下から */
  }
  60% {
    opacity: 1;
    transform: translateY(-20px); /* ② 元の位置を通り越して、少し高めの位置へ */
  }
  80% {
    opacity: 1;
    transform: translateY(5px); /* ③ 反動でほんの少しだけ下がる */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* ④ 元の位置にぴったり戻る */
  }
}

/* ------------------------------------------------
   イントロ文
   ------------------------------------------------ */
.jm-intro {
  padding: 20px 0;
  font-size: min(2vw, 20px);
  line-height: 2;
  font-weight: 500;
  position: relative;
}
.jm-intro::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(21.4vw, 300px);
    height: 200px;
    background: url(../img/lauph_intro.png) no-repeat center bottom;
    background-size: contain;
    opacity: 0;
    animation: bounceIn 0.8s ease-out forwards, tilt-once02 2s infinite 1.3s ease-in-out;
}

.jm-intro__text span {
  font-weight: bold;
  font-size: 140%;
}

/* ------------------------------------------------
   セクション共通
   ------------------------------------------------ */
.jm-section {
  padding-top: 40px;
}

/* --- 見出しエリア --- */
.jm-section__head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

/* ラフくんアイコン画像（小） */
.jm-section__icon {
  width: 55px;
  margin: 0;
  margin-right: 4px;
}

.jm-section__title {
  font-size: min(2.6vw, 26px);
  font-weight: bold;
  letter-spacing: 0.08em;
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 2.1;
}
.jm-section__title::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background: url(../img/line_color.jpg) repeat-x left center;
  background-size: contain;
}

/* --- セクション本文 --- */
.jm-section__body {
  padding: 0 0 0 64px;
  font-size: min(2.4vw, 20px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.jm-section__body p {
  margin: 0 0 8px;
}

.jm-section__body p:last-child {
  margin-bottom: 0;
}


/* ------------------------------------------------
   プログラム内容
   ------------------------------------------------ */

.jm-program__body {
    position: relative;
}
.jm-program__body::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(14.2vw, 200px);
    height: min(12vw, 150px);
    background: url(../img/lauph_program.png) no-repeat right bottom;
    background-size: contain;
    opacity: 0;
}
@keyframes tilt-once02 {
    0%   { transform: translateY(0); }
    50% { transform: translateY(0); }
    60%   { transform: translateY(-15px); }
    70%  { transform: translateY(5px); }
    80% { transform: translateY(0); }
    100% { transform: rotate(0deg); }
}

.jm-program__body.is-show::before {
    animation: bounceIn 0.8s ease-out forwards, tilt-once02 2s infinite 0.8s ease-in-out;
}

.jm-program__list > li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.8;
}

.jm-program__list > li:last-child {
  margin-bottom: 0;
}

.jm-program__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1em;
  color: #fff;
  margin-top: 0.1em;
}

.jm-program__list > li:nth-of-type(1) .jm-program__num {
  background-color: #F15B62;
}

.jm-program__list > li:nth-of-type(2) .jm-program__num {
  background-color: #FFC940;
}

.jm-program__list > li:nth-of-type(3) .jm-program__num {
  background-color: #00A7E3;
}

.jm__note {
  display: block;
  font-size: 70%;
  color: #585858;
  margin-top: 2px;
}

/* ------------------------------------------------
   応募条件
   ------------------------------------------------ */
.jm-cond__ruby {
  display: inline-block;
  font-size: 13px;
  color: #fff;
  background: #e8380d;
  border-radius: 3px;
  padding: 2px 10px;
  margin: 0 0 0 16px;
}

.jm-cond__list > li {
  padding-left: 10px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.jm-cond__list > li:last-child {
  margin-bottom: 0;
}

.jm-cond__text {
  display: flex;
  gap: 10px;
}

/* 丸ドット */
.jm-cond__list .jm-cond__text::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.65em;
}

/* 色分け */
.jm-cond__list > li:nth-child(1) .jm-cond__text::before { background-color: #e8380d; }
.jm-cond__list > li:nth-child(2) .jm-cond__text::before { background-color: #f5a200; }
.jm-cond__list > li:nth-child(3) .jm-cond__text::before { background-color: #f5e600; }
.jm-cond__list > li:nth-child(4) .jm-cond__text::before { background-color: #B2D235; }
.jm-cond__list > li:nth-child(5) .jm-cond__text::before { background-color: #5cb531; }
.jm-cond__list > li:nth-child(6) .jm-cond__text::before { background-color: #00a0e9; }
.jm-cond__list > li:nth-child(7) .jm-cond__text::before { background-color: #0050a0; }
.jm-cond__list > li:nth-child(8) .jm-cond__text::before { background-color: #8e44ad; }
.jm-cond__list > li:nth-child(9) .jm-cond__text::before { background-color: #F59EBF; }

.jm-cond__list .jm__note {
  padding-left: 18px;
}

/* ------------------------------------------------
   応募方法 ボタン
   ------------------------------------------------ */
.jm-apply__btn-wrap {
  text-align: center;
  margin: 16px 0 10px;
}

.jm-apply__btn {
  display: inline-block;
  background:
    url(../img/btn_lauph.png) no-repeat right 8% center,
    #FFC940;
  background-size: contain;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 100px;
  border-radius: 40px;
  letter-spacing: 0.08em;
  border: 4px solid transparent;
  box-shadow: 0 8px 0 #F8984B;
  transform: translateY(0);
  transition: box-shadow 0.1s, transform 0.1s;
}

.jm-apply__btn:hover {
  box-shadow: 0 0 0 #F8984B;
  transform: translateY(8px);
}

.jm-apply__note {
  font-size: 70%;
  color: #585858;
  text-align: center;
  margin: 0;
}

/* ------------------------------------------------
   応募締切
   ------------------------------------------------ */
.jm-deadline__main {
    color: #e8380d;
    font-weight: 700;
    font-size: 24px;
}

.jm-deadline__note {
    font-size: 70%;
    color: #585858;
  margin: 0;
  line-height: 1.8;
}

/* ------------------------------------------------
   注意事項ボックス
   ------------------------------------------------ */
.jm-attention {
  margin-top: 60px;
  border: 1px solid #0081C5;
  padding: 20px 20px;
  font-size: 14px;
  /* font-weight: 500; */
  line-height: 1.8;
  color: #0081C5;
}

.jm-attention__mark {
  font-weight: bold;
  margin-right: 4px;
}

/* ------------------------------------------------
   レスポンシブ（SP）
   ------------------------------------------------ */
@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    /* ================================================
    ジュニアモニター ページ専用スタイル
    ================================================ */
    .content-wrap {
        background-size: 10%;
    }
    .action.jmonitor {
        line-height: 1.6;
    }

    /* ------------------------------------------------
    イントロ文
    ------------------------------------------------ */
    .jm-intro {
        padding: 30px 0;
        font-size: min(4.1vw, 14px);
        line-height: 1.8;
        padding-bottom: 30px;
    }
    .jm-intro::before {
        width: min(51.28vw, 200px);
        height: min(25.6vw, 100px);
    }

    /* ------------------------------------------------
    セクション共通
    ------------------------------------------------ */
    .jm-section {
         padding-top: 40px;
    }
    .jm-section__date {
        padding-top: 30px;
    }

    /* --- 見出しエリア --- */
    .jm-section__head {
        gap: 4px;
        margin-bottom: 10px;
    }

    /* ラフくんアイコン画像（小） */
    .jm-section__icon {
        width: min(10vw, 40px);
        margin-right: 0;
    }

    .jm-section__title {
        font-size: min(4.6vw, 18px);
    }
    .jm-section__title::after {
        height: 4px;
        background: url(../img/line_color_sp.jpg) repeat-x left center;
        background-size: contain;
    }

    /* --- セクション本文 --- */
    .jm-section__body {
        padding-left: 12px;
        font-size: min(3.9vw, 14px);
    }

    /* ------------------------------------------------
    プログラム内容
    ------------------------------------------------ */
    .jm-program__body::before {
        width: 80px;
        height: min(20.5vw, 80px);
    }
    .jm-program__list {
        padding-bottom: 10px;
    }
    .jm-program__list > li {
        gap: 4px;
    }

    .jm-program__num {
        font-size: 0.9em;
    }

    .jm__note {
        font-size: 90%;
    }

    /* ------------------------------------------------
    応募条件
    ------------------------------------------------ */
    .jm-section__cond {
        padding-top: 30px;
    }
    .jm-cond__ruby {
        font-size: 12px;
        margin: 0 0 8px 10px;
        line-height: 1.4;
    }

    .jm-cond__list > li {
    padding-left: 4px;
    line-height: 1.8;
    margin-bottom: 10px;
    }

    .jm-cond__text {
    gap: 4px;
    }

    /* 丸ドット */
    .jm-cond__list .jm-cond__text::before {
    width: 6px;
    height: 6px;
    margin-top: 0.65em;
    }

    .jm-cond__list .jm__note {
    padding-left: 10px;
    }

    /* ------------------------------------------------
    応募方法 ボタン
    ------------------------------------------------ */
    .jm-apply__btn-wrap {
    margin: 16px 0 10px;
    }

    .jm-apply__btn {
    background:
        url(../img/btn_lauph.png) no-repeat right 6% center,
        #FFC940;
    background-size: contain;
    font-size: 18px;
    padding: 10px 60px;
    }

    .jm-apply__btn:hover {
      transform: translateY(8px);
    }

    .jm-apply__note {
    font-size: 90%;
    }

    /* ------------------------------------------------
    応募締切
    ------------------------------------------------ */
    .jm-deadline__main {
        font-size: min(4.6vw, 18px);
    }

    .jm-deadline__note {
        font-size: 90%;
    }

    /* ------------------------------------------------
    注意事項ボックス
    ------------------------------------------------ */
    .jm-attention {
    margin-top: 40px;
    padding: 16px 16px;
    font-size: 12px;
    }

}
