:root {
  --v6-paper: #fbfaf6;
  --v6-surface: #fffefa;
  --v6-ink: #082f63;
  --v6-text: #263545;
  --v6-muted: #66716f;
  --v6-line: #d8dcd3;
  --v6-line-strong: #aeb99c;
  --v6-blue: #0b63ce;
  --v6-blue-soft: #f3f7ff;
  --v6-sage: #5f8b43;
  --v6-orange: #ec7418;
  --v6-line-green: #06a13a;
  --v6-heading: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --v6-ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --v6-shadow: 0 8px 28px rgba(8, 47, 99, 0.045);
}

html {
  scroll-padding-top: 64px;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body.v6-home {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--v6-text);
  background: var(--v6-paper);
  font-family: var(--v6-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  font-synthesis: none;
}

.v6-home main {
  margin-top: 0;
}

.v6-home *,
.v6-home *::before,
.v6-home *::after {
  box-sizing: border-box;
}

.v6-home :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.v6-home :where(button, input, select, textarea) {
  font: inherit;
}

.v6-home :where(button, a, summary) {
  -webkit-tap-highlight-color: transparent;
}

.v6-home :where(a) {
  color: inherit;
}

.v6-home :focus-visible {
  outline: 2px solid var(--v6-blue);
  outline-offset: 3px;
}

.v6-home img,
.v6-home video {
  display: block;
  max-width: 100%;
}

.v6-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.v6-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--v6-ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.v6-skip-link:focus {
  transform: translateY(0);
}

.v6-shell {
  width: min(calc(100% - 80px), 1160px);
  margin-inline: auto;
}

.v6-section-title {
  position: relative;
  color: var(--v6-ink);
  font-family: var(--v6-heading);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: center;
}

.v6-section-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px auto 0;
  background: var(--v6-sage);
}

.v6-panel {
  border: 1px solid var(--v6-line);
  border-radius: 9px;
  background: rgba(255, 254, 250, 0.86);
  box-shadow: var(--v6-shadow);
}

/* Header */
.v6-header {
  position: sticky;
  z-index: 80;
  top: 0;
  height: 58px;
  color: var(--v6-ink);
  background: rgba(251, 250, 246, 0.62);
  border-bottom: 1px solid rgba(8, 47, 99, 0.035);
  backdrop-filter: blur(10px);
}

html.v6-qa-capture .v6-header {
  position: relative;
}

.v6-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1160px);
  height: 100%;
  margin-inline: auto;
}

.v6-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v6-ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.005em;
}

.v6-brand__mark {
  width: 27px;
  height: 27px;
  font-size: 25px;
}

.v6-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.2vw, 42px);
  font-size: 14px;
  font-weight: 600;
}

.v6-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.v6-nav a:hover {
  color: var(--v6-blue);
}

.v6-nav .v6-nav__contact {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid var(--v6-ink);
  border-radius: 5px;
  background: var(--v6-ink);
}

.v6-nav .v6-nav__contact:hover {
  color: #fff;
  background: #0a407c;
}

.v6-menu-button,
.v6-mobile-nav {
  display: none;
}

/* Hero */
.v6-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--v6-paper);
  isolation: isolate;
}

.v6-hero__media {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(24px, calc((100vw - 1160px) / 2));
  width: min(62vw, 700px);
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 99, 0.08);
  border-radius: 30px;
  background: #f1f1e9;
  box-shadow: 0 22px 48px rgba(8, 47, 99, 0.1);
  transform: translateY(-50%);
}

.v6-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
  border-radius: inherit;
  filter: saturate(0.9) contrast(0.98);
}

html.v6-qa-capture .v6-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: url("./assets/hero-poster-v6.png") 54% 50% / cover no-repeat;
}

.v6-hero__wash {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 35.5%;
  background: var(--v6-paper);
  box-shadow: 72px 0 86px 24px rgba(251, 250, 246, 0.96);
}

.v6-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.v6-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 39%;
  height: 100%;
  padding-bottom: 4px;
}

.v6-hero h1 {
  color: var(--v6-ink);
  font-family: var(--v6-heading);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.015em;
}

.v6-hero__actions {
  display: grid;
  width: 300px;
  margin-top: 20px;
  gap: 10px;
}

.v6-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--v6-ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.v6-button__label {
  display: grid;
  line-height: 1.35;
}

.v6-button:active {
  transform: translateY(1px);
}

.v6-button--primary {
  color: #fff;
  background: var(--v6-ink);
}

.v6-button--primary:hover {
  background: #0a407c;
}

.v6-button--secondary {
  color: var(--v6-ink);
  background: rgba(255, 254, 250, 0.92);
}

.v6-button--secondary:hover {
  color: #fff;
  background: var(--v6-ink);
}

/* News */
.v6-news {
  min-height: 214px;
  padding: 0 0 12px;
}

.v6-news__panel {
  min-height: 202px;
  padding: 11px 20px 14px;
}

.v6-news h2 {
  margin: 0 0 8px 2px;
  color: var(--v6-ink);
  font-family: var(--v6-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.v6-news__list {
  display: grid;
  gap: 2px;
}

.v6-news details {
  border: 1px solid #dce1e5;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.68);
}

.v6-news summary {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 25px;
  align-items: center;
  min-height: 30px;
  padding: 0 10px 0 14px;
  color: var(--v6-ink);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
}

.v6-news summary::-webkit-details-marker {
  display: none;
}

.v6-news summary time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.v6-news summary .material-symbols-rounded {
  justify-self: end;
  font-size: 20px;
  transition: transform 160ms ease;
}

.v6-news details[open] summary .material-symbols-rounded {
  transform: rotate(180deg);
}

.v6-news__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px 11px 159px;
  border-top: 1px solid #e6e8ea;
  font-size: 12px;
}

.v6-news__body a {
  flex: 0 0 auto;
  color: var(--v6-blue);
  font-weight: 600;
}

/* Courses and prices */
.v6-courses {
  min-height: 545px;
  padding: 13px 0 10px;
}

.v6-courses .v6-section-title {
  margin-bottom: 8px;
  font-size: 25px;
}

.v6-course-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v6-course-card {
  position: relative;
  min-width: 0;
  height: 217px;
  overflow: hidden;
  color: var(--v6-text);
  border: 1px solid var(--v6-line);
  border-radius: 8px;
  background: var(--v6-surface);
  box-shadow: 0 4px 16px rgba(8, 47, 99, 0.025);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.v6-course-card:hover {
  transform: translateY(-1px);
}

.v6-course-card.is-active {
  border: 2px solid var(--v6-blue);
  background: var(--v6-blue-soft);
}

.v6-course-card__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 14px 11px 43px;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.v6-course-card__tab:focus-visible {
  outline: 3px solid var(--v6-blue);
  outline-offset: -5px;
}

.v6-course-card__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.35;
}

.v6-course-card__copy strong {
  font-family: var(--v6-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.v6-course-card--ordinary .v6-course-card__copy strong {
  color: var(--v6-sage);
}

.v6-course-card--foreign .v6-course-card__copy strong {
  color: var(--v6-blue);
}

.v6-course-card--daily .v6-course-card__copy strong {
  color: var(--v6-orange);
}

.v6-course-card__copy small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
}

.v6-course-card__price {
  margin-top: auto;
  color: var(--v6-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.v6-course-card__price b {
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

.v6-course-card__footer {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 9px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  pointer-events: none;
}

.v6-course-detail-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 12px;
  color: #fff;
  border-radius: 4px;
  background: var(--v6-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: background-color 160ms ease, transform 160ms ease;
}

.v6-course-detail-link::after {
  position: absolute;
  inset: -8px -4px;
  content: "";
}

.v6-course-detail-link:hover {
  background: var(--v6-ink);
}

.v6-course-detail-link:active {
  transform: translateY(1px);
}

.v6-course-detail-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow: 0 0 0 2px var(--v6-blue);
}

.v6-course-card img {
  width: min(88%, 190px);
  height: 118px;
  margin: 1px auto -2px;
  object-fit: contain;
}

@media (min-width: 841px) {
  .v6-hero__copy {
    transform: none;
  }

  .v6-hero__actions {
    margin-top: 20px;
  }

  .v6-courses {
    padding-top: 15px;
  }

  .v6-course-card__copy {
    display: contents;
  }

  .v6-course-card__copy strong,
  .v6-course-card__copy small,
  .v6-course-card img {
    align-self: center;
  }

  .v6-course-card__copy strong {
    order: 1;
  }

  .v6-course-card__copy small {
    order: 2;
  }

  .v6-course-card img {
    order: 3;
    width: 155px;
    height: 105px;
    margin: 0 auto;
  }

}

.v6-course-card__mobile-icon,
.v6-course-card__selected {
  display: none;
}

.v6-price-area {
  margin-top: 20px;
  scroll-margin-top: 70px;
}

.v6-price-panel {
  position: relative;
  min-height: 231px;
  padding: 7px 18px 10px;
  border: 2px solid var(--v6-blue);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.96);
}

@media (min-width: 841px) {
  .v6-price-panel.is-active::before,
  .v6-price-panel.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%);
  }

  .v6-price-panel.is-active::before {
    top: -12px;
    border-right: 11px solid transparent;
    border-bottom: 12px solid var(--v6-blue);
    border-left: 11px solid transparent;
  }

  .v6-price-panel.is-active::after {
    top: -9px;
    border-right: 9px solid transparent;
    border-bottom: 10px solid var(--v6-surface);
    border-left: 9px solid transparent;
  }
}

.js .v6-price-panel:not(.is-active) {
  display: none;
}

.no-js .v6-price-panel + .v6-price-panel {
  margin-top: 12px;
}

.v6-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 180px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-bottom: 1px solid #e2e4e0;
  color: var(--v6-ink);
  font-size: 13px;
}

.v6-price-row strong {
  font-weight: 600;
}

.v6-price-row > span {
  justify-self: center;
}

.v6-price-row > b {
  justify-self: end;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v6-price-note {
  min-height: 31px;
  padding: 4px 10px 2px;
  color: #3f4a53;
  font-size: 9px;
  line-height: 1.45;
}

.v6-price-note [data-fee-output] {
  color: var(--v6-ink);
  font-weight: 600;
}

.v6-prefecture-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 6px;
}

.v6-prefecture-tabs button {
  min-width: 84px;
  min-height: 38px;
  padding: 0 13px;
  color: var(--v6-ink);
  border: 1px solid #7f9cc4;
  border-radius: 6px;
  background: var(--v6-surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.v6-prefecture-tabs button.is-active {
  color: #fff;
  background: var(--v6-ink);
  border-color: var(--v6-ink);
}

/* Guidance */
.v6-guidance {
  min-height: 193px;
  padding: 10px 0 11px;
}

.v6-guidance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v6-guidance-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 22px;
  align-items: center;
  min-width: 0;
  height: 171px;
  min-height: 171px;
  padding: 13px 10px;
  color: var(--v6-text);
  border: 1px solid var(--v6-line);
  border-radius: 8px;
  background: var(--v6-surface);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(8, 47, 99, 0.025);
}

.v6-guidance-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f5f7ef;
}

.v6-guidance-card__icon .material-symbols-rounded {
  font-size: 45px;
  font-variation-settings: "FILL" 1, "wght" 350, "GRAD" 0, "opsz" 48;
}

.v6-guidance-card--green .v6-guidance-card__icon,
.v6-guidance-card--green strong {
  color: var(--v6-sage);
}

.v6-guidance-card--orange .v6-guidance-card__icon,
.v6-guidance-card--orange strong {
  color: var(--v6-orange);
}

.v6-guidance-card--blue .v6-guidance-card__icon,
.v6-guidance-card--blue strong {
  color: var(--v6-blue);
}

.v6-guidance-card__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v6-guidance-card__copy strong {
  font-family: var(--v6-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.v6-guidance-card__copy small {
  margin-top: 5px;
  font-size: 9.5px;
  line-height: 1.45;
}

.v6-guidance-card__text-link {
  display: inline-block;
  margin-left: 0.3em;
  color: currentColor;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.v6-guidance-card__arrow {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #d7dfe8;
  border-radius: 50%;
  color: var(--v6-ink);
  font-size: 18px;
}

.v6-guidance-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 10px;
  color: #fff;
  border-radius: 4px;
  background: var(--v6-blue);
  font-size: 12px;
  font-weight: 600;
}

.v6-guidance-card--blue > .v6-guidance-card__arrow {
  display: none;
}

/* School */
.v6-school {
  padding: 34px 0 30px;
}

.v6-school .v6-section-title {
  margin-bottom: 18px;
  font-size: 28px;
}

.v6-school__panel {
  padding: 24px;
  border: 1px solid var(--v6-line);
  border-radius: 12px;
  background: var(--v6-surface);
  box-shadow: var(--v6-shadow);
}

.v6-school__intro {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.v6-school__intro-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--v6-ink);
  border: 1px solid #c8d4df;
  border-radius: 50%;
  background: #f5f8fb;
  font-size: 38px;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 40;
}

.v6-school__eyebrow {
  margin-bottom: 4px;
  color: var(--v6-sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.v6-school__intro h3 {
  color: var(--v6-ink);
  font-family: var(--v6-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.v6-school__intro h3 + p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--v6-text);
  font-size: 14px;
}

.v6-school__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.v6-school__comparison article {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid #dce1dc;
  border-radius: 9px;
  background: #fbfcf9;
}

.v6-school__comparison .v6-school__comparison-current {
  border-color: #9eb8d0;
  background: #f5f8fb;
}

.v6-school__type-label {
  color: var(--v6-sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.v6-school__comparison-current .v6-school__type-label {
  color: var(--v6-ink);
}

.v6-school__comparison h4 {
  margin: 3px 0 8px;
  color: var(--v6-ink);
  font-size: 17px;
}

.v6-school__comparison article > p:last-child {
  color: var(--v6-text);
  font-size: 13px;
  line-height: 1.75;
}

.v6-school__notice {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 15px;
  padding: 10px 12px;
  color: var(--v6-ink);
  border-radius: 7px;
  background: #f3f5ef;
  font-size: 12px;
  font-weight: 600;
}

.v6-school__notice .material-symbols-rounded {
  flex: 0 0 auto;
  font-size: 19px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.v6-school__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
  color: var(--v6-ink);
  font-size: 11px;
  text-underline-offset: 3px;
}

.v6-school__source .material-symbols-rounded {
  font-size: 14px;
}

/* FAQ */
.v6-faq {
  min-height: 152px;
  padding: 2px 0 6px;
}

.v6-faq .v6-section-title {
  margin-bottom: 4px;
  font-size: 23px;
}

.v6-faq-list {
  display: grid;
  gap: 1px;
}

.v6-faq-list details {
  border: 1px solid #dfe2e1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.64);
}

.v6-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 23px;
  padding: 0 10px 0 14px;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
}

.v6-faq-list summary::-webkit-details-marker {
  display: none;
}

.v6-faq-list summary .material-symbols-rounded {
  color: var(--v6-ink);
  font-size: 18px;
  transition: transform 160ms ease;
}

.v6-faq-list details[open] summary .material-symbols-rounded {
  transform: rotate(45deg);
}

.v6-faq-list details > p {
  padding: 8px 14px 11px;
  border-top: 1px solid #e5e7e5;
  font-size: 11px;
  line-height: 1.65;
}

.v6-faq-mobile {
  display: none;
}

/* Contact */
.v6-contact {
  min-height: 150px;
  padding: 6px 0 12px;
}

.v6-contact__grid {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 116px;
  height: 134px;
  overflow: hidden;
  border: 1px solid var(--v6-line);
  border-radius: 8px;
  background: var(--v6-surface);
}

.v6-contact__card {
  padding: 9px 14px 10px 20px;
  border-right: 1px solid var(--v6-line);
}

.v6-contact__card h2 {
  color: var(--v6-ink);
  font-family: var(--v6-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.v6-contact__card a {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 20px;
  align-items: center;
  min-height: 38px;
  color: var(--v6-ink);
  border-bottom: 1px solid #e3e5e3;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.v6-contact__card a:last-child {
  border-bottom: 0;
}

.v6-contact__card a .material-symbols-rounded:last-child {
  justify-self: end;
  font-size: 18px;
}

.v6-map {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #f5f5ef;
}

.v6-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.v6-map picture {
  display: block;
  width: 100%;
  height: 100%;
}

.v6-line-status {
  width: min(calc(100% - 80px), 1160px);
  min-height: 0;
  margin: 0 auto;
  color: var(--v6-ink);
  font-size: 12px;
  text-align: center;
}

.v6-mobile-actions {
  display: none;
}

/* Mobile artboard and tablet */
@media (max-width: 840px) {
  body.v6-home {
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .v6-home main {
    margin-top: 0;
  }

  .v6-shell {
    width: min(calc(100% - 120px), 704px);
  }

  .v6-section-title {
    font-size: 22px;
  }

  .v6-header {
    height: 60px;
  }

  .v6-header__inner {
    width: calc(100% - 40px);
  }

  .v6-brand {
    font-size: 22px;
  }

  .v6-brand__mark {
    width: 28px;
    height: 28px;
    font-size: 26px;
  }

  .v6-nav {
    display: none;
  }

  .v6-menu-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--v6-ink);
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .v6-menu-button .material-symbols-rounded {
    font-size: 31px;
  }

  .v6-mobile-nav {
    position: absolute;
    z-index: 90;
    top: 54px;
    right: 0;
    display: grid;
    width: min(300px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--v6-line);
    border-radius: 8px;
    background: var(--v6-surface);
    box-shadow: 0 16px 36px rgba(8, 47, 99, 0.14);
  }

  .v6-mobile-nav[hidden] {
    display: none;
  }

  .v6-mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--v6-ink);
    border-bottom: 1px solid #e7e9e7;
    font-weight: 600;
    text-decoration: none;
  }

  .v6-mobile-nav a:last-child {
    border-bottom: 0;
  }

  .v6-hero {
    height: 430px;
  }

  .v6-hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .v6-hero__video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 58% 50%;
    border-radius: 0;
    filter: saturate(0.76) contrast(0.92) brightness(1.1);
    opacity: 0.58;
  }

  html.v6-qa-capture .v6-hero__media::after {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-position: 58% 50%;
    opacity: 0.58;
  }

  .v6-hero__wash {
    inset: 0;
    width: 100%;
    background: rgba(251, 250, 246, 0.36);
    box-shadow: none;
  }

  .v6-hero__inner {
    width: calc(100% - 60px);
  }

  .v6-hero__copy {
    justify-content: flex-start;
    width: 52%;
    padding-top: 66px;
  }

  .v6-hero h1 {
    font-size: clamp(40px, 5.5vw, 48px);
    line-height: 1.12;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95);
  }

  .v6-hero__actions {
    width: 367px;
    max-width: 100%;
    margin-top: 22px;
    gap: 12px;
  }

  .v6-button {
    min-height: 51px;
    padding-inline: 20px 14px;
    font-size: 15px;
  }

  .v6-news {
    min-height: 220px;
    padding: 4px 0 8px;
  }

  .v6-news .v6-shell {
    width: min(calc(100% - 60px), 761px);
  }

  .v6-news__panel {
    min-height: 208px;
    padding: 8px 14px 7px;
  }

  .v6-news h2 {
    margin: 0 0 7px;
    font-size: 22px;
    text-align: center;
  }

  .v6-news h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto 0;
    background: var(--v6-sage);
  }

  .v6-news summary {
    grid-template-columns: 147px minmax(0, 1fr) 25px;
    min-height: 32px;
    font-size: 13px;
  }

  .v6-news__body {
    padding-left: 161px;
  }

  .v6-courses {
    min-height: 680px;
    padding: 11px 0 4px;
  }

  .v6-courses .v6-section-title {
    margin-bottom: 6px;
  }

  .v6-course-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .v6-course-card {
    height: 118px;
  }

  .v6-course-card__tab {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 255px;
    align-items: center;
    padding: 8px 13px 8px 20px;
    text-align: left;
  }

  .v6-course-card__footer {
    right: 255px;
    bottom: 10px;
    left: 98px;
    justify-content: flex-start;
    gap: 10px;
  }

  .v6-course-detail-link {
    min-height: 28px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .v6-course-card__mobile-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
  }

  .v6-course-card__mobile-icon .material-symbols-rounded {
    font-size: 41px;
    font-variation-settings: "FILL" 1, "wght" 350, "GRAD" 0, "opsz" 40;
  }

  .v6-course-card--ordinary .v6-course-card__mobile-icon {
    color: var(--v6-sage);
  }

  .v6-course-card--foreign .v6-course-card__mobile-icon {
    color: var(--v6-blue);
  }

  .v6-course-card--daily .v6-course-card__mobile-icon {
    color: var(--v6-orange);
  }

  .v6-course-card__copy {
    align-items: flex-start;
    min-width: 0;
  }

  .v6-course-card__copy strong {
    font-size: 20px;
  }

  .v6-course-card__copy small {
    font-size: 13px;
  }

  .v6-course-card__price {
    margin-top: 9px;
    font-size: 12px;
  }

  .v6-course-card__price b {
    font-size: 24px;
  }

  .v6-course-card img {
    width: 100%;
    height: 107px;
    margin: 0;
    object-fit: contain;
    transform: scale(1.15);
  }

  .v6-course-card__selected {
    display: none;
  }

  .v6-price-area {
    margin-top: 12px;
  }

  .v6-price-panel {
    min-height: 237px;
    padding: 0 10px 10px;
    border-width: 1px;
  }

  .v6-price-row {
    grid-template-columns: minmax(0, 1fr) 115px 190px;
    min-height: 41px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .v6-price-note {
    min-height: 48px;
    padding: 8px 10px 4px;
    font-size: 11px;
    text-align: center;
  }

  .v6-prefecture-tabs {
    justify-content: stretch;
    gap: 12px;
    padding-top: 6px;
  }

  .v6-prefecture-tabs button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    font-size: 14px;
  }

  .v6-guidance {
    min-height: 285px;
    padding: 0 0 8px;
  }

  .v6-guidance__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .v6-guidance-card {
    grid-template-columns: 92px minmax(0, 1fr) 33px;
    height: 87px;
    min-height: 87px;
    padding: 8px 13px;
  }

  .v6-guidance-card__icon {
    width: 76px;
    height: 68px;
    border-radius: 14px;
  }

  .v6-guidance-card__icon .material-symbols-rounded {
    font-size: 48px;
  }

  .v6-guidance-card__copy strong {
    font-size: 18px;
  }

  .v6-guidance-card__copy small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
  }

  .v6-guidance-card__copy {
    max-width: 320px;
  }

  .v6-guidance-card__button {
    position: absolute;
    right: 13px;
    bottom: 15px;
    min-width: 197px;
    min-height: 45px;
    margin: 0;
    font-size: 14px;
  }

  .v6-guidance-card--blue {
    min-height: 87px;
  }

  .v6-guidance-card--blue .v6-guidance-card__copy {
    max-width: none;
    padding-right: 205px;
  }

  .v6-school {
    min-height: 0;
    padding: 28px 0 24px;
  }

  .v6-school .v6-section-title {
    margin-bottom: 14px;
    font-size: 23px;
  }

  .v6-school__panel {
    padding: 20px;
  }

  .v6-school__intro {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  .v6-school__intro-icon {
    width: 62px;
    height: 62px;
    font-size: 33px;
  }

  .v6-school__intro h3 {
    font-size: 22px;
  }

  .v6-school__comparison {
    gap: 10px;
    margin-top: 16px;
  }

  .v6-school__comparison article {
    padding: 14px;
  }

  .v6-school__comparison h4 {
    font-size: 15px;
  }

  .v6-school__comparison article > p:last-child {
    font-size: 12px;
  }

  .v6-faq {
    min-height: 78px;
    padding: 0 0 6px;
  }

  .v6-faq-desktop {
    display: none;
  }

  .v6-faq-mobile {
    display: block;
    border: 1px solid #e0e4e5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
  }

  .v6-faq-mobile > summary {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 28px;
    align-items: center;
    min-height: 70px;
    padding: 4px 13px;
    cursor: pointer;
    list-style: none;
  }

  .v6-faq-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .v6-faq-mobile__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 58px;
    color: var(--v6-ink);
  }

  .v6-faq-mobile__icon .material-symbols-rounded {
    font-size: 55px;
    font-variation-settings: "FILL" 1, "wght" 350, "GRAD" 0, "opsz" 48;
  }

  .v6-faq-mobile > summary > span:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .v6-faq-mobile > summary strong {
    color: var(--v6-ink);
    font-family: var(--v6-heading);
    font-size: 20px;
    font-weight: 600;
  }

  .v6-faq-mobile > summary small {
    margin-top: 3px;
    font-size: 11px;
  }

  .v6-faq-mobile__body {
    display: grid;
    gap: 4px;
    padding: 8px 12px 12px;
    border-top: 1px solid #e2e4e3;
  }

  .v6-faq-mobile__body details {
    border: 1px solid #e2e4e3;
    border-radius: 5px;
    background: var(--v6-surface);
  }

  .v6-faq-mobile__body summary {
    min-height: 44px;
    padding: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
  }

  .v6-faq-mobile__body p {
    padding: 0 10px 10px;
    font-size: 12px;
  }

  .v6-contact {
    min-height: 117px;
    padding: 0 0 5px;
  }

  .v6-contact__grid {
    grid-template-columns: 55% 45%;
    height: 111px;
    min-height: 111px;
  }

  .v6-contact__card {
    padding: 5px 10px 5px 20px;
  }

  .v6-contact__card h2 {
    text-align: center;
    font-size: 19px;
    line-height: 1.2;
  }

  .v6-contact__card a {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 35px;
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .v6-contact__card a .material-symbols-rounded:last-child {
    display: none;
  }

  .v6-line-status {
    width: min(calc(100% - 120px), 704px);
  }

  .v6-mobile-actions {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(48px + env(safe-area-inset-bottom));
    color: #fff;
    box-shadow: 0 -4px 16px rgba(8, 47, 99, 0.1);
  }

  html.v6-qa-capture body.v6-home {
    padding-bottom: 0;
  }

  html.v6-qa-capture .v6-mobile-actions {
    position: relative;
  }

  .v6-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 48px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--v6-ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }

  .v6-mobile-actions a:last-child {
    background: var(--v6-line-green);
  }

  .v6-mobile-actions .material-symbols-rounded {
    font-size: 25px;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  }

  .v6-line-badge {
    display: grid;
    place-items: center;
    width: 27px;
    height: 20px;
    color: var(--v6-line-green);
    border-radius: 50%;
    background: #fff;
    font-size: 7px;
    font-weight: 800;
  }
}

/* Real phone widths */
@media (max-width: 560px) {
  body.v6-home {
    font-size: 14px;
  }

  .v6-shell,
  .v6-news .v6-shell,
  .v6-line-status {
    width: calc(100% - 32px);
  }

  .v6-header__inner {
    width: calc(100% - 24px);
  }

  .v6-brand {
    gap: 5px;
    font-size: 17px;
  }

  .v6-brand__mark {
    width: 24px;
    height: 24px;
    font-size: 22px;
  }

  .v6-hero {
    height: 430px;
  }

  .v6-hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .v6-hero__wash {
    width: 100%;
  }

  .v6-hero__inner {
    width: calc(100% - 32px);
  }

  .v6-hero__copy {
    width: 100%;
    padding-top: 48px;
  }

  .v6-hero h1 {
    max-width: 300px;
    font-size: clamp(40px, 11vw, 46px);
  }

  .v6-hero__actions {
    position: static;
    width: min(310px, 100%);
    margin-top: 24px;
  }

  .v6-news,
  .v6-courses,
  .v6-guidance,
  .v6-school,
  .v6-faq,
  .v6-contact {
    min-height: 0;
  }

  .v6-news {
    padding-top: 10px;
  }

  .v6-news__panel {
    min-height: 0;
    padding-inline: 10px;
  }

  .v6-news summary {
    grid-template-columns: 102px minmax(0, 1fr) 22px;
    min-height: 48px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .v6-news__body {
    display: block;
    padding: 10px;
  }

  .v6-news__body a {
    display: inline-block;
    margin-top: 7px;
  }

  .v6-courses {
    padding-top: 24px;
  }

  .v6-course-card {
    height: 118px;
  }

  .v6-course-card__tab {
    grid-template-columns: 48px minmax(0, 1fr) 125px;
    padding: 8px;
  }

  .v6-course-card__footer {
    right: 116px;
    bottom: 9px;
    left: 64px;
    gap: 6px;
  }

  .v6-course-detail-link {
    min-height: 27px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .v6-course-card__mobile-icon {
    width: 43px;
    height: 43px;
  }

  .v6-course-card__mobile-icon .material-symbols-rounded {
    font-size: 27px;
  }

  .v6-course-card__copy strong {
    font-size: 16px;
  }

  .v6-course-card__copy small {
    font-size: 10px;
  }

  .v6-course-card__price {
    margin-top: 7px;
    font-size: 10px;
  }

  .v6-course-card__price b {
    font-size: 19px;
  }

  .v6-course-card img {
    height: 104px;
  }

  .v6-price-panel {
    min-height: 0;
    padding-inline: 7px;
  }

  .v6-price-row {
    grid-template-columns: minmax(0, 1fr) 58px 105px;
    min-height: 48px;
    padding-inline: 4px;
    font-size: 10px;
  }

  .v6-price-note {
    font-size: 10px;
  }

  .v6-prefecture-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .v6-guidance {
    padding-top: 14px;
  }

  .v6-guidance-card {
    grid-template-columns: 58px minmax(0, 1fr) 26px;
    min-height: 98px;
    padding: 8px;
  }

  .v6-guidance-card__icon {
    width: 50px;
    height: 50px;
  }

  .v6-guidance-card__icon .material-symbols-rounded {
    font-size: 36px;
  }

  .v6-guidance-card__copy strong {
    font-size: 15px;
  }

  .v6-guidance-card__copy small {
    font-size: 10px;
  }

  .v6-guidance-card--blue .v6-guidance-card__copy {
    padding-right: 0;
    padding-bottom: 48px;
  }

  .v6-guidance-card__button {
    right: 8px;
    bottom: 8px;
    left: 66px;
    min-width: 0;
  }

  .v6-school {
    padding: 24px 0 20px;
  }

  .v6-school__panel {
    padding: 16px;
  }

  .v6-school__intro {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px;
  }

  .v6-school__intro-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .v6-school__eyebrow {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .v6-school__intro h3 {
    font-size: 19px;
  }

  .v6-school__intro h3 + p {
    margin-top: 7px;
    font-size: 12px;
  }

  .v6-school__comparison {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
  }

  .v6-school__comparison article {
    padding: 13px 14px;
  }

  .v6-school__comparison h4 {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .v6-school__comparison article > p:last-child {
    font-size: 12px;
    line-height: 1.65;
  }

  .v6-school__notice {
    font-size: 11px;
  }

  .v6-school__source {
    font-size: 10px;
  }

  .v6-faq {
    padding-top: 12px;
  }

  .v6-faq-mobile > summary {
    grid-template-columns: 58px minmax(0, 1fr) 24px;
    min-height: 82px;
    padding: 7px;
  }

  .v6-faq-mobile__icon {
    width: 52px;
  }

  .v6-faq-mobile__icon .material-symbols-rounded {
    font-size: 43px;
  }

  .v6-faq-mobile > summary strong {
    font-size: 16px;
  }

  .v6-faq-mobile > summary small {
    font-size: 9px;
  }

  .v6-contact {
    padding-top: 12px;
  }

  .v6-contact__grid {
    grid-template-columns: 1fr;
  }

  .v6-contact__card {
    border-right: 0;
    border-bottom: 1px solid var(--v6-line);
  }

  .v6-contact__card a {
    min-height: 44px;
    font-size: 14px;
  }

  .v6-map {
    height: 116px;
  }

  .v6-mobile-actions a {
    gap: 5px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .v6-home *,
  .v6-home *::before,
  .v6-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
