html {
  scroll-behavior: smooth;
}
p {
  margin-bottom: 0 !important;
}
a {
  text-decoration: none;
}

:root {
  --nav-h: 56px; /* 初期値（JSで上書き） */
  --tagline-h: 40px; /* 初期値（JSで上書き） */
}

.circle {
  width: 220px;
  height: 220px;
  line-height: 220px;
  background-color: #27939d;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  border: solid white;
}

.stepcard {
  border-radius: 16px;
  border: 1px solid #27939d;
  box-shadow: 10px 10px 0px 0px rgba(13, 126, 140, 0.3);
  min-width: 380px;
  max-width: 1200px;
}

.applycard {
  background-color: #ffffff;
  border: 1px solid #27939d;
  width: auto;
  height: 500px;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 10px 10px 0px 0px rgba(13, 126, 140, 0.3);
}

.shadow-black {
  box-shadow: 5px 5px 0px 0px black;
}

.button-apply-bottom {
  width: 100%;
  height: 80px;
  max-width: 100%;
  border: 0px solid var(--button-hover);
  background-color: var(--button-hover);
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(279deg, #fee680, #439199 46%, #1c6a72);
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, 0.5);
}

.footer-divider-copy {
  width: 100%;
  height: 1px;
  background-color: #000;
  margin-top: 70px;
  margin-bottom: 15px;
}

/* ナビ設定=========== */
.nav-component {
  width: 100%;
  background-color: #006069;
  padding: 10px 3%;
  position: fixed;
}

.nav-component {
  padding-top: 10px;
  padding-bottom: 10px;
}

.kutup-nav-container-3 {
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.kutup-first-element-2 {
  order: -1;
}

.kutup-social-wrapper-flex-2 {
  grid-column-gap: 15px;
  display: flex;
}

.kutup-shrink-item-2 {
  z-index: 1;
  flex: 1;
  position: relative;
}

.kutup-flex-center-2 {
  justify-content: center;
  display: flex;
}

.kutup-nav-link-2 {
  color: white;
  -webkit-text-stroke-color: white;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.kutup-nav-link-2:hover {
  color: #ffbf00;
}

.kutup-nav-link-2:active {
  color: #cbc100;
}

.kutup-menu-button-2 {
  order: 1;
  padding-top: 15px;
  padding-left: 30px;
}

.kutup-menu-button-2.w--open {
  background-color: rgba(0, 0, 0, 0);
}

.kutup-nav-link-2:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.kutup-nav-link-2:active {
  background-color: rgba(0, 0, 0, 0.2);
}

.kutup-dropdown-arrow-2 {
  margin-right: 30px;
}

.kutup-dropdown-toggle-2 {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.kutup-dropdown-2 {
  width: 100%;
}

.kutup-nav-menu-2 {
  background-color: #006069;
}

.section-applicationheader {
  display: flex;
  justify-content: center;
}

.textarea {
  width: 100%;
  max-width: 860px;
}

.button-apply-bottom01 {
  height: 50px;
  color: #000;
  text-align: center;
  background-color: #ffbf00;
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.button-apply-bottom02 {
  height: 70px;
  border: 0px solid var(--button-hover);
  background-color: var(--button-hover);
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.6);
  background: linear-gradient(92deg, #de3d63 0%, #fa6381 81.81%, #f371bc 98.57%);
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.bottom-text {
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  display: inline-flex;
  align-items: center;
}
.course-spec-pink {
  background-color: #e84468;
  border-radius: 8px;
  padding: 8px;
  color: white;
  text-align: center;
  width: 100%;
}
.course-spec-blue {
  background-color: #0092d0;
  border-radius: 8px;
  padding: 8px;
  color: white;
  text-align: center;
  width: 100%;
}
.course-spec-red {
  background-color: #d90c37;
  border-radius: 8px;
  padding: 8px;
  color: white;
  text-align: center;
  width: 100%;
}
/* sp横 pc縦 */
.sp-break-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.course-spec h1 {
  font-size: 18px !important;
}
.course-spec h2 {
  font-size: 18px !important;
}
.course-desc {
  font-size: 16px !important;
  font-weight: 500;
  height: 45px;
}
.course-title {
  font-size: 24px !important;
  font-weight: 700;
}
.course-num {
  font-size: 48px !important;
  font-weight: 700;
}
.course {
  height: 160px;
}
.footer-copyright {
  margin-bottom: 80px;
}

.badge-before,
.badge-after {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 9999px;
  font-weight: bold;
  color: white;
  letter-spacing: 0.05em;
}
.badge-before {
  background-color: #006069; /* mainGreen-700 */
}
.badge-after {
  background-color: #e16206; /* mainOrange-600 */
}

.text-tagline {
  font-size: 24px;
  font-weight: 500;
  white-space: normal;
}

/* navbar + tagline をまとめたヘッダー全体 */
.header-wrapper {
  transition: transform 0.35s ease-in-out;
  will-change: transform;
  z-index: 1030;
}

/* スクロールで隠す */
.header-wrapper.nav-hide {
  transform: translateY(-100%);
}

/* navbar自体は固定（内部構造用） */
.custom-navbar {
  background-color: #006069;
}

/* tagline */
.custom-tagline {
  background-color: #006069;
  color: white;
}

.about-text {
  font-size: 24px;
  font-weight: bold;
}

.section-ba {
  width: 100%;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.container-ba {
  width: 100%;
  max-width: 750px;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  background-image: url("../images/green_bg.png");
  background-position: 0 0;
  background-size: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
  padding: 40px 24px;
}

.ba-text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

/* 白い枠：全ページ共通幅 */
.ba-carousel .ba-frame {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  margin-top: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 32px 24px 64px; /* 下はドット用の余白 */
}

.ba-carousel .carousel-item {
  height: 400px;
}

.ba-carousel .ba-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px; /* ← ★左右に余白を追加（矢印の内側に収める） */
}

.ba-carousel .ba-chip {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 700;
  color: #fff;
}
.ba-carousel .ba-chip--before {
  background: #006069;
}
.ba-carousel .ba-chip--after {
  background: #e16206;
}

.ba-carousel .ba-text {
  margin: 12px 0;
  line-height: 1.9;
}

.ba-carousel .ba-arrow {
  width: 20px;
  height: auto;
  margin: 8px 0 12px;
}

.ba-carousel .ba-illust {
  margin-top: 10px;
  height: 140px;
  width: auto;
}

/* 矢印位置：白枠の左右中央＆既定幅解除 */
.ba-carousel .carousel-control-prev,
.ba-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 8px;
  opacity: 0.9;
}

.ba-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23006069' viewBox='0 0 16 16'%3E%3Cpath d='M11 1 3 8l8 7'/%3E%3C/svg%3E");
}

.ba-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23006069' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E");
}

.ba-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border: 0; /* 枠線は不要 */
  border-radius: 50%;
  background-color: #006069; /* ←白で消える問題を解消 */
  opacity: 0.35; /* 非アクティブは薄く */
  box-shadow: 0 0 0 2px #fff; /* 白背景でも縁で視認性UP（任意） */
}

.ba-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: #006069; /* アクティブは濃く */
}

.staticarea-pc {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.staticarea-pc .pc-button {
  display: inline-block;
  background-color: #ffbf00;
  color: #000;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}

.bottom-text svg {
  margin-left: 8px;
  vertical-align: middle;
}

#solutionCarousel {
  max-width: 920px;
  margin: 0 auto;
  height: 640px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 32px 24px 64px;
}

#solutionCarousel .quote {
  text-align: center;
}
#solutionCarousel .m3-title-large {
  font-weight: 700;
  color: #006069;
  font-size: 1.6rem;
}
#solutionCarousel .line {
  display: block;
  margin: 8px auto 16px;
  width: 60%;
}
#solutionCarousel .img_solution {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}
#solutionCarousel .carousel-control-prev-icon,
#solutionCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23006069' viewBox='0 0 16 16'%3E%3Cpath d='M11 1 3 8l8 7'/%3E%3C/svg%3E");
}
#solutionCarousel .carousel-control-next-icon {
  transform: rotate(180deg);
}
#solutionCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #006069;
  opacity: 0.4;
  border: 0;
  margin: 0 6px;
}
#solutionCarousel .carousel-indicators .active {
  opacity: 1;
}

@media screen and (max-width: 992px) {
  .circle {
    width: 160px;
    height: 160px;
    line-height: 160px;
  }

  .bottom-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
  }

  .staticarea-pc {
    display: none !important;
  }

  .staticarea {
    z-index: 110;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    position: fixed;
    top: auto;
    bottom: 0%;
    left: 0%;
    right: 0%;
    display: none;
  }
}

@media screen and (max-width: 576px) {
  .course {
    height: auto;
  }
  .course-num {
    font-size: 48px !important;
    font-weight: 700;
  }
  .course-desc {
    font-size: 16px !important;
    height: auto;
  }
  .course-title {
    font-size: 32px !important;
    font-weight: 700;
  }
  .course-spec h1 {
    font-size: 16px !important;
  }
  .course-spec h2 {
    font-size: 14px !important;
  }
  .sp-break-row {
    flex-direction: row;
  }
  .textarea {
    max-width: 100%;
  }

  .bottom-text {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
  }
  .footer-copyright {
    margin-bottom: 10px;
  }

  .section-ba {
    padding: 0;
  }

  .text-tagline {
    font-size: 16px;
  }

  .about-text {
    font-size: 18px;
    font-weight: bold;
  }

  .ba-carousel .carousel-item {
    height: 480px;
  }
}

.slash {
  position: relative;
  display: inline-block;
  text-align: center;
}

.slash::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  width: 2px;
  height: 100%;
  background: #000;
  transform: rotate(-20deg);
  transform-origin: top left;
}

.slash::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 2px;
  height: 100%;
  background: #000;
  transform: rotate(20deg);
  transform-origin: top right;
}

.carousel-firstview-img {
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

@media (min-width: 993px) {
  .staticarea.d-flex {
    display: none !important;
  }
}
