/* ===============================
   ぷらぐら - Programming School LP
   =============================== */

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

:root {
  --color-primary: #ffd93d;       /* yellow */
  --color-primary-deep: #f9c612;
  --color-accent: #ff5c9b;        /* pink */
  --color-accent-deep: #ec3e83;
  --color-cyan: #4ec5d9;          /* cyan */
  --color-cyan-deep: #2da6bb;
  --color-dark: #1f2a44;
  --color-text: #2d3748;
  --color-text-light: #5a6478;
  --color-bg: #fffaf0;
  --color-bg-alt: #f6f8ff;
  --color-white: #ffffff;
  --color-line: #06c755;

  --shadow-sm: 0 2px 8px rgba(31, 42, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 42, 68, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 42, 68, 0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-en: "Fredoka", "M PLUS Rounded 1c", sans-serif;

  --container: 1120px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sp-hidden { display: inline; }

@media (max-width: 768px) {
  .sp-hidden { display: none; }
}

/* ------ Section common ------ */
.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  padding: 6px 16px;
  background: rgba(255, 92, 155, 0.1);
  border-radius: 999px;
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-round);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.section__title-accent {
  background: linear-gradient(135deg, var(--color-accent), #ff8aba);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.section__desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }
  .section__desc { font-size: 14px; }
}

/* ------ Buttons ------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-deep) 100%);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(255, 92, 155, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 92, 155, 0.45);
  opacity: 1;
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
}

.btn--line {
  background: var(--color-line);
  color: var(--color-white);
  padding: 20px 40px;
  font-size: 18px;
  box-shadow: 0 10px 28px rgba(6, 199, 85, 0.4);
}

.btn--line:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.5);
  opacity: 1;
}

.btn--block {
  width: 100%;
}

/* ------ Header ------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
  transition: all 0.3s;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-round);
}

.header__logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-name {
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.04em;
}

.header__logo-sub {
  font-size: 11px;
  color: var(--color-text-light);
  font-family: var(--font-round);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 20px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.nav__cta:hover {
  background: var(--color-accent);
  opacity: 1;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 0 auto;
  transition: all 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav__link {
    font-size: 16px;
    display: block;
    padding: 8px 0;
  }

  .nav__cta {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }
}

/* ------ Hero ------ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7d6 0%, #ffefde 50%, #ffe5ec 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.hero__blob--1 {
  width: 380px;
  height: 380px;
  background: var(--color-primary);
  top: -100px;
  left: -80px;
}

.hero__blob--2 {
  width: 340px;
  height: 340px;
  background: var(--color-accent);
  bottom: -80px;
  right: -60px;
  animation-delay: -4s;
}

.hero__blob--3 {
  width: 260px;
  height: 260px;
  background: var(--color-cyan);
  top: 40%;
  right: 30%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(20px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--color-white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero__badge-icon {
  font-size: 16px;
}

.hero__title {
  font-family: var(--font-round);
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__title-sub {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--color-text);
}

.hero__title-main {
  font-size: 1.2em;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8b56 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.hero__title-brand {
  font-size: 0.55em;
  font-weight: 800;
  color: var(--color-dark);
  margin-top: 10px;
  position: relative;
  display: inline-block;
}

.hero__title-brand::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: var(--color-primary);
  z-index: -1;
  border-radius: 2px;
}

.hero__lead {
  font-size: 16px;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stat {
  background: var(--color-white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 130px;
}

.hero__stat-num {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.hero__stat-unit {
  font-size: 14px;
  margin-left: 2px;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--color-text-light);
}

.hero__stat--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8b56 100%);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(255, 92, 155, 0.35);
  position: relative;
}

.hero__stat--accent::before {
  content: "NEW!";
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--color-primary);
  color: var(--color-dark);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(31, 42, 68, 0.2);
}

.hero__stat--accent .hero__stat-num {
  color: var(--color-white);
  font-family: var(--font-round);
  font-size: 18px;
}

.hero__stat--accent .hero__stat-label {
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 480px;
}

.hero__main-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 420px;
  max-width: 100%;
  display: grid;
  place-items: center;
}

.hero__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(31, 42, 68, 0.18));
  animation: hero-logo-float 5s ease-in-out infinite;
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__card {
  position: absolute;
  background: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  animation: bobbing 4s ease-in-out infinite;
  z-index: 3;
}

.hero__card-emoji {
  font-size: 22px;
}

.hero__card--1 {
  top: 30px;
  left: -20px;
}

.hero__card--2 {
  top: 50%;
  right: -10px;
  animation-delay: -1.5s;
}

.hero__card--3 {
  bottom: 40px;
  left: 10px;
  animation-delay: -3s;
}

@keyframes bobbing {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

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

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__title {
    align-items: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    height: 360px;
  }

  .hero__main-visual {
    width: 320px;
  }

  .hero__stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__card { font-size: 11px; padding: 10px 14px; }
  .hero__card-emoji { font-size: 18px; }
  .hero__main-visual { width: 260px; }
}

/* ------ Why section ------ */
.why {
  background: var(--color-white);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.why__card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(31, 42, 68, 0.06);
  transition: all 0.3s;
  position: relative;
}

.why__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why__card--highlight {
  background: linear-gradient(135deg, #fff6c9 0%, #ffe5ec 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.why__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-deep));
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.why__card--highlight .why__icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep));
}

.why__title {
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.why__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

.why__text strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.why__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-dark);
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.why__quote {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 40px 40px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.why__quote-mark {
  position: absolute;
  top: 24px;
  left: 30px;
  color: var(--color-primary);
  opacity: 0.6;
}

.why__quote-text {
  font-family: var(--font-round);
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 2;
}

.why__quote-text strong {
  color: var(--color-accent-deep);
}

@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; gap: 20px; }
  .why__quote { padding: 40px 24px 32px; }
}

/* ------ Powers section ------ */
.powers {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
}

.powers__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 40px;
}

.power {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--color-white);
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.power::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
}

.power:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.power__number {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.85;
}

.power__icon {
  font-size: 56px;
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #fff6c9, #ffe5ec);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.power__title {
  font-family: var(--font-round);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.power__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
}

.powers__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--color-white);
  border: 2px dashed var(--color-cyan);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.powers__note-icon {
  font-size: 22px;
}

@media (max-width: 768px) {
  .power {
    grid-template-columns: auto 1fr;
    padding: 24px 20px 24px 28px;
    gap: 16px;
  }
  .power__number {
    font-size: 36px;
    grid-column: 1;
  }
  .power__icon {
    width: 64px;
    height: 64px;
    font-size: 40px;
    grid-row: 1;
    grid-column: 2;
    justify-self: start;
  }
  .power__body {
    grid-column: 1 / -1;
  }
}

/* ------ Features section ------ */
.features {
  background: linear-gradient(180deg, var(--color-white) 0%, #fff7d6 100%);
  position: relative;
}

.features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.feature {
  flex: 1 1 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  min-width: 240px;
}

.feature {
  background: var(--color-white);
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.feature--highlight {
  background: linear-gradient(135deg, #fff6c9 0%, #ffe5ec 100%);
  grid-column: span 2;
}

.feature--bonus {
  background: linear-gradient(135deg, #d9f4fb 0%, #e5ecff 100%);
  grid-column: span 2;
}

.feature__num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.feature__title {
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature__text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.8;
}

.feature__text strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.feature__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--color-dark);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

@media (max-width: 960px) {
  .feature {
    flex: 1 1 calc(50% - 11px);
    max-width: calc(50% - 11px);
  }
}

@media (max-width: 540px) {
  .feature {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ------ Curriculum ------ */
.curriculum {
  background: linear-gradient(180deg, #fff7d6 0%, var(--color-white) 30%, var(--color-white) 100%);
}

.sp-only { display: none; }
@media (max-width: 640px) {
  .sp-only { display: inline; }
}

/* Step Flow */
.stepflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto 32px;
}

.stepflow__item {
  background: var(--color-white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 6px solid var(--color-primary);
  transition: transform 0.3s;
}

.stepflow__item:nth-child(3) {
  border-top-color: #ff8b56;
}

.stepflow__item--last {
  border-top-color: var(--color-accent);
}

.stepflow__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stepflow__num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.stepflow__title {
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.stepflow__sub {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.stepflow__text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}

.stepflow__arrow {
  font-size: 32px;
  color: var(--color-accent);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
}

.stepflow__note {
  max-width: 900px;
  margin: 0 auto 72px;
  padding: 18px 24px;
  background: #fffbe8;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
}

.stepflow__note strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.stepflow__note-icon {
  margin-right: 6px;
  font-size: 18px;
}

@media (max-width: 960px) {
  .stepflow {
    grid-template-columns: 1fr;
  }
  .stepflow__arrow {
    transform: rotate(90deg);
    font-size: 24px;
    padding: 8px 0;
  }
}

/* Curriculum Detail */
.curriculum__detail {
  max-width: 960px;
  margin: 0 auto 88px;
}

.curriculum__detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.curriculum__detail-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(255, 92, 155, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.curriculum__detail-title {
  font-family: var(--font-round);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.curriculum__detail-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto;
}

.curriculum__detail-desc strong {
  color: var(--color-accent-deep);
}

/* Basics grid (6 steps) */
.basics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.basic {
  background: var(--color-white);
  padding: 24px 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.basic:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.basic__num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.basic__title {
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.basic__text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .basics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .basics { grid-template-columns: 1fr; }
}

/* Advanced (基礎のあと) */
.advanced {
  background: var(--color-white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 780px;
  margin: 0 auto;
}

.advanced__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  background: #fff5f2;
  border-radius: var(--radius-sm);
  border: 2px solid #ffd7c7;
}

.advanced__row--base {
  background: #fffbe8;
  border-color: var(--color-primary);
}

.advanced__row--split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 0;
  background: transparent;
  border: none;
  gap: 14px;
}

.advanced__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff5f2;
  border-radius: var(--radius-sm);
  border: 2px solid #ffd7c7;
}

.advanced__cell--side {
  background: #fff1e0;
  border-color: #ffb380;
}

.advanced__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  flex-shrink: 0;
}

.advanced__row--base .advanced__tag {
  background: var(--color-primary);
  color: var(--color-dark);
}

.advanced__tag--iot {
  background: #ff8b56;
}

.advanced__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark);
}

.advanced__name-sub {
  font-size: 12px;
  color: var(--color-text-light);
}

.advanced__arrow {
  text-align: center;
  padding: 8px 0;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
}

.advanced__langs {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #e0f7ff 0%, #fff0f5 100%);
  border-radius: var(--radius-md);
  text-align: center;
}

.advanced__langs-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  padding: 4px 14px;
  background: var(--color-white);
  border-radius: 999px;
}

.advanced__langs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.advanced__lang {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.advanced__lang--csharp { background: #c63e3e; }
.advanced__lang--java { background: #b8327b; }
.advanced__lang--python { background: #3776ab; }
.advanced__lang--flutter { background: #2563eb; }
.advanced__lang--html { background: #e44d26; }

.advanced__platforms {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.advanced__platform {
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
}

.advanced__platform strong {
  color: var(--color-dark);
  font-weight: 800;
  font-size: 14px;
}

.advanced__platform small {
  color: var(--color-text-light);
  font-size: 11px;
}

.advanced__note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
}

@media (max-width: 640px) {
  .advanced { padding: 24px 18px; }
  .advanced__row, .advanced__cell { padding: 12px 14px; font-size: 13px; }
  .advanced__row--split { grid-template-columns: 1fr; }
  .advanced__name { font-size: 13px; }
}

/* Model (履修モデル) */
.model {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}

.model__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--color-accent);
}

.model__item--goal {
  border-left-color: var(--color-primary);
  background: linear-gradient(135deg, #fff6c9 0%, #ffe5ec 100%);
}

.model__step {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 40px;
  text-align: center;
}

.model__item--goal .model__step {
  font-size: 28px;
  color: initial;
}

.model__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.model__name {
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-dark);
}

.model__desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.model__desc small {
  color: var(--color-text-light);
  font-size: 11px;
}

.model__hours {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent-deep);
}

.model__item--goal .model__hours {
  color: #d47b00;
}

.model__hours small {
  font-size: 13px;
  margin-left: 4px;
  font-weight: 500;
}

.model__arrow {
  text-align: center;
  font-size: 20px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 700;
}

@media (max-width: 640px) {
  .model__item { padding: 16px 18px; gap: 14px; }
  .model__step { font-size: 20px; min-width: 30px; }
  .model__name { font-size: 15px; }
  .model__hours { font-size: 22px; }
}

/* ------ Course / Pricing ------ */
.course {
  background: var(--color-white);
}

.course__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto 72px;
}

.course__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin-bottom: 36px;
}

@media (max-width: 960px) {
  .course__grid--3 { grid-template-columns: 1fr; }
}

.course__card {
  position: relative;
  padding: 48px 36px 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.course__card--kids {
  background: linear-gradient(160deg, #fff6c9 0%, #ffe5ec 100%);
}

.course__card--adult {
  background: linear-gradient(160deg, #d9f4fb 0%, #e5ecff 100%);
}

.course__card--info {
  background: linear-gradient(160deg, #e7f9ea 0%, #d6f2e0 100%);
}

.course__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course__ribbon {
  position: absolute;
  top: 24px;
  right: -34px;
  transform: rotate(35deg);
  background: var(--color-dark);
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 44px;
  letter-spacing: 0.12em;
}

.course__card--adult .course__ribbon {
  color: var(--color-cyan);
}

.course__card--info .course__ribbon {
  color: #a5e2b6;
}

.course__card--info .course__price-num {
  color: #1f8442;
}

.course__card--info .course__features li::before {
  border-color: #2a9d52;
}

.course__card--info .course__features li::after {
  border-color: #2a9d52;
}

/* Combined course note */
.course__note-combined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 16px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border: 1px dashed var(--color-accent);
}

.course__note-combined svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.course__note-combined strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.course__title {
  font-family: var(--font-round);
  font-size: 28px;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.course__target,
.course__lesson {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.course__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 0;
  margin: 16px 0 24px;
  border-top: 1px dashed rgba(31, 42, 68, 0.15);
  border-bottom: 1px dashed rgba(31, 42, 68, 0.15);
}

.course__price-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.course__price-num {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-accent-deep);
  line-height: 1;
}

.course__card--adult .course__price-num {
  color: var(--color-cyan-deep);
}

.course__price-yen {
  font-size: 18px;
  margin-left: 2px;
}

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

.course__features li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.course__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  border: 2px solid var(--color-accent);
}

.course__features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

.course__card--adult .course__features li::before {
  border-color: var(--color-cyan);
}

.course__card--adult .course__features li::after {
  border-color: var(--color-cyan);
}

/* Pricing table */
.pricing {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pricing__title {
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 20px;
  text-align: center;
}

.pricing__table {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 24px;
  align-items: center;
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
  font-size: 15px;
  font-weight: 500;
}

.pricing__row:last-child {
  border-bottom: none;
}

.pricing__row--head {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.pricing__row--popular {
  background: #fffbe8;
  font-weight: 700;
}

.pricing__price {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent-deep);
  text-align: right;
}

.pricing__row--head .pricing__price {
  color: var(--color-white);
  font-size: 14px;
}

.pricing__tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-style: normal;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  font-weight: 700;
}

.pricing__note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
}

.pricing__row--extra {
  background: var(--color-bg);
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 500;
}

.pricing__row--extra .pricing__price {
  color: var(--color-text);
  font-size: 14px;
}

.pricing__meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pricing__meta-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 42, 68, 0.08);
  align-items: flex-start;
}

.pricing__meta-item--good {
  background: #f2fdf6;
  border-color: #cfeed9;
}

.pricing__meta-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-text-light);
}

.pricing__meta-item--good .pricing__meta-icon {
  background: #06c755;
}

.pricing__meta-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing__meta-item strong {
  font-size: 14px;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.4;
}

.pricing__meta-item--good strong {
  color: #058148;
}

.pricing__meta-item small {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.pricing__meta-item small b {
  color: var(--color-dark);
  font-weight: 700;
  font-size: 13px;
}

.pricing__meta-item small em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  color: var(--color-text-light);
  opacity: 0.9;
}

.pricing__mini-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .pricing__meta {
    grid-template-columns: 1fr;
  }
}

/* Legacy (unused) but keep for safety */
.pricing__notes {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing__notes-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
}

.pricing__notes-item strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.pricing__notes-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-text-light);
}

.pricing__notes-item--good .pricing__notes-icon {
  background: #06c755;
}

.pricing__notes-item--good {
  background: #f2fdf6;
  border: 1px solid #d5f5e3;
}

/* Course badges */
.course__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.course__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.course__badge--free {
  background: #fff8e1;
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.course__badge--free svg {
  color: #06c755;
}

@media (max-width: 640px) {
  .course__badges {
    gap: 8px;
  }
  .course__badge {
    font-size: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  .course__grid { grid-template-columns: 1fr; }
  .pricing { padding: 24px 20px; }
  .pricing__row { padding: 12px 16px; font-size: 14px; }
}

/* ------ Schedule (開講日時) ------ */
.schedule {
  max-width: 900px;
  margin: 64px auto 0;
  padding: 40px;
  background: linear-gradient(135deg, #f6f8ff 0%, #fff0f5 100%);
  border-radius: var(--radius-lg);
}

.schedule__header {
  text-align: center;
  margin-bottom: 28px;
}

.schedule__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.schedule__title {
  font-family: var(--font-round);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.schedule__note {
  font-size: 12px;
  color: var(--color-text-light);
}

.schedule__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 13px;
  min-width: 560px;
}

.schedule__table th,
.schedule__table td {
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid rgba(31, 42, 68, 0.06);
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
  vertical-align: middle;
}

.schedule__table thead th {
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-round);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 8px;
}

.schedule__rowhead {
  background: #fffbe8;
  font-weight: 700;
  font-family: var(--font-round);
  color: var(--color-dark);
  font-size: 14px;
  width: 68px;
}

.schedule__rowhead--kids {
  background: #fff4f9;
}

.schedule__rowhead--adult {
  background: #e7f4fd;
}

.schedule__time {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.schedule__status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.schedule__status--open {
  background: #ffe8f2;
  color: var(--color-accent-deep);
}

.schedule__status--full {
  background: #e5e7eb;
  color: var(--color-text-light);
}

.schedule__status--maybe {
  background: #fff8e1;
  color: #b78a00;
}

.schedule__status--out {
  background: transparent;
  color: rgba(31, 42, 68, 0.4);
  line-height: 1.4;
  font-size: 9px;
  font-weight: 500;
  padding: 0;
}

.schedule__cell--empty {
  color: rgba(31, 42, 68, 0.2);
  background: #fafafa;
}

.schedule__cell--out {
  background:
    repeating-linear-gradient(
      45deg,
      #fafbfd,
      #fafbfd 6px,
      #f0f3f8 6px,
      #f0f3f8 12px
    );
  position: relative;
}

.schedule__cell--out::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: 40px;
}

.schedule__legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--color-text);
}

.schedule__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.schedule__legend-item em {
  font-style: normal;
}

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

.schedule__notes-item {
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}

.schedule__notes-item strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.schedule__notes-item--pause {
  background: #fff8e1;
  border: 1px dashed #f4c04e;
}

.schedule__notes-label {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-dark);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  margin-right: 8px;
}

.schedule__notes-item--info {
  background: #f0f7fc;
  border-left: 3px solid #7eb5d9;
  font-size: 12px;
  color: var(--color-text-light);
}

.schedule__notes-label--info {
  background: #7eb5d9;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .schedule { padding: 28px 20px; }
  .schedule__table { font-size: 11px; }
  .schedule__table th, .schedule__table td { padding: 8px 4px; }
  .schedule__time { font-size: 11px; }
  .schedule__status { font-size: 10px; padding: 1px 6px; }
}

/* ------ Support (塾代助成) ------ */
.support {
  background: linear-gradient(135deg, #e5f6ff 0%, #fff0f5 100%);
}

.support__card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}

.support__icon {
  font-size: 80px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(255, 217, 61, 0.4);
}

.support__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(255, 92, 155, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.support__title {
  font-family: var(--font-round);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.support__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.support__text strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.support__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-cyan-deep);
}

.support__link:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .support__card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 20px;
    text-align: center;
  }
  .support__icon {
    margin: 0 auto;
    width: 96px;
    height: 96px;
    font-size: 56px;
  }
}

/* ------ FAQ ------ */
.faq {
  background: var(--color-white);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: var(--color-primary);
  background: var(--color-white);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark);
  transition: color 0.2s;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--color-accent);
}

.faq__q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
}

.faq__q-text {
  flex: 1;
  line-height: 1.6;
}

.faq__q-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-white);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s;
}

.faq__q-arrow::before,
.faq__q-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--color-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.faq__q-arrow::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__q-arrow::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  display: flex;
  gap: 16px;
  padding: 0 24px 22px 24px;
  border-top: 1px dashed rgba(31, 42, 68, 0.1);
  margin-top: -4px;
  padding-top: 18px;
}

.faq__a-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
}

.faq__a p {
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
  padding-top: 4px;
}

.faq__a p strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

@media (max-width: 640px) {
  .faq__q { padding: 16px 18px; font-size: 14px; gap: 12px; }
  .faq__q-mark, .faq__a-mark { width: 28px; height: 28px; font-size: 13px; }
  .faq__a { padding: 16px 18px 20px; gap: 12px; }
  .faq__a p { font-size: 13px; }
}

/* ------ Access ------ */
.access {
  background: var(--color-white);
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.access__info {
  padding: 40px 36px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.access__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.access__logo .header__logo-mark {
  width: 54px;
  height: 54px;
}

.access__name {
  display: block;
  font-family: var(--font-round);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.04em;
}

.access__sub {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.access__item dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.access__item dd {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark);
  font-weight: 500;
}

.access__item dd small {
  display: inline-block;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 400;
  margin-top: 2px;
}

.access__item dd strong {
  color: var(--color-accent-deep);
  font-weight: 700;
}

.access__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.access__map iframe {
  position: absolute;
  inset: 0;
}

@media (max-width: 900px) {
  .access__grid { grid-template-columns: 1fr; }
  .access__map { min-height: 300px; }
}

/* ------ Contact / Final CTA ------ */
.contact {
  background: linear-gradient(135deg, #1f2a44 0%, #2b3b62 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.contact::before {
  width: 420px;
  height: 420px;
  background: var(--color-accent);
  top: -160px;
  left: -100px;
}

.contact::after {
  width: 380px;
  height: 380px;
  background: var(--color-primary);
  bottom: -160px;
  right: -80px;
}

.contact__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.contact__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.contact__title {
  font-family: var(--font-round);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
}

.contact__accent {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.contact__accent::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 12px;
  background: rgba(255, 92, 155, 0.4);
  z-index: -1;
  border-radius: 2px;
}

.contact__desc {
  font-size: 16px;
  line-height: 2;
  opacity: 0.85;
  margin-bottom: 40px;
}

.contact__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact__methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.06);
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.contact__method-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding: 4px 14px;
  background: rgba(255, 217, 61, 0.15);
  border-radius: 999px;
}

.contact__method-note {
  font-size: 12px;
  opacity: 0.75;
  margin: 0;
}

.contact__method--divider {
  min-width: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  position: relative;
  padding: 0 8px;
}

.contact__qr {
  width: 140px;
  height: 140px;
  padding: 10px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.contact__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact__sub-text {
  font-size: 13px;
  opacity: 0.75;
}

.contact__sub-text strong {
  color: var(--color-primary);
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .contact__methods {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }
  .contact__method--divider {
    width: 100%;
    text-align: center;
  }
  .contact__qr {
    width: 120px;
    height: 120px;
  }
}

/* ------ Footer ------ */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer .header__logo-name {
  color: var(--color-white);
}

.footer .header__logo-sub {
  color: rgba(255, 255, 255, 0.6);
}

.footer__logo-image {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.footer__address {
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.8;
  opacity: 0.85;
}

.footer__operator {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 13px;
}

.footer__nav a {
  opacity: 0.8;
}

.footer__copy {
  font-size: 12px;
  opacity: 0.55;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 600px;
}

/* ------ Reveal animation ------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
