:root {
  --navy: #040336;
  --blue: #0c398d;
  --sky: #eaf3fc;
  --yellow: #f6b23a;
  --gold: #f0b245;
  --paper: #fff2dc;
  --text: #10121f;
  --muted: #4d5263;
  --max: 1200px;
  --wide: 1040px;
  --screen: 920px;
  --radius: 4px;
  --shadow: 4px 4px 2px rgba(115, 12, 12, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

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

.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

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

button {
  font: inherit;
}

.page-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.page-inner--screen {
  width: min(var(--screen), calc(100% - 48px));
}

.section-blue {
  background: var(--sky);
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cta img {
  width: 20px;
  height: 20px;
  transition: filter 200ms ease;
}

.cta:hover {
  color: #fff;
  background: linear-gradient(90deg, #ff0000 0%, #fcb213 100%);
}

.cta:hover img {
  filter: brightness(0) invert(1);
}

.button-dark {
  color: #fff;
  background: var(--navy);
  padding-inline: 28px;
  box-shadow: var(--shadow);
}

.button-dark:hover {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
}

.button-dark:hover img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(56%) saturate(2080%) hue-rotate(236deg) brightness(79%) contrast(116%);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero {
  position: relative;
  min-height: 812px;
  overflow: hidden;
  padding-top: 89px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  min-height: 723px;
  display: grid;
  grid-template-columns: minmax(480px, 1.1fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.hero__photos {
  min-height: 640px;
  position: relative;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 12px;
  background: #fff;
}

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

.hero-photo--main {
  width: 474px;
  height: 585px;
  left: -20px;
  top: 34px;
  transform: rotate(-7.42deg);
}

.hero-photo--sub {
  width: 293px;
  height: 372px;
  right: 0;
  bottom: 22px;
  transform: rotate(5.31deg);
}

.hero__copy {
  color: var(--navy);
}

.hero__copy h1 {
  margin: 0 0 24px;
  font-size: clamp(54px, 5vw, 72px);
  line-height: 1.5;
  font-weight: 800;
}

.hero__copy h1 span {
  display: block;
}

.marker-text {
  position: relative;
  display: inline-block !important;
  isolation: isolate;
  z-index: 1;
}

.marker-text::before {
  content: "";
  position: absolute;
  left: 50px;
  bottom: -15px;
  width: calc(80%);
  aspect-ratio: 445 / 100;
  z-index: -1;
  background: url("../assets/site/hero-highlight-mask.png") center / contain no-repeat;
}

.hero__copy p {
  margin: 0 0 34px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.8;
}

.section-heading {
  text-align: center;
  color: var(--navy);
  font-weight: 800;
}

.section-heading p {
  margin: 0 0 2px;
  font-family: "Lexend", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 1px;
}

.section-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.lead-copy,
.curriculum-lead,
.goal-lead,
.voice-lead {
  margin-top: 42px;
  color: var(--navy);
  text-align: center;
}

.lead-copy h3,
.curriculum-lead h3,
.goal-lead h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.75;
  font-weight: 800;
}

.lead-copy p,
.curriculum-lead p,
.goal-lead p,
.voice-lead {
  margin-inline: auto;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.concept {
  position: relative;
  overflow: hidden;
  padding: 80px 0 118px;
}

.concept .section-bg {
  opacity: 1;
  object-fit: cover;
  object-position: center top;
}

.concept-flow {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 0.85fr;
  align-items: center;
  gap: 24px;
  margin-top: 68px;
}

.concept-card {
  min-height: 320px;
  padding: 0 0 78px;
  position: relative;
  background: #fff;
  border-radius: 3px;
  color: var(--navy);
}

.concept-card__en {
  margin: 0;
  padding: 12px 20px 8px;
  font-family: "Lexend", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.concept-card h4 {
  margin: 0;
  padding: 5px 16px;
  background: #ffc400;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.5;
  text-align: center;
}

.concept-card ul {
  width: fit-content;
  margin: 38px auto 0;
  padding-left: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  list-style: disc;
  list-style-position: outside;
}

.concept-card li {
  display: list-item;
}

.concept-card__icon {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -74px;
  width: 148px;
  height: 148px;
  transform: translateX(-50%);
}

.concept-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-symbol {
  width: 30px;
  justify-self: center;
}

.flow-symbol--equal {
  height: 16px;
}

.method-result {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: end;
  gap: 8px;
  color: var(--navy);
  text-align: center;
}

.method-result p {
  margin: 0;
  font-family: "Lexend", sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}

.method-result strong {
  display: block;
  width: 255px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 3px;
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: 3px;
}

.method-result__accent {
  position: absolute;
  top: 12px;
  right: -15px;
  width: 48px;
  transform: rotate(18deg);
}

.method-result__wolf {
  width: 132px;
  margin-top: 16px;
}

.problems,
.goal,
.voice {
  padding: 62px 0 86px;
  background: var(--paper);
}

.problems .page-inner--screen,
.goal .page-inner--screen,
.voice .page-inner--screen {
  width: min(var(--screen), calc(100% - 48px));
}

.curriculum .page-inner--screen,
.instructor .page-inner--screen,
.open-world .page-inner--screen {
  width: min(var(--wide), calc(100% - 48px));
}

.problem-list {
  display: grid;
  gap: 50px;
  margin-top: 50px;
  border-radius: 4px;
}

.problem {
  min-height: 188px;
  position: relative;
  padding: 36px 44px;
  background: #fff;
  color: var(--navy);
}

.problem figure {
  margin: 0;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.problem figure img {
  width: auto;
  max-width: none;
  max-height: none;
}

.problem > div {
  position: relative;
  z-index: 2;
}

.problem--right > div {
  width: 56%;
  margin-left: auto;
}

.problem--left > div {
  width: 58%;
}

.problem--right figure {
  left: 82px;
  top: -18px;
}

.problem--right figure img {
  width: 310px;
}

.problem--left figure {
  right: 20px;
  top: -42px;
}

.problem--left figure img {
  width: 380px;
}

.problem-list .problem:nth-child(1) figure {
  left: 10px;
  top: -24px;
}

.problem-list .problem:nth-child(1) figure img {
  width: 400px;
}

.problem-list .problem:nth-child(3) figure {
  left: 20px;
  top: -50px;
}

.problem-list .problem:nth-child(3) figure img {
  width: 430px;
}

.problem span {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
  font-family: "Lexend", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.problem h3,
.problem p {
  margin: 0;
}

.problem h3 {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}

.problem p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.9;
}

.curriculum,
.instructor,
.faq,
.open-world {
  position: relative;
}

.curriculum {
  overflow: hidden;
  padding: 66px 0 72px;
}

.curriculum .section-bg {
  opacity: 1;
}

.curriculum-lead {
  margin-top: 36px;
}

.curriculum-lead h3 {
  font-size: 22px;
}

.curriculum-box {
  width: min(100%, 1048px);
  margin: 38px auto 0;
  padding: 24px 24px;
  position: relative;
  background: rgba(255, 255, 255, 0.72);
}

.curriculum-panel {
  position: relative;
  display: block;
  min-height: 232px;
}

.curriculum-panel__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 42%;
  height: 100%;
}

.curriculum-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curriculum-panel__body {
  width: 58%;
  min-height: 232px;
  margin-left: auto;
  padding: 0 0 18px;
  color: var(--navy);
}

.series-label {
  margin: 0 0 18px;
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--navy);
  font-family: "Lexend", sans-serif;
  font-weight: 800;
  line-height: 1;
}

.curriculum-panel__body h3 {
  margin: 0 22px 12px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}

.curriculum-panel__body p {
  margin: 0 22px 8px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.9;
}

.lesson-buttons {
  display: grid;
  justify-content: center;
  margin-top: 24px;
  text-align: center;
}

.lesson-buttons > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  justify-self: start;
  width: 268px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.lesson-buttons > p::before,
.lesson-buttons > p::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--navy);
  transform: rotate(-50deg);
  transform-origin: center;
}

.lesson-buttons > p::before {
  transform: rotate(50deg);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 54px;
}

.button-dark--arrow img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.goal {
  padding-top: 64px;
  overflow: visible;
}

.goal-lead {
  margin-top: 34px;
}

.goal-lead h3 {
  font-size: 24px;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 50px;
  margin-top: 100px;
}

.goal-grid article {
  position: relative;
  min-height: 204px;
  padding: 90px 26px 22px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  border-radius: 4px;
}

.goal-grid img {
  position: absolute;
  left: 50%;
  top: 0;
  width: auto;
  height: 178px;
  object-fit: contain;
  transform: translate(-50%, -55%);
}

.goal-grid article:first-child img {
  height: 182px;
  transform: translate(-50%, -55%);
}

.goal-grid article:nth-child(2) img {
  height: 182px;
  transform: translate(-50%, -55%);
}

.goal-grid article:nth-child(3) img {
  height: 166px;
  transform: translate(-50%, -55%);
}

.goal-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 800;
}

.goal-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--navy);
  text-align: left;
}

.instructor {
  padding: 62px 0 68px;
  overflow: hidden;
  background: linear-gradient(#fff 0%, #f3fcff 58%, #69c5e7 100%);
}

.section-bg--wave {
  object-position: center bottom;
  opacity: 0.95;
}

.instructor-panel {
  position: relative;
  min-height: 362px;
  margin-top: 78px;
  padding: 54px 40px 28px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: var(--navy);
}

.instructor-panel__text {
  width: calc(100% - 410px);
  padding-top: 0;
}

.instructor-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  border-bottom: 1px solid rgba(12, 57, 141, 0.35);
}

.instructor-panel h3 span {
  font-size: 16px;
}

.instructor-panel p {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.9;
}

.instructor-panel > img {
  position: absolute;
  right: 36px;
  top: -66px;
  width: 330px;
  height: 322px;
  object-fit: cover;
}

.profile-button {
  display: flex;
  width: 292px;
  margin: 50px auto 0;
  font-size: 16px;
}

.voice {
  position: relative;
  padding: 62px 0 70px;
  overflow: visible;
  background: var(--paper);
}

.voice__mark {
  position: absolute;
  top: -26px;
  right: -8px;
  width: 200px;
}

.voice-lead {
  margin-top: 36px;
}

.voice-slider {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0;
  margin-top: 28px;
}

.voice-slider__viewport {
  overflow: hidden;
}

.voice-grid {
  display: flex;
  gap: 34px;
  transition: transform 400ms ease;
  will-change: transform;
}

.voice-grid article {
  flex: 0 0 calc((100% - 34px) / 2);
  background: #fff;
  color: var(--navy);
}

.voice-slider__arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: transparent;
  background: url("../assets/site/voice-arrrow.png") center / contain no-repeat;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.voice-slider__arrow::before {
  content: none;
}

.voice-slider__arrow--prev {
  justify-self: start;
  transform: rotate(180deg);
}

.voice-slider__arrow--next {
  justify-self: end;
}

.voice-slider__arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.voice-grid h3 {
  margin: 0;
  padding: 16px 22px;
  background: var(--yellow);
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.voice-grid p {
  margin: 0;
  padding: 26px 26px 32px;
  color: var(--navy);
  font-size: 16px;
  line-height: 2;
}

.faq {
  padding: 72px 0 84px;
  background: #f6fbff;
}

.faq-list {
  width: min(100%, 1000px);
  margin-top: 46px;
  margin-inline: auto;
  background: transparent;
}

.faq-item {
  border-bottom: 1px solid var(--blue);
}

.faq-item:first-child {
  border-top: 1px solid var(--blue);
}

.faq-item button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  border: 0;
  color: #000;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: 16px;
}

.faq-item button::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "";
  background: url("../assets/site/faq-minus.svg") center / contain no-repeat;
}

.faq-item button span,
.faq-item p span {
  color: var(--gold);
  font-family: "Lexend", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.faq-item p span {
  color: var(--navy);
}

.faq-item div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease;
}

.faq-item.is-open div {
  grid-template-rows: 1fr;
}

.faq-item p {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  margin: 0;
  padding: 0 22px;
  color: #000;
  font-size: 16px;
  line-height: 2;
}

.faq-item.is-open p {
  padding-bottom: 18px;
}

.open-world {
  overflow: hidden;
  min-height: 646px;
  padding: 56px 0 0;
  background-image: url("../assets/site/closing-background.png");
  background-position: center;
  background-size: cover;
}

.section-bg--open {
  display: none;
}

.open-world__inner {
  min-height: 500px;
  position: relative;
  display: block;
  margin-top: 44px;
}

.open-world__student {
  position: absolute;
  left: -20px;
  bottom: 0;
  width: 750px;
  max-width: none;
}

.open-world__copy {
  width: 50%;
  margin-left: auto;
  padding: 50px 0 80px;
  color: var(--navy);
}

.section-heading--open {
  position: relative;
  z-index: 1;
  width: min(var(--screen), calc(100% - 48px));
  margin-inline: auto;
}

.section-heading--open p {
  color: var(--yellow);
}

.open-world__copy h3 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.8;
  font-weight: 800;
}

.open-world__copy > p {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 16px;
  line-height: 2;
}

.open-world__copy .cta {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .menu-button {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 22;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 21;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 120px 24px 48px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  .mobile-nav.is-open {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 24px;
  }

  .mobile-nav a {
    color: var(--navy);
    font-size: 22px;
    font-weight: 400;
  }

  .hero__inner,
  .open-world__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 56px 0 76px;
    gap: 24px;
  }

  .hero__photos {
    min-height: 430px;
  }

  .hero-photo--main {
    width: 68%;
    height: 390px;
    left: 0;
  }

  .hero-photo--sub {
    width: 42%;
    height: 250px;
  }

  .hero__copy {
    text-align: left;
  }

  .section-heading,
  .lead-copy,
  .curriculum-lead,
  .goal-lead,
  .voice-lead,
  .open-world__copy {
    text-align: left;
  }

  .section-heading p,
  .section-heading h2 {
    text-align: center;
  }

  .concept-flow {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow-symbol {
    transform: rotate(90deg);
  }

  .flow-symbol--equal {
    transform: rotate(90deg);
  }

  .problem,
  .problem--left {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .problem > div,
  .problem--right > div,
  .problem--left > div {
    width: auto;
    margin-left: 0;
  }

  .problem figure,
  .problem--right figure,
  .problem--left figure,
  .problem-list .problem:nth-child(1) figure,
  .problem-list .problem:nth-child(3) figure {
    position: static;
    display: grid;
    place-items: center;
    order: -1;
    margin-bottom: 12px;
  }

  .problem figure img,
  .problem--right figure img,
  .problem--left figure img,
  .problem-list .problem:nth-child(1) figure img,
  .problem-list .problem:nth-child(3) figure img {
    width: min(100%, 340px);
    max-width: 100%;
  }

  .problem--left figure {
    order: -1;
  }

  .curriculum-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .curriculum-box {
    padding: 24px 16px 28px;
  }

  .curriculum-panel__media {
    position: static;
    width: auto;
    min-height: 220px;
  }

  .curriculum-panel__body {
    width: auto;
    min-height: auto;
    margin-left: 0;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .button-row .cta,
  .button-row .button-dark {
    width: min(360px, 100%);
  }

  .lesson-buttons > p {
    justify-self: center;
    width: min(320px, 100%);
  }

  .instructor-panel {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .instructor-panel__text {
    width: auto;
    padding-top: 0;
    order: 2;
  }

  .instructor-panel > img {
    position: static;
    order: 1;
  }

  .profile-button {
    margin-inline: auto;
  }

  .goal-grid {
    grid-template-columns: 1fr;
  }

  .instructor-panel > img,
  .open-world__student {
    justify-self: center;
  }

  .open-world__inner {
    display: grid;
    gap: 28px;
  }

  .open-world__student {
    position: static;
    order: 2;
    width: min(430px, 100%);
    max-width: 100%;
  }

  .open-world__copy {
    order: 1;
    width: auto;
    margin-left: 0;
    padding: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .sp-br {
    display: block;
  }

  .pc-br {
    display: none;
  }

  .page-inner,
  .page-inner--screen {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 72px;
  }

  .hero__inner {
    padding-top: 34px;
  }

  .hero__photos {
    min-height: 336px;
  }

  .hero-photo--main {
    width: 74%;
    height: 304px;
  }

  .hero-photo--sub {
    width: 44%;
    height: 190px;
  }

  .hero__copy h1 {
    font-size: 40px;
    line-height: 1.45;
  }

  .marker-text::before {
    left: 10px;
    bottom: -12px;
    width: calc(90%);
    aspect-ratio: 445 / 100;
  }

  .hero__copy p {
    font-size: 16px;
  }

  .section-heading p {
    font-size: 40px;
  }

  .concept,
  .problems,
  .goal,
  .voice,
  .curriculum,
  .instructor,
  .faq,
  .open-world {
    padding-block: 54px;
  }

  .concept-card {
    min-height: 300px;
    padding-bottom: 28px;
  }

  .concept-card__icon {
    position: static;
    margin: 24px auto 0;
    transform: none;
  }

  .method-result strong {
    width: min(255px, 100%);
  }

  .problem {
    padding: 20px;
  }

  .problem figure img,
  .problem--right figure img,
  .problem--left figure img,
  .problem-list .problem:nth-child(1) figure img,
  .problem-list .problem:nth-child(3) figure img {
    width: min(100%, 300px);
  }

  .curriculum-panel__body h3,
  .curriculum-panel__body p {
    margin-inline: 18px;
  }

  .button-row,
  .button-dark {
    width: 100%;
  }

  .button-dark {
    white-space: normal;
  }

  .profile-button {
    width: 100%;
  }

  .button-row {
    gap: 24px;
  }

  .goal-grid {
    gap: 100px;
  }

  .goal-grid article:nth-child(3) img {
    left: 50%;
    right: auto;
    transform: translate(-50%, -55%);
  }

  .instructor-panel__text {
    padding-top: 0;
  }

  .instructor-panel > img {
    width: min(262px, 100%);
  }

  .voice__mark {
    top: 20px;
    right: 0;
    width: 75px;
  }

  .voice-slider {
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    gap: 0;
  }

  .voice-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .voice-slider__arrow::before {
    font-size: 28px;
  }

  .voice-grid {
    gap: 0;
  }

  .voice-grid article {
    flex-basis: 100%;
  }

  .site-footer__inner {
    justify-items: center;
    text-align: center;
  }

  .site-footer nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

  .sns-links {
    grid-column: auto;
    justify-self: center;
    justify-content: center;
  }

  .faq-item button {
    grid-template-columns: 30px 1fr 22px;
    gap: 10px;
    padding-inline: 8px;
  }

  .faq-item p {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding-inline: 8px;
  }

  .open-world__inner {
    gap: 24px;
  }

  .open-world {
    padding-bottom: 0;
  }

  .section-heading--open {
    width: min(100% - 32px, var(--screen));
  }

  .open-world__copy h3 {
    font-size: 28px;
  }
}

/* ============================================================
   Header / first view responsive fixes
   Paste at the end of: wp-content/themes/swell_child/css/style.css
   ============================================================ */

@media (max-width: 1120px) {
  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
    gap: 32px;
    min-height: 640px;
  }

  .hero__photos {
    min-height: 520px;
  }

  .hero-photo--main {
    width: 380px;
    height: 470px;
    left: 0;
    top: 48px;
  }

  .hero-photo--sub {
    width: 230px;
    height: 292px;
    right: 8px;
    bottom: 38px;
  }

  .hero__copy h1 {
    font-size: 54px;
  }

  .hero__copy p {
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  .hero__photos {
    min-height: 390px;
  }

  .hero-photo--main {
    width: min(62%, 360px);
    height: 340px;
    left: 4%;
    top: 24px;
  }

  .hero-photo--sub {
    width: min(35%, 210px);
    height: 220px;
    right: 8%;
    bottom: 30px;
  }
}

@media (max-width: 640px) {
  .hero__photos {
    min-height: 290px;
  }

  .hero-photo--main {
    width: 68%;
    height: 264px;
    left: 0;
    top: 18px;
  }

  .hero-photo--sub {
    width: 38%;
    height: 160px;
    right: 2%;
    bottom: 28px;
  }
}
