@charset "UTF-8";

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.only-pc {
  display: block;
}

.only-sp {
  display: none;
}


.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-stagger-item {
  opacity: 0;
  transform: translateY(40px); 
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-stagger-parent.is-visible .js-stagger-item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.kaiten-chara.js-fade-up.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.kaiten-chara.js-fade-up.is-visible img {
  animation: troubleShiver 2.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes troubleShiver {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  10%, 30% { transform: translateY(-4px) rotate(-6deg); }
  20%, 40% { transform: translateY(-4px) rotate(6deg); }
  50% { transform: translateY(0) rotate(0deg); }
  60% { transform: translate(-2px, 1px) rotate(-3deg); }
  65% { transform: translate(2px, -1px) rotate(3deg); }
  70% { transform: translate(-2px, -1px) rotate(-2deg); }
  75% { transform: translate(2px, 1px) rotate(2deg); }
  80% { transform: translate(0, 0) rotate(0deg); }
}

.heading-chara.js-fade-up {
  opacity: 0;
  transform: perspective(600px) rotateY(-180deg) scale(0.3);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.heading-chara.js-fade-up.is-visible {
  opacity: 1;
  transform: perspective(600px) rotateY(0deg) scale(1);
}

.mv-title-wrap.js-fade-up,
.solution-main-ttl.js-fade-up,
.ribbon-banner.js-fade-up {
  opacity: 0;
  transform: scale(0.2);
  will-change: transform, opacity;
}

.mv-title-wrap.js-fade-up,
.solution-main-ttl.js-fade-up.is-visible,
.ribbon-banner.js-fade-up.is-visible {
  animation: zoomInBoom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes zoomInBoom {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  45% {
    opacity: 1;
    transform: scale(1.25);
  }
  65% {
    transform: scale(0.92);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.js-typing {
  opacity: 0; 
}

.js-typing.is-ready {
  opacity: 1;
}

.js-typing .typing-char {
  opacity: 0;
  display: inline-block;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.js-typing .typing-char.is-typed {
  opacity: 1;
  transform: translateY(0);
}

.js-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: currentColor;
  margin-left: 4px;
  vertical-align: -0.05em;
  opacity: 0;
}

.js-typing.is-typing::after {
  opacity: 1;
  animation: typingBlink 0.6s infinite alternate;
}

@keyframes typingBlink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.mv-sub-wrap.js-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  will-change: transform, opacity;
}

.mv-sub-wrap.js-slide-left.is-visible {
  animation: slideInFromLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-character.js-pop-up {
  opacity: 0;
  transform: translateY(35px) scale(0.8);
  transform-origin: bottom center;
  will-change: transform, opacity;
}

.card-character.js-pop-up.is-visible {
  animation: popBounceUp 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.15s both;
}

@keyframes popBounceUp {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.08);
  }
  80% {
    transform: translateY(2px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.4) !important; 
  backdrop-filter: blur(12px) saturate(180%); 
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 32px;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 52px;
  width: auto;
}

.header-nav {
  display: flex;
  height: 80px;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.nav-btn:hover {
  opacity: 0.9;
}

.nav-btn i {
  font-size: 30px;
  margin-bottom: 5px;
}

.btn-blue {
  background-color: #3b71ca;
}

.btn-orange {
  background-color: #f59e0b;
}

.btn-green {
  background-color: #109b45;
}

.main-visual {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 640px;
  max-height: 880px;
  background-color: #eaf6ff;
  background-image: url('../img/hero02.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 15% bottom 0%;
  overflow: hidden;
}

.mv-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.mv-content {
  width: 100%;
  max-width: 640px;
  padding-bottom: 20px;
}

.mv-title-wrap {
  width: 100%;
  max-width: 650px;
  margin-bottom: 20px;
}

.mv-title-wrap img {
  width: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

.mv-sub-wrap {
  width: 100%;
  max-width: 680px;
  margin-bottom: 65px;
}

.mv-sub-wrap img {
  width: 100%;
}

.mv-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  padding: 16px 28px 16px 85px;
  border-radius: 16px;
  border: 2px solid #e2edf8;
  box-shadow: 0 10px 25px rgba(27, 85, 155, 0.12);
  width: 100%;
  margin-left: 30px;
}

.card-character {
  position: absolute;
  left: -45px;
  bottom: -16px;
  width: 122px;
  flex-shrink: 0;
}

.penguin-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-text {
  font-size: 24px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* こんな不安はありませんか？  */
.section-trouble {
  background: linear-gradient(180deg, #edf6fe 0%, #e1effb 100%);
  padding: 60px 20px 70px;
  position: relative;
}

.section-trouble::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 120px 0px 120px;
  border-color: #e1effb transparent transparent transparent;
  z-index: 10;
}

.trouble-container {
  max-width: 1280px;
  margin: 0 auto;
}

.trouble-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
}

.heading-chara {
  width: 150px;
  flex-shrink: 0;
  display: flex;
}

.heading-chara img {
  width: 100%;
  height: auto;
}

.heading-text {
  font-size:45px;
  font-weight: 700;
  color: #1A3484;
  letter-spacing: 0.05em;
}

.trouble-card-wrapper {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.trouble-card {
  flex: 1;
  max-width: 580px;
  background-color: #fff;
  border-radius: 20px;
  padding: 38px 24px 0px 36px; 
  box-shadow: 0 10px 30px rgba(32, 75, 140, 0.06);
  position: relative;
  overflow: hidden;
}

.card-blue {
  border: 1.5px solid #204b8c;
}

.card-pink {
  border: 1.5px solid #d43b67;
}

.card-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.trouble-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
  padding-bottom: 38px;
}

.trouble-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trouble-list li i {
  font-size: 30px;
  flex-shrink: 0;
}

.check-blue {
  color: #1A3484;
}

.check-pink {
  color: #D9085E;
}

.list-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.card-blue .list-text {
  color: #17376c;
}

.card-pink .list-text {
  color: #D9085E;
}

.card-person-box {
  width: 190px; 
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-right: -10px;
  align-self: flex-end; 
}

.person-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

.person-dummy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 170px;
  border-radius: 12px 12px 0 0;
  font-size: 42px;
}

.dummy-blue {
  background-color: #eaf3fb;
  color: #a4c4e8;
}

.dummy-pink {
  background-color: #fcecf1;
  color: #f1a8bf;
}


/* そんな悩みを解消するのが 留学館高等学院  */
.section-solution-bridge {
  position: relative;
  background-color: #fff;
  background-image: url('../img/bk-catch.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 55px 20px 45px;
  overflow: hidden;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-container {
  max-width: 1280px;
  margin: 0 auto;
}

.solution-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.solution-icon-globe {
  width: 110px;
  flex-shrink: 0;
}

.solution-icon-globe img {
  width: 100%;
  height: auto;
}

.solution-text-wrap {
  text-align: center;
}

.solution-lead {
  font-size: 45px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.solution-main-ttl {
  font-size: 65px;
  font-weight: 900;
  color: #D9085E; 
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.solution-chara-pen {
  width: 130px;
  flex-shrink: 0;
}

.solution-chara-pen img {
  width: 100%;
  height: auto;
}

/* 留学館高等学院の4つの特徴 */
.section-features {
  background: linear-gradient(180deg, #44a8f2 0%, #2968db 60%, #1e53c4 100%);
  padding: 80px 20px 105px;
  position: relative;
}

.section-features::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 120px 0px 120px;
  border-color: #1e53c4 transparent transparent transparent;
  z-index: 10;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
}

.features-heading-wrap {
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

.features-sub-ttl {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.features-main-ttl {
  font-size: 45px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 12px 30px rgba(10, 35, 90, 0.16);
  display: flex;
  flex-direction: column;
}

.feature-badge {
  position: absolute;
  top: -26px;
  left: -22px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-right: 15px;
  padding-bottom: 20px;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.feature-badge span {
  display: block;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  transform: translate(3px, 6px);
}

.feature-card-head {
  padding: 24px 24px 20px 52px;
  border-radius: 20px 20px 0 0;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-card-ttl {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.feature-card-body {
  padding: 34px 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  flex-grow: 1;
}

.feature-icon {
  width: 110px;
  height: 100px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-card-desc {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #2b3345;
  letter-spacing: 0.02em;
}

.f-pink .feature-badge {
  background-color: #D9085E;
}
.f-pink .feature-card-head {
  background-color: #FEEEF5;
}
.f-pink .feature-card-ttl {
  color: #D9085E;
}

.f-green .feature-badge {
  background-color: #008A32;
}
.f-green .feature-card-head {
  background-color: #E9FAF2;
}
.f-green .feature-card-ttl {
  color: #008A32;
}

.f-orange .feature-badge {
  background-color: #FD9327;
}
.f-orange .feature-card-head {
  background-color: #FCF3EC;
}
.f-orange .feature-card-ttl {
  color: #FD9327;
}

.f-purple .feature-badge {
  background-color: #9E41FB;
}
.f-purple .feature-card-head {
  background-color: #F1ECFE;
}
.f-purple .feature-card-ttl {
  color: #9E41FB;
}

.section-recommend {
  position: relative;
  background-color: #fff;
  background-image: url('../img/bk-recommend.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  padding: 85px 20px 110px;
}

.recommend-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
}

.recommend-content {
  width: 100%;
  z-index: 2;
}

.recommend-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.recommend-title {
  font-size: 45px;
  font-weight: 900;
  color: #D9085E; 
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.recommend-chara {
  width: 130px;
  flex-shrink: 0;
  transform: translateY(-8px);
}

.recommend-chara img {
  width: 100%;
  height: auto;
}

.recommend-sub {
  font-size: 30px;
  font-weight: 700;
  color: #00152B;
  margin-bottom: 38px;
  letter-spacing: 0.03em;
}

.recommend-sub strong {
  font-weight: 900;
}

.recommend-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.recommend-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.rec-icon {
  width: 50px;
  height: 35px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-icon img {
  width: 100%;
  height: auto;
}

.rec-text {
  font-size: 25px;
  font-weight: 700;
  color: #1A3484;
  letter-spacing: 0.03em;
  line-height: 1.4;
  display: inline-block; 
  border-bottom: 1.5px solid #1A3484; 
  padding-bottom: 4px; 
}

/* 留学館高等学院に通う先輩たちの声 */
.section-voice {
  position: relative;
  background-color: #f0f7fe;
  padding: 80px 0 100px;
  overflow: hidden;
  --parallax-y: 0px; 
}

.section-voice::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -80px;
  width: 550px;
  height: 550px;
  background-image: url('../img/bk-voice.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translateY(var(--parallax-y));
  transition: transform 0.1s ease-out;
}

.voice-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2; 
}

.voice-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.voice-title {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  color: #3075D9;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
}

.voice-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-slider-track-wrap {
  width: 100%;
  overflow: visible; 
}

.voice-slider-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.voice-card {
  width: 720px;
  min-width: 720px;
  background-color: #fff;
  border-radius: 20px;
  padding: 38px 45px;
  box-shadow: 0 10px 25px rgba(27, 85, 155, 0.08);
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0.5; 
  transform: scale(0.92);
  transition: transform 0.45s ease, opacity 0.45s ease;
  user-select: none;
}

.voice-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 14px 35px rgba(27, 85, 155, 0.14);
}

.voice-card-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 120px;
}

.voice-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.voice-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-name {
  font-size: 16px;
  font-weight: 700;
  color: #3075D9;
  letter-spacing: 0.02em;
}

.voice-card-body {
  flex: 1;
}

.voice-catch {
  font-size: 25px;
  font-weight: 700;
  color: #D9085E; 
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.voice-text {
  font-size: 17px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.voice-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #3075D9;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(43, 107, 220, 0.35);
  z-index: 20;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.voice-arrow:hover {
  background-color: #3075D9;
  transform: translateY(-50%) scale(1.08);
}

.arrow-prev {
  left: 120px;
}

.arrow-next {
  right: 120px;
}

.section-basic-course {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #448fed 20%, #479BE4 100%);
  padding: 65px 20px 40px; 
  margin-bottom: 0;
}

.basic-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.basic-curve-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 60px; 
  line-height: 0;
  z-index: 2;
}

.basic-curve-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.basic-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2; 
}

.ribbon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.ribbon-banner {
  position: relative;
  background-color: #D9085E;
  color: #fff;
  padding: 14px 75px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 6px 18px rgba(180, 20, 60, 0.35);
  clip-path: polygon(
    0% 0%, 
    100% 0%, 
    calc(100% - 22px) 50%, 
    100% 100%, 
    0% 100%, 
    22px 50%
  );
}

.basic-course-heading {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.basic-main-ttl {
  font-size: 35px;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.basic-sub-ttl {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.basic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.basic-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 38px 30px 34px;
  box-shadow: 0 8px 24px rgba(10, 35, 90, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.basic-icon-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.basic-icon-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.bg-circle-pink {
  background-color: #fcedf1;
}

.bg-circle-green {
  background-color: #e5f6ed;
}

.bg-circle-yellow {
  background-color: #fdf3e3;
}

.bg-circle-purple {
  background-color: #f2edf9;
}

.basic-card-ttl {
  font-size: 25px;
  font-weight: 900;
  color: #1A3484;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.basic-card-desc {
  font-size: 17px;
  font-weight: 500;
  color: #1A3484;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.basic-plus-btn-wrap {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
}

.basic-plus-btn {
  position: absolute;
  top: calc(100% + -5px); 
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #2d6bd4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(20, 60, 140, 0.25);
  z-index: 10;
}

/* 選べるオプションコース */
.section-option-course {
  position: relative;
  z-index: 1;
  padding: 120px 20px 100px;
  background-color: #fff;
  background-image: 
    linear-gradient(#eee 1.5px, transparent 1.5px),
    linear-gradient(90deg, #eee 1.5px, transparent 1.5px);
  background-size: 50px 50px;
}

.option-container {
  max-width: 1100px;
  margin: 0 auto;
}

.option-main-heading {
  text-align: center;
  margin-bottom: 45px;
}

.option-main-ttl {
  font-size: 35px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.option-main-sub {
  font-size: 30px;
  font-weight: 700;
  color: #1A3484;
  letter-spacing: 0.03em;
}

.option-box {
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid #1A3484;
}

.option-box-header {
  padding: 16px 20px;
  text-align: center;
  color: #fff;
}

.option-box-header h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.opt-green .option-box-header {
  background-color: #188d31;
}

.opt-orange .option-box-header {
  background-color: #f38f00;
}

.opt-purple .option-box-header {
  background-color: #9240db;
}

.option-box-body {
  padding: 45px 30px;
}

.opt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.opt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 20px;
}

.opt-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.opt-icon-img {
  width: 120px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.opt-icon-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.opt-fa-icon {
  font-size: 48px;
  color: #1A3484;
}

.opt-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.opt-card-name span {
  font-size: 16px;
  font-weight: 500;
}

.opt-small-note {
  font-size: 15px !important;
}

.purple-body {
  padding: 50px 36px 60px;
}

.purple-lead-text {
  text-align: center;
  margin-bottom: 30px;
}

.lead-strong {
  font-size: 25px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.6;
  margin-bottom: 10px;
}

.lead-sub {
  font-size: 20px;
  font-weight: 500;
  color: #333333;
  line-height: 1.65;
  padding-top: 15px;
}

.point-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 34px;
}

.point-pen-chara {
  width: 100px;
  display: flex;
}

.point-pen-chara img {
  width: 100%;
  height: auto;
}

.point-heading-title {
  font-size: 35px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
}

.point-heading-title span {
  font-size: 55px;
  margin-right: 3px;
}

.point-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 30px;
}

.point-photo-card {
  display: flex;
  flex-direction: column;
}

.point-thumb {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.point-title {
  font-size: 25px;
  font-weight: 900;
  color: #1A3484;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.point-desc {
  font-size: 17px;
  font-weight: 500;
  color: #3b4252;
  line-height: 1.6;
  padding-top: 15px;
}

.option-click-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f0f4f9;
  border: 1px dashed #3058a6;
  border-radius: 30px;
  padding: 8px 20px;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #1A3484;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.option-click-note i {
  font-size: 16px;
  color: #3075D9;
}

/* 卒業後の進路 */
.section-career {
  position: relative;
  background-color: #fff;
  padding: 80px 20px 105px;
  overflow: hidden;
  --career-parallax-y: 0px; 
}

.section-career::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: 0px;
  width: 50%;
  height: 100%;
  background-image: url('../img/bk-voice.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translateY(var(--career-parallax-y));
  transition: transform 0.1s ease-out;
}

.career-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.career-heading-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.career-title-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.career-title {
  font-size: 40px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
}

.career-chara {
  position: absolute;
  right: -120px;
  top: -65px;
  width: 95px;
}

.career-chara img {
  width: 100%;
  height: auto;
}

.career-sub {
  font-size: 30px;
  font-weight: 700;
  color: #1A3484;
  letter-spacing: 0.04em;
}

.career-vertical-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 0;
}

.career-top-box {
  width: 100%;
  max-width: 320px;
}

.career-top-card {
  background-color: #fff;
  border-radius: 20px;
  border: 2px solid #1A3484;
  padding: 30px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(27, 85, 155, 0.1);
}

.top-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #eaf3fb !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.top-circle img {
  width: 85px;
  height: 65px;
  object-fit: contain;
}

.top-card-ttl {
  font-size: 26px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
}

.career-down-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0 30px;
}

.connector-arrow-down {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #3075D9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(48, 117, 217, 0.35);
}

.career-5choices-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 20px;
  width: 100%;
}

.career-5choices-grid .career-choice-card {
  width: calc((100% - 40px) / 3); 
  max-width: 330px;
  background-color: #fff;
  border-radius: 18px;
  padding: 26px 20px 24px;
  border: 1.5px solid #d8e5f5;
  box-shadow: 0 6px 18px rgba(27, 85, 155, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.career-5choices-grid .career-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(27, 85, 155, 0.12);
}

.career-choice-card .step-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #FFFFF0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.career-choice-card .step-icon-circle img {
  width: 85px;
  height: 65px;
  object-fit: contain;
}

.career-choice-card .step-card-ttl {
  font-size: 23.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.choice-pink .step-card-ttl {
  color: #D9085E; 
}

.choice-green .step-card-ttl {
  color: #008A32; 
}

.choice-orange .step-card-ttl {
  color: #FD9327; 
}

.choice-purple .step-card-ttl {
  color: #9E41FB; 
}

.choice-navy .step-card-ttl {
  color: #00A29B; 
}

.career-choice-card .step-card-desc {
  font-size: 17px;
  font-weight: 500;
  color: #2b3345;
  text-align: left;
  line-height: 1.55;
  letter-spacing: 0.01em;
  width: 100%;
}

/* よくある質問 */
.section-faq {
  position: relative;
  background-color: #EBF5FE; 
  padding: 80px 20px 100px;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-main-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
  margin-bottom: 45px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(27, 85, 155, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.faq-q-icon {
  font-size: 45px;
  color: #3075D9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-q-text {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  color: #3075D9;
  line-height: 1.45;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.faq-arrow {
  font-size: 18px;
  color: #3075D9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.is-open .faq-question {
  background-color: #3075D9;
}

.faq-item.is-open .faq-q-icon,
.faq-item.is-open .faq-q-text,
.faq-item.is-open .faq-arrow {
  color: #fff;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #fff;
}

.faq-answer-inner {
  padding: 22px 30px 28px 68px; 
}

.faq-answer-inner p {
  font-size: 18px;
  font-weight: 500;
  color: #2b3345;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* 保護者の皆さまへ  */
.section-parents {
  position: relative;
  background-image: url('../img/bk-hogosya.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 80px 20px 90px;
}

.parents-container {
  max-width: 1100px;
  margin: 0 auto;
}

.parents-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 48px 50px 52px;
  box-shadow: 0 10px 30px rgba(10, 35, 90, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.parents-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.parents-title {
  font-size: 40px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.parents-divider {
  width: 100%;
  border-bottom: 1.5px dashed #4b6cb7;
  margin-bottom: 30px;
}

.parents-text {
  text-align: left;
}

.parents-lead {
  font-size: 20px;
  font-weight: 700;
  color: #1a233a;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.parents-sub {
  font-size: 20px;
  font-weight: 700;
  color: #1a233a;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* お問い合わせ・資料請求 */
.section-cta {
  position: relative;
  background-image: url('../img/bk-cta.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  padding: 100px 20px 110px;
  overflow: hidden;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; 
  min-height: 280px;
}

.cta-btn-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.cta-btn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 450px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.cta-balloon {
  position: relative;
  background-color: #fff;
  border-radius: 30px;
  padding: 10px 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-bottom: -10px; 
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.04em;
  z-index: 5;
  will-change: transform;
}

.balloon-blue span {
  color: #1A3484;
}

.balloon-orange span {
  color: #e58700;
}

.cta-balloon::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #fff transparent transparent transparent;
}

@keyframes ctaFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.cta-btn-item:hover .cta-balloon {
  animation: ctaFloat 1.2s ease-in-out infinite;
}

.cta-btn {
  width: 100%;
  height: 90px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px 0 32px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.cta-btn-blue {
  background-color: #3E7AD9;
  box-shadow: 0 6px 0 #284da8, 0 10px 20px rgba(25, 60, 150, 0.25);
}

.cta-btn-blue:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #284da8, 0 5px 10px rgba(25, 60, 150, 0.25);
}

.cta-btn-orange {
  background-color: #F2A039;
  box-shadow: 0 6px 0 #b37000, 0 10px 20px rgba(180, 100, 0, 0.25);
}

.cta-btn-orange:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #b37000, 0 5px 10px rgba(180, 100, 0, 0.25);
}

.cta-btn-text {
  font-size: 25px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cta-btn-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.cta-btn-blue .cta-btn-arrow {
  color: #3E7AD9;
}

.cta-btn-orange .cta-btn-arrow {
  color: #F2A039;
}


/* フッター */
.footer {
  position: relative;
  width: 100%;
}

.footer-main {
  background-color: #408E27; 
  padding: 34px 20px 28px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1); 
}

.footer-logo-text {
  font-size: 35px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.15em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sns-btn:hover {
  opacity: 0.85;
}

.sns-twitter {
  background-color: #1d9bf0;
}

.sns-line {
  background-color: #06c755;
}

.footer-nav {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  padding-top: 10px;
  margin: 0;
}

.footer-nav li {
  display: flex;
  align-items: center;
}

.footer-nav li::before {
  content: "|";
  color: rgba(255, 255, 255, 0.7);
  margin: 0 12px;
  font-size: 12px;
}

.footer-nav li:last-child::after {
  content: "|";
  color: rgba(255, 255, 255, 0.7);
  margin-left: 12px;
  font-size: 12px;
}

.footer-nav li a {
  color: #fff !important; 
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

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

.footer-bottom {
  background-color: #2B6519; 
  padding: 12px 20px;
  text-align: center;
  width: 100%;
}

.copyright {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: 'Arial', sans-serif;
  margin: 0;
}

.page-top-btn {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #4f9611;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.page-top-btn:hover {
  background-color: #5ea81b;
  transform: translateY(-50%) scale(1.08);
}


/* モーダル */
.opt-icon-card.js-modal-open {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.opt-icon-card.js-modal-open:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

.course-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.course-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 30, 60, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
}

.modal-window {
  position: relative;
  z-index: 70;
  background: #fff;
  width: 100%;
  max-width: 820px;
  border-radius: 24px;
  padding: 45px 50px 40px;
  box-shadow: 0 20px 50px rgba(10, 30, 70, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.course-modal.is-active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f4f9;
  border: none;
  font-size: 20px;
  color: #1A3484;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
  background: #e1ebf6;
  transform: rotate(90deg);
}

.modal-title {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.modal-dashed-line {
  width: 100%;
  border-bottom: 2px dashed #3058a6;
  margin-bottom: 24px;
}

.modal-lead {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.modal-table-wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 30px;
}

.modal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
}

.modal-table tr {
  border-bottom: 1.5px dashed #bccde2;
}

.modal-table th {
  width: 32%;
  background-color: #c4d6e7; 
  color: #1A3484;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  padding: 14px 12px;
  letter-spacing: 0.03em;
}

.modal-table td {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #1A3484;
  border-bottom: 1px dashed #b9cbe0;
  background-color: #fff;
}

.modal-table td .time-text {
  font-size: 17px;
  font-weight: 800;
  margin-right: 14px;
}

.modal-table td .note-star {
  font-size: 13.5px;
  font-weight: 600;
  color: #1A3484;
}

.modal-bottom-box {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1.5px solid #a8c1e2;
  border-radius: 14px;
  padding: 16px 24px;
  background-color: #fff;
  max-width: 680px;
  margin: 0 auto;
}

.modal-pen-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-pen-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-bottom-text {
  font-size: 16px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.modal-recommend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto 36px;
}

.modal-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #c4d6e7; 
  padding: 8px 16px 8px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

.rec-badge-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-badge-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rec-badge-ttl {
  font-size: 15px;
  font-weight: 800;
  color: #1A3484;
  letter-spacing: 0.02em;
}

.modal-rec-text {
  font-size: 15px;
  font-weight: 700;
  color: #1A3484;
  letter-spacing: 0.02em;
}

.modal-voice-head {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #1A3484;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}


.modal-chat-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.modal-chat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-balloon {
  position: relative;
  background-color: #eef3f7; 
  border-radius: 10px;
  padding: 16px 20px;
  flex: 1;
}

.chat-balloon p {
  font-size: 14.5px;
  font-weight: 700;
  color: #1A3484;
  line-height: 1.6;
  margin: 0;
}

.chat-left .chat-balloon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 9px 7px 0;
  border-color: transparent #eef3f7 transparent transparent;
}

.chat-right .chat-balloon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 9px;
  border-color: transparent transparent transparent #eef3f7;
}