/* ========================================
   Junior High School Page
   ======================================== */

.landl-junior-page {
  position: relative;
  overflow: hidden;
  color: var(--landl-text);
  background:
    linear-gradient(rgba(27, 72, 163, 0.085) 1.6px, transparent 1.6px),
    linear-gradient(90deg, rgba(27, 72, 163, 0.085) 1.6px, transparent 1.6px),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 42%, #f7fbff 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

/* ----------------------------------------
   Common
   ---------------------------------------- */
.landl-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.landl-section {
  position: relative;
  padding: 72px 0;
  background: transparent;
}

.landl-section--alt {
  background:
    radial-gradient(circle, rgba(253, 240, 1, 0.88) 1.7px, transparent 1.8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 251, 255, 0.96) 100%);
  background-size: 18px 18px, 100% 100%;
  border-top: 1px solid rgba(27, 72, 163, 0.05);
  border-bottom: 1px solid rgba(27, 72, 163, 0.05);
}

.landl-section-heading {
  margin-bottom: 32px;
}

.landl-section-heading--center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.landl-section-heading h2 {
  margin: 0;
  color: var(--landl-primary);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.landl-section-heading p {
  margin: 14px 0 0;
  color: var(--landl-text-sub);
  line-height: 1.9;
}

.landl-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--landl-border);
  border-radius: var(--landl-radius-lg);
  box-shadow: var(--landl-shadow-soft);
  padding: 24px;
  backdrop-filter: blur(3px);
}

.landl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.landl-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.landl-btn--primary {
  background: linear-gradient(135deg, #1b48a3, #14377d);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(27, 72, 163, 0.18);
}

.landl-btn--secondary {
  background: #ffffff;
  color: #1b48a3;
  border: 1px solid var(--landl-border);
  box-shadow: var(--landl-shadow-soft);
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */
.landl-jh-hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(253, 240, 1, 0.22), transparent 28%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 55%, #ffffff 100%);
}

.landl-jh-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.landl-jh-hero__content {
  min-width: 0;
  position: relative;
}

.landl-jh-hero__content::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -16px;
  width: 86px;
  height: 86px;
  background:
    radial-gradient(circle, rgba(253, 240, 1, 0.74) 0 18%, transparent 19%),
    radial-gradient(circle, rgba(27, 72, 163, 0.12) 0 18%, transparent 19%);
  background-size: 22px 22px;
  opacity: 0.42;
  pointer-events: none;
}

.landl-jh-hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(253, 240, 1, 0.28);
  color: var(--landl-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landl-jh-hero__title {
  margin: 0;
  color: var(--landl-primary);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.15;
}

.landl-jh-hero__lead {
  margin: 18px 0 0;
  color: var(--landl-text-sub);
  font-size: 16px;
  line-height: 1.95;
}

.landl-jh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.landl-jh-hero__visual {
  min-width: 0;
  position: relative;
}

.landl-jh-hero__visual::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 110px;
  height: 110px;
  border-radius: 26px;
  background: rgba(253, 240, 1, 0.16);
  filter: blur(2px);
  z-index: 0;
}

.landl-jh-hero__visual::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(27, 72, 163, 0.18);
  border-radius: 24px;
  z-index: 0;
}

.landl-jh-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--landl-radius-xl);
  object-fit: cover;
  box-shadow: var(--landl-shadow-medium);
  border: 4px solid rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------
   Targets
   ---------------------------------------- */
.landl-jh-targets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.landl-jh-targets__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  text-align: center;
}

.landl-jh-targets__item p {
  margin: 0;
  color: var(--landl-primary);
  font-weight: 800;
  line-height: 1.7;
}

/* ----------------------------------------
   Points
   ---------------------------------------- */
.landl-jh-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.landl-jh-point-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.landl-jh-point-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--landl-radius-lg) - 6px);
  margin-bottom: 18px;
}

.landl-jh-point-card__body h3 {
  margin: 0 0 12px;
  color: var(--landl-primary);
  font-size: 24px;
  line-height: 1.45;
}

.landl-jh-point-card__body p {
  margin: 0;
  color: var(--landl-text-sub);
  line-height: 1.95;
}

/* ----------------------------------------
   Schools
   ---------------------------------------- */
.landl-jh-school-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.landl-jh-school-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-align: center;
}

.landl-jh-school-card p {
  margin: 0;
  color: var(--landl-primary);
  font-size: 18px;
  font-weight: 800;
}

/* ----------------------------------------
   Pricing
   ---------------------------------------- */
.landl-jh-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.landl-jh-price-card {
  position: relative;
  overflow: hidden;
}

.landl-jh-price-card::before {
  content: "";
  display: block;
  height: 6px;
  width: calc(100% + 48px);
  margin: -24px -24px 18px;
  background: linear-gradient(90deg, #1b48a3 0%, #fdf001 100%);
}

.landl-jh-price-card__body h3 {
  margin: 0;
  color: var(--landl-primary);
  font-size: 24px;
}

.landl-jh-price-card__price {
  margin: 12px 0 0;
  color: var(--landl-primary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.landl-jh-price-card__text {
  margin: 14px 0 0;
  color: var(--landl-text-sub);
  line-height: 1.9;
}

.landl-jh-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.landl-jh-notes li {
  position: relative;
  padding-left: 1.4em;
  color: var(--landl-text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.landl-jh-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--landl-primary);
  font-weight: 800;
}

.landl-jh-notes--mb {
  margin-bottom: 24px;
}

/* ----------------------------------------
   Compare
   ---------------------------------------- */
.landl-jh-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.landl-jh-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--landl-radius-lg);
  overflow: hidden;
  box-shadow: var(--landl-shadow-soft);
}

.landl-jh-table th,
.landl-jh-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--landl-border-soft);
  text-align: center;
  vertical-align: middle;
  line-height: 1.7;
}

.landl-jh-table thead th {
  background: #eef4ff;
  color: var(--landl-primary);
  font-weight: 800;
}

.landl-jh-table tbody th {
  background: #f8fbff;
  color: var(--landl-text);
  font-weight: 800;
}

/* ----------------------------------------
   Schedule
   ---------------------------------------- */
.landl-jh-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.landl-jh-schedule-card h3 {
  margin: 0 0 16px;
  color: var(--landl-primary);
  font-size: 23px;
}

.landl-jh-simple-table {
  width: 100%;
  border-collapse: collapse;
}

.landl-jh-simple-table th,
.landl-jh-simple-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--landl-border-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}

.landl-jh-simple-table th {
  width: 110px;
  color: var(--landl-primary);
  font-weight: 800;
}

/* ----------------------------------------
   Access
   ---------------------------------------- */
.landl-jh-access-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.landl-jh-access-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.landl-jh-access-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.landl-jh-access-card__stats > div {
  padding: 16px 14px;
  background: #eef4ff;
  border-radius: var(--landl-radius-md);
  text-align: center;
}

.landl-jh-access-card__stats span {
  display: block;
  color: var(--landl-text-sub);
  font-size: 13px;
  font-weight: 700;
}

.landl-jh-access-card__stats strong {
  display: block;
  margin-top: 8px;
  color: var(--landl-primary);
  font-size: 26px;
  line-height: 1.2;
}

.landl-jh-access-card__address {
  margin: 0;
  color: var(--landl-text-sub);
  line-height: 1.9;
}

.landl-jh-access-card__landmarks {
  margin: 0;
  padding-left: 1.2em;
  color: var(--landl-text-sub);
  line-height: 1.9;
}

.landl-jh-map-card {
  display: flex;
  align-items: stretch;
}

.landl-jh-map-card .landl-map-embed,
.landl-jh-map-card iframe {
  width: 100%;
  min-height: 100%;
}

.landl-jh-map-card .landl-map-embed iframe {
  min-height: 360px;
  border-radius: calc(var(--landl-radius-lg) - 6px);
}

/* ----------------------------------------
   Entry
   ---------------------------------------- */
.landl-jh-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.landl-jh-entry-card {
  position: relative;
}

.landl-jh-entry-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(253, 240, 1, 0.32);
  color: var(--landl-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.landl-jh-entry-card h3 {
  margin: 0 0 12px;
  color: var(--landl-primary);
  font-size: 21px;
  line-height: 1.5;
}

.landl-jh-entry-card p {
  margin: 0;
  color: var(--landl-text-sub);
  line-height: 1.85;
}

/* ----------------------------------------
   Final CTA
   ---------------------------------------- */
.landl-jh-final-cta {
  background:
    radial-gradient(circle, rgba(253, 240, 1, 0.88) 1.7px, transparent 1.8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 251, 255, 0.96) 100%);
  background-size: 18px 18px, 100% 100%;
}

.landl-jh-final-cta__body {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--landl-border) !important;
  box-shadow: var(--landl-shadow-soft) !important;
  text-align: center;
  padding: 34px;
}

.landl-jh-final-cta__body h2 {
  margin: 0;
  color: var(--landl-primary);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.landl-jh-final-cta__body p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--landl-text-sub);
  line-height: 1.95;
}

.landl-jh-final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1080px) {
  .landl-jh-targets,
  .landl-jh-school-grid,
  .landl-jh-entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landl-jh-hero__inner {
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .landl-section {
    padding: 60px 0;
  }

  .landl-jh-hero {
    padding: 60px 0 44px;
  }

  .landl-jh-hero__inner,
  .landl-jh-points,
  .landl-jh-pricing-grid,
  .landl-jh-schedule-grid,
  .landl-jh-access-grid {
    grid-template-columns: 1fr;
  }

  .landl-jh-entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landl-jh-hero__actions,
  .landl-jh-final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .landl-junior-page {
    background-size: 30px 30px, 30px 30px, 100% 100%;
  }

  .landl-container {
    width: min(100% - 24px, 1180px);
  }

  .landl-section {
    padding: 48px 0;
  }

  .landl-section--alt,
  .landl-jh-final-cta {
    background-size: 14px 14px, 100% 100%;
  }

  .landl-card {
    padding: 20px;
    border-radius: var(--landl-radius-md);
  }

  .landl-btn {
    width: 100%;
    justify-content: center;
  }

  .landl-jh-hero__actions,
  .landl-jh-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landl-jh-targets,
  .landl-jh-school-grid,
  .landl-jh-entry-grid {
    grid-template-columns: 1fr;
  }

  .landl-jh-targets__item,
  .landl-jh-school-card {
    min-height: 78px;
  }

  .landl-jh-price-card::before {
    width: calc(100% + 40px);
    margin: -20px -20px 16px;
  }

  .landl-jh-price-card__price {
    font-size: 28px;
  }

  .landl-jh-table {
    min-width: 640px;
  }

  .landl-jh-access-card__stats {
    grid-template-columns: 1fr;
  }

  .landl-jh-map-card .landl-map-embed iframe {
    min-height: 300px;
  }

  .landl-jh-final-cta__body {
    padding: 24px;
  }

  .landl-jh-hero__content::after,
  .landl-jh-hero__visual::before,
  .landl-jh-hero__visual::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .landl-jh-hero__title {
    font-size: 30px;
  }

  .landl-jh-hero__lead {
    font-size: 15px;
  }

  .landl-jh-point-card__body h3,
  .landl-jh-price-card__body h3,
  .landl-jh-schedule-card h3,
  .landl-jh-entry-card h3 {
    font-size: 20px;
  }

  .landl-jh-final-cta__body h2 {
    font-size: 26px;
  }

  .landl-jh-price-card__price {
    font-size: 26px;
  }
  /* ========================================
   Junior page table micro adjustment
   ======================================== */

/* 横スクロールを分かりやすく */
.landl-jh-table-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  border-radius: 18px;
  scrollbar-width: thin;
  scrollbar-color: #1b48a3 #dbe6ff;
}

.landl-jh-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.landl-jh-table-wrap::-webkit-scrollbar-track {
  background: #dbe6ff;
  border-radius: 999px;
}

.landl-jh-table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #1b48a3, #3f6fcb);
  border-radius: 999px;
}

.landl-jh-table-wrap::after {
  content: "";
  position: sticky;
  right: 0;
  top: 0;
  display: block;
  width: 28px;
  min-width: 28px;
  height: 100%;
  margin-left: auto;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.96));
  pointer-events: none;
}

/* スクロール案内 */
.landl-jh-table-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(253, 240, 1, 0.22);
  color: var(--landl-primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.landl-jh-table-scroll-hint::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
}

/* 表そのもの */
.landl-jh-table {
  min-width: 760px;
  background: #ffffff;
}

.landl-jh-table th,
.landl-jh-table td {
  white-space: nowrap;
}

/* 左端の列を固定して見やすく */
.landl-jh-table thead th:first-child,
.landl-jh-table tbody th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 8px 0 12px rgba(27, 72, 163, 0.06);
}

.landl-jh-table thead th:first-child {
  background: #eef4ff;
}

.landl-jh-table tbody th:first-child {
  background: #f8fbff;
}

/* スケジュール表は時間列を少し広めに */
.landl-jh-table--schedule {
  min-width: 860px;
}

.landl-jh-table--schedule thead th:first-child,
.landl-jh-table--schedule tbody th:first-child {
  min-width: 190px;
}

.landl-jh-table--schedule td {
  min-width: 88px;
  text-align: center;
}

/* 時間ラベルの2段表示 */
.landl-jh-time-label {
  white-space: normal;
  line-height: 1.6;
  font-size: 14px;
}

.landl-jh-time-label small {
  display: block;
  margin-top: 4px;
  color: var(--landl-text-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

/* スケジュールカード */
.landl-jh-schedule-card {
  overflow: hidden;
}

.landl-jh-schedule-card h3 {
  margin: 0 0 14px;
  color: var(--landl-primary);
  font-size: 22px;
  line-height: 1.5;
}

/* モバイル時 */
@media (max-width: 640px) {
  .landl-jh-table-wrap {
    padding-bottom: 10px;
  }

  .landl-jh-table-wrap::after {
    width: 20px;
    min-width: 20px;
  }

  .landl-jh-table-scroll-hint {
    display: inline-flex;
    font-size: 12px;
    padding: 7px 11px;
  }

  .landl-jh-table {
    min-width: 700px;
  }

  .landl-jh-table--schedule {
    min-width: 820px;
  }

  .landl-jh-table--schedule thead th:first-child,
  .landl-jh-table--schedule tbody th:first-child {
    min-width: 170px;
  }

  .landl-jh-time-label {
    font-size: 13px;
  }

  .landl-jh-time-label small {
    font-size: 11px;
  }
}
}
