/* ===================================================
   CREVA PROGRAM LP — style.css
   =================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  color: #212121;
  background: #fff;
  line-height: 1.75;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

/* ---------- Tokens ---------- */
:root {
  --red: #ff3a3a;
  --dark: #212121;
  --beige: #e0dcd4;
  --card-bg: #e9e9e9;
  --white: #ffffff;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}

/* ---------- Utility ---------- */
.text-red {
  color: var(--red);
}
.sp-only {
  display: inline;
}
.pc-only {
  display: none;
}

.caption {
  font-size: 12px;
  text-align: center;
  color: #555;
  margin-top: 8px;
}

/* Shared section heading */
.sec-title {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.28em;
  line-height: 1.5;
  text-align: center;
  color: #212121;
}

.sec-title--light {
  color: #fff;
}

/* Shared section eyebrow */
.sec-pre {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 8px;
}

.tech-icon {
  width: 30px;
  height: 41px;
  object-fit: contain;
}
.tech-icon--py {
  width: 34px;
  height: 40px;
}
.tech-icon--ai {
  width: 35px;
  height: 35px;
}
.tech-icon--php {
  width: 34px;
  height: 24px;
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.logo-text {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #212121;
  white-space: nowrap;
}

.pc-nav {
  display: none;
}

/* CTA button (hero / inline) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  padding: 0 24px;
  height: 55px;
  border-radius: 1px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-cta:hover {
  opacity: 0.85;
}

/* Apply button (header) */
.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-apply:hover {
  opacity: 0.8;
}

.btn-apply--header {
  border: 1px solid var(--red);
  color: var(--red);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  width: 128px;
  height: 40px;
}

.hamburger {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.hamburger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===================================================
   MOBILE MENU
   =================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 200;
  transition: right 0.3s ease;
  padding: 80px 24px 40px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}
.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #212121;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #eee;
  color: #212121;
}

.mobile-menu__link--cta {
  margin-top: 24px;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 2px;
  border: none;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  margin-top: 80px;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 206;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

/* Bracket decoration */
.hero__bo {
  position: absolute;
  left: 13%;
  top: 20%;
  width: 73%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.hero__img-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  z-index: 1;
}

.hero__program-name {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.hero__stack {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  line-height: 1.75;
}

.hero__subtitle {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.02em;
  margin-top: 12px;
  line-height: 1.75;
}

/* Vertical side text */
.hero__side-wrap {
  width: 10vw;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero__side-text {
  position: relative;
  right: 70px;
  top: 0;
  transform: rotate(90deg);
  transform-origin: center center;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  padding-right: 4px;
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  gap: 16px;
  text-align: center;
}

.hero__main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.hero__tag {
  display: inline-block;
  border: 1px solid #212121;
  background: #fff;
  padding: 2px 10px;
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.hero__title {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.28em;
  line-height: 1.75;
  text-align: center;
}

.hero__icons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__desc {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.hero__list {
  text-align: left;
  width: 100%;
  max-width: 360px;
  padding-left: 4px;
}
.hero__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.75;
}
.hero__list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--dark);
}

.hero__caption {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #212121;
}

/* ===================================================
   WORKS / CAROUSEL
   =================================================== */
.works {
  background: var(--beige);
  border-bottom: 1px solid #e5e5e5;
  padding: 60px 16px;
}

.works__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.works .sec-title {
  margin-bottom: 0;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.carousel__btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.carousel__btn:hover {
  opacity: 0.7;
}
.carousel__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Rotate chevron icons: ▼ → ◀ / ▶ */
.carousel__btn--prev img {
  transform: rotate(90deg);
}
.carousel__btn--next img {
  transform: rotate(-90deg);
}

.carousel__viewport {
  flex: 1;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  background: #fff;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.carousel__slide-label {
  text-align: center;
}
.carousel__slide-name {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #212121;
}
.carousel__slide-sub {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #555;
}

.carousel__img {
  width: 100%;
  aspect-ratio: 1440 / 1024;
  object-fit: cover;
}

.carousel__placeholder {
  width: 100%;
  aspect-ratio: 1440 / 1024;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
}

.carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel__dot--active {
  background: #212121;
}

/* ===================================================
   PRICE / COURSES
   =================================================== */
.price {
  padding: 40px 0;
  background: #fff;
}

.price__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.price__head {
  text-align: center;
  margin-bottom: 32px;
}

.price__head .sec-title {
  margin-bottom: 10px;
}

.price__note {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #212121;
  line-height: 1.5;
}

/* Horizontal scroll on mobile */
.price__scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

.price__cards {
  display: flex;
  gap: 32px;
  min-width: max-content;
}

.course-card {
  background: var(--card-bg);
  border: 1px solid #212121;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 16px;
  width: 300px;
  min-height: 500px;
  flex-shrink: 0;
}

/* DEKIRU badge */
.course-card__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.course-card__badge-label {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #212121;
}

.course-card__badge-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #212121;
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-card__name {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  color: #212121;
}

.course-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  color: #212121;
}
.course-card__yen {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
}
.course-card__amount {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.1em;
  line-height: 1;
}
.course-card__tax {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.course-card__icons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.course-card__desc {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #212121;
  width: 100%;
}

/* ===================================================
   CONCERNS / COMPARE — shared pill-card layout
   =================================================== */
.concerns,
.compare-sec {
  background: var(--beige);
  padding: 60px 16px;
}

.concerns__inner,
.compare-sec__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.concerns__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.concerns__title .sec-pre {
  margin-bottom: 0;
}

.concerns__main,
.compare-sec__main {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding: 10px 0;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-pill {
  background: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.check-pill__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.check-pill p {
  flex: 1;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #212121;
  margin: 0;
}

.compare-group__label {
  text-align: center;
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #212121;
  line-height: 1.5;
}

.arrow-divider {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.arrow-divider__line {
  flex: 1;
  height: 0;
  border-top: 2px dashed #555;
}

.arrow-divider__arrow {
  top: 11px;
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 25px;
}

.conclusion {
  display: flex;
  flex-direction: column;
}

.conclusion__label {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #212121;
  line-height: 1.75;
  margin-left: 12px;
}

.conclusion p:not(.conclusion__label) {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}

.conclusion p:not(.conclusion__label) + p:not(.conclusion__label) {
  margin-top: 28px;
}

/* ===================================================
   REASONS
   =================================================== */
.reasons {
  background: #fff;
  padding: 60px 16px;
  position: relative;
  overflow: hidden;
}

.reasons__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reasons__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.reasons__title .sec-pre {
  margin-bottom: 0;
}

.reasons__lets-try {
  position: absolute;
  top: 90px;
  right: 24px;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 34px;
  color: var(--red);
  letter-spacing: -0.015em;
  line-height: 1;
  transform: rotate(-15deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}

.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reason-item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
  border: none;
  align-items: stretch;
}
.reason-item:last-child {
  border-bottom: none;
}

.reason-item__img {
  width: 100%;
  aspect-ratio: 300 / 200;
  border-radius: 8px;
  background: #d9d9d9;
  object-fit: cover;
}

.reason-item__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-item__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reason-item__badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.reason-item__badge-label {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--red);
  line-height: 1.75;
}

.reason-item__badge-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75;
}

.reason-item__title {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #212121;
}

.reason-item__text {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #212121;
}

/* ===================================================
   CURRICULUM
   =================================================== */
.curriculum {
  background: var(--beige);
  color: #212121;
  padding: 40px 16px;
}

.curriculum__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.curriculum__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.curriculum__title .sec-pre {
  margin-bottom: 0;
}
.curriculum__title .sec-title {
  color: #212121;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 32px 0;
}

.step {
  background: #e9e9e9;
  border-radius: 20px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: none;
}
.step:last-child {
  border: none;
}

.step__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.step__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
}

.step__step {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #212121;
  line-height: 1.75;
}

.step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #212121;
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75;
}

.step__title {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.75;
  text-align: center;
  color: #212121;
}

.step__img {
  width: 100%;
  aspect-ratio: 176 / 100;
  border-radius: 2px;
  background: #fff;
  object-fit: cover;
}

.step__lead {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: #212121;
  width: 100%;
  font-style: normal;
}

.step__text {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: #212121;
  width: 100%;
}

.step__text .text-red {
  font-weight: 700;
}

.step__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: none;
  border-radius: 0;
  padding: 0;
}

.step__points-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.step__points-title {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
  margin: 0;
}

.step__points-line {
  flex: 1;
  height: 0;
  border-top: 1px solid #888;
}

.step__points ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.015em;
  line-height: 1.75;
  color: #000;
  padding: 0;
}
.step__points li::before {
  content: "・";
  color: var(--red);
  font-size: 16px;
  line-height: 1.75;
  flex-shrink: 0;
  position: static;
  letter-spacing: 0.04em;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials {
  background: #e9e9e9;
  padding: 60px 16px;
}

.testimonials__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.testimonials__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.testimonials__title .sec-pre {
  margin-bottom: 0;
}

.testi-carousel {
  position: relative;
  width: 100%;
  max-width: 361px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
}

.testi-carousel__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.testi-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.testi-card {
  flex: 0 0 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card__title {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #212121;
}

.testi-card__name {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: #000;
  display: flex;
  gap: 10px;
  margin: 0;
}

.testi-card__rating {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.04em;
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
}

.testi-card__score {
  color: #212121;
}

.testi-card__stars {
  color: #ff6200;
}

.testi-card__text {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #212121;
}

.testi-card__text p + p {
  margin-top: 18px;
}

.testi-carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}

.testi-carousel__btn {
  pointer-events: auto;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.testi-carousel__btn:hover {
  opacity: 0.7;
}
.testi-carousel__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testi-carousel__btn--prev img {
  transform: rotate(90deg);
}
.testi-carousel__btn--next img {
  transform: rotate(-90deg);
}

/* ===================================================
   SKILLS / CAREERS — shared table layout
   =================================================== */
.skills,
.careers {
  background: #fff;
  padding: 40px 16px;
}

.skills__inner,
.careers__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.skills__table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  max-width: 361px;
}

.skills__row {
  display: flex;
  align-items: stretch;
  border: 1px solid #e9e9e9;
  gap: 4px;
  background: #fff;
}

.skills__cell-title {
  flex: 0 0 109px;
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 8px;
  align-self: stretch;
}

.skills__cell-title p {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #212121;
  text-align: center;
  line-height: 1.75;
  margin: 0;
}

.skills__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.skills__icon--figma {
  background: #232323;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skills__icon--figma img {
  width: 20px;
  height: 30px;
  object-fit: contain;
}

.skills__cell-list {
  flex: 1;
  list-style: none;
  padding: 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 2;
  color: #4f4f4f;
  align-self: center;
}

.skills__cell-list li::before {
  content: "・";
}

.skills__cell-list .skills__note::before {
  content: "";
}

.skills__cell-list .skills__note {
  margin-top: 0;
}

.skills__cell-list .skills__plain::before {
  content: "";
}

.skills__cell-title--text {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills__cell-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.skills__cell-content .skills__cell-list {
  width: 100%;
  padding: 0;
}

.skills__cell-img {
  width: 100%;
  aspect-ratio: 319 / 110;
  object-fit: contain;
}

/* ===================================================
   OVERVIEW / PAYMENT — reuse skills__table layout
   =================================================== */
.overview,
.payment {
  background: #fff;
  padding: 40px 16px;
}

.overview__inner,
.payment__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ===================================================
   INSTRUCTOR
   =================================================== */
.instructor {
  background: #fff;
  padding: 40px 0;
}

.instructor__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.instructor__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.instructor__title .sec-pre {
  margin-bottom: 0;
}

.instructor__cards {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

.instructor-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.instructor-card__thumb {
  width: 100%;
  height: 240px;
  background: var(--beige);
  overflow: hidden;
}

.instructor-card__thumb--photo {
  aspect-ratio: 393 / 252;
  height: auto;
  background: #d9d9d9;
}

.instructor-card__thumb--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card__body {
  background: linear-gradient(-85deg, #eee 1.6%, #fcfcfc 89.2%);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.instructor-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  color: #000;
}

.instructor-card__label {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1;
  margin: 0;
}

.instructor-card__name-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

.instructor-card__name {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.instructor-card__name-en {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.instructor-card__text {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.instructor-card__text p {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* ===================================================
   FAQ
   =================================================== */
.faq {
  background: #fff;
  padding: 40px 16px;
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.faq__title .sec-pre {
  margin-bottom: 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: none;
}
.faq__item:last-child {
  border: none;
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--beige);
  padding: 20px 16px;
  border-radius: 1px;
  text-align: left;
  cursor: pointer;
}

.faq__q-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #212121;
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__q-text {
  flex: 1;
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 36px;
  color: #000;
  letter-spacing: 0;
}

.faq__arrow {
  flex-shrink: 0;
  width: 12px;
  height: 6px;
  position: relative;
  transition: transform 0.2s;
}
.faq__arrow::before,
.faq__arrow::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: #212121;
  top: 50%;
}
.faq__arrow::before {
  left: 0;
  transform: rotate(45deg);
  transform-origin: right center;
}
.faq__arrow::after {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: left center;
}
.faq__q[aria-expanded="true"] .faq__arrow {
  transform: rotate(180deg);
}

.faq__a {
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: rgba(0, 0, 0, 0.8);
}
.faq__a[hidden] {
  display: none;
}

.faq__a p {
  margin: 0 0 18px;
}
.faq__a p:last-child {
  margin-bottom: 0;
}

/* shared LINE button */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #24c857;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  padding: 10px 20px;
  border-radius: 70px;
  filter: drop-shadow(0 2px 0 #3eb962);
  transition: opacity 0.2s;
}
.btn-line:hover {
  opacity: 0.85;
}

/* ===================================================
   ACCESS
   =================================================== */
.access {
  background: #fff;
  padding: 40px 16px;
}

.access__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.access__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.access__title .sec-pre {
  margin-bottom: 0;
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 361px;
  margin: 0 auto;
}

.access-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.access-card__thumb {
  width: 100%;
}

.access-card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
}

.access-card__title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
}

.access-card__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.access-card__label {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #212121;
  margin: 0;
}

.access-card__address {
  display: flex;
  gap: 8px;
  align-items: center;
}

.access-card__address-text {
  flex: 1;
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #212121;
}

.access-card__address-text p {
  margin: 0;
}

.access-card__copy {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.access-card__copy:hover {
  opacity: 0.6;
}
.access-card__copy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.access-card__text {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #212121;
}

.access-card__text p {
  margin: 0;
}

.access-card__map {
  width: 100%;
  max-width: 313px;
  height: auto;
  object-fit: contain;
}

/* ===================================================
   FORM
   =================================================== */
.form-sec {
  background: #fff;
  padding: 40px 16px;
}

.form-sec__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-bottom: 10px;
  align-items: center;
}

.form-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  color: #09090b;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 10px;
}

.form-label--block {
  align-items: flex-start;
}

.form-label__text {
  flex: 1;
}

.badge-req,
.badge-opt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 8px;
  color: #fff;
  padding: 4px;
  border-radius: 3px;
  line-height: 1;
  flex-shrink: 0;
}

.badge-req {
  background: #f26666;
}
.badge-opt {
  background: #77c5ec;
}

.form-cols {
  display: flex;
  gap: 10px;
}

.form-input,
.form-select,
.form-textarea {
  background: #f0f3f6;
  border: 1px solid #f0f3f6;
  border-radius: 5px;
  padding: 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: #09090b;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  height: 40px;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #ccc;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #6c757d;
}

.form-input--full {
  width: 100%;
}
.form-input--age {
  width: 70px;
  min-width: 70px;
}

.form-age {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-age-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #000;
  line-height: 1.5;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  min-width: 140px;
}

.form-textarea {
  resize: vertical;
  height: auto;
  min-height: 150px;
  line-height: 1.5;
  padding: 10px;
}

.btn-submit {
  background: var(--red);
  color: #fff;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  padding: 20px 22px;
  border: none;
  border-radius: 51px;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.btn-submit:hover {
  opacity: 0.85;
}

/* Apply CTA — link to external form */
.form-sec__lead {
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
  color: #424242;
}
.form-sec__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

/* ===================================================
   LINE CTA
   =================================================== */
.line-cta {
  background: #24c857;
  padding: 40px 16px;
}

.line-cta__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.line-cta__inner p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: left;
}

.line-cta__inner .btn-line {
  align-self: center;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #4f4f4f;
  color: #c0c0c0;
  padding: 60px 40px 16px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__logo-icon {
  width: 22.519px;
  height: 22.519px;
  object-fit: contain;
}

.site-footer__logo-text {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.08em;
  color: #c0c0c0;
  white-space: nowrap;
  line-height: 1.5;
}

.site-footer__nav-wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  gap: 24px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__nav li {
  list-style: none;
}

.site-footer__nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #c0c0c0;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__arrow {
  flex-shrink: 0;
  width: 6px;
  height: 12px;
  position: relative;
}
.site-footer__arrow::before,
.site-footer__arrow::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: #c0c0c0;
  left: -0.5px;
}
.site-footer__arrow::before {
  top: 4px;
  transform: rotate(45deg);
  transform-origin: right center;
}
.site-footer__arrow::after {
  top: 7px;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.site-footer__legal a {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #c0c0c0;
  line-height: 1;
  transition: opacity 0.2s;
}
.site-footer__legal a:hover {
  opacity: 0.7;
}

.site-footer__copy {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: -0.015em;
  color: rgba(192, 192, 192, 0.8);
  text-align: center;
  width: 100%;
}

/* ===================================================
   RESPONSIVE — Tablet (768px+)
   =================================================== */
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: inline;
  }

  /* Section titles */
  .sec-title {
    font-size: 32px;
  }
  .sec-pre {
    font-size: 13px;
  }

  /* Header */
  .pc-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
  }
  .pc-nav a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #212121;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .pc-nav a:hover {
    color: var(--red);
  }

  .btn-apply--header {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }

  /* Hero */
  .hero {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: calc(100vh - 80px);
  }

  .hero__img-wrap {
    flex: 1;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .hero__body {
    flex: 0 0 480px;
    padding: 60px 48px;
    justify-content: center;
    text-align: center;
  }

  .hero__title {
    font-size: 28px;
  }
  .hero__list {
    width: auto;
    max-width: 100%;
  }

  .btn-cta {
    padding: 0 40px;
  }

  /* Works carousel */
  .works {
    padding: 80px 32px;
  }
  .works__inner {
    max-width: 720px;
  }
  .carousel__slide {
    padding: 32px 24px;
  }

  /* Price cards — grid */
  .price {
    padding: 80px 0;
  }
  .price__head {
    margin-bottom: 48px;
  }
  .price__scroll-wrap {
    overflow-x: visible;
  }
  .price__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-width: auto;
    gap: 32px;
  }
  .course-card {
    width: auto;
  }

  /* Concerns / Compare — 2-column pill grid */
  .concerns,
  .compare-sec {
    padding: 80px 32px;
  }
  .concerns__inner,
  .compare-sec__inner {
    max-width: 880px;
  }
  .check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
  .arrow-divider {
    padding: 8px 0;
  }

  /* Reasons — image + body side-by-side, alternating */
  .reasons {
    padding: 100px 32px;
  }
  .reasons__inner {
    max-width: 980px;
  }
  .reasons__list {
    gap: 80px;
  }
  .reason-item {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .reason-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .reason-item__img {
    flex: 1 1 50%;
    max-width: 480px;
  }
  .reason-item__content {
    flex: 1 1 50%;
    gap: 24px;
  }
  .reason-item__title {
    font-size: 24px;
  }
  .reasons__lets-try {
    top: 80px;
    right: 40px;
    font-size: 48px;
  }

  /* Curriculum — wider step cards */
  .curriculum {
    padding: 80px 32px;
  }
  .curriculum__inner {
    max-width: 720px;
  }
  .step {
    padding: 48px 40px;
    gap: 28px;
  }
  .step__title {
    font-size: 24px;
  }
  .step__lead,
  .step__text {
    font-size: 14px;
  }
  .step__points-title {
    font-size: 20px;
  }
  .step__points li {
    font-size: 15px;
  }

  /* Testimonials — wider card */
  .testimonials {
    padding: 80px 32px;
  }
  .testi-carousel {
    max-width: 560px;
  }
  .testi-card {
    padding: 40px;
  }
  .testi-card__title {
    font-size: 22px;
  }

  /* Skills / Careers / Overview / Payment tables — wider */
  .skills,
  .careers,
  .overview,
  .payment {
    padding: 80px 32px;
  }
  .skills__table {
    max-width: 720px;
  }
  .skills__cell-title {
    flex: 0 0 160px;
  }
  .skills__cell-title p {
    font-size: 14px;
  }
  .skills__cell-list {
    font-size: 13px;
    padding: 16px;
  }
  .skills__cell-content {
    padding: 16px;
    gap: 16px;
  }

  /* Instructor — image + body side-by-side */
  .instructor {
    padding: 80px 0;
  }
  .instructor__inner {
    max-width: 960px;
  }
  .instructor__cards {
    padding: 0 32px;
    gap: 64px;
  }
  .instructor-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 12px;
  }
  .instructor-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  .instructor-card__thumb {
    flex: 0 0 40%;
    height: auto;
    align-self: stretch;
  }
  .instructor-card__thumb--photo {
    aspect-ratio: auto;
    flex: 0 0 40%;
  }
  .instructor-card__body {
    flex: 1;
    padding: 32px 28px;
  }
  .instructor-card__text p {
    font-size: 15px;
  }

  /* FAQ — wider, larger Q text */
  .faq {
    padding: 80px 32px;
  }
  .faq__inner {
    max-width: 880px;
  }
  .faq__q {
    padding: 24px 28px;
  }
  .faq__q-text {
    font-size: 18px;
    line-height: 1.6;
  }
  .faq__a {
    padding: 24px 56px;
    font-size: 16px;
    line-height: 28px;
  }

  /* LINE CTA */
  .line-cta {
    padding: 60px 32px;
  }
  .line-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 880px;
  }
  .line-cta__inner p {
    font-size: 14px;
    flex: 1;
  }
  .line-cta__inner .btn-line {
    flex-shrink: 0;
    align-self: auto;
  }

  /* Access — wider card */
  .access {
    padding: 80px 32px;
  }
  .access__inner {
    max-width: 880px;
  }
  .access__list {
    max-width: 720px;
  }
  .access-card {
    padding: 40px 32px;
  }
  .access-card__body {
    padding: 0 32px;
    gap: 32px;
  }
  .access-card__title {
    font-size: 22px;
  }
  .access-card__address-text,
  .access-card__text {
    font-size: 15px;
  }
  .access-card__map {
    max-width: 560px;
  }

  /* Form — wider, two-column where natural */
  .form-sec {
    padding: 80px 32px;
  }
  .form-sec__inner {
    max-width: 720px;
    gap: 40px;
  }
  .apply-form {
    gap: 24px;
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 14px;
  }
  .form-label {
    font-size: 14px;
  }
  .form-textarea {
    min-height: 180px;
  }

  /* Footer */
  .site-footer {
    padding: 80px 64px 24px;
  }
  .site-footer__inner {
    max-width: 1100px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px 48px;
  }
  .site-footer__logo {
    flex-shrink: 0;
  }
  .site-footer__nav-wrap {
    width: auto;
    padding: 0;
    gap: 64px;
    flex: 1;
    justify-content: flex-end;
  }
  .site-footer__legal {
    justify-content: flex-start;
    flex-basis: 100%;
  }
  .site-footer__copy {
    text-align: left;
  }

  .hero__bo {
    top: 40%;
  }
}

/* ===================================================
   RESPONSIVE — Desktop (1024px+)
   =================================================== */
@media (min-width: 1024px) {
  .sec-title {
    font-size: 36px;
    letter-spacing: 0.24em;
  }

  .hero__body {
    flex: 0 0 560px;
    padding: 80px 64px;
  }
  .hero__title {
    font-size: 36px;
    line-height: 1.6;
  }
  .hero__program-name {
    font-size: 36px;
  }
  .hero__stack {
    font-size: 14px;
  }
  .hero__subtitle {
    font-size: 12px;
  }

  .works__inner,
  .curriculum__inner {
    max-width: 800px;
  }
  .price__inner,
  .concerns__inner,
  .compare-sec__inner,
  .reasons__inner,
  .testimonials__inner,
  .skills__inner,
  .careers__inner,
  .overview__inner,
  .payment__inner,
  .instructor__inner,
  .faq__inner,
  .access__inner,
  .form-sec__inner {
    max-width: 1040px;
  }

  .reasons__lets-try {
    font-size: 60px;
    right: 80px;
    top: 100px;
  }

  .step {
    padding: 56px 56px;
  }
  .step__img {
    max-width: 600px;
    align-self: center;
  }

  .testi-carousel {
    max-width: 640px;
  }

  .skills__table {
    max-width: 800px;
  }

  .instructor__cards {
    padding: 0 64px;
  }
  .instructor-card {
    gap: 0;
  }
  .instructor-card__thumb,
  .instructor-card__thumb--photo {
    flex: 0 0 45%;
  }
  .instructor-card__body {
    padding: 48px 40px;
  }

  .access__list {
    max-width: 800px;
  }
  .access-card__map {
    max-width: 640px;
  }
}

/* ===================================================
   LEGAL PAGES (privacy / terms / tokushoho)
   =================================================== */
.legal {
  padding-top: 80px; /* clear the fixed header */
}

.legal__hero {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}

.legal__hero-title {
  font-family: "IBM Plex Sans", "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.legal__hero-en {
  display: block;
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

.legal__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal__lead {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 32px;
  color: #424242;
}

.legal__section {
  margin-bottom: 36px;
}
.legal__section:last-child {
  margin-bottom: 0;
}

.legal h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--red);
}

.legal h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin: 20px 0 8px;
}

.legal p {
  font-size: 14px;
  line-height: 1.9;
  color: #424242;
  margin-bottom: 12px;
}
.legal p:last-child {
  margin-bottom: 0;
}

.legal ul {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
}

.legal li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #424242;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.legal a {
  color: var(--red);
  text-decoration: underline;
  word-break: break-all;
}
.legal a:hover {
  opacity: 0.8;
}

/* Definition table — 特定商取引法に基づく表記 */
.legal-table {
  border-top: 1px solid #e0e0e0;
}
.legal-table__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}
.legal-table dt {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--dark);
}
.legal-table dd {
  font-size: 14px;
  line-height: 1.8;
  color: #424242;
}

@media (min-width: 768px) {
  .legal__hero {
    padding: 72px 24px;
  }
  .legal__hero-title {
    font-size: 28px;
  }
  .legal__inner {
    padding: 64px 40px 100px;
  }
  .legal-table__row {
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    padding: 20px 0;
  }
  .legal-table dt {
    flex: 0 0 240px;
  }
  .legal-table dd {
    flex: 1;
  }
}

/* ===================================================
   RESPONSIVE — Wide desktop (1280px+)
   =================================================== */
@media (min-width: 1280px) {
  .header-inner {
    padding: 0 32px;
  }
  .price__inner,
  .concerns__inner,
  .compare-sec__inner,
  .reasons__inner,
  .testimonials__inner,
  .skills__inner,
  .careers__inner,
  .overview__inner,
  .payment__inner,
  .instructor__inner,
  .faq__inner,
  .access__inner,
  .form-sec__inner {
    max-width: 1200px;
  }
}
