@charset "utf-8";

/*
URL: file:///Users/Shared/Docker/tokushi/www/html/tokushiikusya/wp-content/themes/tokushiikusya/assets/css/school/events/event_ronri_202607_s-course.css
File: event_ronri_202607_s-course.css
Description: 2025年夏期講習（Sコース）イベントページのスタイルシート。HEROセクションのタイトルのデザイン・視認性を大幅に向上。
*/

/*--------------------------------------------------------------
    イベントタイトル
  --------------------------------------------------------------*/

#events-titlearea {
  margin: 0;
  padding: 1rem;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

#events-titlearea > div:last-child {
  width: 100%;
}

#events-titlearea .textarea {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 4% 20px 4%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

#events-titlearea .textarea > div.title-card,
#events-titlearea .textarea > div:first-child {
  width: 100%;
  max-width: 620px;
  min-height: auto;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: start;
}

#events-titlearea .textarea > div:first-child img {
  width: 90%;
}

#events-titlearea .textarea > div:first-child p {
  color: #000;
  font-size: clamp(1.6rem, 1.8vw, 2.8rem);
  line-height: 1.4;
  font-weight: 400;
}

#events-titlearea .textarea > div.campaign-card,
#events-titlearea .textarea > div:nth-child(2) {
  width: 100%;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#events-titlearea .textarea > div.campaign-card > div,
#events-titlearea .textarea > div:nth-child(2) > div {
  width: 100%;
  max-width: 520px;
  padding: 1.25rem 1.5rem;
  background: rgba(186, 226, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#events-titlearea .textarea > div.campaign-card > div img,
#events-titlearea .textarea > div:nth-child(2) > div img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 0.5rem auto;
  display: block;
}

#events-titlearea .textarea > div.campaign-card p,
#events-titlearea .textarea > div:nth-child(2) p {
  text-align: start;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
  color: #1a3300;
  margin: 0;
}

#events-titlearea .textarea > div:last-child {
  width: 100%;
  margin: 0;
  padding: 1rem;

  display: flex;
  justify-content: center;
  align-items: end;
  align-self: center;
}

#events-titlearea h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.03em;
  margin: 0;
  text-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(0, 0, 0, 0.1);
  text-align: start !important;
}

#events-titlearea h1 .inblock {
  display: inline-block;
}

#events-titlearea h2 {
  display: inline-block;
  background: rgba(0, 122, 109, 0.85);
  color: #fff;
  font-size: clamp(0.85rem, 1.2vw, 1.15rem);
  font-weight: 700;
  padding: 0.45rem 1.5rem;
  border-radius: 6px;
  letter-spacing: 0.12em;
  margin: 0 0 0.8rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  width: fit-content;
  text-align: start !important;
}

#events-titlearea h3 {
  margin: 1rem 0 1rem 0;
  color: #ffea00;
}

#events-titlearea p {
  color: #fff;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */

  #events-titlearea {
    background-position-x: 76%;
  }

  #events-titlearea .textarea {
    padding: 4rem 1.25rem 1rem 1.25rem;
    align-items: flex-start;
    text-align: left;
  }

  #events-titlearea .textarea > div.title-card,
  #events-titlearea .textarea > div:first-child {
    width: 100%;
    max-width: 100%;
    height: unset;
    min-height: unset;
    margin: 2rem 0 1.25rem 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    align-items: flex-start;
    text-align: left;
  }

  #events-titlearea .textarea > div.title-card img,
  #events-titlearea .textarea > div:first-child img {
    width: 95%;
  }

  #events-titlearea .textarea > div.title-card h1,
  #events-titlearea .textarea > div:first-child h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.3;
    text-align: left !important;
  }

  #events-titlearea .textarea > div.title-card h2,
  #events-titlearea .textarea > div:first-child h2 {
    margin: 0 0 0.8rem 0;
    padding: 0.3rem 1rem;
    font-size: clamp(0.75rem, 3.5vw, 0.95rem);
    text-align: left !important;
  }

  #events-titlearea .textarea > div.campaign-card,
  #events-titlearea .textarea > div:nth-child(2) {
    margin: 0 0 1.5rem 0;
    padding: 0;
    width: 100%;
    justify-content: flex-start;
  }

  #events-titlearea .textarea > div.campaign-card > div,
  #events-titlearea .textarea > div:nth-child(2) > div {
    margin: 0;
    padding: 1.25rem;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  #events-titlearea .textarea > div.campaign-card > div img,
  #events-titlearea .textarea > div:nth-child(2) > div img {
    width: 100%;
    max-width: 240px;
    margin: 0 0 0.75rem 0;
  }

  #events-titlearea .textarea > div.campaign-card p,
  #events-titlearea .textarea > div:nth-child(2) p {
    text-align: start;
    font-size: 0.85rem;
  }

  #events-titlearea .textarea > div:last-child {
    width: 100%;
    margin: 0;
    padding: 0;
    align-self: center;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */

  #events-titlearea {
    background-position-x: 90%;
  }

  #events-titlearea .textarea > div.title-card,
  #events-titlearea .textarea > div:first-child {
    width: 100%;
    max-width: 90%;
    height: unset;
    min-height: unset;
    margin: 3rem 0 1.5rem 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }

  #events-titlearea .textarea > div.title-card img,
  #events-titlearea .textarea > div:first-child img {
    width: 95%;
  }

  #events-titlearea .textarea > div.title-card h1,
  #events-titlearea .textarea > div:first-child h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    line-height: 1.35;
  }

  #events-titlearea .textarea > div.title-card h2,
  #events-titlearea .textarea > div:first-child h2 {
    margin: 0 0 1rem 0;
    padding: 0.35rem 1.1rem;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  }

  #events-titlearea .textarea {
    padding: 6rem 3rem 1.5rem 4%;
    align-items: flex-start;
    text-align: left;
  }

  #events-titlearea .textarea > div.title-card,
  #events-titlearea .textarea > div:first-child {
    width: 100%;
    max-width: 500px;
    height: unset;
    min-height: unset;
    margin: 3rem 0 1.25rem 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }

  #events-titlearea .textarea > div.title-card img,
  #events-titlearea .textarea > div:first-child img {
    width: 95%;
  }

  #events-titlearea .textarea > div.title-card h1,
  #events-titlearea .textarea > div:first-child h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.35;
  }

  #events-titlearea .textarea > div.title-card h2,
  #events-titlearea .textarea > div:first-child h2 {
    margin: 0 0 1rem 0;
    padding: 0.35rem 1.1rem;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  }

  #events-titlearea .textarea > div.campaign-card,
  #events-titlearea .textarea > div:nth-child(2) {
    margin: 0 0 1.5rem 0;
    padding: 0;
    width: 100%;
    justify-content: flex-start;
  }

  #events-titlearea .textarea > div.campaign-card > div,
  #events-titlearea .textarea > div:nth-child(2) > div {
    margin: 0;
    padding: 1.25rem;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
  }

  #events-titlearea .textarea > div.campaign-card > div img,
  #events-titlearea .textarea > div:nth-child(2) > div img {
    width: 100%;
    max-width: 260px;
  }

  #events-titlearea .textarea > div.campaign-card p,
  #events-titlearea .textarea > div:nth-child(2) p {
    font-size: 0.9rem;
  }

  #events-titlearea .textarea > div:last-child {
    width: 100%;
    margin: 0;
    padding: 0;
    align-self: center;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    イベント概要
  --------------------------------------------------------------*/

#events-about {
  width: 100%;
  height: 100%;
}

#events-about .events-about-grid {
  width: 100%;
  height: 100%;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 2rem;
  row-gap: 1rem;
}

#events-about .events-about-grid > div:first-child {
  order: 1;
  margin: 0;
  padding: 0 !important;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

#events-about .events-about-grid > div:last-child {
  order: 2;
  width: 100%;
  min-height: 50vh;
}

#events-about .events-about-grid h3 {
  margin: 0 0 0.5rem 0;
  padding: 0;

  font-size: 1.5rem;
  color: rgb(var(--main-color) / 1);
}

#events-about h2 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#events-about h5 {
  margin: 3rem 0 0.5rem 0;
  padding: 0;
}

#events-about .events-about-grid ul {
  margin: 0 1rem 3rem 1rem;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #events-about .events-about-grid {
    grid-template-columns: 1fr;
  }

  #events-about .events-about-grid > div:first-child {
    order: 2;
  }

  #events-about .events-about-grid > div:last-child {
    order: 1;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #events-about .events-about-grid {
    grid-template-columns: 1fr;
  }

  #events-about .events-about-grid > div:first-child {
    order: 2;
  }

  #events-about .events-about-grid > div:last-child {
    order: 1;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    チャート
  --------------------------------------------------------------*/

#event202607-chart {
  width: 100%;
  height: 100%;
}

#event202607-chart img {
  width: 100%;
}

/*--------------------------------------------------------------
    
  --------------------------------------------------------------*/

/* */
#events-about .events-about-fivepoints {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

#events-about .events-about-fivepoints h3 {
  margin: 5rem 0 2rem 0;
  padding: 0;
}

#events-about .events-about-fivepoints ul li {
  margin: 1rem 0 1rem 0;
  padding: 0.2rem 1rem 0.2rem 1rem;
  font-size: clamp(1.125rem, 2.5vw, 1.8rem);
  line-height: 1.25;
  text-align: center;
  list-style-type: none;
  background-color: rgb(27 200 186 / 1);
  color: #fff;
  border-radius: 2rem;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #events-about .events-about-fivepoints h3 {
    margin: 3rem 0 0.5rem 0;
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #events-about .events-about-fivepoints h3 {
    margin: 3rem 0 0.5rem 0;
    padding: 0;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    スケジュール
  --------------------------------------------------------------*/
#schedule {
  width: 100%;
  height: 100%;
}

#schedule h3 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#schedule h5 {
  text-align: center;
}

#schedule h5 > span {
  display: block;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
}

#schedule .schedule-grid-first {
  width: 100%;
  height: 100%;

  margin: 0 0 3rem 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  column-gap: 2rem;
  row-gap: 2rem;
}

#schedule .schedule-grid-first > div div:first-child {
  margin: 0;
  padding: 0.5rem 0 0.5rem 0;
  background-color: rgb(var(--main-color) / 0.3);

  border-radius: 1rem 1rem 0 0;
}

#schedule .schedule-grid-first.red > div div:first-child {
  background-color: rgb(255 183 0 / 0.3);
}

#schedule .schedule-grid-first > div div:last-child {
  margin: 0;
  padding: 1rem;
  background-color: rgb(var(--main-color) / 0.1);

  border-radius: 0 0 1rem 1rem;
}

#schedule .schedule-grid-first.red > div div:last-child {
  background-color: rgb(255 183 0 / 0.1);
}

#schedule div.schedule-inner-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 4.5rem 1fr 6rem 6rem;
  column-gap: 0.5rem;
  row-gap: 0;
}

#schedule div.schedule-inner-grid > span {
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 1rem;
}

#schedule div.schedule-inner-grid > span:nth-child(4n + 2) {
  padding: 0.5rem 1rem;
}

#schedule div.schedule-inner-grid > span:nth-child(4n + 1) {
  justify-content: flex-end;
  text-align: end;
  text-wrap: nowrap;
  font-weight: 600;
}

#schedule div.schedule-inner-grid > span:nth-child(4n + 3),
#schedule div.schedule-inner-grid > span:nth-child(4n + 4) {
  justify-content: center;
  text-align: center;
  text-wrap: wrap;
  word-break: keep-all;
}

#schedule div.schedule-inner-grid span.center {
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #schedule .schedule-grid-first {
    display: grid;
    grid-template-columns: 1fr;
  }

  #schedule div.schedule-inner-grid {
    grid-template-columns: 3.8rem 1fr 4.2rem 4.5rem;
    column-gap: 0.2rem;
  }

  #schedule div.schedule-inner-grid > span {
    font-size: 0.8rem;
    padding: 0.5rem 0;
    line-height: 1.3;
  }

  #schedule div.schedule-inner-grid > span:nth-child(4n + 2) {
    padding: 0.5rem 0.2rem;
  }

  #schedule div.schedule-inner-grid > span:nth-child(4n + 1) {
    word-break: keep-all;
    text-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  #schedule div.schedule-inner-grid > span:nth-child(4n + 3),
  #schedule div.schedule-inner-grid > span:nth-child(4n + 4) {
    text-wrap: wrap;
    justify-content: center;
    text-align: center;
    word-break: keep-all;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #schedule .schedule-grid-first {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    テーブル
  --------------------------------------------------------------*/

.table-area-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
}

table {
  text-align: center;
  width: 100%;

  font-size: 0.8rem;
  border-spacing: 1px;
  background-color: #999;
}

table td {
  padding: 0.2rem 0.5rem 0.2rem 0.5rem;

  background-color: #fff;
}

.header-main {
  margin: 0;
  padding: 0.5rem 0 0.5rem 0;
  background-color: #007a7a;
  color: #fff;

  font-size: 2rem;
  line-height: 1.2;

  border: 0;
}

.header-classification {
  background-color: #7dc0c4;
  color: #000;
}

.date-header {
  background-color: #bffff4;
  color: #000;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  .table-area-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  .table-area-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    講座詳細
  --------------------------------------------------------------*/

#course-details {
  width: 100%;
  height: 100%;
}

#course-details h2 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#course-details h4 {
  margin: 0 0 0.5rem 0;
  padding: 0;
  font-size: clamp(1.4rem, 1.6vw, 2.4rem);
  line-height: 1.2;
  font-weight: 400;
}

#course-details .course-details-grid {
  width: 100%;
  height: 100%;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 2rem;
  row-gap: 1rem;
}

#course-details .course-details-grid strong {
  display: inline-block;
  margin: 0 0.2rem 0 0.2rem;
  padding: 0.1rem 0.5rem 0.3rem 0.5rem;
  background-color: rgb(var(--main-color) / 1);
  color: #fff;

  font-size: 1rem;
  line-height: 1;

  border-radius: 0.2rem;
}

#course-details .events-details-grid-sub {
  width: 100%;

  display: grid;
  grid-template-columns: 6rem 1fr;
  grid-template-rows: auto;
  column-gap: 1rem;
  row-gap: 0.2rem;
}

#course-details .events-details-grid-sub > span {
  margin: 0;
  padding: 0;

  height: unset;

  font-size: clamp(1rem, 1.5vw, 1.4rem);
  line-height: 1.25;
}

#course-details .events-details-grid-sub > span:nth-child(2n + 1) {
  text-align-last: justify;
  font-weight: 600;
}

#course-details .events-details-course {
  margin: 1rem 0 1rem 0;
  padding: 0;

  font-size: clamp(0.7rem, 1.1vw, 1.2rem);
  line-height: 2;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #course-details .course-details-grid {
    grid-template-columns: 1fr;
  }

  #course-details .events-details-course {
    margin: 1rem 0 1rem 0;
    padding: 0;

    font-size: clamp(0.8rem, 1.1vw, 1.2rem);
    line-height: 1;
    font-weight: 600;
  }

  #course-details .events-details-course strong {
    margin: 0.2rem 0.3rem 0.2rem 0.3rem;
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
    font-size: 0.7rem;
    line-height: 0.7;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #course-details .course-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    FAQ
  --------------------------------------------------------------*/

#event-faq {
  margin: 0;
  padding: 0;
}

#event-faq h2 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#event-faq h4 {
  margin: 0 0 1rem 0;
  padding: 0;
}

#event-faq .events-details-grid-faq > div {
  margin: 0 0 1rem 0;
  padding: 0;
}

#event-faq .events-details-grid-faq > div h5 {
  color: rgb(var(--main-color) / 1);
}

#event-faq .event-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  column-gap: 2rem;
  row-gap: 1rem;
}

@media (max-width: 767.98px) {
  /* sm 以下の画面サイズの場合のスタイル */
  #event-faq .event-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* md の画面サイズの場合のスタイル */
  #event-faq .event-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    申し込み
  --------------------------------------------------------------*/

#application {
  margin: 0;
  padding: 0;
}

#application h2 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

/*--------------------------------------------------------------
    内側のリストマーカー
  --------------------------------------------------------------*/

/* ul要素全体に適用する場合 */
ul.custom-list-marker-arrow {
  margin: 0.5rem 0 2rem 2rem;
  padding: 0;
  list-style-type: none;
  padding-left: 0;
  list-style-position: outside;
  font-size: 1.2rem;
  line-height: 1.5;
}

ul.custom-list-marker-arrow li::marker {
  content: "⇒ ";
  color: #000;
  font-weight: bold;
}

/*--------------------------------------------------------------
    内側のリストマーカー
  --------------------------------------------------------------*/

/* */
#events-about .events-about-points {
  margin: 3rem 0 3rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

#events-about .events-about-points > div {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#events-about .events-about-points h3 {
  margin: 3rem 0 3rem 0;
  padding: 0;
}

#events-about .events-about-points ul {
  margin: 0.5rem 0 2rem 2rem;
  padding: 0;
  list-style-type: none;
  padding-left: 0;
  list-style-position: outside;
  font-size: 1.2rem;
  line-height: 1.5;
}

#events-about .events-about-points ul li::marker {
  content: "⇒ ";
  color: #000;
  font-weight: bold;
}

#events-about .events-about-points strong {
  font-size: clamp(1.6rem, 1.8vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
}
