@charset "utf-8";

.header-nav {
  color: #fafafa;
}

.header-contact-link {
  color: #0068fa;
}
/*--------------------------------
training-top
---------------------------------*/

.training-top-view {
  position: absolute;
  top: 0;
  z-index: -100;
  width: 100vw;
  height: 100vh;
  background: url(../img/training-top.jpg) no-repeat center center/cover;
}

.training-top-view::before {
  position: relative;
  display: block;
  content: "";
  background-color: #0068fa;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.training-top-inner {
  position: relative;
  height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  z-index: -1;
}

.training-top-heading {
  color: #fafafa;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #ffa500;
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 2.4px;
}

/*--------------------------------
ATTEMPT
---------------------------------*/
.attempt-inner {
  position: relative;
}

.attempt-inner::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: 450px;
  height: 450px;
  transform: rotate(-25deg);
  border: 10px solid #5bc0de;
  top: 30%;
  left: 0%;
}

.attempt-image img {
  height: 360px;
  object-fit: cover;
}

.attempt-text-box {
  position: relative;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
}

.attempt-head {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.attempt-lists {
  font-size: 24px;
  margin: 0 auto;
}

.attempt-list {
  font-weight: bold;
}

.attempt-list:not(:last-child) {
  margin-bottom: 8px;
}

/*--------------------------------
CURRICULUM
---------------------------------*/
.curriculum-inner {
  position: relative;
}

.curriculum-inner::before {
  position: absolute;
  z-index: 0;
  content: "";
  width: 400px;
  height: 400px;
  transform: rotate(25deg);
  background: #0068fa;
  top: 27%;
  right: -15%;
}

.curriculum-contents {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 100px;
}

.curriculum-box {
  position: relative;
  background: #ffffff;
  padding: 40px;
  max-width: 80%;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
}

.curriculum-step {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  width: 80px;
  height: 80px;
  top: -50px;
  left: -50px;
  display: grid;
  place-items: center;
  background-color: #ffa500;
  border-radius: 50%;
  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
}

.curriculum-number {
  font-weight: bold;
}

.curriculum-text {
  font-weight: bold;
}

/*--------------------------------
KEY
---------------------------------*/
.key-inner {
  position: relative;
}

.key-inner::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: 450px;
  height: 450px;
  transform: rotate(-7deg);
  border: 10px solid #5bc0de;
  top: 30%;
  left: 0%;
}

.key-contents {
  display: flex;
  justify-content: space-around;
}

.key-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.key-tag {
  position: absolute;
  left: 0px;
  top: 0px;
  background: rgba(250, 250, 250, 0.8);
  padding: 8px 4px;
  font-weight: bold;
}

.key-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.key-image img {
  width: 360px;
  height: 300px;
  object-fit: cover;

  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
}

.key-text-box {
  position: relative;
  top: -20px;
  padding: 20px;
  max-width: 400px;
  border: 5px solid #5bc0de;
  background: rgba(250, 250, 250, 0.9);
  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.key-texthead {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.key-text {
  font-weight: bold;
}

/*--------------------------------
TRAINEE
---------------------------------*/

.trainee-inner {
  position: relative;
}

.trainee-inner::before {
  position: absolute;
  z-index: 0;
  content: "";
  width: 400px;
  height: 400px;
  transform: rotate(-32deg);
  background: #0068fa;
  top: 27%;
  right: -10%;
}

.trainee-contents {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 30px;
}

.trainee-content {
  display: flex;
  width: 100%;
  gap: 20px;
  justify-content: space-around;
}

.trainee-content-reverse {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  gap: 20px;
}

.trainee-image {
  max-width: 420px;
  max-height: 420px;
  border-radius: 999px;
  background-color: #ffffff;
  flex-basis: 40%;
}


.trainee-comment {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 5px solid #5bc0de;
  background: #ffffff;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.25);
  padding: 20px;
  max-width: 500px;
  max-height: 300px;
  flex-basis: 60%;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.trainee-comment h3 {
  font-weight: bold;
  font-size: 20px;
}

/*--------------------------------
レスポンシブ
---------------------------------*/
/* タブレット、スマホ共通 */
@media (max-width: 1024px) {
  .attempt-text-box {
    width: 100%;
  }

  .key-contents {
    flex-wrap: wrap;
  }

  .trainee-content {
    gap: 20px;
    flex-wrap: wrap;
  }

  .trainee-content-reverse {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .trainee-image {
    flex-basis: auto;
    max-width: 300px;
    max-height: 300px;
  }
  .trainee-comment {
    flex-basis: auto;
  }
}

/* タブレット */
@media (min-width: 481px) and (max-width: 1024px) {
  .training-top-heading {
    font-size: 40px;
  }

  .attempt-head {
    font-size: 24px;
  }

  .attempt-lists {
    font-size: 18px;
  }

  .curriculum-box {
    padding: 30px;
  }
}

/* スマホ */
@media (max-width: 480px) {
  .training-top-heading {
    font-size: 32px;
    -webkit-text-stroke-width: 2px;
  }

  .attempt-text-box {
    padding: 8px;
  }

  .attempt-head {
    font-size: 20px;
  }

  .attempt-lists {
    font-size: 16px;
  }

  .curriculum-box {
    padding: 20px;
    max-width: 100%;
  }

  .curriculum-step {
    width: 80px;
    height: 80px;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
  }

  .key-texthead {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .key-text {
    font-size: 14px;
  }
}
