@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
}

main {
  margin-bottom: 30px;
  color: #30344D;
  margin-top: 90px; 
}
/* 紹介写真 */
main section {
  margin-bottom: 30px;
}
main section h1 {
  font-weight: bold;
  color: #30344D;
  font-size: 4.5vw; 
  margin: 80px 0;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.image-wrapper {
  width: 80%;
  margin: 0 auto;
  position: relative;
  height: 50vw; 
  max-height: 720px;
  overflow: hidden; 
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(70%);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 3s ease-out forwards;
  animation-delay: 0.3s;
}

.image-wrapper .text-title {
  position: absolute;
  top: 5%;
  left: 10%;
  font-weight: bold;
  font-size: 4vw;
  color: #FFA500;
  text-align: left;
  text-shadow: 0.2vw 0.2vw 0.4vw #fff;
  font-family: 'Noto Serif JP', serif;
}

.image-wrapper .text-sub {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 2vw;
  color: #C58B4B;
  text-align: center;
  white-space: nowrap; 
  font-family: 'Noto Serif JP', serif;
}


.image-wrapper .contact-button {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background-color: #C58B4B;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 1em 2em;
  border-radius: 1em;
  font-size: 1.5vw;
}

.image-wrapper .contact-button:hover {
  background-color: #30344D;
}


/* 相談事例 */
.experience-section {
  background-color: #C58B4B;
  margin-bottom: 30px;
  padding: 40px 20px;
  text-align: center;
  margin-top: 32px;
}

.experience-section h2 {
  font-size: 48px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  margin: 80px;
}

.experience-section .circles {
  display: flex;
  justify-content: center;
  gap: 120px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.experience-section .circle {
  background-color: #fff;
  border-radius: 50%;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.experience-section .circle p {
  font-size: 24px;
  color: #111835;
  line-height: 1.4;
}

.experience-section .bottom-text {
  font-weight: bold;
  font-size: 42px;
  color: #fff;
  margin: 80px 0;
}

.experience-section .bottom-text .highlight {
  color: #111835;
}


/* 特徴 */
.training-feature-section {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.training-feature-section .training-feature-box {
  width: 90%;
  height: auto;
  border: 8px solid #30344D;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  margin: 80px 0;
}

.training-feature-section .training-feature-box h2 {
  font-weight: bold;
  font-size: 48px;
  color: #C58B4B;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 80px 0;
}

.training-feature-section .training-feature-box ul {
  list-style: none;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.training-feature-section .training-feature-box li {
  font-size: 36px;
  color: #000;
  margin-bottom: 30px;
  line-height: 1.8;
}




/* カリキュラム */
.curriculum-header {
  text-align: center;
  margin-bottom: 30px;
}

.curriculum-header h1 {
  font-size: 50px;
  font-weight: bold;
  margin: 70px auto 50px;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 80px 0;
}

.curriculum-header p {
  font-size: 24px;
  margin: 80px 0;
}

.curriculum-header .highlight {
  font-weight: bold;
  color: #C58B4B;
}

.curriculum-item {
  margin-bottom: 30px;
  text-align: center;
}

.curriculum-item .title {
  text-align: center;
  margin: 80px 0;
}

.curriculum-item .number {
  font-size: 136px;
  font-weight: 900;
  color: #30344D;
  display: inline-block;
  vertical-align: middle;
  margin-right: 30px;
}

.curriculum-item h2 {
  font-size: 40px;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
  font-family: 'Noto Serif JP', serif;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 20px;
}

.content.left-image {
  flex-direction: row !important;
}

.content.right-image {
  flex-direction: row-reverse !important;
}

.content p {
  font-size: 24px;
  max-width: 800px;
  text-align: left;
  line-height: 1.8;
  padding: 0 64px;
}

.underline {
  background: linear-gradient(transparent 60%, #E9AB66 60%);
}


.image-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 5px solid #C58B4B;
  overflow: hidden;
  flex-shrink: 0;
}

.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .content {
    flex-direction: column !important;
  }

  .content p {
    text-align: center;
  }
}




/* 導入の流れ */
.flow-section {
  margin-bottom: 30px;
}

.flow-container {
  border: 8px solid #30344D;
  padding: 50px;
  text-align: center;
}

.flow-title {
  color: #C58B4B;
  font-size: 50px;
  margin: 80px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;

}

.flow-step {
  text-align: left;
  margin: 60px 0;
}

.flow-step h3 {
  color: #C58B4B;
  font-size: 36px;
  font-weight: 600;
  margin: 80px;
  font-family: 'Noto Serif JP', serif;
}

.flow-step p {
  color: #111835;
  font-size: 28px;
  text-align: center;
  padding: 80px 64px;
  margin: 0;
}

.flow-contact {
  margin-top: 30px;
  text-align: center;
}




/* お客様の声 */
.customer-voice {
  background-color: #EEAF6A;
  margin-bottom: 30px;
  max-width: 95%;
  margin: 0 auto;
}

.voice-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 2em 0;
  text-align: center;
  color: white;
}

.voice-container h1 {
  font-size: 3em;
  color: #fff;
  margin: 80px 0;
  word-break: break-word;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.voice-box {
  width: 90%;
  margin: 80px auto 30px auto;
  border: 2px solid #111835;
  background-color: #fff;
  padding: 1em;
  box-sizing: border-box;
  word-break: break-word;
}

.voice-box p {
  font-size: 1.5em;
  color: #111835;
  line-height: 1.6;
  text-align: left;
  word-wrap: break-word;
  padding: 0 64px;
}



.contact-section {
  text-align: center;
  margin-bottom: 30px;
  color: #111835;
}

.contact-section h1 {
  font-size: 50px;
  margin-top: 80px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;

}

.contact-section .contact-message {
  font-size: 24px;
  margin: 80px 0;
  line-height: 1.8;
}

/* 💡 共通デザイン */
.contact-btn {
  display: inline-block;
  background-color: #C58B4B;
  color: #fff;
  font-size: 1.5vw;
  font-weight: bold;
  padding: 1em 2em;
  border-radius: 1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin: 80px 0;
}

.contact-btn:hover {
  background-color: #111835;
}

/* 💡 画像の中のボタンだけ特別な位置指定 */


/* レスポンシブ対応 */
@media (max-width: 600px) {


  main {
    margin-top: 100px; 
  }

  main section h1 {
    font-size: 6vw;
    margin: 48px 0;
  }

  .image-wrapper {
    width: 95%;
    height: auto;
  }

  .image-wrapper .text-title {
    font-size: 6vw;
    top: 50%;
  }

  .image-wrapper .text-sub {
    font-size: 3vw;
  }

  .image-wrapper .contact-button {
    white-space: nowrap;
    font-size: 18px;
    padding: 10px 20px;
    margin-bottom: -3%;
  }

  .experience-section {
    margin: 48px 0;
  }

  .experience-section h2 {
    font-size: 26px;
    margin: 48px 0;
  }

  .experience-section .circles {
    gap: 30px;
  }

  .experience-section .circle {
    width: 150px;
    height: 150px;
    padding: 10px;
  }

  .experience-section .circle p {
    font-size: 14px;
  }

  .experience-section .bottom-text {
    font-size: 18px;
    margin: 48px 0;
  }

  .training-feature-section {
  margin-top: -48px;
  }

  .training-feature-section .training-feature-box h2 {
    font-size: 26px;
    margin: 48px 0;
  }

  .training-feature-section .training-feature-box ul{
    padding: 0 16px;
  }

  .training-feature-section .training-feature-box li {
    font-size: 18px;
    margin: 48px 0;
  }

  

  .curriculum-header h1 {
    font-size: 26px;
    margin: 48px 0;
  }

  .curriculum-header p {
    font-size: 16px;
    margin: 48px 0;
    padding: 0 16px;
  }

  .curriculum-item .number {
    font-size: 80px;
    margin-right: 10px;
    display: block;
    margin-right: 0; 
    margin-bottom: 48px;
  }

  .curriculum-item h2 {
    font-size: 18px;
    margin-bottom: 48px;
  }


  .content p {
    font-size: 14px;
    max-width: 95%;
    padding: 0 16px;
    margin-bottom: 48px;
  }

  .image-circle {
    width: 250px;
    height: 250px;
  }

  .flow-container {
  padding: 20px;
  }

  .flow-title {
    font-size: 26px;
    margin: 48px 0;
  }

  .flow-step h3 {
    font-size: 18px;
    margin: 48px 0;
    padding: 0 16px;
  }

  .flow-step p {
    font-size: 14px;
    margin: 48px 0;
    padding: 0 16px;
    text-align: left;
  }



  .customer-voice {
    max-width: 95%;
  }

  .voice-container h1 {
    font-size: 26px;
    margin: 48px 0;
  }

  .voice-box {
    width: 95%;
    margin: 48px auto;
  }

  .voice-box p {
    font-size: 14px;
    padding: 0 16px;
    line-height: 1.8;
  }

  .contact-section h1 {
    font-size: 26px;
    margin: 48px 0;
  }

  .contact-section .contact-message {
    font-size: 14px;
    margin: 48px 0;
  }

  .contact-btn {
    font-size: 18px !important;
    padding: 10px 20px !important;
    white-space: nowrap;
    margin: 48px 0;
  }

}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}
/* 初期状態 */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
}

/* スライドイン（下から上） */
.animate-on-scroll.slide-in {
  transform: translateY(50px);
}
.animate-on-scroll.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 上から落ちる */
.animate-on-scroll.drop-in {
  transform: translateY(-50px);
}
.animate-on-scroll.drop-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.animate-on-scroll.slide-from-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.slide-from-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll.slide-from-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.slide-from-left.visible {
  opacity: 1;
  transform: translateX(0);
}



@media (min-width: 600px) and (max-width: 1024px) {
  main {
    margin-top: 90px; 
  }

  main section h1 {
    font-size: 4vw;
  }

  .image-wrapper {
    width: 85%;
    height: 45vw;
  }

  .image-wrapper .text-title {
    font-size: 3.5vw;
  }

  .image-wrapper .text-sub {
    font-size: 1.8vw;
    margin-bottom: 80px;
  }

  .image-wrapper .contact-button {
    font-size: 20px;
    padding: 16px 20px;
  }

  .experience-section h2 {
    font-size: 40px;
    margin: 64px 0;
  }

  .experience-section .circles {
    gap: 60px;
  }

  .experience-section .circle {
    width: 180px;
    height: 180px;
  }

  .experience-section .circle p {
    font-size: 20px;
  }

  .experience-section .bottom-text {
    font-size: 30px;
    margin: 64px 0;
  }

  .training-feature-section .training-feature-box h2 {
    font-size: 36px;
    margin: 64px 0;
  }

  .training-feature-box ul {
      padding: 0 24px;
  }

  .training-feature-section .training-feature-box li {
    font-size: 24px;
    margin-bottom: 64px;
  }

  .curriculum-header h1 {
    font-size: 36px;
    margin:  64px 0;
  }

  .curriculum-header p {
    font-size: 20px;
    padding: 0 24px;
  }

  .curriculum-item .number {
    font-size: 100px;
  }

  .curriculum-item h2 {
    font-size: 28px;
    margin: 64px 0;
  }

  .content {
    gap: 50px;
  }

  .content p {
    font-size: 20px;
    max-width: 95%;
    margin: 64px 0;
    padding:  0 24px;
  }

  .image-circle {
    width: 300px;
    height: 300px;
  }

  .flow-container {
  margin: 64px 0;
  }

  .flow-title {
    font-size: 36px;
    margin: 64px 0;
  }

  .flow-step h3 {
    font-size: 28px;
    margin: 64px 0;
  }

  .flow-step p {
    font-size: 18px;
    padding: 0 24px;
    margin: 64px 0;
  }

  .customer-voice {
    max-width: 90%;
  }

  .voice-container h1 {
    font-size: 36px;
    margin:  64px 0;
  }

  .voice-box {
    width: 90%;
    margin:  64px 0;
    vertical-align: middle;
    margin-left: 30px;
  }

  .voice-box p {
    font-size: 20px;
    padding: 0 24px;
    align-items: center;
  }

  .contact-section h1 {
    font-size: 36px;
    margin: 64px 0;
  }

  .contact-section .contact-message {
    font-size: 20px;
    margin: 64px 0;
  }

  .contact-btn {
    font-size: 30px;
    padding: 24px 48px;
    margin: 64px 0;
  }
}
