:root {
  --color-main: #384bff;
  --color-sub: #8c2bff;
  --color-accent: #ff7a4e;
  --color-bg: #f5f4ff;
  --color-text: #222;
  --radius-card: 20px;
  --shadow-soft: 0 14px 40px rgba(16, 23, 75, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: #f9f9ff;
  line-height: 1.7;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(56, 75, 255, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

header.is-scrolled {
  box-shadow: 0 12px 40px rgba(34, 35, 90, 0.2);
  transform: translateY(-2px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #ffffff, #ffddc8 30%, #ff7a4e 60%, #8c2bff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-size: 0.9rem;
  font-weight: 700;
}

.logo-sub {
  font-size: 0.7rem;
  color: #555;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  font-size: 0.9rem; /* 0.8 → 少し大きく */
}

.header-nav a {
  position: relative;
  padding: 5px 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
  transition: width 0.2s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-main), var(--color-sub));
  color: #fff;
  box-shadow: 0 10px 24px rgba(61, 75, 255, 0.4);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* グラデーション（上）＋ 写真（下）を重ねる */
  background:
    linear-gradient(
      135deg,
      rgba(56, 75, 255, 0.8),
      rgba(140, 43, 255, 0.8)
    ),
    url("../img/hero-office.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: skewY(-3deg);
  transform-origin: top left;
}

.hero-inner {
  position: relative;
  padding: 72px 24px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.1rem; /* 燃料DXの帯を少し大きく */
}

.hero-badge span {
  background: #fff;
  color: var(--color-main);
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}

.hero h1 {
  margin-top: 18px;
  font-size: 4.0rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: #ffe9de;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero h1 span {
    white-space: normal;
  }
}

.hero-lead {
  margin-top: 14px;
  font-size: 1.5rem;
  max-width: 40rem;
}

.hero-lead strong {
  font-weight: 1000;
}

.hero-cta{
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; /* カードのgap(16px)に合わせる */
}

/* ボタンを各カラムいっぱいに */
.hero-cta a{
  width: 100%;
}


.hero-lead-line {
  display: block;
  white-space: nowrap;
}

/* スマホでは普通に折り返してOK */
@media (max-width: 720px) {
  .hero-lead-line {
    white-space: normal;
  }
}

.btn-primary,
.btn-outline,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb768, #ff7a4e);
  color: #2b1509;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-white {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  color: var(--color-main);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

/* エンドユーザー向け：濃いめくすみイエローボタン */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #f2c449, #e1a63a);
  color: #3b2500;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  opacity: 0.96;
}

.btn-large {
  padding: 13px 26px;
  font-size: 1.5rem;
}

.hero-metrics {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.hero-metric {
  flex: 1 1 150px;
  background: rgba(16, 20, 75, 0.7);
  border-radius: 16px;
  padding: 10px 12px;
}

/* ヒーロー内 2枚カード用の調整 */
.hero-metrics-dual {
  font-size: 1.3rem;
  gap: 16px;
  width: 100%;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
}

.hero-metrics-dual .hero-metric {
  flex: 1 1 0;
  min-width: 0; /* 幅を1/2ずつきっちり分ける */
  border-radius: 18px;
  padding: 14px 16px 12px;
  color: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

/* 燃料販売店さまカード */
.hero-metric-dealer {
  background: linear-gradient(135deg, #ffb768, #ff7a4e);
  color: #2b1509;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* エンドユーザーさまカード */
.hero-metric-enduser {
  background: linear-gradient(135deg, #f2c449, #e1a63a);
  color: #3b2500;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

/* 削減系（約◯％削減・ゼロ・回収期間など） → 青字＋目立つ背景 */
.metric-num-down,
.metric-num-up {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05em;
}

/* 削減：青系 */
.metric-num-down {
  background: rgba(210, 234, 255, 0.95);
  color: #0b4fad;
}

/* 増加：赤系 */
.metric-num-up {
  background: rgba(255, 223, 229, 0.95);
  color: #c53030;
}

.hero-metric-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-metric-list {
  list-style: none;
  padding-left: 0;
}

.hero-metric-list li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* モデルケースの注意書き */
.hero-metric-caution {
  margin-top: 6px;
  font-size: 0.8rem; /* 0.7 → 少しUP */
  color: #000000;
  opacity: 0.9;
}

.hero-metric-label {
  opacity: 0.8;
}

.hero-metric-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-metric-note {
  font-size: 0.7rem;
  opacity: 0.9;
}

.hero-side {
  position: relative;
}

.hero-visual {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 60%);
  padding: 10px;
  border-radius: 26px;
}

.img-hero {
  min-height: 240px;
}

.hero-caption {
  margin-top: 10px;
  font-size: 0.8rem;
}

/* 画像プレースホルダ */

.img-box {
  border-radius: 20px;
  background: repeating-linear-gradient(
    135deg,
    #ffffff,
    #ffffff 8px,
    #f3f0ff 8px,
    #f3f0ff 16px
  );
  border: 1px solid rgba(185, 183, 255, 0.9);
  color: #5850b0;
  font-size: 0.8rem;
  text-align: center;
  padding: 32px 14px;
  box-shadow: 0 12px 30px rgba(44, 44, 112, 0.18);
}
/* 画像03 を YouTube に差し替える用 */
/* 事例カード内のYouTube埋め込み（画像と同じ枠に収める） */
.img-box.img-case {
  padding: 0;          /* 中の動画をめいっぱい入れるので余白はカット */
}

/* 実画像を入れる用の .img-box */
.img-box-photo {
  padding: 0;                     /* テキスト用の余白は消す */
  background: #ffffff;            /* ストライプ背景をオフにしたい場合 */
  color: inherit;
  display: block;
}

.img-box-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;            /* 枠と同じ角丸をそのまま画像にも適用 */
}

/* 実画像用の .img-box（しましま背景を消す） */
.img-box-photo {
  padding: 0;
  background: #ffffff;
  border: 1px solid #e0e4ff;
  box-shadow: 0 12px 30px rgba(44, 44, 112, 0.12);
}

/* contact用画像のサイズ調整 */
.img-box-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}



/* 導入イメージ内の YouTube 埋め込み用 */
.case-video {
  position: relative;
  width: 100%;
  height: 100%;     /* ← ここがポイント：親（img-box-photo）の高さに合わせる */
}

.case-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}



.img-case {
  min-height: 140px;
}

.img-contact {
  min-height: 160px;
}

/* SECTIONS 共通 */

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222864;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  font-size: 1.6rem; /* 1.5 → 少しUP */
  color: #555;
  margin-bottom: 28px;
}

/* ENTRY */

.section-entry {
  background: linear-gradient(90deg, #ffffff 0, #f0f3ff 50%, #ffffff 100%);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.entry-card {
  border-radius: 28px;
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.entry-card-left {
  /* 燃料販売店：オレンジ（ヒーローの色に合わせる） */
  background: linear-gradient(135deg, #ffb768, #ff7a4e);
}

.entry-card-right {
  /* エンドユーザー：イエロー（ヒーローの色に合わせる） */
  background: linear-gradient(135deg, #f2c449, #e1a63a);
}

/* ボタンの文字色もカードに合わせて統一（任意だけどおすすめ） */
.entry-card-left .btn-white {
  color: #7a2a16;
}

.entry-card-right .btn-white {
  color: #5a3a00;
}

.entry-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  right: -40px;
  bottom: -40px;
}

.entry-label {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.5rem;
}

.entry-label-sub {
  background: rgba(255, 255, 255, 0.22);
}

.entry-heading {
  margin-top: 10px;
  font-size: 1.25rem; /* 1.1 → UP */
  font-weight: 800;
}

.entry-text {
  margin-top: 10px;
  font-size: 1.05rem; /* 1.0 → UP */
  max-width: none;
}

.entry-card .btn-white {
  margin-top: 14px;
}

/* SPLIT (dealer / enduser) */

.section-split {
  background: #ffffff;
}

.section-split-alt {
  background: #f4f3ff;
}

.split-heading {
  text-align: center;
}

.split-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
}

.split-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 10px 32px rgba(111, 126, 255, 0.14);
  font-size: 1.2rem;
}

.split-box-accent {
  border: 1px solid rgba(255, 122, 78, 0.3);
  background: radial-gradient(circle at top left, #fff6ee, #ffffff 55%);
}

.split-title {
  font-size: 1.6rem; /* 1.5 → UP */
  margin-bottom: 8px;
  color: #283075;
}

.split-list {
  padding-left: 1.1em;
}

.split-list li {
  margin-bottom: 6px;
}

.split-note {
  margin-top: 10px;
  font-size: 1.2rem; /* 0.8 → UP */

}

/* SOLUTION */

.section-solution {
  background: linear-gradient(180deg, #f4f3ff, #ffffff);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.solution-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 5px 18px rgba(76, 80, 144, 0.14);
  font-size: 1.3rem; /* 0.86 → UP */
  margin-bottom: 8px;
}

.solution-step-label {
  display: inline-block;
  font-size: 1.0rem; /* 0.72 → UP */
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 4px;
}

.solution-grid{
  align-items: stretch; /* 右のSTEP群を左画像と同じ高さに伸ばす */
}

/* 左の構成図と右のSTEP群の高さを揃える */
.solution-visual,
.solution-steps{
  height: 100%;
}

.solution-visual .img-box-photo{
  height: 100%;
}

.solution-visual .img-box-photo img{
  height: 100%;
  object-fit: contain; /* 切らずに枠内へ */
}

.solution-steps{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-steps .solution-step{
  margin-bottom: 0;  /* gapで管理 */
  flex: 1;           /* 3枚を均等配分して高さを揃える */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CASE */

.section-case {
  background: #ffffff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 14px 18px;
  box-shadow: 0 10px 28px rgba(104, 108, 170, 0.16);
  font-size: 1.2rem; /* 0.86 → UP */
}

/* 導入イメージ（モデルケース）の写真サイズをそろえる */
.case-card .img-box-photo {
  aspect-ratio: 4 / 3;     /* 縦横比を4:3で固定 */
  overflow: hidden;        /* はみ出した部分は隠す */
}

.case-card .img-box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 枠いっぱいに表示しつつ、余った部分はトリミング */
  border-radius: 20px;
}


.case-tag {
  font-size: 0.9rem; /* 0.75 → UP */
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf0ff;
  color: var(--color-main);
  margin-bottom: 6px;
}

.case-title {
  margin-top: 8px;
  font-weight: 700;
  color: #222864;
}

.case-text {
  margin-top: 4px;
}

/* FLOW */

.section-flow {
  background: radial-gradient(circle at top, #f2f3ff, #ffffff 55%);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  font-size: 1.2rem; /* 0.86 → UP */
}

.flow-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 10px;
  box-shadow: 0 8px 24px rgba(57, 62, 130, 0.16);
}

.flow-num {
  display: inline-block;
  font-size: 1.2rem; /* 0.72 → UP */
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 4px;
}

.flow-step h3 {
  font-size: 1.0rem; /* 0.9 → UP */
  margin-bottom: 4px;
}

/* FAQ */

.section-faq {
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 16px;
  background: #f6f6ff;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(79, 81, 144, 0.14);
}

.faq-item-header {
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-q {
  font-size: 1.2rem; /* 0.9 → UP */
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  padding: 0 14px;
  font-size: 1.2rem; /* 0.86 → UP */
  color: #444;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-answer p {
  padding-bottom: 10px;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 14px 10px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* CONTACT */

.section-contact {
  background: linear-gradient(180deg, #ffffff, #f7f2ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-text {
  font-size: 1.3rem; /* 0.9 → UP */
}

.contact-text p {
  margin-bottom: 12px;
}

.contact-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 16px 20px;
  box-shadow: 0 12px 32px rgba(86, 87, 150, 0.24);

}

.field {
  margin-bottom: 10px;

}

label {
  display: block;
  font-size: 1.3rem; /* 0.8 → UP */
  margin-bottom: 3px;
}

.required {
  font-size: 0.8rem; /* 0.7 → UP */
  color: #e02424;
  margin-left: 4px;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccd2ff;
  padding: 8px 9px;
  font-size: 0.95rem; /* 0.86 → UP */
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
}

/* FOOTER */

footer {
  background: #141524;
  color: #f7f7ff;
  padding: 18px 0;
  font-size: 0.9rem; /* 0.8 → UP */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-logo {
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-info {
  font-size: 0.85rem; /* 0.76 → UP */
  color: #cfd0ff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-link {
  text-decoration: underline;
}

.footer-divider {
  opacity: 0.6;
}

/* Scroll effect */

.js-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* TOP BUTTON */

.to-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--color-main), var(--color-sub));
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(40, 44, 120, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  /* ヒーローの余白を少しコンパクトに */
  .hero-inner {
    padding: 62px 16px 72px;
  }

  /* ここは元のまま残してOK（タブレットで1カラム化） */
  .solution-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav ul {
    gap: 10px;
    font-size: 0.8rem;
  }
}


@media (max-width: 720px) {
  /* 燃料DX → 燃料 にスマホのみ変更 */
  .hero-badge-label::after {
    content: "to";
  }
  .hero-badge-label {
    font-size: 0;
  }
  .hero-badge-label::before {
    content: "燃料";
    font-size: 1.1rem;
  }

  /* タイトルのスラッシュ改行 */
  .title-break-mobile {
    white-space: pre-line;
  }

  /* エントリーセクションのサブタイトルを左揃え・改行なし */
  .section-subtitle-entry {
    text-align: left;
    white-space: normal;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

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

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

  .hero-cta{
    grid-template-columns: 1fr;
  }

  .hero-metrics-dual {
    flex-direction: column;
    gap: 12px;
  }

  .hero-metrics-dual .hero-metric {
    width: 100%;
  }

  .entry-grid,
  .split-grid,
  .flow-steps,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .header-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav ul {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .contact-grid {
    gap: 18px;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .section-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .entry-label {
    font-size: 1.1rem;
  }

  .entry-heading {
    font-size: 1.15rem;
  }

  .entry-text {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-yellow,
  .btn-white {
    font-size: 1.1rem;
    padding: 10px 18px;
  }

  .btn-simulate-hero {
    font-size: 1.4rem;
    min-height: 60px;
    padding: 14px 22px;
  }

  .split-box {
    font-size: 1.0rem;
  }

  .split-title {
    font-size: 1.3rem;
  }

  .case-card {
    font-size: 1.0rem;
  }

  .faq-q {
    font-size: 1.0rem;
  }

  .faq-answer {
    font-size: 1.0rem;
  }

  .contact-text {
    font-size: 1.1rem;
  }

  label {
    font-size: 1.1rem;
  }
}

/* =========================
   セクション背景に写真をうっすら敷く
   ========================= */

/* 「どちらの立場でも導入価値があります」(#entry) */
#entry.section-entry {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/tank.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 「燃料販売店さま向け｜パトロール給油の配送効率【無料診断】」(#dealer-lp) */
#dealer-lp.section-split {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/sanshin_car.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 「エンドユーザーさま向け｜スマートタンク導入効果【無料診断】」(#enduser-lp) */
#enduser-lp.section-split-alt {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/kyuuyu.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 「エンドユーザーさま向け｜スマートタンク導入効果【無料診断】」(#enduser-lp) */
#flow.section-flow{
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/handshake.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* 「エンドユーザーさま向け｜スマートタンク導入効果【無料診断】」(#enduser-lp) */
#faq.section-faq{
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/QA.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 「エンドユーザーさま向け｜スマートタンク導入効果【無料診断】」(#enduser-lp) */
#contact.section-contact{
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/meeting.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* 「エンドユーザーさま向け｜スマートタンク導入効果【無料診断】」(#enduser-lp) */
#solution.section-solution{
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(244, 243, 255, 0.90),
      rgba(255, 255, 255, 0.90)
    ),
    url("../img/ITdata.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}





/* ===== HERO CTAを“ボタンに見せる”強化（ヒーロー内だけ） ===== */
.hero-cta{
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}

/* ヒーロー内CTAだけ、白ベース＋色枠で“カードと別物”にする */
.hero-cta .btn-primary,
.hero-cta .btn-yellow{
  position: relative;
  min-height: 64px;            /* 押せそうな“面積” */
  border: 2px solid rgba(255,255,255,0.75);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  letter-spacing: .02em;
}

/* 配色：中身は白、枠色で意味分け */
.hero-cta .btn-primary{
  background: rgba(255,255,255,0.96);
  color: #7a2a16;
  border-color: rgba(255,183,104,0.95);
}

.hero-cta .btn-yellow{
  background: rgba(255,255,255,0.96);
  color: #5a3a00;
  border-color: rgba(242,196,73,0.95);
}

/* “押せる”を伝える矢印 */
.hero-cta a::after{
  content: "›";
  font-size: 1.7em;
  line-height: 1;
  margin-left: 12px;
  opacity: 0.95;
}

/* ホバー/押下の反応（ボタン感の決め手） */
.hero-cta a:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 65px rgba(0,0,0,0.55);
}
.hero-cta a:active{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.40);
}

/* キーボード操作でも“今ここ”が分かる */
.hero-cta a:focus-visible{
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 3px;
}

/* ===== CTA背面の半透明パネルを撤去 ===== */
.hero-cta{
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===== ボタンを数値カード寄りの配色に ===== */
.hero-cta .btn-primary,
.hero-cta .btn-yellow{
  position: relative;
  min-height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  letter-spacing: .02em;
  color: #1d120c;            /* 白文字だと沈みやすいので濃色推奨 */
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  overflow: hidden;          /* 内側のハイライト用 */
}

/* 左：燃料販売店（オレンジ系＝数値カード寄り） */
.hero-cta .btn-primary{
  background: linear-gradient(135deg, #ff9963, #ff6b5d);
}

/* 右：エンドユーザー（イエロー系＝数値カード寄り） */
.hero-cta .btn-yellow{
  background: linear-gradient(135deg, #f2c44a, #e6ad2d);
}

/* “押せる面”感：上部に薄いハイライトを入れる */
.hero-cta a::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
  pointer-events: none;
}

/* “押せる”を伝える矢印 */
.hero-cta a::after{
  content: "›";
  font-size: 1.7em;
  line-height: 1;
  margin-left: 12px;
  opacity: 0.95;
}

/* 反応（ここがボタン感の肝） */
.hero-cta a:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 65px rgba(0,0,0,0.55);
  filter: saturate(1.05);
}
.hero-cta a:active{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.40);
}

/* フォーカス可視化 */
.hero-cta a:focus-visible{
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 3px;
}

/* ===== キラッと“ボタン感”を強化（ヒーロー内CTAのみ） ===== */
.hero-cta .btn-primary,
.hero-cta .btn-yellow{
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.50);

  /* 立体感：外側＋内側 */
  box-shadow:
    0 18px 55px rgba(0,0,0,0.45),
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -10px 18px rgba(0,0,0,0.18);

  color: #1d120c;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}

/* 数値カード寄りの色は維持しつつ、“微細なきらきら”を背景に混ぜる */
.hero-cta .btn-primary{
  background-image:
    linear-gradient(135deg, #ff9963, #ff6b5d),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 45%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 55% 80%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);
}

.hero-cta .btn-yellow{
  background-image:
    linear-gradient(135deg, #f2c44a, #e6ad2d),
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);
}

/* “反射が流れる”＝一気にボタンっぽくなる */
.hero-cta a::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.75) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: ctaShine 2.6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes ctaShine{
  0%   { left: -90%; opacity: 0.0; }
  15%  { opacity: 1.0; }
  55%  { left: 130%; opacity: 0.9; }
  100% { left: 130%; opacity: 0.0; }
}

/* 矢印（押せる誘導） */
.hero-cta a::after{
  content: "›";
  font-size: 1.7em;
  line-height: 1;
  margin-left: 12px;
  opacity: 0.95;
}

/* 反応は強めに（ボタン感の決め手） */
.hero-cta a:hover{
  transform: translateY(-3px);
  box-shadow:
    0 22px 65px rgba(0,0,0,0.55),
    inset 0 2px 0 rgba(255,255,255,0.40),
    inset 0 -10px 18px rgba(0,0,0,0.16);
  filter: saturate(1.08) brightness(1.03);
}
.hero-cta a:active{
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(0.98);
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .hero-cta a::before{ animation: none; }
}

/* ===== ENTRYカード内の文字色を黒に（読みやすさ優先） ===== */
.entry-card-left,
.entry-card-right{
  color: #1d120c;            /* 真っ黒より少し柔らかい黒 */
  text-shadow: none;         /* 白背景想定の影があれば消す */
}

/* 見出しや箇条書きも確実に黒へ */
.entry-card-left h1, .entry-card-left h2, .entry-card-left h3,
.entry-card-right h1, .entry-card-right h2, .entry-card-right h3,
.entry-card-left p,  .entry-card-right p,
.entry-card-left li, .entry-card-right li,
.entry-card-left small, .entry-card-right small{
  color: #1d120c;
}

/* ===== ENTRYカードのbtn-whiteを、ヒーローの“キラッ”ボタンと同デザインに ===== */
.entry-card .btn-white{
  position: relative;
  overflow: hidden;
  min-height: 64px;
  border-radius: 999px;

  /* 白ボタン設定を上書き */
  border: 2px solid rgba(0,0,0,0.55);
  color: #1d120c;                 /* 読みやすい濃色 */
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);

  /* 立体感：外＋内 */
  box-shadow:
    0 18px 55px rgba(0,0,0,0.35),
    inset 0 2px 0 rgba(255,255,255,0.40),
    inset 0 -10px 18px rgba(0,0,0,0.14);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* 左カード（燃料販売店）：オレンジ系 */
.entry-card-left .btn-white{
  background-image:
    linear-gradient(135deg, #ffb768, #ff7a4e),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);
}

/* 右カード（エンドユーザー）：イエロー系 */
.entry-card-right .btn-white{
  background-image:
    linear-gradient(135deg, #f2c449, #e1a63a),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);
}

/* 反射が流れる */
.entry-card .btn-white::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: entryShine 2.8s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes entryShine{
  0%   { left: -90%; opacity: 0.0; }
  15%  { opacity: 1.0; }
  55%  { left: 130%; opacity: 0.9; }
  100% { left: 130%; opacity: 0.0; }
}

/* 矢印で“押せる”を強化 */
.entry-card .btn-white::after{
  content: "›";
  font-size: 1.7em;
  line-height: 1;
  margin-left: 12px;
  opacity: 0.95;
}

/* ホバー/押下 */
.entry-card .btn-white:hover{
  transform: translateY(-3px);
  box-shadow:
    0 22px 65px rgba(0,0,0,0.45),
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -10px 18px rgba(0,0,0,0.12);
  filter: saturate(1.06) brightness(1.02);
}
.entry-card .btn-white:active{
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(0.98);
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .entry-card .btn-white::before{ animation: none; }
}

/* ===== dealer-lp の左右カードを逆にする ===== */
#dealer-lp .split-grid > .split-box{
  order: 2; /* 左の“お悩み”を後ろへ */
}

#dealer-lp .split-grid > .split-box.split-box-accent{
  order: 1; /* 右の“シミュレーション”を先頭へ */
}

/* ===== スプリットカード内のCTAを“キラキラボタン”に（このカードだけ） ===== */
.section-split .split-box-accent .btn-primary{
  position: relative;
  overflow: hidden;

  /* ボタン感（立体） */
  border: 2px solid rgba(0,0,0,0.35); /* 黒フチ */
  box-shadow:
    0 18px 55px rgba(0,0,0,0.35),
    inset 0 2px 0 rgba(255,255,255,0.40),
    inset 0 -10px 18px rgba(0,0,0,0.14);

  /* きらきら粒＋グラデ */
  background-image:
    linear-gradient(135deg, #ef4c30, hwb(14 5% 15%)),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* 反射が流れる */
.section-split .split-box-accent .btn-primary::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: splitCtaShine 2.8s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes splitCtaShine{
  0%   { left: -90%; opacity: 0.0; }
  15%  { opacity: 1.0; }
  55%  { left: 130%; opacity: 0.9; }
  100% { left: 130%; opacity: 0.0; }
}

/* ホバー/押下 */
.section-split .split-box-accent .btn-primary:hover{
  transform: translateY(-3px);
  box-shadow:
    0 22px 65px rgba(0,0,0,0.45),
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -10px 18px rgba(0,0,0,0.12);
  filter: saturate(1.06) brightness(1.02);
}
.section-split .split-box-accent .btn-primary:active{
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(0.98);
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .section-split .split-box-accent .btn-primary::before{ animation: none; }
}





/* ===== HERO：中央の大きい「今すぐシミュレーション」ボタン ===== */
.hero-cta-main{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn-simulate-hero{
  position: relative;
  overflow: hidden;

  width: min(640px, 100%);
  min-height: 72px;
  padding: 16px 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.35); /* 黒フチ */
  color: #1d120c;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .02em;

  /* オレンジ→イエローで“主ボタン感” */
  background-image:
    linear-gradient(135deg, #ef4c30, hwb(14 5% 15%)),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,0.38) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,0.30) 0 1.5px, transparent 3px),
    radial-gradient(circle at 52% 78%, rgba(255,255,255,0.22) 0 1.5px, transparent 3px);

  box-shadow:
    0 22px 70px rgba(0,0,0,0.50),
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -12px 20px rgba(0,0,0,0.16);

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* 反射が流れる（キラキラの主役） */
.btn-simulate-hero::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: rotate(12deg);
  animation: heroSimShine 2.6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes heroSimShine{
  0%   { left: -90%; opacity: 0.0; }
  15%  { opacity: 1.0; }
  55%  { left: 130%; opacity: 0.9; }
  100% { left: 130%; opacity: 0.0; }
}

/* 「押せる」を強める矢印 */
.btn-simulate-hero::after{
  content: "›";
  font-size: 1.9em;
  line-height: 1;
  opacity: 0.95;
  margin-left: 6px;
}

/* ホバー/押下 */
.btn-simulate-hero:hover{
  transform: translateY(-3px);
  filter: saturate(1.08) brightness(1.03);
  box-shadow:
    0 26px 85px rgba(0,0,0,0.60),
    inset 0 2px 0 rgba(255,255,255,0.50),
    inset 0 -12px 20px rgba(0,0,0,0.14);
}

.btn-simulate-hero:active{
  transform: translateY(-1px);
  filter: saturate(1.02) brightness(0.99);
}

.btn-simulate-hero:focus-visible{
  outline: 3px solid rgba(255,255,255,0.95);
  outline-offset: 3px;
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .btn-simulate-hero::before{ animation: none; }
}

/* ===== dealer-lp：カードをENTRYのオレンジと同じ感じに ===== */
#dealer-lp .split-box{
  background-image:
    linear-gradient(135deg, #ffb768, #ff7a4e),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,0.18) 0 120px, transparent 130px);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 16px 44px rgba(0,0,0,0.18);
  color: #1d120c;
}

/* 見出しも黒に統一（青のままだと浮くので） */
#dealer-lp .split-title{
  color: #1d120c;
}

/* ===== enduser-lp：カードを添付の黄色（エンドユーザーのカード色）に揃える ===== */
#enduser-lp .split-box{
  background-image:
    linear-gradient(135deg, #f2c449, #e1a63a),
    radial-gradient(circle at 82% 85%, rgba(255,255,255,0.18) 0 120px, transparent 130px);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 16px 44px rgba(0,0,0,0.18);
  color: #1d120c;
}

/* 見出しの色も黒に寄せる（青のままだと浮くので） */
#enduser-lp .split-title{
  color: #1d120c;
}

/* 右側の“アクセントカード”だけ、少しだけ濃くして主役感（任意） */
#enduser-lp .split-box-accent{
  background-image:
    linear-gradient(135deg, #f2c449, #d99a2c),
    radial-gradient(circle at 82% 85%, rgba(255,255,255,0.18) 0 120px, transparent 130px);
  border: 1px solid rgba(0,0,0,0.16);
}

/* =========================
   Utilities: break control / nowrap
   ========================= */
.br-pc{ display:inline; }
.br-sp{ display:none; }
.nowrap{ white-space:nowrap; }

@media (max-width: 960px){
  .br-pc{ display:none; }
  .br-sp{ display:inline; }
}

/* PCでは.br-spを非表示に */
@media (min-width: 961px){
  .br-sp{ display:none; }
}

/* =========================
   Fix: Hero metric cards (mobile-friendly alignment)
   ========================= */
.hero-metric-list{
  margin: 0;
  padding: 0;
}

.hero-metric-list li{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.hero-metric-list .metric-label{
  flex: 1 1 62%;
  min-width: 0;
  font-weight: 700;
}

.hero-metric-list .metric-value{
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 720px){
  .hero-metrics-dual{ font-size: 1.15rem; }
  .hero-metric-title{ font-size: 0.95rem; }
  .hero-metric-list .metric-label{ flex-basis: 60%; }
  .hero-metric-list .metric-value{ font-size: 1.05em; }
}

/* =========================
   Fix: Contact subtitle alignment (only this section)
   ========================= */
.section-contact .section-subtitle{
  text-align: left;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   Professional Responsive Design (Option 2)
   with Fluid Typography using clamp()
   PC display remains unchanged (961px+)
   ========================= */

/* ===== HERO SECTION - MOBILE OPTIMIZATIONS ===== */

/* 燃料DX を2行表示（スマホのみ） */
@media (max-width: 960px) {
  .badge-line {
    display: block;
    white-space: nowrap; /* 「燃料」を1行に保つ */
  }
}

/* PCでは通常表示 */
@media (min-width: 961px) {
  .badge-line {
    display: inline;
  }
}

/* H1の3行表示 */
@media (max-width: 960px) {
  .hero h1 {
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    line-height: 1.3;
  }
  
  .h1-line {
    display: block;
  }
  
  .h1-highlight {
    color: #ffe9de;
    font-weight: 900;
  }
}

/* Hero Lead の改行調整 */
@media (max-width: 960px) {
  .hero-lead {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    line-height: 1.6;
  }
  
  .hero-lead-line {
    display: block;
  }
}

/* ===== ENTRY SECTION ===== */

/* どちらの立場でも/導入価値があります */
@media (max-width: 960px) {
  .section-entry .section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    line-height: 1.4;
  }
  

}

/* サブタイトルを左揃え */
@media (max-width: 960px) {
  .section-entry .section-subtitle {
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    line-height: 1.6;
  }
  
  .section-entry .section-subtitle br {
    display: none;
  }
}

/* ===== DEALER-LP & ENDUSER-LP SECTIONS ===== */

/* タイトルを左揃え、文字サイズ調整 */
@media (max-width: 960px) {
  #dealer-lp .section-title,
  #enduser-lp .section-title {
    text-align: left;
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    line-height: 1.4;
  }
  
  /* タイトルを3行表示 */
  .title-line {
    display: block;
  }
  
  #dealer-lp .section-subtitle,
  #enduser-lp .section-subtitle {
    text-align: left;
    font-size: clamp(0.95rem, 2.3vw, 1.6rem);
    line-height: 1.6;
  }
  
  #dealer-lp .section-subtitle br,
  #enduser-lp .section-subtitle br {
    display: none;
  }
}

/* PCではタイトル行を通常表示 */
@media (min-width: 961px) {
  .title-line {
    display: inline;
  }
}

/* ===== SOLUTION & CASE & FLOW SECTIONS ===== */

@media (max-width: 960px) {
  #solution .section-title,
  #case .section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    line-height: 1.4;
  }
  

  
  #solution .section-subtitle,
  #case .section-subtitle,
  #flow .section-subtitle {
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    line-height: 1.6;
  }
  
  #solution .section-subtitle br,
  #case .section-subtitle br,
  #flow .section-subtitle br {
    display: none;
  }
}

/* ===== FLUID TYPOGRAPHY FOR ALL SECTIONS ===== */

@media (max-width: 960px) {
  /* Section Titles - 汎用 */
  .section-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  }
  
  /* Section Subtitles - 汎用 */
  .section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
  }
  
  /* Split Box Titles */
  .split-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  }
  
  /* Split Box Content */
  .split-box {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  }
  
  /* Case Cards */
  .case-card {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  }
  
  /* FAQ */
  .faq-q {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  }
  
  .faq-answer {
    font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  }
  
  /* Contact */
  .contact-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
  }
  
  /* Buttons */
  .btn-primary,
  .btn-yellow,
  .btn-white {
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    padding: clamp(10px, 2vw, 16px) clamp(18px, 3.5vw, 28px);
  }
  
  .btn-simulate-hero {
    font-size: clamp(1.3rem, 3.5vw, 1.9rem);
    min-height: clamp(56px, 12vw, 72px);
    padding: clamp(12px, 3vw, 16px) clamp(20px, 4vw, 28px);
  }
  
  /* Spacing */
  .section {
    padding: clamp(2.5rem, 7vw, 5rem) 0;
  }
  
  .inner {
    padding: 0 clamp(16px, 4vw, 24px);
  }
}

/* ===== BREAKPOINT: 超小型スマホ (375px以下) ===== */

@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
  }
  
  .hero-badge {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .btn-simulate-hero {
    font-size: 1.3rem;
    min-height: 56px;
  }
}

/* ===== BREAKPOINT: 標準スマホ (376px - 430px) ===== */
/* iPhone 12 (390px), iPhone 13/14 (390px), iPhone 14 Plus (428px) 対応 */

@media (min-width: 376px) and (max-width: 430px) {
  .hero h1 {
    font-size: clamp(1.9rem, 5.5vw, 2.2rem);
  }
  
  .section-title {
    font-size: clamp(1.6rem, 4.5vw, 1.8rem);
  }
  
  /* 燃料販売店・エンドユーザー向けタイトルをさらに小さく */
  #dealer-lp .section-title,
  #enduser-lp .section-title {
    font-size: clamp(1.15rem, 3.5vw, 1.4rem);
    line-height: 1.35;
  }
  
  /* お問い合わせテキストのサイズ調整 */
  .contact-text {
    font-size: clamp(0.95rem, 2.3vw, 1.1rem);
    line-height: 1.7;
  }
}

/* ===== BREAKPOINT: 大型スマホ (431px - 720px) ===== */

@media (min-width: 431px) and (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  
  .section-title {
    font-size: clamp(1.7rem, 4.5vw, 2rem);
  }
  
  .hero-lead {
    font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  }
}

/* ===== BREAKPOINT: タブレット (721px - 960px) ===== */

@media (min-width: 721px) and (max-width: 960px) {
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 2.3rem);
  }
  
  .section-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  }
}

/* =========================
   iPhone 12 Specific Optimizations (390px)
   ========================= */

/* 1. 燃料DXを横2行表示（縦3行にならないように） */
@media (max-width: 430px) {
  .badge-line {
    display: inline-block;
    white-space: nowrap;
  }
  
  .badge-line:first-child::after {
    content: "\A";
    white-space: pre;
  }
}

/* 2. 燃料販売店向けタイトルを強制3行表示 */
@media (max-width: 430px) {
  #dealer-lp .section-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  #dealer-lp .section-title .title-line {
    display: block;
  }
}

/* 3. エンドユーザー向けタイトルを強制3行表示 */
@media (max-width: 430px) {
  #enduser-lp .section-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  #enduser-lp .section-title .title-line {
    display: block;
  }
}

/* 4. スラッシュ改行の表示制御 */
.br-sp {
  display: none;
}

@media (max-width: 430px) {
  .br-sp {
    display: inline;
  }
}

/* 5. お問い合わせテキストの改行 */
@media (max-width: 430px) {
  .contact-line {
    display: block;
  }
}

/* =========================
   PC Display: 2-line Title Layout
   燃料販売店・エンドユーザー向けタイトルを2行表示
   ========================= */

@media (min-width: 961px) {
  /* 【かんたんシミュレーション】を2行目に配置 */
  #dealer-lp .section-title .title-line:nth-child(3),
  #enduser-lp .section-title .title-line:nth-child(3) {
    display: block;
  }
}