/* =========================================
   はじめての方へ：メインビジュアル
   ※ html/body のベースは別ファイル前提
   html { font-size: 62.5%; } など
========================================= */

.hajimete-hero {
  position: relative;
  padding: 14rem 2rem 30rem;
  background-color: #fff;
  overflow: hidden;
}

.hajimete-hero__inner {
  max-width: 120rem;
  margin: 0 auto;
  position: relative;
}

/* ------------------------------
   2カラムレイアウト
------------------------------ */

.hajimete-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 0rem;
}

/* ------------------------------
   左側テキスト
------------------------------ */

.hajimete-hero__text {
    max-width: 70rem;
    width: 68rem;
}

.hajimete-hero__title {
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.4;
    margin-bottom: 0rem;
}

.hajimete-hero__title-line {
  display: block;
}

.hajimete-hero__brand {
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 1.3rem 0.1rem;
    border-radius: 0.516rem;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(92.74deg, #BC3A56 18.81%, #9071D9 114.73%);
    margin-right: -0.4rem;
	    margin-top: 2rem;
		
}

.hajimete-hero__lead {
    font-size: 1.5rem;
    line-height: 1.7;
    margin: 0;
    letter-spacing: 0.02em;
    max-width: 41rem;
	    margin-top: 3.8rem;
}

/* ------------------------------
   右側ビジュアル
------------------------------ */

.hajimete-hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 26rem;
      margin-top: -6.8rem;
}

/* ドット背景（右側一帯） */
.hajimete-hero__visual-bg {
    position: absolute;
    inset: -18% 4% 6% -11%;
    pointer-events: none;
    z-index: 0;
}

/* SVG自体を領域いっぱいにフィットさせる */
.hajimete-hero__visual-bg svg {
  display: block;
    width: 35.4rem;
    height: 35.4rem;
}

/* 画像共通 */
.hajimete-hero__mock {
  position: absolute;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.hajimete-hero__mock img {
  display: block;
  width: 100%;
  height: auto;
}

/* 大きい画像（前面） */
.hajimete-hero__mock--front {
    width: 136.5%;
    right: -11%;
    bottom: -85%;
    z-index: 2;
}

.hajimete-hero__mock--back img {
    border: 4px solid #ffffff;
}

.hajimete-hero__mock--back {
    width: calc(137% * 0.54);
    top: -21%;
    right: -17%;
    z-index: 1;
}



/* ==============================
   Responsive
============================== */

/* ～1024px：全体を少し詰める */

@media (max-width: 1024px) {
  .hajimete-hero {
    padding: 6rem 2rem 8rem;
  }

  .hajimete-hero__layout {
    column-gap: 4rem;
  }

  .hajimete-hero__title {
    font-size: 4rem;
  }

  .hajimete-hero__visual {
    aspect-ratio: 16 / 10;
  }

  .hajimete-hero__mock--front {
        width: 100%;
        right: -1%;
        bottom: -27%;
  }

  .hajimete-hero__mock--back {
        width: calc(100% * 0.54);
        top: 0%;
        right: 7%;
        min-width: 22rem;
  }

}

/* ～767.8px：縦並び（テキスト → ビジュアル） */

@media (max-width: 767.8px) {
	  .hajimete-hero__lead {
    margin-top: 1.8rem;
    width: 100%;
    max-width: 100%;
}
  .hajimete-hero {
    padding: 5.5rem 1.6rem 15rem;
  }

  .hajimete-hero__inner {
    max-width: 100%;
  }

  .hajimete-hero__layout {
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
  }

  .hajimete-hero__text {
    max-width: 100%;
	        width: auto;
        text-align: center;
  }

  .hajimete-hero__title {
    font-size: 2.6rem;
  }

  .hajimete-hero__brand {
    font-size: 1.9rem;
  }

  .hajimete-hero__visual {
    width: 100%;
    aspect-ratio: 16 / 11;
	        margin: 0;
  }

  .hajimete-hero__visual-bg {
    inset: 8% 6% 10% 6%;
  }

  .hajimete-hero__mock--front {
        width: 88%;
        right: 50%;
        bottom: -15%;
        transform: translateX(50%);
  }

  .hajimete-hero__mock--back {
    width: calc(88% * 0.54);
        top: 0;
        right: 50%;
    transform: translateX(50%);
  }

  .hajimete-hero__bottom-bar {
    height: 8rem;
    bottom: -3rem;
  }
}

/* ～567.8px：さらにコンパクトに */

@media (max-width: 567.8px) {
  .hajimete-hero {
    padding: 4.8rem 1.2rem 6rem;
  }

      .hajimete-hero__visual-bg {
        inset: 38% 6% 10% 26%;
    }

  .hajimete-hero__title {
    font-size: 2.2rem;
  }

  .hajimete-hero__brand {
    font-size: 1.7rem;
    padding: 0.3rem 1.3rem 0.2rem;
  }

  .hajimete-hero__lead {
    font-size: 1.3rem;
	        margin-top: 1.5rem;
  }

  .hajimete-hero__visual {
aspect-ratio: auto;
  }

  .hajimete-hero__mock--front {
        width: 100%;
        min-width: auto;
        position: relative;
        top: 0;
        bottom: 0;
		margin-top: 4rem;
  }

  .hajimete-hero__mock--back {

		        width: 80%;
        min-width: auto;
        position: relative;
        top: 0;
        bottom: 0;
        right: 0;
        margin: 0 auto;
        transform: translateX(0%);
  }
}








/* =========================================
   ABOUT セクション（GeneXusとは？）
========================================= */

.hajimete-about {
  padding:16.5rem 2rem 20rem;
  background: linear-gradient(140.66deg, #BC3A56 28.65%, #9071D9 88.09%);
      margin-top: -20rem;
	      position: relative;
}


.hajimete-about__inner {
  max-width: 134rem;
  margin: 0 auto;
  position: relative;
      border: 5px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
}

/* カード本体 */

.hajimete-about__card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 7rem 6.8rem;
    display: flex;
    align-items: center;
    gap: clamp(3.2rem, 4vw, 4.8rem);
    flex-direction: row-reverse;
}

/* テキストカラム（DOM上は先頭） */

.hajimete-about__content {
  flex: 1 1 auto;
  min-width: 0;
}

/* 画像カラム（1440px時 左549/右540 ベース） */

/* デフォルトは 768px 未満で縦並びなので width:100% を後ろのメディアクエリで指定 */

/* 768〜1023px：2カラムだが画像は控えめに 42% 固定 */
@media (min-width: 768px) and (max-width: 1023.8px) {
  .hajimete-about__thumb {
    flex: 0 0 42%;
    margin: 0;
  }
}

/* 1024〜1440px：42% → 約49.6% (540 / (549+540)) を線形補間 */
@media (min-width: 1024px) {
  .hajimete-about__thumb {
    flex: 0 0 calc(
      42% + (7.6 * ((min(100vw, 1440px) - 1024px) / (1440 - 1024)))
    );
    margin: 0;
  }
}

/* 画像中身 */

.hajimete-about__thumb a {
  display: block;
}

.hajimete-about__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
      object-fit: cover;
}

/* =========================================
   共通テキストスタイル（1440px 時の指定）
   ★ここはユーザー指定値を変更せずそのまま
========================================= */

/* ABOUT（大きく薄い英字） */
.common-section__eyebrow {
  font-family: "Roboto";
  font-weight: 200;
  font-style: normal;
  font-size: 8rem;
  line-height: 1.44;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #BC3A561A;
  margin: 0 0 0.8rem;
  position: absolute;
  transform: translateY(-40%);
}

/* GeneXus 部分の英字アクセント */
.common-section__title-accent {
  font-family: "Roboto";
  font-weight: 600;
  font-style: normal;
  font-size: 4rem;
  line-height: 1.44;
  letter-spacing: 0.06em;
  color: #BC3A56;
}

/* 見出し本体（日本語） */
.common-section__title {
  font-weight: 700;          /* Bold */
  font-style: normal;
  font-size: 4rem;           /* 40px */
  line-height: 1.44;
  letter-spacing: 0.06em;    /* 6% */
  margin: 0 0 2rem;
}

.common-section__text {
  font-size: 1.6rem;
  line-height: 2;
  margin: 0;
  letter-spacing: 0.02em;
}

/* =========================================
   Responsive
========================================= */

/* ～1024px：全体を少し圧縮 */

@media (max-width: 1024px) {
  .hajimete-about {
        padding: 10rem 2rem 18rem;
	margin-top: 0;
  }

  .hajimete-about__card {
    padding: 3.2rem 3.6rem;
    gap: 3.2rem;
  }

  .common-section__eyebrow {
    font-size: 5.6rem;   /* 56px */
  }

  .common-section__title,
  .common-section__title-accent {
    font-size: 3.2rem;   /* 32px */
  }
}

/* ～767.8px：縦並び（テキスト→画像） */

@media (max-width: 767.8px) {

  .hajimete-about {
        padding: 9rem 1.6rem 16rem;
  }

  .hajimete-about__inner {
    max-width: 100%;
  }

  .hajimete-about__card {
    flex-direction: column;   /* DOM順どおり */
    padding: 3.2rem 2.4rem;
  }

  .hajimete-about__content,
  .hajimete-about__thumb {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }

  .common-section__eyebrow {
    font-size: 3.6rem;  /* 36px */
  }

  .common-section__title,
  .common-section__title-accent {
    font-size: 2.4rem;  /* 24px */
  }
}

/* ～567.8px：さらにコンパクト */

@media (max-width: 567.8px) {
  .hajimete-about {
        padding: 7.2rem 1.2rem 15rem;
  }

  .common-section__eyebrow {
    font-size: 2.8rem;  /* 28px */
  }

  .common-section__title,
  .common-section__title-accent {
    font-size: 2rem;    /* 20px */
  }

  .common-section__text {
    font-size: 1.3rem;
  }
}








/* =========================================
   sec03（こんな方におすすめ）
   ※ sec02（ABOUT）のレイアウトは共通利用
========================================= */

/* セクション全体 */
.hajimete-rec {
  padding: 16rem 2rem 20rem;
  background: linear-gradient(157.95deg, #BC3A56 28.92%, #E9486B 88.08%);
      border-radius: 8rem 0 0 0;
    margin-top: -8rem;
    position: relative;
}

.hajimete-rec__inner {
  max-width: 134rem;
  margin: 0 auto;
  position: relative;
}

/* ヘッダー（共通化） */
.common-section__head {
  text-align: center;
  margin-bottom: 6.3rem;
  position: relative;
}

.hajimete-rec__lead,.hajimete-rec__lead {
  margin: 3.2rem auto 0;
}

/* -----------------------------------------
   カードリスト
----------------------------------------- */

.hajimete-rec__list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.hajimete-rec__item {
  width: 100%;
      border: 5px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
}

/* -----------------------------------------
   カード（sec02 の .hajimete-about__card を継承）
----------------------------------------- */

.hajimete-rec__card {
  border-radius: 1rem;
  overflow: hidden;
  /* ↑ overflow hidden により画像の角丸と影の統一感を保つ */
}

/* -----------------------------------------
   カード内テキスト
----------------------------------------- */

.hajimete-rec__content {
  position: relative;
}

.hajimete-rec__num {
    font-family: "Roboto";
    font-size: 6.4rem;
    font-weight: 600;
    color: #BC3A56;
    letter-spacing: 0.06em;
    margin-bottom: 0rem;
    line-height: 1.4;
}

.hajimete-rec__title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2.9rem;
    line-height: 1.44;
    letter-spacing: 0.06em;
}

.hajimete-rec__text {
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.hajimete-about__card.hajimete-rec__card {
    flex-direction: row;
}

.common-section__head.hajimete-rec__head {
    color: #ffffff;
}

.common-section__head.hajimete-rec__head .common-section__eyebrow {
    color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -40%);
	left: 50%;
}

.common-section__head.benefits-rec__head .common-section__eyebrow{
	color: rgba(188, 58, 86, 0.1);
	transform: translate(-50%, -40%);
    left: 50%;
}

span.col-strong {
    color: #BC3A56;
}

/* -----------------------------------------
   カード内画像（sec02 のサムネレイアウトを継承）
----------------------------------------- */

.hajimete-rec__thumb img {
  border-radius: 1rem;
box-shadow: 1.2rem 1.2rem 2.95rem -0.4rem rgba(0, 0, 0, 0.15);
      object-fit: cover;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1024px) {
  .hajimete-rec {
        padding: 10rem 2rem 18rem;
  }

  .hajimete-rec__num {
    font-size: 3rem;
  }
}

@media (max-width: 767.8px) {
		.hajimete-about__card.hajimete-rec__card{
		flex-direction: column; 
	}
  .hajimete-rec {
        padding: 9rem 1.6rem 16rem;
  }



  .hajimete-rec__title {
    font-size: 1.8rem;
  }

  .hajimete-rec__text {
    font-size: 1.4rem;
  }

  .hajimete-rec__num {
    margin-bottom: 1rem;
  }
}

@media (max-width: 567.8px) {
  .hajimete-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .hajimete-rec__num {
    font-size: 2.4rem;
  }
}









/* =========================================
   sec04 BENEFITS（効果）セクション
========================================= */

.benefits-rec {
    background: #fff;
    padding: 16rem 2rem 21rem;
    border-radius: 0rem 8rem 0 0;
    margin-top: -8rem;
    position: relative;
}

.benefits-rec__inner {
  max-width: 134rem;
  margin: 0 auto;
}

/* ヘッダー（共通ヘッダの見た目だけ上書き） */
.benefits-rec .common-section__head {
  text-align: center;
}



/* =========================================
   2×2 グリッドレイアウト
========================================= */

.benefits-rec__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
      max-width: 117rem;
    margin: 0 auto;
}

/* カードコンテナ */

.benefits-card {
  width: 100%;
}

/* カード中身：
   1行目: ヘッダー（Point + タイトル）
   2行目: 画像（高さ共通。中央揃え）
   3行目: 本文（1frで下端揃え）
*/

.benefits-card__inner {
background: linear-gradient(93.09deg, rgba(188, 58, 86, 0.1) 28.41%, rgba(144, 113, 217, 0.1) 95.79%);
  border-radius: 1rem;
    padding: 4.2rem 4.2rem;

  display: grid;
    grid-template-rows: auto minmax(auto, 24.2rem) 1fr;
  row-gap: 2rem;

  height: 100%;
}

/* -----------------------------------------
   ヘッダー（Point / タイトル）
----------------------------------------- */

.benefits-card__head {
  margin: 0;
}

.benefits-card__label {
    font-family: "Roboto";
    display: inline-block;
    padding: 0.2rem 1.6rem;
    border-radius: 10rem;
    background-color: #BC3A56;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
}

.benefits-card__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.06em;
    margin: 0;
}

.benefits-card__title-em {
  color: #BC3A56;
}

/* -----------------------------------------
   画像：グリッド2行目（全カードで高さ揃え）
----------------------------------------- */

.benefits-card__thumb {
  display: flex;
  align-items: center;   /* 行の縦中央 */
  justify-content: center; /* 横中央 */
  margin: 0;
    max-width: 31.2rem;
    width: 100%;
  justify-self: center;  /* グリッド内で中央寄せ */
}

.benefits-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* -----------------------------------------
   本文：グリッド3行目（1frで下端揃え）
----------------------------------------- */

.benefits-card__body {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
      margin-top: auto;
}

.benefits-card__text {
font-size: 1.6rem;
    line-height: 1.9;
    margin: 0;
    letter-spacing: 0.02em;
}

/* =========================================
   Responsive
========================================= */

/* ～1024px：余白を少し詰める */

@media (max-width: 1024px) {
  .benefits-rec {
        padding: 10rem 2rem 18rem;
  }

  .benefits-card__inner {
    padding: 2.6rem 2.4rem;
    grid-template-rows: auto minmax(10rem, auto) 1fr;
  }
}

/* ～767.8px：スマホでも2×2 を維持（列はそのまま） */

@media (max-width: 767.8px) {
  .benefits-rec {
        padding: 9rem 1.6rem 16rem;
  }

  .benefits-rec__inner {
    max-width: 100%;
  }

  .benefits-rec__list {
    gap: 2rem;
  }

  .benefits-card__inner {
    padding: 2.4rem 2rem;
    grid-template-rows: auto minmax(9rem, auto) 1fr;
  }

  .benefits-card__title {
    font-size: 1.7rem;
  }

  .benefits-card__text {
    font-size: 1.3rem;
  }

  .benefits-card__thumb {
    max-width: 20rem;
    width: 80%;
  }
}

/* ～567.8px：さらにコンパクトに（2×2のまま） */

@media (max-width: 567.8px) {
	    .benefits-rec__list {
        grid-template-columns: 1fr;
    }
  .benefits-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .benefits-card__inner {
    padding: 2.2rem 1.8rem;
    grid-template-rows: auto minmax(8rem, auto) 1fr;
  }

  .benefits-card__label {
    font-size: 1.2rem;
    padding: 0.3rem 1.2rem;
  }

  .benefits-card__title {
    font-size: 1.8rem;
  }

  .benefits-card__text {
    font-size: 1.2rem;
  }

  .benefits-card__thumb {
    max-width: 18rem;
    width: 78%;
  }
}









/* =========================================
   sec05 CTA（今すぐできる情報収集・体験）
========================================= */

.cta-rec {
    position: relative;
    overflow: hidden;
    background-color: #F5F5F5;
    padding: 12rem 2rem 21rem;
    border-radius: 8rem 8rem 0 0;
    margin-top: -9rem;
}

/* 右側のドットパターン装飾：SVGを背景に埋め込み */
.cta-rec::after {
    content: "";
    position: absolute;
    right: 0%;
    bottom: 15%;
    width: 25.4rem;
    height: 34.8rem;
    background-image: url(./images/hajimete/cta-dots.svg);
    background-repeat: no-repeat;
    background-size: contain;
  pointer-events: none;
}

.cta-rec__inner {
  max-width: 119rem;
  margin: 0 auto;
}

/* 見出しエリア */
.cta-rec__head {
  text-align: center;
  margin-bottom: 5.6rem;
}

.cta-rec__title {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-rec__title-main {
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.cta-rec__title-sub {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #000;
}

/* -----------------------------------------
   CTA リスト（3つ横並び）
----------------------------------------- */

.cta-rec__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4rem;
      flex-wrap: wrap;
}

/* CTAカード共通 */

.cta-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 37rem;
	    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 10rem;
    padding: 2.15rem 3.2rem;
    border-radius: 999rem;
    text-align: center;
  text-decoration: none;
box-shadow: 1rem 1rem 1.5rem 0 rgba(0, 0, 0, 0.1);


  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cta-card__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 0.8rem;
}

.cta-card__text {
  font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}



/* -----------------------------------------
   バリエーション + 色反転ホバー
----------------------------------------- */

/* 左：赤塗り → ホバーで白背景＋赤文字・赤枠 */
.cta-card--primary {
  background-color: #BC3A56;
  color: #fff;
  border: 0.2rem solid transparent;
}

.cta-card--primary:hover {
  background-color: #fff;
  color: #BC3A56;
  border-color: #BC3A56;
}

/* 中央：白＋赤枠 → ホバーで赤塗り＋白文字 */
.cta-card--outline {
  background-color: #fff;
  color: #BC3A56;
  border: 0.2rem solid #BC3A56;
}

.cta-card--outline:hover {
  background-color: #BC3A56;
  color: #fff;
}

/* 右：黒塗り → ホバーで白背景＋黒文字・黒枠 */
.cta-card--dark {
  background-color: #000;
  color: #fff;
  border: 0.2rem solid transparent;
}

.cta-card--dark:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1024px) {
  .cta-rec {
        padding: 10rem 2rem 18rem;
  }

  .cta-rec__head {
    margin-bottom: 4.4rem;
  }

  .cta-rec__title-main {
    font-size: 2.1rem;
  }

  .cta-rec__title-sub {
    font-size: 3rem;
  }

  .cta-rec__list {
    gap: 3rem;
  }

  .cta-card {
    max-width: 34rem;
    padding: 2.4rem 2.8rem;
  }
}

@media (max-width: 767.8px) {
  .cta-rec {
        padding: 9rem 1.6rem 16rem;
  }

  .cta-rec__title-main {
    font-size: 1.9rem;
  }

  .cta-rec__title-sub {
    font-size: 2.4rem;
    letter-spacing: 0.08em;
  }

  .cta-rec__list {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
  }

  .cta-card {
    max-width: 32rem;
    min-height: 12.5rem;
    padding: 2.2rem 2.4rem;
  }

  .cta-card__title {
    font-size: 1.6rem;
  }

  .cta-card__text {
    font-size: 1.3rem;
  }
}

@media (max-width: 567.8px) {
  .cta-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .cta-rec__title-sub {
    font-size: 2.1rem;
  }

  .cta-card {
    max-width: 30rem;
    padding: 2rem 2.2rem;
  }

  .cta-card__title {
    font-size: 1.5rem;
  }

  .cta-card__text {
    font-size: 1.2rem;
  }
}






/* =========================================
   sec06 REASON（選ばれる理由）
========================================= */

.reason-rec {
  position: relative;
  overflow: hidden;
  padding: 16rem 2rem 20rem;
    background: linear-gradient(157.95deg, #BC3A56 28.92%, #E9486B 88.08%);
	    border-radius: 8rem 0 0 0;
    margin-top: -8rem;
	 color: #fff;
}

/* 左側のドット装飾（SVG背景） */
.reason-rec::before {
    content: "";
    position: absolute;
    left: 0rem;
    top: 12rem;
    width: 25.4rem;
    height: 34.8rem;
    background-image: url(./images/hajimete/reason-dots.svg);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.reason-rec__inner {
  max-width: 119rem;
  margin: 0 auto;
}


/* -----------------------------------------
   カードリスト（3 → 2 → 1 カラム）
----------------------------------------- */

/* PC：3列 */
.reason-rec__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 35.1rem)); /* 351px相当×3 */
  gap: 6.8rem;
  justify-content: center;
  margin-bottom: 5.6rem;
}

/* カード本体：幅351px相当、背景は親のグラデが見える */
.reason-card {
  width: 100%;
  max-width: 35.1rem; /* 351px */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

/* 画像枠：351×283の比率固定、白カード＋影 */
.reason-card__thumb {
    margin: 0 0 2.6rem;
    border-radius: 5rem;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 351 / 283;
}

/* 中の画像は枠の90%表示 */
.reason-card__thumb img {
  display: block;
  width: 80%;
  height: auto;
}

.reason-card__thumb.sml img {
    width: 43%;
}

/* 本文：上揃え＋中央寄せ */
.reason-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.reason-card__label {
    background-color: #fff;
    color: #bc3a56;
    font-family: "Roboto";
    display: inline-block;
    padding: 0.2rem 1.6rem;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    width: max-content;
    margin: 0 auto;
    margin-bottom: 0.5rem;
}

.reason-card__title {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.06em;
    text-align: center;
}

.reason-card__text {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.9;
    text-align: left;
    letter-spacing: 0.02em;
}

/* -----------------------------------------
   ボタン（テキスト中央＋矢印右端）
----------------------------------------- */

.reason-rec__footer {
  text-align: center;
}

.reason-rec__btn {
    position: relative;
    display: inline-block;
    padding: 3.2rem 7rem 3.2rem 5.4rem;
    border-radius: 999rem;
    background-color: #fff;
    color: #BC3A56;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    width: 100%;
    max-width: 70rem;
    text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.reason-rec__btn.ptn02 {
    background-color: #BC3A56;
    color: #ffffff;
}

.reason-rec__btn-label {
  display: inline-block;
}

/* 矢印の丸枠：ボタン右端固定 */
.reason-rec__btn-icon {
  position: absolute;
  top: 50%;
  right: 2.4rem;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 矢印の色はcurrentColor */
.reason-rec__btn-arrow path {
  fill: currentColor;
}

/* hover：色反転＋軽く浮かせる */
.reason-rec__btn:hover {
  background-color: #bc3a56;
  color: #fff;
}

.reason-rec__btn.ptn02:hover{
    background-color: #ffffff;
    color: #BC3A56;
}

.case-rec__footer {
    text-align: center;
    margin-top: 7rem;
}

/* =========================================
   Responsive
========================================= */

/* 〜1024px：2列、左寄せ（最後のカードも左側） */
@media (max-width: 1024px) {
  .reason-rec {
        padding: 10rem 2rem 18rem;
  }

  .reason-rec__title {
    font-size: 3rem;
  }

  .reason-rec__head::before {
    font-size: 6.4rem;
  }

  .reason-rec__list {
    grid-template-columns: repeat(2, minmax(0, 35.1rem));
  }
}

/* 〜767.8px：余白・文字サイズだけ微調整（2列は維持） */
@media (max-width: 767.8px) {
  .reason-rec {
        padding: 9rem 1.6rem 16rem;
  }

  .reason-rec__title {
    font-size: 2.6rem;
  }

  .reason-rec__head::before {
    font-size: 5.2rem;
    top: -2.8rem;
  }

  .reason-rec__list {
    margin-bottom: 4.4rem;
  }

  .reason-card {
    max-width: 32rem;
  }

  .reason-rec__btn {
    padding: 1.6rem 6rem 1.6rem 4.2rem;
    font-size: 1.5rem;
  }

  .reason-rec__btn-icon {
    right: 2rem;
  }
}

/* 〜567.8px：1列縦積み */
@media (max-width: 567.8px) {
  .reason-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .reason-rec__title {
    font-size: 2.3rem;
  }

  .reason-rec__head::before {
    font-size: 4.5rem;
    top: -2.4rem;
  }

  .reason-rec__list {
    grid-template-columns: minmax(0, 31rem);
    justify-content: center;
  }

  .reason-card {
    max-width: 31rem;
  }

  .reason-rec__btn {
    padding: 1.5rem 5.4rem 1.5rem 3.6rem;
    font-size: 1.4rem;
  }

  .reason-rec__btn-icon {
    right: 1.8rem;
  }
}







/* =========================================
   sec07 CASE STUDY（導入事例）
========================================= */

.case-rec {
  position: relative;
background-color: #f7f7f8;
    padding: 16rem 2rem 21rem;
    border-radius: 0rem 8rem 0 0;
    margin-top: -8rem;
}

.case-rec__inner {
  max-width: 119rem;
  margin: 0 auto;
}


/* -----------------------------------------
   カードリスト
----------------------------------------- */

.case-rec__list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* カード全体（画像＋吹き出し） */

.case-card__inner {
    display: grid;
    grid-template-columns: 28rem 1fr;
    gap: 7.5rem;
    align-items: center;
}

/* -----------------------------------------
   左側画像
----------------------------------------- */

.case-card__thumb {
  border-radius: 1rem;
  overflow: hidden;
}

.case-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -----------------------------------------
   右側吹き出し
----------------------------------------- */

.case-card__body {
  position: relative;
  background-color: #fff;
  border-radius: 2.9rem;
    padding: 4.5rem 4.5rem 4.5rem;
  box-shadow: 1rem 1rem 1.5rem rgba(0,0,0,0.1);
  overflow: visible; /* 尻尾＋影をはみ出させる */
  z-index: 1;
}

/* ★ 尻尾用ラッパー：ここに drop-shadow をかける */
.case-card__tail-wrap {
    position: absolute;
    left: -4rem;
    top: 50%;
    width: 5.1rem;
    height: 4.4rem;
    /* border-radius: 540px; */
    transform: rotate(22deg);
    filter: drop-shadow(-0.35rem 0.35rem 0.45rem rgba(0, 0, 0, 0.04));
    z-index: -2;
}

/* 尻尾本体：clip-path だけを担当（白い三角形） */
.case-card__tail {
  width: 100%;
  height: 100%;
  background: #fff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* -----------------------------------------
   吹き出し内テキスト
----------------------------------------- */

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.case-card__tag {
    display: inline-block;
    padding: 0.2rem 1.6rem;
    border-radius: 10rem;
    background-color: #BC3A56;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.case-card__client {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.case-card__title {
    margin: 0 0 2rem;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.06em;
}

.case-card__list {
  margin: 0;
    padding-left: 1.4rem;
    font-size: 1.6rem;
    line-height: 1.9;
    list-style-type: disc;
    letter-spacing: 0.02em;
}

.case-card__list li::marker{
 color: #bc3a56;
}

.case-card__list li + li {
  margin-top: 0.4rem;
}

/* =========================================
   Responsive
========================================= */

/* 〜1024px：左右比率を少し詰める */
@media (max-width: 1024px) {
  .case-rec {
        padding: 10rem 2rem 18rem;
  }

  .case-card__inner {
    grid-template-columns: 30rem 1fr;
    gap: 2.4rem;
  }
}

/* 〜767.8px：縦積み、尻尾は非表示でもOK */
@media (max-width: 767.8px) {
  .case-rec {
        padding: 9rem 1.6rem 16rem;
  }

    .reason-card__title,.case-card__title{
    font-size: 1.8rem;
}



  .case-card__inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .case-card__thumb {
    max-width: 40rem;
    margin: 0 auto;
  }

  .case-card__body {
    padding: 2.4rem 2.4rem 2.6rem;
  }

  .case-card__tail-wrap {
    display: none; /* SPでは尻尾なしでスッキリ */
  }
}

/* 〜567.8px：さらにコンパクトに */
@media (max-width: 567.8px) {
  .case-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .case-card__body {
    padding: 2.2rem 2rem 2.4rem;
  }

  .case-card__title {
    font-size: 1.8rem;
  }

  .case-card__list {
    font-size: 1.3rem;
  }
}






/* =========================================
   sec08 FAQ（よくある質問）
========================================= */

.faq-rec {
    position: relative;
    overflow: hidden;
    padding: 16rem 2rem 20rem;
    background:#BC3A56;
    border-radius: 8rem 0 0 0;
    margin-top: -8rem;
}

.faq-rec__inner {
  max-width: 119rem;
  margin: 0 auto;
}

/* -----------------------------------------
   リスト
----------------------------------------- */

.faq-rec__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

/* -----------------------------------------
   各FAQカード
----------------------------------------- */

.faq-item {
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  	color: #000000;
}

.faq-item__heading {
  margin: 0;
}

/* トリガー（Q＋質問＋＋／−アイコン） */

.faq-item__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 2.4rem;
  align-items: center;

  padding: 2.2rem 3.6rem; /* ↓ ちょっと縦パディングを詰めた */
  background: none;
  border: none;
  outline: none;
  cursor: pointer;

  font: inherit;
  color: inherit;
  text-align: left;
  position: relative;
}

.faq-item__trigger::after {
  content: "+";
  font-size: 2.4rem;
  font-weight: 500;
  color: #BC3A56;
}

.faq-item.is-open .faq-item__trigger::after {
  content: "−";
}

/* Q丸アイコン */

.faq-item__qmark {
    font-family: "Roboto";
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #BC3A56;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

/* 質問文 */

.faq-item__question {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.06em;

}

/* -----------------------------------------
   パネル（回答） heightアニメ用
----------------------------------------- */

.faq-item__panel {
  padding: 0 3.6rem 0 9.6rem;  /* 閉じているとき */
  height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition:
    height 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
}

.faq-item__answer {
    margin: 0 0 2.8rem;
    padding-top: 0;
    font-size: 1.6rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

/* 開いている見た目（高さはJSで制御） */
.faq-item.is-open .faq-item__panel {
    opacity: 1;
    visibility: visible;
    margin-top: -1rem;
    padding-left: 3.6rem;
    padding-right: 3.6rem;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1024px) {
  .faq-rec {
        padding: 10rem 2rem 18rem;
  }

  .faq-rec__title {
    font-size: 3rem;
  }

  .faq-rec__head::before {
    font-size: 6.4rem;
  }

  .faq-item__trigger {
    padding: 2.0rem 3rem;
  }

  .faq-item__panel {
    padding: 0 3rem 0 8.6rem;
  }

  .faq-item.is-open .faq-item__panel {
    padding: 0.8rem 3rem 2rem 8.6rem;
  }
}

@media (max-width: 767.8px) {
  .faq-rec {
        padding: 9rem 1.6rem 16rem;
  }

  .faq-rec__title {
    font-size: 2.6rem;
  }

  .faq-rec__head::before {
    font-size: 5.2rem;
    top: -2.8rem;
  }

  .faq-item__trigger {
    grid-template-columns: auto 1fr;
    row-gap: 1.0rem;
    align-items: center;
    padding: 2rem 2.2rem;
  }

  .faq-item__trigger::after {
    position: absolute;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .faq-item__panel {
    padding: 0 2.2rem 0 7.4rem;
  }

  .faq-item.is-open .faq-item__panel {
    padding: 0.8rem 2.2rem 1.8rem 7.4rem;
  }
}

@media (max-width: 567.8px) {
  .faq-rec {
        padding: 7.2rem 1.2rem 15rem;
  }

  .faq-item__trigger {
    padding: 1.8rem 1.8rem;
  }

  .faq-item__panel {
    padding: 0 1.8rem 0 6.8rem;
  }

  .faq-item.is-open .faq-item__panel {
    padding: 0.8rem 1.8rem 1.8rem 6.8rem;
  }

  .faq-item__question {
    font-size: 1.6rem;
  }

  .faq-item__answer {
    font-size: 1.3rem;
  }
}





/*Top*/


/* =========================================
   Top MV
========================================= */

.mv-rec {
  position: relative;
  padding: 11.5rem 0 6rem;
  overflow: hidden;
}

/* 1440px時に 1380px幅（138rem） */
.mv-rec__inner {
  position: relative;
  max-width: 138rem;
  margin: 0 auto;
padding: 6rem 9.7rem 7rem;
    padding-right: 6rem;
  border-radius: 2rem;
    background: linear-gradient(140.66deg, #fafafa 28.65%, #ebe9e9 88.09%);
  overflow: hidden;
    height: 83.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: 4rem;
  align-items: center;
}

/* 背景画像＋オーバーレイ（innerの中だけに敷く） */
.mv-rec__bg {
    position: absolute;
    inset: 0;
    background:url(./images/top/mvbg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* ▼ 横方向のマスク（左ほど薄く、右ほど濃く） */
  /*-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.25) 100%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  -webkit-mask-position: center;

    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.25) 100%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: center;*/
}

/*.mv-rec__bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.6) 0%, 
        rgba(255,255,255,0.35) 30%,
        rgba(255,255,255,0.0) 70%,
        rgba(255,255,255,0.0) 100%
    );
}*/

/* 中身は背景より上に */
.mv-rec__content,
.mv-rec__visual,
.mv-rec__banner {
  position: relative;
  z-index: 1;
}

/* 左カラム */
.mv-rec__content {
  min-width: 0;
}

.mv-rec__title {
    margin: 0 0 2.8rem;
    font-size: 5.6rem;
    line-height: 1.44;
    font-weight: 700;
    letter-spacing: 0.05em;
	    width: 93rem;
}

.mv-rec__title-line {
  display: inline-block;
}

.mv-rec__title-gradient {
  /*background: linear-gradient(90.53deg, #AA0E36 2.04%, #9071D9 23.5%, #000000 64.92%);*/
  -webkit-background-clip: text;
      background: linear-gradient(90.53deg, #AA0E36 0.04%, #9071D9 25.5%, #000000 124.92%);
  background-clip: text;
  color: transparent;
      background-size: 200%;
    animation: gradation 8s infinite linear;
}

@keyframes gradation {
    0%{
        background-position: 0% 0%;
    }
    50%{
        background-position: 100% 0%;
    }
    100%{
        background-position: 0% 0%;
    }
}

.mv-rec__lead {
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
	    font-weight: 500;
}

.mv-rec__actions {
  position: absolute;
    left: 3rem;
    bottom: 3.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  z-index: 2;      /* 背景より前、ビルより前 */
}

/* ボタン */
.mv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28rem;
    padding: 1.4602rem 3.2rem;
    border-radius: 999rem;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  text-decoration: none;
  border: 0.1rem solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.mv-btn--primary {
  background-color: #bc3a56;
  color: #fff;
}

.mv-btn--primary:hover {
  background-color: #fff;
  color: #bc3a56;
  border-color: #bc3a56;
  transform: translateY(-0.1rem);
}

.mv-btn--outline {
  background-color: #000;
  color: #fff;
}

.mv-btn--outline:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
  transform: translateY(-0.1rem);
}

/* 右カラム：ビル */
.mv-rec__visual {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    position: absolute;
    right: 0;
    z-index: 0;
}

.mv-rec__visual img {
    display: block;
    max-width: 138rem;
    width: 100%;
    height: auto;
    opacity: 1;
    object-fit: contain;
}

/* 右下バナー */
.mv-rec__banner {
    position: fixed;
    right: 3rem;
    bottom: 11.4rem;
  z-index: 2;
}

.mv-rec__banner-link {
  display: block;
border-radius: 1rem;
  overflow: hidden;
}

.mv-rec__banner-link img {
  display: block;
  width: 28rem;
  height: auto;
}

.mv-rec__banner-close {
  position: absolute;
    top: -1.2rem;
    right: -1.2rem;
    width: 3rem;
    height: 3rem;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  color: #bc3a56;
  font-size: 2rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
      opacity: 0.9;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .mv-rec__inner {
    padding: 5rem 4rem 6rem;
    column-gap: 3rem;
  }



}

@media (max-width: 992px) {
  .mv-rec__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3.2rem;
    padding: 4.5rem 3rem 6rem;
  }

  .mv-rec__title {
    font-size: 4.6rem;
    width: auto;
}

  .mv-rec__content {
    order: 0;
  }

  .mv-rec__visual {
    order: 2;
    justify-content: center;
  }

  .mv-rec__visual img {
    max-width: 30rem;
  }



  .mv-rec__banner-link img {
    width: 24rem;
  }
}

@media (max-width: 767.8px) {
  .mv-rec {
    padding: 4rem 0 5rem;
  }

  .mv-rec__inner {
    padding: 3.6rem 1.8rem 5rem;
    border-radius: 2.4rem;
  }

  .mv-rec__title {
    letter-spacing: 0.06em;
  }

  .mv-rec__lead {
    font-size: 1.6rem;
    margin-bottom: 0rem;
  }

  .mv-rec__actions {
    position: static;      /* 通常フローに戻す */
    margin-top: 1.6rem;
    flex-direction: column;
    align-items: stretch;
  }

  .mv-btn {
    width: 100%;
    justify-content: center;
  }

  .mv-rec__visual img {
    max-width: 70rem;
  }

  .mv-rec__banner {
    right: 1rem;
    bottom: 7rem;
  }

  .mv-rec__banner-link img {
    width: 24rem;
  }
}

@media (max-width: 567.8px) {
	.mv-rec__bg {
    position: absolute;
    inset: 0;
    background:url(./images/top/mvbg-sp.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
  .mv-rec__inner {
    padding: 3.2rem 1.4rem 4.4rem;
	    height: 60rem;
  }

  .mv-rec__title {
        font-size: 3.2rem;
  }

  .mv-rec__banner {
    right: 1rem;
    bottom: 7rem;
  }

  .mv-rec__banner-link img {
    width: 22rem;
  }

  .mv-rec__banner-close {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.4rem;
  }
}











/* =========================================
   Top NEWS セクション
   - コンテナ max-width: 138rem (1440px時1380px)
   - 右カラム：幅 86rem (860px)
========================================= */

.top-news {
  padding: 11rem 2rem 11rem;
  background-color: #ffffff;
}

.top-news__inner {
  max-width: 119rem;
  margin: 0 auto;
  display: grid;
    grid-template-columns: minmax(28rem, 1fr) minmax(0rem, 86rem);
  column-gap: 4rem;
  align-items: flex-start;
}

/* =========================================
   左カラム：トップ共通ヘッダー
========================================= */

.top-section-header {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.top-section-header__eyebrow {
  margin: 0;
  font-size: 6.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.44;
      color: #bc3a56;
font-family: "Roboto Condensed", sans-serif;
    margin-bottom: -1.3rem;
}

.top-section-header__eyebrow-gradient {
  background: linear-gradient(90.53deg, #AA0E36 2.04%, #9071D9 42.55%, #000000 64.92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
      position: relative;
    top: 0.5rem;
    left: 0.5rem;
	      background-size: 200%;
    animation: gradation 5s infinite linear;
}

/* セクション見出し（h2） */
.top-section-header__title {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    line-height: 1.44;
    font-weight: 700;
}

/* 一覧ボタン（トップ共通で使える前提） */
.top-section-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.4rem;
    width: 100%;
    max-width: 28rem;
  min-width: 18rem;
  padding: 1.4rem 3rem;
  border-radius: 999rem;
  background-color: #BC3A56;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
    letter-spacing: 0.02em;
  text-decoration: none;
  border: 0.1rem solid transparent;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.top-section-header__btn:hover {
  background-color: #fff;
  color: #BC3A56;
border-color: #BC3A56; 
  transform: translateY(-0.1rem);
}

/* =========================================
   右カラム：NEWS リスト（幅 860px）
========================================= */

.top-news__list {
  padding-left: 4rem;
}

/* NEWS が無い時 */
.top-news__empty {
  margin: 1.6rem 0 0;
  font-size: 1.4rem;

}

/* 各ニュース行 */

.top-news-item {
  border-bottom: 0.1rem solid #d9d9d9;
}

.top-news-item:last-child {
  border-bottom: none;
}

.top-news-item__link {
  display: grid;
    grid-template-columns: 16rem minmax(0, 1fr) auto;
  column-gap: 2.6rem;
  align-items: center;
  padding: 2.4rem 2rem;
  text-decoration: none;
  color: inherit;
}

/* ロゴ部分 */

.top-news-item__thumb {
    border-radius: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-news-item__thumb img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* テキスト部分 */

.top-news-item__body {
  min-width: 0;
}

.top-news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.top-news-item__date {
    font-size: 1.4rem;
    color: #939393;
    letter-spacing: 0.03em;
}

/* チップ（タクソノミー用） */

.top-news-item__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1.4rem;
    border-radius: 999rem;
    background-color: #F8F8F8;
color: #bc3a56;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;

}

.top-news-item__chip--accent {

}

.top-news-item__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
}

/* 右端の矢印 */

.top-news-item__arrow {
  width: 1.2rem;
  height: 1.2rem;
  border-right: 0.15rem solid #bc3a56;
  border-bottom: 0.15rem solid #bc3a56;
  transform: rotate(-45deg);
}

/* ホバー時：タイトルの色を変える */

.top-news-item__link:hover .top-news-item__title {
  color: #bc3a56;
}

/* =========================================
   Responsive
========================================= */



@media (max-width: 900px) {
  .top-news__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3.2rem;
  }

  .top-news__list {
    border-left: none;
    padding-left: 0;
  }

  .top-section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	        display: flex;
        flex-direction: column;
        align-items: baseline;
  }

  .top-section-header__btn {
    margin-top: 0;
    min-width: auto;
    padding-inline: 2.4rem;
  }

  .top-news-item__link {
    grid-template-columns: 9rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1.8rem;
    row-gap: 1rem;
  }

  .top-news-item__arrow {
    display: none; /* SPでは矢印省略してもOKなら */
  }
}

@media (max-width: 567.8px) {
  .top-news {
    padding: 6rem 1.6rem 7rem;
  }

  .top-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .top-section-header__btn {
    width: 100%;
    justify-content: center;
  }

  .top-news-item__link {
    grid-template-columns: 1fr;
  }

  .top-news-item__thumb {
    max-width: 14rem;
    margin-bottom: 0.8rem;
  }
}








/* =========================================
   Top PRODUCT セクション
   右カラム：max 65rem（= 650px）
========================================= */

.top-product {
  padding: 11.5rem 2rem 9rem;
  background-color: #F8F8F8;
}

.top-product__inner {
  position: relative;
  max-width: 119rem; /* MV/NEWSと揃える */
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(59rem, 1fr) minmax(0, 65rem);
  column-gap: 4rem;
  align-items: center;
}

/* -----------------------------------------
   背景：薄い球体ネットワーク
----------------------------------------- */

.top-product__bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/top/product-bg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;  /* かなり薄め */
  pointer-events: none;
  z-index: 0;
}

/* 中身は背景より上に */
.top-product__content,
.top-product__images {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------
   左カラム：テキスト
----------------------------------------- */

.top-product__content {
  min-width: 0;
}

/* 共通ヘッダー（NEWSと同じCSSを流用） */
.top-section-header.top-section-header--product {
  margin-bottom: 3.2rem;
}

/* キャッチコピー */

.top-product__catch {
  margin: 0 0 2.4rem;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.top-product__catch-em {
  color: #bc3a56;
}

/* リードテキスト */

.top-product__lead {
    font-size: 1.8rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
  margin: 0 0 3rem;
}

.top-product__lead p {
  margin: 0 0 0.8rem;
}

.home-case.h-front {
    margin-top: 16rem;
	    padding-bottom: 0;
}

.home-case.h-front .case__txt {
    font-size: 2.8rem;
}

.home-case.h-front .txt-big {
    font-size: 4rem;
}

/* -----------------------------------------
   右カラム：画像（max 65rem）
----------------------------------------- */

.top-product__images {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 共通画像スタイル */

.top-product__img {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #fff;
}

.top-product__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 上側メイン画像（大きめ・右寄せ） */

.top-product__img--main {
  max-width: 46.4rem;
      right: -2rem;
    position: relative;
}

/* 下側サブ画像（少し小さく、左下にずらして重ねる） */

.top-product__img--sub {
  position: absolute;
  left: -8rem;
  bottom: -26rem;
  max-width: 36.8rem;
}

/* =========================================
   Responsive
========================================= */


@media (max-width: 992px) {
	.home-case.h-front {
    margin-top: 0rem;
}
  .top-product__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4rem;
  }

  .top-product__images {
    justify-content: center;
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .top-product__img--main {
    max-width: 46rem;
  }

  .top-product__img--sub {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 32rem;
    margin-top: -4rem; /* 少し重ね感だけ残す */
  }

  .top-product__btn {
    margin-top: 0.4rem;
  }
}

@media (max-width: 767.8px) {
  .top-product {
    padding: 6rem 1.6rem 7rem;
  }

  .top-product__inner {
    column-gap: 0;
  }

  .top-product__catch {
    font-size: 2rem;
  }

  .top-product__lead {
    font-size: 1.3rem;
  }

  .top-product__btn {
    width: 100%;
    justify-content: center;
  }

  .top-product__img--main {
    max-width: 100%;
  }

  .top-product__img--sub {
    max-width: 70%;
    margin: 1.6rem auto 0;
	        position: relative;
        top: 11rem;
  }
  .top-section-header__eyebrow {
    font-size: 5.2rem;
}
}

@media (max-width: 567.8px) {
  .top-product__catch {
    font-size: 2.2rem;
  }

  .top-product__lead {
    font-size: 1.6rem;
  }
  .top-section-header__eyebrow {
    font-size: 4rem;
}
}









/* =========================================
   Top CASES セクション
========================================= */

.top-cases {
  padding: 14rem 2rem 12rem;
  background: linear-gradient(135deg, #f9edf1 0%, #f5f0f7 100%);
}

.top-cases__inner {
  max-width: 119rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 29rem) minmax(0, 1fr);
  column-gap: 4rem;
  align-items: flex-start;
}

/* -----------------------------------------
   左カラム：共通ヘッダー + 説明 + ボタン
----------------------------------------- */

.top-section-header--cases {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* -----------------------------------------
   右カラム：ケースカードをまとめるパネル
----------------------------------------- */

.top-cases__panel {
  background-color: #fff;
  border-radius: 2rem;
  padding: 3.2rem 3.6rem;
    margin-left: 4rem;
}

/* 各 CASE カード */

.top-case {
  border-bottom: 0.1rem solid #E4E4E4;
}

.top-case:last-child {
  border-bottom: none;
}

/* 画像 → テキスト → 矢印 の順で並べる */
.top-case__link {
  display: grid;
  grid-template-columns: minmax(20rem, 1.1fr) minmax(0, 1.7fr) auto;
  column-gap: 3rem;
  align-items: center;
  padding: 2.4rem 0;
  text-decoration: none;
  color: inherit;
}

/* サムネイル（左） */

.top-case__thumb {
    margin: 0;
    max-width: 26rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
    padding: 2.5rem;
    border: 1px solid #E6E6E6;
}

.top-case__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* テキスト部分（右） */

.top-case__content {
  min-width: 0;
}

.top-case__head {
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.top-case__number {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.03em;
  color: #BC3A56;
  font-family: "Roboto";
}

.top-case__title {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.top-case__text {
  margin: 0;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* 右端矢印 */

.top-case__arrow {
  width: 1.2rem;
  height: 1.2rem;
  border-right: 0.16rem solid #bc3a56;
  border-bottom: 0.16rem solid #bc3a56;
  transform: rotate(-45deg);
}

/* ホバー時：タイトル＋矢印を少し強調 */

.top-case__link:hover .top-case__title {
  color: #bc3a56;
}

.top-case__link:hover .top-case__arrow {

}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {
  .top-cases__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3.2rem;
  }

.top-cases__panel {
    margin-left: 0rem;
}

  .top-section-header__subtitle {
    flex-basis: 100%;
  }

  .top-section-header__btn {
    margin-top: 0.8rem;
  }

  /* カードは1カラムに（画像上、テキスト下） */
  .top-case__link {
    grid-template-rows: auto auto;
    row-gap: 1.8rem;
  }

  .top-case__thumb {
    justify-self: flex-start;
    max-width: 24rem;
  }

  .top-case__arrow {
    display: none;
  }
}

@media (max-width: 567.8px) {

	    .top-case__link {
        grid-template-columns: 1fr;
    }

  .top-cases {
    padding: 6rem 1.6rem 7rem;
  }

  .top-cases__panel {
    padding: 2.4rem 2.2rem;
    border-radius: 2.4rem;
  }

  .top-section-header--cases {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-section-header__btn {
    width: 100%;
    justify-content: center;
  }

  .top-case__title {
    font-size: 1.6rem;
  }

  .top-case__text {
    font-size: 1.2rem;
  }

  .top-case__thumb {
    max-width: 100%;
  }
}

/* SP用改行ユーティリティ */
.u-sp {
  display: none;
}
@media (max-width: 767.8px) {
  .u-sp {
    display: inline;
  }
}







/* =========================================
   Top PARTNERS セクション
========================================= */

.top-partners {
  padding: 3rem 2rem 3rem;
  background-color: #ffffff;
}

.top-partners__wrap {
    margin: 0 auto;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: linear-gradient(120.44deg, #AA0E36 16.43%, #9071D9 79.78%);
}

.top-partners__inner {
    max-width: 127rem;
    margin: 0 auto;
	position: relative;
    display: grid;
    grid-template-columns: minmax(48rem, 1fr) minmax(0rem, 1fr);
    column-gap: 3rem;
    align-items: center;
    padding: 5.2rem 4rem 5.6rem;
    color: #ffffff;
}

/* -----------------------------------------
   左カラム：見出し・テキスト・ボタン
----------------------------------------- */

.top-partners__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* PARTNERS 用ヘッダー（文字色白） */

.top-section-header--partners {
  margin-bottom: 3rem;
}

.top-section-header--partners .top-section-header__eyebrow {
  color: #ffffff;
}

.top-partners__content .top-section-header__eyebrow span.top-section-header__eyebrow-gradient {
    color: #ffffff;
}

.top-section-header__title--light {
color: #ffffff;
}

/* キャッチコピー */

.top-partners__catch {
color: #ffffff;
}

/* リードテキスト */

.top-partners__lead {
  color: #ffffff;
}



/* CTAボタン（白ベース） */

.top-partners__btn {
  background-color: #ffffff;
  color: #b0163e;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.top-partners__btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-0.1rem);
}

a.top-section-header__btn.top-partners__btn {
    margin-top: 5rem;
}

/* -----------------------------------------
   右カラム：イメージ画像
----------------------------------------- */

.top-partners__visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-partners__img {
    margin: 0;
    max-width: 58rem;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.top-partners__img img {
  display: block;
  width: 100%;
  height: auto;
}


.banner-loopslider{height:21rem;overflow:hidden;position:relative}
.banner-loopslider-wrap{height:21rem;display:-webkit-box;display:-ms-flexbox;display:flex;align-items:center;position:absolute;top:0;left:0}
.home-case.h-front__banner .case__item{width:auto;margin-right:2rem;text-align:center;position:relative;width:55rem;}

.banner-loopslider-wrap ul.case__list{
	padding: 0;
}

.home-case.h-front__banner{
	padding: 0;
}

.home-case.h-front__banner::before{
	content: none;
}

figure.banner__logo img{
	height: 20rem;
}


/* =========================================
   Responsive
========================================= */



@media (max-width: 992px) {
  .top-partners__inner {
    row-gap: 3.6rem;
    padding: 4.2rem 3.2rem 4.8rem;
  }

  .top-partners__content {
    order: 1;
  }

  .top-partners__visual {
    order: 2;
    justify-content: center;
  }

  .top-partners__img {
    max-width: 40rem;
  }

  .top-partners__btn {
    align-self: flex-start;
  }
}

@media (max-width: 767.8px) {
  .top-partners {
    padding: 6rem 1.6rem 7rem;
  }

  .top-partners__inner {
    padding: 3.6rem 2.2rem 4.2rem;
    border-radius: 2.4rem;
	        grid-template-columns: minmax(0, 1fr);
  }

  .top-partners__catch {
    font-size: 2rem;
  }

  .top-partners__lead {
    font-size: 1.3rem;
  }

  .top-partners__btn {
    width: 100%;
    justify-content: center;
  }

  .top-partners__img {
    max-width: 100%;
  }
}

@media (max-width: 567.8px) {
  .top-partners__inner {
    padding: 3.2rem 1.8rem 3.8rem;
  }

  .top-partners__catch {
    font-size: 1.8rem;
  }

  .top-partners__lead {
    font-size: 1.2rem;
  }
}



