@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 0;
	background-color: #ffffff;
}

.company-logos .logo {
  width: 220px;
  opacity: 0;
  animation: fadeIn 4.5s ease-in-out forwards;
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 30px auto;
  max-width: 1000px;
}

.case-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  width: 45%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
}

.company-logo {
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
}

.company-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #2d98e0;
  margin: 8px 0;
}

.company-desc {
	font-size: 14px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.6;
}

.detail-button {
  display: inline-block;
  background: #2d98e0;
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.detail-button:hover {
  background: #1c75b9;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .case-card {
    width: 90%;
  }
}
.case-studies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  max-width: 1000px;
}

.case-card {
  background: #fff;
  border: 2px solid #2d98e0;
  border-radius: 13px;
  padding: 30px;
  width: 30%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 10px 120px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content {
  flex-grow: 1;
}

.company-logo {
  height: 40px;
  object-fit: contain;
  margin-bottom: 1px;
}

.company-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.2px;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #2d98e0;
  margin: 8px 0;
}

.company-desc {
  font-size: 12px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.6;
}

.detail-button {
  display: inline-block;
  background: #2d98e0;
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 16px;
}

.detail-button:hover {
  background: #1c75b9;
}

/* ✅ スマホ対応：縦に1枚ずつ並べる */
@media (max-width: 768px) {
  .case-card {
    width: 100%;
    max-width: 90%;
  }

  .case-studies {
    flex-direction: column;
    align-items: center;
  }
}
.case-card .detail-button {
  background: #2d98e0;
  color: #fff !important;  /* ← これが効かない場合はセレクタが弱い可能性あり */
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  border: none;
}

/* PC表示：左下固定 */
.fixed-button-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

/* ボタン画像の見た目 */
.fixed-button-image {
  width: 350px;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.fixed-button-image:hover {
  transform: scale(1.05);
}

/* ×ボタン */
.fixed-button-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #333;
  color: #fff;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}

/* ✅ スマホ表示時：右下に表示 */
@media screen and (max-width: 767px) {
  .fixed-button-wrapper {
    bottom: 20px;
    left: auto;
    right: 20px;
    width: auto;
    text-align: right;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .fixed-button-image {
    width: 300px; /* スマホ用に少し小さめ */
  }

  .fixed-button-close {
    top: -10px;
    right: -10px;
  }
}

/* PCでは横並び */
.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0;
  background-color: #ffffff;
}

/* ロゴ共通サイズ */
.company-logos .logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeIn 2.5s ease-in-out forwards;
}

/* スマホだけ2列に強制する */
@media (max-width: 768px) {
  .company-logos {
    justify-content: center;
    gap: 16px 0;
  }

  .company-logos .logo {
    width: 45%;
    margin: 0 auto;
  }
}

.page .l-content {
  padding-top: 0 !important;
}

.page .p-page-header {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.p-page-header {
  min-height: auto !important;
}

.beyond-trouble-section {
  padding: 50px 0;
 
  text-align: center;
}

.beyond-heading {
  font-size: 2.5rem;
  font-weight: bolder;
  color: #2d98e0; /* 企業カラーを強調 */
  margin-bottom: 30px;
}

.beyond-heading span {
  color: #2d98e0; /* カジュアルに見えるようにカラーで統一 */
}

.beyond-trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* パソコン画面では2列 */
  gap: 30px;
  justify-items: center;
}

.beyond-box {
  background-color: white;
  padding: 70px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px; /* 丸みを強調してカジュアル感を出す */
  width: 100%;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー時に変化 */
}


.beyond-img {
  width: 60%;
  max-width: 120px;
  margin: 0 auto 20px;
  display: block;
 
}

}

.beyond-box ul {
  list-style-type: none;
  padding: 0;
}

.beyond-box ul li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #333; /* ← 元の #555 より濃いグレー */
  font-weight: 650; /* 少し太めにして読みやすく */
}


@media (max-width: 768px) {
  .beyond-trouble-grid {
    grid-template-columns: 1fr 1fr; /* スマホでも2列 */
    gap: 9px;
    padding: 0 8px;
  }

  .beyond-box {
    padding: 9px;
    max-width: 100%;
  }

  .beyond-img {
    width: 70%;
    max-width: 80px;
    margin-bottom: 10px;
  }

  .beyond-box ul li {
    font-size: 0.6rem;
  }

  .beyond-heading {
    font-size: 1.8rem;
  }
}

.highlight {
  background-image: linear-gradient(transparent 75%, #97cdf3 60%);
  background-repeat: no-repeat;
  background-size: 100% 90%;
}

.news-list {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Helvetica Neue", sans-serif;
}

/* NEWS 見出し（H2） */
.news-heading {
  font-size: 2.5rem!important;
  font-weight: 700;
  color: #2d98e0; /* BanSoブルー */
  text-align: center;
  margin-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 20px;
  padding: 20px 0;
  border-top: 1px solid #ccc;
  align-items: start;
}

.news-date {
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
}

.news-category {
  font-weight: bold;
  font-size: 0.9rem;
  color: #2d98e0;
}

.news-title a {
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  text-decoration: none;
}

.news-title a:hover {
  text-decoration: underline;
}

/* モバイル対応 */
@media screen and (max-width: 600px) {
  .news-item {
    display: block;
  }

  .news-date {
    margin-bottom: 8px;
  }

  .news-category {
    margin-bottom: 4px;
  }
}

.flow-section {
  text-align: center;
  padding: 50px 20px;
}

.flow-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.flow-title .highlight {
  padding: 4px 10px;
  border-radius: 5px;
}

.flow-description {
  font-size: 25px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #333;
}

.flow-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.flow-step {
  flex: 0 0 30%;
  box-sizing: border-box;
}

.step-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: left;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-num {
  font-size: 20px;
  font-weight: bold;
  color: #2d98e0;
}

.label {
  background-color: #dff1fd;
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 4px;
}

.step-box p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* スマホ対応（フロー） */
@media (max-width: 768px) {
  .flow-grid {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    flex: 0 0 100%;
    max-width: 90%;
  }
}

.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* ボタンを中央寄せ */
  margin-bottom: 20px;
  padding: 10px 0;
}

.faq-filter button {
  padding: 8px 16px;
  background-color: #fff;
  color: #2d98e0;
  border: 1px solid #2d98e0;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.faq-filter button.active {
  background-color: #2d98e0;
  color: white;
}

.faq-item {
  display: block;
}

.archive .entry_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列固定 */
  gap: 2rem;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .fixed-button-wrapper {
    position: fixed;
    bottom: 80px; /* 下から80px（被らないよう調整） */
    left: 20px;
    width: auto;
    text-align: right;
    background: none;
    padding: 0;
    box-shadow: none;
    z-index: 9999;
  }

  .fixed-button-image {
    width: 200px;
    height: auto;
  }

  .fixed-button-close {
    top: -10px;
    right: -10px;
  }
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.case-card {
  width: 300px;
  background: #ffffff;
  border: 2px solid #2d98e0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 520px; /* 高さをそろえる */
}

.case-card .company-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.case-card .company-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.case-card .company-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: auto; /* 余白を自動調整 */
  flex-grow: 1;
}

.detail-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2d98e0;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
  margin-top: 16px;
}

:root {
  --banso-blue: #2d98e0;
  --text-main: #000;
  --text-sub: #333;
  --radius-btn: 2.5rem;
  --shadow-btn: 0 12px 24px rgba(0,0,0,0.08);
  --font-family-ja: 'Noto Sans JP', sans-serif;
}

/* ================================
   ベース（スマホ）
   ================================ */
.banso-hero-section {
  background: linear-gradient(to right, #d8f0ff 0%, #2da9ff 100%);
  color: #000;
  padding: 3.5rem 1.8rem 4rem;
  box-sizing: border-box;
  font-family: var(--font-family-ja);
}

.banso-hero-section .hero-wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  row-gap: 1.2rem;
}

/* スマホは並び替え */
.banso-hero-section .hero-left {
  display: contents;
}

/* キャッチコピー（共通土台） */
.banso-hero-section .hero-title {
  order: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  color: var(--text-main);
  text-align: left;
  white-space: normal;
  line-height: 1.25;
}

/* 説明文 */
.banso-hero-section .hero-desc {
  order: 2;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 0 0 0.8rem;
  max-width: 44rem;
  text-align: left;
  font-weight: 400;
}

.banso-hero-section .hero-desc p {
  display: inline;
  margin: 0;
}
.banso-hero-section .hero-desc p::after {
  content: " ";
}
.banso-hero-section .hero-desc p:last-child::after {
  content: "";
}

/* 画像 */
.banso-hero-section .hero-right {
  order: 3;
  flex: 1 1 auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0.2rem 0 0.6rem;
}

.banso-hero-section .hero-right-inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banso-hero-section .hero-right-inner img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  display: block;
}

/* CTAボタン（スマホ） */
.banso-hero-section .q_button_wrap {
  order: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  text-align: center;
}

.banso-hero-section .q_button_wrap a {
  display: inline-block;
  width: 80%;
  max-width: 340px;
  background: var(--banso-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius-btn);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
}

/* 改行用クラス（スマホで有効） */
.sp-only {
  display: inline;
}

/* スマホだけキャッチコピーを大きくする */
@media (max-width: 767px) {
  .banso-hero-section .hero-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
}

/* ================================
   タブレット
   ================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  .sp-only {
    display: none;
  }

  .banso-hero-section .hero-wrap {
    flex-direction: row;
    column-gap: 3rem;
  }

  .banso-hero-section .hero-left {
    display: block;
    flex: 0 0 60%;
  }

  .banso-hero-section .hero-title {
    font-size: clamp(2rem, 1.2vw + 1.5rem, 2.4rem);
    line-height: 1.45;
    margin-bottom: 2rem;
  }

  .banso-hero-section .hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }

  .banso-hero-section .q_button_wrap {
    flex-direction: row;
    gap: 1rem;
  }
}

/* ================================
   PC
   ================================ */
@media (min-width: 1025px) {

  .sp-only {
    display: none;
  }

  .banso-hero-section .hero-wrap {
    flex-direction: row;
    column-gap: 3rem;
  }

  .banso-hero-section .hero-left {
    display: block;
    flex: 0 0 60%;
  }

  .banso-hero-section .hero-title {
    font-size: clamp(2.2rem, 1vw + 1.5rem, 3rem);
    line-height: 1.45;
    margin-bottom: 2rem;
  }

  .banso-hero-section .hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }

  .banso-hero-section .q_button_wrap {
    flex-direction: row;
    gap: 1rem;
  }
}


:root {
  --banso-blue-light: #74c5f7;
  --banso-blue: #2d98e0;
  --banso-blue-dark: #1e6fa7;
  --font-ja: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ▼ セクション全体 */
.banso-hero {
  background: #fff;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  font-family: var(--font-ja);
  color: #000;
  position: relative;
  overflow: hidden;
}

/* ▼ 丸みのあるBanSoブルー矢印 */
.banso-arrow-wrap {
  width: 160px;
  height: 80px;
  margin: 0 auto 2.5rem;
  overflow: hidden;
}

.banso-arrow {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--banso-blue-light), var(--banso-blue), var(--banso-blue-dark));
  border-radius: 40px;
  transform: translateY(-40px) rotate(45deg);
  box-shadow: 0 6px 16px rgba(45,152,224,0.3);
}

/* ▼ ロゴ */
.banso-logo {
  display: block;
  margin: 0 auto 0.8rem;
  max-width: 260px;
  height: auto;
}

/* ▼ 見出し */
.banso-hero h1 {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  font-size: clamp(1.7rem, 2vw + 1.2rem, 2.4rem);
}

.banso-hero .highlight {
  color: var(--banso-blue);
}

/* ▼ リード文 */
.hero-lead {
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.1vw + 0.8rem, 1.2rem);
  line-height: 1.9;
  color: #333;
}

/* ▼ レスポンシブ */
@media (min-width: 768px) {
  .banso-hero {
    padding: 8rem 2rem 8rem;
  }

  .banso-hero h1 {
    font-size: 2.4rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .banso-hero {
    padding: 9rem 2rem 9rem;
  }

  .banso-hero h1 {
    font-size: 2.6rem;
  }

  .hero-lead {
    font-size: 1.2rem;
  }
}



:root {
  --banso-blue: #2d98e0;
  --banso-bg-light:#d3f1ff; /* ★ ここ変更 */
  --banso-text-main: #003055;
  --banso-font-ja: 'Noto Sans JP', sans-serif;
}

/* ===== 帯全体 ===== */
.banso-cta-area {
  width: 100vw;                     /* 画面幅いっぱい */
  margin-left: calc(50% - 50vw);    /* コンテンツ中央から左右にはみ出させる */
  margin-right: calc(50% - 50vw);
  background: #dcf4ff;              /* ご指定の色 */
  padding: 2.5rem 0 3rem;
  box-sizing: border-box;
  font-family: var(--banso-font-ja);
  border: none;
}

/* ===== 見出し（タイトル） ===== */
.banso-cta-heading {
  text-align: center;
  margin: 0 1.5rem 1.5rem;
  color: var(--banso-text-main);
}

.banso-cta-heading h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--banso-blue);
}

.banso-cta-heading p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #333;
}

/* ===== カード配置（PC） ===== */
.banso-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

/* ===== カード本体 ===== */
.banso-cta-card {
  flex: 1;
  max-width: 340px;
  background-color: #fbfdff;
  border: 4px solid #75bfea;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 0.4rem 1rem 0.5rem;
  color: var(--banso-text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 160px;
}

/* ===== タイトル ===== */
.banso-cta-title {
  font-size: 1.3rem !important;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 0.2rem !important;
  color: var(--banso-text-main);
  white-space: normal;
}

/* ===== イラスト ===== */
.banso-cta-illust {
  min-height:  auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.banso-cta-illust img {
  height: auto !important;
  max-height: 120px !important;
  max-width: 78% !important;
  width: auto !important;
  object-fit: contain;
}

/* ===== リンク ===== */
.banso-cta-link {
  margin-bottom: 0.6rem;
}

.banso-cta-link a {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--banso-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--banso-blue);
  padding-bottom: 0.08rem;
  margin-bottom: 0;
  display: inline-block;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.banso-cta-link a:hover {
  color: #1a6fb3;
  border-color: #1a6fb3;
}

/* ===== タブレット ===== */
@media (max-width: 1024px) {
  .banso-cta-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .banso-cta-card {
    flex: 0 1 46%;
    min-height: 150px;
  }
  .banso-cta-illust {
    min-height: 120px;
  }
  .banso-cta-illust img {
    max-height: 110px !important;
  }
}

/* ===== スマホ ===== */
@media (max-width: 640px) {
  .banso-cta-heading {
    margin: 0 1rem 1rem;
  }
  .banso-cta-heading h2 {
    font-size: 1.5rem;
  }
  .banso-cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0 1rem;
  }
  .banso-cta-card {
    max-width: 340px;
    width: 100%;
    min-height: 0;
    padding: 0.6rem 1rem 0.5rem;
  }
  .banso-cta-title {
    font-size: 1rem !important;
  }
  .banso-cta-illust {
    min-height: 100px;
  }
  .banso-cta-illust img {
    max-height: 90px !important;
  }
}
:root {
  --banso-blue: #2d98e0;
  --banso-blue-deep: #2d98e0;
  --banso-text-main: #003055;
  --banso-font-ja: 'Noto Sans JP', sans-serif;
}

/* ========================================================
   ★ セクション全体をフル幅にして背景が途切れないようにする
   ======================================================== */
.banso-hero-cta {
  width: 100vw !important;                   /* 画面幅いっぱい */
  margin-left: calc(50% - 50vw) !important;  /* 左の白余白を消す */
  margin-right: calc(50% - 50vw) !important; /* 右の白余白を消す */

  background: #d3f1ff;                       /* ★背景色変更 */
  padding: 3.5rem 0 4rem;
  box-sizing: border-box;
}

/* ========================================================
   中身の設定
   ======================================================== */
.banso-hero-cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  font-family: var(--banso-font-ja);
}

/* タイトル（黒文字に変更） */
.banso-hero-cta-heading {
  text-align: center;
  color: #000 !important;        /* ★黒文字へ */
  font-size: 2rem !important;
  line-height: 1.7;
  font-weight: 700;
  margin: 0 0 4.5rem !important;
}

/* ======== カード3枚（横並び） ======== */
.banso-hero-cta-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.8rem;
}

/* ======== カード本体 ======== */
.banso-hero-cta-card {
  flex: 1;
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  padding: 2rem 1.6rem 1.8rem;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ======== イラスト ======== */
.banso-hero-cta-illust {
  margin-bottom: 1.1rem;
}

.banso-hero-cta-illust img {
  max-height: 140px;
  max-width: 100%;
  height: auto;
}

/* ======== テキスト ======== */
.banso-hero-cta-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--banso-text-main);
  margin: 0 0 1.2rem;
}

/* ======== ボタン配置 ======== */
.banso-hero-cta-btn-wrap {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

/* ======== 青ボタン ======== */
.banso-hero-cta-btn {
  display: inline-block;
  width: 80%;
  max-width: 260px;
  text-align: center;
  background-color: var(--banso-blue);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  box-sizing: border-box;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.15s ease;
}

.banso-hero-cta-btn:hover {
  background-color: #0064b3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* ========================================================
   レスポンシブ
   ======================================================== */

/* タブレット */
@media (max-width: 1024px) {
  .banso-hero-cta-inner {
    padding: 0 1.5rem;
  }

  .banso-hero-cta-cards {
    flex-wrap: wrap;
    gap: 1.4rem;
  }

  .banso-hero-cta-card {
    flex: 0 1 48%; /* 2列 */
    max-width: none;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .banso-hero-cta {
    padding: 2.5rem 0 3rem;
  }

  .banso-hero-cta-inner {
    padding: 0 1.2rem;
  }

  .banso-hero-cta-heading {
    font-size: 1.4rem !important;
    margin-bottom: 2rem !important;
  }

  .banso-hero-cta-cards {
    flex-direction: column;
    gap: 1.3rem;
  }

  .banso-hero-cta-card {
    padding: 1.6rem 1.4rem 1.6rem;
  }

  .banso-hero-cta-illust img {
    max-height: 120px;
  }

  .banso-hero-cta-btn {
    width: 100%;
    max-width: 100%;
  }
}


:root {
  --banso-blue: #2d98e0;
}

/* セクション全体（薄い背景） */
.banso-kpi-section {
  width: 100%;
  padding: 4rem 1.5rem;
  box-sizing: border-box;
  background: #fff;
  font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--banso-blue) !important;
}

/* 中央寄せコンテナ */
.bkpi-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 見出し・リード */
.bkpi-heading {
  margin: 0 0 2.2rem;
  font-size: 2.5rem !important;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.bkpi-br-sp {
  display: inline;
}

/* 各行（テキスト＋画像） */
.bkpi-row {
  display: flex;
  flex-direction: column; /* スマホは縦積み */
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

/* テキスト側 */
.bkpi-text {
  max-width: 560px;
}

.bkpi-title {
  margin: 0 0 0.75rem;
  font-size: 1.6rem !important;
  font-weight: 700;
  line-height: 1.7;
  color: #000000;
}

.bkpi-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #444;
}

/* 画像側（スクリーンショット風） */
.bkpi-image {
  width: 100%;
  max-width: 640px;
}

.bkpi-image img {
  width: 65%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* 方向指定用クラス（PC表示で効く） */
.bkpi-row--normal {}
.bkpi-row--reverse {}

/* =======================================================
   タブレット以上（あなたのPC/タブレットの見え方を守る）
   ======================================================= */
@media (min-width: 768px) {
  .banso-kpi-section {
    padding: 4.5rem 2rem;
  }

  .bkpi-heading {
    font-size: 1.8rem;
  }

  .bkpi-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }

  .bkpi-row--reverse {
    flex-direction: row-reverse;
  }

  .bkpi-text {
    flex: 0 0 44%;
  }

  .bkpi-image {
    flex: 0 0 52%;
  }

  .bkpi-br-sp {
    display: none;
  }
}

/* PC */
@media (min-width: 1024px) {
  .banso-kpi-section {
    padding: 5rem 3rem;
  }

  .bkpi-heading {
    font-size: 2rem;
  }

  .bkpi-lead {
    font-size: 1rem;
  }

  .bkpi-row {
    margin-bottom: 3.5rem;
  }
}

/* =======================================================
   ★スマホだけ最終上書き（ここが効く：PCは一切触らない）
   ======================================================= */
@media (max-width: 767px) {

  /* 見出しを「こんな悩みはBanSoで解決！」と同格くらいに */
  .banso-kpi-section .bkpi-inner .bkpi-heading {
    font-size: 1.7rem !important;
    line-height: 1.35 !important;
    margin: 0 0 1.6rem !important;
  }

  /* 3つのタイトルを少し小さめ＆1行に収める */
  .banso-kpi-section .bkpi-inner .bkpi-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin: 0 0 1rem !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.01em;
  }

  /* スマホの縦の間延びを詰める */
  .banso-kpi-section .bkpi-inner .bkpi-row {
    gap: 1.1rem !important;
    margin-bottom: 2.2rem !important;
  }

  .banso-kpi-section .bkpi-inner .bkpi-desc {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }
}:root {
  --banso-blue: #2d98e0;
  --banso-bg: #ffffff;
  --banso-text-main: #222;
  --banso-text-sub: #555;
  --text-white: #fff;
}

/* ================================
   上部：3つのカード（BanSoでできる3つのこと）
================================ */

.banso-func-top {
  width: 100%;
  padding: 4rem 1.5rem 4.5rem;
  background: #fff;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

.banso-func-top__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.banso-func-top__title {
  text-align: center;
  font-size: 2.5rem !important;
  color: var(--banso-blue);
  margin-bottom: 5rem !important;
  font-weight: 700;
}

/* カード全体 */
.banso-func-top__cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: nowrap; /* PCは横並び */
}

/* 各カード */
.banso-func-top__card {
  background: var(--banso-blue);
  color: var(--text-white);
  border-radius: 1.5rem;
  padding: 1.7rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
}

.banso-func-top__card:hover {
  transform: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* カード内テキスト */
.banso-func-top__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.banso-func-top__card-text {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* カード内画像 */
.banso-func-top__card-media {
  margin-top: 1.5rem;
  width: 160px;
}

.banso-func-top__card-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* タブレット（～1024px） */
@media (max-width: 1024px) {
  .banso-func-top__cards {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .banso-func-top__card {
    padding: 1.5rem 1.5rem;
  }

  .banso-func-top__card-title {
    font-size: 1.4rem;
  }

  .banso-func-top__card-text {
    font-size: 1rem;
  }

  .banso-func-top__card-media {
    width: 140px;
  }
}

/* ================================
   下部：01/02/03 の詳細ブロック
================================ */

/* セクション外側 */
.banso-feature {
  padding: 4rem 1.5rem 4rem;
}

/* 内側カード */
.banso-feature__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--banso-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

/* 青帯ヘッダー */
.banso-feature__header {
  background-color: var(--banso-blue);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  border-radius: 20px 20px 0 0;
}

.banso-feature__header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* 本文ブロック */
.banso-feature__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 4rem;
  gap: 2.4rem;
}

/* 左側テキスト */
.banso-feature__text {
  flex: 1;
  color: var(--banso-text-main);
}

.banso-feature__text h3 {
  color: var(--banso-blue);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.banso-feature__text p {
  color: var(--banso-text-sub);
  line-height: 1.9;
  font-size: 1rem;
  margin: 0;
}

/* 右側画像 */
.banso-feature__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.banso-feature__image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* ▼ タブレット（～1024px） */
@media (max-width: 1024px) {
  .banso-feature {
    padding: 3.5rem 1.5rem 3.5rem;
  }

  .banso-feature__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.4rem 2rem 2.8rem;
    gap: 1.8rem;
  }

  .banso-feature__image {
    justify-content: center;
  }

  .banso-feature__image img {
    max-width: 520px;
  }
}

/* =====================================
   ▼ スマホ（～767px）
   - funk も feature も表示（←ここが修正ポイント）
   - funkは縦積み
   - featureは詰める＆画像は非表示
===================================== */
@media (max-width: 767px) {

  /* ✅ funk を消さない（以前の display:none を撤去） */
  .banso-func-top {
    display: block !important;
    padding: 2.6rem 1.1rem 2.8rem;
  }

  .banso-func-top__title{
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }

  /* ✅ 3カードを縦積みにして“見えない”を防ぐ */
  .banso-func-top__cards{
    flex-wrap: wrap !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .banso-func-top__card{
    min-height: auto !important;
    padding: 1.3rem 1.2rem !important;
    border-radius: 1.2rem;
  }

  .banso-func-top__card-title{
    font-size: 1.25rem !important;
    margin-bottom: 0.6rem !important;
  }

  .banso-func-top__card-text{
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
  }

  .banso-func-top__card-media{
    width: 120px !important;
    margin-top: 1rem !important;
  }

  /* featureセクション余白 */
  .banso-feature {
    padding: 2.6rem 1.1rem 3rem;
  }

  /* h2（青帯） */
  .banso-feature__header {
    padding: 0.8rem 1.2rem !important;
    margin: 0 !important;
  }

  .banso-feature__header h2 {
    font-size: 1.3rem !important;
    margin: 0 !important;
  }

  /* header直後のcontentの上余白を統一して詰める */
  .banso-feature__header + .banso-feature__content {
    margin-top: 0 !important;
    padding-top: 0.9rem !important;
  }

  /* content本体 */
  .banso-feature__content {
    padding: 0.9rem 1.2rem 2rem !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  /* text周り */
  .banso-feature__text {
    margin: 0 !important;
    padding: 0 !important;
  }

  .banso-feature__text h3 {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    margin: 0.25rem 0 0.6rem !important;
    padding: 0 !important;
  }

  .banso-feature__text p {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    margin: 0 !important;
  }

  /* ✅スマホでは feature の画像を非表示 */
  .banso-feature__image {
    display: none !important;
  }

  /* ✅03だけ余白が出る場合の最終固定（クラスがある時だけ効く） */
  .banso-feature.banso-feature--support .banso-feature__header + .banso-feature__content {
    padding-top: 0.7rem !important;
  }
}




:root {
  --banso-blue: #2d98e0;
  --banso-blue-light: #37c4de;
  --cta-ec-bg: #d3f1ff;
  --font-family-ja: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --cta-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* ======================================
   CTA セクション（帯）
====================================== */

.banso-cta-ec {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--cta-ec-bg);
  padding: 4rem 1.5rem 5rem;
  box-sizing: border-box;
  font-family: var(--font-family-ja);
}

.banso-cta-ec-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* 左ブロック */
.banso-cta-ec-left { text-align: left; }

/* 見出しコピー */
.banso-cta-ec-copy {
  font-size: 1.6rem !important;
  line-height: 1.6 !important;
  font-weight: 700;
  margin: 0 0 1rem !important;
  letter-spacing: -0.02em;
  color: #000;
}

.banso-cta-ec-copy .em { color: #000; font-weight: 700; }

/* ロゴ */
.banso-cta-ec-logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 2rem 0;
}

/* ======================================
   ボタン行（上1 / 下2）
====================================== */

.banso-cta-ec-row.primary-row,
.banso-cta-ec-row.secondary-row {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.banso-cta-ec-row.primary-row { margin-bottom: 1.3rem; }

.banso-cta-ec-row.secondary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ======================================
   ボタン共通
====================================== */

.banso-cta-ec-btn {
  background: var(--banso-blue);
  color: #fff !important;
  border: none;
  box-shadow: var(--cta-shadow);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  transition: none;
  text-align: center;
}

.banso-cta-ec-btn.primary {
  width: 100%;
  padding: 0.6rem 2.4rem 1.8rem;
}

.banso-cta-ec-btn.secondary {
  flex: 0 0 39%;
  min-width: 0;
  padding: 0.7rem 2.4rem 1.8rem;
}

.banso-cta-ec-btn:hover {
  transform: none;
  box-shadow: var(--cta-shadow);
}

/* ======================================
   PC画像（右ブロック）
====================================== */

.banso-cta-ec-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banso-cta-ec-mock {
  max-width: 520px;
  width: 100%;
}

.banso-cta-ec-mock img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================
   タブレット（768px〜1023px）
====================================== */

@media (min-width: 768px) and (max-width: 1023px) {
  .banso-cta-ec { padding: 5rem 2rem 5.5rem; }

  .banso-cta-ec-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .banso-cta-ec-left { flex: 0 0 55%; }

  .banso-cta-ec-right { flex: 0 0 45%; }

  .banso-cta-ec-copy {
    font-size: 1.45rem !important;
    margin-bottom: 2rem !important;
  }

  .banso-cta-ec-logo img { margin-left: 0; }
}

/* ======================================
   PC（1024px〜）
====================================== */

@media (min-width: 1024px) {
  .banso-cta-ec { padding: 5.5rem 2rem 6rem; }

  .banso-cta-ec-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
  }

  .banso-cta-ec-left {
    flex: 0 0 52%;
    max-width: 520px;
  }

  .banso-cta-ec-right {
    flex: 0 0 48%;
    justify-content: flex-end;
  }

  .banso-cta-ec-copy {
    font-size: 1.6rem !important;
    margin-bottom: 2.4rem !important;
  }

  .banso-cta-ec-logo img {
    max-width: 300px;
    margin-bottom: 3rem;
  }
}
/* ======================================
   スマホ（〜767px）CTA：最終完成版
   ・PC/タブレット非影響
   ・見切れなし
   ・ボタン文字 視覚ど真ん中
====================================== */
@media (max-width: 767px) {

  /* 横スクロール・見切れ完全防止 */
  .banso-cta-ec {
    padding: 1.0rem 1.1rem 1.0rem !important;
    overflow-x: hidden !important;
  }

  .banso-cta-ec-inner {
    gap: 0.9rem !important;
  }

  /* 右画像は非表示 */
  .banso-cta-ec-right {
    display: none !important;
  }

  /* 左ブロック：画面幅に追従（固定px禁止） */
  .banso-cta-ec-left {
    width: 100% !important;
    max-width: 92vw !important;
    margin: 0 auto !important;
    text-align: left !important;
  }

  /* ロゴ */
  .banso-cta-ec-logo img {
    max-width: 175px !important;
    margin: 0 0 0.65rem 0 !important;
  }

  /* コピー */
  .banso-cta-ec-copy {
    white-space: nowrap !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin: 0 0 0.85rem 0 !important;
  }

  /* ボタン行 */
  .banso-cta-ec-row.primary-row,
  .banso-cta-ec-row.secondary-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .banso-cta-ec-row.primary-row {
    margin-bottom: 0.55rem !important;
  }

  /* 下2ボタン 横並び */
  .banso-cta-ec-row.secondary-row {
    display: flex !important;
    gap: 0.5rem !important;
  }

  /* ===============================
     ボタン本体（ここが肝）
     → 文字は動かさず
     → 下側だけを物理的に厚く
  =============================== */
  .banso-cta-ec a.banso-cta-ec-btn {
    height: 56px !important;        /* ← 中央ズレ解消の決定打 */
    min-height: 56px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;
    white-space: nowrap !important;

    font-size: 0.92rem !important;
    line-height: 1 !important;

    /* 上下差を作らず、文字は数学的に中央 */
    padding: 0 12px !important;
  }

  /* 上：1ボタン */
  .banso-cta-ec a.banso-cta-ec-btn.primary {
    width: 100% !important;
  }

  /* 下：2ボタン（必ず枠内に収まる） */
  .banso-cta-ec a.banso-cta-ec-btn.secondary {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;

    padding: 0 8px !important;
    font-size: 0.90rem !important;
  }
}
@media (max-width: 767px){
  html body .banso-cta-ec a.banso-cta-ec-btn .btn-label{
    display: inline-block !important;
    transform: translateY(-1px) !important; /* まずは -1px */
  }

}
/* ======================================
   PC/タブレット：ボタン文字を上下ど真ん中に
   （非対称paddingをリセット）
====================================== */
@media (min-width: 768px){

  /* まず padding を対称にする */
  .banso-cta-ec-btn.primary,
  .banso-cta-ec-btn.secondary{
    padding: 0.95rem 2.4rem !important; /* 上下同じ＝視覚中央になりやすい */
    line-height: 1 !important;
  }

  /* まだ“気持ち下”に見える場合だけ微調整（必要なら） */
  .banso-cta-ec-btn .btn-label{
    display: inline-block;
    transform: translateY(-1px);
  }
}

:root {
  --banso-blue: #2d98e0;
  --banso-gray-bg: #f5f9fd;
  --banso-text-main: #222;
  --banso-text-sub: #555;
  --banso-radius-card: 16px;
  --banso-font-ja: 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
                   'Helvetica Neue', sans-serif;
}

/* =========================
   料金プラン＋ご利用までの流れ（共通セクション）
   ========================= */

/* セクション全体 */
.banso-plan-section {
  width: 100%;
  padding: 4rem 1.5rem 3.5rem; /* 下を少し浅めにして、下の「流れ」に繋げる */
  background: #fff;
  box-sizing: border-box;
  font-family: var(--banso-font-ja);
}

.banso-plan-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* 見出し（料金プラン） */
.banso-plan-title {
  font-size: 2.5rem !important;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--banso-blue) !important;
}

.banso-plan-lead {
  font-size: 1rem;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-align: center;
  margin-bottom: 2.5rem !important;
}

/* 画像4枚グリッド */
.banso-plan-grid {
  display: flex;
  justify-content: space-between;
  gap: 0rem; /* 画像をできるだけ大きく表示するため0に */
}

/* PC・タブレットでは4枚横並び */
.banso-plan-item {
  flex: 1 1 0;
}

.banso-plan-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 注釈 */
.banso-plan-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #666;
  text-align: left;
}

/* ▼ スマホ：1枚ずつ縦並び */
@media (max-width: 767px) {
  .banso-plan-section {
    padding: 3rem 1.25rem;
  }

  /* ✅ h2（料金プラン）を「BanSoでできる3つのこと」と同サイズに */
  .banso-plan-title {
    font-size: 1.8rem !important;
  }

  /* 料金プラン説明（ここは元のまま） */
  .banso-plan-lead {
    font-size: 0.95rem;
    text-align: left;
  }

  .banso-plan-grid {
    flex-direction: column;
    gap: 1.25rem;
  }

  .banso-plan-item {
    width: 100%;
  }
}

/* =========================
   ご利用までの流れ（同じセクション内）
   ========================= */

.banso-flow-inner {
  max-width: 1100px;
  margin: 2rem auto 0;  /* ← 料金プランとの間隔。もっと詰めたければ 1.2rem などに */
  text-align: center;
}

/* 見出し（ご利用までの流れ） */
.banso-flow-title {
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--banso-blue) !important;
  margin-bottom: 0.6rem;
}

/* 上の説明文（お申し込みから〜） */
.banso-flow-lead {
  font-size: 1.4rem !important;
  line-height: 1.9;
  color: var(--banso-text-sub);
  margin-bottom: 2rem;
}

/* ステップ全体 */
.banso-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 各ステップカード */
.banso-flow-step {
  background: #e8f3fb;
  border-radius: var(--banso-radius-card);
  padding: 1.6rem 1.2rem 1.8rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  box-sizing: border-box;
  position: relative;
}

/* STEPピル（※HTMLが span なしでも壊れないよう最低限保持） */
.banso-flow-step-label {
  margin-top: 0 !important;
  margin-bottom: 0.4rem !important;
  line-height: 1 !important;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* もし span を使う場合の見た目（そのまま保持） */
.banso-flow-step-label span {
  display: inline-block;
  background: var(--banso-blue);
  color: #fff;
  padding: 0.18rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1 !important;
}

/* タイトル（STEPとの空間を詰める） */
.banso-flow-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--banso-text-main);
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0.8rem !important;
}

/* 画像エリア */
.banso-flow-image {
  margin-bottom: 0.8rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banso-flow-image img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 説明文 */
.banso-flow-step-text {
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--banso-text-sub);
  margin: 0;
}

/* ✅ スマホ：ご利用までの流れの文字サイズ調整（ここが反映ポイント） */
@media (max-width: 767px) {

  /* ✅ h2（ご利用までの流れ）を「BanSoでできる3つのこと」と同サイズに */
  .banso-flow-title {
    font-size: 1.8rem !important;
  }

  /* ✅ 「お申し込みから〜」を「料金プランの説明」と同サイズに */
  .banso-flow-lead {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    text-align: left; /* 料金プラン説明に寄せるなら left が自然 */
  }
}

/* ===== タブレット（600〜959px） ===== */
@media (min-width: 600px) and (max-width: 959px) {
  .banso-flow-inner {
    margin-top: 2.2rem;
  }

  .banso-flow-lead {
    font-size: 1.1rem;
  }

  .banso-flow-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
  }

  .banso-flow-step {
    flex: 1 1 45%;
    max-width: 340px;
    padding: 1.6rem 1.1rem 1.9rem;
  }

  .banso-flow-image {
    min-height: 160px;
  }

  .banso-flow-image img {
    max-width: 180px;
  }
}

/* ===== PC（960px〜） ===== */
@media (min-width: 960px) {
  .banso-flow-inner {
    margin-top: 2.5rem;
  }

  .banso-flow-lead {
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
  }

  .banso-flow-steps {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .banso-flow-step {
    flex: 1 1 0;
    max-width: 320px;
  }

  .banso-flow-image {
    min-height: 180px;
  }

  .banso-flow-image img {
    max-width: 190px;
  }

  /* カード間の矢印（PCのみ） */
  .banso-flow-step:not(.banso-flow-step-last)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid var(--banso-blue);
  }
}

:root {
  --banso-blue: #2d98e0;
  --banso-text-main: #222;
  --banso-text-sub: #555;
  --banso-bg-light: #fff;
  --radius-card: 12px;
  --font-ja: 'Noto Sans JP', sans-serif;
}

/* セクション全体：中央寄せ */
.banso-case-section {
  width: 100%;
  padding: 4rem 2rem;
  background: var(--banso-bg-light);
  font-family: var(--font-ja);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 見出し（H2） */
.banso-case-title {
  text-align: center;
  font-size: 2.5rem !important;
  font-weight: 700;
  margin-bottom: 0.6rem!important;   /* ←説明文との距離をやや狭める */
  color: var(--banso-blue);
}

/* 説明文（H3） */
.banso-case-subtitle {
  text-align: center;
  font-size: 1.5rem!important;
  font-weight: 400!important;
  color: var(--banso-text-sub);
  line-height: 0!important;
  margin-bottom: 0rem!important;   /* ←カードまでの余白をしっかり取る */
  max-width: 720px;        /* 横に伸びすぎないように */
  margin-left: auto;
  margin-right: auto;
}

/* ===== レイアウト（テーブルで横2枚） ===== */
.banso-case-table {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border: none !important;
}

.banso-case-cell {
  width: 50%;
  vertical-align: top !important;
  padding: 0 1.25rem 2.5rem;
  box-sizing: border-box;
  border: none !important;
}

.banso-case-table tr,
.banso-case-table td {
  border: none !important;
}

/* ===== カードデザイン ===== */
.banso-case-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .25s ease;   /* 位置は動かさない */
}

.banso-case-card:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

/* 画像（16:9） */
.banso-case-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.banso-case-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

/* テキスト */
.banso-case-body {
  padding: 1.6rem 1.8rem 2.1rem;
}

.banso-case-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--banso-text-sub);
  margin-bottom: 0.6rem;
}

.banso-case-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--banso-text-main);
  margin-bottom: 1.6rem;
}

/* ===== 「導入企業インタビュー」をテキストリンク＋アンダーラインに ===== */
.banso-case-btn {
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;

  background: none !important;
  border: none !important;
  border-radius: 0 !important;

  color: var(--banso-blue) !important;
  font-size: 1rem;
  font-weight: 600;

  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  cursor: pointer;
}

.banso-case-btn:hover {
  opacity: 0.8;
  text-decoration-thickness: 3px;
}

/* 日付 */
.banso-case-date {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--banso-text-sub);
}

/* 他の事例もみる */
.banso-case-more {
  text-align: right;
  margin-top: 2rem;
  max-width: 1100px;
  width: 100%;
}

.banso-case-more a {
  color: var(--banso-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ===== スマホ（1列）完成版：これ1つだけ ===== */

/* ▼ スマホだけ改行（PCでは無効） */
.sp-only {
  display: none;
}

@media (max-width: 767px) {

  /* セクション余白 */
  .banso-case-section {
    padding: 3rem 1.5rem;
  }

  /* テーブルを縦積み */
  .banso-case-table,
  .banso-case-table tr,
  .banso-case-table td {
    display: block;
    width: 100% !important;
  }

  .banso-case-cell {
    width: 100% !important;
    padding: 0 0 2rem !important;
  }

  /* h2：料金プランと同サイズ */
  .banso-case-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.8rem !important;
  }

  /* h3：文字化け・見切れ完全対策＋2行OK */
  .banso-case-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2.4rem !important;

    width: 100% !important;
    max-width: 100% !important;

    /* 省略・切れを完全無効化 */
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;

    /* テーマ由来の line-clamp 対策 */
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;

    /* 日本語の安全な折り返し */
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    padding: 0 0.25rem !important;
  }

  /* ▼ スマホだけ改行を有効化 */
  .sp-only {
    display: inline;
  }
}


:root {
  --banso-blue: #2d98e0;
  --ts-bubble-bg: #e8f4fc;   /* 吹き出しの薄いBanSoブルー */
  --ts-text-main: #1f2937;
}

/* セクション全体 */
.banso-trouble-solution {
  padding: 64px 20px;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}

.banso-ts-heading {
  text-align: center;
  font-size: 2.8rem!important;
  font-weight: 700;
  margin-bottom: 100px!important;
  color: var(--banso-blue);
}

/* 3枚並びのラッパー */
.ts-card-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

/* 1枚ごとのカード */
.ts-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 吹き出し部分（統一デザイン） */
.ts-card-bubble {
  width: 100%;
  background: var(--ts-bubble-bg);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  font-size: 1.rem;
  line-height: 1.9;
  color: var(--ts-text-main);
  font-weight: 600; /* ★ 文字を太字に */

  /* ★ 高さをそろえる（調整OK） */
  min-height: 130px;

  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* イラスト部分 */
.ts-card-illust {
  width: 300px;
  height: 200px;
  margin-top: 24px;
	margin-bottom: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ts-card-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* スマホ対応 */
@media (max-width: 768px) {

  /* 見出し：キャッチコピーと同じくらいの存在感に */
  .banso-ts-heading{
    font-size: clamp(1.7rem, 6vw, 2.2rem) !important;
    margin-bottom: 24px !important;  /* 100px→詰める */
    line-height: 1.25;
  }

  /* カード全体：縦積み＆間隔を詰める */
  .ts-card-wrap{
    flex-direction: column;
    gap: 16px; /* 32px→詰める */
  }

  /* 各カード内：吹き出し⇄画像の間も詰める */
  .ts-card-illust{
    width: 180px;
    height: 180px;
    margin-top: 12px;   /* 24px→詰める */
    margin-bottom: 20px;/* 50px→詰める（カード間が広く見える原因） */
  }

  /* 吹き出し：少しコンパクトに */
  .ts-card-bubble{
    min-height: auto;   /* 固定高さをやめて詰める */
    padding: 16px 18px; /* 20/24→詰める */
    font-size: 0.95rem;
    line-height: 1.75;  /* 1.9→少し詰める */
  }
}

}
:root {
  --banso-blue: #2d98e0;
  --banso-text-main: #222;
  --banso-text-sub: #555;
  --banso-bg-light: #fff;
  --radius-card: 12px;
  --font-ja: 'Noto Sans JP', sans-serif;
}

/* セクション全体：中央寄せ */
.banso-case-section {
  width: 100%;
  padding: 4rem 2rem;
  background: var(--banso-bg-light);
  font-family: var(--font-ja);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 見出し（H2） */
.banso-case-title {
  text-align: center;
  font-size: 2.5rem !important;
  font-weight: 700;
  margin-bottom: 0.6rem !important;
  color: var(--banso-blue);
}

/* 説明文（H3） */
.banso-case-subtitle {
  text-align: center;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: var(--banso-text-sub);
  line-height: 1.6;
  margin-bottom: 2.4rem !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 3枚横並びのグリッド ===== */
.banso-case-grid {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;   /* カードの高さを揃える */
  gap: 2rem;
  flex-wrap: wrap;
}

/* カード（PC時は3列） */
.banso-case-grid .banso-case-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;       /* 少し横広めのカード幅 */
  box-sizing: border-box;
}

/* ===== カードデザイン ===== */
.banso-case-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease;
}

.banso-case-card:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

/* 画像（16:9） */
.banso-case-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.banso-case-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

/* テキスト部分 */
.banso-case-body {
  padding: 1.6rem 1.8rem 2.1rem;
}

/* 会社名 */
.banso-case-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--banso-text-sub);
  margin-bottom: 0.6rem;
}

/* 紹介文：ここで高さを揃える！ */
.banso-case-text {
  font-size: 0.99rem;
  line-height: 1.7;
  color: var(--banso-text-main);
  margin-bottom: 0.2rem!important;
  min-height: 5.1rem;   /* ← 3行ぶんくらいの高さを確保（Coming Soonに合わせる） */
}

/* 「詳しく見る」リンク（アンダーライン） */
.banso-case-btn {
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 0 1.2rem 0 !important;  /* 下に少し余白を取る */

  background: none !important;
  border: none !important;
  border-radius: 0 !important;

  color: var(--banso-blue) !important;
  font-size: 1rem;
  font-weight: 600;

  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  cursor: pointer;
}

.banso-case-btn:hover {
  opacity: 0.8;
  text-decoration-thickness: 3px;
}

/* 日付 */
.banso-case-date {
  font-size: 0.85rem;
  color: var(--banso-text-sub);
}

/* 他の事例もみる */
.banso-case-more {
  text-align: right;
  margin-top: 2rem;
  max-width: 1100px;
  width: 100%;
}

.banso-case-more a {
  color: var(--banso-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ===== タブレット（2列） ===== */
@media (max-width: 1024px) {
  .banso-case-grid .banso-case-card {
    max-width: 48%;
  }
}

/* ===== スマホ（1列） ===== */
@media (max-width: 767px) {
  .banso-case-section {
    padding: 3rem 1.5rem;
  }

  .banso-case-title {
    font-size: 2rem !important;
  }

  .banso-case-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
  }

  .banso-case-grid {
    flex-direction: column;
    gap: 1.8rem;
  }

  .banso-case-grid .banso-case-card {
    max-width: 100%;
  }

  .banso-case-text {
    min-height: auto;  /* スマホでは無理に揃えすぎない */
  }
}
/* =========================
   BanSo 導入企業ロゴ
   継ぎ目のない無限スクロール版
========================= */

/* セクション全体 */
.banso-logos {
  width: 100%;
  padding: clamp(28px, 4vw, 52px) 0;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

/* 内側コンテナ */
.banso-logos__inner {
  width: min(1200px, 94vw);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 見出し */
.banso-logos__title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  color: #2d98e0;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

/* =========================
   ロゴが流れる表示領域
========================= */

.banso-logos__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;

  /* 左右をふわっと消す */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* =========================
   2セットを横に並べるトラック
========================= */

.banso-logos__track {
  --marquee-duration: 26s;
  --logo-gap: 24px;

  display: flex;
  align-items: center;

  width: max-content;
  min-width: max-content;

  animation: banso-marquee var(--marquee-duration) linear infinite;

  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* =========================
   1セット分のロゴグループ
========================= */

.banso-logos__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--logo-gap);

  width: max-content;

  margin: 0;
  padding: 6px var(--logo-gap) 6px 0;

  list-style: none;
  box-sizing: border-box;
}

/* =========================
   各ロゴ
========================= */

.banso-logos__item {
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  min-width: 180px;
  height: 96px;
  padding: 12px 16px;

  background: #fff;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

/* ロゴ画像 */
.banso-logos__item img {
  display: block;

  width: auto;
  max-width: 200px;

  height: auto;
  max-height: 68px;

  object-fit: contain;
}

/* =========================
   ホバーで一時停止
========================= */

@media (hover: hover) {
  .banso-logos__marquee:hover .banso-logos__track {
    animation-play-state: paused;
  }
}

/* =========================
   タブレット
========================= */

@media (max-width: 1024px) {
  .banso-logos__track {
    --logo-gap: 20px;
  }

  .banso-logos__item {
    min-width: 168px;
    height: 90px;
  }

  .banso-logos__item img {
    max-width: 170px;
    max-height: 60px;
  }
}

/* =========================
   スマホ
========================= */

@media (max-width: 600px) {
  .banso-logos {
    padding: 28px 0;
  }

  .banso-logos__inner {
    width: 94vw;
  }

  .banso-logos__track {
    --marquee-duration: 22s;
    --logo-gap: 14px;
  }

  .banso-logos__item {
    min-width: 150px;
    height: 84px;
    padding: 10px 14px;
  }

  .banso-logos__item img {
    max-width: 150px;
    max-height: 54px;
  }
}

/* =========================
   PC
========================= */

@media (min-width: 1025px) {
  .banso-logos__title {
    margin-bottom: 28px;
    font-size: 37px !important;
    letter-spacing: 0.04em;
  }

  .banso-logos__item {
    min-width: 210px;
    height: 120px;
    padding: 14px 18px;
  }

  .banso-logos__item img {
    max-width: 240px;
    max-height: 90px;
  }
}

/* =========================
   継ぎ目のないアニメーション
========================= */

@keyframes banso-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =====================================
   アニメーションを減らす設定の端末
   ・自動スクロール停止
   ・複製ロゴを非表示
   ・横スクロールバーなし
   ・ロゴを折り返して表示
===================================== */

@media (prefers-reduced-motion: reduce) {
  .banso-logos .banso-logos__marquee {
    overflow: hidden !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .banso-logos .banso-logos__track {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  /* 無限ループ用の複製は非表示 */
  .banso-logos .banso-logos__group--clone {
    display: none !important;
  }

  /* 1セット目を折り返して表示 */
  .banso-logos .banso-logos__group:not(.banso-logos__group--clone) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    gap: 20px !important;
    padding: 6px 0 !important;
  }

  .banso-logos .banso-logos__item {
    flex: 0 1 210px !important;
    min-width: 0 !important;
  }
}

/* =====================================
   アニメーションを減らす設定＋スマホ
===================================== */

@media (prefers-reduced-motion: reduce) and (max-width: 600px) {
  .banso-logos
    .banso-logos__group:not(.banso-logos__group--clone) {
    gap: 14px !important;
  }

  .banso-logos .banso-logos__item {
    flex: 0 1 calc(50% - 7px) !important;
    min-width: 0 !important;
    height: 84px !important;
    padding: 10px !important;
  }

  .banso-logos .banso-logos__item img {
    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: 54px !important;
  }
}
/* =========================
   フッター全体
========================= */
.banso-lp-footer {
  background: #ffffff;
  padding: 36px 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.banso-lp-footer *,
.banso-lp-footer *::before,
.banso-lp-footer *::after {
  box-sizing: border-box;
}

.banso-lp-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* 画像暴走防止 */
.banso-lp-footer__logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
}

.banso-lp-footer__logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}

/* =========================
   PC
========================= */
@media screen and (min-width: 768px) {

  .banso-lp-footer__inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-areas:
      "banso nav"
      "emmatch copy";
    column-gap: 80px;
    row-gap: 24px;
    align-items: start;
  }

  .banso-lp-footer__area--banso {
    grid-area: banso;
  }

  .banso-lp-footer__area--nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
  }

  .banso-lp-footer__area--emmatch {
    grid-area: emmatch;
    margin-top: -8px; /* 上に少し寄せる */
  }

  .banso-lp-footer__area--copy {
    grid-area: copy;
    margin: 0;
    text-align: right;
    align-self: start;
  }

  /* ロゴサイズ微調整 */
  .banso-lp-footer__logo--banso {
    width: 155px !important;
  }

  .banso-lp-footer__logo--emmatch {
    width: 180px !important;
  }

  /* ナビ */
  .banso-lp-footer__area--nav a {
    color: #111 !important;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    margin-left: 28px;
  }

  .banso-lp-footer__area--nav a:first-child {
    margin-left: 0;
  }

  /* ↑マーク削除 */
  .banso-lp-footer__area--nav a::after {
    content: none !important;
  }

  /* コピー */
  .banso-lp-footer__area--copy {
    color: #111;
    font-size: 14px;
    line-height: 1.7;
  }
}

/* =========================
   スマホ
========================= */
@media screen and (max-width: 767px) {

  .banso-lp-footer {
    padding: 28px 20px 0;
  }

  .banso-lp-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "banso"
      "nav"
      "emmatch"
      "copy";
  }

  .banso-lp-footer__area--banso {
    grid-area: banso;
    margin-bottom: 16px;
  }

  .banso-lp-footer__area--nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .banso-lp-footer__area--emmatch {
    grid-area: emmatch;
    margin-bottom: 12px;
  }

  .banso-lp-footer__area--copy {
    grid-area: copy;
    margin: 0;
    text-align: left;
  }

  /* ロゴ（同サイズに統一） */
  .banso-lp-footer__logo--banso {
    width: 120px !important;
  }

  .banso-lp-footer__logo--emmatch {
    width: 135px !important;
  }

  /* ナビ文字（コピーと同じサイズ） */
  .banso-lp-footer__area--nav a {
    color: #111 !important;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
  }

  /* ↑マーク削除 */
  .banso-lp-footer__area--nav a::after {
    content: none !important;
  }

  /* コピー */
  .banso-lp-footer__area--copy {
    color: #111;
    font-size: 13px;
    line-height: 1.6;
  }
}

.privacy-hero {
  width: 100%;
  background: linear-gradient(90deg, #dff3fb 0%, #eaf8fd 50%, #d8f0fb 100%);
  padding: 24px 20px 32px; /* 上の余白をかなり詰める */
  text-align: center;
  box-sizing: border-box;
}

.privacy-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ← ここが一番重要（テーマの余白も全部潰す） */
.privacy-hero h1,
.privacy-hero__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(23px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #222222;
}

.privacy-hero__text {
  margin: 0;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.9;
  color: #555555;
}

/* タブレット */
@media (max-width: 1024px) {
  .privacy-hero {
    padding: 20px 20px 28px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .privacy-hero {
    padding: 16px 16px 24px;
  }

  .privacy-hero__title {
    margin-bottom: 10px !important;
    line-height: 1.3;
  }

  .privacy-hero__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .privacy-hero__text br {
    display: none;
  }
}
body {
  margin: 0;
}

.privacy-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px 20px 32px;
  background: linear-gradient(90deg, #dff3fb 0%, #eaf8fd 50%, #d8f0fb 100%);
  text-align: center;
}
body {
  margin: 0;
}

.l-main,
main {
  padding-top: 0 !important;
}

.privacy-hero {
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px 20px 32px;
  background: linear-gradient(90deg, #dff3fb 0%, #eaf8fd 50%, #d8f0fb 100%);
  text-align: center;
}
/* ラップ */
.privacy-content-wrap {
  padding: 60px 20px 80px;
}

/* カード */

.privacy-card__title {
  text-align: left !important;
}
.privacy-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 56px 60px 64px;
  box-sizing: border-box;

  /* 左寄せ（今回の目的） */
  text-align: left;

  /* BanSoブルー影 */
  box-shadow:
    0 12px 32px rgba(45, 152, 224, 0.15),
    0 4px 12px rgba(45, 152, 224, 0.08);
}

/* タイトル */
.privacy-card__title {
  margin: 0 0 28px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #222222;
  text-align: left; /* 念のため */
}

/* 本文 */
.privacy-card p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
  color: #444444;
  word-break: break-word;
  text-align: left;
}

/* リンク */
.privacy-card a {
  color: #2d98e0;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.privacy-card a:hover {
  opacity: 0.8;
}

/* 見出し（1.とか） */
.privacy-heading {
  margin: 36px 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #222222;
  text-align: left;
}

/* スマホ */
@media (max-width: 767px) {
  .privacy-content-wrap {
    padding: 40px 16px 56px;
  }

  .privacy-card {
    padding: 34px 22px 38px;
    border-radius: 12px;
  }

  .privacy-card__title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .privacy-card p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .privacy-heading {
    margin: 28px 0 12px;
    font-size: 16px;
  }
}
.privacy-hero {
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px 20px 32px;
  background: linear-gradient(90deg, #dff3fb 0%, #eaf8fd 50%, #d8f0fb 100%);
  text-align: center;
  box-sizing: border-box;
}

.privacy-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-hero__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #2d98e0;
  display: inline-block;
  position: relative;
}

.privacy-hero__label::before,
.privacy-hero__label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #2d98e0;
  transform: translateY(-50%);
}

.privacy-hero__label::before {
  left: -32px;
}

.privacy-hero__label::after {
  right: -32px;
}

.privacy-hero h1,
.privacy-hero__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(23px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #222222;
}

.privacy-hero__text {
  margin: 0;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.9;
  color: #555555;
}

@media (max-width: 767px) {
  .privacy-hero {
    padding: 16px 16px 24px;
  }

  .privacy-hero__label {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
  }

  .privacy-hero__label::before,
  .privacy-hero__label::after {
    width: 16px;
  }

  .privacy-hero__label::before {
    left: -22px;
  }

  .privacy-hero__label::after {
    right: -22px;
  }

  .privacy-hero__title {
    margin-bottom: 10px !important;
    line-height: 1.3;
  }

  .privacy-hero__text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ======================================================
   BanSo LP：お役立ち記事
   ====================================================== */

.banso-columns,
.banso-columns *,
.banso-columns *::before,
.banso-columns *::after {
  box-sizing: border-box;
}

.banso-columns {
  --banso-column-blue: #2d98e0;
  --banso-column-blue-dark: #1e6fa7;
  --banso-column-text: #222;
  --banso-column-text-sub: #555;

  width: 100%;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #f7fbfe 0%,
    #ffffff 100%
  );
  color: var(--banso-column-text);
  font-family:
    'Noto Sans JP',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    sans-serif;
}

.banso-columns__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =====================================
   見出し
===================================== */

.banso-columns__header {
  margin: 0 auto 2.8rem;
  text-align: center;
}

.banso-columns
.banso-columns__title {
  margin: 0 0 0.7rem !important;
  padding: 0 !important;
  color: var(--banso-column-blue) !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
  text-align: center;
}

.banso-columns
.banso-columns__lead {
  max-width: 760px;
  margin: 0 auto !important;
  padding: 0 !important;
  color:
    var(--banso-column-text-sub) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-align: center;
}

/* =====================================
   PC：最新3記事を横並び
===================================== */

.banso-columns__track {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0.25rem;
  outline: none;
}

.banso-columns__track:focus-visible {
  border-radius: 18px;
  outline:
    3px solid rgba(45, 152, 224, 0.35);
  outline-offset: 6px;
}

/* =====================================
   記事カード
===================================== */

.banso-columns
.banso-columns__card {
  display: flex;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border:
    1px solid rgba(45, 152, 224, 0.18);
  border-radius: 16px;
  box-shadow:
    0 10px 28px rgba(0, 48, 85, 0.08);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.banso-columns
.banso-columns__card:hover {
  border-color:
    rgba(45, 152, 224, 0.42);
  box-shadow:
    0 14px 32px rgba(0, 48, 85, 0.13);
}

.banso-columns
.banso-columns__card-link {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.banso-columns
.banso-columns__card-link:focus-visible {
  border-radius: 15px;
  outline:
    3px solid var(--banso-column-blue);
  outline-offset: -3px;
}

/* =====================================
   アイキャッチ画像
===================================== */

.banso-columns__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eaf6fd;
}

.banso-columns
.banso-columns__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.banso-columns__card:hover
.banso-columns__image {
  transform: scale(1.025);
}

/* アイキャッチ未設定時 */
.banso-columns__image-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      135deg,
      #dff3ff 0%,
      #a9dcf7 100%
    );
  color: #0e5f93;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.banso-columns__image-fallback span {
  color: var(--banso-column-blue);
  font-size:
    clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* =====================================
   カード本文
===================================== */

.banso-columns__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.35rem 1.45rem 1.5rem;
}

.banso-columns__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  width: 100%;
  margin: 0 0 1rem;
  color: #69717b;
  font-size: 0.82rem;
  line-height: 1.4;
}

.banso-columns__category {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: #e8f5fc;
  color: var(--banso-column-blue);
  font-weight: 700;
}

.banso-columns
.banso-columns__card-title {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 0 0 0.9rem !important;
  padding: 0 !important;
  overflow: hidden;
  color:
    var(--banso-column-text) !important;
  font-size: 1.16rem !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: left;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.banso-columns
.banso-columns__excerpt {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  overflow: hidden;
  color:
    var(--banso-column-text-sub) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-align: left;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.banso-columns__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--banso-column-blue);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

/* =====================================
   他の記事を見る
   シンプルな文字リンク
===================================== */

.banso-columns__more {
  width: 100%;
  margin-top: 2.5rem;
  text-align: center;
}

.banso-columns
.banso-columns__more-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0.25rem 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  color: var(--banso-column-blue) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;

  text-align: center;
  text-decoration: none !important;

  transition: color 0.2s ease;
}

.banso-columns
.banso-columns__more-button:hover {
  background: transparent !important;
  box-shadow: none !important;
  color:
    var(--banso-column-blue-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.banso-columns
.banso-columns__more-button:focus-visible {
  outline:
    3px solid rgba(45, 152, 224, 0.4);
  outline-offset: 4px;
}

.banso-columns
.banso-columns__empty {
  margin: 0 !important;
  padding: 2rem 1rem !important;
  color:
    var(--banso-column-text-sub) !important;
  text-align: center;
}

/* =====================================
   タブレット：2列
===================================== */

@media (
  min-width: 768px
) and (
  max-width: 1024px
) {
  .banso-columns__track {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* =====================================
   スマホ：1枚ずつ横スワイプ
===================================== */

@media (max-width: 767px) {
  .banso-columns {
    padding: 3rem 1.2rem 3.5rem;
  }

  .banso-columns__header {
    margin-bottom: 1.8rem;
  }

  .banso-columns
  .banso-columns__title {
    margin-bottom:
      0.55rem !important;
    font-size: 1.8rem !important;
    line-height: 1.35 !important;
  }

  .banso-columns
  .banso-columns__lead {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
  }

  .banso-columns__track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0.25rem 0 0.65rem;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .banso-columns__track::-webkit-scrollbar {
    display: none;
  }

  .banso-columns
  .banso-columns__card {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .banso-columns__body {
    padding:
      1.2rem 1.25rem 1.35rem;
  }

  .banso-columns
  .banso-columns__card-title {
    min-height: 0;
    font-size: 1.08rem !important;
    -webkit-line-clamp: 3;
  }

  .banso-columns
  .banso-columns__excerpt {
    font-size: 0.9rem !important;
    -webkit-line-clamp: 4;
  }

  .banso-columns__more {
    margin-top: 1.8rem;
  }

  .banso-columns
  .banso-columns__more-button {
    width: auto !important;
    font-size: 0.95rem !important;
  }
}

/* =====================================
   動きを減らす端末設定
===================================== */

@media (
  prefers-reduced-motion: reduce
) {
  .banso-columns *,
  .banso-columns *::before,
  .banso-columns *::after {
    scroll-behavior: auto !important;
    transition-duration:
      0.01ms !important;
  }
}