/* ================================
   SUPPORT：バナー画像調整
================================ */

/* 支援するページのバナーを左右反転 */
.page-support
.c-page-hero__img--flip {
  /* 位置系 */
  transform-origin: center;

  /* 色装飾系：左右反転 */
  transform: scaleX(-1);
}


/* ================================
   SUPPORT：導入リード
================================ */

/* 見出しの下の説明テキストを中央寄せ */
.page-support
.support-intro__lead {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;

  /* ボックス系 */
  max-width: 40rem;

  /* タイポ系 */
  text-align: center;
}


/* ================================
   SUPPORT：寄付で支援（導入テキスト）
================================ */

.page-support
.support-donate-intro {
  /* 位置系 */
  margin-top: 3rem;
  margin-right: 0;
  margin-bottom: 3rem;
  margin-left: 0;
}

.page-support
.support-donate-intro__lead {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;

  /* ボックス系 */
  max-width: 780px;

  /* タイポ系 */
  text-align: center;
}


/* ================================
   SUPPORT：黄色ラベル（ファイル名バッジ）
================================ */

.page-support
.support-badge {
  /* 位置系 */
  position: absolute;
  top: 1rem;
  left: 1rem;

  /* ボックス系 */
  padding-top: 0.45rem;
  padding-right: 0.8rem;
  padding-bottom: 0.45rem;
  padding-left: 0.8rem;
  border-radius: 12px;

  /* タイポ系 */
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;

  /* 色装飾系 */
  color: #0b56c2;
  background-color: #ffea00;

  z-index: 5;
}


/* ================================
   SUPPORT：サポーター会員（画像カード）
================================ */

.page-support
.support-hero-card {
  /* 位置系 */
  position: relative;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 2.5rem;
  margin-left: 0;
}

.page-support
.support-hero-card__link {
  /* 位置系 */
  position: relative;

  /* ボックス系 */
  display: block;
  border-radius: 28px;
  overflow: hidden;

  /* タイポ系 */
  text-decoration: none;
}

.page-support
.support-hero-card__media {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.page-support
.support-hero-card__img {
  /* ボックス系 */
  width: 100%;
  height: auto;
  display: block;
}

/* ================================
   SUPPORT：個人の方バナー（余白）
================================ */

.page-support
.support-individual-hero {
  /* 位置系 */
  position: relative;

  margin-top: 2.5rem;
  margin-right: 0;
  margin-bottom: 3rem;
  margin-left: 0;
}


/* ================================
   SUPPORT：サポーター会員（説明テキスト）
================================ */

.page-support
.support-member-detail {
  /* 位置系 */
  margin-top: 4rem;
  margin-right: 0;
  margin-bottom: 4rem;
  margin-left: 0;
}

.page-support
.support-member-detail__headline {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
  margin-left: 0;

  /* タイポ系 */
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;

  /* 色装飾系 */
  color: var(--hero-orange);
}

.page-support
.support-member-detail__text {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;

  /* ボックス系 */
  max-width: 760px;

  /* タイポ系 */
  text-align: center;
}


/* ================================
   SUPPORT：1年間の支援でできること
================================ */

.page-support
.support-member-impact {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 5rem;
  margin-left: 0;
}

.page-support
.support-member-impact__headline {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 2.5rem;
  margin-left: 0;

  /* タイポ系 */
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;

  /* 色装飾系 */
  color: var(--hero-orange);
}

.page-support
.support-member-impact__list {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 2.5rem;
  margin-left: auto;

  /* ボックス系 */
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;

  max-width: 860px;

  list-style: none;
}

.page-support
.support-member-impact__item {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 2.2rem;
  margin-left: 0;

  /* ボックス系 */
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.page-support
.support-member-impact__icon {
  /* 位置系 */
  margin-top: 0.2rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* ボックス系 */
  width: 64px;
  flex: 0 0 64px;
}

.page-support
.support-member-impact__icon-img {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* ボックス系 */
  width: 100%;
  height: auto;
}

.page-support
.support-member-impact__text {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* タイポ系 */
  font-weight: 700;
  line-height: 1.9;
  text-align: left;

  /* 色装飾系 */
  color: var(--hero-black);
}

.page-support
.support-member-impact__message {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 1.2rem;
  margin-left: 0;

  /* タイポ系 */
  text-align: center;
  font-weight: 700;

  /* 色装飾系 */
  color: var(--hero-black);
}

.page-support
.support-member-impact__cta {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* タイポ系 */
  text-align: center;
}

.page-support
.support-member-impact__btn {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 1rem;
  margin-left: auto;

  /* ボックス系 */
  padding-top: 0.9rem;
  padding-right: 2.2rem;
  padding-bottom: 0.9rem;
  padding-left: 2.2rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;

  border-width: 3px;
  border-style: solid;
  border-color: var(--hero-orange);
  border-radius: 9999px;

  /* タイポ系 */
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;

  /* 色装飾系 */
  color: var(--hero-orange);
  background-color: #ffffff;
}

.page-support
.support-member-impact__btn:hover {
  /* 色装飾系 */
  background-color: #fff3ea;
  text-decoration: none;
}

.page-support
.support-member-impact__btn-icon {
  /* タイポ系 */
  font-size: 1.3rem;
  font-weight: 900;

  /* 色装飾系 */
  color: var(--hero-orange);
}

.page-support
.support-member-impact__note {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* タイポ系 */
  text-align: center;

  /* 色装飾系 */
  color: var(--hero-gray);
}


/* ================================
   SUPPORT：画像上タイトル（共通）
================================ */

/* 画像上に重ねるレイヤー */
.page-support
.support-hero-card__overlay {
  /* 位置系 */
  position: absolute;
  top: 0;
  left: 0;

  /* ボックス系 */
  width: 100%;
  height: 100%;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  pointer-events: none;
}

/* 白文字タイトル */
.page-support
.support-hero-card__overlay-title {
  /* 位置系 */
  margin-top: 2rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 2rem;

  /* タイポ系 */
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;

  /* 色装飾系 */
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}


/* ================================
   SUPPORT：PC調整（寄付導入＋サポーター会員テキスト）
================================ */

@media (min-width: 768px) {

  /* 寄付導入の上下余白を少し広げる */
  .page-support
  .support-donate-intro {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  /* 説明文：Eテキスト相当で大きく */
  .page-support
  .support-member-detail__text.u-text-body-md {
    font-size: var(--hero-text-lg);
    line-height: 1.7;
    font-weight: 700;
  }
}


/* ================================
   SUPPORT：PC調整（1年間の支援でできること：3カラム＋余白）
================================ */

@media (min-width: 768px) {

  /* リストを3カラムに（横幅を広げてカラム間も広く） */
  .page-support
  .support-member-impact__list {
    max-width: 1080px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 4rem;
    row-gap: 3rem;
  }

  /* 各項目：縦積み（上：アイコン／下：テキスト） */
  .page-support
  .support-member-impact__item {
    margin-bottom: 0;

    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* アイコン：PCでは少し大きめ（150px） */
  .page-support
  .support-member-impact__icon {
    width: 150px;
    flex-basis: 150px;
  }

  /* テキスト：中央寄せ＋約1.2倍 */
  .page-support
  .support-member-impact__text {
    font-size: calc(var(--hero-text-md) * 1.2);
    line-height: 1.9;
    font-weight: 700;
    text-align: center;
  }

  /* 画像上タイトル：PCで少し大きく */
  .page-support
  .support-hero-card__overlay-title {
    font-size: 3rem;

    margin-top: 2.5rem;
    margin-left: 2.5rem;
  }
}


/* ================================
   SUPPORT：SP調整（目次タイトル＋ボタン＋タイトル位置）
================================ */

@media (max-width: 767.98px) {

  /* スマホだけ「企業・教育機関の方」を少し小さくして1行に収める */
  .page-support
  .c-toc__title-text--company {
    font-size: 1rem;
  }

  /* 月額〜 のテキスト：太字のままDサイズに */
  .page-support
  .support-member-impact__text.u-text-body-md {
    font-size: var(--hero-text-md);
    line-height: 1.9;
    font-weight: 700;
  }

  /* 会員になるボタン：8割くらいにして中央配置 */
  .page-support
  .support-member-impact__btn {
    margin-right: auto;
    margin-left: auto;

    padding-top: 0.72rem;
    padding-right: 1.76rem;
    padding-bottom: 0.72rem;
    padding-left: 1.76rem;

    gap: 0.9rem;

    font-size: 1rem;
    border-width: 2px;

    width: auto;
    max-width: 320px;
  }

  /* SPの縦並びは維持 */
  .page-support
  .support-member-impact__item {
    gap: 0.9rem;
  }

  .page-support
  .support-member-impact__icon {
    width: 56px;
    flex-basis: 56px;
  }

  /* 画像上タイトル：SPは左下へ */
  .page-support
  .support-hero-card__overlay {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .page-support
  .support-hero-card__overlay-title {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 1.1rem;
    margin-left: 1.1rem;

    font-size: 1.9rem;
  }
}


/* ================================
   SUPPORT：画像カード（PC 高さ＋切り取り位置）
================================ */

@media (min-width: 768px) {

  /* 高さを「今の約1.3倍」に調整 */
  .page-support
  .support-hero-card__link {
    height: 470px;
  }

  /* デフォルト（once等）：上寄り */
  .page-support
  .support-hero-card__img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;a
  }

  /* サポーター会員のみ：さらに下を見せる */
  .page-support
  .support-hero-card:not(.support-hero-card--once)
  .support-hero-card__img {
    object-position: center 70%;
  }
}
/* ================================
   SUPPORT：参加で支援（全体）
================================ */

.page-support
.support-join {
  /* 位置系 */
  margin-top: 5rem;
  margin-right: 0;
  margin-bottom: 5rem;
  margin-left: 0;

  /* タイポ系 */
  text-align: center;
}

.page-support
.support-join__lead {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 3rem;
  margin-left: auto;

  /* ボックス系 */
  max-width: 720px;
}


/* ================================
   SUPPORT：参加で支援（ブロック共通）
================================ */

.page-support
.support-join__block {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 3.5rem;
  margin-left: 0;
}

.page-support
.support-join__text {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;

  /* ボックス系 */
  max-width: 720px;
}


/* ================================
   SUPPORT：参加で支援（見出し：共通オレンジ）
================================ */

.page-support
.support-join__title {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 1.25rem;
  margin-left: auto;

  /* タイポ系 */
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;

  /* 色装飾系 */
  color: var(--hero-orange);
  text-decoration: none;
}


/* ================================
   SUPPORT：参加で支援（ツアーロゴ）
================================ */

.page-support
.support-join__logoGrid {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;

  /* ボックス系 */
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;

  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem; /* ← 1.2倍 */
  max-width: 860px;
}

.page-support
.support-join__logoLink {
  /* ボックス系 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 18px;

  /* 色装飾系 */
  text-decoration: none;
}

.page-support
.support-join__logoImg {
  /* ボックス系 */
  width: 100%;
  max-width: 280px; /* ← ロゴ約8割 */
  height: auto;
}

@media (min-width: 768px) {
  .page-support
  .support-join__logoGrid {
    /* ボックス系 */
    grid-template-columns: 1fr 1fr;
    gap: 1.92rem; /* ← PCも1.2倍 */
  }

  .page-support
  .support-join__logoImg {
    /* ボックス系 */
    max-width: 416px;
  }
}

/* ================================
   SUPPORT：法人・教育機関向け（連携メニュー）
================================ */

.page-support
.support-company-menu {
  /* 位置系 */
  margin-top: 4rem;
  margin-right: 0;
  margin-bottom: 5rem;
  margin-left: 0;
}


/* ================================
   SUPPORT：法人（上部の案内文＋CTA）
================================ */

.page-support
.support-company-menu
> .support-company-card__note {
  /* 位置系 */
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;

  /* ボックス系 */
  max-width: 760px;

  /* タイポ系 */
  text-align: center;
  font-weight: 700;
}

.page-support
.support-company-menu
> .support-company-card__ctaWrap {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 4.5rem;
  margin-left: 0;

  /* ボックス系 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support
.support-company-menu
> .support-company-card__ctaWrap
.support-member-impact__note {
  /* 位置系 */
  margin-top: 0.75rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* タイポ系 */
  text-align: center;
}


/* ================================
   SUPPORT：法人（カード共通：SP縦／PC左右）
================================ */

.page-support
.support-company-card {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 4.5rem;
  margin-left: 0;

  /* ボックス系 */
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 768px) {
  .page-support
  .support-company-card {
    /* ボックス系 */
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.page-support
.support-company-card__img {
  /* ボックス系 */
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

@media (max-width: 767.98px) {
  .page-support
  .support-company-card__body {
    /* タイポ系 */
    text-align: center;
  }

  .page-support
  .support-company-card__text {
    /* タイポ系 */
    text-align: center;
  }
}


/* ================================
   SUPPORT：法人（見出し：下線＝文字幅）
================================ */

.page-support
.support-company-card__title {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 1.25rem;
  margin-left: 0;

  /* ボックス系 */
  display: inline-block;

  /* タイポ系 */
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;

  /* 色装飾系 */
  color: #222222;
}

.page-support
.support-company-card__title::after {
  /* 位置系 */
  content: "";
  display: block;

  margin-top: 0.8rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  /* ボックス系 */
  width: 100%;
  height: 4px;

  /* 色装飾系 */
  background-color: var(--hero-orange);
}

.page-support
.support-company-card__text {
  /* 位置系 */
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}


/* ================================
   SUPPORT：法人（SP：社内研修・若者支援の見出し）
   ルール：1行キープ＋今より大きく
================================ */

@media (max-width: 767.98px) {
  .page-support
  #support-youth
  .support-company-card__title {
    /* ボックス系 */
    white-space: nowrap;

    /* タイポ系 */
    font-size: clamp(1.55rem, 5.2vw, 2rem);
  }
}

