/* Mazda corporate typeface */
@font-face {
  font-family: "MazdaType";
  src: url("../../assets/font/MazdaTypeTT-Regular.woff2") format("woff2"), url("../../assets/font/MazdaTypeTT-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

/* =========================================================
   Shared secondary-page components
   ========================================================= */
.mazda-type {
  font-family: "MazdaType", "Noto Sans JP", sans-serif
}

.course-page {
  color: #404040;
  background: #e3e9fd
}

/* Shared course hero */
.course-hero {
  height: 280px;
  color: #fff;
  background: linear-gradient(90deg, rgba(97, 203, 241, .7), rgba(100, 132, 242, .7) 50%, rgba(200, 104, 199, .7))
}

.course-hero__inner {
  width: min(calc(100% - 40px), 1444px);
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  column-gap: 82px;
  margin-inline: auto;
  padding-top: 105px
}

.course-hero__label {
  grid-column: 2;
  margin: 0;
  font-size: 24px;
  line-height: 50px
}

.course-hero__title {
  width: min(891px, calc(100vw - 680px));
  grid-column: 2;
  margin: 0;
  font-size: clamp(38px, 3vw, 48px);
  line-height: 1.25
}

.course-hero__title small {
  font-size: 26px
}

/* Shared course side menu */
.course-menu {
  align-self: start;
  margin-top: -154px;
  padding: 59px 48px 78px;
  border-radius: 19px;
  background: rgba(241, 241, 241, .9)
}

.course-menu__group {
  border-bottom: 1px dotted #777
}

.course-menu__toggle {
  width: 100%;
  min-height: 64px;
  display: flex;
  padding: 0;
  border: 0;
  align-items: center;
  justify-content: space-between;
  color: #404040;
  background: transparent;
  font: 400 24px/normal "Noto Sans JP", sans-serif;
  text-align: left;
  cursor: pointer
}

.course-menu__toggle:hover {
  color: #fa100e
}

.course-menu__symbol {
  flex: 0 0 30px;
  text-align: center
}

.course-menu__levels {
  padding: 0 0 8px
}

.course-menu__levels a {
  min-height: 49px;
  display: flex;
  align-items: center;
  color: #404040;
  font-size: 24px
}

.course-menu__levels a:hover {
  color: #fa100e;
  font-weight: 700
}

@media (max-width:1279px) {
  .course-hero__inner {
    grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
    column-gap: 40px
  }

  .course-hero__title {
    width: 100%
  }

  .course-menu {
    padding-inline: 28px
  }

  .course-menu__toggle,
  .course-menu__levels a {
    font-size: 18px
  }
}

@media (max-width:767px) {
  .course-hero {
    height: 206px;
    min-height: 0
  }

  .course-hero__inner {
    width: 100%;
    display: block;
    padding: 84px 14px 0
  }

  .course-hero__label {
    font-size: 13px;
    line-height: 34px
  }

  .course-hero__title {
    width: min(100%, 321px);
    font-size: 26px;
    line-height: 30px
  }

  .course-hero__title small {
    margin: 0;
    font-size: 15px;
    line-height: 30px
  }

  .course-menu {
    order: 2;
    width: 100%;
    min-height: 267px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 52px 0 0;
    padding: 59px 48px 78px;
    border-radius: 0
  }

  .course-menu__group {
    border-bottom: 1px dotted #777
  }

  .course-menu__group+.course-menu__group {
    border-top: 0
  }

  .course-menu__toggle {
    min-height: 33px;
    font-size: 16px
  }

  .course-menu__levels {
    padding-bottom: 8px
  }

  .course-menu__levels a {
    min-height: 33px;
    font-size: 16px
  }
}

/* 固定ヘッダーにページ内リンク先の見出しが隠れないよう調整 */
#courses {
  scroll-margin-top: 140px;
}

@media (min-width:768px) and (max-width:1023px) {
  #courses {
    scroll-margin-top: 116px;
  }
}

@media (max-width:767px) {
  #courses {
    scroll-margin-top: 79px;
  }
}

@font-face {
  font-family: "MazdaType";
  src: url("../../assets/font/MazdaTypeTT-Medium.woff2") format("woff2"), url("../../assets/font/MazdaTypeTT-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "MazdaType";
  src: url("../../assets/font/MazdaTypeTT-Bold.woff2") format("woff2"), url("../../assets/font/MazdaTypeTT-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

/* ==================================================
  Foundation
================================================== */
:root {
  --color-primary: #6484f2;
  --color-navy: #404040;
  --color-accent: #fa100e;
  --color-text: #404040;
  --color-light: #f1f1f1;
  --gradient: linear-gradient(115deg, #9ee5f5 0%, #a8c9f6 48%, #d29bd8 100%);
  --container: 1200px;
  --side: 20px;
  --radius: 20px
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "MazdaType", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased
}

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

picture {
  display: block
}

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

button,
a {
  transition: color .25s, background-color .25s, border-color .25s, opacity .25s, transform .25s
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #0b72d8;
  outline-offset: 4px
}

.container {
  width: min(100% - var(--side)*2, 1280px);
  margin-inline: auto;
  padding-bottom: 65px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-150%)
}

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

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

.section {
  padding: 72px 0
}

.section__title {
  margin: 0 0 40px;
  color: var(--color-text);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.4;
  text-align: center
}

.section__title--light {
  color: #fff
}

.pc {
  display: block;
}

.sp {
  display: none;
}

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

  .pc {
    display: none;
  }
}

/* ==================================================
  Header
================================================== */
.header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px)
}

.header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.header__inner.container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__logo {
  display: block;
  width: 110px;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: .95rem;
  letter-spacing: .03em;
  line-height: 0
}

.header__logo-picture,
.header__logo-image {
  display: block;
  width: 100%
}

.header__logo-image {
  height: auto
}

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

.header__link {
  display: none;
  font-weight: 700
}

.button {
  display: inline-flex;
  min-width: 132px;
  min-height: 44px;
  padding: 6px 12px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent);
  border-radius: 100px;
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: center
}

.button:hover {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary);
  font-weight: 700
}

/* ==================================================
  Hero / Vision
================================================== */
.hero {
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden
}

.hero__inner {
  text-align: center
}

.hero__title {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(2.6rem, 12vw, 7rem);
  line-height: 1.1;
  letter-spacing: -.05em
}

.hero__title-en {
  margin-right: .15em;
  font-family: Arial, sans-serif
}

.hero__copy {
  margin: 28px 0 0;
  color: var(--color-navy);
  font-size: clamp(1.25rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.45
}

.vision {
  padding: 72px 0;
  background: var(--gradient);
  border-radius: 0 0 22px 22px
}

.vision__inner {
  display: grid;
  gap: 36px
}

.vision__title {
  margin: 0;
  background: linear-gradient(100deg, #64cbf3, #6484f2, #c868c7);
  background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.35
}

.vision__body p {
  margin: 0 0 1.3em;
  font-size: clamp(16px, 4vw, 1.625rem);
}


.vision__lead strong {
  color: var(--color-navy)
}

/* ==================================================
  Concerns
================================================== */
.concerns {
  background: var(--gradient)
}

.concerns__list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none
}

.concerns__item {
  padding: 28px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: inset 0 -9px rgba(250, 16, 14, .42);
  font-size: 1rem;
  text-align: center
}

.concerns__picture {
  width: min(68%, 341px);
  margin: 38px auto 0
}

.concerns__image {
  width: 100%;
  aspect-ratio: 341/323;
  object-fit: contain
}

/* ==================================================
  Features
================================================== */
.features {
  background: linear-gradient(#ffffff14, #fff), var(--gradient)
}

.features__label {
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px;
  margin: 0 auto 18px;
  border-radius: 5px;
  color: #fff;
  background: var(--color-accent);
  font-size: .8rem;
  text-align: center
}

.features__list {
  padding: 0;
  margin: 0;
  list-style: none
}

.features__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 32px 0;
}

.features__picture {
  align-self: center
}

.features__image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain
}

.features__image.image_03 {
  width: 100%;
  height: 469px;
}

.features__image.image_01 {
  max-width: 251px;
  height: auto;
}

.features__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
}

.features__number {
  grid-row: 1;
  margin: 0;
  color: var(--color-navy);
  font: 700 2.25rem/1 Arial, sans-serif
}

.features__title {
  grid-column: 2;
  margin: 0;
  color: var(--color-navy);
  font-size: 1.05rem;
  line-height: 1.55
}

.features__text {
  grid-column: 1/-1;
  margin: 12px 0 0;
  font-size: .9rem
}

/* ==================================================
  Value / Courses
================================================== */
.value {
  color: #fff;
  background: var(--color-primary);
  border-radius: 22px 22px 0 0
}

.value__panel {
  display: grid;
  gap: 24px;
  padding: 24px 18px;
  color: var(--color-navy);
  background: #fff;
  border-radius: 20px;
  text-align: center
}

.value__heading {
  padding: 10px;
  margin: 0 0 20px;
  border-radius: 7px;
  background: #d1dafb;
  font-size: 1.05rem
}

.value__heading--primary {
  color: #fff;
  background: var(--color-primary)
}

.value__picture {
  width: min(60%, 247px);
  margin: 0 auto
}

.value__image {
  width: 100%;
  object-fit: contain
}

.value__arrow {
  font-size: 2.5rem;
  line-height: 1;
  transform: rotate(90deg)
}

.courses {
  color: #fff;
  background: var(--color-primary)
}

.courses__item {
  position: relative;
  display: block;
  padding: 32px 0;
  border-top: 2px solid rgba(255, 255, 255, .72);
  color: inherit;
  text-decoration: none
}

.courses__item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px
}


.courses__title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.55
}

.courses__title small {
  display: block;
  font-size: .8rem;
  font-weight: 400
}

.courses__text {
  margin: 0;
  padding-right: 0
}

.courses__link {
  display: flex;
  width: 44px;
  height: 44px;
  margin: 18px 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: #fff
}

.courses__link span {
  color: var(--color-primary);
  font-size: 1.4rem
}

.courses__link:hover {
  background: var(--color-accent);
  transform: translateX(4px)
}

.courses__link:hover span {
  color: #fff
}

/* ==================================================
  Results / Voice / Footer
================================================== */
.results__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden
}

.results__logos picture {
  min-width: 170px
}

.results__logos img {
  max-height: 55px;
  object-fit: contain
}

.voice {
  padding-top: 30px
}

.voice .container {
  padding-bottom: 130px;
}

.voice__card {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: end;
  gap: 8px;
  padding: 24px 16px;
  border-radius: 20px;
  background: #9aaff7
}

.voice__picture {
  align-self: end
}

.voice__quote {
  margin: 0;
  padding: 34px 22px;
  border-radius: 50%;
  color: var(--color-text);
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-align: center
}

.voice__quote p {
  margin: 0
}

.voice__quote cite {
  display: block;
  margin-top: 12px;
  font-size: .75rem;
  font-style: normal;
  font-weight: 400
}

.footer {
  padding: 64px 0 36px;
  border-radius: 22px 22px 0 0;
  background: var(--color-light);
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: -40px;
}

.footer__title {
  margin: 0;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700
}

.footer__title span {
  font-family: Arial, sans-serif
}

.footer__copy {
  margin: 8px 0 26px
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-bottom: 32px;
  font-size: .85rem
}

.footer__nav a:hover {
  color: var(--color-primary)
}

.footer__copyright {
  color: #999;
  font-size: .7rem
}

/* ==================================================
  Tablet and Desktop
================================================== */
@media (min-width:768px) {
  :root {
    --side: 32px
  }

  .section {
    padding: 110px 0 0;
  }

  .courses {
    padding: 0;
  }

  .header__inner {
    min-height: 96px
  }

  .header__logo {
    width: 196px;
    font-size: 1.4rem
  }
  .header__nav {
    gap: 16px
  }

  .button {
    min-width: 160px;
    min-height: 54px;
    padding: 10px 20px;
    font-size: 1rem
  }

  .hero {
    min-height: 700px
  }

  .vision {
    padding: 120px 0;
    border-radius: 30px
  }

  .vision__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 9%
  }

  .vision__body {
    font-size: 1.18rem
  }

  .vision__lead {
    font-size: 1.5rem
  }

  .concerns__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px
  }

  .concerns__item {
    padding: 36px 24px;
    font-size: 1.15rem
  }

  .features__label {
    padding: 11px 26px;
    font-size: 1.05rem
  }

  .features__item {
    grid-template-columns: 280px 1fr;
    gap: 56px;
    padding: 56px 0
  }

  .features__image {
    aspect-ratio: auto;
  }

  .features__content {
    grid-template-columns: 100px 1fr
  }

  .features__number {
    font-size: 4rem
  }

  .features__title {
    font-size: 1.75rem
  }

  .features__text {
    grid-column: 2;
    font-size: 1.08rem
  }

  .value {
    border-radius: 30px 30px 0 0
  }

  .value__panel {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 54px
  }

  .value__arrow {
    font-size: 4.5rem;
    transform: none
  }

  .value__heading {
    font-size: 1.35rem
  }

  .value__column p {
    font-size: 1.1rem;
    transform: translateY(0px);
  }

  .courses__title {
    font-size: 1.85rem
  }

  .courses__title small {
    display: inline;
    font-size: 1rem
  }

  .courses__text {
    padding-right: 80px;
    font-size: 1.08rem
  }

  .courses__link {
    position: absolute;
    right: 0;
    bottom: 38px;
    margin: 0
  }

  .results__logos {
    justify-content: space-around
  }

  .voice__card {
    grid-template-columns: 230px 1fr;
    gap: 28px;
    padding: 44px 68px
  }

  .voice__quote {
    padding: 62px 42px;
    font-size: 1.2rem
  }

  .footer__title {
    font-size: 3rem
  }
}

@media (min-width:1024px) {
  .header__inner {
    min-height: 120px
  }

  .header__nav {
    gap: 14px
  }

  .header__link {
    display: block;
    width: 120px;
    font-size: .94rem;
    text-align: center
  }

  .header__link:hover {
    color: var(--color-primary)
  }

  .button {
    width: 180px;
    height: 60px;
    padding: 0;
    font-size: 1.25rem
  }

  .button--wide {
    width: 200px
  }

  .hero {
    min-height: 690px
  }

  .vision__title {
    font-size: 4rem
  }

  .section__title {
    font-size: 2.5rem
  }

  .features__item {
    grid-template-columns: 330px 1fr
  }

  .features__title {
    font-size: 2.15rem
  }

  .features__text {
    font-size: 1.2rem
  }

  .courses__title {
    font-size: 2.25rem
  }

  .voice__card {
    padding-inline: 90px
  }

  .voice__quote {
    font-size: 1.35rem
  }

  .footer__title {
    font-size: 3.45rem
  }
}

@media (min-width:1280px) {
  .section {
    padding: 128px 0
  }

  .header__nav {
    gap: 20px
  }

  .header__link {
    width: 135px
  }

  .hero {
    min-height: 700px
  }

  .vision {
    padding-block: 140px
  }

  .vision__body {
    font-size: 1.45rem
  }

  .vision__lead {
    font-size: 1.65rem
  }

  .concerns__item {
    font-size: 1.35rem
  }

  .features__text,
  .courses__text {
    font-size: 1.25rem
  }

  .value__column p {
    font-size: 1.25rem
  }

  .voice__quote {
    font-size: 1.5rem
  }
}

/* ==================================================
  Figma desktop fidelity (1600px artboard)
================================================== */
@media (min-width:1280px) {
  body {
    line-height: 1.55
  }

  .header__inner {
    width: calc(100% - 56px);
    max-width: none;
    min-height: 120px
  }

  .header__logo {
    width: 235px;
    font-size: 2.5rem;
    text-align: left
  }

  .header__nav {
    gap: 0
  }

  .header__link {
    width: 155px;
    font-size: .9375rem
  }

  .button {
    flex: 0 0 180px;
    width: 180px;
    height: 60px;
    margin-left: 17px;
    font-size: 1.25rem
  }

  .button--wide {
    flex-basis: 200px;
    width: 200px
  }

  .hero {
    min-height: 625px;
    height: 625px
  }

  .hero__title {
    font-size: 8rem;
    line-height: 1
  }

  .hero__title-en {
    font-size: 1.265625em
  }

  .hero__copy {
    margin-top: 52px;
    font-size: 4rem;
    line-height: 1.2
  }

  .vision {
    padding: 0;
    border-radius: 40px;
    background: #fff url("../images/vision-decoration.png") center/101% 100% no-repeat
  }

  .vision__inner {
    height: 100%;
    grid-template-columns: 642px 527px;
    justify-content: space-between;
    gap: 0;
    align-items: center
  }

  .vision__title {
    font-size: 4rem;
    line-height: 1.25
  }

  .vision__body {
    font-size: 1.625rem;
    line-height: 1.54
  }

  .vision__lead {
    margin-bottom: 30px !important;
    font-size: 1.625rem
  }

  .concerns {
    position: relative;
    margin-top: 177px;
    padding: 103px 0 0;
    background: #fff url("../images/feature-background.svg") center top/100% 100% no-repeat;
  }

  .concerns .section__title {
    margin-bottom: 64px;
    font-size: 2.5rem;
    line-height: 1.425
  }

  .concerns__list {
    grid-template-columns: repeat(3, 380px);
    justify-content: center;
    gap: 40px
  }

  .concerns__item {
    position: relative;
    height: 175px;
    padding: 1.5rem 16px 28px;
    border-radius: 20px;
    box-shadow: none;
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.54
  }

  .concerns__item strong {
    position: relative;
    z-index: 1;
    font-weight: 400
  }

  .concerns__item::after {
    position: absolute;
    right: 21px;
    bottom: 29px;
    left: 21px;
    height: 15px;
    background: rgba(250, 16, 14, .5);
    content: ""
  }

  .concerns__picture {
    width: 341px;
    margin-top: 58px;
    padding-bottom: 4rem;
  }

  .features {
    min-height: 2106px;
    padding: 130px 0 0;
    background: #fff url("../images/feature-background.svg") center top/100% 100% no-repeat
  }

  .features__label {
    width: 553px;
    height: 55px;
    padding: 7px 10px;
    margin: 0 auto 14px;
    border-radius: 5px;
    font-size: 1.625rem;
    line-height: 1.55
  }

  .features__label::after {
    display: block;
    width: 0;
    height: 0;
    margin: 7px auto 0;
    border-top: 15px solid var(--color-accent);
    border-right: 16px solid transparent;
    border-left: 16px solid transparent;
    content: ""
  }

  .features .section__title {
    margin: 0 0 64px;
    font-size: 2.5rem;
    line-height: 1.85
  }

  .features__list {
    width: 100%;
    margin-inline: auto
  }

  .features__item {
    grid-template-columns: 370px 1fr;
    gap: 0;
    padding: 66px 0 180px;
    border: 0
  }

  .features__picture {
    display: flex;
    height: 300px;
    align-items: center;
    justify-content: center
  }

  .features__image {
    width: auto;
  }

  .features__content {
    grid-template-columns: 156px 1fr;
    gap: 0;
    align-content: start;
    padding-top: 0;
    align-items: center;
  }

  .features__number {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.84
  }

  .features__title {
    position: relative;
    grid-column: 2;
    padding: 0 0 16px;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.48
  }

  .features__title::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: -156px;
    height: 2px;
    background: rgba(250, 16, 14, .55);
    content: ""
  }

  .features__text {
    grid-column: 2;
    margin: 20px 0 0;
    font-size: 1.625rem;
    line-height: 1.54
  }

  .value {
    padding: 45px 0 0;
    border-radius: 40px 40px 0 0;
    background: var(--color-primary) url("../images/value-background.svg") center top 3rem/94% 94% no-repeat;
  }

  .value .section__title {
    margin: 0 0 34px;
    color: var(--color-text);
    font-size: 2.5rem;
    line-height: 1.6;
    text-align: left
  }

  .value__panel {
    height: 620px;
    grid-template-columns: 460px 110px 1fr;
    gap: 0;
    padding: 0 25px;
    color: var(--color-navy);
    background: transparent
  }

  .value__column {
    align-self: start
  }

  .value__heading {
    height: 57px;
    padding: 8px;
    margin: 0 0 16px;
    border-radius: 10px;
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.54
  }

  .value__picture {
    width: 247px;
    margin: 55px auto 0
  }

  .value__column p {
    font-size: 1.625rem;
    line-height: 1.54
  }

  .value__column strong {
    font-weight: 400;
    background: linear-gradient(transparent 66%, rgba(250, 16, 14, .5) 66%, rgba(250, 16, 14, .5) 100%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone
  }

  .value__arrow {
    padding-top: 210px;
    font-size: 4rem
  }

  .courses {
    min-height: 782px;
    padding: 16px 0 0
  }

  .courses .section__title {
    margin-bottom: 30px;
    font-size: 4rem;
    line-height: 1.25
  }

  .courses__item {
    width: 1009px;
    padding: 22px 0 20px;
    margin-inline: auto;
  }

  .courses__item:last-child {}

  .courses__title {
    margin: 0 0 10px;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.5
  }

  .courses__title small {
    font-size: 1.125rem
  }

  .courses__text {
    width: 890px;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1.35
  }

  .courses__link {
    right: 17px;
    bottom: 20px;
    width: 50px;
    height: 50px
  }

  .results {
    min-height: 430px;
    padding: 112px 0 0
  }

  .results .section__title {
    margin-bottom: 44px;
    font-size: 2.5rem
  }

  .results__logos {
    height: 139px;
    gap: 30px;
    justify-content: center;
    overflow: hidden
  }

  .results__logos picture {
    min-width: 0
  }

  .results__logos picture:nth-child(1),
  .results__logos picture:nth-child(3) {
    width: 381px
  }

  .results__logos picture:nth-child(2) {
    width: 169px
  }

  .voice {
    padding: 88px 0 0
  }

  .voice .section__title {
    margin-bottom: 64px;
    font-size: 2.5rem
  }

  .voice__card {
    width: 1120px;
    height: 578px;
    grid-template-columns: 285px 1fr;
    gap: 0;
    padding: 0 85px 0 0;
    margin-inline: auto;
    border-radius: 29px
  }

  .voice__picture {
    width: 225px;
    margin-left: 20px
  }

  .voice__quote {
    align-self: start;
    margin-top: 42px;
    padding: 100px 50px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1.45
  }

  .voice__quote cite {
    margin-top: 54px;
    font-size: 1.5rem
  }

  .footer {
    min-height: 469px;
    padding: 55px 0 28px;
    border-radius: 40px 40px 0 0;
  }

  .footer__title {
    font-size: 3.4375rem;
    line-height: 1.2
  }

  .footer__copy {
    margin: 0 0 9px;
    font-size: 1.5rem;
    line-height: 1.67
  }

  .footer__nav {
    gap: 0;
    margin-bottom: 10px
  }

  .footer__nav a {
    width: 155px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9375rem
  }

  .footer__note {
    margin: 10px auto 0;
    color: #a9a9a9;
    font-size: 1.25rem;
    line-height: 1.25;
    text-align: center
  }

  .footer__copyright {
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
    line-height: 2;
    color: #a9a9a9
  }
}

/* Footer precision */
.footer__copyright {
  display: block
}

.footer__copyright {
  margin-top: 8px;
  color: #a9a9a9;
  font-size: 1.25rem;
  line-height: 2
}

.footer__note {
  margin: 3px auto 0;
  color: #a9a9a9;
  font-size: 1.25rem;
  line-height: 1.65
}

/* Base typography */
body {
  text-rendering: optimizeSpeed;
  color: #404040;
  font-family: "MazdaType", "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  line-height: 1.5;
}


.header__logo,
.hero__title-en,
.features__number,
.footer__title span,
.footer__copyright {
  font-family: "MazdaType", "Noto Sans JP", sans-serif;
}

/* Align the differently sized Mazda Type "DX" and Japanese title by center. */
@media (min-width:1280px) {
  .hero__title {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
  }

  .hero__title-en {
    margin-right: 0em;
    line-height: 1;
    transform: translateY(6px);
  }
}

/* Figma detail corrections */
@media (min-width:1280px) {
  .vision__title {
    justify-self: start;
    text-align: left
  }

  .features {
    position: relative
  }

  .features::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1384px;
    height: 50px;
    background: url("../images/features-divider.svg") center/100% 100% no-repeat;
    content: "";
    transform: translateX(-50%)
  }

  .features__label {
    position: relative;
    overflow: visible
  }

  .features__label::after {
    position: absolute;
    top: 55px;
    left: 348px;
    margin: 0;
    border-top-width: 15px;
    content: ""
  }

  .features__number {
    color: #404040;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.32
  }

  .features__title {
    color: #404040;
    font-weight: 700
  }

  .features__title::after {
    height: 4px;
    background: repeating-linear-gradient(90deg, rgba(250, 16, 14, .7) 0 4px, transparent 4px 10px)
  }
}

/* Figma coordinate corrections */
@media (min-width:1280px) {
  .vision__inner {
    align-items: start;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .vision__title {
    align-self: start
  }

  .vision__body {
    align-self: start;
    margin-top: 9px
  }

  .features::before {
    width: calc(100% - 220px);
    max-width: 1384px
  }

  .features__label::after {
    width: 31.5px;
    height: 15px;
    border: 0;
    background: url("../images/features-label-tail.svg") center/100% 100% no-repeat
  }

  .features__number {
    font-size: 6rem;
    font-weight: 700;
    line-height: .625
  }
}

/* Feature case-study link */
.features__case-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;

  position: static;
  grid-column: 2;
  justify-self: start;
  gap: 0;
  margin: 18px 0 0 16px;
  font-size: 1.25rem;
}

.features__case-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  transition: transform .25s;
}

.features__case-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .25s
}

.features__case-arrow--hover {
  opacity: 0
}
.features__case-link:hover .features__case-arrow--hover {
    opacity: 1;
}
/*
.features__case-link:hover {
  color: var(--color-primary)
}
*/


@media (min-width:1280px) {
  .features__case-link {
    position: static;
    grid-column: 2;
    justify-self: start;
    gap: 0;
    margin: 18px 0 0 16px;
    font-size: 1.25rem
  }

  .features__case-link>span:first-child {
    width: 100px
  }

  .features__case-icon {
    width: 50px;
    height: 50px
  }
}

/* Nested value section — Figma node 4004:298 */
@media (min-width:1280px) {


  .features>.value {
    width: auto;
    margin: 0px 0;
    padding: 45px 0 0;
    box-sizing: border-box;
  }

  .value>.container {
    width: 94%;
    max-width: none
  }

  .value .section__title {
    position: relative;
    width: 100%;
    padding: 12px 0 12px 36px;
    margin: 0;
    font-size: 2.5rem;
    line-height: 82px;
    font-weight: 500;
  }

  .value .section__title::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, #a9a9a9 0 3px, transparent 3px 7px);
    content: ""
  }

  .value__panel {
    grid-template-columns: 430px 214px 800px;
    padding: 29px 25px 0;
    text-align: center
  }

  .value__heading {
    height: 57px;
    margin: 0 0 16px;
    font-size: 1.625rem;
    line-height: 40px
  }

  .value__picture {
    margin-top: 18px
  }

  .value__column p {
    margin: 14px 0 0;
    font-size: 1.625rem;
    line-height: 40px
  }

  .value__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 118px 0 0;
    transform: none
  }

  .value__arrow img {
    width: 65px;
    height: 65px;
    margin-left: -12px
  }

  .value__arrow img:first-child {
    margin-left: 0
  }

  .value__column--result {
    position: relative
  }

  .value__diagram {
    position: relative;
    width: 600px;
    height: 330px;
    margin: 15px 0 0 12px
  }

  .value__circle {
    position: absolute;
    top: 0;
    width: 300px;
    height: 300px
  }

  .value__circle--left {
    left: 0
  }

  .value__circle--right {
    left: 112px
  }

  .value__diagram-label {
    position: absolute;
    z-index: 2;
    top: 112px;
    left: 172px;
    width: 186px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 30px
  }

  .value__result-text {
    position: absolute;
    top: 176px;
    right: 4px;
    width: 317px;
    text-align: left
  }

  .value__result-text strong {
    font-weight: 400;
    background: linear-gradient(transparent 66%, rgba(250, 16, 14, .5) 66%, rgba(250, 16, 14, .5) 100%)
  }
}

/* Fluid desktop: prevent fixed-artboard values from overflowing below 1600px */
@media (min-width:1280px) and (max-width:1599px) {
  .header__inner {
    width: calc(100% - 40px)
  }

  .header__logo {
    flex: 0 0 235px;
    width: 235px;
    min-width: 235px;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem)
  }

  .header__nav {
    flex: 0 1 auto
  }

  .header__link {
    width: clamp(105px, 9.7vw, 155px)
  }

  .button {
    flex-basis: clamp(150px, 11.25vw, 180px);
    width: clamp(150px, 11.25vw, 180px);
    margin-left: clamp(8px, 1vw, 17px)
  }

  .button--wide {
    flex-basis: clamp(170px, 12.5vw, 200px);
    width: clamp(170px, 12.5vw, 200px)
  }

  .hero {
    height: auto;
    min-height: clamp(540px, 39vw, 625px)
  }

  .hero__title {
    font-size: clamp(6rem, 8vw, 8rem)
  }

  .hero__copy {
    font-size: clamp(3rem, 4vw, 4rem)
  }

  .vision {
    height: auto;
    min-height: 690px
  }

  .vision__inner {
    width: calc(100% - 80px);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(40px, 5vw, 80px)
  }

  .vision__title {
    font-size: clamp(3.25rem, 4.5vw, 4rem)
  }

  .concerns {
    min-height: 835px
  }

  .concerns__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 40px)
  }

  .concerns__item {
    width: auto;
    height: auto;
    min-height: 175px;
    font-size: clamp(1.25rem, 1.625vw, 1.625rem)
  }

  .features {
    min-height: 0
  }

  .features>.container {
    height: auto;
    padding-bottom: clamp(90px, 8vw, 128px)
  }

  .features__label {
    width: min(553px, calc(100% - 40px));
    height: auto;
    min-height: 55px
  }

  .features__list {
    width: 100%
  }

  .features__item {
    min-height: 0;
    grid-template-columns: clamp(270px, 23vw, 370px) minmax(0, 1fr);
    padding-block: clamp(48px, 4vw, 66px)
  }

  .features__content {
    grid-template-columns: clamp(110px, 9.75vw, 156px) minmax(0, 1fr)
  }

  .features__title {
    font-size: clamp(2rem, 2.5vw, 2.5rem)
  }

  .features__text {
    width: auto;
    font-size: clamp(1.25rem, 1.625vw, 1.625rem)
  }

  .features__case-link {
    margin-left: clamp(0px, 1vw, 16px)
  }

  .features>.value {
    height: auto;
    min-height: 0;
    padding-bottom: clamp(56px, 5vw, 80px)
  }

  .value>.container {
    width: calc(100% - clamp(64px, 6.25vw, 100px));
    max-width: 1500px
  }

  .value__panel {
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, 30%) minmax(120px, 13%) minmax(0, 57%)
  }

  .value__heading {
    width: 100%
  }

  .value__diagram {
    width: 100%;
    max-width: 600px
  }

  .value__circle {
    width: 50%;
    height: auto;
    aspect-ratio: 1
  }

  .value__circle--right {
    left: 19%
  }

  .value__result-text {
    right: 0;
    width: 43%;
    font-size: clamp(1.25rem, 1.625vw, 1.625rem)
  }

  .courses {
    min-height: 0;
    padding-bottom: clamp(40px, 4vw, 64px)
  }

  .courses__item {
    width: min(1009px, calc(100% - 80px))
  }


  .voice__card {
    width: min(1000px, calc(100% - 80px));
    height: auto;
    grid-template-columns: minmax(210px, 25%) minmax(0, 1fr);
    padding-bottom: 115px;
    padding-top: 12px;
  }

  .voice__quote {
    font-size: clamp(1.5rem, 2vw, 2rem)
  }

  .footer {
    height: auto;
    min-height: 469px
  }
}

/* Preserve the approved Figma styling at every viewport width */
.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1
}

.hero__title-en {
  margin-right: .1em;
  line-height: 1;
  font-size: 9.6rem;
  transform: translateY(clamp(-4px, .4vw, -4px));
}

.vision__inner {
  align-items: start
}

.vision__title {
  justify-self: start;
  text-align: left
}

.features {
  position: relative
}

.features::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: min(1384px, calc(100% - clamp(40px, 13.75vw, 220px)));
  height: auto;
  aspect-ratio: 1384/49.2908;
  background: url("../images/features-divider.svg") center/100% 100% no-repeat;
  content: "";
  transform: translateX(-50%)
}

.features__label {
  position: relative;
  overflow: visible
}

.features__label::after {
  position: absolute;
  top: 100%;
  left: 63%;
  width: 31.5px;
  height: 15px;
  margin: 0;
  border: 0;
  background: url("../images/features-label-tail.svg") center/100% 100% no-repeat;
  content: ""
}

.features__number {
  color: #404040;
  font-family: "MazdaType", "Noto Sans JP", sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: .625
}

.features__title {
  position: relative;
  padding-bottom: clamp(10px, 1vw, 16px);
  color: #404040;
  font-weight: 700
}

.features__title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(250, 16, 14, .7) 0 4px, transparent 4px 10px);
  content: ""
}

.features>.value {
  width: 100%;
  height: auto;
  background: var(--color-primary) url("../images/value-background.svg") center top 3rem/94% 92% no-repeat
}

.value>.container {
  width: min(calc(100% - clamp(32px, 6.25vw, 100px)), 1500px);
  max-width: none;
  padding-bottom: 6rem;
}

.value .section__title {
  position: relative;
  color: #404040;
  text-align: left
}

.value .section__title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #a9a9a9 0 3px, transparent 3px 7px);
  content: ""
}

.value__panel {
  width: 100%;
  height: auto;
  color: var(--color-navy);
  background: transparent
}

.value__heading {
  width: 100%
}

.value__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0
}

.value__arrow img {
  display: block;
  width: clamp(42px, 4.1vw, 65px);
  height: clamp(42px, 4.1vw, 65px);
  margin-left: clamp(-12px, -.75vw, -6px)
}

.value__arrow img:first-child {
  margin-left: 0
}

.value__column--result {
  position: relative
}

.value__diagram {
  position: relative;
  width: min(100%, 600px);
  height: auto;
  min-height: clamp(220px, 20.625vw, 330px);
  margin-inline: auto
}

.value__circle {
  position: absolute;
  top: 0;
  width: 50%;
  height: auto;
  aspect-ratio: 1
}

.value__circle--left {
  left: 0
}

.value__circle--right {
  left: 19%
}

.value__diagram-label {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: 29%;
  width: 31%;
  color: #fff;
  font-size: clamp(.875rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center
}

.value__result-text strong {
  font-weight: 400;
  background: linear-gradient(transparent 66%, rgba(250, 16, 14, .5) 66%, rgba(250, 16, 14, .5) 100%)
}

@media (max-width:767px) {
  .hero__title-en {
    font-size: 16vw;
    transform: translateY(clamp(-2px, .4vw, -4px));
  }

  .vision {
    padding-top: clamp(72px, 18vw, 110px)
  }

  .features {
    padding-top: clamp(90px, 20vw, 130px)
  }

  .features::before {
    width: calc(100% - 40px)
  }

  .features__label {
    padding: 7px 16px;
    font-size: clamp(.875rem, 3.8vw, 1.25rem);
    line-height: 1.5
  }

  .features__item {
    grid-template-columns: clamp(78px, 24vw, 110px) minmax(0, 1fr)
  }

  .features__content {
    grid-template-columns: clamp(70px, 18vw, 100px) minmax(0, 1fr)
  }

  .features__number {
    grid-column: 1
  }

  .features__title {
    grid-column: 2;
    font-size: clamp(1.1rem, 4.6vw, 1.5rem)
  }

  .features__title::after {
    left: calc(-1 * clamp(70px, 18vw, 100px))
  }

  .features__text {
    grid-column: 1/-1;
    width: auto
  }

  .features__case-link {
    grid-column: 1/-1;
    font-size: 1.0rem;
  }
  .features__case-icon {
      position: relative;
      display: block;
      width: 35px;
      height: 35px;
      margin-left: 0.5rem;
  }
  .features>.value {
    padding: 48px 0 80px;
    background-size: calc(100% - 24px) 100%
  }

  .value .section__title {
    padding-bottom: 18px;
    margin-bottom: 24px;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.4
  }

  .value__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 18px 40px
  }

  .value__arrow {
    padding: 0;
    transform: none
  }

  .value__column p {
    font-size: clamp(1rem, 4.5vw, 1.25rem)
  }

  .value__diagram {
    min-height: clamp(230px, 75vw, 310px)
  }

  .value__result-text {
    position: static;
    width: 100%;
    margin-top: 12px;
    text-align: center
  }
}

@media (min-width:768px) and (max-width:1279px) {
  .vision__inner {
    padding-top: clamp(90px, 12vw, 150px)
  }

  .features::before {
    width: calc(100% - 80px)
  }

  .features__number {
    font-size: clamp(4.5rem, 7.5vw, 6rem)
  }

  .features__title {
    color: #404040;
    font-weight: 700
  }

  .features>.value {
    padding: 4vw 0 70px;
    background-size: calc(100% - 48px) 93%;
    background-position-y: 2vw;
  }

  .value .section__title {
    padding-bottom: 18px;
    margin-bottom: 28px
  }

  .value__panel {
    grid-template-columns: minmax(0, 32%) minmax(100px, 14%) minmax(0, 54%);
    gap: 0;
    padding: 28px 24px 50px;
    align-items: flex-start;
  }

  .value__arrow {
    padding: 100px 0 0;
    transform: none
  }

  .value__diagram {
    min-height: clamp(240px, 25vw, 320px)
  }

  .value__result-text {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 43%;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    text-align: left
  }
}

@media (min-width:1280px) {
  .features__title::after {
    left: -156px
  }
}

/* Never fall back to the obsolete pre-Figma decoration */
.vision {
  height: auto;
  min-height: clamp(520px, 43.125vw, 690px);
  padding: 0;
  border-radius: 0;
  background: #fff url("../images/vision-decoration.png") center/cover no-repeat
}

.vision__inner {
  min-height: inherit
}

.concerns {
  position: relative;
  margin-top: clamp(72px, 11.0625vw, 177px);
  padding-top: clamp(72px, 6.4375vw, 103px);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: #fff url("../images/feature-background.svg") center top/cover no-repeat
}

.concerns__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 40px)
}

.concerns__item {
  position: relative;
  width: auto;
  height: auto;
  padding: clamp(18px, 2vw, 28px) 16px 28px;
  border-radius: 20px;
  box-shadow: none;
  font-size: clamp(1rem, 1.625vw, 1.625rem);
  font-weight: 400;
  line-height: 1.54
}

.concerns__item strong {
  position: relative;
  z-index: 1;
  font-weight: 400
}

.concerns__item::after {
  position: absolute;
  right: 21px;
  bottom: 29px;
  left: 21px;
  height: 15px;
  border-radius: 8px;
  background: rgba(250, 16, 14, .5);
  content: ""
}

.concerns__picture {
  width: min(68%, 341px);
  margin-top: clamp(38px, 3.625vw, 58px)
}

.features {
  background: #fff url("../images/feature-background.svg") center top/cover no-repeat
}

.features__label {
  border-radius: 5px;
  color: #fff;
  background: var(--color-accent)
}

@media (max-width:767px) {
  .vision {
    min-height: 0;
    padding: 88px 0;
    background-size: auto 100%
  }

  .vision__inner {
    min-height: 0;
    padding-bottom: 0;
  }

  .concerns {
    margin-top: 72px;
  }

  .concerns__list {
    grid-template-columns: 1fr
  }


  .features {
    background-size: 100% 100%;
    padding-bottom: 0;
  }
}

/* Value diagram image */
.value__diagram {
  display: block;
  width: min(100%, 454px);
  height: auto;
  min-height: 0;
  margin-inline: auto
}

.value__diagram-image {
  display: block;
  width: 100%;
  height: auto
}

@media (min-width:768px) {
  .value__diagram {
    margin-top: 15px
  }
}

/* Value content alignment */
.value__arrow {
  flex-direction: column
}

.value__arrow-icons {
  display: flex;
  align-items: center;
  justify-content: center
}

.value__knowledge {
  display: block;
  margin-top: 12px;
  color: var(--color-primary);
  font-size: clamp(.875rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center
}

.value__diagram {
  margin-right: 0;
  margin-left: 0
}

@media (min-width:1280px) {
  .value__column--result {
    display: grid;
    grid-template-columns: minmax(0, 454px) minmax(0, 345px);
    grid-template-rows: auto 1fr;
    align-items: start;
   	align-items: center;
  }

  .value__column--result .value__heading {
    grid-column: 1/-1
  }

  .value__diagram {
    grid-column: 1;
    grid-row: 2;
    width: 454px;
    max-width: 100%;
    margin: 15px 0 0 12px
  }

  .value__result-text {
    position: static;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    margin: 142px 0 0;
    padding-left: 12px;
    text-align: left
  }
}

@media (min-width:768px) and (max-width:1279px) {
  .value__column--result {
    display: flex;
    flex-direction: column
  }

  .value__diagram {
    width: min(100%, 454px);
    margin: 15px auto 0
  }

  .value__result-text {
    position: static;
    width: 100%;
    margin: 12px 0 0;
    text-align: center
  }
}

/* Value text positions */
.value__intro {
  margin: 12px 0 0;
  text-align: left
}

.value__initiative-copy {
  text-align: center
}

.value__arrow {
  align-self: stretch;
  justify-content: center;
  padding-top: 0;
  transform: none
}

@media (min-width:1280px) {
  .value__intro {
    margin: 8px 0 0 18px;
    font-size: 1.25rem;
    line-height: 30px
  }

  .value__picture {
    margin-top: 3px
  }

  .value__initiative-copy {
    margin-top: 10px
  }
}

/* Courses — Figma node 4004:300 */
.courses {
  color: #fff;
  background: #6484f2;
  border-bottom-right-radius: 40px;
  border-bottom-left-radius: 40px;
}

.courses .section__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: normal;
  text-align: center
}

.courses__item {
  position: relative;
  border: 0;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 2px
}

.courses__item:first-of-type,
.courses__item:nth-of-type(2) {
  background-image: url("../images/course-line.png")
}

.courses__item:last-child::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
/*  background: url("../images/course-line-bottom.png") left center/100% 2px no-repeat;*/
  content: ""
}

.courses__title {
  color: #fff;
  font-weight: 700
}

.courses__title small {
  font-weight: 700
}

.courses__text {
  color: #f5f7fe;
  font-weight: 500
}
.courses__item:last-child .courses__text{
  width: auto;
  font-size: .9rem;
}
.courses__link {
  overflow: visible;
  border-radius: 0;
  color: transparent;
  background: transparent url("../images/course-arrow.svg") center/50px 50px no-repeat;
  font-size: 0
}

.courses__link span {
  display: none
}

.courses__link:hover {
  background-color: transparent;
  transform: translateX(4px)
}

@media (min-width:1280px) {
  .courses {
    height: auto;
    min-height: 0;
    padding: 16px 0 0
  }

  .courses .section__title {
    height: 79px;
    margin: 0 0 65px;
    font-size: 4rem
  }

  .courses__item {
    width: 1009px;
    min-height: 0;
    margin-inline: auto;
    padding: 29px 0 24px
  }

  .courses__title {
    height: auto;
    margin: 0 0 16px;
    font-size: 2.5rem;
    line-height: normal
  }

  .courses__title small {
    display: inline;
    font-size: 1.625rem;
    line-height: normal
  }

  .courses__text {
    width: 890px;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .9375rem;
    line-height: 1.333333
  }

  .courses__link {
    right: 18px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    margin: 0
  }
}

@media (max-width:1279px) {
  .courses {
    padding-bottom: clamp(48px, 6vw, 80px);
    padding-top: 0;
  }

  .courses .section__title {
    margin-bottom: clamp(24px, 4vw, 40px)
  }

  .courses__item {
    width: min(100%, 1009px);
    padding: clamp(28px, 4vw, 40px) 0
  }

  .courses__title {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    line-height: 1.45
  }

  .courses__title small {
    font-size: clamp(1rem, 2vw, 1.625rem)
  }

  .courses__text {
    width: calc(100% - 70px);
    font-size: clamp(.875rem, 1.4vw, .9375rem);
    line-height: 1.5
  }

  .courses__link {
    right: 0;
    bottom: clamp(28px, 4vw, 40px);
    width: 50px;
    height: 50px
  }
}

/* Courses responsive flow and paragraph rhythm */
.courses__item {
  height: auto !important;
  min-height: 0 !important
}

.courses__text br {
  display: block;
  content: "";
  margin-top: 20px
}

.courses__link:hover {
  background: transparent url("../images/course-arrow.svg") center/50px 50px no-repeat;
  transform: translateX(4px)
}

@media (min-width:1280px) {
  .courses__item {
    padding-bottom: 30px
  }

  .courses__link {
    bottom: 30px
  }
}

@media (max-width:767px) {
  .courses__text {
    width: 100%;
    padding-right: 0
  }

  .courses__text br {
    margin-top: 1em
  }

  .courses__link {
    position: static;
    margin: 20px 0 0 auto
  }
}

/* Course arrow component states — Figma node 1221:2072 */
.courses__link {
  background: transparent url("../images/course-arrow.svg") center/50px 50px no-repeat
}

.courses__link:hover {
  background: transparent url("../images/course-arrow-hover.svg") center/50px 50px no-repeat;
  transform: none
}

/* 講座全体のマウスオーバー／フォーカスで矢印の状態を変更 */
.courses__item:hover .courses__link,
.courses__item:focus-visible .courses__link {
  background: transparent url("../images/course-arrow-hover.svg") center/50px 50px no-repeat
}

/* Results logo carousel */
.results__logos {
  --logo-gap: 30px;
  width: 100%;
  overflow: hidden
}

.results__track {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: var(--logo-gap);
  margin-inline: auto
}

.results__track picture {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center
}

.results__logos.is-scrolling .results__track {
  justify-content: flex-start;
  margin-inline: 0;
  animation: results-logo-scroll var(--logo-scroll-duration, 24s) linear infinite;
  will-change: transform
}

.results__logos.is-scrolling:focus-within .results__track {
  animation-play-state: paused
}

@keyframes results-logo-scroll {
  to {
    transform: translateX(calc(-50% - var(--logo-gap)/2))
  }
}

@media (prefers-reduced-motion:reduce) {
  .results__logos.is-scrolling .results__track {
    animation: none;
    transform: none
  }
}

/* Full-width results area */
.results>.container {
  width: 100%;
  max-width: none
}

/* Fit one to five static logos inside the viewport */
.results__logos:not(.is-scrolling) .results__track {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(var(--logo-count, 3), minmax(0, 1fr));
  gap: clamp(12px, 2vw, 30px);
  padding-inline: clamp(16px, 3vw, 48px)
}

.results__logos:not(.is-scrolling) .results__track picture {
  width: auto !important;
  min-width: 0 !important;
  padding-inline: clamp(4px, 1vw, 16px)
}

.results__logos:not(.is-scrolling) .results__track img {
  width: auto;
  max-width: 100%;
  max-height: 56px;
  margin-inline: auto;
  object-fit: contain
}

.results__logos.is-scrolling .results__track {
  display: flex;
  width: max-content;
  padding-inline: 0
}

/* Mobile: keep three logos visible per viewport */
@media (max-width:767px) {
  .results__logos {
    --logo-gap: 12px
  }

  .results__logos:not(.is-scrolling) .results__track {
    grid-template-columns: repeat(var(--logo-mobile-columns, 3), minmax(0, 1fr));
    gap: var(--logo-gap);
    padding-inline: 12px
  }

  .results__logos.is-scrolling .results__track picture {
    width: calc((100vw - 24px)/3) !important;
    min-width: calc((100vw - 24px)/3) !important;
    padding-inline: 4px
  }

  .results__logos.is-scrolling .results__track img {
    width: auto;
    max-width: 100%;
    max-height: 56px;
    margin-inline: auto;
    object-fit: contain
  }
}

/* Mobile value-to-courses transition: keep the white point visible at any content height */
@media (max-width:767px) {
  .features>.value {
    --value-point-depth: clamp(56px, 17.6vw, 88px);
    padding-bottom: 48px;
    background: #6484f2
  }

  .value>.container {
    padding-bottom: var(--value-point-depth);
    border-radius: 0;
    background: transparent url("../images/value-background-mobile.svg") center/100% 100% no-repeat;
    clip-path: none
  }

  .value__panel {
    padding-bottom: 48px
  }
}

/* Figma mobile value section (node 1762:250) */
@media (max-width:767px) {
  .features>.value {
    padding: 21px 0 72px;
    border-radius: 35px 35px 0 0;
    background-color: #6484f2;
    background-image: none
  }

  .value>.container {
    width: calc(100% - 36px);
    padding-bottom: var(--value-point-depth)
  }

  .value .section__title {
    min-height: 52px;
    padding: 5px 0 6px;
    margin: 0 0 15px;
    font-size: clamp(1rem, 5.333vw, 1.25rem);
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    white-space: nowrap
  }

  .value .section__title::after {
    height: 2px
  }

  .value__panel {
    gap: 40px;
    padding: 0 13px 48px
  }

  .value__heading {
    min-height: 50px;
    padding: 5px 10px;
    margin: 0 0 12px;
    border-radius: 10px;
    font-size: clamp(1rem, 5.333vw, 1.25rem);
    font-weight: 400;
    line-height: 40px;
    text-align: center
  }

  .value__intro {
    margin: 0;
    font-size: 1rem;
    line-height: 30px;
    text-align: left
  }

  .value__picture {
    width: min(50.882%, 173px);
    margin: 3px auto 0
  }

  .value__initiative-copy {
    margin: 2px 0 0;
    font-size: clamp(1rem, 5.333vw, 1.25rem);
    line-height: 40px;
    text-align: center
  }

  .value__initiative-copy strong {
    font-weight: 700;
    background: linear-gradient(transparent 66%, rgba(250, 16, 14, .5) 66%, rgba(250, 16, 14, .5) 100%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone
  }

  .value__arrow {
    width: min(100%, 240px);
    margin: -5px auto 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start
  }

  .value__arrow-icons {
    width: 65px;
    flex: 0 0 65px;
    flex-direction: column
  }

  .value__arrow img {
    width: 65px;
    height: 65px;
    margin: 0
  }

  .value__arrow img:first-child {
    transform: rotate(90deg)
  }

  .value__arrow img:last-child {
    margin-top: -12px;
    transform: rotate(90deg)
  }

  .value__knowledge {
    margin: 0 0 0 12px;
    font-size: 1rem;
    line-height: 25px;
    text-align: center
  }

  .value__column--result .value__heading {
    margin-bottom: 26px
  }

  .value__diagram {
    width: min(100%, 312px);
    margin-inline: auto
  }

  .value__result-text {
    width: min(100%, 267px);
    margin: 26px auto 0;
    font-size: clamp(1rem, 5.333vw, 1.25rem);
    line-height: 35px;
    text-align: left
  }
}

/* Mobile features: place each illustration on its own row */
@media (max-width:767px) {
  .features__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start
  }

  .features__picture {
    width: clamp(160px, 48vw, 240px);
    margin-inline: auto;
    justify-self: center
  }

  .features__image,
  .features__image.image_01,
  .features__image.image_03 {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain
  }

  .features__content {
    width: 100%
  }
}

/* Figma speech-bubble tail: 348px from the left edge of a 553px label, rotated 180deg */
.features__label::after {
  top: 100%;
  left: 62.929476%;
  width: 31.5px;
  height: 15px;
  margin: 0;
  border: 0;
  background: url("../images/features-label-tail.svg") center/31.5px 15px no-repeat;
  transform: rotate(180deg)
}

/* Keep the concern marker attached to its emphasized text */
.concerns__item::after {
  content: none
}

.concerns__item strong {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-bottom: 5px
}

.concerns__item strong::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 15px;
  background: rgba(250, 16, 14, .5);
  content: ""
}

/* Keep each value-section marker on its own line and match the concern marker. */
.value__initiative-copy strong,
.value__result-text strong {
  background: none
}

.value__result-text {
  transform: translateY(-30px)
}

.value__marker {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-bottom: 5px
}

.value__marker::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 15px;
  background: rgba(250, 16, 14, .5);
  content: ""
}

/* Header / footer text-link component (Figma node 1266:732) */
.header__link,
.footer__nav a {
  width: 155px;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  color: #404040;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: normal;
  text-align: center
}

.footer__nav a {
  display: inline-flex;
  flex: 0 0 155px
}

@media (min-width:1024px) {
  .header__link {
    display: flex;
    flex: 0 0 155px
  }
}

.header__link:hover,
.header__link:focus-visible,
.footer__nav a:hover,
.footer__nav a:focus-visible {
  color: #fa100e;
  font-weight: 700
}

/* Participant comments carousel */
.voice__carousel {
  position: relative
}

.voice__viewport {
  width: 100%;
  overflow: hidden
}

.voice__track {
  display: flex;
  align-items: stretch;
  transition: transform var(--voice-transition-duration, 1000ms) ease-in-out;
  will-change: transform
}

.voice__slide {
  flex: 0 0 100%;
  min-width: 0
}

.voice__slide .voice__card {
  max-width: 100%
}

.voice__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: none;
  width: 100px;
  height: 100px;
  padding: 0;
  border: 0;
  background: transparent url("../images/voice-arrow.svg") center/42px 67px no-repeat;
  cursor: pointer;
  transform: translateY(-50%)
}

.voice__carousel.has-multiple-slides .voice__arrow {
  display: block
}

.voice__arrow--prev {
  left: 0;
  transform: translateY(-50%) rotate(180deg)
}

.voice__arrow--next {
  right: 0
}

.voice__arrow:hover {
  background-image: url("../images/voice-arrow-hover.svg")
}

.voice__arrow:focus-visible {
  outline: 3px solid #262626;
  outline-offset: 3px
}

@media (max-width:767px) {
  .voice__arrow {
    top: 50%;
    bottom: auto;
    width: 50px;
    height: 50px;
    background-size: 21px 34px
  }

  .voice__arrow--prev {
    transform: translateY(-50%) rotate(180deg)
  }

  .voice__arrow--next {
    transform: translateY(-50%)
  }
	.concerns__item strong {
	    padding-bottom: 8px;
	}
	.value__marker {
	    padding-bottom: 2px;
	}
}

/* Mobile voice carousel: reserve the outer gutters for arrow controls */
@media (max-width:767px) {
  .voice__viewport {
    width: calc(100% - 72px);
    margin-inline: auto
  }

  .voice__slide .voice__card {
    width: 100%;
    margin-inline: auto
  }

  .voice__arrow--prev {
    left: -12px
  }

  .voice__arrow--next {
    right: -12px
  }
}

/* Figma mobile header menu (node 1796:451) */
.header__menu-toggle {
  display: none
}

@media (max-width:767px) {
  body.is-menu-open {
    overflow: hidden
  }

  .header {
    height: 59px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: none
  }

  .header__inner {
    width: 100%;
    max-width: none;
    min-height: 59px;
    height: 59px;
    padding: 0;
    gap: 0
  }

  .header__logo {
    width: 196px;
    margin-left: 8px;
    color: #000;
    font-family: "MazdaType", "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 0;
    letter-spacing: 0
  }

  .header__menu-toggle {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 57px;
    height: 59px;
    display: block;
    padding: 0;
    border: 0;
    color: #fff;
    background: #fa100e;
    cursor: pointer
  }

  .header__menu-icon {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 29px;
    height: 23px
  }

  .header__menu-icon span {
    position: absolute;
    left: 0;
    width: 29px;
    height: 2px;
    background: #fff;
    transform-origin: center;
    transition: top .25s ease, transform .25s ease, opacity .2s ease
  }

  .header__menu-icon span:nth-child(1) {
    top: 0
  }

  .header__menu-icon span:nth-child(2) {
    top: 11px
  }

  .header__menu-icon span:nth-child(3) {
    top: 22px
  }

  .header__menu-label {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    font-family: "MazdaType", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    text-align: center
  }

  .header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg)
  }

  .header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(2) {
    opacity: 0
  }

  .header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg)
  }

  .header__nav {
    position: absolute;
    z-index: 1;
    top: 59px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 59px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 30px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0)
  }

  .header__nav .header__link {
    width: 100%;
    min-height: 49px;
    display: flex;
    flex: 0 0 auto;
    border-bottom: 1px solid #ddd;
    font-size: 18px
  }

  .header__nav .button {
    width: 100%;
    min-height: 49px;
    margin-top: 16px;
    font-size: 16px
  }
}

/* Figma mobile footer (node 4015:308) */
@media (max-width:767px) {
  .footer {
    min-height: 508px;
    padding: 8px 0 23px;
    border-radius: 40px 40px 0 0;
    background: #f1f1f1;
    text-align: center;
    margin-top: -40px;
  }

  .footer__inner {
    width: 100%;
    padding-bottom: 0
  }

  .footer__title {
    min-height: 70px;
    margin: 0;
    color: #6484f2;
    font-size: 36px;
    font-weight: 700;
    line-height: 70px
  }

  .footer__copy {
    margin: -10px 0 30px;
    color: #404040;
    font-size: 20px;
    font-weight: 400;
    line-height: 35px
  }

  .footer__nav {
    width: 140px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    margin: 0 0 20px 10vw;
  }

  .footer__nav a {
    width: auto;
    min-height: 30px;
    display: flex;
    flex: 0 0 30px;
    padding: 0;
    justify-content: flex-start;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    text-align: left
  }

  .footer__copyright {
    max-width: calc(100% - 6%);
    display: block;
    margin: 0 auto;
    color: #a9a9a9;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center
  }

  .footer__note {
    max-width: calc(100% - 6%);
    margin: 7px auto 0;
    color: #a9a9a9;
    font-family: Inter, "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    text-align: center
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }
}

/* Shared page-top button */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 190;
  width: 56px;
  height: 56px;
  display: block;
  overflow: hidden;
  background: #fa100e;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility .4s ease
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto
}

.page-top img {
  width: 56px;
  height: 56px;
  display: block;
  opacity: .9
}

.page-top:hover {
  background: #404040
}

.page-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px
}

@media (max-width:767px) {
  .page-top {
    right: 10px;
    bottom: 20px;
    width: 40px;
    height: 40px
  }

  .page-top img {
    width: 40px;
    height: 40px
  }
}
