/* =========================
基本設定 (モバイルファースト)
========================= */
html {
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05rem;
}

.only-pc {
  display: none;
}

.only-sp {
  display: block;
}

@media (min-width: 768px) {
  .only-pc {
    display: block !important;
  }

  .only-sp {
    display: none !important;
  }
}

/* フォントスタイル */
.font-700 {
  font-weight: 700;
}

.font-500 {
  font-weight: 500;
}

.font-400 {
  font-weight: 400;
}

/* ナビゲーションバー */
.nav {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #FD6C00;
}

.nav-logo {
  height: 30px;
  width: auto;
}

.fixed {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* お問い合わせボタン */
.button-contact {
  font-size: 16px;
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
  padding: 12px;
  color: #fff;
  border: none;
  border-radius: 24px;
  width: 100%;
  max-width: 242px;
  word-break: keep-all;

  background: linear-gradient(
    to right,
    #FF6303 0%,
    #FF7700 35%,
    #FFBF30 50%,
    #FF7700 65%,
    #FF6303 100%
  );
  background-position: 0 50%;
  background-size: 200% auto;
  transition: background-position 0.5s ease-in-out;
}

.button-contact:hover {
  background-position: 100% 50%;
}

.button-contact__top {
  width: 100%;
  max-width: 350px;
  padding: 20px;
  font-size: 18px;
  border-radius: 40px;
  margin: 0 auto;
  word-break: keep-all;
  border: 2px solid #fff;
}

.button-contact__floating {
  z-index: 10;
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: linear-gradient(90deg, #FF9A00 0%, #FB6900 100%);
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 100%;
  color: #fff;
  word-break: keep-all;
  font-size: 12px;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.button-contact__floating>.text {
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.button-detail {
  border: 2px solid #EE5C21;
  border-radius: 32px;
  padding: 16px;
  color: #EE5C21;
  font-size: 16px;
  width: 100%;
  max-width: 275px;
  gap: 8px;
  word-break: keep-all;
  margin: 0 auto;
  margin-top: 24px;
}

.button-detail:hover {
  background-color: #EE5C21;
  text-decoration: none;
  color: #fff;
  > img {
    filter: brightness(0) invert(1);
  }
}

/* メイン画面 */
.section-top {
  background-image: url(./images/section-top-bg.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 648px;
  padding: 20px;
}

.section-top>img {
  width: 100%;
  max-width: 322px;
  height: auto;
}

.section-top__dx {
  gap: 0;
  flex-direction: column;
  min-height: 424px;
}

.section-top__dx>img {
  max-width: 258px;
}

.section-top__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-top__text-title{
  display: flex;
  flex-direction: column;
  gap: 8px;
  > .section-container__text{
    font-size: 24px;
  }
}

.section-top__text {
  font-size: 26px;
  line-height: 150%;
  text-align: center;
}

/* 共通セクション */
.section {
  padding: 40px 0;
}

.section-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-container__title {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-container__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.section-title__logo {
  display: block;
  margin: 0 auto 4px;
  width: 66px;
}

.section-title {
  font-size: 28px;
  text-align: center;
}

.section-title__caption {
  font-size: 14px;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

.section-container__text {
  font-size: 20px;
  line-height: 150%;
  text-align: center;
}

.section-container__description {
  font-size: 12px;
  line-height: 150%;
  text-align: center;
}

.section-container__dx {
  background: linear-gradient(90deg, #FFF1B8 0%, #FFDE97 50%, #FFB041 100%);
  padding: 16px;
  border-radius: 16px;
  font-size: 18px;
  line-height: 150%;
  width: 100%;
  margin: 0 auto;
}

.section-dx__text{
  font-size:16px;
  text-align: center;
  line-height: 150%;
}

.section-dx__box{
  display: flex;
  flex-direction: column;
  gap:16px;
  justify-content: center;
  align-items: center;
}

/* contents セクション */
.section__contents {
  background-color: #FFF5E4;
}

.section__contents-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 2px 2px 12px rgba(240, 116, 2, 0.5);
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
}

.section__contents-img {
  background-image: url(./images/content.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 16px 16px 0 0;
  height: 216px;
}

.section__contents-text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  text-align: center;
  line-height: 150%;
}

/* footer */
.footer {
  background-color: #ED6B00;
  padding-top: 56px;
  padding-bottom: 32px;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  color: #fff;
}

.footer-title {
  width: 100%;
  > img {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
}

.footer-policy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
}

.footer-policy a {
  color: #fff;
  text-decoration: none;
  > .main-logo {
    width: 100%;
  }
}

.footer-policy a:hover {
  text-decoration: underline;
}

/* faq */
.faq-container {
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  border-bottom: 1px solid #FB6900;
}

.faq-question {
  font-size: 18px;
  line-height: 150%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.faq-question>span {
  font-family: 'Lato', sans-serif;
  color: #FB6900;
  display: block;
  font-size: 24px;
}

.faq-answer {
  font-size: 16px;
  line-height: 150%;
}

/* dxセクション */
.section-title__dx {
  background: linear-gradient(90deg, #FF9A00 0%, #FB6900 100%);
  color: #fff;
  padding: 16px 0;
  text-align: center;
  font-size: 24px;
  line-height: 120%;
}

/* overview */
.section-overview {
  background-image: url(./images/overview.jpg);
  background-size: cover;
  background-position: center;
  padding: 80px 25px;
}

.section-overview__title {
  font-size: 28px;
  text-align: center;
  margin: 16px 0 24px;
}

.section-overview__text {
  font-size: 16px;
  line-height: 150%;
  text-align: center;
}

.section-overview__container {
  background: rgba(255, 255, 255, 0.7);
  padding: 36px 27px;
  border-radius: 16px;
  margin: 0 auto;
  width: 100%;
}

/* purpose */
.section-purpose__container {
  padding: 64px 0;
  background-image: url(./images/section-purpose.svg);
  background-position: right bottom 13px;
  background-repeat: no-repeat;
  background-size: 240px;
}

.section-purpose__text {
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

/* feature */
.section-feature__text{
  font-size:18px;
  line-height: 150%;
  text-align: center;
}

/* curriculum */
.section-curriculum {
  padding: 64px 8px;
}

.section-curriculum__time {
  font-size: 20px;
  text-align: center;
}

.section-curriculum__container {
  margin: 0 auto;
  border-radius: 16px;
  padding: 24px 8px;
  background: #FFEECA;
  max-width: 100%;
  margin-top: 16px;
}

.section-curriculum__list {
  list-style: disc;
  list-style-position: inside;
  margin: 0 auto;
  width: fit-content;
}

.section-curriculum__item {
  font-size: 14px;
  line-height: 150%;
}

/* training */
.section-training__container {
  background-color: #FFF5E4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 60px 8px;
}

.section-training__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-training__box {
  background-color: #FFDF80;
  padding: 16px;
  width: 100%;
  text-align: center;
  border-radius: 16px;
  font-size: 20px;
  line-height: 150%;
}

.section-training__box>span {
  font-size: 16px;
  display: block;
}

.section-training__plus {
  font-size: 24px;
  text-align: center;
}

/* flow */
.section-flow__container {
  background-color: #F9F5ED;
  padding: 80px 25px;
}

.section-flow__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-flow__list>img {
  margin-top: 8px;
}

.section-flow__item {
  text-align: center;
  background-color: #fff;
  border: 2px solid #FB6900;
  border-radius: 40px;
  font-size: 18px;
  padding: 12px 24px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  line-height: 150%;
  box-shadow: 4px 4px 24px 0px rgba(240, 116, 2, 0.5);
}

.section-flow__item .step {
  font-family: 'Lato', sans-serif;
  color: #FB6900;
  font-size: 20px;
}

/* contact */
.section-contact {
  background: linear-gradient(98.24deg, #FFF7D8 0%, #FFE88D 43.27%, #FFC06D 100%);
  padding: 64px 18px;
}

.section-contact__container {
  background-color: #fff;
  margin: 0 auto;
  padding: 32px 12px;
  border-radius: 16px;
  max-width: 100%;
  width: 100%;
}

.section-contact__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  text-align: center;
}

.section-contact__overview {
  font-size: 15px;
  line-height: 150%;
}

.section-contact__text {
  font-size: 16px;
  line-height: 150%;
}

/* attending_count / price */
.attending_count,
.training_price {
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.attending_count>.number,
.training_price>.number {
  margin: 0 4px;
  font-size: 34px;
  font-family: 'Lato', sans-serif;
}

.training_price>.number {
  font-size: 40px;
}

.attending_count>.unit,
.training_price>.unit {
  font-size: 24px;
}

.attending_count>.small,
.training_price>.small {
  font-size: 14px;
}

.training_price>.number,
.training_price>.unit,
.training_price>.small {
  color: #FB6900;
}

.section-faq__container {
  padding: 80px 13px;
}

/* =========================
  タブレット以上 (768px〜)
========================= */
@media (min-width: 768px) {
  .nav {
    padding: 16px 96px;
  }

  .nav-logo {
    height: 45px;
  }

  .button-contact__top {
    width: 100%;
    max-width: 390px;
    border-radius: 40px;
  }

  .button-contact__floating {
    bottom: 32px;
    right: 32px;
    width: 168px;
    height: 168px;
    gap: 8px;
    font-size: 14px;
  }

  .button-contact__floating>.text {
    font-size: 20px;
  }

  .button-detail {
    max-width: 282px;
    margin-top: 48px;
  }

  .section-top {
    flex-direction: row;
    gap: 40px;
    min-height: 688px;
  }

  .section-top>img {
    max-width: 600px;
  }

  .section-top__dx {
    flex-direction: column;
    gap: 8px;
    min-height: 582px;
  }

  .section-top__dx>img {
    max-width: 408px;
  }

  .section-top__content {
    padding: 32px 40px;
    gap: 40px;
  }

  .section-top__text {
    font-size: 40px;
  }

  .section {
    padding: 80px 8px;
  }

  .section-container {
    padding: 24px;
    gap: 48px;
  }

  .section-container__content {
    gap: 40px;
  }

  .section-title {
    font-size: 42px;
  }

  .section-title__caption {
    font-size: 14px;
  }

  .section-container__text {
    font-size: 24px;
  }

  .section-container__description {
    font-size: 16px;
  }

  .section-container__dx {
    font-size: 28px;
  }

  .section-dx__text{
    font-size:24px;
  }

  .section-dx__box{
    gap:24px;
    max-width: 668px;
    margin: 0 auto;
  }

  .section__contents-container {
    flex-direction: row;
    max-width: 879px;
    border-radius: 24px;
  }

  .section__contents-img {
    flex-basis: 50%;
    border-radius: 24px 0 0 24px;
    height: auto;
  }

  .section__contents-text {
    flex-basis: 50%;
    padding: 146px 40px;
    font-size: 18px;
  }

  .section-feature__text{
    font-size: 24px;
  }


  .footer {
    padding-top: 64px;
    padding-bottom: 36px;
  }

  .footer-title {
    > img {
      max-width: 920px;
    }
  }


  .footer-policy {
    margin-top: 64px;
    flex-direction: row;
    justify-content: center;
    column-gap: 48px;
  }

  .faq-item {
    padding: 20px 15px;
    gap: 24px;
  }

  .faq-question {
    font-size: 20px;
    gap: 16px;
  }

  .faq-answer {
    font-size: 18px;
  }

  .section-title__dx {
    font-size: 32px;
    padding: 16px 0;
  }

  .section-overview {
    padding: 96px 25px;
  }

  .section-overview__title {
    font-size: 2.25rem;
    margin-bottom: 48px;
  }

  .section-overview__text {
    font-size: 1.375rem;
    line-height: 180%;
  }

  .section-overview__container {
    padding: 40px 56px;
    border-radius: 24px;
    width: fit-content;
  }

  .section-purpose__container {
    padding: 128px 0;
    background-size: auto;
  }

  .section-purpose__text {
    font-size: 1.375rem;
    max-width: 820px;
  }

  .section-curriculum__time {
    font-size: 28px;
  }

  .section-curriculum__container {
    padding: 24px;
    max-width: 876px;
    margin-top: 24px;
  }

  .section-curriculum__item {
    font-size: 18px;
    line-height: 180%;
  }

  .section-training__container {
    gap: 40px;
  }

  .section-training__top {
    flex-direction: row;
    gap: 24px;
  }

  .section-training__box {
    padding: 24px;
    min-width: 712px;
    font-size: 30px;
  }

  .section-training__box>span {
    font-size: 24px;
  }

  .section-training__plus {
    font-size: 42px;
  }

  .attending_count,
  .training_price {
    font-size:30px;
  }

  .attending_count>.number {
    font-size: 45px;
    margin: 0 8px;
  }

  .attending_count>.unit,
  .training_price>.unit {
    font-size:36px;
  }

  .attending_count>.small,
  .training_price>.small {
    font-size: 24px;
  }

  .training_price>.number {
    font-size: 50px;
  }

  .section-flow__item {
    font-size: 24px;
    padding: 14.5px 48px;
    border-radius: 80px;
    max-width: 503px;
    gap: 40px;
    box-shadow: 4px 4px 24px 0px rgba(208, 173, 126, 0.5);
  }

  .section-flow__item .step {
    font-size: 28px;
  }

  .section-contact {
    padding: 80px 18px;
  }

  .section-contact__container {
    padding: 40px;
    max-width: 896px;
    border-radius: 24px;
  }

  .section-contact__content {
    gap: 16px;
  }

  .section-contact__overview {
    font-size: 18px;
  }

  .section-contact__text {
    font-size: 20px;
    margin-top: 16px;
  }

  .faq-container {
    max-width: 843px;
  }
}