/* =========================================================
   株式会社エルコム「失敗しない券売機の選び方」LP
   モバイルファースト（基準=390px前後）、min-widthで拡張
   ========================================================= */

:root {
  --color-primary: #1e6b8a;
  --color-primary-dark: #102a33;
  --color-accent: #f25f22;
  --color-teal: #00a1b4;
  --color-teal-light: #77d0da;
  --color-type-03: #CFF1FF;
  --color-teal-bg: #daf3f8;
  --color-mint-bg: #f3faf7;
  --color-badge-border: #96a9af;
  --color-border: #e6e6e6;
  --color-border-2: #dde1e5;
  --color-border-3: #d1d5d6;
  --color-orange-bg: #fff6f0;
  --color-orange-border: #ffcc99;
  --color-bg-gray: #f1f1f1;
  --color-white: #ffffff;
  --gradient-green: linear-gradient(95deg, #00b768 0%, #9fc300 100%);
  --gradient-teal: linear-gradient(144deg, #1e6b8a 8.3%, #00b7b3 91.7%);
  --font-heading: 'M PLUS Rounded 1c', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --container-max: 1368px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

p{
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style: unset;
  margin-left: 10px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #fff;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  text-transform: uppercase;
}
.eyebrow-skyblue{
  background: #EAF9FF;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-primary-dark);
}

.section-title em {
  font-style: normal;
  color: var(--color-primary);
}

.section-lead {
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  color: var(--color-primary-dark);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 35px;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  border: none;
  width: 100%;
  text-align: center;
}

.btn img {
  width: 22px;
  height: 22px;
}

.btn-primary {
/*  background: var(--gradient-teal);*/
  background: linear-gradient(101deg, #1E6B8A 8.33%, #00A1B4 91.67%);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: inset -4px -4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 3px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.15);
}

.btn-cta {
  background: var(--gradient-green);
  color: var(--color-white);
  box-shadow: inset -3px -3px 5px rgba(0, 0, 0, 0.25), 2px 2px 2px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  width: auto;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;                      /* ★ 左端起点に固定 */
  right: 0;                     /* ★ 右端まで広げる */
  width: 100%;                  /* ★ 幅100%を明示 */
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--color-border-3);
  
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header .logo .mark {
  display: none;
}

.site-header .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-primary-dark);
}

.site-header .gnav,
.site-header .header-cta {
  display: none;
}

.hamburger-btn {
  background: none;
  border: none;
  width: 34px;
  height: 24px;
  padding: 0;
}

.hamburger-btn img {
  width: 100%;
  height: 100%;
}

.drawer {
  position: fixed;
  inset: 56px 0 0 0;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
  padding: 24px 16px;
  overflow-y: auto;
}

.drawer.open {
  transform: translateX(0);
}

.drawer a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--color-border);
}

.drawer .drawer-tel {
  margin-top: 16px;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
}

.drawer .btn-cta {
  margin-top: 16px;
  width: 100%;
}
/* 親の <p class="drawer-tel">：上下の余白を均等にして高さの中心に配置 */
.drawer .drawer-tel {
  margin: 24px 0 8px !important;   /* 「導入の流れ」との隙間と下のボタンとのバランスを調整 */
  text-align: left !important;   /* 中央揃えにする場合（左揃えのままが良い場合は left に変更） */
}

/* 中の <a href="tel:...">：.drawer a の指定を上書きして大きく・中心に配置 */
.drawer .drawer-tel a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 0 !important;
    border-bottom: none !important;
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--color-primary) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.03em !important;
}

@media (min-width: 1280px) {
  .site-header {
    height: 88px;
    padding: 0 32px;
    display: flex;
    justify-content: center;    /* 中の .header-inner を中央に配置 */
    width: 100%;                /* 画面幅全体に広げる */
  }

  .header-inner {
    width: 100%;
    max-width: var(--container-max); /* コンテンツ自体の最大幅（1368px） */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;  /* 左にロゴ、中央にメニュー、右にボタン */
  }

  .site-header .logo-text {
    font-size: 16px;
  }
  .site-header .gnav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding-left: 11px;
  }
  .site-header .gnav a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary-dark);
    opacity: 0.85;
  }
  .site-header .gnav span {
    opacity: 0.4;
  }
  .site-header .header-cta {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .header-cta .tel-block {
    text-align: right;
  }
  .header-cta .tel-note {
    font-size: 12px;
    opacity: 0.75;
  }
  .tel-big{
    line-height: 70px;
  }
  .header-cta .tel-number {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 18px;
    color: var(--color-primary);
  }
  .header-cta .tel-number img {
    width: 20px;
    height: 20px;
  }
  .header-cta .btn-cta {
    font-size: 16px;
    padding: 12px 22px;
  }
  .hamburger-btn {
    display: none;
  }
}

/* =========================================================
   Hero
   ========================================================= */

   /* =========================================================
   Hero の修正（2倍書き出し：実寸944px表示）
   ========================================================= */


.types-inner, .check-inner, .solutin-inner, .checkpoint-inner, .detail-inner, .grade-inner,
.cost-inner, .cashless-inner, .business-inner, .faq-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}


.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  /* 表示上の高さ（1888px / 2 = 944px） */
  min-height: 944px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  height: 944px; /* 高さを944pxに固定 */
  margin: 0 auto;
  
  background-image: url("img/hero-section.webp");
  background-repeat: no-repeat;
  background-position: center top;
  /* 1440px幅・高さ944pxに収まるよう2倍画像を半分に縮小表示 */
  background-size: 1440px 944px;

  display: flex;
  align-items: center;

  width: 100% !important;
  max-width: 1440px !important;
  box-sizing: border-box !important;
  padding: 0 40px !important;

}

/* 1441px以上の余白エリア */
@media screen and (min-width: 1441px) {
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    height: 944px; /* 中央と同じ944px */
    width: calc((100vw - 1440px) / 2);
    background-repeat: repeat-x;
    /* 縦幅を中央と同じ944pxに縮小してリピート */
    background-size: auto 944px;
    z-index: 1;
  }

  /* 左側の擬似要素 (::before) */
  .hero::before {
    right: 50%;
    margin-right: 720px;
    background-image: url("img/hero_left.png");
    background-position: right top;
  }

  /* 右側の擬似要素 (::after) */
  .hero::after {
    left: 50%;
    margin-left: 720px;
    background-image: url("img/hero_right.png");
    background-position: left top;
  }
}



/* メインコンテンツ（文字やボタン）の幅調整 */
.hero-content {
  max-width: 620px;
  text-align: left;
}

.hero-bg-texture {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--color-primary);
}

.hero-title .sub {
  color: var(--color-primary-dark);
}

.hero-copy {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.hero-badges .badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 78px;
  padding: 6px 8px;
  background: var(--color-mint-bg);
  border: 1px solid var(--color-badge-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--color-primary);
  text-align: center;
}

.hero-badges .badge img {
  width: 24px;
  height: 24px;
}

.hero-machines {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  max-width: 340px;
}

.hero-machines img {
  height: 170px;
  width: auto;
  object-fit: contain;
}

.hero-visual {
  max-width: 420px;
  width: 100%;
}
.hero-badges{
  width: 800px;
}

/* =========================================================
   共通セクション
   ========================================================= */
section {
  padding: 96px 16px;
}

/* =========================================================
   diagnosis-step-section
   ========================================================= */
/* =========================================================
   かんたん券売機診断：見出し＆左右イラストレイアウト
   ========================================================= */
.diagnosis-head-container {
  display: flex;
  align-items: flex-end;   /* イラストの下端を見出しに合わせる */
  justify-content: center;
  gap: 40px;               /* イラストとテキストの間隔 */
  max-width: 1240px;
  margin: 0 auto 60px;     /* 下部のクイズカードとの余白 */
  padding: 0 20px;
  box-sizing: border-box;
}

/* 左右イラストのサイズ調整 */
.diag-illust {
  flex-shrink: 0;
  width: 160px;            /* デザインに合わせたお好みの幅に調整可能 */
}

.diag-illust img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 中央の見出しエリアのデフォルト下部マージンを打ち消す */
.diagnosis-head-container .section-head {
  margin-bottom: 0;
}

/* スマホ表示対応（画面が狭いときは縦並び・コンパクトに） */
@media (max-width: 860px) {
  .diagnosis-head-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .diag-illust {
    width: 120px;
  }
}

   
.step-section {
  background: #f2f2f2;
}

.step-flow-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.step-flow {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  margin: 0 auto;
}

.step-card {
  width: 160px;
  min-height: 232px;
  background: var(--color-white);
  border: 1px solid #45abd4;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 14px;
  text-align: center;
  flex-shrink: 0;
}

/* 最初のカード（STEP 01）だけ高さを変更 */
.step-card:first-of-type {
  min-height: 307px; /* 希望の高さ（デフォルトは280px） */
  align-self: flex-start; /* 他のカードの高さに揃えられないように上揃えにする */
}

.step-card .step-badge {
  background: #25abde;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}

.step-card .step-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-card .step-icons img {
  width: 40px;
  height: 40px;
}

/* =========================================================
   STEP 01 の画像サイズ調整
   ========================================================= */

/* STEP 01 のカード内のアイコンサイズを大きくする（例: 70px × 70px） */
.step-card:first-of-type .step-icons img {
  width: 64px !important;       /* ★ お好みの幅（例: 60px〜80px）に変更してください */
  height: 64px !important;      /* ★ お好みの高さに変更してください */
  max-width: none !important;
  object-fit: contain !important;
}

/* 枠や余白が窮屈な場合はこちらも調整 */
.step-card:first-of-type .step-icons {
  padding: 8px !important;
  gap: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.step-card .step-icons span {
  font-size: 12px;
  font-weight: 700;
}

.step-card > img {
  width: 44px;
  height: 44px;
}

.step-card .step-q {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
}

.step-card .step-a {
  font-size: 13px;
  color: var(--color-primary-dark);
}

.step-card.result {
  background: linear-gradient(180deg, #138cbd, #29bdac);
  color: var(--color-white);
  border: none;
  height: 308px;
}

.step-card.result .step-badge {
  background: var(--color-primary);
}

.step-card.result .step-q {
  color: var(--color-white);
}

.step-card.result .step-a {
  color: var(--color-white);
}

.step-caret {
  width: 18px;
  height: 30px;
  flex-shrink: 0;
  opacity: 0.5;
}


.step-section .btn-primary {
  max-width: 480px;
  margin: 32px auto 0;
}

@media (min-width: 960px) {
  .step-flow-scroll {
    overflow: visible;
  }
  .step-flow {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .step-section {
    padding: 96px 60px;
  }
  .section-title {
    font-size: 44px;
    color: #102A33;
  }
  .section-title em {
    font-size: 64px;
  }
  .section-lead {
    font-size: 18px;
    color: #102A33;
  }
  .step-flow {
    gap: 8px;
  }
  .step-card {
    width: 175px;
    min-height: 280px;
    border-width: 1.5px;
    gap: 16px;
    padding: 10px;
  }

  .step-flow .step-card:nth-of-type(1),.step-flow .step-card:nth-of-type(6){
    padding-top: 40px;
  }
   .step-flow .step-card:nth-of-type(2), .step-flow .step-card:nth-of-type(3),
   .step-flow .step-card:nth-of-type(4), .step-flow .step-card:nth-of-type(5){
    padding-top: 30px;
  }


  .step-card .step-q {
    font-size: 18px;
  }
  .step-card .step-a {
    font-size: 16px;
  }
  .step-card .step-icons {
    background: var(--color-white);
    border-radius: 16px;
    padding: 12px;
  }
  .step-card .step-icons img {
    width: 45px;
    height: 45px;
  }
  .step-card > img {
    width: 44px;
    height: 44px;
    border-radius: 32px;
    padding: 10px;
    box-sizing: content-box;
  }

  
  .step-caret {
    width: 30px;
    height: 30px;
  }
  .step-section .btn-primary {
    max-width: none;
    width: auto;
    font-size: 20px;
    padding: 17px 25px;
    display: flex;       /* または inline-flex */
    margin: 82px auto 0; /* 上に32px余白、左右自動（中央配置） */
    width: fit-content;  /* 文字幅に合わせて中央に置く場合 */
  }
}

/* =========================================================
   four-types-section
   ========================================================= */
   /* PC用レイアウト (例えば 960px以上) */
.col-top {
  display: flex !important;
  flex-direction: column !important;
}
.col-top .img-box {
  margin-top: auto !important; /* 上のテキスト量に関わらず一番下に押し下げる */
  display: flex !important;
  justify-content: center !important; /* 左右中央揃え */
  align-items: flex-end !important;   /* ★ 画像を下端（底辺）で揃える */
  height: 265px;
  padding-top: 20px;
}

.col-top .img-box img {
  display: block !important;
  margin: 0 auto !important;
}

.img-box {
  width: 100%;
  height: 220px;          /* ★ 高さを固定（一番背の高い券売機に合わせて調整してください） */
  display: flex;
  justify-content: center; /* 左右中央揃え */
  align-items: flex-end;   /* ★ 下端（地面）を綺麗に揃える */
  margin: 0 auto;
  padding-bottom: 12px;    /* 画像と文字の余白 */
  box-sizing: border-box;
  margin-top: 50px;
}

/* 4タイプの券売機画像サイズを137pxに統一 */
.img-box img {
  width: 137px;
  height: auto;
  object-fit: contain;
  margin: 0 auto; /* block要素としての中央揃えも担保 */
  max-height: 100%;        /* ★ 高さをボックス内に収める */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


.types-grid {
  display: grid !important;
  /* 左側のラベル(140px) ＋ 252pxの列を4つ配置 */
  grid-template-columns: 140px repeat(4, 252px) !important;
  
  /* 上下行間 10px / 左右列間 8px */
  gap: 3px 3px !important; 
  
  /* 全体の幅を計算値（140px + 252px×4 + 隙間8px×4箇所 = 1180px）に設定 */
  width: 1180px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* 左側の項目ラベル（おすすめのお店、メニュー表示など） */
.row-label {
  background-color: #d1d5db; /* デザインに合わせたグレー */
  color: #333;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
  text-align: center;
  padding: 12px 8px;
}

/* 各データセル共通 */
.grid-cell {
  box-sizing: border-box;
}

.content-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  text-align: left;
  padding: 12px 8px;
  font-size: 16px;
  border-radius: 0px;
  height: 90px;
}

/* 各列の背景色（デザインに合わせて設定） */
.bg-light-blue   { background-color: #f0f7ff; }
.bg-light-green  { background-color: #eafff0; }
.bg-light-purple { background-color: #f3f0ff; }

/* おすすめの店の枠線 */
.shop-box {
  padding: 15px;
  font-size: 16px;
  border-radius: 0px;
  background-color: #fff;
  display: flex !important;
  flex-direction: column !important; /* 縦並びを維持 */
  justify-content: center !important; /* 縦方向（高さに対して）中央配置 */
}

.shop-box ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 5px; /* リストの・（中黒）が枠外に出ないように余白を確保 */
  width: 100%;
}

.row-label-shop {
  min-height: 130px;
}
.border-blue   { border: 2px solid #0284c7; }
.border-green  { border: 2px solid #10b981; }
.border-cyan   { border: 2px solid #06b6d4; }
.border-purple { border: 2px solid #8b5cf6; }

/* 特徴ボックスの背景色 */
.feature-box {
  padding: 12px;
  border-radius: 6px;
}
.bg-blue   { background-color:  #d9f9f9; }
.bg-green  { background-color: #dcfce7; }
.bg-cyan   { background-color: #CFEEFF; }
.bg-purple { background-color: #dedaff; }

.types-cards-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.types-cards {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0 auto;
}

.type-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border-3);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.type-card .type-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.type-card .type-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.type-card .type-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
}

.type-card .type-desc {
  font-size: 15px;
  line-height: 1.5;
}

.type-card .type-image {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfb;
  border-radius: 12px;
}

.type-card .type-image img {
  max-height: 100%;
  width: auto;
}

.type-card .type-highlights {
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.type-card .type-highlights p.label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 14px;
  margin: 0;
}

.type-card .highlight-li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.type-card .highlight-li .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.type-card .highlight-li .icon-wrap img {
  width: 20px;
  height: 20px;
}

.type-card .highlight-li p {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.type-card .specs-table {
  border-top: 1px solid var(--color-border-3);
}

.type-card .specs-row {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-3);
}

.type-card .specs-row dt {
  width: 100px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 13px;
  margin: 0;
}

.type-card .specs-row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.type-card .btn-cta {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
}

.types-bottom-cta {
  max-width: 480px;
  margin: 32px auto 0;
  text-align: center;
}

.types-bottom-cta p {
  font-weight: 700;
  margin: 0 0 16px;
}

/* CTAコンテナ全体を横並びにする */
.types-bottom-cta {
  width: 100%;
  max-width: 1240px;              /* 横幅を広げて3要素が収まるようにする */
  margin: 48px auto 0;
  display: flex;
  align-items: center;           /* 上下中央揃え */
  justify-content: center;       /* 左右中央揃え */
  gap: 32px;                     /* イラスト・文字・ボタンの隙間 */
  text-align: left;
}

/* 左：イラストのサイズ調整 */
.types-bottom-cta .cta-illust img {
  width: 277px;
  height: auto;
  object-fit: contain;
}

/* 中央：テキストブロック */
.types-bottom-cta .cta-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
      width: 517px;
}

.types-bottom-cta .cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: #009cb3;               /* デザインに合わせたシアン/ブルー系カラー */
  margin: 0;
  line-height: 1.3;
}

.types-bottom-cta .cta-sub {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 0;
  white-space: nowrap;          /* 改行防止 */
}

/* 右：ボタンの横幅固定と微調整 */
.types-bottom-cta .cta-btn {
  width: auto;
  min-width: 320px;
  padding: 16px 28px;
  font-size: 17px;
  border-radius: 999px;
  white-space: nowrap;

}

/* スマホ対応（画面が狭いときは縦並びに戻す） */
@media (max-width: 768px) {
  .types-bottom-cta {
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    text-align: center;
  }
  .types-bottom-cta .cta-btn {
    width: 100%;
    min-width: auto;
  }
}

/* 左端の空セル用（背景も枠線もなし） */
.blank-cell {
  background: transparent;
  visibility: hidden; /* 場所（幅・高さ）だけ維持して非表示 */
}

/* 各ボックス内の「特徴」見出し装飾 */
.feature-box {
  padding: 12px 14px;
  border-radius: 6px;
  text-align: left;
}

.feature-title {
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: #0d4a71; /* テキスト色（濃いめのアクセントカラー） */
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2); /* デザイン通りの点線 */
}

/* 各列の背景色クラス */
.bg-light-blue   { background-color: #e0f2fe; } /* 1列目（キャッシュレス列） */
.bg-light-green  { background-color: #dcfce7; } /* 2列目（タッチパネル列） */
.bg-light-cyan   { background-color: #CFEEFF; } /* 3列目（ボタン式列） */
.bg-light-purple { background-color: #dedaff; } /* 4列目（卓上型列） */

/* タイトル部分の親要素（横並び・上下中央揃え） */
.type-head {
  display: flex;
  align-items: center;       /* 上下の中央揃え */
  justify-content: center;   /* 左右の中央揃え */
  gap: 8px;                  /* 丸数字とテキストの間隔 */
  margin-bottom: 8px;
  height: 60px;
}

/* 丸数字（01, 02, ...）のデザイン */
.type-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;               /* 円の直径 */
  height: 40px;
  background-color: #1e6b8c; /* デザインに合わせた濃い青色 */
  color: #ffffff;            /* 数字の白文字 */
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;        /* 正円にする */
  flex-shrink: 0;            /* 画面幅が狭くても潰れないようにする */
}

/* 券売機タイトルテキスト */
.type-name {
  color: #1e6b8c;            /* 丸数字と同色の濃い青色 */
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;                 /* pタグのデフォルト余白をリセット */
  text-align: center;
}

.types-grid .feature-box {
  min-height: 200px;
  /* 厳密に200px固定にしたい場合は height: 200px; */
}

/* 券売機4タイプ比較：特徴エリア専用スタイル */
.feature-box {
  padding: 7px 10px;
  border-radius: 0px;
  text-align: left;
  box-sizing: border-box;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a6288;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1.5px dotted rgba(26, 98, 136, 0.35);
}

/* アイコンと文字の横並び */
.types-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.types-feature-item:last-child {
  margin-bottom: 0;
}

/* 他の .icon-circle と絶対に被らないクラス名 */
.types-icon-circle {
  width: 47px;
  height: 47px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.types-icon-circle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.types-feature-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
  font-weight: 500;
}

@media (min-width: 960px) {
  .types-cards-scroll {
    overflow: visible;
  }
  .types-cards {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 960px) {
  .hero {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }
  .hero-content {
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 560px;
  }
  .hero-title {
    font-size: 44px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-buttons {
    max-width: 480px;
  }
  .hero-badges {
    max-width: 500px;
  }
  .hero-visual-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

@media (min-width: 1280px) {
  .hero {
    gap: 48px;
  }
  .hero-content {
    max-width: 620px;
    gap: 14px;
  }
  .hero-title {
    font-size: 64px;
    line-height: 1.3;
  }
  .hero-title .sub {
    display: block;
  }
  .hero-title br { content: ""; }
  .hero-copy {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
  }
  .hero-copy.desc {
    font-size: 18px;
    font-weight: 400;
    max-width: 540px;
  }
  .hero-copy.desc strong {
    font-weight: 700;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: none;
    padding-top: 32px;
    margin-top: 100px;
  }
  .hero-buttons .btn {
    width: auto;
    align-self: flex-start;
    font-size: 24px;
    padding: 17px 25px;
    gap: 15px;
  }
  .hero-buttons .btn img {
    width: 30px;
    height: 30px;
  }
  .hero-badges {
    max-width: none;
    gap: 0 12px;
    flex-wrap: nowrap;
    margin-top: 20px;
  }
  .hero-badges .badge {
    flex: none;
    flex-direction: row;
    min-height: auto;
    background: none;
    border: none;
    border-right: 1px solid var(--color-badge-border);
    border-radius: 0;
    padding: 7px 18px 7px 5px;
    font-size: 24px;
    font-weight: 500;
    gap: 12px;
  }
  .hero-badges .badge:last-child {
    border-right: none;
  }
  .hero-badges .badge img {
    width: 50px;
    height: 50px;
  }
  .hero-visual-wrap {
    position: relative;
    min-width: 420px;
  }
  .hero-machines img {
    height: 280px;
  }
}

/* =========================================================
   pain-points-section
   ========================================================= */
.pain-section {
  background: #f5fffd;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.pain-card {
  background: var(--color-white);
  border: 1px solid #afdfe9;
  border-width: 1px 4px 4px 1px;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 355px;
  height: 335px;
}

/* タイトル部分：意図した <br> を有効にし、文字を綺麗に配置する */
.pain-card .pain-title {
  display: flex;
  align-items: flex-start;     /* アイコンとテキストの頭を揃える */
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;             /* フォントサイズを15px程度に調整 */
  height: auto !important;     /* 固定高さを完全に解除 */
  min-height: 50px;            /* 1行・2行どちらでもバランスが崩れないように最小高さを設定 */
  text-align: left;            /* 左揃えにするとレイアウトが安定します */
  box-sizing: border-box;
}

.pain-card .pain-title img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;             /* アイコンの位置微調整 */
}

.pain-card .pain-title em {
  font-style: normal;
  color: #01b4b1;
}
.pain-card img.pain-illustration {/* カード内のタイトルエリア */
}

/* =========================================================
   pain-card タイトルエリアの完全修正
   ========================================================= */

/* タイトル全体：左にアイコン、右にテキストボックスを配置 */
.pain-card .pain-title {
  display: flex !important;
  align-items: flex-start !important; /* アイコンを1行目の高さに合わせる */
  justify-content: flex-start !important;
  gap: 10px !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0 0 16px 0 !important;
  height: auto !important;
  min-height: 48px !important;       /* 高さを揃える */
  width: 100% !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
}

/* チェックアイコン */
.pain-card .pain-title img {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  display: block !important;
}

/* ★ テキストを包む要素：ここで <br> による改行を正しく機能させる */
.pain-card .pain-title-text {
  display: block !important;
  flex: 1 !important;
  margin: 0 !important;
  padding-left: 30px;
}

/* 強調文字（水色） */
.pain-card .pain-title em {
  font-style: normal !important;
  color: #01b4b1 !important;
  font-size: 24px;
}

/* 下のイラスト画像 */
.pain-card img.pain-illustration {
  width: 100% !important;
  max-width: 235px !important;
  height: auto !important;
  border-radius: 6px !important;
  display: block !important;
  margin: 0 auto !important;
}

.pain_width{
  width: 200px !important;
}
.pain-summary {
  text-align: center;
  font-weight: 700;
  width: 100%;
}

.pain-workload-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
  }

.pain-arrow {
  width: 32px;
  margin: 0 auto;
  opacity: 1.0;
  transform: rotate(180deg);
}

/* =========================================================
   「こんなお悩み」6つのイラスト個別サイズ調整
   ========================================================= */

/* 共通設定（高さを揃えつつ比率を維持） */
.pain-card img.pain-illustration {
  height: auto !important;
  display: block !important;
  margin: auto auto 0 !important; /* カードの下部に綺麗に配置 */
}

/* 1. 注文受付と会計対応の手間 (pain-01) */
.pain-grid .pain-card:nth-child(1) img.pain-illustration {
  max-width: 250px !important; /* ★ お好みの数値に変更 */
}

/* 2. ピーク時のレジ対応が追いつかない (pain-02) */
.pain-grid .pain-card:nth-child(2) img.pain-illustration {
  max-width: 240px !important; /* ★ お好みの数値に変更 */
}

/* 3. 人手不足で業務負担が大きい (pain-03) */
.pain-grid .pain-card:nth-child(3) img.pain-illustration {
  max-width: 210px !important; /* ★ お好みの数値に変更 */
}

/* 4. 会計対応で調理が中断する (pain-04) */
.pain-grid .pain-card:nth-child(4) img.pain-illustration {
  max-width: 230px !important; /* ★ お好みの数値に変更 */
}

/* 5. 釣銭の渡し間違いや現金誤差が不安 (pain-05) */
.pain-grid .pain-card:nth-child(5) img.pain-illustration {
  max-width: 210px !important; /* ★ お好みの数値に変更 */
}

/* 6. 売上集計やレジ締めに時間がかかる (pain-06) */
.pain-grid .pain-card:nth-child(6) img.pain-illustration {
  max-width: 235px !important; /* ★ お好みの数値に変更 */
}


.cta-banner {
  background: var(--color-teal);
  border: 4px solid var(--color-teal-light);
  border-radius: 12px;
  position: relative;
  overflow: visible; /* ★ はみ出しを切り取らず表示させる */
  
  height: 142px;     /* ★ バナーの高さを142pxに固定 */
  box-sizing: border-box;

  display: flex;
  align-items: center;
  padding: 0 40px;   /* 左右の余白（必要に応じて調整） */
  margin-top: 48px;  /* 上にはみ出る分、上の要素との余白を確保 */
  width: 100%;
  max-width: 1240px; /* バナーの最大幅（中央寄せ用） */
  margin-left: auto;
  margin-right: auto;
}

/* 左側のテキスト */
.cta-banner p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;   /* デザインに合わせた文字サイズ */
  color: var(--color-white);
  margin: 0;
  line-height: 1.4;
}

/* 右側のイラスト画像（上にはみ出させる指定） */
.cta-banner img {
  position: absolute;
  right: 40px;       /* 右端からの距離 */
  bottom: 0;         /* バナーの底辺に合わせる */
  width: auto;       /* 横幅自動 */
  height: 209px;
  max-width: none;
  pointer-events: none;

}

/* =========================================================
   はみ出し（横スクロール）を引き起こしている固定幅の解除
   ========================================================= */

/* 1. クイズコンテナのはみ出し解消 (1440px -> 最大1240px / 100%) */
.quizContain {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.quiz-card,
.quiz-result-card {
  width: 100% !important;
  max-width: 1240px !important;
  box-sizing: border-box !important;
}

  .res_grade_small{
    font-size:18px;font-weight:700;color:#009cb3;
  }

  

/* 2. グレード比較テーブルのはみ出し解消 (1110px -> 最大1110px / 100%) */
.grade-table-scroll {
  width: 100% !important;
  max-width: 1110px !important;
  margin: 0 auto !important;
  overflow-x: auto !important; /* 画面が1110px未満になったらテーブル内だけをスクロール */
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}

/* 3. 4タイプ比較グリッド・CTA・FAQなど (1240px固定を解除) */
.types-table-wrap {
  width: 100% !important;
  overflow-x: auto !important; /* テーブル全体がはみ出さないようにラップ */
  -webkit-overflow-scrolling: touch;
}

.types-grid {
  width: 1240px; /* グリッド本体はレイアウト維持のため固定でOKですが親でスクロールさせます */
  margin: 0 auto !important;
  grid-template-columns: 183px repeat(4, 1fr) !important;
}

.types-grid .col-top {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


.types-bottom-cta,
.faq-list {
  width: 100% !important;
  max-width: 1240px !important;
  box-sizing: border-box !important;
}

/* 4. セクション共通インナーの一括安全設定 */
.types-inner, .check-inner, .solutin-inner, .checkpoint-inner, 
.detail-inner, .grade-inner, .cost-inner, .cashless-inner, 
.business-inner, .faq-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  /*
  padding-left: 20px !important;
  padding-right: 20px !important;
  */
  box-sizing: border-box !important;
}


/* クイズカード全体 */
.quiz-card {
  background: #E6FFFA; /* 背景の薄い水色 */
  border: 2px solid #77d0da;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  height: 630px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1240px;
    margin: auto;
}


/* ヘッダー（Question 01 等） */
/* ヘッダー全体を左右両端揃えにする */
.quiz-header {
  background: #009cb3;
  color: #ffffff;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  letter-spacing: 1.92px;
  justify-content: space-between; /* ★ 左にタイトル、右に戻るボタン */
}

/* 「← ひとつ前の質問に戻る」ボタン */
.quiz-btn-back {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.9;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quiz-btn-back:hover {
  opacity: 1;
  text-decoration: underline;
}

/* =========================================================
   クイズカード内：バリエーション用スタイル
   ========================================================= */

/* 1. Question 02用：薄オレンジの枠付き注記 */
.quiz-box-note {
  background: #fff6f0;
  border: 1px solid #ffcc99;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 18px;
  line-height: 1.5;
  color: #f25f22;
  text-align: left !important;
  height: auto !important;
  min-height: 64px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-top: 0 !important;               /* ★ 40pxの不要な余白をリセット */
  box-sizing: border-box !important;
}

/* 2. Question 04用：2列×2行の機能タグ */
.quiz-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 0 !important;
}

.quiz-tag-item {
  background: #ffffff;
  border: 1px solid #77d0da;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1e6b8a;
  text-align: left;
  white-space: nowrap;
}


/* カード本体：左右2カラムのFlexboxレイアウト */
.quiz-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 32px; /* ★ 上下の余白（40px）を均等に設ける */
  flex: 1;                /* 残りの高さをすべて使う */
  display: flex;
  align-items: center;    /* 写真とテキストの中心を揃える */
  justify-content: center;
  background: #DAF3F8;
}

/* 左カラム：画像 */
.quiz-photo-wrap {
    width: 40%;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-left: 25px;
}

/* 画像：比率を保ったまま綺麗に収める */
.quiz-photo {
  width: 460px;
  height: auto;                 /* ★ 高さを自動にして比率を維持 */
  max-height: 270px;            /* 必要に応じて最大高さを指定 */
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* 右カラム：質問＋選択肢 */
.quiz-main-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important; /* ★ center から flex-start（上揃え）に変更 */
  padding-top: 24px !important;            /* 上部の基準余白 */
  gap: 24px !important;                    /* 質問エリアと選択肢ボタンの間隔 */
  height: 440px !important;
  box-sizing: border-box !important;
}


/* 質問エリア */
.quiz-question-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-height: 200px !important;           /* ★ どの設問でも質問エリアの高さを一定にキープ */
  box-sizing: border-box !important;
}

.quiz-q-text {
   display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  line-height: 1.45 !important;
  color: #1a3845 !important;
  text-align: left !important;
  min-height: 76px !important;             /* ★ 1行・2行どちらでも76pxを確保 */
  height: auto !important;
  box-sizing: border-box !important;
}

/* 「Q.」プレフィックス */
.quiz-q-prefix {
  flex-shrink: 0 !important;          /* 幅が潰れないように固定 */
}

/* 質問本文：改行しても2行目の頭が揃う */
.quiz-q-body {
  display: block !important;
  flex: 1 !important;
}

.quiz-note {
  margin: 0;
  font-size: 18px;
  color: #1E6B8A !important;
  line-height: 1.5 !important;
  min-height: 48px !important;
  margin-left: 37px;
  
}

/* 選択肢リスト */
.quiz-options-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 選択肢ボタン */

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 18px 16px;
  font-weight: 700;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 24px;
}
.quiz-option:hover {
  background: var(--color-teal-bg);
}
.quiz-num {
  background: var(--color-primary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}


.quiz-option:hover {
  background: #f0fbff;
  border-color: #007d90;
}



/* ボタン内の四角い番号アイコン */
.quiz-num {
  background: #009cb3;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 4px; /* 四角・少し丸角 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 診断結果画面用 */
/* 診断結果コンテナ（全体外枠） */
.quiz-result-card {
  width: 100%;
  max-width: 1240px;
  height: 630px;
  background: #ffffff;
  border: 2px solid #f25f22; /* オレンジ枠線 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin: 0 auto;
  padding: 0;               /* 内部パディングはbodyに持たせる */
  box-sizing: border-box;
}

/* 1. オレンジヘッダー */
.res-header {
  background: #f25f22;      /* オレンジ */
  padding: 21px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.res-badge-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
}

.res-btn-reset {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.res-btn-reset:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 2. ボディ全体（左右2カラム配置） */
.res-body {
  padding: 0px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  box-sizing: border-box;
  height: 556px;
}

/* 左カラム：画像 */
.res-image-col {
  width: 50%;
  max-width: 520px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 地面の高さを揃える */
}

.res-machines-wrap {
  display: flex;
  align-items: flex-end; /* 下端（地面）で揃える */
  justify-content: center;
  gap: 16px;            /* 券売機同士の間隔 */
  width: 100%;
}

/* 各機種の縦並びボックス（画像 + テキスト） */
.res-machine-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 150px;
}

/* 券売機画像のラッパー（高さを統一して下揃え） */
.res-machine-img-box {
  height: 329px;         /* 自立型に合わせた基準の高さ */
  display: flex;
  align-items: flex-end; /* 卓上型などの低い画像も下端揃え */
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}

.res-machine-img-box img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 機種名テキスト */
.res-machine-name {
  font-size: 16px;
  line-height: 1.4;
  color: #333333;
  margin: 0;
}

.res-machine-name strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #102a33;
}

.res-main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 右カラム：コンテンツ */
.res-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.res-lead {
  font-size: 21px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 6px;
}

.res-title {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 700;
  color: #009cb3;           /* シアン/ティール色 */
  margin: 0 0 16px;
  line-height: 1.3;
  padding: 25px 0px;
}

.res-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5560;
  margin: 0 0 24px;
}

/* 3. 特徴ボックス（3つ並び） */
.res-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.res-feature-box {
  background: #fff6f0;      /* 薄いオレンジ背景 */
  border: 3px solid #ffcc99; /* オレンジ枠線 */
  border-radius: 8px;
  padding: 14px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  height: 115px;
}

.res-f-icon {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

/* 横長のアイコン画像に対する個別指定 */
.res-f-icon.is-wide {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;     /* アスペクト比を維持して潰れないようにする */
  object-fit: contain !important;
}


.res-f-text {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
  margin: 0;
}

/* 4. 相談ボタン（オレンジグラデーション） */
.res-cta-btn {
  background: linear-gradient(92deg, #FE9400 0%, #F25F22 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 999px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  /*box-shadow: 0 4px 12px rgba(242, 95, 34, 0.3);*/
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  margin: auto;
}

.res-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 95, 34, 0.4);
}

.res-cta-btn img {
  width: 30px;
  height: 30px;
}

/* レスポンシブ対応（スマホ） */
@media (max-width: 860px) {
  .res-body {
    flex-direction: column;
    padding: 24px 16px;
    gap: 24px;
  }
  .res-image-col {
    width: 100%;
    max-width: 100%;
  }
  /* スマホ時は必要に応じて折り返し・画像高さ縮小 */
  .res-machines-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
  .res-machine-img-box {
    height: 180px;
  }
  .res-features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .res-feature-box {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 16px;
  }
}

.quiz-result-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
}
.quiz-result-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* スマホ表示対応（縦並びに戻す） */
@media (max-width: 768px) {
  .quiz-body {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .quiz-photo-wrap {
    width: 100%;
  }
  .quiz-photo {
    height: 180px;
    min-height: auto;
  }
  .quiz-q-text {
    font-size: 16px;
  }
}

/* カード本体の固定幅 width: 355px を解除して柔軟にする */
.pain-card {
  width: 100% !important;
  max-width: 355px !important;
  box-sizing: border-box !important;
}

/* 960px以上（タブレット〜PC） */
@media (min-width: 960px) {
  .pain-grid {
    display: grid !important;
    /* ★ 固定355pxではなく、画面幅に合わせて伸縮する均等3列にする */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;       /* 50pxから24px〜32px程度に縮めて1100px幅でも収まるようにする */
    max-width: 1165px !important;
    margin: 0 auto 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
  }
}

/* 1280px以上の大画面ではデザイン通りの広い隙間（50px）に戻す */
@media (min-width: 1280px) {
  .pain-grid {
    gap: 50px !important;
  }
}


/* 外枠カード */
.typeBox {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 60px;
  border-radius: 16px;
  background: #ffffff;
  padding: 40px;
  box-sizing: border-box;
}

/* =========================================
   上段：左側テキスト & 右側機種
   ========================================= */
.typeDetail_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* 地面の高さを揃える */
  gap: 32px;
  margin-bottom: 40px;
}

/* 左側テキスト */
.typeDetail_topLeft {
  flex: 1;
  max-width: 440px;
  text-align: left;
}

.type-badge {
  display: inline-block;
  background: #1e6b8c;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  border-radius:6px;
  margin-bottom: 12px;
  width: 168px;
  text-align: center;
  letter-spacing: 2.4px;

}

.type-main-title {
  color: #1e6b8c;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin: 12px 0 16px;
}

.type-sub-note {
  font-size: 18px;
  font-weight: normal;
  display: inline-block;
  margin-top: 4px;
}

/* キャッチコピー（アイコン＋2行文言） */
.type-catch-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.type-catch-icon {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.type-catch-text {
  font-size: 18px;
  font-weight: 700;
  color: #1e6b8c;
  line-height: 175%; /* 31.5px */

  margin: 0;
}

.type-lead-text {
  font-size: 18px;
  color: #102A33;
  line-height: 1.7;
  margin: 0;
}

/* 右側：3機種横並び */
.typeDetail_topRight {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.machine-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

.machine-img-box {
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 10px;
}

.machine-img-box img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.machine-name {
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.machine-name strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================
   下段：2つのボックス（横並び）
   ========================================= */
.typeDetail_bottom {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.type-feature-card {
  flex: 1;
  border-radius: 12px;
  padding: 45px 60px;
  box-sizing: border-box;
  height: auto;
}

/* 左ボックス背景：薄いグレー */
.box-match {
  background: #f4f6f7;
}

/* 右ボックス背景：薄い水色 */
.box-merit {
  background: #E6FFFF;
}
.box-merit2 {
  background: #E2FFE9;
}
.box-merit3 {
  background: #EBF5FF;
}
.box-merit4 {
  background: #F4F3FF;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.card-icon {
  width: 40px;
  height: 40px;
}

.card-title {
  color: #00924F;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.card-title2 {
  color: #1DBD45;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.card-title3 {
  color: #2196F3;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.card-title4 {
  color: #8478FF;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: normal;
  color: #333333;
}

.feature-list li img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

/* =========================================
   下部CTAボタン
   ========================================= */
.typeDetail_cta {
  display: flex;
  justify-content: center;
}

.btn-type-cta {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 156, 179, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(91deg, #008080 -0.01%, #00CACA 99.99%);
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -3px -3px 5px 0 rgba(0, 0, 0, 0.25) inset;
}
.btn-type-cta2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 156, 179, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(91deg, #00924F -0.01%, #3CCA60 99.99%); 
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -3px -3px 5px 0 rgba(0, 0, 0, 0.25) inset;

}
.btn-type-cta3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 156, 179, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
 border-radius: 999px;
  background: linear-gradient(91deg, #2196F3 -0.01%, #00BCD4 99.99%);
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -3px -3px 5px 0 rgba(0, 0, 0, 0.25) inset;

}
.btn-type-cta4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 156, 179, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(91deg, #8478FF -0.01%, #BDB7F8 99.99%); 
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -3px -3px 5px 0 rgba(0, 0, 0, 0.25) inset;

}

.btn-type-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 156, 179, 0.4);
}

/* スマホ表示対応 */
@media (max-width: 860px) {
  .typeBox {
    padding: 24px 16px;
  }
  .typeDetail_top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .typeDetail_topLeft {
    max-width: 100%;
  }
  .typeDetail_topRight {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .typeDetail_bottom {
    flex-direction: column;
    gap: 16px;
  }
}
/* =========================================================
   solutions-section
   ========================================================= */
.solutions-section-wrap {
  background: var(--color-teal-bg);
}

/* -- mobile (default) -- */
.solutions-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.sol-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solutions-hero-photo {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 436/290;
  object-fit: cover;
}

.solution-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 396px;
  width: 320px;
}

.solution-card .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 80px;
}

.solution-card .num-badge {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #25abde;
  color: var(--color-white);
  font-family: 'Inter', var(--font-heading), sans-serif;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-card .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.6;
}

.solution-card .card-desc {
  margin: 0;
  font-size: 16px;
  color: var(--color-primary-dark);
  line-height: 1.75;
  text-align: center;
  margin-top: 15px;

}

.solution-card .card-image {
  width: 230px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}


.solutions-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 115px 0 0;
}

.solutions-banner p {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-primary-dark);
  text-align: center;
}

.sol-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* -- desktop 3-column layout -- */
@media (min-width: 960px) {
  .solutions-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 40px;
  }

  .sol-col-side {
    gap: 32px;
  }

  .sol-col-center {
    gap: 0px;
    align-items: center;
  }

  .solutions-hero-photo {
    width: 100%;
    max-width: 436px;
  }

  .solution-card .card-title {
    font-size: 24px;
  }

  .solutions-banner p {
    font-size: 24px;
  }

}


/* 親コンテナを基準位置にする */
.solutions-layout {
  position: relative;
  width: 1240px;
  margin: auto;
}

/* スマホ表示では点線を非表示 */
.sol-lines-wrap {
  display: none;
}

/* PC表示（960px以上）で各位置に絶対配置 */
/* PC表示（960px以上）で点線画像を実寸（等倍）配置 */
@media (min-width: 960px) {
  .sol-lines-wrap {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  /* 5つの点線画像すべてに共通：実寸維持の設定 */
  .sol-line {
    position: absolute;
    width: auto !important;       /* 幅を自動（画像本来の幅）にする */
    height: auto !important;      /* 高さを自動（画像本来の高さ）にする */
    max-width: none !important;   /* グローバルのmax-width: 100%による縮小を解除 */
    max-height: none !important;
    object-fit: none !important;  /* 引き伸ばし・縮小を完全無効化 */
  }

  /* 1. 左上（01カード ⇄ 写真） */
  .line-tl {
    top: 6%;
    left: 27%;
  }

  /* 2. 左下（02カード ⇄ 写真） */
  .line-bl {
    top: 46%;
    left: 26%;
  }

  /* 3. 中央垂直（写真 ⇄ 03カード） */
  .line-bc {
    top: 46%;
    left: 50%;
    transform: translateX(-50%); /* 水平中央揃えのみ適用 */
  }

  /* 4. 右上（写真 ⇄ 04カード） */
  .line-tr {
    top: 6%;
    right: 27%;
  }

  /* 5. 右下（写真 ⇄ 05カード） */
  .line-br {
    top: 46%;
    right: 27%;
  }

  /* 中央カラム（写真 ＋ 03カード）の隙間調整 */
  .sol-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 03カードだけを左右よりも下に下げる */
  .sol-col-center .solution-card {
    transform: translateY(140px);
    position: relative;
    z-index: 1;
  }

}


@media (min-width: 1200px) {
  .solutions-layout {
    gap: 57px;
  }
}

/* =========================================================
   カード横スライド共通（reveal-stagger）
   checkpoints-section / business-type-section
   ========================================================= */
.slider-wrap {
  position: relative;
  width: 1240px;
}

/* PC表示（960px以上 または 1280px以上）で3列×2行のグリッド配置にする */
@media (min-width: 960px) {
  /* 囲み要素の幅を1240pxにして中央寄せ */
  .slider-wrap {
    width: 1240px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  /* 横スクロールを解除し、3列のグリッドにする */
  #checkpointsSlider {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 均等3列 */
    gap: 32px 24px;                        /* 行間32px / 列間24px（両端ぴったりに収まる） */
    overflow-x: visible;                   /* 横スクロール解除 */
    scroll-snap-type: none;
    cursor: default;
    padding: 0;
  }

  /* カード幅の固定指定（width: 260px）を解除してグリッド列幅いっぱいにフィットさせる */
  #checkpointsSlider .checkpoint-card {
    width: 100%;
    box-sizing: border-box;
  }

  /* PCでは横スライドしないため、矢印ボタンを非表示にする */
  .checkpoints-section-wrap .slider-nav {
    display: none;
  }
  /* グリッドコンテナ（カードを囲む親） */
  #checkpointsSlider.reveal-stagger {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 均等な3列 */
    column-gap: 24px;                      /* カード同士の間隔（左右の隙間） */
    row-gap: 32px;                         /* 上下の行間隔 */
    width: 100%;                           /* ★ 幅1240pxいっぱいに広げる */
    padding: 0;                            /* ★ 既存の左右padding（4pxなど）を完全に0にする */
    margin: 0;
    overflow: visible;                     /* スクロールを解除 */
    scroll-snap-type: none;
    cursor: default;
    box-sizing: border-box;
  }

  /* 各カード：列の幅いっぱいにフィットさせる */
  #checkpointsSlider .checkpoint-card {
    width: 100%;                           /* 固定幅（260px）を解除 */
    max-width: none;
    box-sizing: border-box;
  }

}


.reveal-stagger {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 16px;
  cursor: grab;
  user-select: none;
}

.reveal-stagger.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reveal-stagger::-webkit-scrollbar {
  display: none;
}

.reveal-stagger > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.slider-nav button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav button:disabled {
  opacity: 0.3;
}

/* checkpoints-section */
.checkpoints-section-wrap {
  background: var(--color-bg-gray);
  position: relative;
}

.checkpoint-card {
  width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-width: 1px 4px 4px 1px;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 510px;
}

.checkpoint-card .cp-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
}

.checkpoint-card .cp-head img {
  width: 33px;
  height: 33px;
}

.checkpoint-card .cp-head p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
}

.checkpoint-card .cp-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
}

.checkpoint-card .cp-qa {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.checkpoint-card .cp-qa img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.checkpoint-card .cp-qa p {
  margin: 0;
  font-size: 16px;
}
.check_point_arrow{
  margin-top: 100px;
}
.checkpoints-section-wrap .cta-banner {
  margin-top: 60px;
}

.check_point_cta{
  margin-top: 100px;
}
/* grade-comparison-section */
.grade-section {
  background: #DAF3F8;
}

.grade-table-scroll {
  overflow-x: auto;
  width: 1110px;
  margin: auto;
}

.grade-table {
border-collapse: separate;
  /* ★ 水平方向の隙間（列間）: 4px、垂直方向の隙間（行間）: 2px（背景の水色が見える幅） */
  border-spacing: 4px 2px;
  width: 100%;
  min-width: 640px;
  background: transparent !important;
  border: none !important;
}

.grade-table th,
.grade-table td {
  border: none !important;
  padding: 16px 20px;
  text-align: left;
  font-size: 18px;
  vertical-align: middle;
}
/* 1列目（左端の項目見出し）の白背景と角丸 */
.grade-table tbody th {
  background: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary-dark);
  width: 217px;
  text-align: left;
}

/* 1列目の最初（対応紙幣）の左上を角丸、最後（選ぶポイント）の左下を角丸 */
.grade-table tbody tr:first-child th {
  border-top-left-radius: 12px;
}
.grade-table tbody tr:last-child th {
  border-bottom-left-radius: 0px;
}

/* テーブル左上の空セル（1行目1列目）は透明 */
.grade-table thead tr th:first-child {
  background: transparent !important;
  border: none !important;
}

/* ★ ヘッダー（Grade①〜③）：上部を角丸にして白背景 */
/* Grade①〜③のヘッダー：上詰めで余白を詰める */
.grade-table thead th:not(:first-child) {
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  /* 上の余白を小さくし、左右・下の余白を調整 */
  padding: 16px 16px 12px;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-primary);
  /* ★ 文字を上に詰める */
  vertical-align: top;
  line-height: 1.35;
  width: 330px;
  height: 428px;
  font-size: 24px;
}

/* タイトル部分の文字サイズと太さ（上下の隙間を詰める） */
.grade-table thead th {
  font-size: 15px;
  font-weight: 700;
}

/* 下段の「ハイグレードモデル」などの行間・文字サイズ微調整 */
.grade-table thead th br {
  margin-bottom: 4px;
}

/* 券売機一覧の画像：上マージンを適度に保ちつつ配置 */
.grade-table thead th img {
  height: 220px;
  width: auto;
  margin: 12px auto 0; /* タイトルとの間隔 */
  display: block;
  margin-top: 60px;
}
/* データセル（白背景） */
.grade-table tbody td {
  background: #ffffff;
}

/* ★ 最終行（選ぶポイント）：薄いオレンジ背景 */
.grade-table tbody tr:last-child th,
.grade-table tbody tr:last-child td {
  background: var(--color-orange-bg);
}

/* 右下の角（Grade③の選ぶポイントセル）の右下を角丸 */
.grade-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 0px;
}

.grade-table .point-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grade-table .point-cell .picon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.grade-table .point-cell .picon img {
  width: 46px;
  height: 46px;
}

.grade-table .point-cell span {
  font-weight: 700;
  color: var(--color-accent);
}

/* =========================================================
   各行（1〜5行目）の高さ指定
   ========================================================= */

/* 1行目（対応紙幣）、2行目（釣銭対応）、3行目（収容量）、5行目（選ぶポイント）: 高さ 90px */
.grade-table tbody tr:nth-child(1),
.grade-table tbody tr:nth-child(2),
.grade-table tbody tr:nth-child(3),
.grade-table tbody tr:nth-child(5) {
  height: 90px;
}

.grade-table tbody tr:nth-child(1) th,
.grade-table tbody tr:nth-child(1) td,
.grade-table tbody tr:nth-child(2) th,
.grade-table tbody tr:nth-child(2) td,
.grade-table tbody tr:nth-child(3) th,
.grade-table tbody tr:nth-child(3) td,
.grade-table tbody tr:nth-child(5) th,
.grade-table tbody tr:nth-child(5) td {
  height: 90px;
  vertical-align: middle; /* 上下中央揃え */
}

/* 4行目（向いている店舗）: 高さ 217px */
.grade-table tbody tr:nth-child(4) {
  height: 147px;
}

.grade-table tbody tr:nth-child(4) th,
.grade-table tbody tr:nth-child(4) td {
  height: 147px;
  vertical-align: middle; /* 上下中央揃え（上揃えにしたい場合は top に変更） */
}

/* cashless-cost-section */
.cashless-section {
  background: #f5f7f7;
}

/* ========================================================
   キャッシュレスセクション：デザイン完全準拠レイアウト
   ======================================================== */

.cashless-section {
  display: block !important;
  background: #f5f7f7;
  padding: 80px 20px;
}

.cashless-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 40px !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* 左右2つのBOXを並べるコンテナ */
.cashless-compare-wrap {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1240px !important;
  box-sizing: border-box !important;
}

/* メリットBOX・確認ポイントBOX共通（幅605px、高さ491px固定） */
.cashless-box {
  width: 605px !important;
  height: 491px !important;
  flex: none !important; /* 幅605pxを厳密に維持 */
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 40px 24px 32px !important; /* ★ 上部に40pxの余白 */
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

/* 左：メリットBOX（オレンジ枠線） */
.box-merit-border {
  border: 1.5px solid #ffcc99 !important;
}

/* 右：確認ポイントBOX（水色枠線） */
.box-cost-border {
  border: 1.5px solid #77d0da !important;
}

/* バッジの親（バッジ下に40pxの余白） */
.badge-center {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 40px !important; /* ★ バッジからイラストまで40px */
}

/* 「メリット」バッジ */
.merit-badge {
  background: #f25f22 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  padding: 10px 48px !important;
  border-radius: 8px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  display: inline-block !important;
}

/* 「費用・運用の確認ポイント」バッジ */
.cost-checkpoint-badge {
  background: #00a1b4 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  padding: 10px 36px !important;
  border-radius: 8px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  display: inline-block !important;
}

/* 3カード並びのコンテナ */
.cashless-box .merit-scroll,
.cashless-box .checkpoint-scroll {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 内部カード（1枚あたり幅 約170px） */
.cashless-box .merit-card,
.cashless-box .cost-checkpoint-card {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* イラスト画像のラッパー（下揃えで高さを統一） */
.card-img-wrap {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
}

.card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* タイトル見出し（角丸の薄色枠ボックス） */
.card-title-box {
  width: 100%;
  height: 52px; /* 2行でも1行でも中央に揃う固定高 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  line-height: 1.35;
  box-sizing: border-box;
  padding: 4px 5px;
  margin-bottom: 5px;
}

/* メリット側タイトルBOX（薄オレンジ背景＋オレンジ文字＋枠） */
.merit-card .card-title-box {
  background: #fff6f0;
  border: 1px solid #ffcc99;
  color: #f25f22;
}

/* コスト側タイトルBOX（薄水色背景＋青緑文字＋枠） */
.cost-checkpoint-card .card-title-box {
  background: #eaf9ff;
  border: 1px solid #b1e8ff;
  color: #007d90;
}

/* 下部の説明文テキスト */
.card-desc-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
  margin: 0;
  text-align: center;
}

/* ---------------------------------------------
   スマホ対応
   --------------------------------------------- */
@media (max-width: 1240px) {
  .cashless-compare-wrap {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }
  .cashless-box {
    width: 100% !important;
    max-width: 605px !important;
    height: auto !important;
  }
}

/* キャッシュレスセクションの見出しテキスト色 */
.cashless-section .section-title {
  color: #102a33 !important; /* 「費用」以外の文字を濃い黒にする */
}

/* 「費用」の部分（emタグ）だけを青（アクセント色）にする */
.cashless-section .section-title em {
  color: #009cb3 !important; /* または #1e6b8a （デザインの青色） */
  font-style: normal;
  font-size: 1.2em;           /* デザインに合わせて少し強調したい場合 */
}

.merit-badge {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
}

.merit-scroll, .checkpoint-scroll {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.merit-card, .cost-checkpoint-card {
  width: 160px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-orange-border);
  border-width: 1px 4px 4px 1px;
  border-radius: 12px;
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cost-checkpoint-card {
  border-color: #b1e8ff;
}

.merit-card img, .cost-checkpoint-card img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.merit-card .m-title {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 6px;
}

.cost-checkpoint-card .m-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 6px;
}

.merit-card .m-desc, .cost-checkpoint-card .m-desc {
  font-size: 13px;
  margin: 0;
}

.cost-checkpoint-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
  background: #25abde;
}

/* ========================================================
   キャッシュレスセクション：レイアウト修正
   ======================================================== */

/* 1. 親コンテナ（.cashless-inner）は縦並びに戻す */
.cashless-section {
  display: block !important;
}

.cashless-inner {
  display: flex !important;
  flex-direction: column !important; /* ★ 縦並びにして見出し・BOX・シミュレーションを順に積む */
  align-items: center !important;
  gap: 40px !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* 2. メリットと確認ポイントを囲むラッパー（左右2カラム） */
.cashless-compare-wrap {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: 100% !important;
  height: 491px;
}

/* 各大きな枠線BOX（白背景・角丸・枠線） */
.cashless-box {
  flex: 1 !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 32px 20px 24px 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
}

/* 左：メリットBOX（オレンジの細枠） */
.box-merit-border {
  border-radius: 16px;
  border-top: 1px solid #FBB98D;
  border-right: 5px solid #FBB98D !important;
  border-bottom: 5px solid #FBB98D !important;
  border-left: 1px solid #FBB98D;
}

/* 右：確認ポイントBOX（水色の細枠） */
.box-cost-border {
    border-radius: 16px;
    border-top: 1px solid #AFDFE9;
    border-right: 5px solid #AFDFE9 !important;
    border-bottom: 5px solid #AFDFE9 !important;
    border-left: 1px solid #AFDFE9;
}

/* 上部バッジ（中央揃え・カプセル型） */
.badge-center {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 24px !important;
}

.merit-badge {
  background: #f25f22 !important; /* オレンジ */
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  padding: 8px 36px !important;
  border-radius: 16px !important;
  margin: 0 !important;
}

.cost-checkpoint-badge {
  background: #00a1b4 !important; /* 水色 */
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 8px 24px !important;
  border-radius: 8px !important;
  margin: 0 !important;
}

/* 3. 各BOXの中にある3つのカードを等分に横並び */
.cashless-box .merit-scroll,
.cashless-box .checkpoint-scroll {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* 個別のカード（白背景・角丸・均等幅） */
.cashless-box .merit-card,
.cashless-box .cost-checkpoint-card {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 11px 6px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  border-radius: 12px !important;
}

.cashless-box .merit-card {

 
}

.cashless-box .cost-checkpoint-card {

}

/* 4. 下段のシミュレーションカードは幅100% */
.cashless-inner .sim-card {
  width: 100% !important;
  max-width: 100% !important;
}


.sim-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 50px !important;
  padding: 40px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
  border-radius: 24px;
  border-top: 1px solid #AFDFE9;
  border-right: 5px solid #AFDFE9;
  border-bottom: 5px solid #AFDFE9;
  border-left: 1px solid #AFDFE9;
}

.sim-card h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  margin: 0;
}

.sim-card .sim-sub {
  color: var(--color-primary);
  font-size: 24px;
  margin: 4px 0 0;
}

.sim-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 20px !important;
}

/* 縦長の見出しバッジ（試算条件・試算結果） */
.sim-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 80px !important;
  min-width: 80px !important;
  height: 189px;
  border-radius: 10px !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  writing-mode: horizontal-tb !important; /* 横書きの場合 */
  text-align: center !important;
  padding: 10px;
}
.sim-badge.cond {
  background-color: #1E6B8A  !important; /* または見本の青緑系カラー */
  height: 120px;

}
.sim-badge.result {
  background-color: #0099aa !important; /* 試算結果用のカラー */
}

/* 【上段】試算条件の4カラムグリッド */
.sim-grid {
 display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  flex: 1 !important;
}

.sim-result-grid {
  display: grid !important;
/*  grid-template-columns: repeat(2, 1fr) !important;*/
  grid-template-columns: 2fr 1fr; /* 左 2/3 : 右 1/3 */
  gap: 16px !important;
  flex: 1 !important;
}
.sim-item {
  background: #ffffff !important;
  border: 1.5px solid #c2ebf2 !important;
  border-radius: 14px !important;
  padding: 16px 14px !important;
  display: flex !important;
  flex-direction: row !important; /* ★ 左にアイコン、右に文字群を横並び */
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  height: 108px !important;       /* 高さを統一 */
}
.sim-item .si-head img {
  width: 70px !important;
  height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* アイコンと「月間売上」などのテキストを抱える親要素 */
.sim-item .si-head {
  display: contents !important; /* ★ contentsにすることで、imgとテキストが直接親のflexアイテムになる */
}

/* ラベル名と数値をまとめた右側のテキストグループ */
/* ※HTMLで分かれているテキストとsi-valを右側にまとめるためのCSS */
.sim-item {
  display: grid !important;
  grid-template-columns: 50px 1fr !important; /* 左：50pxアイコン、右：テキストエリア */
  align-items: center !important;
  gap: 14px !important;
}

.sim-item .si-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #102a33 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* 構造を一番きれいにフィットさせるCSS（HTMLを変更しない決定版） */
.sim-item {
  position: relative !important;
  display: block !important;
  padding: 14px 4px 14px 88px !important;
  height: 124px !important;
  box-sizing: border-box !important;
}

/* 左端に大きなアイコンを固定配置 */
.sim-item .si-head img {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
}

/* 「端末利用料(月額)」の icon-terminal.png だけサイズを変更 */
.sim-item .si-head img[src*="icon-terminal.png"] {
  width: 50px !important;       /* ★ 希望の幅（例: 50px や 60px など）に変更 */
  height: 98px !important;      /* ★ 希望の高さに変更 */
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}


/* ラベルテキスト（月間売上、キャッシュレス利用率など） */
.sim-item .si-head {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1E6B8A !important;
  line-height: 1.3 !important;
  margin: 0 0 4px !important;
  text-align: left !important;
}

/* 数値（300万円、30% など） */
.sim-item .si-val {
  font-family: var(--font-heading) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #102a33 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  text-align: left !important;
  margin-top: 20px !important;
}


/* カード外枠：淡い水色背景＋薄い水色の点線枠 */
.sim-result-item {
  background: #f0fafd !important;
  border: 1.5px dashed #77d0da !important;
  border-radius: 16px !important;
  padding: 24px 20px 20px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important; /* 上部の「アイコン+金額」と「下部計算式」を縦に並べる */
  justify-content: space-between !important;
}

/* ★ 上部エリア：丸アイコンと右側テキストを横並びにする */
.sim-result-item .sr-top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* ★ center から flex-start（左寄せ）に変更 */
  gap: 16px !important;                   /* アイコンと文字の間隔 */
  margin-bottom: 16px !important;
  width: 100% !important;
}

/* 白丸アイコン */
.sim-result-item .icon-circle {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 156, 179, 0.12) !important;
}

.sim-result-item .icon-circle img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}

/* 右側テキストグループ（見出し＋金額） */
.sim-result-item .sr-text-group {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

/* 「月間決済手数料」などの見出しラベル */
.sim-result-item .sr-label {
  font-family: var(--font-heading) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #007d90 !important; /* 濃いシアン */
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}

/* 「31,500円」などの大きな金額数値 */
.sim-result-item .sr-value {
  font-family: var(--font-heading) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #102a33 !important;
  margin: 0 !important;
  line-height: 1.15 !important;
}

/* ★ 下部：計算式（中央揃え・グレー文字） */
.sim-result-item .sr-note {
  font-size: 24px !important;
  color: #55626d !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

.sim-note{
  font-size: 16px;
  color: #4A5560;
}
@media (min-width: 960px) {
  .merit-scroll, .checkpoint-scroll {
    justify-content: center;
  }
}

/* business-type-section */
/* =========================================================
   business-section（店舗の業態や運用に合わせて）
   ========================================================= */
.business-section-wrap {
  background: #daf3f8; /* デザインに合わせた薄い水色背景 */
  padding: 80px 0;
  overflow: hidden;
}

.business-inner {
  width: 100%;
  max-width: 1380px; /* ★ ここを広げることで、横幅全体に大きく表示されます */
  margin: 0 auto;
  padding: 0 40px;   /* 左右矢印ボタン用の余白 */
  box-sizing: border-box;
}

/* スライダーを囲む親要素（ボタンを左右に浮かせるための基準） */
.business-slider-wrap {
  position: relative;
  width: 110%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* スライダー本体（横スクロール有効・スクロールバー非表示） */
.business-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 上下に余白を持たせ、左右のpaddingは必ず 0 にする */
  padding: 12px 0 24px !important;
  margin: 0;
}

.business-slider::-webkit-scrollbar {
  display: none;
}

/* ---------------------------------------------
   各カード：高さを引き締め、右端が少し見切れる幅に設定
   --------------------------------------------- */
.business-card {
   width: 397px !important;       /* ★ 幅を統一（3枚見えて4枚目が右端にチラ見えするサイズ） */
  height: auto !important;       /* 固定高さ 670px を解除して中身に合わせる */
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
    height: 670px !important;
}

/* カード上部の見出し */
.business-card .b-name {
color: #102A33;
font-family: var(--font-heading);
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 175%; /* 42px */
}

/* 写真枠 */
.business-card .b-photo-wrap {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
}

.business-card .b-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* カード内部ボディ */
.business-card .b-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin-top: 20px;
}

/* おすすめタイプ */
.business-card .b-type-wrap {
  text-align: center;
}

.business-card .b-type-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #102a33;
  margin-bottom: 6px;
}

.business-card .b-type-badge {
  display: inline-block;
  background-color: #1e6b8c;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  padding: 6px 18px;
  border-radius: 6px;
  white-space: nowrap;
}

/* チェックリスト */
.business-card .b-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.business-card .b-points .li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #102A33;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 175%; /* 28px */
}

.business-card .b-points img {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

/* 下部ポイントボックス */
.business-card .b-point-box {
    background: #fff6f0;
    border: 1px solid #ffcc99;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    margin-top: 20px;
    height: 130px;
}

.business-card .b-point-box .bp-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #f25f22;
  font-size: 18px;
}

.business-card .b-point-box .bp-head img {
  width: 28px;
  height: 28px;
}

.business-card .b-point-box p.bp-text {
  margin: 0;
  color: #f25f22;
  font-size: 18px;
  line-height: 170%; 
}

/* ---------------------------------------------
   左右に浮かせる ＜ ＞ ナビゲーションボタン
   --------------------------------------------- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #77d0da;
  color: #1e6b8c;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: #1e6b8c;
  color: #ffffff;
}

.arrow-prev {
  left: -20px; /* 左端から少し外側に浮かせる */
}

.arrow-next {
  right: -20px; /* 右端から少し外側に浮かせる */
}

/* faq-section */
.faq-section-wrap {
  background: #f5fffd;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 922px !important;
  margin: auto;

}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-3);
  border-radius: 16px;
  overflow: hidden;
  border-radius: 16px;
  border-top: 1px solid #D1D5D6;
  border-right: 5px solid #D1D5D6;
  border-bottom: 5px solid #D1D5D6;
  border-left: 1px solid #D1D5D6;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  background: none;
  border: none;
  text-align: left;
  min-height: 88px;
}

.faq-question .q-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-question .q-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-border-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-question p {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
}

.faq-question .caret {
  color: #25abde;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-answer {
  display: flex;
  gap: 8px;
  border-top: 1px solid #eef2f5;
  margin: 0 18px;
  padding: 24px 8px 45px 0px;
  box-sizing: border-box;
}

.faq-answer .a-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #25abde;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-desc-gray{
    background: #F3F3F3;
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
    padding: 20px;
    border-radius: 12px;
}
.faq-desc-gray2{
    background: #F3F3F3;
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
    padding: 20px;
    border-radius: 12px;
    list-style: none;
}
.faq-desc-strong{
  font-weight: bold;
}
.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  padding: 0px 0;
}
.faq-desc-li{
  margin-bottom: 20px;
}

/* FAQ回答内の「■ 釣銭収納量」などの見出し strong に適用 */
.faq-answer p strong {
  display: inline-block;       /* 余白やフォントサイズを安定させる場合 */
  font-size: 18px;             /* 文字サイズ */
  color: #1e6b8a;              /* 文字色 */
  font-weight: 700;            /* 太字 */
  margin-top: 8px;             /* 上の行との余白 */
  margin-bottom: 20px;          /* 下の行との余白 */
}

/* =========================================================
   FAQ 回答エリアの段落レイアウト
   ========================================================= */

/* 回答コンテンツ全体（左のAアイコンの右側） */
.faq-answer .faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;               /* 冒頭文と各ブロックの間隔 */
  text-align: left;
}

/* 冒頭の1行 */
.faq-answer .faq-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #102a33;
  margin: 0;
}

/* 各セクションブロック（■ 釣銭収納量、■ ロール紙収納） */
.faq-answer .faq-block {
  display: flex;
  flex-direction: column;
  gap: 12px;               /* 見出しと内容の間隔 */
}

/* 「■ 釣銭収納量」などの青文字見出し */
.faq-answer .faq-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1e6b8a;          /* 指定のブルー色 */
  margin: 0;
  line-height: 1.4;
  margin-bottom: 0px;
}

/* 自立型・卓上型の各サブブロック */
.faq-answer .faq-subblock {
  display: flex;
  flex-direction: column;
  gap: 4px;                /* 【自立型...】と枚数リストの間隔 */
      margin-top: 0px;
}

/* 【自立型（参考：BT-L350型）】などのラベル */
.faq-answer .faq-type {
  font-weight: 700;
  font-size: 15px;
  color: #333333;
  margin: 0;
  margin-top: 10px;
}

/* 枚数やロール紙の数値テキスト */
.faq-answer .faq-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #333333;
  margin: 0;
  margin-left: 18px;
}

/* =========================================================
   flow-section（お問い合わせから利用開始まで）
   ========================================================= */
.flow-section-wrap {
  background: #F5F7F7;
  padding: 80px 0;
}

.flow-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------------------------------------
   ステップ 1〜5 横並び & 水平の接続線
   --------------------------------------------- */
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 90px auto 80px;
  width: 100%;
  max-width: 1150px;
  padding: 0;
}

/* 数字の後ろを通る水平ライン */
.flow-steps::before {
content: '';
  position: absolute;
  top: 25px;       /* 円の半径（高さ50pxの中心） */
  left: 10%;       /* ★ 1番目の丸の中心位置 */
  right: 10%;      /* ★ 5番目の丸の中心位置（5の右側には線が出ない） */
  height: 2px;
  background-color: #D1D5D6;
  z-index: 1;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2; /* 線より前面に出す */
  flex: 1;
  text-align: center;
  padding: 0 4px;
}

/* 丸数字の背景・枠線 */
.flow-step .num-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #009cb3;
  background-color: #ffffff;
  color: #009cb3;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 2px 6px rgba(0, 156, 179, 0.1);
}

.flow-step .step-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.45;
  color: #102a33;
  margin: 0;
}

/* 縦並びの古い擬似要素を無効化 */
.flow-step:not(:last-child)::before {
  display: none;
}

/* ---------------------------------------------
   下部カード（設置前に確認すること）
   --------------------------------------------- */
.pre-install-card {
  background: #ffffff;
  border: 1px solid #D1D5D6;
  border-radius: 16px;
  padding: 32px 28px 5px;
}

.pre-install-title {
  font-family: var(--font-heading);
  color: #00899b;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 24px;
  text-align: left;
}

/* 5カラム均等グリッド */
.checks-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;              /* カード間の隙間 */
  width: 100% !important;            /* ★ width: 225px; を 100% に変更 */
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.check-item {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* カプセル型ラベル */
.check-item .ci-label {
  background: #eaf9ff;
  color: #1E6B8A;
/*  font-family: var(--font-heading);*/
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  padding: 6px 16px;
  border-radius: 999px;
  width: 100%;
  margin: 0 0 12px;
  white-space: nowrap;
  box-sizing: border-box;
}

/* 画像枠（高さを揃えて綺麗に収める） */
.check-img-box {
  width: 100% !important;
  height: 190px !important;          /* ★ 140px から 200px〜220px 程度に拡大 */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 8px !important;
}

.check-img-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;     /* アスペクト比を崩さず大きく表示 */
  display: block !important;
}

/* =========================================================
   STEP 01 〜 RESULT の画像サイズ個別調整
   ※ PC・スマホ共通で効きます。スマホだけ変えたい場合は @media (max-width: 959px) 内に入れてください
   ========================================================= */

/* 1. STEP 01（支払い方法は？）※横長画像なので width を大きめに設定 */
.step-flow .step-card:nth-of-type(1) .step-icons img {
  width: 110px !important;   /* ★ お好みの横幅に調整してください */
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* 2. STEP 02（設置スペースは？） */
.step-flow .step-card:nth-of-type(2) > img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

/* 3. STEP 03（高額紙幣対応は？） */
.step-flow .step-card:nth-of-type(3) > img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

/* 4. STEP 04（重視する機能は？） */
.step-flow .step-card:nth-of-type(4) > img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
}

/* 5. STEP 05（来客数は？） */
.step-flow .step-card:nth-of-type(5) > img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
}

/* 6. RESULT（診断結果） */
.step-flow .step-card:nth-of-type(6) > img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}

/* ---------------------------------------------
   レスポンシブ（スマホ対応）
   --------------------------------------------- */
@media (max-width: 860px) {
  .flow-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .flow-steps::before {
    display: none;
  }
  .flow-step {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  .flow-step .num-circle {
    margin: 0;
  }

  .checks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================================
   download-section
   ========================================================= */
.download-section-wrap {
  background: var(--color-teal-bg); /* #daf3f8 */
  padding: 96px 20px;
  position: relative;
}

.dl-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------------------------------------------
   上段：女性イラスト ＋ タイトル見出し
   --------------------------------------------- */
.dl-head-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

/* ---------------------------------------------
   上段：見出し（画面中央固定） ＋ 左側イラスト（絶対配置）
   --------------------------------------------- */
.dl-head-wrap {
  position: relative;        /* ★ イラストの基準位置にする */
  display: block;            /* flex を解除して見出しを中央に据える */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 48px;
}

/* 見出しエリア：他のセクションと同じように中央揃えにする */
.dl-head-wrap .dl-head {
  display: flex;
  flex-direction: column;
  align-items: center;       /* ★ 中央揃え（DOWNLOADバッジ・タイトル・リード文） */
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}

/* 左側の女性イラスト：見出しの中心を崩さず左側に絶対配置 */
.dl-illust {
    position: absolute;
    left: 0%;
    bottom: 30px;
    width: 290px;
    pointer-events: none;
}

.dl-illust img {
  width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    top: 64px;
    position: relative;
}

.dl-title{
  color: #1E6B8A;
  text-align: center;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 80%; /* 61.6px */
}

/* スマホ表示対応（画面が狭いときはイラストを上に戻す） */
@media (max-width: 860px) {
  .dl-head-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .dl-illust {
    position: static;
    width: 120px;
  }
}

/* ---------------------------------------------
   下段：コンテンツ横並び（左右2カラム）
   --------------------------------------------- */
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

/* 左カラム：テキスト・ボタン */
.dl-info-col {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-catch-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary-dark);
  margin: 0 0 16px;
  line-height: 1.4;
}

.dl-catch-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
  margin: 0 0 32px;
}

.dl-cta-btn {
  width: auto;
  min-width: 340px;
  padding: 16px 36px;
  font-size: 24px;
  font-weight: 700;
  background: #ffffff;
  border: 5px solid var(--color-primary);
  border-radius: 999px;
/*  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25), -5px -5px 5px 0 rgba(0, 0, 0, 0.40) inset;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dl-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.dl-cta-btn img {
  width: 30px;
  height: 30px;
}

/* 右カラム：表紙モックアップ */
.dl-mock-col {
  width: 440px;
  flex-shrink: 0;
}

.download-mock {
  border-radius: 20px;
  padding: 24px;
}

.mock-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #8898a0;
  font-size: 16px;
  line-height: 1.6;
  width: 420px;
}

.mock-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------------------------------------------
   レスポンシブ（スマホ表示）
   --------------------------------------------- */
@media (max-width: 860px) {
  .download-section-wrap {
    padding: 56px 16px;
  }
  .dl-head-wrap {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .dl-head-wrap .dl-head {
    align-items: center;
    text-align: center;
  }
  .download-panel {
    flex-direction: column;
    gap: 32px;
  }
  .dl-mock-col {
    width: 100%;
    max-width: 360px;
  }
  .dl-cta-btn {
    min-width: 100%;
  }
}

/* =========================================================
   contact-section（お問い合わせCTA）
   ========================================================= */
.contact-section {
  background: #1E6B8A; /* フッターと同系色の落ち着いたティールブルー */
  color: var(--color-white);
  text-align: center;
  padding: 96px 20px 80px;
  border-bottom: none !important;
}

/* 2つのボタンを横並び・中央揃えにする */
.contact-buttons {
  display: flex;
  flex-direction: row;        /* ★ 横並びにする */
  align-items: center;
  justify-content: center;   /* ★ 中央揃え */
  gap: 24px;                 /* ★ ボタン同士の間隔 */
  max-width: none;           /* ★ 420pxの制限を解除 */
  width: 100%;
  margin: 58px auto 48px;
}

/* 緑の相談ボタン（グラデーション＋立体的なシャドウ） */
.contact-buttons .btn-cta {
  width: auto;
  min-width: 300px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, #00b05b 0%, #8ec31e 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* 白の資料ダウンロードボタン（白背景＋濃い文字＋シャドウ） */
.contact-buttons .btn-secondary {
  width: auto;
  min-width: 300px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  background: #ffffff;
  color: #102a33;            /* 濃いネイビー文字 */
  border: 1px solid #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
      border: 5px solid #2CC72C;
}

/* ホバー時の浮き上がり演出 */
.contact-buttons .btn-cta:hover,
.contact-buttons .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.contact-buttons img {
  width: 22px;
  height: 22px;
}

/* ---------------------------------------------
   スマホ表示対応（画面が狭いときは縦並びに戻す）
   --------------------------------------------- */
@media (max-width: 768px) {
  .hero-inner{
    background: #fff !important;

  }

  .contact-section {
    padding: 60px 20px 48px;
  }
  .contact-buttons {
    flex-direction: column;
    gap: 16px;
  }
  .contact-buttons .btn-cta,
  .contact-buttons .btn-secondary {
    width: 100%;
    min-width: auto;
  }
}

.tel-cta {
  text-align: center;
}

.tel-cta p.label {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
}

.tel-cta .tel-big {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
}

.tel-cta .tel-time {
  font-size: 20px;
  opacity: 0.85;
}


/* =========================================================
   footer（デザインに合わせた統一スタイル）
   ========================================================= */
.site-footer {
  /* お問い合わせCTAと地続きの一体感を持たせる背景色 */
  background: #1E6B8A; 
  color: #ffffff;
  padding: 60px 20px 40px;
  border-top: none;
}

.footer-inner {
  width: 100%;
  max-width: 1040px; /* 3拠点が並ぶ幅に合わせる（またはお好みの幅） */
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* ★ 上部にだけ線を引く */
  padding-top: 48px;
}

/* 3拠点グリッド配置（PC表示） */
.footer-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}

.footer-office {
  padding: 0;
  border: none;
}


/* 拠点名（東京本社 / 大阪営業所 / 名古屋営業所） */
.footer-office .fo-head {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 24px;
}

/* 住所エリア */
.footer-office .fo-address {
  margin-bottom: 20px;
}

.footer-office p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* コピーライト */
.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  opacity: 0.7;
  padding-top: 48px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* スマホ表示対応 */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 30px;
  }
  .footer-offices-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-office {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .footer-office:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-office .fo-head {
    margin-bottom: 12px;
  }
  .footer-office .fo-address {
    margin-bottom: 12px;
  }
}

/* =========================================================
   フッター上部の不要な全幅境界線を強制リセット
   ========================================================= */

/* =========================================================
   site-footer 最上部の境界線を完全消去
   ========================================================= */

/* 1. footer自体の最上部の線を消去 */
footer.site-footer,
.site-footer {
  border-top: none !important;
  border-top-width: 0 !important;
}

/* 2. footer直前の要素（main や contact-section）の下境界線がついている場合も消去 */
main,
.contact-section,
#contact {
  border-bottom: none !important;
  border-bottom-width: 0 !important;
}

/* 3. 擬似要素による区切り線がある場合の無効化 */
footer.site-footer::before,
.contact-section::after {
  display: none !important;
  content: none !important;
}

.types-grid,
.quiz-card,
.quiz-result-card,
.slider-wrap,
.types-bottom-cta {
  width: 100% !important;
  max-width: 1240px !important;
  box-sizing: border-box !important;
}

/* 1280px未満のノートPC・タブレット表示時のヒーロー調整 */
@media screen and (max-width: 1200px) {
  .hero-inner {
    height: auto !important;
    min-height: 700px !important;
    background-size: cover !important;
    background-position: right top !important; /* 券売機画像を右側に逃がす */
    padding: 60px 24px !important;
  }

  .hero-content {
    max-width: 480px !important; /* テキストエリアの幅を狭めて被りを防ぐ */
  }

  .hero-title {
    font-size: 40px !important;
  }

  .hero-copy {
    font-size: 18px !important;
  }
}

.business-card .b-type-badge.bg-orange,
.business-card .b-type-badge.bg-blue {
  background-color: #1e6b8c !important;
  color: #ffffff !important;
}

/* =========================================================
   ★ レスポンシブ対応（スマホ・タブレット）
   既存の固定幅指定を上書きするため、ファイル末尾にまとめています
   ========================================================= */

/* ---------- タブレット以下（〜959px） ---------- */
@media (max-width: 959px) {

  html, body {
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
  }

  /* スマホ・タブレットのみヘッダーを画面上部に完全固定 */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
  }

  /* 固定したヘッダーの高さ(56px)分だけコンテンツの開始位置を下げる */
  body {
    padding-top: 56px !important;
  }
  
  section {
    padding: 56px 16px;
  }
  .section-title {
    font-size: 28px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    letter-spacing: -1.0px;
  }
  .section-lead {
    font-size: 16px;
  }

  /* ----- Hero ----- */
  .hero {
    min-height: 0;
  }
  .hero-inner {
    height: auto !important;
    min-height: 0 !important;
    padding: 32px 16px 300px !important;
    background-color: #ececec;
    background-size: auto 340px !important;
    background-position: right -40px bottom !important;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .hero-title {
    font-size: 34px !important;
  }
  .hero-copy {
    text-align: center;
    font-size: 15px !important;
  }
  .hero-copy.desc {
    font-size: 13px !important;
    font-weight: 500;
  }
  .hero-copy br {
    display: none;
  }
  .hero-buttons {
    max-width: 100%;
    margin-top: 8px;
  }
  .hero-buttons .btn {
    width: 100%;
    font-size: 17px;
  }
  .hero-badges {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-badges .badge {
    font-size: 14px;
  }

  .step-flow-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    /* ★ スクロールバーを非表示にする指定 */
    scrollbar-width: none !important;    /* Firefox 向け */
    -ms-overflow-style: none !important; /* IE, 古いEdge 向け */
  }

   .step-flow-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* ----- 4タイプ比較表：表内だけ横スクロール ----- */
  .types-table-wrap {
    margin: 0 -16px;
    padding: 0 16px 12px;
    width: auto !important;

    /* ★ スクロールバーを非表示にする指定 */
    scrollbar-width: none !important;    /* Firefox 向け */
    -ms-overflow-style: none !important; /* IE, 古いEdge 向け */
  }
  .types-table-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .types-grid {
    width: 900px !important;
    max-width: none !important;
    grid-template-columns: 96px repeat(4, 1fr) !important;
  }
  .types-grid .row-label {
    font-size: 13px;
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .types-grid .blank-head,
  .types-grid .blank-cell {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
  }
  .types-grid .type-name {
    font-size: 18px;
    font-family: var(--font-heading);
  }
  .types-grid .type-num {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .types-grid .desc,
  .types-grid .content-cell,
  .types-grid .shop-box,
  .types-grid .types-feature-text {
    font-size: 16px;
    padding: 0 17px 0 0;
  }
  .types-grid .feature-title {
    font-size: 14px;
  }
  .types-grid .img-box {
    height: 200px;
    margin-top: 16px;
  }
  .types-grid .content-cell {
    height: auto;
    min-height: 64px;
  }
  .types-table-wrap::before {
/*    content: "← 横にスクロールできます →";*/
    content: "";
    display: block;
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 8px;
    position: sticky;
    left: 0;
  }

  .eyebrow {
    font-size: 14px;
  }
  .section-head {
    margin-bottom: 15px;
  }
  .feature-title {
    margin-bottom: 0px;
  }
  .img-box {
    padding-bottom: 0px;
  }

  .types-icon-circle {
    height: 32px;
    width: 32px;
  }
  .types-icon-circle img {
    width: 18px;
    height: 28px;
    object-fit: contain;
}

  .types-bottom-cta {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .types-bottom-cta .cta-illust img {
    display: none;
  }
  .types-bottom-cta .cta-message {
    width: 100%;
  }
  .types-bottom-cta .cta-sub {
    white-space: normal;
  }
  .types-bottom-cta .cta-title {
    display: none;
  }

  .types-bottom-cta .cta-btn {
    width: 100%;
    min-width: 358px;
    height: 56px;
    font-size: 16px;
    white-space: normal;
  }


  /* 左端の共通ラベル列（グレーの帯）を非表示にする */
  .types-grid .row-label,
  .types-grid .blank-head,
  .types-grid .blank-cell {
    display: none !important;
  }

  /* グリッドを4列（券売機4台分）に変更 */
  .types-grid {
    grid-template-columns: repeat(4, 280px) !important;
    gap: 12px !important;
  }

  /* 各データセル：左にラベル、右に内容の横並びFlexにする */
  .types-grid .content-cell,
  .types-grid .shop-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #eef2f5 !important;
    background-color: transparent !important; /* 背景色を抜いて白カードになじませる */
  }

  /* data-label 属性から項目見出しを生成 */
  .types-grid .content-cell::before,
  .types-grid .shop-box::before {
    content: attr(data-label);
    display: block;
    width: 120px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 13px;
    color: #1e6b8a; /* デザインの濃い青文字 */
    text-align: left;
  }

  /* 右側のテキスト/リスト */
  .types-grid .content-cell .cell-text,
  .types-grid .shop-box ul {
    flex: 1;
    text-align: left;
    margin: 0;
    padding-left: 8px;
    font-size: 13px;
  }

  /* リスト全体：インライン配置にして左余白をリセット */
  .types-grid .shop-box ul {
    flex: 1;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  /* 各li：ブロック（改行）を解除して横に流す */
  .types-grid .shop-box ul li {
    display: inline !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 2つ目以降のliの前に「・」を自動挿入してつなぐ */
  .types-grid .shop-box ul li + li::before {
    content: "・";
  }

  /* 1. グリッド全体の調整（背景色と列間スペース） */
  .types-grid {
    grid-template-columns: repeat(4, 280px) !important;
    column-gap: 16px !important; /* カード同士の左右の隙間 */
    row-gap: 0 !important;       /* 縦方向の隙間をゼロにしてカードを一体化 */
    width: max-content !important;
  }

  /* 2. 各カードセル共通：背景を白にして文字色を調整 */
  .types-grid .col-top,
  .types-grid .feature-box,
  .types-grid .shop-box,
  .types-grid .content-cell {
   /* background-color: #ffffff !important;*/
    border-left: 1px solid #d1d5d6 !important;  /* カードの左枠線 */
    border-right: 1px solid #d1d5d6 !important; /* カードの右枠線 */
    box-sizing: border-box !important;
  }

  /* 3. カードの一番上（写真・タイトル部分）：上枠線と角丸 */
  .types-grid .col-top {
    border-top: 1px solid #d1d5d6 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    padding: 20px 10px 12px !important;
  }

  /* 4. 特徴エリア（薄緑や薄青の背景ボックス）の左右余白 */
  .types-grid .feature-box {
    padding: 8px 12px 16px !important;
  }

  /* 5. おすすめのお店・各スペックセル：薄い下線で区切る */
  .types-grid .shop-box,
  .types-grid .content-cell {
    border-bottom: none !important;             /* ★ 100%の線を消す */
    padding: 8px 16px !important;
    position: relative !important;
  }

/* ★ 幅90%・中央揃えの仕切り線（左右に5%ずつの余白） */
  .types-grid .shop-box::after,
  .types-grid .content-cell::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 5% !important;                        /* 左余白5% */
    width: 90% !important;                      /* 幅90% */
    height: 1px !important;                     /* 線の太さ */
    background-color: #eef2f5 !important;       /* 仕切り線の色 */
    pointer-events: none !important;
  }

  /* 6. カードの一番下（8行目：メニュー変更セル）：底の枠線と角丸 */
  .types-grid > .content-cell:nth-last-child(-n + 4) {
    border-bottom: 1px solid #d1d5d6 !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    padding-bottom: 20px !important;
    padding-top: 15px !important;
  }

  /* ★ 一番下のセルだけは途中の仕切り線(::after)を出さない */
  .types-grid > .content-cell:nth-last-child(-n + 4)::after {
    display: none !important;
  }

  .types-grid .col-top,
  .types-grid .shop-box,
  .types-grid .content-cell {
    background-color: #ffffff !important;
    border-left: 1px solid #d1d5d6 !important;
    border-right: 1px solid #d1d5d6 !important;
    box-sizing: border-box !important;
  }

  /* feature-boxのセル自体：カードの左右枠線を維持しつつ、白背景にする */
  .types-grid .feature-box {
    background-color: #ffffff !important;
    border-left: 1px solid #d1d5d6 !important;
    border-right: 1px solid #d1d5d6 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    /* 上下に8px、左右に12pxの白フチ余白を設ける */
    padding: 16px 9px 16px 20px !important;
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
  }

  /* セル本体自体の背景色は透明にする（角丸プレートを活かすため） */
  .types-grid .feature-box.bg-blue,
  .types-grid .feature-box.bg-green,
  .types-grid .feature-box.bg-cyan,
  .types-grid .feature-box.bg-purple {
    background-color: transparent !important;
  }

  /* （＝「おすすめのお店」の上の線になります） */
  .types-grid .feature-box::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 5% !important;                  /* 左右5%ずつの余白 */
    width: 90% !important;                /* 幅90% */
    height: 1px !important;               /* 線の太さ */
    background-color: #eef2f5 !important; /* 他の仕切り線と同じ色 */
    pointer-events: none !important;
    z-index: 3 !important;
  }

  /* 内側に敷く角丸カラープレート */
  .types-grid .feature-box::after {
    content: "" !important;
    position: absolute !important;
    top: 6px !important;
    bottom: 6px !important;
    left: 10px !important;                 /* カード左右枠線から10px離す */
    right: 10px !important;
    border-radius: 12px !important;        /* ★ ここで確実に角丸が効きます */
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* 4色それぞれのカラーを角丸プレート(::after)に適用 */
  .types-grid .feature-box.bg-blue::after {
    background-color: #d9f9f9 !important; /* 01 キャッシュレス */
  }
  .types-grid .feature-box.bg-green::after {
    background-color: #dcfce7 !important; /* 02 タッチパネル */
  }
  .types-grid .feature-box.bg-cyan::after {
    background-color: #cfeeef !important; /* 03 ボタン式 */
  }
  .types-grid .feature-box.bg-purple::after {
    background-color: #dedaff !important; /* 04 卓上型 */
  }

  .border-blue, .border-green, .border-cyan, .border-purple  {
     border: none; 
  }

  .feature-title {
    border-bottom: none;
  }

  /* 中身の文字やアイコンを角丸プレートの前面に出す */
  .types-grid .feature-box > * {
    position: relative !important;
    z-index: 2 !important;
  }
  .slider-nav{
    display: none;
  }

  .check_point_arrow {
    margin-top: 43px;
  }

  .checkpoint-card {
    width: 286px;
    gap: 20px;
    height: 435px;
    padding: 15px;
  }

  .typeBox {
      padding: 24px 10px;
  }

  /* 右側のテキストコンテナ（span）を1つの塊として横幅いっぱいに広げる */
  .types-grid .content-cell > span {
    flex: 1;
    min-width: 0;
    display: block;
    text-align: left;
    line-height: 1.5;
  }

  /* <small> の文字サイズを本文に揃える（デザイン準拠） */
  .types-grid .content-cell > span small {
    font-size: 14px;
  }

  .type-sub-note {
    font-size: 16px;
   }

   .btn-type-cta {
    font-size: 16px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);

   }

   .btn-type-cta2 {
      font-size: 15px;
      padding: 16px 24px;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);

   }
  .btn-type-cta3 {
    font-size: 15px;
    padding: 16px 42px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);

   }
  .btn-type-cta4 {
    font-size: 16px;
    padding: 16px 50px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);

   }

.display_pc {
    display: none !important;
  }
  .display_sp {
    display: inline !important;
  }

  .btn-type-cta {
    font-size: 15px !important;
    padding: 14px 2５px !important;
    white-space: nowrap !important; /* 1行で綺麗に収める */
  }

  /* =========================================================
     2. 「おすすめのお店」文字欠け（「お」の消失）の修正
     ========================================================= */

  .types-grid .shop-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important; /* ★ 左揃えにして左端が欠けないようにする */
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    border-left: 1px solid #d1d5d6 !important;
    border-right: 1px solid #d1d5d6 !important;
/*    border-bottom: 1px solid #eef2f5 !important;*/
    background-color: #ffffff !important;
    overflow: visible !important;
  }

  /* 「おすすめのお店」ラベル部分 */
  .types-grid .shop-box::before {
    content: attr(data-label) !important;
    display: block !important;
    width: 120px !important;                 /* 幅を安定させる */
    min-width: 120px !important;
    flex-shrink: 0 !important;              /* ★ 潰れを完全に防止 */
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1e6b8a !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-right: 8px !important;           /* 右側の文章との隙間 */
  }

  /* 右側のテキスト・リスト */
  .types-grid .shop-box ul,
  .types-grid .shop-box p {
    flex: 1 1 auto !important;
    min-width: 0 !important;               /* Flexbox内の折り返しを正常化 */
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  /* ----- お悩み ----- */
  .pain-grid {
    justify-items: center;
  }
  .pain-card {
    height: auto !important;
    padding: 5px 10px !important;
  }
  .pain-card .pain-title {
    font-size: 18px !important;
    padding: 15px 10px 0 0 !important;
    margin: 0 0 0 0 !important;
  }
  .pain-card .pain-title em {
    font-size: 18px;
  }
  .pain-card .pain-title img {
    width: 32px !important;
    height: 32px !important;
    margin-left: 45px;
  }
  .pain-card .pain-title-text {
    padding-left: 5px;
  }

  .pain-grid .pain-card:nth-child(1) img.pain-illustration {
    max-width: 196px !important;
  }
  .pain-grid .pain-card:nth-child(2) img.pain-illustration {
    max-width: 186px !important;
  }
  .pain-grid .pain-card:nth-child(3) img.pain-illustration {
    max-width: 186px !important;
  }
  .pain-grid .pain-card:nth-child(4) img.pain-illustration {
    max-width: 191px !important;
  }
  .pain-grid .pain-card:nth-child(5) img.pain-illustration {
    max-width: 141px !important;
  }
  .pain-grid .pain-card:nth-child(6) img.pain-illustration {
    max-width: 149px !important;
}

.pain-summary {
  margin-top: 40px;
  margin-bottom: 20px;
}

.pain-workload-img {
    margin-bottom: 20px;
}

.quiz-note {
  margin-left: 29px;
}


.feature-list li {
  font-size: 14px;
}
.card-title {
  font-size: 16px;
}
.card-title2,.card-title3, .card-title4 {
  font-size: 16px;
}


/* 1. スクロールラッパー：画面幅に合わせて横スクロールさせる */
  .grade-table-scroll {
    width: auto !important;
    margin: 0 -16px !important;
    padding: 0 16px 8px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .grade-table-scroll::-webkit-scrollbar {
    display: none !important;
  }

  /* 2. テーブル本体：100%やmin-width(640px)を解除して中身の列幅合計にする */
  .grade-table {
    width: max-content !important;
    min-width: 0 !important;
  }

  /* 3. 左端の項目列（対応紙幣・釣銭対応など）の幅と文字サイズ調整 */
  .grade-table thead tr th:first-child,
  .grade-table tbody th {
    width: 95px !important;
    min-width: 95px !important;
    font-size: 13px !important;
    padding: 12px 10px !important;
  }

  /* 4. Grade①〜③の各列の横幅を 210px に固定 */
  .grade-table thead th:not(:first-child),
  .grade-table tbody td {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    box-sizing: border-box !important;
  }

  /* 5. ヘッダー（Grade①〜③）の文字サイズと高さ調整 */
  .grade-table thead th:not(:first-child) {
    font-size: 15px !important;
    height: auto !important;
    padding: 16px 8px 12px !important;
  }

  .grade-table thead th img {
    height: 135px !important;
    margin-top: 16px !important;
  }

  /* 6. データセル内の文字サイズ・余白調整 */
  .grade-table tbody td {
    font-size: 13px !important;
    padding: 12px 12px !important;
  }

  .grade-table .point-cell .picon img {
    width: 32px;
    height: 32px; 
  }

/* 1. 右側コンテンツ枠が中身に引っ張られて横幅を突き抜けるのを防ぐ */
  .quiz-main-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
  }

  /* 2. Question 04 のタググリッド：スマホでは縦1列（または折り返し）にする */
  .quiz-tags-grid {
    grid-template-columns: 1fr !important; /* ★ 2列から1列に変更して横はみ出しを解消 */
    gap: 6px !important;
    width: 100% !important;
  }

  /* 3. 各タグバッジ：文字サイズをスマホ向けに調整し、折り返しを許可 */
  .quiz-tag-item {
    font-size: 16px !important;
    padding: 6px 12px !important;
    white-space: normal !important;       /* ★ nowrap（改行禁止）を解除 */
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .res_grade_small{
    font-size:18px;font-weight:700;color:#009cb3;
  }

  /* ブロック要素（改行）からインライン要素に変更して「Grade③」とつなげる */
  .res-title span,
  .res_grade_small {
    display: inline !important;
    font-size: 14px !important;
    margin-left: 4px !important; /* 「Grade③」との間に少しだけ余白を入れる場合 */
  }

/* 1. カード外枠・ボディの固定高さを解除して縦積みにする */
  .quiz-result-card {
    height: auto !important;
    width: 100% !important;
    border-radius: 16px !important;
  }

  .res-header {
    padding: 14px 16px !important;
  }

  .res-badge-title {
    font-size: 18px !important;
  }

  .res-btn-reset {
    font-size: 12px !important;
  }

  .res-body {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 20px 14px 24px !important;
    gap: 20px !important;
  }

  /* 2. テキスト・特徴3つを「上」に配置する */
  .res-content-col {
    order: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .res-lead {
    font-size: 14px !important;
    margin: 0 0 4px !important;
  }

  .res-title {
    font-size: 22px !important;
    padding: 0 !important;
    margin: 0 0 12px !important;
    line-height: 1.35 !important;
  }

  .res-title span {
    font-size: 14px !important;
    margin-top: 2px !important;
  }

  .res-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 0 16px !important;
  }

  /* 3. 特徴ボックス3つを横並び（3列均等）にする */
  .res-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .res-feature-box {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    height: auto !important;
    min-height: 92px !important;
    padding: 10px 4px !important;
    border-width: 2px !important;
    gap: 6px !important;
  }

  .res-f-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .res-f-icon.is-wide {
    width: 64px !important;
    max-width: 64px !important;
    height: 32px !important;
  }

  .res-f-text {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  /* 4. 券売機一覧エリアを「下（特徴3つの下）」に配置 */
  .res-image-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .res-machines-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .res-machine-item {
    flex: 1 1 0 !important;
    max-width: 33% !important;
    min-width: 0 !important;
  }

  .res-machine-img-box {
    height: 165px !important;
    margin-bottom: 8px !important;
  }

  .res-machine-name {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  /* 5. CTAボタン：親要素(res-content-col)の箱構造を外して一番下に配置 */
  /* ※ HTML構造上ボタンが .res-content-col の中にあるため、幅だけ100%に整えます */
  .res-cta-btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    padding: 14px 12px !important;
    margin-top: 16px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .res-cta-btn img {
    width: 18px !important;
    height: 18px !important;
  }

  /* 1. テキスト群の親箱を解除して、中の要素を直接 .res-body の子として並べる */
  .res-content-col {
    display: contents !important;
  }

  /* 2. 上部に表示する要素（見出し・タイトル・説明文・特徴3つ） */
  .res-lead,
  .res-title,
  .res-desc,
  .res-features-grid {
    order: 1 !important;
  }

  /* 3. 真ん中に表示する要素（券売機3台の写真エリア） */
  .res-image-col {
    order: 2 !important;
    margin-top: 8px !important;
  }

  /* 4. 一番下に表示する要素（オレンジの相談ボタン） */
  .res-cta-btn {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
  }

  /* 5. 各要素間の余白をすっきり整える（display: contents にすると gap が各要素に効くため） */
  .res-body {
    gap: 10px !important;
    align-items: flex-start !important;
  }


  .cashless-section .section-title em {
    font-size: 28px;
  } 
  /* ----- ソリューション ----- */
  .solutions-layout {
    width: 100% !important;
    align-items: center;
  }
  /* 1. 親コンテナ：縦並びFlexのままにする */
  .solutions-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* 2. 写真が入っている中央列のラッパー階層を解除する */
  .sol-col-center {
    display: contents !important; /* 中身（写真と03カード）を親の直接の子として扱う */
  }

  /* 3. 写真：最上部（order: -1）へ移動し、幅や余白をデザインに合わせる */
  .solutions-hero-photo {
    order: -1 !important;        /* ★ これによりカード群より一番上に配置されます */
    width: 100% !important;
    max-width: 358px !important; /* デザインカンプ（358px幅）に合わせる */
    aspect-ratio: 436 / 290 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin-bottom: 8px !important;
  }

  /* 4. 03カードがPC版で下に押し下げられていた場合のトランスフォームを解除 */
  .sol-col-center .solution-card {
    transform: none !important;
  }
  .sol-col {
    width: 100%;
    align-items: center;
  }
  .solution-card {
    width: 100% !important;
    max-width: 400px;
    height: auto !important;
  }
  .solution-card .card-header {
    height: auto;
  }
  .solution-card .card-image {
    width: 100%;
    height: 207px;
  }
  .solutions-hero-photo {
    max-width: 400px;
    border: 5px solid #fff;
    margin: 20px 0 20px 0 !important;
  }
  .solutions-banner {
    padding-top: 48px;
  }
  .solutions-banner p {
      font-size: 16px;
      font-weight: bold;
      letter-spacing: -1px;
  }


  /* ----- 横スライド ----- */
  .slider-wrap {
    width: 100% !important;
  }

  .solution-card .card-desc {
    text-align: left;
        width: 95%;
  }

  .solution-card .num-badge {
    font-size: 18px;
  }
  /* ----- CTAバナー ----- */
  .cta-banner {
    height: auto !important;
    padding: 20px 20px 20px 10px !important;
    flex-direction: initial;
    text-align: left;
  }
  .cta-banner p {
    font-size: 16px !important;
  }
  .cta-banner img {
      height: 116px !important;
      right: 21% !important;
      transform: translateX(50%);
  }


  /* 1. 3台の券売機コンテナ：折り返しを禁止して横1列に並べる */
  .typeDetail_topRight {
    display: flex !important;
    flex-wrap: nowrap !important;           /* ★ 折り返し(wrap)を解除 */
    justify-content: space-between !important;
    align-items: flex-end !important;        /* 下端（足元）で揃える */
    gap: 8px !important;
    width: 100% !important;
  }

  /* 2. 各機種の幅：固定の140pxを解除して均等3等分にする */
  .machine-item {
    width: auto !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  /* 3. 画像エリアの高さをスマホの横幅バランスに合わせて調整 */
  .machine-img-box {
    height: 155px !important;                /* 240px からスマホ向けに縮小 */
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  /* 4. 機種名テキストのサイズと折り返し調整 */
  .machine-name {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .machine-name strong {
    font-size: 11px !important;
  }

  
  /* ----- キャッシュレス ----- */
  .cashless-compare-wrap {
    flex-direction: column !important;
    height: auto !important;
  }
  .cashless-box {
    width: 100% !important;
    padding: 24px 12px 16px !important;
  }
  .merit-badge {
    font-size: 18px !important;
  }
  .cashless-box .card-title-box {
    font-size: 13px !important;
    height: auto !important;
    min-height: 44px;
    line-height: 1.4;
  }
  .cashless-box .card-desc-text {
    font-size: 12px !important;
    line-height: 1.5;
  }
  .cashless-box .card-desc-text br {
    display: none;
  }
  .sim-card {
    padding: 24px 16px !important;
    gap: 24px !important;
  }
  .sim-card-title-area {
    text-align: left !important;
  }

  .sim-card h3 {
    font-size: 20px;
  }
  .sim-card .sim-sub {
    font-size: 14px;
    line-height: 1.5 !important;
  }
  .sim-row {
    flex-direction: column !important;
    align-items: flex-start !important; /* バッジを左揃えにする */
    gap: 12px !important;
    width: 100% !important;
  }
  .sim-badge,
  .sim-badge.cond {
    min-width: 0 !important;
    height: auto !important;
    font-size: 16px !important;
  }
  .sim-badge {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 6px 16px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
  }

  .sim-badge.cond {
    background-color: #f25f22 !important; /* デザイン準拠のオレンジ */
    height: auto !important;
  }

  /* 3. 【上段】試算条件：2列×2行グリッド */
  .sim-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sim-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;    /* ★ space-between から center に変更 */
    gap: 6px !important;                   /* ★ 見出しと数値の隙間を6pxに固定 */
    height: auto !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
  }

  .sim-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .sim-result-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .sim-item .si-head img {
    width: 36px !important;
    height: 36px !important;
  }
  /* ★ PC用の絶対配置（position: absolute）を解除してアイコンと文字の重なりを解消 */
  .sim-item .si-head {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin: 0 0 0px !important;
  }

  .sim-item .si-head img,
  .sim-item .si-head img[src*="icon-terminal.png"] {
    position: static !important;
    transform: none !important;
    width: 42px !important;
    height: 47px !important;
    max-width: 47px !important;
    max-height: 48px !important;
    flex-shrink: 0 !important;
  }

  .sim-item .si-val {
    font-size: 16px !important;
    text-align: center !important;
    margin-top: 0 !important;
    width: 100% !important;
  }

  /* 4. 【下段】試算結果：1列×3行 */
  .sim-result-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sim-result-item {
    padding: 16px 14px !important;
  }

  .sim-result-item .sr-top {
    margin-bottom: 0 !important;
    gap: 12px !important;
  }

  .sim-result-item .icon-circle {
    width: 48px !important;
    height: 48px !important;
  }

  .sim-result-item .icon-circle img {
    width: 28px !important;
    height: 28px !important;
  }

  .sim-result-item .sr-label {
    font-size: 16px !important;
    margin-bottom: 2px !important;
  }

  .sim-result-item .sr-value {
    font-size: 18px !important;
  }

  .sim-result-item {
    background: #f0fafd !important;
    border: 1.5px solid #77d0da !important;
    border-radius: 16px !important;
    padding: 24px 20px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* 1. 親ラッパー：見出し(Download等)を中央に固定するための基準にする */
  .dl-head-wrap {
    position: relative !important;
    display: block !important;
    margin-bottom: 32px !important;
    padding-top: 28px !important; /* 左上のイラスト分の高さを確保 */
  }

  /* 2. 左側の女性イラスト：左上に絶対配置して「Download」バッジと横並びに */
  .dl-illust {
    position: absolute !important;
    top: -26px !important;
    left: 0 !important;
    bottom: auto !important;
    width: 104px !important;
    margin: 0 !important;
    z-index: 2 !important;
  }

  /* 3. PC用の top: 64px をリセット */
  .dl-illust img {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 計算式を右テキストの下に左揃えで配置 */
  .sim-result-item .sr-note {
    font-size: 14px !important;
    text-align: left !important;
    padding-left: 60px !important; /* 丸アイコン(48px) + gap(12px) 分だけ右へ */
    margin-top: 2px !important;
  }

  .sim-note {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .quiz-option {
    font-size: 16px;
    padding: 10px 16px;
  }
  .quiz-question-wrap {
    min-height: auto !important;
  }

  
  /* ----- FAQ ----- */
  .faq-list,
  .faq-item {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ----- 設置前に確認すること ----- */
  .checks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
  .check-item .ci-label {
    font-size: 14px;
    padding: 6px 8px;
    white-space: normal;
  }
  .check-img-box {
    height: 120px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px;
  }

  /* 1. 最後の5つ目（電源や通信環境）だけ2列分を横断して横幅いっぱいにする */
  .checks-grid .check-item:last-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-bottom: 20px;
  }

  /* 2. 横長になった5つ目のラベル・画像枠の高さや余白もバランスよく調整 */
  .checks-grid .check-item:last-child .ci-label {
    padding: 8px 16px !important;
  }

  .checks-grid .check-item:last-child .check-img-box {
    height: 145px !important; /* 横幅が広がった分、少し高さを出して見やすく */
  }

  /* ----- 診断見出し：イラストを左右に小さく並べる ----- */
  .diagnosis-head-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* ★ 左右のイラストを両端に配置 */
    align-items: flex-end !important;          /* ★ イラストの下端をピッタリ揃える */
    gap: 8px 0 !important;
    margin-bottom: 0 !important;               /* ★ クイズカードとの隙間を完全にゼロに */
    padding: 0 16px !important;
  }
  .diagnosis-head-container .section-head {
    order: -1;
    width: 100%;
    margin-bottom: -35px !important;    
  }
  .diag-illust {
    width: 90px;
  }

  /* 3. 左右のスタッフイラストのサイズと余白調整 */
  .diag-illust {
    width: 70px !important;                    /* デザインに合わせたサイズ（お好みで80〜95px調整） */
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;                 /* 画像下のわずかな隙間（ベースライン余白）を消去 */
  }

  .diag-illust img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    margin-bottom: -2px !important;
    margin-left: -4px !important;
  }

  /* 4. クイズコンテナの上余白も念のためリセット */
  #quizContainer,
  .quizContain {
    margin-top: 0 !important;
  }

  .type-badge {
    font-size: 14px;
    width: 100px;
    height: 25px;
  }

  .type-main-title {
    margin: 12px 0 0px;
  }
  .type-catch-icon {
    width: 45px;
  }

  .quizContain {
    padding: 0 0px !important;
  }
  /* 右側の男性イラストだけ横幅を大きくする（お好みの数値に調整可能） */
  .diag-illust.diag-right {
    width: 85px !important; /* 85px から 100px〜115px 程度に拡大 */
    margin-right: -15px !important;
  }

  /* ----- クイズ ----- */
  .quiz-card {
    height: auto !important;
  }
  .quiz-q-text {
    font-size: 18px !important;
    line-height: 1.5;
  }

  /* ----- 業態別スライダー ----- */
  .business-section-wrap {
    padding: 56px 0;
  }
  .business-inner {
    padding: 0 14px !important;
  }
  .business-slider-wrap {
    width: 100% !important;
    padding: 0 !important;
  }
  .business-card {
    width: 280px !important;
    height: auto !important;
    padding: 0 0 20px !important;       /* ★ 上・左右のpaddingを0にして写真をフチいっぱいまで広げる */
    overflow: hidden !important;        /* カード上部の角丸で写真の上角を綺麗に切り抜く */
    gap: 14px !important;
  }
  /* 2. 写真を一番上に配置（フチなし全幅） */
  .business-card .b-photo-wrap {
    order: -1 !important;               /* ★ 見出し(.b-name)より上に移動 */
    width: 100% !important;
    height: 165px !important;
    border-radius: 0 !important;        /* 親カードの角丸に合わせるため0にリセット */
    margin: 0 !important;
  }

  .business-card .b-name {
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding: 0 16px !important;
    margin: 0 !important;
    text-align: left !important;
    margin-bottom: 20px !important;
  }

  /* 4. 下部ボディエリア：左右に余白をつける */
  .business-card .b-body {
    padding: 0 16px !important;
    margin-top: 0 !important;
    gap: 12px !important;
  }

  /* 5. 「おすすめタイプ」ラベルとバッジ */
  .business-card .b-type-wrap {
    text-align: left !important;
  }

  .business-card .b-type-label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  .business-card .b-type-badge {
    display: block !important;          /* 横幅いっぱいのバッジにする */
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
    box-sizing: border-box !important;
  }

  /* 6. チェックリスト */
  .business-card .b-points {
    margin-top: 4px !important;
    gap: 8px !important;
  }

  .business-card .b-points .li {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .business-card .b-points img {
    width: 18px !important;
    height: 18px !important;
  }

  /* 7. ポイントボックス */
  .business-card .b-point-box {
    margin-top: 4px !important;
    height: auto !important;
    padding: 10px 12px !important;
  }

  .business-card .b-point-box .bp-head {
    font-size: 13px !important;
  }

  .business-card .b-point-box .bp-head img {
    width: 18px !important;
    height: 18px !important;
  }

  .business-card .b-point-box p.bp-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .business-card .b-point-box p.bp-text br {
    display: none !important;
  }

  .business-card .b-type-badge.bg-orange {
    background-color: #f25f22 !important;
    color: #ffffff !important;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .arrow-prev {
    left: -8px;
    display: none;
  }
  .arrow-next {
    right: -8px;
    display: none;
  }

  .faq-question p {
    font-size: 16px;
  }

  .faq-answer .faq-block {
    background: transparent !important;
    padding: 0 !important;
    gap: 10px !important;
  }
  /* 2. 「■ 釣銭収納量」などの見出しは白背景のまま外に出す */
  .faq-answer .faq-heading {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 3. 見出し以外の要素（内容部分）にグレーの角丸ボックスを適用 */
  .faq-answer .faq-block > *:not(.faq-heading) {
    background: #F6F7F8 !important;
    padding: 14px 10px !important;
    margin: 0 !important;
  }

  /* 4. 「■ 釣銭収納量」のように中に .faq-subblock が2つ連続する場合の角丸つなぎ調整 */
  .faq-answer .faq-block > *:not(.faq-heading):first-of-type {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }

  .faq-answer .faq-block > *:not(.faq-heading):last-child {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
  }

  /* 連続するサブブロック間の隙間を詰めて1つの四角に見せる */
  .faq-answer .faq-block > .faq-subblock + .faq-subblock {
    margin-top: -10px !important; /* 親の gap: 10px を相殺 */
    padding-top: 6px !important;
  }

  /* 5. 他の質問（既に .faq-desc-gray 等がついている箇所）の余白微調整 */
  .faq-answer .faq-desc-gray,
  .faq-answer .faq-desc-gray2 {
    background: #F6F7F8 !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }

  .faq-answer .faq-heading{
    font-size: 14px;
  }
  .faq-desc-gray {
    padding: 0px;
  }
  /* 1. ブラウザが自動生成した空の <p> タグ（上下の謎のグレーの帯）を消す */
  .faq-answer .faq-block p:empty {
    display: none !important;
  }
  .faq-answer .faq-block > ul.faq-desc-gray,
  .faq-answer .faq-block > ul.faq-desc-gray2 {
    background: #F6F7F8 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
  }

  .flow-step .step-label {
    font-size: 18px;
  }

  .flow-step .num-circle {
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .flow-steps {
    margin: 50px auto 50px;
    position: relative !important;
    padding-left: 16px !important;
    gap: 20px !important;
  }
  /* 2. 丸数字（1〜5）の後ろを通る縦線を1本引く */
  .flow-steps::before {
    content: "" !important;
    display: block !important;             /* 860px以下の display: none を上書き */
    position: absolute !important;
    top: 20px !important;                  /* 1番目の丸（高さ40px）の中心から開始 */
    bottom: 20px !important;               /* 5番目の丸（高さ40px）の中心で終了 */
    /* 左余白(16px) + 丸の半径(20px) - 線の太さの半分(1px) = 35px */
    left: 38px !important;
    right: auto !important;
    width: 2px !important;
    height: auto !important;
    background-color: #D1D5D6 !important;
    z-index: 1 !important;
  }

  /* 3. 丸数字が縦線より前面に表示されるようにする */
  .flow-step {
    position: relative !important;
    z-index: 2 !important;
  }

  .flow-step .num-circle {
    position: relative !important;
    z-index: 2 !important;
    background-color: #ffffff !important;  /* 線が透けないよう白背景を明示 */
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    margin: 0 !important;
  }

  /* 4. ラベル文字のサイズ調整（必要に応じて） */
  .flow-step .step-label {
    font-size: 16px !important;
  }

  .flow-step .step-label br {
    display: none !important;              /* スマホでは改行せず1行でスッキリ表示 */
  }

  /* ----- 4タイプ詳細 ----- */
  .type-feature-card {
    padding: 24px 20px !important;
  }

  .dl-cta-btn {
    font-size: 16px;
    box-shadow: none;
  }
  .mock-inner {
    width: 100%;
  }
  /* 1. 親コンテナ(.download-panel)を縦並びFlexにする */
  .download-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  /* 2. 左カラム(.dl-info-col)の箱を解除して中身を直接並べる */
  .dl-info-col {
    display: contents !important;
  }

  /* 3. 上部に配置するテキスト要素 */
  .dl-catch-title,
  .dl-catch-desc {
    order: 1 !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  /* 4. 真ん中に配置する表紙モックアップ画像 */
  .dl-mock-col {
      order: 2 !important;
      width: 100% !important;
      max-width: 340px !important;
      margin: 4px auto !important;
      background: #fff;
      padding: 5px;
      border-radius: 16px;
  }

  .mock-inner img {
    border-radius: 8px;
  }

  .download-mock {
    padding: 12px !important; /* スマホ幅で画像が小さくなりすぎないよう余白調整 */
  }

  /* 5. 一番下に配置するダウンロードボタン */
  .dl-cta-btn {
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
    padding: 14px 20px !important;
    white-space: nowrap !important;
  }

  .contact-section{
    display: none;
  }
}

.br_sp{
  display: none;
}
.br_pc{
  display: block;
}
.display_sp{
  display: none;
}
.display_pc{
  display: inline;
}


/* ---------- スマホ（〜599px） ---------- */
@media (max-width: 599px) {

  .hero-inner {
    padding: 55px 20px 36px !important;
    background-image: url("img/hero-section_sp.png") !important;
    background-repeat: no-repeat !important;

    /* ★ 横幅を100%いっぱいに広げ、高さは比率に合わせて自動計算 */
    background-size: 100% auto !important;

    /* ★ 水平方向中央、上端揃えに配置 */
    background-position: center top !important;

    /* 背景画像が途中で切れてしまう場合は、必要に応じて高さや下部余白を調整 */
    height: auto !important;
    min-height: auto !important;
  }

  .types-bottom-cta {
    margin: 20px auto 0;
  }
  .hero-title {
    font-size: 30px !important;
    text-align: center;
    margin: 0;
  }

  .hero-copy.desc {
    display: none !important;
  }

  .br_sp{
    display: block !important;
  }
  .br_pc{
    display: none;
  }
  .display_sp{
  display: inline !important;
  }
  .display_pc{
    display: none;
  }


  /* =========================================================
   STEP 01 〜 RESULT の画像サイズ個別調整
   ※ PC・スマホ共通で効きます。スマホだけ変えたい場合は @media (max-width: 959px) 内に入れてください
   ========================================================= */

   .step-card:first-of-type {
      min-height: 260px;
      align-self: flex-start;
    }

    .step-card.result {
      height: 260px;
    }

    .step-flow .step-card:nth-of-type(1), .step-flow .step-card:nth-of-type(6) {
        padding-top: 32px;
    }

  /* 1. STEP 01（支払い方法は？）※横長画像なので width を大きめに設定 */
  .step-flow .step-card:nth-of-type(1) .step-icons img {
    width: 110px !important;   /* ★ お好みの横幅に調整してください */
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
  }

  /* 2. STEP 02（設置スペースは？） */
  .step-flow .step-card:nth-of-type(2) > img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }

  /* 3. STEP 03（高額紙幣対応は？） */
  .step-flow .step-card:nth-of-type(3) > img {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
  }

  /* 4. STEP 04（重視する機能は？） */
  .step-flow .step-card:nth-of-type(4) > img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }

  /* 5. STEP 05（来客数は？） */
  .step-flow .step-card:nth-of-type(5) > img {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
  }

  /* 6. RESULT（診断結果） */
  .step-flow .step-card:nth-of-type(6) > img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
  }


}

/* ---------- 小さめPC・横向きタブレット（960px〜1279px） ---------- */
@media (min-width: 960px) and (max-width: 1279px) {
  /* 診断ステップ：6枚が画面内に収まるよう縮小 */
  .step-card {
    width: 128px;
    padding: 16px 8px;
  }
  .step-caret {
    width: 18px;
  }

  /* ソリューション：1240px固定を解除 */
  .solutions-layout {
    width: 100% !important;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
  }
  .solution-card {
    width: 100% !important;
  }
  .solution-card .card-image {
    width: 100%;
    max-width: 230px;
    height: auto;
  }
  .sol-lines-wrap {
    display: none;
  }

  /* 設置前に確認すること */
  .checks-grid {
    gap: 12px !important;
  }
  .check-item .ci-label {
    font-size: 14px;
    padding: 6px 8px;
    white-space: normal;
  }
}

/* =========================================================
   ページトップ（PAGE TOP）固定ボタン
   ========================================================= */
.page-top-btn {
  position: fixed;
  right: 16px;
  bottom: 24%;                   /* デザインに合わせて画面右寄りの縦位置に配置 */
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #55626d;                /* 落ち着いたグレー */
  cursor: pointer;
  
  /* 初期状態は非表示（フェードアニメーション用） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

/* スクロールで表示された状態 */
.page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 上向きの「く」矢印（‹ を90度回転） */
.page-top-btn .pt-arrow {
    font-size: 16px;
    line-height: 1;
    transform: rotate(90deg);
    display: inline-block;
    font-weight: 400;
    margin-left: 5px;
    margin-bottom: -9px;
    color: #102A33;
}

/* 矢印とテキストをつなぐ縦の細線 */
.page-top-btn .pt-line {
  display: block;
  width: 1px;
  height: 48px;                  /* デザインの細線の長さに合わせて調整 */
  background-color: #102A33;
}

/* 「PAGE TOP」縦書きテキスト */
.page-top-btn .pt-text {
  writing-mode: vertical-rl;     /* 縦書き指定 */
  text-orientation: mixed;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: #102A33;
}

/* ホバー時の挙動 */
.page-top-btn:hover {
  color: #009cb3;
}
.page-top-btn:hover .pt-line {
  background-color: #009cb3;
}

.hero_sp_img{
    display: none;
  }

/* スマホ表示対応：邪魔にならないよう右下に小さく配置するか、必要に応じて調整 */
@media (max-width: 599px) {
  section.hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 2. 画像ラッパーの横幅を100%にする */
  .hero_sp_img {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. 画像本体の横幅を100%いっぱいに引き伸ばす */
  .hero_sp_img img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .hero-badges .badge {
    padding: 6px 4px;
    height: 78px !important;
    width: 112px !important;
    line-height: 110%;
  }
    .page-top-btn {
    right: 8px;
    bottom: 16%;
    gap: 4px;
    display: none;
  }
  .page-top-btn .pt-line {
    height: 32px;
  }
  .page-top-btn .pt-text {
    font-size: 16px;
    letter-spacing: 1px;
  }
}

