/* --- セクション・バッジ (統一レイアウト) --- */
.trust-cards-badge,
.empathy-badge,
.reasons-badge,
.free-diagnosis-badge,
.capabilities-badge,
.ui-badge,
.compare-badge,
.fit-badge,
.trial-offer-badge,
.company-badge,
.pricing-badge,
.setup-fee-badge,
.flow-badge,
.faq-badge,
.final-cta-badge {
  text-align: center;
  margin-bottom: 24px;
}

.trust-cards-badge span,
.empathy-badge span,
.reasons-badge span,
.free-diagnosis-badge span,
.capabilities-badge span,
.ui-badge span,
.compare-badge span,
.fit-badge span,
.trial-offer-badge span,
.company-badge span,
.pricing-badge span,
.setup-fee-badge span,
.flow-badge span,
.faq-badge span,
.final-cta-badge span {
  display: inline-block;
  padding: 6px 40px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
}

@media (min-width: 1024px) {

  .trust-cards-badge span,
  .empathy-badge span,
  .reasons-badge span,
  .free-diagnosis-badge span,
  .capabilities-badge span,
  .ui-badge span,
  .compare-badge span,
  .fit-badge span,
  .trial-offer-badge span,
  .company-badge span,
  .pricing-badge span,
  .setup-fee-badge span,
  .flow-badge span,
  .faq-badge span,
  .final-cta-badge span {
    padding: 6px 80px;
  }
}

/* --- カードホバーユーティリティ (共通) --- */
/* ボタンやカードが浮き上がるアニメーションなどを統合定義 */
.card,
.trust-card,
.p2-card,
.fd-merit-card,
.ui-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card:hover,
.trust-card:hover,
.p2-card:hover,
.fd-merit-card:hover,
.ui-card:hover {
  transform: translateY(-6px) !important;
}


/* --- カスタムプロパティ (変数) --- */
/* LP専用CSS（hair.css等）から上書き可能なカラーテーマなどの全体設定 */
:root {
  --heading-color: #111;
  --text-color: #111;
  --font-base: 18px;
  --font-h3: calc(var(--font-base) * 1.2);
  --font-h2: calc(var(--font-base) * 1.75);
}

h2 {
  font-size: var(--font-h2);
}

h3 {
  font-size: var(--font-h3);
}

.hero {
  padding: 40px 0 0;
  overflow: hidden;
}

/* Hero専用のワイドコンテナ */
.hero-container {
  width: min(1580px, 90vw);
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
}

@media (max-width: 1280px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.hero-copy {
  width: 60%;
  padding: 60px 0 80px;
  position: relative;
  z-index: 10;
  pointer-events: none;
  /* 背面のビジュアルを邪魔しないように */
}

.hero-copy>* {
  pointer-events: auto;
  /* ボタンなどはクリック可能に */
}


/* イントロバッジ */
.hero-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: slideInRight 0.8s ease-out forwards;
}

.hero-intro-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* キャッチコピー */
.hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.8;
}

/* ヒーロータイトル */
.hero h1.hero-title {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 24px;
  animation: slideInRight 0.8s ease-out forwards;
  /* background-color: rgba(255, 255, 255, 0.8); */
  /* width: fit-content; */
  padding-right: 10px;
}

/* ヒーロータイトル */
.hero .hero-title {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 24px;
  animation: slideInRight 0.8s ease-out forwards;
  /* background-color: rgba(255, 255, 255, 0.8); */
  /* width: fit-content; */
  padding-right: 10px;
}

/* ヒーロー説明文 */
.hero-desc {
  /* margin-bottom: 32px; */
  line-height: 1.8;
  text-align: left;
  animation: slideInRight 0.8s ease-out 0.15s forwards;
  opacity: 0;
}


.hero-desc p {
  margin-bottom: 0px;
}

/* ヒーロービジュアルエリア */
.hero-visual-area {
  position: absolute;
  top: 50%;
  left: 48%;
  /* 画面の半分付近から開始 */
  transform: translateY(-50%);
  width: clamp(600px, 50vw, 1200px);
  /* 非常に大きく表示 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* テキストよりも背面に配置 */
}


.hero-cta .btn.ghost {
  font-size: clamp(15px, 2vw, 20px);
  padding: 10px 20px;
}


/* モックアップグリッド */
.hero-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  /* 制限を大幅に緩和してカードを大きく見せる */
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .hero-mockup-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.mockup-card {
  background: none;
  /* 背景色不要 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  /* シャドウをより強調 */
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  /* 下部に少し余白を設けてカード感を出す */
  animation: heroFloat 6s ease-in-out infinite;
}

/* 各カードの浮遊タイミングをずらして自然な動きに */
.hero-mockup-grid .mockup-card:nth-child(2) {
  animation-delay: 1.2s;
}

.hero-mockup-grid .mockup-card:nth-child(3) {
  animation-delay: 0.8s;
}

.hero-mockup-grid .mockup-card:nth-child(4) {
  animation-delay: 2.5s;
}

@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.mockup-header {
  height: 32px;
  /* 24pxから拡大 */
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-header .mockup-tag {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0.1em;
}

.mockup-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mockup-card img {
  width: 100%;
  height: auto;
  display: block;
}




.hero .cta {
  margin-top: 18px;
  margin-right: 25%;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: left;
  animation: slideInRight 0.8s ease-out 0.25s forwards;
  opacity: 0;
}

/* --- Hero レスポンシブ統合設定 (1280px以下) --- */
@media (max-width: 1280px) {
  .hero-copy {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
  }

  .hero h1.hero-title {
    margin-inline: auto;
    padding-right: 0;
  }

  .hero-desc {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
  }

  .hero .cta {
    justify-content: center;
    margin-right: 0%;
  }

  .hero-visual-area {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 20px;
    z-index: 1;
  }
}

.cta-second {
  margin: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- アニメーション定義 (@keyframes) --- */
/* スライドイン、フェードインなど動きのキーフレーム定義 */
@keyframes slideInRight {
  from {
    transform: translateX(-14px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(14px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeftSoft {
  from {
    transform: translateX(14px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: .45;
  }
}

/* --- セクション共通設定 --- */
/* 各コンテンツ領域の余白やセクションタイトルの書式設定 */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 18px;
  font-weight: 900;
}

.section-sub {
  text-align: center;
  font-weight: 700;
}

/* --- カードグリッドレイアウト (.cards) --- */
/* 複数の要素をグリッド状（PCで横並び、スマホで縦積み等）に配置 */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.card {
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  margin: 8px 0 6px;
  place-self: center;
}

.muted {
  place-self: center;
}

/* --- イラスト付きカード (.illus-card) --- */
/* 特徴やメリット等で使われるイラスト入りのカード。ホバー拡大設定 */
.illus-card {
  padding: 18px;
}

/* --- セクション共通設定 --- */
/* 各コンテンツ領域の余白やセクションタイトルの書式設定 */
#strengths .section-title,
#who .section-title,
#compare .section-title,
#before-after .section-title,
#problems .section-title,
#pricing .section-title,
#setup-fee .section-title,
#faq .section-title {
  text-align: center;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

#strengths,
#who,
#compare,
#before-after,
#problems,
#pricing,
#setup-fee,
#faq {
  text-align: center;
}

#faq .faq {
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

/* --- 特徴・概要セクション (#features) --- */
/* サービスの主な特徴や要素を概観するセクション */
#features .section-title {
  margin-bottom: 6px;
}

#features .section-sub {
  /* font-size: clamp(17px, 3vw, 32px); */
  margin-top: 0;
}

.overview-wrap {
  padding: 28px;
  margin: 12px 0 26px;
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-item {
  text-align: center;
  padding: 12px 8px;
}

.overview-icon {
  width: 170px;
  height: 170px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.overview-head {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 900;
}

.overview-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* --- 特徴紹介 行レイアウト (.feature) --- */
/* テキストと画像が左右ペアに並ぶレイアウト（スマホでは縦積み） */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  padding: 28px;
}

.feature-second {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.feature .badge {
  display: inline-block;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.feature h3 {
  margin: 8px 0 6px;
  font-weight: 900;
}

.feature ul {
  margin: 8px 0 0 18px;
}

.feature-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-image-grid>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.feature-image-label {
  font-weight: 800;
  text-align: center;
  letter-spacing: .04em;
}

.feature-image-grid img {
  width: 100%;
  height: auto;
}

.callout-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.callout-list li {
  padding: 8px 10px;
  margin-top: 8px;
}

#features .feature:nth-of-type(1) {
  animation: slideInLeft 1s ease-out .1s forwards;
}

#features .feature:nth-of-type(2) {
  animation: slideInRight 1s ease-out .25s forwards;
}

#features .feature:nth-of-type(3) {
  animation: slideInLeft 1s ease-out .4s forwards;
}

#features .feature:nth-of-type(4) {
  animation: slideInRight 1s ease-out .55s forwards;
}

#features .feature:nth-of-type(5) {
  animation: slideInRight 1s ease-out .55s forwards;
}

#features .feature-second {
  animation: slideInLeft 1s ease-out .4s forwards;
}

/* --- 料金プラン (#pricing) --- */
/* サロン向け月額料金プラン（スタンダード、エンタープライズなど）の価格と機能一覧 */
#pricing .p2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  margin-left: -26px;
  margin-right: -26px;
  padding: 14px 26px 20px;
  position: relative;
  overflow: visible;
  align-items: stretch;
}

#pricing .p2-grid>.p2-card {
  transition: transform .45s ease, opacity .35s ease;
}

#pricing .p2-grid>.p2-card:nth-of-type(4) {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 560px);
  transform: translate(55%, 0);
  pointer-events: none;
  z-index: 4;
}

#pricing .p2-grid.is-enterprise>.p2-card:nth-of-type(-n+3) {
  transform: translateX(-110%);
  pointer-events: none;
}

#pricing .p2-grid.is-enterprise>.p2-card:nth-of-type(4) {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

#pricing .p2-grid>.p2-card:nth-of-type(4):hover {
  transform: translate(55%, 0) !important;
}

#pricing .p2-grid.is-enterprise>.p2-card:nth-of-type(4):hover {
  transform: translate(-50%, 0) !important;
}

#pricing .p2-card {
  z-index: 20;
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  transition: transform .2s, box-shadow .2s, outline .2s;
}

#pricing .p2-features li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 2px;
  font-size: 14px;
}

#pricing .p2-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

#pricing .p2-btn {
  margin-top: auto;
  align-self: center;
  display: grid;
  gap: 10px;
  width: 100%;
}

#pricing .p2-features li {
  text-align: left;
}

#pricing .p2-note {
  margin-top: 10px;
  text-align: center;
}

#pricing .p2-card.is-main {
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}

#pricing .p2-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -14px;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  letter-spacing: .06em;
}

#pricing .p2-enterprise-next,
#pricing .p2-enterprise-back {
  /* width: 100%; */
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}

#pricing .p2-enterprise-next:hover,
#pricing .p2-enterprise-back:hover {
  /* transform: translateY(-1px); */
}

#pricing .p2-enterprise-next svg,
#pricing .p2-enterprise-back svg {
  flex-shrink: 0;
}

#pricing .p2-enterprise-next-edge {
  position: absolute;
  right: -24px;
  top: 50%;
  width: 46px;
  min-height: 46px;
  padding: 0;
  transform: translateY(-50%);
  z-index: 10;
}

#pricing .p2-enterprise-next-edge:hover {
  transform: translateY(-50%);
}

#pricing .p2-grid.is-enterprise>.p2-enterprise-next-edge {
  pointer-events: none;
}

@media (min-width: 1024px) {
  .p2-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 960px) {
  #pricing .p2-grid {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  #pricing .p2-enterprise-next-edge {
    position: static;
    margin: 14px auto 0;
    transform: none;
  }

  #pricing .p2-enterprise-next-edge:hover {
    transform: none;
  }
}

/* --- 初期設定・導入費用 (#setup-fee) --- */
/* サービス利用開始時の初期費用・セットアップ費用の案内 */
#setup-fee .setup-fee-title {
  margin-bottom: 8px;
}

#setup-fee .setup-fee-sub {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

#setup-fee .setup-fee-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 80px 22px;
}

#setup-fee .setup-fee-card-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

#setup-fee .setup-fee-price {
  margin: 6px 0 0;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
}

#setup-fee .setup-fee-one-time {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 500;
}

#setup-fee .setup-fee-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

#setup-fee .setup-fee-chips li {
  min-width: 150px;
  height: 34px;
  padding: 0 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

#setup-fee .setup-fee-label {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

#setup-fee .setup-fee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

#setup-fee .setup-fee-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

#setup-fee .setup-fee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
}

#setup-fee .setup-fee-note {
  margin: 10px 0 0;
  font-weight: 500;
  line-height: 1.45;
}

#setup-fee .setup-fee-cta {
  text-align: center;
  margin-top: 10px;
}

#setup-fee .setup-fee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 46px;
  font-weight: 700;
}

#setup-fee .setup-fee-btn:hover {
  transform: translateY(-1px);
}

/* --- よくある質問 (FAQ) --- */
/* details/summaryを使用したアコーディオン形式のQ&Aセクション */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '＋';
  font-size: 1.2em;
  flex-shrink: 0;
  transition: transform .25s ease;
}

.faq details[open] summary::after {
  content: '－';
}

.faq .content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: padding .25s ease, max-height .3s ease;
  font-size: .93em;
  line-height: 1.75;
}

details[open] .content {
  max-height: 400px;
  padding: 4px 20px 18px;
}

/* --- 信頼性・実績カード (#trust-cards) --- */
/* 導入実績、安心感、保証などを提示し信頼性を高めるセクション */
#trust-cards {
  padding-top: 80px;
  padding-bottom: 80px;
}

.trust-container {
  max-width: 1100px;
  margin: 0 auto;
}

.trust-title {
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.trust-sub {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 56px;
  font-weight: 500;
}

.trust-cards-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .trust-cards-grid {
    flex-direction: row;
  }
}

.trust-card {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-arrow svg {
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .trust-arrow svg {
    transform: none;
  }
}

.trust-step-wrap {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 10px;
  margin-bottom: 24px;
}

.trust-step {
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0;
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-card h3 {
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
  align-self: center;
}

.trust-card p {
  line-height: 1.6;
  margin: 0;
}

.trust-action {
  text-align: center;
  margin-top: 48px;
}

.trust-action .btn {
  padding: 14px 48px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.trust-action-note {
  font-size: 13px;
  margin: 0;
}

/* --- 共感・課題提起セクション (#empathy) --- */
/* サロン・利用者の「こんなお悩みありませんか？」という課題に寄り添うセクション */
#empathy {
  padding-top: 80px;
  padding-bottom: 80px;
}

.empathy-container {
  max-width: 1100px;
  margin: 0 auto;
}

.empathy-title {
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.empathy-sub {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 48px;
  font-weight: 500;
}

.empathy-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .empathy-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.empathy-card {
  padding: 0;
  perspective: 1000px;
  min-height: 160px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .empathy-card {
    min-height: 180px;
  }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.empathy-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  box-sizing: border-box;
}

.flip-card-front {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  text-align: left;
}

.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.empathy-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.empathy-icon svg {
  width: 16px;
  height: 16px;
}

.empathy-content h3 {
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.empathy-content p {
  line-height: 1.6;
  margin: 0;
}

.empathy-resolve-box {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .empathy-resolve-box {
    flex-direction: column;
    text-align: center;
  }
}

.empathy-resolve-text {
  /* font-size: 15px; */
  text-align: center;
  font-weight: 700;
  line-height: 1.8;
  flex: 1;
}

/* --- 選ばれる理由 (#reasons) --- */
/* 競合と比べてなぜこのサービスが良いのか、選ばれる理由のリストアップ */
#reasons {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.section-sub-title {
  text-align: center;
  margin-bottom: 48px;
  font-weight: 500;
  line-height: 1.6;
}

#reasons::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#reasons .card {
  padding: 32px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 18px;
  height: 18px;
}

.card-point {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.card-title {
  font-weight: 700;
  /* font-size: 18px; */
  margin: 0;
  line-height: 1.5;
}

#reasons .card .muted {
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 1024px) {
  #reasons .cards {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

/* --- 無料診断セクション (#free-diagnosis) --- */
/* 無料診断やデモ予約などのアクションを促すエリア */
#free-diagnosis {
  padding-top: 60px;
  padding-bottom: 60px;
}

.fd-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

#free-diagnosis .section-title {
  margin-bottom: 40px;
  line-height: 1.4;
}

.fd-user-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .fd-user-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes floatCloud {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.fd-user-card {
  padding: 35px 42px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;



  animation: floatCloud 10s ease-in-out infinite;
}

.fd-user-card * {
  position: relative;
  z-index: 1;
}

.fd-user-card:hover {
  animation-play-state: paused;
}

.fd-user-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fd-user-icon svg {
  width: 22px;
  height: 22px;
}

.fd-user-role {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 8px;
}

.fd-user-quote {
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.fd-arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.fd-arrow svg {
  width: 32px;
  height: 32px;
}

.fd-main-card {
  padding: 40px;
  margin-bottom: 40px;
}

.fd-main-desc {
  text-align: left;
  line-height: 1.8;
  margin-bottom: 40px;
}

.fd-main-desc p {
  margin: 0;
}

.fd-merit-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .fd-merit-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .fd-merit-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fd-merit-card {
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fd-merit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fd-merit-icon svg {
  width: 26px;
  height: 26px;
}

.fd-merit-title {
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}

.fd-merit-desc {
  margin: 0;
  line-height: 1.5;
}

#free-diagnosis .fd-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

#free-diagnosis .fd-cta .btn.primary {
  padding: 16px 56px;
  width: stretch;
}

/* --- 機能紹介 (#capabilities) --- */
/* サービスで何ができるのか、搭載機能やツールを具体的に羅列するセクション */
#capabilities {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  #capabilities .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

#capabilities .card {
  padding: 28px 24px;
  text-align: left;
}

.cap-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cap-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-icon svg {
  width: 24px;
  height: 24px;
}

#capabilities .card h3 {
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

#capabilities .cap-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* --- UI関連のグリッド構造定義 --- */
/* システム画面イメージなどのグリッド表示 */
/* --- UI画面紹介とテキストスクロール (#ui) --- */
/* 実際のシステム画面（UI）の表示と、流れる文字（Marquee）による装飾 */
#ui {
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

.ui-marquee {
  overflow: hidden;
  margin: 40px 0;
  padding: 8px 0;
}

.ui-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: uiMarquee 28s linear infinite;
}

.ui-marquee-track.is-paused {
  animation-play-state: paused;
}

@keyframes uiMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ui-card {
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  flex-shrink: 0;
  width: 480px;
}

.ui-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.ui-card .ui-caption {
  padding: 10px 14px;
  font-size: .85em;
  font-weight: 700;
}

/* --- UI画像拡大表示 (Lightbox) --- */
/* UI画像などをクリック時に画面全体へ拡大表示するための設定 */
.ui-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.ui-lightbox-overlay.is-open {
  display: flex;
  animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ui-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}

.ui-lightbox-inner img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  animation: lbZoomIn 0.25s ease;
}

@keyframes lbZoomIn {
  from {
    transform: scale(0.88);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ui-lightbox-inner .ui-lb-caption {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
}

.ui-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.ui-lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* --- 比較表 (#compare) --- */
/* 他サービスや従来手段との違いを見せる比較テーブル・レイアウト */
#compare {
  padding-top: 80px;
  padding-bottom: 80px;
}

.compare-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  overflow: hidden;
  font-size: 1.2em;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: center;
}

.compare-table th {
  font-weight: 700;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: center;
  font-weight: 700;
}

.compare-table td:last-child {
  font-weight: 700;
}

.compare-cta {
  text-align: center;
  margin-top: 32px;
}

/* --- 対象者セクション (#fit) --- */
/* このサービスがどんな業種・規模・人に最適かを示す機能 */
#fit {
  padding-top: 80px;
  padding-bottom: 80px;
}

#fit .fit-grid {
  display: grid;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  #fit .fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

#fit .fit-card {
  padding: 28px 24px;
}

#fit .fit-card h3 {
  text-align: center;
  margin-bottom: 20px;
}

#fit .fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

#fit .fit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- トライアル・お試し案内 (#trial-offer) --- */
/* 無料体験や特別キャンペーン期間の案内および登録導線 */
#trial-offer {
  padding-top: 80px;
  padding-bottom: 80px;
}

.trial-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}

.trial-price {
  font-size: 2.8em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.trial-price-unit {
  font-size: .4em;
  font-weight: 400;
}

.trial-sub {
  font-size: .88em;
  margin-bottom: 28px;
}

.trial-reassure {
  margin: 20px 0 0;
  font-size: .82em;
  padding: 10px 16px;
  line-height: 1.6;
}

.trial-card .btn.ghost {
  padding: 16px 48px;
  font-size: 1.1em;
  transition: transform .2s, box-shadow .2s;
}

.trial-card .btn.ghost:hover {
  transform: translateY(-3px);
}

/* --- 会社概要・実績データ (#company) --- */
/* 運営会社情報や、導入数、満足度などの統計データ */
#company {
  padding-top: 80px;
  padding-bottom: 80px;
}

#company .company-lead {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 500;
}

/* 2カラムレイアウト（左：会社紹介、右：数字カード） */
#company .company-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  #company .company-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

/* 左カラム：会社紹介カード＋注記カード */
#company .company-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#company .company-info-card {
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

#company .company-name {
  font-size: 1.05em;
  font-weight: 700;
  margin: 0 0 12px;
}

#company .company-desc {
  font-size: .9em;
  line-height: 1.75;
  margin: 0;
}

#company .company-note-card {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88em;
  line-height: 1.7;
  max-width: 900px;
  margin: 32px auto 0;
  width: 100%;
  box-sizing: border-box;
}

#company .company-note-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

#company .company-note-card p {
  margin: 0;
}

/* 右カラム：数字カード */
#company .company-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#company .stat-card {
  padding: 24px 20px 20px;
  border-radius: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 16px;
}

#company .stat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#company .stat-card .stat-num {
  font-size: 2.2em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

#company .stat-card .stat-unit {
  font-size: .42em;
  font-weight: 600;
}

#company .stat-card .stat-label {
  font-size: .82em;
  font-weight: 500;
  line-height: 1.4;
}

/* 旧スタイル（company-grid）は削除済み */



/* --- 導入フロー (#flow) --- */
/* お申し込みから利用開始までの導入ステップ・手順案内 */
#flow {
  padding-top: 80px;
  padding-bottom: 80px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 40px auto 0;
}

.flow-step {
  padding: 16px 24px;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.flow-step-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step-body {
  text-align: left;
}

.flow-step-title {
  font-weight: 700;
  font-size: 1em;
  margin-bottom: 2px;
}

.flow-step-desc {
  font-size: .8em;
}

.flow-step-arrow {
  font-size: 1.4em;
  line-height: 1;
}

@media (min-width: 900px) {
  .flow-steps {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1000px;
    align-items: stretch;
  }

  .flow-step {
    flex-direction: column;
    padding: 24px 16px;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
    text-align: center;
  }

  .flow-step-body {
    text-align: center;
  }

  .flow-step-arrow {
    transform: rotate(-90deg);
    align-self: center;
    flex-shrink: 0;
  }
}

/* --- 最終CTA (#final-cta) --- */
/* ページの最後尾で改めて登録・問い合わせを強く促すクロージングエリア */
#final-cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#final-cta .section-title {
  margin-bottom: 12px;
}

#final-cta .final-sub {
  font-size: .97em;
  margin-bottom: 48px;
}

#final-cta .final-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

#final-cta .btn {
  padding: 18px 40px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

#final-cta .btn:hover {
  transform: translateY(-3px);
}

/* --- 追従CTAボタン (.floating-cta) --- */
/* スクロールしても画面下部などに固定表示される強力なアクションボタン */
.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 50;
}

.floating-cta .btn {
  min-width: 160px;
}

/* --- モーダルウィンドウ (.modal) --- */
/* 画面の手前に重なって表示されるダイアログ画面のスタイル */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 200;
}

.modal.is-open {
  display: grid;
}

.modal__overlay {
  position: absolute;
  inset: 0;
}

.modal__dialog {
  position: relative;
  max-width: min(900px, 92vw);
  width: 100%;
  padding: 18px;
}

.modal__body {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.modal__body video {
  width: 100%;
  height: 100%;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* --- タイポグラフィ補助ユーティリティ --- */
/* 強調マーカー（strong-message）や特定テキストのサイズ微調整用クラス */
.strong-message {
  text-wrap-mode: nowrap;
}

.head-first {
  font-weight: 900;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.head-second {
  font-weight: 800;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.head-third {
  font-weight: 800;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.strengths-highlight {
  padding-left: 10px;
}

/* --- 強みセクション (#strengths) --- */
/* 他社にはない独自の強み・メリットを詳細に解説するセクション */
#strengths {
  position: relative;
}

#strengths .section-title {
  padding: 6px 14px;
}

#strengths .cards {
  gap: 22px;
}

/* --- 導入前後の比較 (#before-after) --- */
/* サービス導入前（Before）と導入後（After）の効果や改善対比のスタイル */
#before-after .feature>div {
  padding: 18px;
}

/* --- セクション共通設定 --- */
/* 各コンテンツ領域の余白やセクションタイトルの書式設定 */
#fit {
  padding-bottom: 80px;
}

.fit-container {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fit-title {
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.75em;
}

.fit-sub {
  text-align: center;
  margin-bottom: 40px;
}

.fit-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.fit-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.fit-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.fit-card-header h3 {
  margin: 0;
  font-size: 1.1em;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.fit-card.fit-no .fit-list li {
  font-weight: 400;
}

.fit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: -2px;
}

.fit-icon.yes {
  padding: 5px;
}

.fit-icon.no {
  padding: 6px;
}

.fit-card-note {
  font-size: 0.85em;
  margin-top: 40px;
  line-height: 1.6;
}

.fit-banner {
  margin-top: 32px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.fit-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fit-banner-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
}

.fit-banner-text {
  line-height: 1.6;
  font-weight: 500;
}

.fit-banner-text strong {
  font-weight: 700;
}

.fit-banner-btn {
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s;
}

@media (max-width: 768px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .fit-title {
    font-size: 1.3em;
  }

  .fit-banner {
    flex-direction: column;
    text-align: center;
  }

  .fit-banner-content {
    flex-direction: column;
    text-align: center;
  }
}

/* --- レスポンシブ対応 (Media Queries) --- */
/* スマホ・タブレットなど画面幅が狭い端末でのレイアウト上書き設定 */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .overview {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature-image-grid {
    grid-template-columns: 1fr;
  }

  #pricing .p2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #features .container {
    overflow-x: hidden;
  }

  .feature,
  .feature-second {
    padding: 20px;
  }

  .feature .illus-card,
  .feature-second .illus-card {
    height: auto !important;
  }

  .feature video,
  .feature img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .overview-wrap {
    padding: 20px;
  }

  #setup-fee .setup-fee-sub {
    font-size: 16px;
  }

  #setup-fee .setup-fee-card {
    padding: 22px 60px 20px;
  }

  #setup-fee .setup-fee-card-title {
    font-size: 24px;
  }

  #setup-fee .setup-fee-price {
    font-size: 32px;
  }

  #setup-fee .setup-fee-note {
    font-size: 13px;
  }
}

@media (max-width: 540px) {
  .hero h1 .ai-first {
    padding-left: 0;
  }

  .hero h1 .ai {
    margin-top: 6px;
  }
}

/* --- 移行された構造レイアウト（hair2.cssより） --- */
@media (min-width: 1024px) {
  #pricing .p2-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.trial-header {
  text-align: center;
  margin-bottom: 36px;
}

.trial-title {
  font-size: clamp(1.4em, 2.6vw, 2em);
  line-height: 1.45;
  margin: 0;
}

.trial-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 auto 32px;
}

@media (max-width: 560px) {
  .trial-pain-grid {
    grid-template-columns: 1fr;
  }
}

.trial-pain-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 36px;
  font-size: .9em;
  line-height: 1.6;
  text-align: left;
}

.trial-pain-card * {
  position: relative;
}

.trial-pain-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.trial-pain-card p {
  margin: 0;
}

.trial-lead {
  text-align: center;
  font-size: .93em;
  line-height: 1.8;
  margin: 0 auto 40px;
}

.trial-main-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 auto 28px;
}

@media (max-width: 640px) {
  .trial-main-card {
    grid-template-columns: 1fr;
  }
}

.trial-main-left {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trial-price-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trial-price {
  font-size: clamp(2.4em, 5vw, 3.2em);
  line-height: 1;
}

.trial-price-unit {
  font-size: .35em;
}

.trial-sub {
  font-size: .84em;
  margin: 0;
}

.trial-cta-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 14px 20px;
  font-size: 1em;
}

.trial-reassure-list {
  padding: 0;
  margin: 0;
  font-size: .8em;
  line-height: 1.8;
  display: grid;
  gap: 2px;
}

.trial-main-right {
  padding: 40px 36px;
  display: grid;
  gap: 22px;
  align-content: center;
}

.trial-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trial-check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.trial-check-title {
  font-size: .93em;
  margin-bottom: 3px;
}

.trial-check-desc {
  font-size: .8em;
  line-height: 1.5;
}

.trial-transition-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: .87em;
  line-height: 1.7;
}

.trial-transition-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trial-transition-banner p {
  margin: 0;
}

/* ── エンタープライズ矢印ボタン（戻る） ── */
.p2-enterprise-back-edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: -24px;
  padding: 0;
  cursor: pointer;
  border: none;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p2-grid.is-enterprise>.p2-enterprise-back-edge {
  opacity: 1;
  pointer-events: auto;
}

.p2-grid.is-enterprise>.p2-enterprise-next-edge {
  pointer-events: none;
}

@media (max-width: 1023px) {

  .p2-enterprise-back-edge,
  .p2-enterprise-next-edge {
    display: none !important;
  }
}

/* ── Hero CTA 特殊レイアウト ── */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }
}

.hero-cta .btn {
  font-size: 1.3em;
  padding: 22px 42px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-2px);
  transition: all 0.2s ease;
  width: stretch;
}

.hero-cta .btn:active {
  transform: translateY(1px);
}

/* ── Pre-Diagnosis Banner (セールスコピー用) ── */
.pre-diag-banner {
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pre-diag-title {
  font-size: clamp(1.4em, 3.5vw, 2.2em);
  line-height: 1.6;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.pre-diag-sub {
  font-size: clamp(0.95em, 2vw, 1.1em);
  line-height: 1.6;
  margin: 0 0 32px 0;
  font-weight: 500;
}

.pre-diag-arrow {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
  animation: bounceDown 2s infinite ease-in-out;
}

.pre-diag-arrow .chevron {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.pre-diag-arrow .chevron-1 {
  opacity: 1;
  transform: translateY(0);
}

.pre-diag-arrow .chevron-2 {
  opacity: 0;
  transform: translateY(10px);
}

.pre-diag-arrow .chevron-3 {
  opacity: 0;
  transform: translateY(20px);
}

.pre-diag-banner:hover .pre-diag-arrow .chevron-1 {
  opacity: 1;
  transform: translateY(16px);
}

.pre-diag-banner:hover .pre-diag-arrow .chevron-2 {
  opacity: 0.7;
  transform: translateY(0);
}

.pre-diag-banner:hover .pre-diag-arrow .chevron-3 {
  opacity: 0.3;
  transform: translateY(-16px);
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

/* ── 会社情報カードのホバーシール ── */
.company-info-card {
  position: relative;
  display: block;
  /* 念のため */
}

.company-hp-sticker {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  transform: scale(0) rotate(20deg);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 5;
  pointer-events: none;
}

.company-info-card:hover .company-hp-sticker,
.company-info-card:focus .company-hp-sticker {
  transform: scale(1) rotate(-10deg);
  opacity: 1;
}