/* =========================================
   NOST LIFE — index.css (TOPページ固有)
   ========================================= */


/* =========================================
   HERO
   ========================================= */
.hero-wrapper {
  width: var(--canvas-width);
  height: min(911px, 90vh);
  margin-top: 82px;
}

.hero {
  width: var(--canvas-width);
  height: min(911px, 90vh);
  display: flex;
  overflow: hidden;
}

.hero__left {
  width: 48.6%;
  /* 925 / 1905 ≈ 48.6% */
  height: 100%;
  background: var(--color-dark-hero);
  padding: 0 clamp(40px, 5.25vw, 100px);
  /* 100 / 1905 ≈ 5.25vw */
  /* 100px → vwで追従 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  margin-top: -40px;
}

.hero__label-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-blue);
}

.hero__label-text {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3.08px;
  text-transform: uppercase;
  color: var(--color-blue);
  white-space: nowrap;
}

.hero__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 55px;
  line-height: 90px;
  letter-spacing: -0.64px;
  color: var(--color-bg);
  margin-bottom: 55px;
}

.hero__body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.9;
  color: var(--color-white);
  width: 100%;
}

.hero__right {
  width: 51.4%;
  /* 残り: 100 - 48.6% */
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__swiper {
  width: 100%;
  height: 100%;
}

.hero__swiper .swiper-slide {
  overflow: hidden;
}



.hero__pagination {
  position: absolute;
  bottom: 36px;
  right: 59px;
  display: flex;
  gap: 8px;
  z-index: 10;
  width: auto !important;
  left: auto !important;
}

.hero__pagination .swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--color-border);
  border-radius: 0;
  opacity: 1;
  margin: 0 !important;
  transition: background 0.3s;
}

.hero__pagination .swiper-pagination-bullet-active {
  background: var(--color-blue);
}

/* レスポンシブ: HERO (1500px) */
@media (max-width: 1500px) {

  .hero-wrapper,
  .hero {
    height: 780px;
  }

  .hero__left {
    width: 50%;
    padding: 0 80px;
  }

  .hero__heading {
    font-size: 46px;
    line-height: 76px;
    margin-bottom: 36px;
  }

  .hero__body {
    width: 100%;
  }

  .hero__right {
    width: 50%;
    flex: 1;
  }
}

/* レスポンシブ: HERO (1280px) */
@media (max-width: 1280px) {

  .hero-wrapper,
  .hero {
    height: min(680px, 85vh);
  }

  .hero__label {
    margin-bottom: 28px;
  }

  .hero__left {
    width: 52%;
    padding: 0 60px;
  }

  .hero__heading {
    font-size: 38px;
    line-height: 64px;
    margin-bottom: 28px;
  }

  .hero__label {
    margin-bottom: 32px;
  }

  .hero__right {
    width: 48%;
  }
}

@media (max-width: 1170px) {
  .hero-wrapper {
    margin-top: 70px;
  }
}


/* レスポンシブ: HERO (840px: 縦積み) */
/* =========================================
   RESPONSIVE: HERO (840px以下：重ね合わせレイアウトに工夫)
   ========================================= */
@media (max-width: 840px) {
  .hero-wrapper {
    /* タブレット〜スマホでもファーストビューとしての存在感を出すため、高さを固定 */
    height: 560px;
  }

  .hero {
    height: 100%;
    position: relative;
    /* column-reverseを解除し、重ねるベースを作ります */
    flex-direction: row;
  }

  /* ★【重要】右側のスライダーを画面いっぱいに広げて背景にする */
  .hero__right {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    /* テキストより下に配置 */
  }

  /* position: relativeからabsoluteに戻し、Swiperの仕様に合わせる */
  .hero__image {
    position: absolute;
  }

  /* ★【重要】消さずに、スライダーの上に重ねる */
  .hero__left {
    display: flex;
    /* display: none から変更 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* スライダーの上に重ねる */

    /* 既存の background 行を以下に差し替え */
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.15) 100%);
    padding: 0 40px 40px;
    justify-content: flex-end;
    /* 縦方向の中央寄せ */
    isolation: isolate;
  }

  /* テキスト全体のカラー微調整（背景が暗くなるので白を際立たせる） */
  .hero__heading {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* 視認性向上のための影 */
  }

  .hero__label {
    margin-bottom: 24px;
    margin-top: 0;
  }

  .hero__label-text {
    /* 必要に応じて、暗い背景で見えやすい色（白など）に変えてもOK */
    color: #00a2d7;
  }

  .hero__body {
    width: 100%;
    max-width: 600px;
    /* 文字が横に広がりすぎないように制限 */
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  }

  /* ページネーションの位置をテキストと被らないように微調整 */
  .hero__pagination {
    display: none;
  }
}

/* レスポンシブ: HERO (640px以下：スマホ最適化) */
@media (max-width: 640px) {
  .hero-wrapper {
    /* スマホ画面に合わせた程よい高さ（もしくは 70vh などでも綺麗です） */
    height: 480px;
  }

  .hero__left {
    padding: 0 20px;
    /* スマホは下側にテキストを溜める配置にすると、スライドの絵も見えやすくてお洒落です */
    justify-content: flex-end;
    padding-bottom: 20px;
  }

  .hero__body {
    display: none;
  }

  .hero__heading {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 0px;


  }

  .hero__heading br {

    display: block;
  }

  .hero__label {
    margin-bottom: 5px;
  }

  /* スマホの狭い画面ではボディーコピーを非表示（またはさらに短く）にしてもスッキリします */
  .hero__body {
    font-size: 13px;
    line-height: 1.6;
    /* 改行文字がスマホ幅で不自然にならないよう、
       HTMLの文章に <br class="pc"> を仕込んで、common.cssの.pc { display:none; } で消すと綺麗に収まります */
  }

  .hero__pagination {
    bottom: 20px;
    right: 20px;
  }

  .hero__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }
}


/* =========================================
   NEWS BAR (スライダー調整用)
   ========================================= */
.news-bar {
  width: var(--canvas-width);
  background: var(--color-bg);
  padding: 30px 0 0;
}

.news-bar__content {
  max-width: 1200px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 50px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  gap: 30px; /* スライダーと右側リンクの間の溝 */
}

/* スライダー全体のサイズ調整 */
.news-slider.swiper {
  width: 100%;
  margin: 0;
  overflow: hidden; /* はみ出たスライドを隠す */
}

/* 各スライドの幅調整 */
.swiper-slide {
  height: auto;
}

.news-bar__left {
  display: block;
  transition: 0.2s;
  text-decoration: none;
}

.news-bar__left article {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.news-bar__left article .news-bar__meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0; /* flex内のテキスト省略を効かせるため */
}

.news-bar__left:hover {
  opacity: 0.6;
}

.news-bar__date,
.news-bar__tag {
  white-space: nowrap;
}

.news-bar__tag {
  display: none;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 5px 10px;
  line-height: 14px;
  white-space: nowrap;
}

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

/* タイトルが長すぎるときにスライダーが崩れないよう、三点リーダー(...)で省略 */
.news-bar__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-dark);
  letter-spacing: 1.44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

/* 右側のコントロール部分（ボタンと一覧リンク） */
.news-bar__right-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0; /* 縮まないように固定 */
}

.news-bar__right-controls .news-bar__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* 簡易的な自作矢印ボタンのスタイル（デザインに合わせて調整してください） */

.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

/* --- レスポンシブ (元の設定を維持・調整) --- */
@media (max-width: 840px) {
  .news-bar__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 30px;
  }

  .news-bar__right-controls {
    width: 100%;
    justify-content: flex-end;
  }

  /* 840px以下では「一覧へ」を非表示にする元の指定に合わせる場合 */
  .news-bar__link {
    display: none;
  }
}

@media (max-width: 640px) {
  .news-bar__content {
    padding: 15px 20px;
  }
  .news-bar__left article {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }
  .news-bar__left article .news-bar__meta {
    width: 100%;
    gap: 12px;
  }
  .news-bar__title {
    white-space: normal; /* スマホ時は折り返しを許可 */
  }
  .date_wrap {
  gap: 10px;
  }
}


/* =========================================
   ABOUT
   ========================================= */
.about__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about__image-wrap {
  width: 46.7%;
  /* 480 / (480+548) ≈ 46.7% */
  aspect-ratio: 480 / 584;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: 80px;
}

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

.about__card {
  width: 53.3%;
  max-width: 548px;
  background: var(--color-blue);
  flex-shrink: 0;
  margin-left: 0;
}

.about__card-inner {
  padding: 93px 67px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__card-inner .btn-link--white {
  margin-top: 10px;
}


.about__card .section-label__line {
  background-color: #fff;
}

.about__card .section-label__text {
  color: #fff;
}

.about__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 43px;
  line-height: 1.5;
  color: var(--color-bg);
}

.about__body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-bg);
  width: 100%;
  margin-top: 10px;
}

/* レスポンシブ: ABOUT (840px: 縦積み) */
@media (max-width: 840px) {
  .about__inner {
    flex-direction: column;
  }

  .about__image-wrap {
    width: 100%;
    aspect-ratio: 480 / 300;
    margin-top: 0;
  }

  .about__card {
    width: 100%;
    max-width: none;
  }

  .about__card-inner {
    padding: 30px 40px;
    gap: 20px;
  }

  .about__heading {
    font-size: 38px;
    line-height: 1.6;
  }
.about__card-inner .btn-link--white {
  margin-top: 0px;
}

}

/* レスポンシブ: ABOUT (640px) */
@media (max-width: 640px) {
  .about__card-inner {
    padding: 30px 20px;
  }

  .about__heading {
    font-size: 36px;
  }
}


/* =========================================
   CHALLENGE
   ========================================= */
.challenge__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.challenge__text {
  width: 48%;
  max-width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.challenge__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  color: var(--color-blue);
  margin-bottom: 30px;
}

.challenge__body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 29.6px;
  color: var(--color-dark);
  width: 100%;
  margin-bottom: 10px;
}

.challenge__image-wrap {
  width: 48%;
  /* 480 / ~1040 ≈ 48% */
  aspect-ratio: 480 / 550;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 48px;
  color: var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  padding-bottom: 0;
  width: fit-content;
}

.stats__row {
  display: flex;
  gap: 20px;
  padding-top: 30px;
  flex-wrap: wrap;
}

.stats__item {
  width: clamp(150px, 19vw, 245px);
  /* 245px → vwスケール */
  aspect-ratio: 1 / 1;
  background: var(--color-white);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  flex-shrink: 0;
  /* 追加: flexで潰れない */
  overflow: hidden;
}

.stats__number {
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.stats__big {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 64px);
  /* 固定64px → vwスケール */
  line-height: 1;
  color: var(--color-blue);
}

.stats__big--spaced {
  letter-spacing: 5px;
}

.stats__unit {
  font-family: var(--font-poppins);
  font-weight: 900;
  font-size: 18px;
  line-height: 18px;
  color: var(--color-dark);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.stats__unit--lg {
  font-size: 20px;
  line-height: 1.2;
}

.stats__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  /* 固定14px → vwスケール */
  line-height: 1.78;
  color: var(--color-dark);
  text-align: center;
}

/* レスポンシブ: CHALLENGE (840px: 縦積み) */
@media (max-width: 840px) {
  .challenge__inner {
    flex-direction: column;
    gap: 30px;
  }

  .challenge__text {
    width: 100%;
    max-width: none;
  }

  .challenge__heading {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 0px;
  }


  .challenge__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  /* Stats: 2列グリッド */
  .stats__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .stats__item {
    width: clamp(150px, 45%, 190px);


  }



  .stats__big {
    font-size: 48px;
    line-height: 1;
  }

  .stats__heading {
    font-size: 21px;
    width: 100%;
    line-height: 32px;
  }
}

/* レスポンシブ: CHALLENGE (640px) */
@media (max-width: 640px) {
  .stats__item {
    width: 100%;
    min-width: 140px;
    max-width: 400px;
    aspect-ratio: auto;
    gap: 10px;
    border-radius: 0px;
    padding: 20px 15px 15px;
  }


  .stats__row {
    padding-top: 10px;
  }

  .challenge__heading {
    font-size: 24px;
  }

  .stats__big {
    font-size: 40px;
    line-height: 40px;
  }
}


/* =========================================
   SERVICES
   ========================================= */
.services__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.services__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.5;
  color: var(--color-blue);
}

.services__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
}

.services__cards {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
}

.service-card {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--color-white);
}

.service-card:last-child {
  border-right: none;
  border-left: 1px solid var(--color-white);
}

.service-card__image {
  aspect-ratio: 519 / 323;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card__body {
  background: var(--color-blue);
  padding: 30px 49px;
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card__num {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.42px;
  color: #fff;
}

.service-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.56px;
  color: #fff;
}

.service-card__desc {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}

/* レスポンシブ: SERVICES (840px: 縦積み) */
@media (max-width: 840px) {
  .services__header {
    padding: 0;
    margin-bottom: 30px;
  }

  .services__heading {
    font-size: 28px;
    line-height: 1.8;
    white-space: normal;
    margin-bottom: 0px;
  }

  .services__cards {
    padding: 0;
    margin-bottom: 40px;
  }

  .service-card__body {
    gap: 20px;
  }

  .service-card__num {
    font-size: 12px;
  }


  .service-card__body {
    padding: 20px 20px;
  }


}

/* レスポンシブ: SERVICES (640px) */
@media (max-width: 640px) {
  .service-card__body {
    padding: 20px;
  }

  .services__cards {
    flex-direction: column;
  }

  .service-card {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid var(--color-white);
  }

  .services__heading {
    font-size: 24px;
  }

  .service-card:last-child {
    border-left: none;
    border-bottom: none;
  }

  .service-card__image {
    height: 260px;
  }


}


/* =========================================
   COMPARISON TABLE
   ========================================= */
.comparison__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.4;
  color: var(--color-dark);
  white-space: nowrap;
}

.comparison__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
}

.comparison__table-wrap {
  padding-top: 78px;
  margin-bottom: 80px;
  overflow-x: auto;
  /* 追加 */
  -webkit-overflow-scrolling: touch;
  /* 追加（iOS慣性スクロール） */
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* 追加: これ以下に縮まずスクロールへ */
}

.comparison__th {
  padding: 30px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.comparison__th--label {
  width: 18.7%;
  background: transparent;
}

.comparison__th--current {
  background: #d9d9d9;
  color: var(--color-dark);
  width: 40.9%;
  border: 1px solid var(--color-border);
}

.comparison__th--ideal {
  background: var(--color-blue);
  color: var(--color-bg);
  width: 40.9%;
  border: 5px solid var(--color-blue);
  /* 既存 */
  /* 追加 */
  border-bottom: none;
}


tbody tr:last-child .comparison__td--ideal {
  border-bottom: 5px solid var(--color-blue);
  /* 追加 */
}

.comparison__td {
  padding: 30px;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  border-bottom: 1px solid var(--color-bg);
  white-space: nowrap;
}

.comparison__td--label {
  background: #d9d9d9;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 18px;
  color: var(--color-dark);
  border: 1px solid var(--color-bg);
}

.comparison__td--current {
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-left: none;
}

.comparison__td--ideal {
  background: var(--color-blue-light);
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-dark);
  border-top: none;
  /* 追加 */
  border-left: 5px solid var(--color-blue);
  /* 変更 */
  border-right: 5px solid var(--color-blue);
  /* 変更 */
  border-bottom: 1px solid #d9d9d9;
  /* 行間の線はそのまま */

}

.comparison__scroll-hint {
  display: none;
}

@media (min-width: 840px) and (max-width: 1040px) {
  .comparison__table-wrap {
    padding-bottom: 12px;
    /* ★スクロールバーが表示されるスペースを確保 */
    padding-top: 20px;
  }

  /* ★スクロールバー全体のデザイン設定 */
  .comparison__table-wrap::-webkit-scrollbar {
    height: 6px;
    /* バーの太さ（高さ） */
    display: block;
    /* iOSなどで強制表示 */
  }

  /* ★スクロールバーの背景（レール部分） */
  .comparison__table-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* 薄いグレーの土台 */
    border-radius: 3px;
  }

  /* ★スクロールバーの動くつまみ（バー本体） */
  .comparison__table-wrap::-webkit-scrollbar-thumb {
    background: var(--color-blue, #00a2d7);
    /* 貴社のメインカラー等に合わせて変更してください */
    border-radius: 3px;
  }

  .comparison__scroll-hint {
    display: flex;
    justify-content: flex-end;
    /* 右寄せに配置（左寄せなら flex-start） */
    margin-bottom: 8px;
    /* テーブルとのすき間 */
    margin-top: 35px;
  }

  .scroll-hint-text {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted, #888);
    background: #eaeaea;
    /* ほんのり背景色をつけて目立たせる */
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;

    /* ほんのり動かすアニメーション（お好みで消してもOKです） */
    animation: pulseHint 2s infinite ease-in-out;
  }

  @keyframes pulseHint {

    0%,
    100% {
      opacity: 0.6;
    }

    50% {
      opacity: 1;
    }
  }

}


/* レスポンシブ: COMPARISON TABLE (840px: 横スクロール) */
@media (max-width: 840px) {
  .comparison__header {
    padding: 0;
  }

  .comparison__heading {
    font-size: 28px;
    line-height: 42px;
    white-space: normal;
  }

  .comparison__table-wrap {
    padding-top: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    /* ★スクロールバーが表示されるスペースを確保 */
  }

  .comparison__table {
    min-width: 640px;
  }

  .comparison__th {
    font-size: 16px;
    padding: 15px;
  }

  .comparison__th--label {
    width: 120px;
  }

  .comparison__th--current,
  .comparison__th--ideal {
    width: auto;
  }

  .comparison__td {
    font-size: 14px;
    padding: 15px 7px;
    white-space: normal;
  }

  .comparison__td--label {
    font-size: 14px;
  }


  /* ★スクロールバー全体のデザイン設定 */
  .comparison__table-wrap::-webkit-scrollbar {
    height: 6px;
    /* バーの太さ（高さ） */
    display: block;
    /* iOSなどで強制表示 */
  }

  /* ★スクロールバーの背景（レール部分） */
  .comparison__table-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* 薄いグレーの土台 */
    border-radius: 3px;
  }

  /* ★スクロールバーの動くつまみ（バー本体） */
  .comparison__table-wrap::-webkit-scrollbar-thumb {
    background: var(--color-blue, #00a2d7);
    /* 貴社のメインカラー等に合わせて変更してください */
    border-radius: 3px;
  }

  .comparison__scroll-hint {
    display: flex;
    justify-content: flex-end;
    /* 右寄せに配置（左寄せなら flex-start） */
    margin-bottom: 8px;
    /* テーブルとのすき間 */
    margin-top: 20px;
  }

  .scroll-hint-text {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted, #888);
    background: #eaeaea;
    /* ほんのり背景色をつけて目立たせる */
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;

    /* ほんのり動かすアニメーション（お好みで消してもOKです） */
    animation: pulseHint 2s infinite ease-in-out;
  }

  @keyframes pulseHint {

    0%,
    100% {
      opacity: 0.6;
    }

    50% {
      opacity: 1;
    }
  }

}

@media (max-width: 640px) {

  .comparison__heading {
    font-size: 24px;
  }
}

/* =========================================
   PROCESS
   ========================================= */
.process__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 80px;
}

.process__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  color: var(--color-blue);
}

.process__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--color-bg);
  padding: 10px 0;
  border-bottom: none;
}

.process-step__content {
  width: 72%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step__header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 55px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}

.process-step__num {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 38px;
  line-height: normal;
  color: var(--color-blue);
}

.process-step__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-dark);
}

.process-step__desc {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-dark);
}

.process-step__image {
  width: 21.2%;
  /* 224 / 1055 ≈ 21.2% */
  aspect-ratio: 224 / 157;
  flex-shrink: 0;
}

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

.process-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 0;
}

.process-step__arrow img {
  width: 37px;
  height: 25px;
  transform: rotate(180deg);
}

.process .comparison__scroll-hint {
  display: none;
}

/* =========================================
   レスポンシブ: PROCESS (840px以下で横スクロール化)
   ========================================= */
@media (max-width: 840px) {
  .process__header {
    padding: 0;
    margin-bottom: 30px;
  }

  .process__heading {
    font-size: 36px;
    line-height: 46px;
  }

  .process__sub {
    white-space: normal;
  }

  /* ★1. ステップ全体を包む要素を横並び＆スクロール可能にする */
  .process__steps {
    display: flex;
    flex-direction: row; /* 縦から横並びに変更 */
    align-items: stretch; /* 高さを揃える */
    gap: 0;
    padding: 0 0 20px 0; /* スクロールバー用の下部余白 */
    margin-bottom: 40px;
    overflow-x: auto; /* 横スクロールを有効化 */
    -webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
  }

  /* ★2. 各ステップの幅を固定し、縮まないようにする */
  .process-step {
    flex-direction: column; /* ステップ内のコンテンツと画像は縦並び */
    gap: 16px;
    width: 280px; /* 各ステップの横幅（お好みで調整してください） */
    flex-shrink: 0; /* 横幅が潰れないように固定 */
    background: var(--color-bg);
    padding: 20px; /* 内側に少し余白を持たせると綺麗に見えます */
    border: 1px solid var(--color-border); /* ステップの区切りをわかりやすく */
    border-radius: 6px;
  }

  .process-step__content {
    width: 100%;
  }

  /* ★3. 各ステップの画像サイズ調整 */
  .process-step__image {
    width: 100%;
    height: auto;
    aspect-ratio: 224 / 157;
  }

  .process-step__num {
    font-size: 30px;
  }

  .process-step__title {
    font-size: 18px; /* スマホで見やすいように少し縮小 */
  }

  /* ★4. 矢印（アロー）を横向き（右向き）に変更する */
  .process-step__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* 左右の余白 */
    flex-shrink: 0;
  }

  .process-step__arrow img {
    width: 25px;
    height: 25px;
    transform: rotate(90deg); /* 元が下向き(または上向き)なので、右を向くように回転 */
  }

  /* ★5. COMPARISON TABLEと同様のスクロールバーデザインを適用 */
  .process__steps::-webkit-scrollbar {
    height: 6px;
    display: block;
  }

  .process__steps::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .process__steps::-webkit-scrollbar-thumb {
    background: var(--color-blue, #00a2d7);
    border-radius: 3px;
  }

  .process .comparison__scroll-hint {
    display: flex;
    justify-content: flex-end;
    /* 右寄せに配置（左寄せなら flex-start） */
    margin-bottom: 20px;
    /* テーブルとのすき間 */
    margin-top: 20px;
  }

}

/* レスポンシブ: PROCESS (640px) */
@media (max-width: 640px) {
  .process__heading {
    font-size: 28px;
  }
  
  /* 640px以下でもステップの横幅は280pxを維持するため、画像の高さ固定を解除 */
  .process-step__image {
    height: auto;
  }
}

/* =========================================
   VOICE / TESTIMONIALS
   ========================================= */
/* 💡新設：全体を包むコンテナ（PCでの幅固定と余白の確保、ボタン配置の基準） */
.voice__swiper-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.voice__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.voice__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  color: var(--color-blue);
}

.voice__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
}

/* カード本体 */
.voice-card {
  width: 100%;
  min-width: 300px; /* 💡PCでカードが細くなりすぎないように最低幅を確保（左右ボタン余白70px×2を考慮） */
  background: var(--color-white);
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  flex: 1; 
  box-sizing: border-box;
}

.voice-card__image {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
}

.voice-card__image img {
  width: 80%;
  height: 170px;
  object-fit: contain;
  display: block;
  margin: 40px auto 20px;
}

.voice-card__body {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  flex: 1; 
}

.voice-card__ttl {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-blue);
  width: 100%;
  flex: 0 0 auto; 
  min-height: 100px; 
  padding: 10px 5px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center; 
}

.voice-card__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-dark);
  width: 100%;
  flex: 1 0 auto; 
  min-height: 210px; 
  padding: 10px 10px;
  border-bottom: 1px solid var(--color-border);
}

.voice-card__role {
  display: block;
  font-family: var(--font-jost);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: var(--color-blue);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  flex: 0 0 auto; 
}

.voice-card__size {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-muted);
  padding: 10px 0;
  text-align: center;
  flex: 0 0 auto; 
  margin-top: auto; 
}

/* Swiper本体 */
.voice__swiper {
  width: 100%;
  overflow: hidden; 
  padding: 0 70px 50px; /* 💡左右にボタン用の余白を確保（はみ出し防止）、下はページネーション用 */
  box-sizing: border-box;
}



.voice__swiper .swiper-slide {
  height: auto !important;
  display: flex;
  flex-direction: column;
}

/* 💡ボタン設置エリア：.voice__swiperに確保した左右70pxの余白の中に完全に収める（はみ出し防止） */
.voice__swiper-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* 💡エリア自体はクリックを透過させる */
  z-index: 10;
}

.voice__swiper-controls .swiper-btn {
  pointer-events: auto; /* 💡ボタン本体はクリック可能に戻す */
}

.voice__swiper-prev {
  margin-left: 10px; /* 💡余白70pxの中央付近にボタン(50px)が来るよう調整。コンテナの外には出ない */
}

.voice__swiper-next {
  margin-right: 10px; /* 💡余白70pxの中央付近にボタン(50px)が来るよう調整。コンテナの外には出ない */
}

/* 前後ボタン */
.swiper-btn {
position: relative; /* 💡内側の矢印(::after)の位置基準にするためrelativeに変更 */
  width: 50px;        /* 少し押しやすいようにサイズを微調整 */
  height: 50px;
  background: var(--color-blue);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.swiper-btn:hover {
  opacity: 0.8;
}

.swiper-btn::after {
content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.voice__swiper-prev::after {
  transform: translate(-35%, -50%) rotate(-135deg);
}

/* 💡右矢印（＞）にするために45度回転させて中央調整 */
.voice__swiper-next::after {
  transform: translate(-65%, -50%) rotate(45deg);
}
/* 💡ページネーション位置・スタイル調整 */
.voice__pagination.swiper-pagination {
  bottom: 10px !important; /* スライド直下の最適な位置に固定 */
  left: 50%;
  transform: translateX(-50%);
}

.voice__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--color-border);
  border-radius: 50%; /* 💡丸い形に変更 */
  opacity: 1;
  margin: 0 5px !important;
  transition: background 0.3s ease;
}

.voice__pagination .swiper-pagination-bullet-active {
  background: var(--color-blue);
}


/* =========================================
   レスポンシブ
   ========================================= */
@media (max-width: 840px) {
  .voice {
    overflow: hidden !important;
  }

  .voice__header {
    margin-bottom: 30px;
  }

  .voice__heading {
    font-size: 36px;
    line-height: 46px;
  }

  /* 💡スマホ環境：左右にボタン用の余白を確保（PCと同じ考え方でコンテナ内に収め、はみ出しを防止） */
  .voice__swiper-container {
    overflow: hidden; /* 💡はみ出し防止のためvisibleをやめ、コンテナ内に収める */
  }

  .voice__swiper {
    overflow: hidden;
    padding: 0 60px 0; /* 💡左右にボタン用の余白を確保 */
  }
  .voice__swiper .swiper-wrapper {
  }

  .voice-card {
width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important; /* ❌ 100% から auto に変更し、潰れを防止 */
    display: flex;
    flex-direction: column;
  }

  .voice-card__body {
flex: none; /* 💡 無理な伸縮をさせてEdgeで潰れないようリセット */
    display: flex;
    flex-direction: column;
  }

  .voice-card__ttl {
    min-height: auto; /* 高さを内容に合わせる */
  }

.voice-card__text {
    flex: none; 
    min-height: auto; 
  }

  /* 💡スマホでもPCと同様に左右両端にボタンを表示。
     確保した余白46pxの中にボタンを完全に収める（コンテナの外には出ない） */
  .voice__swiper-controls {
    left: 0;
    right: 0;
  }

  .voice__swiper-prev {
    margin-left: 10px; /* 💡余白46pxの中にボタン(40px)を収める */
  }

  .voice__swiper-next {
    margin-right: 10px; /* 💡余白46pxの中にボタン(40px)を収める */
  }

  .voice__swiper-controls .swiper-btn {
    width: 40px; /* 💡スマホでは少し小さくして圧迫感を抑える */
    height: 40px;
  }

  
  .voice__pagination.swiper-pagination {
    bottom: 0 !important;
  }
  .voice-card__image img {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .voice__heading {
    font-size: 32px;
  }

  .voice-card__ttl {
    font-size: 14px;
  }
  .voice__swiper-prev {
    margin-left: 10px;

  }
.voice__swiper-next {
  margin-right: 10px;
}

.voice-card__image img {
  height: 150px;
}
  .voice-card__text {
    padding: 10px 0px;
  }

  .voice-card__body {
    padding: 0 15px 0;
  }

}
/* =========================================
   FRAMEWORKS
   ========================================= */
.frameworks__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}



.frameworks__text {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.frameworks__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  margin-bottom: 30px;
  color: var(--color-blue);
}

.frameworks__body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
  width: 100%;
  margin-bottom: 10px;
}




/* why */
.why {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why_txt {
  margin-top: 30px;
}

.why_txt p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 29.6px;
  color: var(--color-dark);
  width: 100%;
  margin-bottom: 10px;
}

.why_txt.tiny {
  font-size: 14px;
}

.why_wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 60px;
}



.right_box img {
  height: 100%;
  object-fit: contain;
}

.why__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 48px;
  color: var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  padding-bottom: 0;
  width: fit-content;
}

.section_link_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}


.frameworks .section-link a {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
}



/* レスポンシブ: CHALLENGE (840px: 縦積み) */
@media (max-width: 840px) {
  .frameworks__inner {
    flex-direction: column;
    gap: 30px;
  }

  .frameworks__text {
    width: 100%;
    max-width: none;
  }

  .frameworks__heading {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 0px;
  }



  .frameworks__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .why_wrap {
    flex-direction: column;
    gap: 40px;
  }

  .why_wrap .pc {
    display: none;
  }

  .why_wrap .sp {
    display: block;
  }

  .why_wrap .right_box {
    margin-top: 30px;
    width: 100%;
    height: auto;
  }

  .why_wrap .right_box img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 40px auto 0;
  }

  .frameworks__heading {
    font-size: 28px;
    line-height: 42px;
  }

  .why__heading {
    font-size: 21px;
    line-height: 32px;
  }
}

/* レスポンシブ: CHALLENGE (640px) */
@media (max-width: 640px) {
  .frameworks {
    gap: 20px;
  }

  .why_wrap .right_box {
    margin-top: 20px;
  }

  .frameworks__heading {
    font-size: 24px;
  }


  .why_wrap .right_box {
    width: 100%;
  }

  .section_link_wrap {
    gap: 10px;
  }

  .why_txt {
    margin-top: 20px;
  }

  .section_link_wrap .section-link a {
    font-size: 16px;
  }

}


/* =========================================
   BLOG
   ========================================= */
.blog__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
  width: 100%;
  margin-bottom: 80px;
}

.blog__heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  color: var(--color-blue);
}

.blog__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-dark);
}

/* 💡 2列から3列に変更、カード同士の隙間(gap)を設定 */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; 
  width: 100%;
  margin-bottom: 40px;
}

.blog_link {
  text-align: center;
}

/* 💡 row から column に変更して中身を縦並びに */
.blog-card {
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column; 
  align-items: stretch;
  gap: 20px;
  overflow: hidden;
  padding: 20px;
  background-color: #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* 💡 横幅いっぱいに広げ、縦並びで見栄えの良いアスペクト比（例：3:2）に調整 */
.blog-card__image {
  width: 100%;
  aspect-ratio: 3 / 2; 
  flex-shrink: 0;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* カード内のテキストエリア */
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  flex-grow: 1; /* 高さを揃えるため */
}

.blog-card__cat {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.96px;
  padding: 5px 10px;
  width: fit-content;
}

.blog-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.96px;
  color: var(--color-dark);
  width: 100%;
  margin-bottom: auto; /* 日付を一番下に固定するおまじない */
}

.blog-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--color-muted);
}

.blog-card__clock {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* =========================================
   レスポンシブ（タブレット・スマホ対応）
   ========================================= */

/* 💡 タブレットサイズ（960px以下など）で2列、または840px以下で1列にする調整 */
@media (max-width: 960px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr); /* 画面が狭くなったら一旦2列に */
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .blog__header {
    padding: 0;
    margin-bottom: 30px;
  }

  .blog__heading {
    font-size: 36px;
    line-height: 46px;
  }

  .blog__grid {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 20px;
  }

  .blog-card {
    padding: 15px;
    gap: 15px;
  }

  .blog-card__title {
    font-size: 16px;
  }

  .blog-card__cat {
    font-size: 12px;
    padding: 2px 5px;
  }
}





/* =========================================
   HOVER INTERACTIONS — index固有
   ========================================= */

/* --- ニュースバーリンク --- */
.news-bar__link:hover {
  color: var(--color-blue);
}

.blog_link .news-bar__link:hover {
  color: var(--color-orange);
}


.news-bar__link:hover .arrow-circle--orange {
  transform: translateX(5px) rotate(90deg);
}

/* --- サービスカード 画像ズーム --- */
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

/* --- ブログカード --- */
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}