/* ============================================================
   フロントページ：fixedヘッダー分のpadding打ち消し
   ============================================================ */

.page-front {
  margin-top: calc(-1 * var(--header-total-height));
}

/* ============================================================
   ヒーローセクション
   ============================================================ */

.section-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 920px;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  /* flex-start + .hero-inner の margin: auto で「余白があれば中央、
     足りなければ上寄せ」になる。中央揃えのままだと画面が低いとき
     上へはみ出して円がメニューに重なりクリックできなくなる */
  justify-content: flex-start;
  flex-direction: column;
  /* 固定ヘッダーの下からコンテンツを開始する */
  padding-top: calc(var(--admin-bar-height, 0px) + var(--header-total-height));
}

/* --- 背景動画 --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* --- 内部レイアウト --- */
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  /* 縦の auto マージンは余白があるときだけ効く。
     余白が足りないときは 0 になり上寄せ＝下方向にはみ出す */
  margin: auto;
  padding: 0 20px;
  gap: 40px;
}

/* --- 左：メインコピー --- */
.hero-copy {
  flex-shrink: 0;
  max-width: 540px;
}

.hero-copy__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 48px;
  color: #ffffff;
  margin: 0 0 30px;
  letter-spacing: 0.16em;
  line-height: 68px;
}

.hero-copy__accent {
  color: #ffffff;
}

.hero-copy__sub {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 26px;
  line-height: 40px;
  letter-spacing: 0.16em;
  color: #ffffff;
  margin: 0 0 40px;
}

.hero-bottom-cta {
  max-width: 1240px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.btn-hero {
  display: inline-block;
  padding: 18px 48px;
  color: #ffffff;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  width: 325px;
  /* transition: background-color 0.3s; */

  background: #145393;
  box-shadow:
    inset 50px -50px 50px rgba(63, 175, 237, 0.05),
    inset -60px 31px 60px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(84.8109px);
  /* 참고: 배경 필터는 최소한의 브라우저만 지원합니다 */
  border-radius: 3px;
}

.btn-hero:hover {
  /* background-color: #145393; */
}

/* --- 右：バブルUI --- */
.hero-bubbles {
  position: relative;
  /* 円の大きさ・配置はすべてこの値に対する % で決まるため、
     画面が低いときはこの 1 箇所を縮めれば全体が追従する */
  --hero-bubbles-size: 680px;
  width: var(--hero-bubbles-size);
  height: var(--hero-bubbles-size);
  --active-card-width: 452px;
  --active-card-height: 284px;
  flex-shrink: 0;
}

.hero-bubbles__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%) rotate(-90deg);
  pointer-events: none;
  z-index: 1;
}

.hero-bubbles__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.hero-bubbles__ring-bar {
  fill: none;
  stroke: rgba(120, 200, 255, 0.55);
  stroke-width: 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(120, 200, 255, 0.4));
}

.hero-bubble {
  position: absolute;
  display: flex;
  /* 184 / 680 */
  width: 27.059%;
  height: 27.059%;
  border-radius: 50%;
  background: #ffffff;
  color: #145393;
  text-align: left;
  cursor: pointer;
  padding: 18px;
  z-index: 2;
  overflow: hidden;
  will-change: top, left, width, height, border-radius, transform;
  transition:
    filter 0.45s ease,
    opacity 0.45s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.hero-bubble:not(.is-active):hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(79, 176, 255, 0.4);
}

.hero-bubble.is-active {
  width: var(--active-card-width);
  height: var(--active-card-height);
  top: calc(50% - (var(--active-card-height) / 2));
  left: calc(50% - (var(--active-card-width) / 2));
  transform: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #e8f1fc 100%);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 30px 32px;
  z-index: 10;
  cursor: pointer;
}

.hero-bubble.is-dimmed {
  filter: blur(2px) saturate(0.55);
  opacity: 0.45;
}

.hero-bubble.is-dimmed:hover {
  filter: blur(0) saturate(1);
  opacity: 1;
}

.hero-bubble__num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  line-height: 1.3;
  opacity: 0.75;
  width: 100%;
  transition:
    font-size 1s cubic-bezier(0.87, 0, 0.13, 1),
    margin-bottom 1s cubic-bezier(0.87, 0, 0.13, 1),
    letter-spacing 1s cubic-bezier(0.87, 0, 0.13, 1),
    color 0.5s ease,
    opacity 0.5s ease;
}

.hero-bubble__label {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  width: 100%;
  transition:
    font-size 1s cubic-bezier(0.87, 0, 0.13, 1),
    line-height 1s cubic-bezier(0.87, 0, 0.13, 1),
    margin-bottom 1s cubic-bezier(0.87, 0, 0.13, 1);
}

.hero-bubble__detail {
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  text-align: left;
}

.hero-bubble__inner {
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-bubble.is-active .hero-bubble__inner {
  justify-content: flex-start;
  align-items: flex-start;
}

/* 円の状態：番号を中央寄せ、質問ブロックを少し上げる */
.hero-bubble:not(.is-active) .hero-bubble__inner {
  padding-bottom: 24px;
}

.hero-bubble:not(.is-active) .hero-bubble__num {
  text-align: center;
}

.hero-bubble.is-active .hero-bubble__num {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 1;
  letter-spacing: 0.12em;
  color: #4a7bb0;
}

.hero-bubble.is-active .hero-bubble__label {
  font-size: 23px;
  line-height: 1.35;
  margin-bottom: 14px;
  white-space: nowrap;
}

.hero-bubble.is-active .hero-bubble__label br {
  display: none;
}

.hero-bubble__text {
  font-family: var(--font-ja);
  font-size: 13.5px;
  line-height: 1.78;
  color: #2a4d6f;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.hero-bubble__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  color: #145393;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.hero-bubble__link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.hero-bubble__link:hover::after {
  transform: translateX(4px);
}

@keyframes hero-bubble-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -7px, 0) scale(1.012);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-bubble:not(.is-active) .hero-bubble__inner {
  animation: hero-bubble-float var(--float-duration, 5.8s) cubic-bezier(0.45, 0.05, 0.55, 0.95)
    infinite;
}

/* 座標は 680px コンテナ基準の % （例: 124 / 680 = 18.235%） */
.hero-bubble[data-index='0'] {
  top: 0;
  left: 36.471%;
  --float-delay: 0s;
  --float-duration: 5.6s;
}
.hero-bubble[data-index='1'] {
  top: 18.235%;
  left: 68.235%;
  --float-delay: -0.9s;
  --float-duration: 6.1s;
}
.hero-bubble[data-index='2'] {
  top: 54.706%;
  left: 68.235%;
  --float-delay: -1.7s;
  --float-duration: 5.4s;
}
.hero-bubble[data-index='3'] {
  top: 72.941%;
  left: 36.471%;
  --float-delay: -2.6s;
  --float-duration: 5.9s;
}
.hero-bubble[data-index='4'] {
  top: 54.706%;
  left: 4.706%;
  --float-delay: -3.4s;
  --float-duration: 6.3s;
}
.hero-bubble[data-index='5'] {
  top: 18.235%;
  left: 4.706%;
  --float-delay: -4.2s;
  --float-duration: 5.7s;
}

.hero-bubble.is-active[data-index] {
  top: calc(50% - (var(--active-card-height) / 2));
  left: calc(50% - (var(--active-card-width) / 2));
}

.hero-bubble[data-index='0']:not(.is-active) .hero-bubble__inner,
.hero-bubble[data-index='1']:not(.is-active) .hero-bubble__inner,
.hero-bubble[data-index='2']:not(.is-active) .hero-bubble__inner,
.hero-bubble[data-index='3']:not(.is-active) .hero-bubble__inner,
.hero-bubble[data-index='4']:not(.is-active) .hero-bubble__inner,
.hero-bubble[data-index='5']:not(.is-active) .hero-bubble__inner {
  animation-delay: var(--float-delay);
}

/* --- クリック誘導：詳しく見るボタン + パルスリング --- */
.hero-bubble__hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #145393;
  white-space: nowrap;
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.hero-bubble__hint::after {
  content: '›';
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease;
}

.hero-bubble__hint-text {
  position: relative;
}

/* ホバーで左から引かれる下線 */
.hero-bubble__hint-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* ホバー時に色を濃く、矢印を動かす */
.hero-bubble:not(.is-active):hover .hero-bubble__hint {
  opacity: 1;
  color: #0d3d6e;
}

.hero-bubble:not(.is-active):hover .hero-bubble__hint::after {
  transform: translateX(3px);
}

.hero-bubble:not(.is-active):hover .hero-bubble__hint-text::after {
  transform: scaleX(1);
}

/* 回答カードを開いている間はヒントを隠す */
.hero-bubble.is-active .hero-bubble__hint {
  opacity: 0;
}

/* 質問の円が押せることを示すパルスリング */
@keyframes hero-bubble-pulse {
  0% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(120, 200, 255, 0.55);
  }
  70% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.28),
      0 0 0 15px rgba(120, 200, 255, 0);
  }
  100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(120, 200, 255, 0);
  }
}

.hero-bubble:not(.is-active) {
  animation: hero-bubble-pulse 2.8s ease-out infinite;
  animation-delay: var(--float-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bubble:not(.is-active) {
    animation: none;
  }
}

/* --- モバイル：バブル非表示 --- */
@media (max-width: 768px) {
  .section-hero {
    height: 70vh;
    min-height: 560px;
    /* SP は円を非表示にするため、ヘッダー分の余白は不要 */
    padding-top: 0;
  }

  .hero-inner {
    padding: 0 24px;
    justify-content: center;
    position: absolute;
    right: 0;
    text-align: center;
    transform: none;
  }

  .hero-bubbles {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy__title {
    font-size: 32px;
    line-height: 1.4;
  }

  .hero-copy__sub {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 32px;
  }

  .hero-bottom-cta {
    justify-content: center;
    align-items: center;
    bottom: 28px;
    width: 100%;
    transform: none;
  }

  .btn-hero {
    font-size: 14px;
    padding: 14px 36px;
    width: min(100%, 325px);
    text-align: center;
  }
}

/* ============================================================
   共通スタイル
   ============================================================ */

.font-ja {
  font-family: var(--font-ja);
}

.font-en {
  font-family: var(--font-en);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header .section-title {
  font-family: var(--font-en);
  font-weight: var(--font-weight-demi);
  font-size: 72px;

  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #145393;
  background-clip: text;
  text-fill-color: transparent;
}

.section-header .section-subtitle {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.16em;
}

.section-header .section-intro {
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0.16em;
  color: #313131;
}

.more-wrapper {
  text-align: right;
}

.btn-more {
  display: inline-flex;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.12em;
  font-weight: var(--font-weight-medium);
  gap: 10px;
}

.btn-more.icon-arrow::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url('../images/common/icon_detail_off.svg') center / contain no-repeat;
}

.btn-more.icon-arrow:hover::after {
  background-image: url('../images/common/icon_detail_on.svg');
}

/* ============================================================
   共通コンポーネント：スワイパーナビゲーションボタン
   ============================================================ */

.swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  color: #145393;
  user-select: none;
  transition: box-shadow 0.2s;
}

.swiper-nav-btn:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}

.swiper-nav-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

/* ============================================================
   会社紹介動画
   ============================================================ */

.section-about-movie {
  background-color: #fff;
}

.section-about-movie .association {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 50px;
}

/* ============================================================
   メッセージ
   ============================================================ */

.section-message {
  padding: 120px var(--gutter-width) 114px;
  text-align: center;
  font-size: 20px;
  line-height: 42px;
  letter-spacing: 0.16em;
  font-weight: var(--font-weight-medium);
}

.section-message p {
  margin-bottom: 20px;
}

.section-message p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   強み紹介セクション（OUR STRENGTHS）
   ============================================================ */

.section-strength {
  padding: 60px var(--gutter-width) 46px;
  background-color: #f7f7f7;
}

.section-strength .strength-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 40px;
}

.section-strength .strength-cards .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - 4rem) / 3);
  padding: 46px 0 60px;
  gap: 10px;
  align-self: stretch;
  flex-grow: 1;
  background-color: #fff;
  box-shadow: 0px 1.69004px 2.53506px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.section-strength .strength-cards .card .idx span {
  display: block;
  text-align: center;
}

.section-strength .strength-cards .card .idx .label {
  font-size: 13px;
  font-weight: var(--font-weight-demi);
  line-height: 16px;
  letter-spacing: 0.08em;
}

.section-strength .strength-cards .card .idx .num {
  font-size: 34px;
  font-weight: var(--font-weight-demi);
  letter-spacing: 0.1em;
  line-height: 1.4em;
}

.section-strength .strength-cards .card .idx .feature {
  font-size: 20px;
  font-weight: var(--font-weight-demi);
}

.section-strength .strength-cards .card .icon-wrapper {
  max-width: 203px;
  margin: 0 auto;
}

.section-strength .strength-cards .card .title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.16em;
  color: #6a818f;
}

/* ============================================================
   完全成功報酬セクション
   ============================================================ */

.section-complete-fee {
  padding: 80px var(--gutter-width);
  background-color: #f7f7f7;
}

.section-complete-fee .section-header {
  margin-bottom: 0;
}

.section-complete-fee .complete-fee__lead {
  font-size: 24px;
  line-height: 56px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-align: center;
}

.section-complete-fee .complete-fee__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0.16em;
  text-align: center;
  margin-bottom: 24px;
}

.section-complete-fee .section-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter-width);

  font-weight: 500;
  font-size: 16px;
  line-height: 28px;

  text-align: center;
  letter-spacing: 0.16em;

  color: #222222;
  margin-bottom: 30px;
}

.section-complete-fee .fee-desc {
  max-width: 1180px;
  margin: 0 auto 30px;
}

.section-complete-fee .fee-desc img {
  width: 100%;
}

/* ============================================================
   成約事例スライダーセクション（M&A STORY）
   ============================================================ */

.section-story {
  padding: 80px 24px 90px;
  background-color: #f7f7f7;
  overflow-x: clip;
}

.section-story .section-header {
  padding: 0;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.section-story .section-intro {
  margin-top: 20px;
}

.section-story .section-header .section-subtitle {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 30px;
  line-height: 48px;
  letter-spacing: 0.16em;
}

.section-story .section-body {
  max-width: 1200px;
  margin: 0 auto;
}

.story-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 40px 0;
}
.story-slider-wrapper .story-list.swiper {
  position: relative;
  z-index: 1;
}

.story-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #222222;
}

.story-card__link:hover .icon-arrow::after {
  background-image: url('../images/common/icon_detail_on.svg');
}

.story-list.swiper {
  overflow: visible;
}

.story-list .swiper-wrapper {
  align-items: stretch;
}

.story-card {
  background: #ffffff;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: auto;
}

.story-card .thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #dde4ed;
  overflow: hidden;
}

.story-card .thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card .industry-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #145393;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
}

.story-card .card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.story-card .card-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #222222;
  letter-spacing: 0.05em;
  flex: 1;
}

.story-card .more-wrapper {
  text-align: right;
}

.story-card .btn-more {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  gap: 8px;
  color: #222222;
  text-decoration: none;
}

.story-card .btn-more .arrow-icon {
  font-size: 18px;
  color: #145393;
  line-height: 1;
}

.story-card .btn-more--filled {
  gap: 10px;
}

.story-card .btn-more--filled img {
  width: 28px;
  height: 28px;
}

.story-swiper-prev {
  display: none;
  left: -68px;
}

.story-swiper-next {
  display: none;
  right: -68px;
}

@media (min-width: 1401px) {
  .story-swiper-prev,
  .story-swiper-next {
    display: flex;
  }
}

.section-story .btn-wrapper {
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: flex-start;
}

.section-story .btn-wrapper .btn {
  margin-top: 0;
}

/* ============================================================
   業界別M&A動向セクション（M&A TRENDS）
   ============================================================ */

.section-trends {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 80px;
  background: #10202f;
}

/* 背景はセクション全高に追従させる（固定高だと下端が切れる） */
.trends-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trends-bg__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.9s ease,
    transform 5.2s ease;
}

.trends-bg__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.section-trends::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 38, 0.58);
  z-index: 1;
}

.section-trends .section-header,
.section-trends .section-body {
  position: relative;
  z-index: 2;
}

.section-trends .section-header {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-trends .section-header .section-title,
.section-trends .section-header .section-subtitle {
  color: #fff;
  background: unset;
  -webkit-text-fill-color: unset;
}

.section-trends .section-header .section-title {
  font-size: 66px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.section-trends .section-header .section-subtitle {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.industry-item {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(12, 24, 36, 0.16);
  overflow: hidden;
}

.industry-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.item-names {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.item-name-ja {
  font-size: 22px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0.12em;
}

.item-name-en {
  display: none;
}

.item-toggle {
  flex-shrink: 0;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #145393;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
}

.item-toggle::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(45deg);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.industry-item.is-open .item-toggle {
  background: #eef2f6;
}

.industry-item.is-open .item-toggle::before {
  border-color: #222;
  transform: translateY(2px) rotate(-135deg);
}

/* 開閉アニメーション。
   overflow は padding ボックス基準でクリップされるため、
   閉じる側の要素には縦 padding を一切持たせない。
   下余白は開いた時だけ本体の padding-bottom として付与する。 */
.industry-item__body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* トラックを 0 まで縮められるようにする */
.industry-item__body > * {
  min-height: 0;
}

.industry-item.is-open .industry-item__body {
  grid-template-rows: 1fr;
  padding-bottom: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 0 24px;
}

.industry-tag {
  position: relative;
  display: inline;
  padding: 0;
  margin-right: 18px;
  color: #4f5964;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 22px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

/* リンク付きのタグ（a要素）のみクリック可能 */
a.industry-tag {
  cursor: pointer;
  transition: color 0.2s ease;
}

a.industry-tag:hover,
a.industry-tag:focus-visible {
  color: #145393;
  text-decoration: underline;
}

.industry-tag::after {
  content: '／';
  position: absolute;
  top: 50%;
  right: -17px;
  transform: translateY(-50%);
  color: #9ea7af;
}

.industry-tag:last-child::after {
  display: none;
}

/* ============================================================
   プレスリリースセクション（PRESS RELEASE）
   ============================================================ */

.section-press {
  padding: 100px 24px 80px;
}

.section-press .section-header {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.section-press .section-header .section-subtitle {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 30px;
  line-height: 43px;
  letter-spacing: 0.16em;
  color: #222222;
}

.press-list {
  list-style: none;
  margin: 0 auto 30px;
  padding: 0;
  max-width: 1200px;
}

.press-item {
  border-bottom: 1px solid #e0e0e0;
}

.press-item__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 16px;
  text-decoration: none;
  color: #222222;
  transition: background 0.15s;
}

.press-item__link::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url('../images/common/icon_detail_off.svg') center / contain no-repeat;
}

.press-item__link:hover::after {
  background-image: url('../images/common/icon_detail_on.svg');
}

.press-item__link:hover {
  background: #f3f3f3;
  opacity: 1;
}

.press-item__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.press-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.press-date {
  font-size: 13px;
  color: #6a818f;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.press-cat {
  font-size: 13px;
  color: #145393;
  font-weight: 500;
  white-space: nowrap;
}

.press-title {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0;
}

.section-press .btn-wrapper {
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   M&Aコラムスライダーセクション（M&A COLUMN）
   ============================================================ */

.section-column {
  padding: 100px 24px 80px;
  background-color: #f7f7f7;
  overflow: hidden;
}

.section-column .section-header {
  padding: 0;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.section-column .section-intro {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #555555;
  margin: 12px 0 0;
}

.section-column .section-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.column-slider-wrapper {
  position: relative;
  width: 100%;
}

.column-list.swiper {
  overflow: visible;
}

.column-list .swiper-wrapper {
  align-items: stretch;
}

.column-card {
  background: #ffffff;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: auto;
}

.column-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #222222;
}

.column-card__thumb {
  position: relative;
  width: 100%;
  background-color: #dde4ed;
  overflow: hidden;
}

.column-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.column-card__link:hover .column-card__thumb img {
  transform: scale(1.04);
}

.column-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #145393;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
}

.column-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.column-date {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.12em;
}

.column-title {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.12em;
  margin: 0;
  flex: 1;
}

.column-card__link:hover .icon-arrow::after {
  background-image: url('../images/common/icon_detail_on.svg');
}

.column-swiper-prev {
  display: none;
  left: -68px;
}

.column-swiper-next {
  display: none;
  right: -68px;
}

@media (min-width: 1401px) {
  .column-swiper-prev,
  .column-swiper-next {
    display: flex;
  }
}

.section-column .btn-wrapper {
  text-align: center;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ============================================================
   コンサルタント紹介セクション（OUR TEAM）
   ============================================================ */

.section-team {
  position: relative;
  overflow-y: visible;
  overflow-x: hidden;
  padding: 100px 24px 80px;
  background-color: #f7f7f7;
  --team-logo-shift-y: 0px;
}

.section-team .section-header {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.section-team .section-body {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.section-team::after {
  content: '';
  position: absolute;
  background-image: url(../images/top/bg_logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 735px;
  height: 735px;
  top: 48px;
  right: -180px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--team-logo-shift-y), 0);
  will-change: transform;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.section-team .team-card:hover .team-card__plus {
  color: #145393;
}

.team-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  overflow: hidden;
}

.team-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.section-team .team-card__info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-team .team-card__position {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
}

.section-team .team-card__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-team .team-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.08em;
}

.section-team .team-card__name-en {
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-team .team-card__plus {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  width: 40px;
  font-size: 20px;
  font-weight: 300;
  color: #888;
  line-height: 1;
  transition: color 0.2s ease;
}

.section-team .team-card__specialty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
}

.section-team .specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.section-team .specialty-item {
  display: inline-block;
  background-color: #f7f7f7;
  padding: 1px 8px;
  font-family: var(--font-ja);
  font-size: 12px;
}

.section-team .btn-wrapper {
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .section-press .section-header .section-subtitle {
    font-size: 20px;
  }
}

/* ============================================================
   M&Aステップセクション（M&A STEPS）
   ============================================================ */

.section-steps {
  padding: 96px 24px 112px;
  background-color: #fff;
}

.section-steps .section-header {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto 34px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-phase {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
  background-color: #d5e7f0;
  gap: 20px 60px;
  padding: 40px;
}

.steps-phase:nth-child(2) {
  background-color: #b0d2e3;
}

.steps-phase:nth-child(3) {
  background-color: #8abcd5;
}

.steps-phase__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 28px;
  gap: 2px;
  text-align: center;
}

.phase-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 12px;
  color: #145393;
}

.phase-num {
  font-size: 60px;
  font-family: var(--font-en);
  font-weight: var(--font-weight-demi);
  line-height: 1;
  color: #145393;
  letter-spacing: 0.06em;
}

.phase-name-ja {
  font-size: 24px;
  font-weight: 700;
  line-height: 37px;
  letter-spacing: 0.16em;
  margin: 20px 0 0;
}

.phase-name-en {
  display: none;
}

.phase-icon {
  margin-top: 20px;
  /* width: 72px;
  height: 72px; */
}

.phase-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.steps-phase__items {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.steps-item {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 54px;
  padding: 0 30px;
  background: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.step-num {
  font-size: 16px;
  font-family: var(--font-en);
  font-weight: var(--font-weight-demi);
  color: #145393;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.step-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.steps-notes {
  max-width: 1100px;
  margin: 30px auto 0;
}

.steps-notes p {
  letter-spacing: 0.12em;
  line-height: 28px;
  font-weight: var(--font-weight-medium);
}

.section-steps .btn-wrapper {
  max-width: 1100px;
  margin: 30px auto 0;
  justify-content: flex-start;
}

/* ============================================================
   認定・登録セクション（CERTIFICATION）
   ============================================================ */

.section-certification {
  padding: 80px var(--gutter-width);
  background-color: #f7f7f7;
}

.section-certification .certification-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.certification-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  min-height: 332px;
  padding: 34px 36px 30px;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.certification-card:hover .icon-arrow::after {
  background-image: url('../images/common/icon_detail_on.svg');
}

.certification-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-bottom: 26px;
}

.certification-card__logo img {
  max-height: 100%;
  width: auto;
  height: 56px;
}

.certification-card.card-2 img {
  height: 42px;
}

.certification-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.certification-card__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.certification-card__desc {
  font-family: var(--font-ja);
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.certification-card .more-wrapper {
  margin-top: auto;
  padding-top: 30px;
}

/* ============================================================
   レスポンシブ対応（モバイル：768px以下）
   ============================================================ */

@media (max-width: 768px) {
  /* --- 共通 --- */
  .section-header .section-title {
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0.08em;
  }

  .section-header .section-subtitle {
    font-size: 20px;
    line-height: 1.5;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-about-movie {
    padding: 20px var(--gutter-width);
  }

  .section-about-movie .association {
    gap: 16px;
  }

  .section-message {
    padding: 60px var(--gutter-width);
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
  }

  /* --- 強み紹介セクション --- */
  .section-strength {
    padding: 60px 20px 40px;
  }

  .section-strength .strength-cards {
    flex-direction: column;
    gap: 16px;
  }

  .section-strength .strength-cards .card {
    width: 100%;
    padding: 36px 20px 48px;
  }

  .section-complete-fee .section-intro {
    text-align: left;
    padding: 0;
  }

  /* --- 完全成功報酬セクション --- */
  .section-complete-fee {
    padding: 60px 20px;
  }

  .section-complete-fee .complete-fee__lead {
    font-size: 16px;
    line-height: 32px;
  }

  .section-complete-fee .complete-fee__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  /* --- 成約事例スライダーセクション --- */
  .section-story {
    padding: 60px 0 60px;
  }

  .section-story .section-header {
    padding: 0 20px;
    margin-bottom: 24px;
  }

  .story-slider-wrapper {
    padding: 20px;
    max-width: 100%;
  }

  .story-swiper-prev {
    display: none;
  }

  .story-swiper-next {
    display: none;
  }

  .story-card .card-body {
    padding: 16px 16px 20px;
  }

  .section-story .btn-wrapper {
    padding: 0 20px;
  }

  .section-story .section-header .section-subtitle {
    font-size: 20px;
  }

  /* --- 業界別M&A動向セクション --- */
  .section-trends {
    padding: 64px 20px 72px;
  }

  .section-trends .section-header {
    margin-bottom: 24px;
  }

  .section-trends .section-header .section-title {
    font-size: 42px;
  }

  .section-trends .section-header .section-subtitle {
    margin-top: 12px;
    font-size: 18px;
  }

  .industry-item__header {
    padding: 18px 18px 17px;
  }

  .item-name-ja {
    font-size: 16px;
    line-height: 1.5;
  }

  .item-toggle {
    width: 28px;
    height: 28px;
  }

  .industry-item.is-open .industry-item__body {
    padding-bottom: 16px;
  }

  .tag-list {
    row-gap: 8px;
    padding: 0 18px;
  }

  .industry-tag {
    margin-right: 14px;
    font-size: 13px;
    line-height: 1.75;
  }

  .industry-tag::after {
    right: -11px;
  }

  /* --- プレスリリースセクション --- */
  .section-press {
    padding: 60px 20px 60px;
  }

  .press-item__link {
    padding: 20px 12px;
    gap: 16px;
  }

  .press-item__meta {
    gap: 10px;
  }

  .press-title {
    font-size: 14px;
  }

  .section-press .btn-wrapper {
    padding: 0;
  }

  /* --- M&Aコラムスライダーセクション --- */
  .section-column {
    padding: 60px 0 60px;
  }

  .section-column .section-body {
    padding: 0;
  }

  .section-column .section-header {
    padding: 0 20px;
    margin-bottom: 24px;
  }

  .column-slider-wrapper {
    padding: 20px;
    max-width: 100%;
  }

  .column-card__body {
    padding: 16px 16px 20px;
  }

  .section-column .btn-wrapper {
    padding: 0 20px;
    margin-top: 0;
  }

  /* --- コンサルタント紹介セクション --- */
  .section-team {
    padding: 60px 20px 60px;
  }

  .team-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-card {
    width: 100%;
    margin: 0 auto;
  }

  /* --- M&Aステップセクション --- */
  .section-steps {
    padding: 60px 20px 60px;
  }

  .section-steps .section-header {
    margin-bottom: 28px;
  }

  .steps-phase {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .steps-phase__info {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 6px;
    padding: 0 0 16px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .phase-label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    font-size: 14px;
    line-height: 1;
    margin: 0 0 0 0;
  }

  .phase-num {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin: 0 0 0 60px;
    font-size: 30px;
    line-height: 20px;
  }

  .phase-name-ja {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
  }

  .phase-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .steps-phase__items {
    gap: 8px;
  }

  .steps-item {
    min-height: 46px;
    padding: 0 16px;
    gap: 14px;
  }

  .step-num {
    width: 14px;
    font-size: 13px;
  }

  .step-label {
    font-size: 14px;
    line-height: 1.6;
  }

  .steps-notes {
    margin-top: 18px;
    gap: 4px;
  }

  .steps-notes p {
    font-size: 12px;
    line-height: 1.7;
  }

  .section-steps .btn-wrapper {
    margin-top: 28px;
  }

  .steps-item {
    padding: 12px 12px;
    gap: 14px;
  }

  .step-label {
    font-size: 13px;
  }

  /* --- 認定・登録セクション --- */
  .section-certification {
    padding: 60px 20px 60px;
  }

  .section-certification .certification-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certification-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .certification-card__logo {
    height: 58px;
    margin-bottom: 20px;
  }

  .certification-card__logo img {
    height: 48px;
  }

  .certification-card.card-2 img {
    height: 36px;
  }

  .certification-card__title {
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }

  .certification-card__desc {
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.06em;
  }

  .certification-card .more-wrapper {
    padding-top: 22px;
  }
}
