/*--------------------------------------------------------------
# 社員インタビュー　Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.voice-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.voice-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.voice-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.voice-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.voice-title .breadcrumbs ol li+li::before {
  content: "〉";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}


/*-----------------------------------------
---------------------------------------*/
.section-title-education .title-shape {
  width: 200px;
  height: 20px;
  margin: -20px auto 10px;
  color: var(--accent-color);
  opacity: 0.5;
}

.section-title-education .title-shape svg {
  width: 100%;
  height: 100%;
}
/*--------------------------------------------------------------
# 社員インタビューtalent Cards Section
--------------------------------------------------------------*/
.talent-cards .talent-card,
.talent-cards .talent-card {  
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.talent-cards .talent-card:hover,
.talent-cards .compliance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accent-color);
}

.talent-cards .talent-card .number-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: auto;
  border-radius: 20% / 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 5px;
}

.talent-cards .talent-card .number-box span {
  font-size: 18px;
  color: var(--accent-color);
}

.talent-cards .talent-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
}

.talent-cards .talent-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.talent-cards .talent-card .talent-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.talent-cards .talent-card .talent-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 15px;
}

.talent-cards .talent .talent-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.talent-cards .talent-card .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.talent-cards .talent .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.talent-cards .talent-card .read-more:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.talent-cards .talent-card .read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .talent-cards .talente-card {
    margin-bottom: 20px;
  }
  .talent-cards .talent-card h3 {
    font-size: 22px;    
  }
}


@media (max-width: 768px) {
  .talent-cards .talent-card .icon-box {
    width: 50px;
    height: 50px;
  }

  .talent-cards .talent-card .icon-box i {
    font-size: 24px;
  }

  .talent-cards .talent-card h3 {
    font-size: 20px;
  }
}

  .talent-cards .talent-card .interview-post-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  width: 100%;           /* 横幅はいっぱいに */
  max-width: 400px;      /* ★これ以上大きくならないように制限（数値は好みで） */
  margin: 0 auto;        /* ★max-widthが効いた時に中央寄せにする */
  border-radius: 30px;   /* 必要ならここにも角丸 */
}

 .talent-cards .talent-card .interview-post-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
  transition: transform 0.6s ease-in-out;
}
/*--------------------------------------------------------------
# Resume Section　面談フロー
--------------------------------------------------------------*/
.process-flow .resume-section {
  margin-bottom: 3rem;
}

.process-flow .resume-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.process-flow .resume-section h3 i {
  color: var(--accent-color);
}

.process-flow .resume-section .resume-item {
  padding-left: 1.5rem;
  border-left: 6px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  margin-bottom: 2rem;
  position: relative;
}

.process-flow .resume-section .resume-item:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -11px;
  top: 0;
  background: var(--accent-color);
}

.process-flow .resume-section .resume-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.process-flow .resume-section .resume-item h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}


.process-flow .resume-section .resume-item .h5 i {
  margin-right: 0.5rem;
}

.process-flow .resume-section .resume-item ul {
  padding-left: 1.2rem;
}

.process-flow .resume-section .resume-item ul li {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  margin-bottom: 0.5rem;
  color: var(--default-color);
}

.process-flow .resume-section .resume-item p {
  color: var(--default-color);
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .process-flow .resume-side {
    margin-bottom: 2rem;
  }
}


/*--------------------------------------------------------------
# 社員インタビューカード　Hero Section
--------------------------------------------------------------*/
.voice-hero {
  padding: 30px 0 20px 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 80%) 100%);
  position: relative;
  overflow: hidden;
}

.voice-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--accent-color), transparent 70%) 0%, transparent 50%);
  pointer-events: none;
}

.voice-hero .hero-content {
  padding: 5px 0;
}

.voice-hero .hero-content .hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .voice-hero .hero-content .hero-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }
}

.voice-hero .hero-content .hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .voice-hero .hero-content .hero-description {
    font-size: 1.125rem;
    margin-bottom: 40px;
  }
}


.voice-hero .hero-visual {
  position: relative;
}

.voice-hero .hero-visual .staff-image-wrapper {
  position: relative;
  max-width: 550px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px; 
  border-radius: 50% / 40%;
}

.voice-hero .hero-visual .staff-image-wrapper .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
}

.voice-hero .hero-visual .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.voice-hero .hero-visual .floating-elements .floating-card {
  position: absolute;
  background: var(--surface-color);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floating 3s ease-in-out infinite;
}

.voice-hero .hero-visual .floating-elements .floating-card i {
  font-size: 1.125rem;
  color: var(--accent-color);
}

.voice-hero .hero-visual .floating-elements .floating-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--heading-color);
  white-space: nowrap;
}

.voice-hero .hero-visual .floating-elements .floating-card.card-1 {
  top: 10px;
  left: 40%;
  animation-delay: 0s;
}

.voice-hero .hero-visual .floating-elements .floating-card.card-2 {
  top: 50%;
  right: 15px;
  animation-delay: -1s;
}

.voice-hero .hero-visual .floating-elements .floating-card.card-3 {
  bottom: 25%;
  left: 15px;
  animation-delay: -2s;
}

@media (max-width: 768px) {
  .voice-hero .hero-visual .floating-elements .floating-card {
    padding: 12px 16px;
  }

  .voice-hero .hero-visual .floating-elements .floating-card span {
    font-size: 0.75rem;
  }

  .hero .hero-visual .floating-elements .floating-card.card-1 {
    left: 5px;
  }

  .voice-hero .hero-visual .floating-elements .floating-card.card-2 {
    right: 5px;
  }

  .voice-hero .hero-visual .floating-elements .floating-card.card-3 {
    left: 10px;
  }
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .voice-hero {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .voice-hero {
    padding: 60px 0;
  }
}

/*--------------------------------------------------------------
#社員インタビュー　process-outline Section
--------------------------------------------------------------*/
.r-voice .process-outline {
  position: relative;
  padding-left: 30px;
}

.r-voice .process-outline:before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 26px;
  width: 6px;
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
  z-index: 2;
}

.r-voice .process-outline .timeline-item {
  position: relative;
  padding-bottom: 10px;
  z-index: 4;
}

.r-voice .process-outline .timeline-item:last-child {
  padding-bottom: 0;
}

.r-voice .process-outline .timeline-marker {
  position: absolute;
  left: -25px;
  top: -5px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  z-index: 3;
}

.r-voice .process-outline .timeline-item .timeline-content {
  margin-left: 35px;
}

.r-voice .process-outlinee .timeline-item .timeline-content h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.r-voice .process-outline .timeline-item .timeline-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.r-voice .process-outline .timeline-item .marker-wrapper {
  position: relative;
  display: inline-block; /* h4の幅に合わせるため */
}

/* テキスト本体: マーカーの上に表示 (z-index: 2) */
.r-voice .process-outline .timeline-item .h4-text-overlap {
  position: relative; 
  z-index: 2; /* マーカーより手前に表示 */
  line-height: 1.5; /* マーカーの高さに合わせて調整 */
  margin: 0; /* h4のデフォルトマージンをリセット */
}

/* マーカー要素: テキストの背景として表示 (z-index: 1) */
.r-voice .process-outline .timeline-item .highlight-marker {
  position: absolute;
  z-index: 1; /* テキストより奥に表示 */
  top: 60%; /* テキストの下に配置 (この値でマーカーの位置を調整) */
  left: 0;
  height: 12px; /* マーカーの太さ */
  width: 100%; /* 親要素と同じ幅 */
  background-color: #ffc; /* マーカーの色 */
  
  /* 初期状態では透明にしておく（AOSで不透明にする） */
  opacity: 0;
  /* AOSのfade-rightが適用されると、左から右への動きと同時に不透明度(opacity)が変化します */
}

/* AOSアニメーション完了後の状態を上書き */
.marker-wrapper[data-aos].aos-animate .highlight-marker {
    /* AOSアニメーションが完了（aos-animateクラスが付与）した後のスタイル */
    opacity: 1; /* 見える状態にする */
    transform: none; /* AOSによる位置変更をリセット（不要な移動を防ぐ） */
}

.timeline-content h4 {
  display: inline; 
  /* 行の高さを固定値に設定する */
  line-height: 1.5; /* または '1.2em' や '24px' など */
  
  /* これを忘れるとマーカーが崩れやすくなります */
  box-decoration-break: clone;
}

.marker-highlight {
  /* background-position: 0% 90%; の '90%' の値も、line-heightに合わせて調整が必要です */
  background-position: 0% 90%; 
}

/*--------------------------------------------------------------
# スクールGlobal Section Titles
--------------------------------------------------------------*/
.section-title-education {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title-education h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title-education span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title-education p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title-education h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title-education span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# スクール　Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 120px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}

.hero .hero-content {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .hero-background.bg-image {
    /* PHP変数を使えないため、ここではCSSで直接パスを指定します */
    background-image: url('../img/bg-school.jpg');
    background-position: center center; /* 画像を中央に配置 */
    background-repeat: no-repeat;
    /* 画面に合わせて伸縮し、常に画面を覆うようにする */
    background-size: cover; 
}

.hero .hero-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--background-color), transparent 30%);
}

.hero .hero-text .tagline {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: var(--nav-font);
}

.hero .hero-text .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .hero .hero-text .hero-title {
    font-size: 2.5rem;
  }
}

.hero .hero-text .hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  max-width: 580px;
}

@media (max-width: 768px) {
  .hero .hero-text .hero-description {
    font-size: 16px;
  }
}

.hero .hero-text .hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .hero .hero-text .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
}

.hero .hero-text .hero-actions .btn {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.hero .hero-text .hero-actions .btn.btn-primary {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-text .hero-actions .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.hero .hero-text .hero-actions .btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .hero-text .hero-actions .btn.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.hero .hero-text .hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero .hero-text .hero-features {
    gap: 20px;
  }
}

.hero .hero-text .hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .hero-text .hero-features .feature-item i {
  font-size: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.hero .hero-text .hero-features .feature-item .feature-text {
  display: flex;
  flex-direction: column;
}

.hero .hero-text .hero-features .feature-item .feature-text .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 2px;
}

.hero .hero-text .hero-features .feature-item .feature-text .value {
  font-size: 14px;
  font-weight: 500;
}
 

.hero .scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--contrast-color);
  z-index: 2;
}

.hero .scroll-down .scroll-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

.hero .scroll-down .scroll-arrow {
  animation: bounce 2s infinite;
}

.hero .scroll-down .scroll-arrow i {
  font-size: 20px;
  color: var(--accent-color);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding: 30px 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: inline-block;
  color: var(--accent-color);
  font-weight: 700;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# スクールカリキュラム　Features 2 Section
--------------------------------------------------------------*/
.features-2 .feature-card {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 94%);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.features-2 .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
}

.features-2 .feature-card.highlighted {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), var(--surface-color));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.features-2 .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
  color: var(--contrast-color);
}

.features-2 .feature-icon i {
  font-size: 1.75rem;
}

.features-2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-2 p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.features-2 .feature-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.features-2 .feature-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.features-2 .feature-benefits li i {
  color: var(--accent-color);
  font-size: 1rem;
}

.features-2 .feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.features-2 .feature-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.features-2 .feature-image img:hover {
  transform: scale(1.05);
}

.features-2 .feature-testimonial {
  margin-top: 4rem;
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 94%);
  overflow: hidden;
}

.features-2 .testimonial-image {
  height: 100%;
}

.features-2 .testimonial-image img {
  height: 100%;
  object-fit: cover;
}

.features-2 .testimonial-content {
  padding: 3rem;
}

.features-2 .testimonial-content .flag-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 1.75rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.features-2 .testimonial-content p {
  font-size: 1.0rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.features-2 .testimonial-content .testimonial-author h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.features-2 .testimonial-content .testimonial-author span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.features-2 .testimonial-content .btn-primary {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  padding: 5px 40px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.hero .hero-text .hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  color: var(--accent-color);
}


@media (max-width: 991px) {
  .features-2 .feature-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
  }

  .features-2 .testimonial-content {
    padding: 2rem;
    text-align: center;
  }

  .features-2 .testimonial-content .flag-icon {
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 767px) {
  .features-2 .feature-testimonial {
    margin-top: 2rem;
  }

  .features-2 .testimonial-image {
    max-height: 300px;
    overflow: hidden;
  }

  .features-2 .testimonial-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .features-2 .testimonial-content {
    padding: 1.5rem;
  }

  .features-2 .testimonial-content p {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# とある一日　Schedule Section
--------------------------------------------------------------*/
.schedule {
  --background-color: color-mix(in srgb, var(--alt-background-color), transparent 95%);
}

.schedule .nav-tabs {
  text-align: center;
  margin: auto;
  display: block;
  border-bottom: 0;
  margin-bottom: 30px;
}

.schedule .nav-tabs li {
  display: inline-block;
  margin-bottom: 0;
}

.schedule .nav-tabs a {
  border: none;
  border-radius: 50px;
  font-weight: 600;
  background-color: var(--heading-color);
  color: var(--contrast-color);
  padding: 10px 100px;
}

@media (max-width: 991px) {
  .schedule .nav-tabs a {
    padding: 8px 60px;
  }
}

@media (max-width: 767px) {
  .schedule .nav-tabs a {
    padding: 8px 50px;
  }
}

@media (max-width: 480px) {
  .schedule .nav-tabs a {
    padding: 8px 30px;
  }
}

.schedule .nav-tabs a.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.schedule .sub-heading {
  text-align: center;
  font-size: 18px;
  margin: 0 auto 30px auto;
}

@media (min-width: 991px) {
  .schedule .sub-heading {
    width: 75%;
  }
}

.schedule .tab-pane {
  transition: ease-in-out 0.2s;
}

.schedule .schedule-item {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding-top: 15px;
  padding-bottom: 15px;
  transition: background-color ease-in-out 0.3s;
}

.schedule .schedule-item time {
  font-size: 11px;
  padding-bottom: 5px;
  display: block;
}

.schedule .schedule-item .one-scene {
  width: auto;
  height: 100px;
  overflow: hidden;
  border-radius: 0;
  float: left;
  margin: 0 10px 10px 0;
}

.schedule .schedule-item .one-scene img {
  height: 100%;
  transform: translateX(-50%);
  margin-left: 50%;
  transition: all ease-in-out 0.3s;
}

.schedule .schedule-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.schedule .schedule-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: normal;
  font-size: 16px;
}

.schedule .schedule-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# 在校生の声　Testimonials Section 
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .swiper-slide {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  margin: 0 5px 0 5px;
  min-height: 320px;
  }

/*使ってない
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}
  

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}
  -------------------*/

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 10px 0px 10px;
  /*　background: color-mix(in srgb, var(--default-color), transparent 97%);--*/
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}



.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(to right, #b5d48c 0%, var(--accent-color) 100%);
  position: relative;
  overflow: hidden;
}
/*
.call-to-action::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: color-mix(in srgb, #3C5F19, transparent 96%);
  transform: rotate(-15deg);
  z-index: 1;
}
*/

.call-to-action .container {
  position: relative;
  z-index: 2;
}

.call-to-action .image-wrapper {
  position: relative;
}

.call-to-action .image-wrapper .main-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  transition: transform 0.3s ease;
}

.call-to-action .image-wrapper .main-image:hover {
  transform: translateY(-5px);
}

.call-to-action .image-wrapper .floating-card {
  position: absolute;
  top: 70%;
  right: -30px;
  transform: translateY(-50%);
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  box-shadow: 0 15px 35px color-mix(in srgb, #192D05, transparent 70%);
  z-index: 3;
}


.call-to-action .image-wrapper .floating-card h4 {
  color: var(--contrast-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.call-to-action .image-wrapper .floating-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
}

@media (max-width: 991px) {
  .call-to-action .image-wrapper .floating-card {
    right: auto;
    left: 20px;
    transform: translateY(-30%);
    max-width: 80%;
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .call-to-action .image-wrapper .floating-card {
    left: 10px;
    max-width: 90%;
    padding: 20px;
  }

  .call-to-action .image-wrapper .floating-card h4 {
    font-size: 1rem;
  }

  .call-to-action .image-wrapper .floating-card p {
    font-size: 0.85rem;
  }
}

.call-to-action .content-area {
  padding-left: 0;
}

.call-to-action .content-area h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .call-to-action .content-area h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .call-to-action .content-area h2 {
    font-size: 1.75rem;
  }
}

.call-to-action .content-area>p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
  line-height: 1.6;
}

.call-to-action .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.call-to-action .feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
}

.call-to-action .feature-list li:last-child {
  margin-bottom: 0;
}

.call-to-action .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-right: 12px;
  margin-top: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-to-action .feature-list li span {
  font-size: 1rem;
  line-height: 1.3;
  color: var(--default-color);
}

.call-to-action .cta-wrapper {
  margin-top: 20px;
}

.call-to-action .btn-cta {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
  position: relative;
}

.call-to-action .btn-cta:hover {
  background: color-mix(in srgb, var(--accent-color), var(--default-color) 10%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

.call-to-action .btn-cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.call-to-action .btn-cta:before, 
.call-to-action .btn-cta:after {
  content: "";
  position: absolute;
  z-index: -10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 12px;
  background: #EEEECC;
  transform: translate3d(0,0,0);
}

.call-to-action .btn-cta:before {
  animation: anime 1.5s ease-out infinite;
}

.call-to-action .btn-cta:after {
  animation: anime 3s ease-out 1.5s infinite;
}

@keyframes anime{
0%{transform:scale(.95); opacity:1}
90%{opacity:.1}to{transform:scale(1.2,1.4); opacity:0}
}

@media (max-width: 991px) {
  .call-to-action .content-area {
    margin-top: 50px;
  }
}

@media (max-width: 576px) {
  .call-to-action {
    padding: 40px 0;
  }

  .call-to-action .image-wrapper .floating-card {
    position: relative;
    right: auto;
    left: auto;
    transform: none;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/*----------------------------
Q&A
-----------------------------*/

/* FAQアイテム全体の背景色とボーダーを調整 */
.faq-item.accordion-item {
    border: none; /* デフォルトのボーダーを削除 */
    background-color: #f8f9fa; /* 背景色を設定（必要に応じて調整） */
    margin-bottom: 10px; /* 各アイテム間の余白 */
    border-radius: 8px; /* 角を丸くする */
}

/* 質問部分（アコーディオンボタン）のスタイル調整 */
.faq-item .accordion-button {
    background-color: transparent; /* 背景色を透明にするか、親と同じ色に */
    color: #333; /* 文字色 */
    font-weight: bold;
    border: none; /* デフォルトのボーダーを削除 */
    box-shadow: none; /* フォーカス時の影を削除 */
    padding: 15px 20px; /* パディングを調整 */
    border-bottom: none; /* 質問部分と回答部分の間の線を削除 */
    border-radius: 8px; /* 角を丸くする */
}

/* アコーディオンボタンが閉じている時のボーダーを削除 (念のため) */
.faq-item .accordion-button.collapsed {
    border-bottom: none;
}

/* アコーディオンボタンが開いている時のボーダーを削除 (念のため) */
.faq-item .accordion-button:not(.collapsed) {
    border-bottom: none;
}

/* 回答部分（アコーディオンボディ）のスタイル調整 */
.faq-item .accordion-body {
    background-color: transparent; /* 背景色を透明にするか、親と同じ色に */
    border: none; /* デフォルトのボーダーを削除 */
    padding: 0 20px 15px 20px; /* パディングを調整（上パディングを0に） */
}

/* 開いている状態のfaq-itemの背景色を変えたい場合 */
.faq-item.accordion-item .accordion-button:not(.collapsed) {
    background-color: #e9ecef; /* 開いている時の質問部分の背景色 */
}

.faq-item.accordion-item .accordion-collapse.show {
    background-color: #e9ecef; /* 開いている時の回答部分の背景色 */
    border-radius: 0 0 8px 8px; /* 下側の角だけ丸くする */
}

/* アイコンの調整（サンプルページの右端のアイコンのようなもの） */
.faq-item .accordion-button::after {
    background-image: var(--bs-accordion-btn-icon); /* Bootstrapのデフォルトアイコン */
    transform: rotate(0deg); /* デフォルトの回転をリセット */
    transition: transform 0.2s ease-in-out;
}

.faq-item .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg); /* 開いている時にアイコンを回転 */
}

.faq-item .accordion-button .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 18px;
  margin-bottom: 1.5rem;  
}

.faq-item i {
  font-size: 1.75rem;
  color: var(--accent-color);
}
