#main{
  margin-top: 110px;
}
@media screen and (max-width: 768px) {
  #main{
    margin-top: 50px;
  }
}


#p-header-cvpoint a {
    background: #1c6ead
}

#p-header-cvpoint a:hover {
    background: #3a9cdf
}

#main h2,.trouble-title{
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 50px;
  text-align: center;
}
.trouble-title{
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
#main h2,.trouble-title{
  font-size: 24px;
  margin-bottom: 24px;
}
}



/*-------------------------------------------------------------------
ヘッダー
-------------------------------------------------------------------*/
#title-wrap {
  background: #ebf6fc url("../images/bg-title.webp") no-repeat center right / contain;
}

#title-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.title-sub{
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

h1{
  font-size: 54px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.integration-payroll-box {
  position: relative;
  background-color: #ffffff;
  border: 2px solid #cbe3ef;;
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  margin: 25px 0 0 0;
  padding: 30px 26px 20px;
  box-sizing: border-box;
}

.integration-payroll-badge {
  position: absolute;
  top: -14px;
  left: 20px;
  background-color: #e35a27;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  padding: 3px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.integration-payroll-heading {
  font-weight: bold;
  color: #222222;
  text-align: left;
  margin: 0 0 10px 0;
  letter-spacing: 0.02em;
}

.integration-payroll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 20px;
  align-items: center;
}

.integration-payroll-item {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-payroll-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* PCではスマホ用画像を非表示 */
.title-sp-visual {
  display: none;
}

/* スマホ表示対応 (768px以下) */
@media screen and (max-width: 768px) {
  #title-wrap {
    background: #ebf6fc url("../images/bg-title-mb.webp") no-repeat center right / cover;
  }
  h1{
      text-align: center;
  }
  /* 縦積みのレイアウトをリセット */
  #title-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: auto;
    padding: 30px 16px 36px;
    text-align: center;
  }

  /* 1. サブタイトル（白の縁取り＋シャドウ） */
  .title-sub {
  text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #1a1a1a;
    text-shadow: 
      2px  2px 0 #fff,
     -2px  2px 0 #fff,
      2px -2px 0 #fff,
     -2px -2px 0 #fff,
      0px  2px 0 #fff,
      0px -2px 0 #fff,
     -2px  0px 0 #fff,
      2px  0px 0 #fff,
      0 0 8px rgba(255, 255, 255, 0.9);
  }

  /* 2. メイン見出し（くっきり太めの白縁取り） */
  h1 {
    display: block;
    width: 100%;
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: #111111;
    margin: 0 0 28px 0 !important;
    text-align: center;
    /* 8方向のベタ白指定で隙間のないしっかりとした輪郭線を形成 */
    text-shadow: 
      2px  2px 0 #fff,
     -2px  2px 0 #fff,
      2px -2px 0 #fff,
     -2px -2px 0 #fff,
      0px  2px 0 #fff,
      0px -2px 0 #fff,
     -2px  0px 0 #fff,
      2px  0px 0 #fff,
      0 0 10px #ffffff,
      0 0 15px rgba(255, 255, 255, 0.8);
  }

  /* 改行コード（スマホでも2行に分ける） */
  h1 .pc-blk {
    display: block;
  }

  /* 3. 連携給与ソフトボックス */
  .integration-payroll-box {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 22px 14px 16px;
  }

  .integration-payroll-badge {
    top: -12px;
    left: 16px;
    font-size: 12px;
    padding: 3px 12px;
  }

  .integration-payroll-heading {
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
  }

  .integration-payroll-grid {
    gap: 10px 12px;
  }

  .integration-payroll-item {
    height: 24px;
  }
}
/*-------------------------------------------------------------------
トライアル
-------------------------------------------------------------------*/
/* バナー全体（濃紺ベース・上部ボーダー） */
.trial-banner {
  background-color: #1e3a5f;
  border-top: 1px solid #142740;
  padding: 18px 24px;
  width: 100%;
  box-sizing: border-box;
}

/* インナー（横並び・縦方向の中央揃え） */
.trial-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center; /* space-between から center に変更 */
  gap: 32px;               /* 文字群とボタンの間隔（お好みで 24px〜40px で調整可） */
}

/* テキストエリア（縦方向中央揃え） */
.trial-banner__text-wrap {
  display: flex;
  align-items: center; /* 24px見出しと補足文を縦中央で整列 */
  gap: 16px;
  flex-wrap: wrap;
}

/* メイン見出し（24px・白文字・アイコンと縦中央揃え） */
.trial-banner__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center; /* アイコンと文字の縦中央揃え */
  gap: 8px;
}

/* ワンポイントアイコンのスタイリング */
.trial-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff8a00; /* ボタンと親和性のある明るいオレンジ */
  flex-shrink: 0;
}

/* 補足文言（文字サイズ指定なし・トーンを落とした白） */
.trial-banner__desc {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.2;
  white-space: nowrap;
}

/* アクションボタン */
.trial-banner__btn,
.takufile-btn,
.merit-btn,
.cs-btn,
.sim-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00a167;
  color: #ffffff !important; /* 確実に白文字を適用 */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.trial-banner__btn:hover,
.takufile-btn:hover,
.merit-btn:hover,
.cs-btn:hover,
.sim-btn:hover{
  background-color: #008453;
  color: #ffffff !important;
}

.cs-btn--s{
  padding: 6px 20px;
  font-size: 14px;
}

.sim-btn{
  padding: 20px 34px;
}

/* スマホ表示対応（768px以下で縦積み） */
@media (max-width: 768px) {
  .trial-banner {
    padding: 20px 16px;
  }

  .trial-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .trial-banner__text-wrap {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .trial-banner__title {
    font-size: 20px;
    justify-content: center;
  }

  .trial-banner__action,
  .trial-banner__btn {
    width: 100%;
    box-sizing: border-box;
  }
}


/*-------------------------------------------------------------------
資料DLCTA
-------------------------------------------------------------------*/

/* 資料DL CTAの外枠（余白と背景カード） */
.doc-download-cta {
  max-width: 960px; /* 本文コンテンツ幅に合わせて調整可能 */
  margin: 40px auto 56px; /* 上：バナーと40px離す / 下：本題見出しと56px離す */
  padding: 0 16px;
  box-sizing: border-box;
}

/* カード本体 */
.doc-download-cta__inner {
  background-color: #f0f6fa; /* 添付画像に合わせた清潔感のある極淡ブルー */
  border: 1px solid #d8e5ee; /* 控えめな枠線 */
  border-radius: 8px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

/* 左側：資料画像 */
.doc-download-cta__thumb {
  flex-shrink: 0;
  max-width: 280px;
}

.doc-download-cta__thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* 冊子感が出る控えめな影 */
}

/* 右側：コンテンツエリア */
.doc-download-cta__content {
  flex: 1;
  max-width: 480px;
}

/* タイトル */
.doc-download-cta__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

/* 補足文 */
.doc-download-cta__desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}

/* ダウンロードボタン */
.doc-download-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1c6ead; /* 通常時の背景色 */
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 28px;
  transition: background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(28, 110, 173, 0.25);
}

/* ホバー時 */
.doc-download-cta__btn:hover {
  background-color: #3a9cdf; /* ホバー時の背景色 */
}
/* レスポンシブ対応（スマホ表示時は縦積み） */
@media (max-width: 768px) {
  .doc-download-cta {
    margin: 28px auto 40px;
  }

  .doc-download-cta__inner {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    text-align: center;
  }

  .doc-download-cta__thumb {
    max-width: 220px;
  }

  .doc-download-cta__title {
    font-size: 19px;
  }

  .doc-download-cta__desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .doc-download-cta__btn {
    width: 100%;
    box-sizing: border-box;
  }
}





/*-------------------------------------------------------------------
課題
-------------------------------------------------------------------*/


/* セクション全体 */
.trouble-section {
  max-width: 900px;
  margin: 80px auto 120px;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}


/* 配置エリア（幅を狭めて人物とフキダシをギュッと寄せる） */
.trouble-container {
  position: relative;
  width: 100%;
  max-width: 760px; /* 700pxから少し広げてゆとりを持たせる */
  margin: 0 auto;
  min-height: 400px;
}

/* 吹き出し共通スタイル */
.trouble-cloud {
  position: absolute;
  width: 260px;  /* 240pxから拡大 */
  height: 155px; /* 145pxから拡大 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cloud-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cloud-bg svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.04));
}

.cloud-text {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 16px; /* 15pxから16pxにして可読性を向上 */
  font-weight: 700;
  line-height: 1.45;
  color: #1f2937;
  padding: 0 16px;
}

.cloud-text .accent {
  color: #ea580c; /* オレンジ強調 */
}

/* 人物にしっかり近寄らせた各吹き出しの位置設定 */
.trouble-cloud--left {
  top: 85px; /* 80pxから下げる */
  left: 20px;
}
.trouble-cloud--center {
  top: 0px;  /* 頭頂部のすぐ上に配置 */
  left: 50%;
  transform: translateX(-50%);
}
.trouble-cloud--right {
  top: 95px; /* 90pxから下げる */
  right: 20px;
}

/* 人物エリア（192pxで固定して親要素全体で中央配置） */
.trouble-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 192px;
  max-width: 192px;
  z-index: 1;
}

/* 人物画像・SVG */
.trouble-person img,
.trouble-person svg {
  display: block;
  width: 100%;
  max-width: 192px;   /* ご指定の最大幅 */
  height: auto;
  margin: 0 auto;
}

/* スマホ表示対応（768px以下） */
@media (max-width: 768px) {
  .trouble-section {
    margin: 40px auto;
    padding: 0 20px;
  }

  .trouble-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  /* コンテナ：縦並びのflex */
  .trouble-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* カード同士の間隔 */
  }

  /* 雲のSVG背景を非表示 */
  .trouble-cloud .cloud-bg {
    display: none;
  }

  /* 吹き出しを「シンプルな四角いカード」に変更 */
  .trouble-cloud {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 360px; /* カードの最大幅 */
    height: auto !important;
    padding: 16px 20px;
    background-color: #f2f4f7; /* 薄いグレー背景 */
    border: 1px solid #d1d5db; /* 控えめな境界線 */
    border-radius: 8px;        /* 角丸 */
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  }

  /* 各位置クラスの打ち消し */
  .trouble-cloud--left,
  .trouble-cloud--center,
  .trouble-cloud--right {
    top: auto;
    left: auto;
    right: auto;
    transform: none;
  }

  /* テキストのスタイル調整 */
  .cloud-text {
    font-size: 15px;
    line-height: 1.5;
    padding: 0;
    text-align: center;
  }

  /* 人物イラスト：カードの下に自然に配置 */
  .trouble-person {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 16px;
    width: 150px; /* スマホ向けに少しコンパクト化 */
    max-width: 150px;
  }

  .trouble-person img,
  .trouble-person svg {
    max-width: 150px;
  }
}

/*-------------------------------------------------------------------
ソリューション
-------------------------------------------------------------------*/

.sec-solution{
  position: relative;
  background: #f7ded5;
}
  .sec-solution .sec-inner{
    padding-top: 100px;
  }
@media screen and (max-width: 768px) {
  .sec-solution .sec-inner{
    padding-top: 40px;
  }
}

.title-solution {
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  line-height: 1.45;
  background-color: #d9713f;
  border-radius: 100px;
  max-width: 700px;
  margin: 0 auto;
  padding: 15px 10px;
  letter-spacing: 0.05em;
  color: #FFF;
  position: absolute;
  left: 0;
  right: 0;
  top: -35px;
}
  .title-solution span{
    font-size: 18px;
    display: block;
  }
.title-solution::after {
  content: url("../images/kadai-triangle.svg");
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
}
  @media screen and (max-width: 768px) {
  .title-solution {
    position: relative;
    margin-bottom: 30px;
    font-size: 20px;
    top:0;
    right: auto;
  }
    .title-solution span{
      font-size: 14px;
    }
  .title-solution::after {
    display: none;
  }
}

/* 全体のラッパー（横幅1000px） */
.points-container {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px; /* 上部にはみ出るバッジ用のスペース */
}
@media screen and (max-width: 768px) {
  .points-container {
    flex-direction: column; /* 1カラム（縦並び）に切り替え */
    gap: 30px;              /* カード間の余白（バッジのはみ出し分を考慮） */
    padding-left: 16px;     /* 画面端の余白確保 */
    padding-right: 16px;
  }

  .point-card {
    width: 100%;
    max-width: 100%;
  }
}


/* 各カード枠：背景色になじむ繊細な薄いボーダー */
.point-card {
  position: relative;
  flex: 1;
  background-color: #ffffff;
  border: 1px solid rgba(180, 140, 120, 0.35); /* 背景のベージュ・オレンジ系に自然になじむ色 */
  border-radius: 4px;
  padding: 32px 26px 24px;
  box-sizing: border-box;
}

/* 上部の「Point」カプセルバッジ */
.point-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #d9713f;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  padding: 8px 24px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* 見出し */
.point-title {
  color: #d9713f;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

/* 説明文（文字色の指定なし・親要素のテキストカラーを継承） */
.point-text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}


/*-------------------------------------------------------------------
公式連携
-------------------------------------------------------------------*/
.linkage-wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.linkage-main{
  width: 63%;
}


.linkage-mg{
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .linkage-mg{
    margin-bottom: 0;
  }
}

.linkage-csv{
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .linkage-csv{
    margin-bottom: 30px;
  }
}


.linkage-sub-wrap{
  width: 33%;  
}

.linkage-sub{
  position: relative;
  border:2px dotted #c1c1c1;
  padding: 50px 30px 30px 30px;
  background: #FFF;  
}

@media screen and (max-width: 768px) {
  .linkage-main{
    width: 100%;
  }
  .linkage-sub-wrap{
    width: 100%;  
  }
}

.linkage-title{
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  text-align: center;
}
.linkage-title>div{
  display: inline-block;
  background: #3d3d3d;
  color: #FFF;
  border-radius: 5px;
  padding: 3px 30px;
}
.linkage-title>div>span{
  color: #ede00d;
}

ul.linkage-main-inner,
ul.linkage-sub-inner,
ul.linkage-sub-inner-2{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.linkage-main-inner>li{
  width: 20%;
  text-align: center;
  padding: 8px 5px;
}
@media screen and (max-width: 768px) {
  .linkage-main-inner>li{
    width: 50%;
    text-align: center;
    padding: 8px 5px;
  }
}

.linkage-sub-inner>li{
  width: 50%;
  text-align: center;
  padding: 8px 5px;
}
.linkage-sub-inner-2>li{
  width: 33%;
  text-align: center;
  padding: 8px 5px;
}

.linkage-main-inner>li img,
.linkage-sub-inner>li img{
  max-height: 42px;
  max-width: 1300px;
}
@media screen and (max-width: 768px) {
  .linkage-main-inner>li img,
  .linkage-sub-inner>li img{
    max-width: 120px;
  }
}

.linkage-sub-inner-2>li img{
  max-height: 48px;
}


.distribution-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 38px;
  color: #222;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.title-line {
  width: 45px;
  height: 2px;
  background: #1c6ead;
}

/*公式連携だからこその使いやすさ*/
.kyuyo-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
/* 各特長アイテム */
.kyuyo-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .kyuyo-grid {
    display: flex;
    flex-direction: column;
  }
  .kyuyo-item {
    width: 100%
  }
}

/* イラスト画像エリア */
.kyuyo-image {
  width: 100%;
  max-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kyuyo-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* 小見出し */
.kyuyo-heading {
  font-size: 17px;
  font-weight: bold;
  color: #1a252c;
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 48px; /* 複数行時の高さを統一 */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 説明文 */
.kyuyo-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  text-align: left; /* 長文の読みやすさのため左揃え */
  margin: 0;
}
/* レスポンシブ対応（スマホ表示時は1列） */
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 40px;
  }
  .kyuyo-heading {
    min-height: auto;
  }
}


/*-------------------------------------------------------------------
ファイル宅配BOX
-------------------------------------------------------------------*/
.sec-takufile {
    background: #f2f2f2;
    background: -moz-linear-gradient(top,#f2f2f2 0,#fff 30%,#fff 100%);
    background: -webkit-linear-gradient(top,#f2f2f2 0,#fff 30%,#fff 100%);
    background: linear-gradient(to bottom,#f2f2f2 0,#fff 30%,#fff 100%)
}

/* 全体の囲み */
.takufile-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;
}

/* 左側：テキストブロック */
.takufile-text {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.takufile-title {
  margin: 0 0 16px;
  font-weight: 700;
  color: #df441c;
  line-height: 1.4;
  font-size: 24px;
}

.takufile-desc {
  margin: 0 0 24px;
  line-height: 1.8;
  color: #333333;
}


/* 右側：画像ブロック */
.takufile-image {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* レスポンシブ対応（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .takufile-wrap {
    flex-direction: column-reverse; /* 画像を上に配置（下にしたい場合は column に変更） */
    gap: 24px;
    padding: 16px;
  }

  .takufile-text,
  .takufile-image {
    width: 100%;
    flex: initial;
  }

  .takufile-title {
    font-size: 1.3rem;
  }

  .takufile-desc {
    font-size: 0.95rem;
  }
}
/*-------------------------------------------------------------------
価格などのメリット
-------------------------------------------------------------------*/
/* セクション全体の囲み */
.sec-merit {
  background-color: #f7ded5;
}

/* メインコンテンツ（最大1000px） */
.sec-merit .merit-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* メイン見出し (28px相当) */
.sec-merit .section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  margin: 0 0 32px;
}

/* 見出し下の画像エリア */
.sec-merit .top-banner-image {
  text-align: center;
  margin-bottom: 40px;
}

/* 3つのポイントエリア */
.merit-points-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 36px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
}

.merit-point-card {
  position: relative;
  flex: 1;
  background-color: #ffffff;
  border: 1px solid rgba(180, 140, 120, 0.35);
  border-radius: 4px;
  padding: 32px 20px 24px;
  box-sizing: border-box;
}

.merit-point-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #d9713f;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  padding: 6px 20px;
  border-radius: 9999px;
  white-space: nowrap;
}

.merit-point-title {
  color: #d9713f;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

.merit-point-text {
  font-size: 1.4rem;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* まとめて契約するとお得カード全体 */
.sec-merit .comparison-card {
  background-color: #ffffff;
  padding: 36px 30px 30px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-bottom: 36px;
}

.sec-merit .comparison-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px;
}

/* 下線マーカー（2重化と裏隠れを防止） */
.sec-merit .merit-highlight-line {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  z-index: 1;
}

.sec-merit .merit-highlight-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35%;
  background-color: #ffd099;
  z-index: -1;
}

/* 左右比較グリッド */
.sec-merit .comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background-color: #f1f6fa;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 6px;
}

.sec-merit .comparison-col {
  padding: 20px 16px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* まとめない場合（グレー調） */
.sec-merit .comparison-col--normal {
  background-color: #e5edf2;
  border: 1px solid #d4dfe6;
}

/* まとめた場合（白背景＋オレンジ枠線） */
.sec-merit .comparison-col--recommended {
  background-color: #ffffff;
  border: 2px solid #d9713f;
  box-shadow: 0 3px 8px rgba(217, 113, 63, 0.12);
}

.sec-merit .col-header {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
  line-height: 1.2;
}

.sec-merit .header-gray {
  background-color: #64748b;
  color: #ffffff;
}

.sec-merit .header-orange {
  background-color: #d9713f;
  color: #ffffff;
}

.sec-merit .col-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  width: 100%;
}

.sec-merit .sub-desc {
  margin: 0 0 6px;
}

.sec-merit .calc-formula {
  margin: 0 0 8px;
}

.sec-merit .calc-total {
  font-size: 2.0rem;
  font-weight: 700;
  color: #222222;
  margin: 0;
}

.sec-merit .highlight-total {
  font-size: 1.8rem;
  color: #d9713f;
}

.sec-merit .highlight-total span {
  font-size: 2.4rem;
}

/* 差額テキストエリア */
.sec-merit .saving-text-wrap {
  margin: 10px auto 20px;
  text-align: center;
}

.sec-merit .saving-lead {
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}

.sec-merit .saving-text {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #d9713f;
  letter-spacing: 0.05em;
  padding: 0 8px 6px;
  border-bottom: 3px solid #d9713f;
  line-height: 1.3;
}

.sec-merit .saving-amount {
  font-size: 4.0rem;
  font-family: Arial, sans-serif;
  margin: 0 2px;
}

/* 9,000円の下に配置するフキダシエリア */
.sec-merit .support-area {
  margin-top: 14px;
  text-align: center;
}

/* ↑向きのシッポが付いたフキダシ本体 */
.sec-merit .speech-bubble {
  position: relative;
  border: 2px solid #d9713f;
  color: #d9713f;
  background-color: #ffffff;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

/* 上向き（↑）三角シッポ */
.sec-merit .speech-bubble::before,
.sec-merit .speech-bubble::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.sec-merit .speech-bubble::before {
  border-width: 0 6px 7px 6px;
  border-color: transparent transparent #d9713f transparent;
}

.sec-merit .speech-bubble::after {
  border-width: 0 5px 6px 5px;
  border-color: transparent transparent #ffffff transparent;
  bottom: calc(100% - 1.5px);
}

/* CTAボタン */
.sec-merit .cta-area {
  text-align: center;
}

/* スマホ表示対応 (768px以下) */
@media screen and (max-width: 768px) {
  .sec-merit {
    padding: 40px 16px;
  }

  .sec-merit .section-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }

  .merit-points-container {
    flex-direction: column;
    gap: 28px;
    padding-top: 12px;
  }

  .sec-merit .comparison-card {
    padding: 24px 16px;
  }

  .sec-merit .comparison-title {
    font-size: 1.8rem;
  }

  .sec-merit .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .sec-merit .saving-text {
    font-size: 1.8rem;
  }

  .sec-merit .saving-amount {
    font-size: 2.8rem;
  }

  .sec-merit .speech-bubble {
    font-size: 1.3rem;
    padding: 4px 12px;
  }

  .sec-merit .cta-button {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
  }
}




/* =======================================
   導入事例カードセクション
======================================= */
.sec-cs {
  background-color: #f8f9fa; /* 背景色でカードを際立たせる */
  border-bottom: 2px solid #e9f1f9;
}

.sec-cs .cs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4.8rem;
}

.sec-cs .cs-card {
  background: #ffffff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sec-cs .cs-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
}

.sec-cs .cs-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eee;
  overflow: hidden;
}

.sec-cs .cs-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sec-cs .cs-card__body {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sec-cs .cs-card__logo {
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.sec-cs .cs-card__logo img {
  max-height: 100%;
  max-width: 16rem;
  object-fit: contain;
}

.sec-cs .cs-card__name {
  font-size: 1.4rem; /* 14px相当 */
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.sec-cs .cs-card__software {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background-color: #f3f5f8;
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  margin-bottom: 1.6rem;
  font-size: 1.3rem; /* 13px相当 */
  color: #666666;
}

.sec-cs .cs-card__software-val img {
  height: 2rem;
  width: auto;
  vertical-align: middle;
}

.sec-cs .cs-card__desc {
  font-size: 1.35rem; /* 13.5px相当 */
  line-height: 1.6;
  color: #555555;
  margin-bottom: 2.4rem;
  flex-grow: 1; /* ボタン位置を下揃えにする */
}

.sec-cs .cs-card__btn-wrap {
  text-align: center;
  margin-top: auto;
}

/* =======================================
   導入事例一覧テーブル
======================================= */
.sec-cs .cs-table-container {
  margin-top: 6rem;
}

.sec-cs .cs-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.05);
}

.sec-cs .cs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1.4rem; /* テーブル本文・見出し全体を14px相当に統一 */
  min-width: 76rem;  /* スマホでの横スクロール保証幅 */
}

.sec-cs .cs-table th {
  background-color: #1e3a5f;
  color: #ffffff;
  font-weight: 600;
  padding: 1.6rem 2rem;
  white-space: nowrap;
  letter-spacing: 0.05em;
  /* 16px（標準）のため font-size 指定は省略 */
}

.sec-cs .cs-table td {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid #edf0f2;
  color: #333333;
  line-height: 1.6;
  vertical-align: middle;
}

.sec-cs .cs-table tbody tr:last-child td {
  border-bottom: none;
}

.sec-cs .cs-table tbody tr {
  transition: background-color 0.2s ease;
}

.sec-cs .cs-table tbody tr:hover {
  background-color: #f7fafc;
}

.sec-cs .cs-table__company {
  font-weight: 700;
  color: #1a1a1a;
}

.sec-cs .cs-table__num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sec-cs .cs-table__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sec-cs .cs-table__list li {
  position: relative;
  padding-left: 1.4rem;
}

.sec-cs .cs-table__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e05e26;
  font-weight: bold;
}

.sec-cs .cs-table__link {
  text-align: center;
  white-space: nowrap;
}

/* =======================================
   レスポンシブ (タブレット・スマホ対応)
======================================= */
@media screen and (max-width: 960px) {
  .sec-cs .cs-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .sec-cs .cs-cards {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }
}




/* =======================================
   料金シミュレーション
======================================= */
.sec-simulation {
  background-color: #FFF;
}


/* =======================================
   Q&A
======================================= */
.sec-qa{
  background-color: #f7ded5;
}

.sec-qa .sec-inner {
    max-width: 1000px;
    width: 100%
}

.qa-1block {
    padding-bottom: 35px;
    margin-bottom: 35px;
    border-bottom: 1px dotted #ddd
}

.qa-1block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0
}

.qa-a-wrap,.qa-q-wrap {
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin-bottom: 5px
}

.qa-1block-q {
    width: 82px
}

.qa-1block-text-q {
    flex: 1;
    margin-right: 115px;
    padding: 20px;
    background: #fff
}

.qa-1block-a {
    width: 115px
}

.qa-1block-text-a {
    flex: 1;
    margin-left: 82px;
    padding: 20px;
    background: #fff
}

