/* =========================================================
  Biotrust Front Page
========================================================= */

.bt-front {
  color: #222;
  line-height: 1.8;
  overflow: hidden;
}

.bt-front * {
  box-sizing: border-box;
}

.bt-front a {
  transition: .25s ease;
}

.bt-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pc-only {
  display: inline;
}

/* HERO */
.bt-hero {
  position: relative;
  min-height: 720px;
  background-image: url("https://biotrust.jp/wp-content/uploads/2018/08/mainvisual.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.bt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .12));
}

.bt-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 80px;
}

.bt-hero__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .08em;
}

.bt-hero__title {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .22);
}

.bt-hero__text {
  max-width: 760px;
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .24);
}

.bt-hero__buttons,
.bt-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bt-buttons--center {
  justify-content: center;
}

/* BUTTON */
.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}

.bt-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.bt-btn--primary {
  background: #1E38E3;
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 56, 227, .24);
}

.bt-btn--primary:hover {
  color: #fff;
  opacity: .9;
}

.bt-btn--white {
  background: #fff;
  color: #1E38E3;
}

.bt-btn--white:hover {
  color: #1E38E3;
  opacity: .92;
}

.bt-btn--outline {
  border: 1px solid #1E38E3;
  color: #1E38E3;
  background: #fff;
}

.bt-btn--outline:hover {
  background: #1E38E3;
  color: #fff;
}

.bt-btn--line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 199, 85, .24);
}

.bt-btn--line:hover {
  color: #fff;
  opacity: .9;
}

/* SECTION */
.bt-section {
  padding: 120px 0;
}

.bt-front .bt-section {
  background: #fff;
}

.bt-section:nth-of-type(odd) {
  background: #f4f7ff;
}

.bt-front .bt-line {
  background: linear-gradient(135deg, #eefbf3, #f7fff9);
}

.bt-section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.bt-section-label {
  margin: 0 0 8px;
  color: #1E38E3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bt-section-head h2,
.bt-message h2,
.bt-alma h2,
.bt-line h2,
.bt-final-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
  font-weight: 700;
}

.bt-section-head p {
  margin: 0;
  color: #555;
}

/* CARD GRID */
.bt-card-grid {
  display: grid;
  gap: 24px;
}

.bt-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.bt-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bt-guide-card,
.bt-support-card,
.bt-step-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.bt-guide-card {
  display: block;
  color: #222;
  text-decoration: none;
  transition: .25s ease;
  border: 1px solid rgba(30, 56, 227, .08);
}

.bt-guide-card:hover {
  color: #222;
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(30, 56, 227, .12);
}

.bt-guide-card__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: #eef2ff;
  color: #1E38E3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.bt-guide-card h3,
.bt-support-card h3,
.bt-step-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
}

.bt-guide-card p,
.bt-support-card p,
.bt-step-card p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* MESSAGE */
.bt-message__inner,
.bt-alma__inner,
.bt-line__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
}

.bt-message__text p,
.bt-alma__text p,
.bt-line__text p {
  color: #555;
}

.bt-message__image img,
.bt-alma__image img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .12);
}

/* SUPPORT */
.bt-support-card {
  position: relative;
  overflow: hidden;
}

.bt-support-card__num {
  margin-bottom: 18px;
  color: #1E38E3;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  opacity: .28;
}

/* ALMA */
.bt-alma {
  background: #fff;
}

.bt-check-list {
  margin: 24px 0 28px;
}

.bt-check-list p {
  position: relative;
  margin: 8px 0;
  padding-left: 28px;
  color: #222;
  font-weight: 600;
}

.bt-check-list p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1E38E3;
  font-weight: 700;
}

/* STEP */
.bt-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bt-step-card {
  display: block;
  color: #222;
  text-decoration: none;
  border: 1px solid rgba(30, 56, 227, .1);
  transition: .25s ease;
}

.bt-step-card:hover {
  color: #222;
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(30, 56, 227, .12);
}

.bt-step-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #1E38E3;
  font-weight: 700;
  letter-spacing: .08em;
}

/* NEWS */
.bt-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bt-news-card {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.bt-news-card a {
  color: #222;
  text-decoration: none;
}

.bt-news-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.bt-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.bt-news-card:hover .bt-news-card__thumb img {
  transform: scale(1.05);
}

.bt-news-card__body {
  padding: 18px 18px 22px;
}

.bt-news-card__body time {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 13px;
}

.bt-news-card__body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.bt-center {
  margin-top: 38px;
  text-align: center;
}

/* INSTAGRAM */
.bt-instagram {
  background: #fff;
}

.bt-instagram-feed {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* LINE */
.bt-line {
  background: linear-gradient(135deg, #eefbf3, #f7fff9);
}

.bt-line__inner {
  grid-template-columns: 1fr auto;
}

.bt-line__button {
  text-align: right;
}

/* FINAL CTA */
.bt-final-cta {
  padding: 100px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(30, 56, 227, .94), rgba(55, 122, 255, .88)), url("https://biotrust.jp/wp-content/uploads/2018/08/mainvisual.jpg");
  background-size: cover;
  background-position: center;
}

.bt-final-cta p {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: .08em;
}

.bt-final-cta h2 {
  color: #fff;
  margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 980px) {

  .bt-card-grid--4,
  .bt-card-grid--3,
  .bt-step-list,
  .bt-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-message__inner,
  .bt-alma__inner,
  .bt-line__inner {
    grid-template-columns: 1fr;
  }

  .bt-line__button {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .bt-container,
  .bt-hero__inner,
  .bt-instagram-feed {
    width: min(100% - 28px, 1120px);
  }

  .bt-hero {
    min-height: 640px;
    background-position: center;
  }

  .bt-hero__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .2));
  }

  .bt-hero__inner {
    padding: 120px 0 60px;
  }

  .bt-hero__label {
    font-size: 12px;
  }

  .bt-hero__text {
    font-size: 15px;
    line-height: 1.9;
  }

  .bt-section {
    padding: 64px 0;
  }

  .bt-section-head {
    text-align: left;
    margin-bottom: 30px;
  }

  .bt-card-grid--4,
  .bt-card-grid--3,
  .bt-step-list,
  .bt-news-grid {
    grid-template-columns: 1fr;
  }

  .bt-guide-card,
  .bt-support-card,
  .bt-step-card {
    padding: 24px;
    border-radius: 18px;
  }

  .bt-hero__buttons,
  .bt-buttons {
    flex-direction: column;
  }

  .bt-btn {
    width: 100%;
    min-width: auto;
  }

  .bt-final-cta {
    padding: 72px 0;
  }
}

/* =========================================================
  Biotrust Front Page - Update
========================================================= */


/* ヒーロー画像が未設定でも自然系に見える仮背景 */
.bt-front .bt-hero {
  position: relative;
  min-height: 800px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #e8f7d8 0%, #b9df8a 42%, #6ba84f 100%);
  background-image: url("https://biotrust.jp/wp-content/themes/biotrust_child/lp/toppage/img/top-hero-pc.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

/* ヒーロー微調整 */
.bt-front .bt-hero__overlay {
  background: linear-gradient(90deg,
      rgba(30, 35, 25, .46) 0%,
      rgba(30, 35, 25, .28) 40%,
      rgba(30, 35, 25, .08) 72%,
      rgba(30, 35, 25, .02) 100%);
}

.bt-front .bt-hero__title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.43;
  letter-spacing: .03em;
}

.bt-front .bt-hero__text {
  font-size: 16px;
  line-height: 2;
}

/* はじめての方カード内のサービス名 */
.bt-front .bt-guide-card__service {
  margin: -4px 0 10px;
  color: #1E38E3 !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.5;
}

/* LINE登録メリット */
.bt-front .bt-line-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.bt-front .bt-line-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}

.bt-front .bt-line-benefits span::before {
  content: "✓";
  margin-right: 6px;
  color: #06C755;
  font-weight: 700;
}

/* トップページだけ、フッター側の旧アルマフェンテ購入エリアを非表示にする候補 */
body.page-template-template-front-biotrust .alma-footer-area,
body.page-template-template-front-biotrust .footer-almafuente,
body.page-template-template-front-biotrust .almafuente-footer,
body.page-template-template-front-biotrust .footer-banner-area,
body.page-template-template-front-biotrust .footer_cta,
body.page-template-template-front-biotrust .bottom_banner,
body.page-template-template-front-biotrust .bottom-banner,
body.page-template-template-front-biotrust .footer_banner,
body.page-template-template-front-biotrust .footer-banner {
  display: none !important;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .bt-front .bt-hero {
    min-height: 680px;
    background:
      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 32%),
      linear-gradient(145deg, #dff4cf 0%, #9fce72 8%, #5d9347 10%);
    background-image: url("https://biotrust.jp/wp-content/themes/biotrust_child/lp/toppage/img/top-hero-sp.jpg");
    background-size: 145% auto;
    background-position: 50% 85%;
    background-repeat: no-repeat;
    background-color: #dfe6d2;
  }

  .bt-front .bt-hero__overlay {

    background: linear-gradient(180deg,
        rgba(30, 35, 25, .34) 0%,
        rgba(30, 35, 25, .28) 48%,
        rgba(30, 35, 25, .20) 100%);
  }

  .bt-front .bt-line-benefits {
    gap: 8px;
  }

  .bt-front .bt-line-benefits span {
    font-size: 12px;
    padding: 6px 12px;
  }
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}


/* =========================================================
  Card Design Upgrade
========================================================= */

/* はじめての方へ：目的別カード */
.bt-front .bt-beginner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bt-front .bt-beginner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid rgba(30, 56, 227, .08);
  border-radius: 24px;
  color: #222;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
  overflow: hidden;
  transition: .28s ease;
}

.bt-front .bt-beginner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: #1E38E3;
  opacity: .9;
}

.bt-front .bt-beginner-card--learn::before {
  background: #1E38E3;
}

.bt-front .bt-beginner-card--alma::before {
  background: #06C755;
}

.bt-front .bt-beginner-card--cert::before {
  background: #f59e0b;
}

.bt-front .bt-beginner-card--community::before {
  background: #8b5cf6;
}

.bt-front .bt-beginner-card:hover {
  color: #222;
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(30, 56, 227, .13);
}

.bt-front .bt-beginner-card__tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1E38E3;
  font-size: 12px;
  font-weight: 700;
}

.bt-front .bt-beginner-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 2.55;
  font-weight: 700;
  min-height: 50px;
}


.bt-front .bt-beginner-card__text {
  margin: 0;
  color: #555;
  font-size: 14.5px;
  line-height: 1.85;
  min-height: 96px;
}

.bt-front .bt-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  color: #1E38E3;
  font-size: 13px;
  font-weight: 700;
}

.bt-front .bt-card-link::after {
  content: "→";
  margin-left: 6px;
  transition: .2s ease;
}

.bt-front .bt-beginner-card:hover .bt-card-link::after {
  transform: translateX(4px);
}

/* 3つのサポート：ブランドの柱 */
.bt-front .bt-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bt-front .bt-support-card--new {
  position: relative;
  padding: 34px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, 1)),
    radial-gradient(circle at top right, rgba(30, 56, 227, .14), transparent 34%);
  border: 1px solid rgba(30, 56, 227, .08);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.bt-front .bt-support-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bt-front .bt-support-card--new .bt-support-card__num {
  margin: 0;
  color: #1E38E3;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  opacity: .22;
}

.bt-front .bt-support-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1E38E3;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(30, 56, 227, .22);
}

.bt-front .bt-support-card--new h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
}

.bt-front .bt-support-card--new p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.bt-front .bt-support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.bt-front .bt-support-tags span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f2f5ff;
  color: #1E38E3;
  font-size: 13px;
  font-weight: 700;
}

/* 学びを深めるステップ：流れを見せる */
.bt-front .bt-step-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: stretch;
  gap: 0;
}

.bt-front .bt-step-flow-card {
  position: relative;
  display: block;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid rgba(30, 56, 227, .09);
  border-radius: 28px;
  color: #222;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
  transition: .28s ease;
}

.bt-front .bt-step-flow-card:hover {
  color: #222;
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(30, 56, 227, .13);
}

.bt-front .bt-step-flow-card__step {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 13px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1E38E3;
  font-size: 12px;
  font-weight: 700;
}

.bt-front .bt-step-flow-card__circle {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E38E3, #5570ff);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(30, 56, 227, .22);
}

.bt-front .bt-step-flow-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
}

.bt-front .bt-step-flow-card p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.bt-front .bt-step-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  background: rgba(30, 56, 227, .28);
}

.bt-front .bt-step-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid rgba(30, 56, 227, .45);
  border-right: 2px solid rgba(30, 56, 227, .45);
  transform: translateY(-50%) rotate(45deg);
}

.bt-front .bt-line .bt-btn {
  min-width: 240px;
  padding: 14px 30px;
}

/* 旧カードCSSとの干渉を軽減 */
.bt-front .bt-support .bt-card-grid,
.bt-front .bt-step .bt-step-list {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .bt-front .bt-beginner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-front .bt-support-grid {
    grid-template-columns: 1fr;
  }

  .bt-front .bt-step-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bt-front .bt-step-arrow {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: rgba(30, 56, 227, .28);
  }

  .bt-front .bt-step-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 768px) {
  .bt-front .bt-beginner-grid {
    grid-template-columns: 1fr;
  }

  .bt-front .bt-beginner-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .bt-front .bt-support-card--new {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .bt-front .bt-step-flow-card {
    padding: 28px 24px;
    border-radius: 24px;
  }
}

/* スマホではやりすぎない */

@media (max-width: 768px) {
  .bt-front .bt-step-flow-card {

    padding: 28px 24px;

  }

  .bt-front .bt-line .bt-btn {

    width: 100%;

    min-width: auto;

  }
}

/* アルマフェンテ見出しの不自然な単語分割を防ぐ */
.bt-front .bt-nowrap {
  white-space: nowrap;
}

.bt-front .bt-alma__heading {
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 768px) {
  .bt-front .bt-alma__heading {
    font-size: clamp(26px, 7vw, 34px);
  }
}

/* =========================================================
  Learning Step Arrow Adjustment
========================================================= */

.bt-front .bt-step-flow {
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
}

.bt-front .bt-step-arrow {
  position: relative;
  align-self: center;
  width: 42px;
  height: 2px;
  background: #b8c5ff;
  opacity: 1;
}

.bt-front .bt-step-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 3px solid #8ea0ff;
  border-right: 3px solid #8ea0ff;
  transform: translateY(-50%) rotate(45deg);
}

/* スマホ・タブレットでは縦矢印 */
@media (max-width: 980px) {
  .bt-front .bt-step-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bt-front .bt-step-arrow {
    width: 2px;
    height: 34px;
    margin: 0 auto;
    background: #b8c5ff;
  }

  .bt-front .bt-step-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    width: 14px;
    height: 14px;
    border-top: 3px solid #8ea0ff;
    border-right: 3px solid #8ea0ff;
    transform: translateX(-50%) rotate(135deg);
  }
}

/* =========================================================
  Learning Step Arrow - Spacing Adjustment
========================================================= */

.bt-front .bt-step-flow {
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  column-gap: 0;
}

.bt-front .bt-step-arrow {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 42px;
  height: 2px;
  background: #b8c5ff;
  opacity: 1;
}

.bt-front .bt-step-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 3px solid #8ea0ff;
  border-right: 3px solid #8ea0ff;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 980px) {
  .bt-front .bt-step-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bt-front .bt-step-arrow {
    width: 2px;
    height: 34px;
    margin: 0 auto;
    background: #b8c5ff;
  }

  .bt-front .bt-step-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    width: 13px;
    height: 13px;
    border-top: 3px solid #8ea0ff;
    border-right: 3px solid #8ea0ff;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 768px) {
  .bt-front .bt-hero__title {
    font-size: clamp(33px, 8.4vw, 42px);
    line-height: 1.42;
    letter-spacing: .02em;
  }

  .bt-front .bt-hero__text {
    font-size: 14.5px;
    line-height: 1.95;
    font-weight: 600;
  }

  .bt-front .bt-hero__inner {
    padding: 62px 0 42px;
  }

  .bt-front .bt-hero .bt-btn {
    padding: 12px 22px;
    min-height: 56px;
    font-size: 15px;
    min-width: 220px;
  }

  .bt-front .bt-beginner-card h3 {
    min-height: auto;
    font-size: 18px;
  }

  .bt-front .bt-card-link {
    padding-top: 0;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .bt-front .bt-support-card--new h3 {
    font-size: 22px;
  }

  .bt-front .bt-support-card__top {
    margin-bottom: 16px;
  }

  .bt-front .bt-beginner-card__text {
    min-height: auto;
  }
}

/* =========================================================
  LINE Benefits - SP Layout
========================================================= */

@media (max-width: 768px) {
  .bt-front .bt-line-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .bt-front .bt-line-benefits span {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 16px;
    font-size: 14px;
  }
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
}

/* =========================================================
  Almafuente Section - SP Overflow Fix
========================================================= */

@media (max-width: 768px) {

  .bt-front .bt-alma,
  .bt-front .bt-alma__inner,
  .bt-front .bt-alma__text {
    max-width: 100%;
    overflow: hidden;
  }

  .bt-front .bt-alma__heading {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.45;
    letter-spacing: .01em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .bt-front .bt-alma__heading .bt-nowrap {
    white-space: normal;
  }

  .bt-front .bt-alma__text p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .bt-front .bt-alma .bt-buttons {
    width: 100%;
  }

  .bt-front .bt-alma .bt-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .bt-front .bt-hero__buttons {
    transform: translateY(35px);
  }
}


/* =========================================================
  Beginner Cards - Soft Colored Background
========================================================= */

.bt-front .bt-beginner-card {
  border: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

/* 腸活講座：ブルー */
.bt-front .bt-beginner-card--learn {
  background: #f3f6ff;
}

.bt-front .bt-beginner-card--learn::before {
  background: #1E38E3;
}

.bt-front .bt-beginner-card--learn .bt-beginner-card__tag {
  background: #ffffff;
  color: #1E38E3;
}

.bt-front .bt-beginner-card--learn .bt-card-link {
  color: #1E38E3;
}

/* アルマフェンテ：グリーン */
.bt-front .bt-beginner-card--alma {
  background: #eefbf3;
}

.bt-front .bt-beginner-card--alma::before {
  background: #16a34a;
}

.bt-front .bt-beginner-card--alma .bt-beginner-card__tag {
  background: #ffffff;
  color: #16a34a;
}

.bt-front .bt-beginner-card--alma .bt-card-link {
  color: #16a34a;
}

/* 認定講座：オレンジ */
.bt-front .bt-beginner-card--cert {
  background: #fff7ed;
}

.bt-front .bt-beginner-card--cert::before {
  background: #f59e0b;
}

.bt-front .bt-beginner-card--cert .bt-beginner-card__tag {
  background: #ffffff;
  color: #c77700;
}

.bt-front .bt-beginner-card--cert .bt-card-link {
  color: #c77700;
}

/* 学院：パープル */
.bt-front .bt-beginner-card--community {
  background: #f6f0ff;
}

.bt-front .bt-beginner-card--community::before {
  background: #8b5cf6;
}

.bt-front .bt-beginner-card--community .bt-beginner-card__tag {
  background: #ffffff;
  color: #7c3aed;
}

.bt-front .bt-beginner-card--community .bt-card-link {
  color: #7c3aed;
}

/* hoverも少しだけ色味を出す */
.bt-front .bt-beginner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .09);
}

/* footer非表示 */
.container-fluid,
.section {
  display: none;
}

.beginner-more-link {
  max-width: 680px;
  margin: 42px auto 0;
  padding: 24px 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(30, 56, 227, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
}

.beginner-guide-link {
  margin-top: 45px;
  text-align: center;
}

.beginner-guide-link p {
  margin: 0 0 10px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.beginner-guide-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e38e3;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(30, 56, 227, 0.25);
  padding-bottom: 3px;
  transition: 0.2s ease;
}

.beginner-guide-link a::after {
  content: "→";
  margin-left: 8px;
  transition: 0.2s ease;
}

.beginner-guide-link a:hover {
  opacity: 0.75;
}

.beginner-guide-link a:hover::after {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .beginner-guide-link {
    margin-top: 45px;
  }

  .beginner-guide-link p {
    font-size: 13.5px;
  }

  .beginner-guide-link a {
    font-size: 14.5px;
  }
}


.bt-front #bt-beginner {
  scroll-margin-top: 10px;
}

.bt-front #bt-line {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {
  .bt-front #bt-line {
    scroll-margin-top: 72px;
  }
}