
.business-intro {
  width: 84%;
  max-width: 1350px;

  margin-top: 55px;
  padding: 30px 40px;
}

.business-intro .main-message {
    font-size: clamp(18px, 1.5vw, 23px);
    font-family: "Inria Serif", "Noto Serif JP", serif;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.75;
    text-align: center;
}

.service-section {
  width: 90%;
  max-width: 1300px;

  margin-left: auto;
  margin-right: auto;

  box-sizing: border-box;

  background-color: #EAF7F8;

  border: 8px solid #ffffff;
  border-radius: 25px;

  box-shadow: 15px 15px 20px rgb(138, 135, 135);

  color: #333333;
}

.ses-section {
  margin-top: 120px;
  padding: 45px 60px;
}

.education-section {
  margin-top: 100px;
  margin-bottom: 120px;

  padding: 50px 60px 80px;
}

.service-heading {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  padding-bottom: 20px;

  border-bottom: 1px solid #555555;
}

.service-heading h2 {
  margin: 0;

  font-size: clamp(30px,3.2vw,46px);
  font-weight: 500;
  font-style: italic;

  color: #333333;
}

.service-mark {
  font-size: clamp(25px, 3vw, 38px);
}

.service-text {
  width: 90%;
  max-width: 1050px;

  margin: 35px auto 0;

  font-size: clamp(18px,1.8vw,26px);
  line-height: 1.9;
  letter-spacing: 0.04em;

  text-align: center;
}

.skill-area {
  margin-top: 60px;

  text-align: center;
}

.skill-title {
  margin: 0 0 30px;

  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
}

.skill-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 18px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.skill-item {
  min-width: 120px;

  padding: 12px 22px;

  box-sizing: border-box;

  background-color: #ffffff;

  border: 2px solid #c7dddf;
  border-radius: 12px;

  box-shadow: 4px 4px 8px rgba(100, 100, 100, 0.15);

  font-size: clamp(18px, 2vw, 24px);
}

.learning-demo {
  display: flex;
  justify-content: center;

  margin-top: 45px;
}

.learning-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  min-width: 280px;

  padding: 16px 35px;

  box-sizing: border-box;

  background-color: #ffffff;

  border: 2px solid #c7dddf;
  border-radius: 12px;

  box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.2);

  color: #333333;

  font-size: 22px;
  text-decoration: none;

  transition: 0.2s;
}

.learning-demo-button:hover {
  transform: translateY(-4px);

  box-shadow: 7px 7px 14px rgba(100, 100, 100, 0.25);
}

.demo-arrow {
  display: inline-block;

  transition: 0.2s;
}

.learning-demo-button:hover .demo-arrow {
  transform: translateX(6px);
}

.learning-flow {
  margin-top: 70px;
}

.learning-flow-title {
  margin: 0 0 45px;

  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;

  text-align: center;
}

.learning-flow-title span {
  margin: 0 15px;
}

.learning-step-list {
  display: flex;
  flex-direction: column;

  gap: 45px;

  width: 92%;

  margin: 0 auto;
  padding: 0;

  list-style: none;
  counter-reset: learning-step;
}

.learning-step {
  counter-increment: learning-step;

  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;

  position: relative;

  min-height: 95px;

  padding: 18px 35px;

  box-sizing: border-box;

  background-color: #d8eef0;

  border-radius: 5px;
}

.learning-step:not(:last-child)::after {
  content: "↓";

  position: absolute;
  left: 50%;
  bottom: -32px;

  transform: translateX(-50%);

  font-size: 25px;
  color: #17395f;
}

.step-title {
  font-family: "Inria Serif", "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.step-title::before {
  content: counter(learning-step) " ";

  margin-right: 8px;
}

.step-text {
  margin: 0;

  font-size: clamp(17px,1.6vw,22px);
  line-height: 1.7;
}

 .training-cloud {
    position: relative;
    width: 98%;
    max-width: 1300px;

    margin: 120px auto 50px;

    display: grid;
    place-items: center;
}

.training-cloud-shape {
    grid-area: 1 / 1;

    display: block;

    width: 112%;
    max-width: none;

    filter: drop-shadow(
        10px 12px 10px rgba(110, 110, 110, 0.22)
    );
}

.training-cloud-content {
    grid-area: 1 / 1;
    z-index: 1;

    width: 86%;

    text-align: center;

    transform: translateY(18px);
}

.training-title {
  margin: 0 0 20px;

  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
}

.training-period {
  margin: 0 0 18px;

  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 700;
}

.training-text {
  width:100%;
  margin: 0 auto;

  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.contact-card {
  width: 600px;
  box-sizing: border-box;

  padding: 30px 25px;
  margin: 0 auto;

  background-color: #EAF7F8;

  border: 7px solid white;
  border-radius: 25px;

  box-shadow: 12px 12px 18px rgb(138, 135, 135);

  text-align: center;

  color: #333333;
}

.contact-mark {
  margin: 0;
  font-size: 25px;
}

.contact-text {
  font-size: 22px;
  line-height: 1.7;
  white-space: nowrap;
}

.contact-text br {
    display: none;
}

/*タブレット端末用*/
@media(max-width:1024px){

    .business-intro {
         width: 92%;
        padding: 30px;
    }

     .service-section {
         width: 92%;
    }

    .ses-section {
        margin-top: 100px;
        padding: 40px;
    }

    .education-section {
         margin-top: 80px;
        padding: 45px 40px 65px;
    }

    .service-text {
         width: 95%;

         line-height: 1.8;
    }

    .skill-list {
         gap: 14px;
    }

     .skill-item {
        min-width: 105px;
        padding: 10px 18px;
     }

    .learning-step-list {
         width: 96%;
    }

    .learning-step {
        grid-template-columns: 210px 1fr;
        padding: 18px 25px;
     }

    .training-cloud {
         width: 95%;
        margin-top:110px;
    }

    .training-cloud-content {
        width:80%;
    }
  }


/*スマホ端末用*/
@media (max-width: 768px) {

       .business-intro {
         width: 92%;

         margin-top: 35px;

        padding: 22px 18px;
    }

     .service-section {
         width: 92%;

         border-width: 5px;
         border-radius: 20px;

         box-shadow: 8px 8px 14px rgb(138, 135, 135);
    }

     .ses-section {
        margin-top: 70px;
         padding: 30px 20px;
    }

    .education-section {
        margin-top: 60px;
        margin-bottom: 80px;

        padding: 30px 18px 50px;
    }

    .service-heading {
         gap: 8px;

        padding-bottom: 15px;
    }

    .service-heading h2 {
         font-size: clamp(24px, 7vw, 32px);
    }

    .service-mark {
        font-size: 24px;
     }

    .service-text {
         width: 100%;

         margin-top: 25px;

         font-size: clamp(16px, 4.5vw, 20px);

         line-height: 1.8;

         text-align: left;
    }

    .skill-area {
         margin-top: 45px;
    }

    .skill-title {
        margin-bottom: 22px;
         font-size: 24px;
    }

    .skill-list {
        gap: 10px;
    }

    .skill-item {
        min-width: auto;
        padding: 9px 14px;

        font-size: 16px;

        border-radius: 10px;
    }

    .learning-demo {
         margin-top: 35px;
    }

    .learning-demo-button {
         width: 85%;
         min-width: 0;

         padding: 14px 20px;

        font-size: 18px;
    }

    .learning-flow {
        margin-top: 55px;
    }

    .learning-flow-title {
        margin-bottom: 30px;

        font-size: 25px;
    }

    .learning-flow-title span {
        margin: 0 8px;
    }

    .learning-step-list {
        width: 100%;
         gap: clamp(38px, 7vw, 44px);
    }

    .learning-step {
        display: block;

        min-height: 0;
        padding: 18px 20px;
    }

    .learning-step:not(:last-child)::after {
    top: calc(100% + clamp(6px, 1.5vw, 10px));
    bottom: auto;

    line-height: 1;
    }

    .step-title {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .step-text {
        font-size: 16px;
        line-height: 1.7;
    }

  .training-cloud {
    position: relative;

    width: 88%;

    margin: 70px auto 45px;

    padding:
        clamp(32px, 8vw, 42px)
        clamp(22px, 6vw, 32px);

    box-sizing: border-box;

    background-color: rgba(255, 255, 255, 0.45);

    border: 1.5px solid #333333;
    border-radius: 45px;
}


/* 雲画像はスマホでは使わない */
.training-cloud-shape {
    display: none;
}


/* 少しずれた2本目の線 */
.training-cloud::before {
    content: "";

    position: absolute;

    top: 6px;
    right: -5px;
    bottom: -6px;
    left: 5px;

    border: 1px solid rgba(51, 51, 51, 0.45);
    border-radius: 48px;

    pointer-events: none;
}


.training-cloud-content {
    position: relative;

    width: 100%;

    margin: 0 auto;

    box-sizing: border-box;

    text-align: center;

    transform: none;

    z-index: 1;
}

.training-title {
    margin: 0 0 18px;

    font-size: clamp(20px, 5vw, 24px);
    font-weight: 400;
}


.training-period {
    margin: 0 0 20px;

    font-size: clamp(15px, 3.8vw, 18px);
}


.training-text {
    width: 100%;

    margin: 0;

    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.75;
}

.contact-card {
    width: 100%;
}

.contact-text {
    white-space: normal;
}

.contact-text br {
    display: inline;
}

}