:root {
  --main--color:#0F75BC;
  --accent-color:#F7941C;
  --heading-color:#212121;
  --text--color:#000000;
  --background--color:#E9F1F7;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-sec-title: 40px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased; /* Macで文字を滑らかに */
  text-rendering: optimizeLegibility; /* 読みやすくする */
}
.inner {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}
 
/* ヘッダーセクション */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--main--color);
  display: flex;
}
.header__inner {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.header__nav,.header__list {
  display: flex;
  align-items: center;
}
.header__list{
  justify-content: space-between;
  gap: 30px;
}
.header__logo a {
  font-size: 1.875rem;
  font-weight: 700;
  color: #FFFFFF;
}
.header__nav a {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
}
.header__button {
  background-color: var(--accent-color);
  padding: 16px 24px;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
}
.header__button:hover {
  transform: translateY(2px);
}
.header__list li {
  position: relative;
}
.header__list a::after {
  content: '';
  display: block;
  height: 1px;
  width: 0%;
  background: #fff;
  position: absolute;
  bottom: -10px;
  left: 0;
  transition: .3s;
}
.header__list a:hover {
  transform: translateY(2px);
}
.header__list a:hover::after {
  width: 100%;
}


/* ファーストビュー */
#main-visual {
  height: 70vh;
  margin-top: 80px;
}
#main-visual .inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 80px;
}
.main-visual__img {
  width: 50%;
}
.main-visual__content {
  width: 50%;
}
.main-visual__label {
  display: inline-block;
  background-color:  var(--main--color);
  color: #FFFFFF;
  font-weight: 700;
  font-style: 14px;
  padding: 12px;
  border-radius: 22px;
  margin-bottom: 15px;
}
.main-visual__title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 50px;
  letter-spacing: 4%;
  color: var(--main--color);
  margin-bottom: 25px;
}
.main-visual__text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text--color);
  margin-bottom: 25px;
}
.main-visual__points {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text--color);
  margin-bottom: 45px;
}
.main-visual__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.main-visual__points li::before {
  content: "";
  flex-shrink: 0; /* これで小さくならないようにする */
  width: 22px;
  height: 22px;
  background: url(../img/zero-one_img/checkmark1.png) no-repeat center/contain;
}
.main-visual__button {
  background-color: var(--accent-color);
  color: #FFFFFF;
  padding: 20px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-style: 20px;
}
.main-visual__button:hover {
  opacity: 0.8;
}

/* お悩み */
#onayami {
  width: 100%;
  height: 100vh;
  background-image: url(../img/zero-one_img/section-onayami.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 解決 */
#features {
  padding: 110px 0 100px;
  position: relative;
}
#features::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;  /* 左辺（透明）*/
  border-right: 100px solid transparent; /* 右辺（透明）*/
  border-top: 80px solid var(--background--color);        /* 下に向く部分の色 */
  top: 0;
  left: 50%;
  transform: translateX(-50%); 
}
.features__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  text-align: center;
  margin-bottom: 140px;
}
.features__three {
  margin: 0 auto 50px;
  width: fit-content;
  font-weight: 700;
  font-size: 2rem;
  background-color: var(--accent-color);
  color: #FFFFFF;
  padding: 30px 50px;
  border-radius: 10px;
  position: relative;
}
.features__three::after {
  position: absolute;
  top: -100px;
  right: -300px;
  content: "";
  display: block;
  width: 240px;
  height: 240px;
  background-image: url(../img/zero-one_img/hirameki_men.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features__points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.features__item {
  flex: 1;
  border: 3px solid var(--main--color);
  border-radius: 10px;
  padding: 74px 60px 54px;
  position: relative;
}
.features__point-num {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-color);
  position: absolute;
  left: 22px;
  top: 14px;
}
.features__point-num span {
  font-size: 2.25rem;
}
.features__item-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text--color);
  position: relative;
  display: inline-block; /* 幅を文字に合わせる */
  margin-bottom: 20px;
}
.features__item-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* 下線の位置 */
  width: 100%;
  height: 6px; /* 下線の太さ */
  background-color: #FFD700; /* 下線の色 */
  z-index: -1; /* 文字の後ろに配置 */
}
.features__item p {
  font-weight: 500;
  font-size: 1rem;
  line-height: 20px;
}

/* コース紹介 */
#courses {
  background-color: var(--background--color);
  padding: 120px 0 100px;
}
.courses__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  margin-bottom: 60px;
  text-align: center;
}
.courses__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
.courses__item {
  border-radius: 5px;
}
.courses__item-title {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  color: #FFFFFF;
  padding: 20px 0;
}
.courses__content {
  padding: 40px 106px 40px;
}
.courses__content img {
  width: 68px;
  height: 60px;
  display: block;
  margin: 0 auto 30px;
}

.courses__item:nth-child(1) .courses__item-title {
  background-color: #24AAE1;
}
.courses__item:nth-child(2) .courses__item-title {
  background-color: #FEBE0E;
}
.courses__item:nth-child(3) .courses__item-title {
  background-color: #F15929;
}
.courses__item:nth-child(4) .courses__item-title {
  background-color: #1F3F99;
}
.courses__item:nth-child(1) {
  border: 3px solid #24AAE1;
}
.courses__item:nth-child(2) {
  border: 3px solid #FEBE0E;
}
.courses__item:nth-child(3) {
  border: 3px solid #F15929;
}
.courses__item:nth-child(4) {
  border: 3px solid #1F3F99;
}
.courses__content p {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 28px;
}
.courses__item:nth-child(1) .courses__content p {
  color: #24AAE1;
}
.courses__item:nth-child(2) .courses__content p {
  color: #FEBE0E;
}
.courses__item:nth-child(3) .courses__content p {
  color: #F15929;
}
.courses__item:nth-child(4) .courses__content p {
  color: #1F3F99;
}
.courses__content ul {
  font-weight: 500;
  font-size: 0.875rem;
}
.courses__content ul li {
  margin-bottom: 12px;
}
.courses__content ul li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0; /* これで小さくならないようにする */
  width: 22px;
  height: 15px;
  background: url(../img/zero-one_img/checkmark2.png) no-repeat center/contain;
  margin-right: 8px;
}



/* カリキュラム */
#curriculum {
  padding: 110px 0 100px;
}
.curriculum__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--main--color);
  margin-bottom: 60px;
}
.curriculum__step {
  display: flex;
  align-items: stretch;
  margin-bottom: 32px;
}
.curriculum__label {
  color: #fff;
  font-weight: 700;
  font-size: 1.875rem;
  padding: 60px 14px 50px 30px;
  text-align: center;
  position: relative;
  border-radius: 10px 0 0 10px;
}
.curriculum__step:nth-child(1) .curriculum__label {
  background-color: #9FC8E4;
}
.curriculum__step:nth-child(2) .curriculum__label {
  background-color: #6FACD7;
}
.curriculum__step:nth-child(3) .curriculum__label {
  background-color: #3F91C9;
}
.curriculum__step:nth-child(4) .curriculum__label {
  background-color: #0F75BC;
}
.curriculum__label::after {
  content: "";
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 20px solid;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}
.curriculum__step:nth-child(1) .curriculum__label::after {
  border-top-color: #9FC8E4;
}
.curriculum__step:nth-child(2) .curriculum__label::after {
  border-top-color: #6FACD7;
}
.curriculum__step:nth-child(3) .curriculum__label::after {
  border-top-color: #3F91C9;
}
.curriculum__step:nth-child(4) .curriculum__label::after {
  border: none;
}
.curriculum__content {
  border-radius: 0 10px 10px 0;
  flex: 1;
}
.curriculum__step:nth-child(1) .curriculum__content {
  border: 14px solid #9FC8E4;
    background-color: #9FC8E4;
}
.curriculum__step:nth-child(2) .curriculum__content {
  border: 14px solid #6FACD7;
  background-color: #6FACD7;
}
.curriculum__step:nth-child(3) .curriculum__content {
  border: 14px solid #3F91C9;
  background-color: #3F91C9;
}
.curriculum__step:nth-child(4) .curriculum__content {
  border: 14px solid #0F75BC;
  background-color: #0F75BC;
}
.curriculum__content-inner {
  border-radius: 5px;
  padding: 16px 50px;
  background-color: #FFFFFF;
}
.curriculum__heading {
  color: #1c6fb8;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.curriculum__content p {
  font-weight: 500;
  font-size: 1rem;
  line-height: 30px;
}

/* 受講生の声 */
#voices {
  padding: 110px 0 100px;
  background-color: var(--main--color);
}
.voices__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 60px;
}
.voices__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 20px;
}
.voice__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px 25px 35px 25px;
}
.voice__profile {
  display: flex;
  margin-bottom: 30px;
}
.voice__profile img {
  width: 85px;
  height: 85px;
  margin-right: 40px;
}
.voice__course-name {
  margin-bottom: 16px;
  border-radius: 50px;
  color: #FFFFFF;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 1rem;
}
.voice__color1 {
  background-color: #24AAE1;
}
.voice__color2 {
  background-color: #FEBE0E;
}
.voice__color3 {
  background-color: #F15929;
}
.voice__color4 {
  background-color: #1F3F99;
}
.voice__profile p {
  font-weight: 700;
  font-size: 1.125rem;
}
.voice__text {
  font-weight: 500;
  font-size: 1rem;
  line-height: 30px;
}

/* 講師紹介 */
#teachers {
  padding: 110px 0 100px;
}
.teachers__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  text-align: center;
  margin-bottom: 60px;
}
.teachers__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;
}
.teacher-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.teacher-card:nth-child(1) {
  border: #24AAE1 solid 3px;
}
.teacher-card:nth-child(2) {
  border: #FEBE0E solid 3px;
}
.teacher-card:nth-child(3) {
  border: #F15929 solid 3px;
}
.teacher-card__header {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  color: #fff;
  padding: 12px 410px 12px 70px;
  border-radius: 0 0 0 10px;
  font-weight: 700;
  font-size: 1.5rem;
}
.teacher-card:nth-child(1) .teacher-card__header {
  background-color: #24AAE1;
}
.teacher-card:nth-child(2) .teacher-card__header {
  background-color: #FEBE0E;
}
.teacher-card:nth-child(3) .teacher-card__header {
  background-color: #F15929;
}
.teacher-card__body {
  display: flex;
}
.teacher__card__profile {
  width: 244px;
  margin: 50px 0;
  text-align: center;
}
.teacher__card__profile img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}
.teacher-card__name {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 24px;
}
.teacher-card__text {
  width: 70%;
  font-weight: 500;
  font-size: 1rem;
  line-height: 30px;
  margin-top: 80px;
}

/* コミュニティ紹介 */
#community {
  padding: 100px 0 150px;
  background-color: #ECF4FA;
}
.community__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  text-align: center;
  margin-bottom: 60px;
}
.community__text {
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 60px;
}
.community__images {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.community__images img {
  max-width: 450px;
}

/* よくある質問 */
#faq {
  padding: 100px 0 150px;
}
.faq__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  text-align: center;
  margin-bottom: 60px;
}
.faq__card {
  margin-bottom: 30px;
  transition: all 0.3s ease;
}
.faq__question {
  background-color: var(--main--color);
  border-radius: 10px;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  cursor: pointer;
}
.faq__question.is-open {
  border-radius: 10px 10px 0 0;
}
.faq__question::after {
  content: "+";
}
.faq__question.is-open::after {
  content: "-";
}
.faq__question h3 {
  font-weight: 700;
  font-size: 1.25rem;
}

.faq__answer {
  display: flex;
  align-items: center;
  border: var(--main--color) solid 3px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0px 40px 0px 30px;
  opacity: 0;
  max-height: 0;
}
.faq__answer.is-open {
  padding: 20px 40px 20px 30px;
  opacity: 1;
  max-height: 300px;
}
.faq__answer span {
  font-weight: 700;
  font-size: 1.25rem;
  color: #F7941C;
  margin-right: 20px;
}
.faq__answer p {
  font-weight: 500;
  font-size: 1rem;
  line-height: 30px;
}
/* 無料相談フォーム */
#contact {
  padding: 100px 0;
  background-color: #ECF4FA;
}
.contact__title {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--main--color);
  text-align: center;
  margin-bottom: 60px;
}
.contact__text {
  font-weight: 500;
  font-size: 1rem;
  line-height: 30px;
  text-align: center;
  margin-bottom: 30px;
}
.contact__form div {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.contact__form label {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
}
.contact__form .asterisk {
  color: #F15929;
  margin-left: 4px;
}
.contact__form input {
  width: 100%;
  padding: 10px;
  height: 50px;
  border: 1px solid #D9D9D9;
  background-color: #FFFFFF;
  border-radius: 5px;
}
.contact__form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #D9D9D9;
  background-color: #FFFFFF;
  border-radius: 5px;
}
.contact__form textarea {
  width: 100%;
  padding: 10px;
  height: 150px;
  border: 1px solid #D9D9D9;
  background-color: #FFFFFF;
  border-radius: 5px;
}
.contact__form .zero-button {
  display: block;
  line-height: 1;
  width: auto;
  margin: 50px auto 0;
  background-color: #F7941C;
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 20px 30px;
  font-weight: 700;
  font-size: 1.125rem;
}
.contact__form .zero-button:hover {
  opacity: 0.8;
}
/* フッター */
footer {
  padding: 60px 0 30px;
  background-color: #4F6593;
}
.footer__container {
  display: flex;
  gap: 84px;
  margin-bottom: 70px;
}
.footer__column h3 {
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 16px;
  color: #FFFFFF;
}
.footer__column p, .footer__column a {
  font-weight: 500;
  font-size: 1rem;
  color: #FFFFFF;
}
.footer__column p {
  line-height: 26px;
}
.footer__column li {
  margin-bottom: 14px;
}
.footer__copyright {
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  color: #FFFFFF;
}



.sp-br {
  display: none;
}
.burger {
    width: 40px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 20;
}
.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
}
.burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -15px);
}
.sp__menu {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 5;
    transition-duration: 0.5s;
    padding: 150px 50px 0;
}
.sp__menu.is-active {
    left: 0;
}
.sp__nav {
    width: 100%;
}
.sp__nav li {
    margin-bottom: 34px;

}
.sp__nav a {
    font-size: 18px;
    color: #000;
    display: flex;
    align-items: center;
}

@media screen and (max-width:768px){
  .burger {
    display: flex;
    background-size: 100%;
  }
  .header__nav {
    display: none;
  }
  .sp__menu {
    display: block;
  }
  .sp-br {
    display: block;
  }
  .pc-br {
    display: none;
  }
  html {
    font-size: 14px;
  }
  .header__inner {
    height: auto;
    padding: 10px 20px;
  }
  .header__nav {
    flex-direction: column;
    gap: 15px;
  }
  .header__list {
    flex-direction: column;
    gap: 10px;
  }
  .header__button {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  /* ファーストビュー */
  #main-visual {
    height: 100vh;
  }
  #main-visual .inner {
    flex-direction: column;
    padding-top: 40px;
    text-align: center;
  }
  .main-visual__img {
    width: 100%;
    margin-bottom: 20px;
  }
  .main-visual__content {
    width: 100%;
  }
  .main-visual__title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .main-visual__text, .main-visual__points {
    font-size: 1rem;
  }

  /* お悩み */
  #onayami {
    display: none;
  }

  /* features */
  #features::before {
    display: none;
  }
  #features {
    padding: 0 0 100px;
  }
  .features__points {
    flex-direction: column;
  }
  .features__item {
    padding: 56px 20px 20px;
  }
  .features__three {
    padding: 20px;
  }
  .features__three::after {
    width: 120px;
    height: 120px;
    top: -120px;
    right: 0;
  }

  /* コース紹介 */
  .courses__list {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }
  .courses__content {
    padding: 20px;
  }

  /* カリキュラム */
  .curriculum__step {
    flex-direction: column;
  }
  .curriculum__label {
    padding: 20px;
    border-radius: 10px 10px 0 0;
    border-width: 0;
  }
  .curriculum__content {
    border-radius: 0 0 10px 10px;
    border-width: 0;
    position: relative;
  }
  .curriculum__label::after {
    display: none;
  }
  .curriculum__content-inner {
    padding: 20px;
  }
  .curriculum__content-inner p {
    line-height: 24px;
  }
  .curriculum__content::after {
    content: "";
    position: absolute;
    bottom: -17%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 20px solid;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
  }
  .curriculum__step:nth-child(1) .curriculum__content::after {
    border-top-color: #9FC8E4;
  }
  .curriculum__step:nth-child(2) .curriculum__content::after {
    border-top-color: #6FACD7;
  }
  .curriculum__step:nth-child(3) .curriculum__content::after {
    border-top-color: #3F91C9;
  }
  .curriculum__step:nth-child(4) .curriculum__content::after {
    border: none;
  }

  /* 受講生の声 */
  .voices__list {
    grid-template-columns: 1fr;
  }
  .voice__profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .voice__profile img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* 講師紹介 */
  .teacher-card__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .teacher-card__header {
    position: static;
    width: 100%;
    padding: 8px 0;
    border-radius: 0;
    text-align: center;
  }
  .teacher__card__profile {
    width: 100%;
    margin: 20px 0;
  }
  .teacher-card__text {
    width: 100%;
    padding: 0 10px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  /* コミュニティ */
  .community__images {
    flex-direction: column;
  }
  .community__title {
    margin-bottom: 40px;
  }
  .community__text {
    font-size: 1.4rem;
  }

  /* FAQ */
  .faqs {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .faq__card {
    margin-bottom: 0;
  }

  .footer__container {
    display: block;
  }
  .footer__column {
    margin-bottom: 36px;
  }
  .footer__column h3 {
    margin-bottom: 10px;
  }
  .footer__column p {
    line-height: 20px;
  }
  .footer__column li {
    margin-bottom: 8px;
  }

  .contact__text {
    line-height: 20px;
  }
}