/* ============================================================
   2026-5-9八十八デザイン追加
   ============================================================ */
.text-c-base {
  color: var(--primary-70);
}
.c-display-block-pc {
  display: none;
}
.c-display-block-sp {
  display: block;
}
@media screen and (min-width: 601px) {
  .c-display-block-pc {
    display: block;
  }
  .c-display-block-sp {
    display: none;
  }
}
.c-junior-bnr {
  max-width: 600px;
  margin-inline: auto;
  vertical-align: bottom;
  a {
    display: block;
  }
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  &.type-b {
    padding: 64px 24px 0 24px;
  }
  &.type-c {
    padding: 64px 24px;
  }
}
.c-junior-hero__banner {
  background-color: var(--lesson-junior);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
}
.c-junior-hero__content {
  position: relative;
  width: 100%;
  height: 480px;
  background-image: url("../images/junior/junior-hero-pc.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.c-junior-hero__taiken {
  position: absolute;
  right: 24px;
  bottom: 24px;
  line-height: 1;
  img {
    width: 250px;
  }
}
.c-junior-problems__image {
  flex-shrink: 0;
  margin-bottom: 0;
  img {
    width: 300px;
    vertical-align: bottom;
  }
}

.c-junior-reasons__item-title {
  color: var(--primary-60);
  flex: 1;
}
.c-junior-reasons-table-title {
  text-align: center;
  color: var(--lesson-junior);
  background-color: #fff;
  width: 100%;
  padding-bottom: 18px;
}
.c-junior-reasons-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--lesson-junior);
  width: 100%;
}
.c-junior-reasons-table_item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  position: relative;

  .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (min-width: 601px) {
  .c-junior-reasons-table_item {
    height: 150px;
  }
}
.c-junior-reasons-table_item_text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.c-junior-reasons2-title {
  text-align: center;
  color: #fff;
  background-color: var(--lesson-junior);
  width: 100%;
  padding: 4px;
  margin-bottom: 10px;
}
.c-juniror-round-hero {
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }
}
.c-junior-round__item-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: var(--primary-70);
  width: 100%;

  .c-junior-reasons__item-title,
  .c-junior-reasons__item-description,
  .c-junior-reasons__item-feature-text {
    color: #fff !important;
  }
}
.c-junior-junior__header {
  position: relative;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  overflow: hidden;
  background-color: var(--lesson-junior);
}
/* ============================================================
   page-junior.phpで使用するjuniorクラス（school-round.cssから複製）
   ============================================================ */

/* Beginner Hero Section */
.c-junior-hero {
  width: 100%;
}

.c-junior-hero__banner-icon {
  width: 10px;
  height: 20px;
  flex-shrink: 0;
}

.c-junior-hero__banner-text {
  color: var(--base-0);
  text-align: center;
  white-space: normal;
}

.c-junior-hero__text-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.c-junior-hero__title-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.c-junior-hero__title {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.c-junior-hero__title-line {
  background-color: var(--base-0);
  color: var(--primary-70);
  padding: 6px 8px;
  width: fit-content;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.c-junior-hero__description {
  color: var(--base-0);

  width: fit-content;
  position: relative;
  padding: 5px 0 5px 5px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
  }
}

.c-junior-hero__description p {
  margin: 0;
}

/* Beginner Problems List */
.c-junior-problems__list {
  background-color: var(--primary-10);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.c-junior-problems__item {
  display: flex;
  flex-direction: column;
  /*gap: 16px;*/
  align-items: center;
}

.c-junior-problems__question {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

.c-junior-problems__question-bubble {
  background-color: var(--base-0);
  border-radius: 140px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  overflow: hidden;
}

.c-junior-problems__question-text {
  color: var(--primary-70);
  flex: 1;
  min-width: 0;
}

.c-junior-problems__question-mark {
  width: 20px;
  flex-shrink: 0;
}

.c-junior-problems__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 26px;
  width: 8px;
}

.c-junior-problems__arrow-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-70);
  border-radius: 50%;
}

.c-junior-problems__arrow-dot--medium {
  width: 6px;
  height: 6px;
}

.c-junior-problems__arrow-dot--small {
  width: 4px;
  height: 4px;
}

.c-junior-problems__answer-title {
  color: var(--primary-70);
  width: 100%;
}

.c-junior-problems__answer-text {
  color: var(--primary-70);
  width: 100%;
}

/* Beginner Reasons Section */
.c-junior-reasons {
  width: 100%;
}

.c-junior-reasons__header {
  position: relative;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  overflow: hidden;
  background-image: url("../images/img-common-grass.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--base-0);
}

.c-junior-reasons__header-text,
.c-junior-reasons__header-title {
  position: relative;
  z-index: 1;
  color: var(--base-0);
  display: flex;
  gap: 2px;
  align-items: flex-end;
  line-height: 1;
}

.c-junior-reasons__header-text {
  margin: 0;
}

.c-junior-reasons__header-title p {
  margin: 0;
  line-height: 1;
}

.c-junior-reasons__container {
  background-color: var(--lesson-junior);
  padding-left: 16px;
  padding-bottom: 16px;
  width: 100%;
}

.c-junior-reasons__list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-junior-reasons__item {
  background-color: var(--primary-70);
  display: flex;
  flex-direction: column;
}

.c-junior-reasons__item-image {
  width: 100%;
  height: 100px;
  position: relative;

  @media screen and (min-width: 601px) {
    height: 200px;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.c-junior-reasons__item-image-b {
  width: 100%;
  aspect-ratio: 1.565 / 1;
  position: relative;

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.c-junior-reasons__item-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: var(--base-0);
  width: 100%;
}

.c-junior-reasons__item-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.c-junior-reasons__item-number {
  color: var(--lesson-junior);

  text-align: center;
  flex-shrink: 0;
}

.c-junior-reasons__item-title {
  color: var(--primary-70);
  flex: 1;
}

.c-junior-reasons__item-description {
  color: var(--primary-70);
  text-align: justify;
}

.c-junior-reasons__item-highlight {
  color: var(--lesson-junior);
}

.c-junior-reasons__item-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-junior-reasons__item-features-title {
  color: var(--primary-30);
}

.c-junior-reasons__item-features-list {
  display: flex;
  flex-direction: column;
  /*border-top: 1px solid #e6e8db;*/
}

.c-junior-reasons__item-feature {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  /*border-bottom: 1px solid #e6e8db;*/
}

.c-junior-reasons__item-feature + .c-junior-reasons__item-feature {
  border-top: none;
}

.c-junior-reasons__item-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.c-junior-reasons__item-feature-text {
  color: var(--primary-70);
  flex: 1;
}

/* Fixed CTA Beginner */
.c-fixed-cta-junior {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: var(--primary-60);
  border-top: 1px solid var(--primary-50);
  width: 100%;
  padding: 20px 24px;
}

@media (min-width: 960px) {
  .c-fixed-cta-junior {
    left: 50%;
    transform: translateX(0);
    width: 50vw;
    max-width: 50vw;
  }
}

.c-fixed-cta-junior__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-fixed-cta-junior__buttons {
  display: flex;
  gap: 1px;
}

.c-fixed-cta-junior__button {
  flex: 1;
  background-color: var(--base-0);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 56px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.c-fixed-cta-junior__button:hover {
  background-color: var(--primary-10);
}

.c-fixed-cta-junior__button-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  gap: 0;
  min-height: 0;
}

.c-fixed-cta-junior__button-text {
  color: var(--primary-70);
  text-align: center;
  line-height: 1.5;
}

.c-fixed-cta-junior__button-subtext {
  color: var(--primary-70);
  text-align: center;
  line-height: 1.5;
}

.c-fixed-cta-junior__button-bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

.c-fixed-cta-junior__button-bar--junior {
  background-color: var(--lesson-junior);
}

.c-fixed-cta-junior__button-bar--regular {
  background-color: var(--lesson-regular);
}

.c-fixed-cta-junior__button-bar--secondary {
  background-color: var(--secondary-60);
}

.c-fixed-cta-junior__tel {
  border: 1px solid var(--primary-50);
  display: flex;
  align-items: stretch;
  height: 32px;
}

.c-fixed-cta-junior__tel-label {
  background-color: var(--primary-50);
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
}

.c-fixed-cta-junior__tel-label span {
  color: var(--base-0);
  margin-top: 2px;
}

.c-fixed-cta-junior__tel-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px;
  color: var(--base-0);
}

.c-fixed-cta-junior__tel-number {
  margin-top: 2px;
}
.c-coaches-jr-head {
  padding: 0 24px;
  color: var(--primary-70);
}
.c-common-coaches-jr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: left;
  padding: 24px;

  border-bottom: 1px solid var(--base-0);
}
.c-common-coaches-jr-label {
  color: var(--primary-30);
  margin: 0;
  text-align: center;
}
.c-junior-price-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1.8 / 1;
  background-image: url("../images/junior/jr-price-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.c-junior-price-table {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1px;
  background-color: var(--primary-70);
  border: 1px solid var(--primary-70);
  text-align: center;
}
@media screen and (min-width: 601px) {
  .c-junior-price-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.c-junior-price-table__item-w {
  height: 100%;
  background-color: var(--base-0);
}
.c-junior-price-table__item {
  padding: 10px 0;
  color: var(--primary-70);

  &.head {
    color: var(--base-0);
  }
  &.light {
    background-color: var(--lesson-round);
  }
  &.standard {
    background-color: var(--lesson-beginner);
  }
  &.full {
    background-color: var(--lesson-regular);
  }
  .number {
    color: var(--secondary-60);
  }
  .price {
    margin-top: 5px;
  }
}
.c-junior-trial {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 64px 0;
}
.c-junior-trial__item-header {
  padding: 0 24px;
}
.c-junior-trial__canva-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  overflow: hidden;
  background-color: var(--base-0);
}
.c-junior-reasons__item-quote-text {
  color: var(--primary-70);
  margin-top: 8px;
  margin-bottom: 8px;
}
.c-junior-hdg-b {
  font-size: var(--text-14);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-ja);
  line-height: var(--leading-150);
  color: var(--primary-30);
  margin-bottom: 8px;
}
.c-junior__message-box {
  background-color: var(--primary-10);
  padding: 16px;
  border-radius: 8px;
}
