/* ============================================
   アップ・フィールド・ブラザーズ
   共通スタイルシート
   ============================================ */

/* ---- CSS変数（色・サイズ） ---- */
:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #132a43;
  --color-primary-light: #2e5a87;
  --color-accent: #ff6b35;
  --color-accent-dark: #e55520;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-bg-accent: #fff5f0;
  --color-border: #e5e7eb;
  --color-success: #10b981;

  --font-jp: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;

  --container: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.12);

  --transition: all .25s ease;
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- 共通パーツ ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
}
.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.section__lead {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
  margin: 0 auto;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,.45);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn--outline-white:hover {
  background: #fff;
  color: var(--color-primary);
}
.btn--lg { padding: 20px 40px; font-size: 17px; }
.btn--block { width: 100%; }

.btn-arrow::after {
  content: '→';
  transition: transform .2s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  color: var(--color-primary);
  text-decoration: none;
}
.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
}
.site-logo__sub-inline {
  font-size: 11px;
  color: var(--color-text-light);
  font-weight: 500;
  line-height: 1.2;
  display: block;
  margin-top: 2px;
}
@media (max-width: 600px) {
  .site-logo__img { height: 32px; }
  .site-logo__sub-inline { display: none; }
}
.footer-brand .site-logo {
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
  gap: 0;
}
.footer-brand .site-logo__img {
  height: 36px;
}
.footer-brand .site-logo__sub-inline {
  display: none;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.global-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: color .2s;
}
.global-nav a:hover { color: var(--color-accent); }
.global-nav .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  color: var(--color-primary);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: var(--transition);
}

/* ---- ヒーローセクション ---- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 60%, #ffe8dc 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,.12), transparent 70%);
  border-radius: 50%;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.hero__tag {
  display: inline-block;
  background: rgba(26,58,92,.08);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}
.hero__sub {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.9;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__note {
  font-size: 13px;
  color: var(--color-text-light);
  display: flex; gap: 8px; align-items: center;
}
.hero__note::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 900;
}

.hero__badges {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__badge {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 140px;
}
.hero__badge-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}
.hero__badge-label {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
}
.hero__visual-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
}
.hero__visual-box::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 80px; height: 80px;
  background: var(--color-accent);
  border-radius: 20px;
  z-index: -1;
  opacity: .2;
}

/* ---- お悩みセクション ---- */
.problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.problem-item {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}
.problem-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.problem-item__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--color-bg-accent);
  color: var(--color-accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 13px;
  margin-top: 2px;
}
.problem-item__text {
  font-size: 15px;
  line-height: 1.7;
}

.problems-conclusion {
  text-align: center;
  margin-top: 48px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-primary);
}
.problems-conclusion em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(255,107,53,.35) 60%);
}

/* ---- 強みセクション ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.feature-card__num {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}
.feature-card__icon {
  width: 56px; height: 56px;
  background: var(--color-bg-accent);
  color: var(--color-accent);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.5;
}
.feature-card__text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* ---- サービスカード ---- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.service-card__icon {
  width: 48px; height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--color-primary);
}
.service-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}
.service-card__link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
}
.service-card__link::after {
  content: '→';
  margin-left: 6px;
  transition: transform .2s;
  display: inline-block;
}
.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* ---- 料金プラン ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.plan--featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.plan--featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.plan__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.plan__catch {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  min-height: 42px;
}
.plan__price {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  margin-bottom: 28px;
}
.plan__price-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.plan__price-unit {
  font-size: 16px;
  color: var(--color-text-light);
  margin-left: 4px;
}
.plan__price-note {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 6px;
}
.plan__features {
  margin-bottom: 28px;
}
.plan__features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px dashed var(--color-border);
}
.plan__features li:last-child { border-bottom: none; }
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 15px; height: 15px;
  background-color: var(--color-success);
  -webkit-mask: var(--check-mask) no-repeat center / contain;
  mask: var(--check-mask) no-repeat center / contain;
}

.spot-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  max-width: 920px;
  margin: 32px auto 0;
  border: 1px dashed var(--color-border);
}
.spot-box__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.spot-box__text {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 14px;
}

/* ---- ご利用の流れ ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 24px 24px;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
}
.step__num {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(255,107,53,.4);
}
.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.step__text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---- 事例カード ---- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-card__img {
  height: 160px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: grid; place-items: center;
  font-size: 42px;
}
.case-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-card__tag {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.case-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.6;
}
.case-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 16px;
}

/* ---- お客様の声 ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px; left: 20px;
  font-size: 80px;
  color: var(--color-accent);
  opacity: .15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial__text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
  position: relative;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.testimonial__name {
  font-weight: 700;
  font-size: 14px;
}
.testimonial__role {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ---- FAQ ---- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.faq__q {
  padding: 20px 24px 20px 60px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--color-primary);
  line-height: 1.6;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: 'Q';
  position: absolute;
  left: 20px; top: 18px;
  width: 28px; height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 900;
}
.faq__q::after {
  content: '+';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-accent);
  transition: transform .25s;
}
.faq__item[open] .faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__a {
  padding: 0 24px 20px 60px;
  color: var(--color-text-light);
  line-height: 1.9;
  font-size: 15px;
  position: relative;
}
.faq__a::before {
  content: 'A';
  position: absolute;
  left: 20px; top: -4px;
  width: 28px; height: 28px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 900;
}

/* ---- CTAセクション ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,.3), transparent 70%);
  border-radius: 50%;
}
.cta-section__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  line-height: 1.5;
}
.cta-section__text {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 36px;
  position: relative;
  line-height: 1.9;
}
.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-section__contact {
  margin-top: 32px;
  font-size: 15px;
  opacity: .9;
  position: relative;
}
.cta-section__tel {
  font-size: 28px;
  font-weight: 900;
  margin-top: 6px;
}

/* ---- フッター ---- */
.site-footer {
  background: var(--color-primary-dark);
  color: #b8c5d3;
  padding: 64px 0 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .site-logo__text { color: #fff; }
.footer-brand__text {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 20px;
  color: #b8c5d3;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-col ul li a {
  color: #b8c5d3;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- ページヘッダー（下層ページ） ---- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 44px 24px 46px; /* 2026-09-30 80px から詰めた（帯が縦に大きすぎた） */
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,.25), transparent 70%);
  border-radius: 50%;
}
.page-header__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 6px;
  position: relative;
  line-height: 1.5;
}
.page-header__sub {
  font-size: 16px;
  opacity: .9;
  position: relative;
}
.breadcrumb {
  background: var(--color-bg-alt);
  padding: 14px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--color-border);
}
.breadcrumb a { color: var(--color-primary); font-weight: 600; }

/* ---- フォーム ---- */
.form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.form__group {
  margin-bottom: 24px;
}
.form__label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.form__label .required {
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}
.form__label .optional {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  background: #fff;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}
.form__textarea { min-height: 160px; resize: vertical; }
.form__checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.form__check:hover { border-color: var(--color-accent); }
.form__check input { accent-color: var(--color-accent); }
.form__submit {
  text-align: center;
  margin-top: 32px;
}
.form__agree {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-light);
}
.form__agree a { color: var(--color-accent); text-decoration: underline; }

/* ---- 記事本文風（サービス詳細等で使用） ---- */
.article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.6;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 36px 0 14px;
  line-height: 1.6;
}
.article-body p { margin-bottom: 20px; }
.article-body ul {
  margin-bottom: 20px;
  padding-left: 0;
}
.article-body ul li {
  padding: 8px 0 8px 28px;
  position: relative;
}
.article-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  color: var(--color-accent);
  font-weight: 900;
}
.article-body .info-box {
  background: var(--color-bg-accent);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-body th,
.article-body td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.article-body th {
  background: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-primary);
  width: 35%;
}

/* ---- モバイル対応 ---- */
@media (max-width: 960px) {
  .section { padding: 60px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cases { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .problems { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form { padding: 32px 24px; }
  .form__checks { grid-template-columns: 1fr; }

  .menu-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .global-nav .btn {
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .hero__badges { flex-direction: column; }
  .article-body th,
  .article-body td { display: block; width: 100%; padding: 10px 14px; }
  .article-body tr { border-bottom: 1px solid var(--color-border); }
}

/* ==========================================================================
   ご契約者向け サポートポータル導線
   ========================================================================== */
.global-nav .nav-portal {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
}
.global-nav .nav-portal::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  background-color: currentColor;
  opacity: .6;
  -webkit-mask: var(--lock-mask) no-repeat center / contain;
  mask: var(--lock-mask) no-repeat center / contain;
}
.global-nav .nav-portal:hover { color: var(--color-primary); }

.portal-band {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.portal-band__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  flex-wrap: wrap;
}
.portal-band__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.portal-band__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}
.portal-band__text strong { color: var(--color-text); font-weight: 700; }

.portal-box {
  max-width: 860px;
  margin: 0 auto 40px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.portal-box__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.portal-box__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}
.portal-box__text strong { color: var(--color-text); font-weight: 700; }
.portal-box .btn { white-space: nowrap; }

@media (max-width: 768px) {
  .portal-band__inner { flex-direction: column; text-align: center; }
  .portal-box { padding: 24px; }
  .portal-box .btn { width: 100%; }
}

/* ==========================================================================
   料金プラン 3カラム版
   ========================================================================== */
.plans--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  gap: 20px;
  align-items: stretch;
}
.plans--3 .plan {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
}
.plans--3 .plan__features { flex: 1 1 auto; }
.plans--3 .plan .btn { margin-top: auto; }
.plans--3 .plan__name { font-size: 18px; }
.plans--3 .plan__catch { font-size: 13px; margin-bottom: 18px; min-height: 40px; }
.plans--3 .plan__price-num { font-size: 34px; }
.plans--3 .plan__features li { font-size: 14px; padding: 9px 0 9px 24px; }
.plans--3 .plan__features li::before { top: 9px; }

.plan__target {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.plan--featured .plan__target {
  background: var(--color-bg-accent);
  color: var(--color-accent-dark);
}
.plan__features li strong { font-weight: 700; color: var(--color-text); }
.plan__note {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-light);
}
.plan--featured .plan__note { color: var(--color-accent-dark); font-weight: 700; }

@media (max-width: 900px) {
  .plans--3 { grid-template-columns: 1fr; max-width: 520px; }
  .plans--3 .plan__catch { min-height: 0; }
}

/* ==========================================================================
   アイコン
   ========================================================================== */
:root {
  --lock-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.4' y='10' width='15.2' height='10' rx='2.2'/%3E%3Cpath d='M7.9 10V7.2a4.1 4.1 0 0 1 8.2 0V10'/%3E%3C/svg%3E");
  --check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.6 12.4 4.9 4.9 9.9-10.8'/%3E%3C/svg%3E");
}

.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex: none;
  overflow: visible;
}
/* ボタン・見出しの中に置いたときの字送り */
.btn .ico,
.cta-section__contact .ico { margin-right: .5em; }

/* アイコン枠の中では、枠の font-size がそのままアイコンの大きさになる */
.service-card__icon .ico,
.feature-card__icon .ico { vertical-align: 0; }

/* 箇条書きの ✓ */
.problem-item__check .ico,
.check-line .ico { color: var(--color-success); }

/* 稼働中を示す小さな丸 */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(16,185,129,.16);
}

/* 「要相談」プランの価格表示（数字より一段小さく、行の高さを他と揃える） */
.plan__price-num--ask {
  font-size: 30px;
  letter-spacing: .04em;
}
.plans--3 .plan__price-num--ask { font-size: 26px; }

/* ==========================================================================
   ヘッダーの「サービス」ドロップダウン
   デスクトップ: ホバーで展開 / モバイル: 開いたメニュー内にそのまま並べる
   ========================================================================== */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop__trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop__caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .45;
  transition: transform .2s ease, opacity .2s ease;
}
/* トリガーとメニューの隙間でホバーが切れないよう橋を渡す */
.nav-drop::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 264px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop:hover .nav-drop__caret,
.nav-drop:focus-within .nav-drop__caret { transform: rotate(180deg); opacity: .8; }

.nav-drop__menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text);
}
.nav-drop__menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav-drop__menu a:first-child {
  color: var(--color-text-light);
  font-size: 12.5px;
  border-bottom: 1px solid var(--color-border);
  border-radius: 8px 8px 0 0;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .nav-drop { display: block; width: 100%; }
  .nav-drop__trigger {
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-drop__caret { display: none; }
  .nav-drop__menu {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0 0 0 14px;
    background: transparent; border: 0; box-shadow: none;
  }
  .nav-drop__menu a {
    width: 100%; padding: 11px 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 13px;
    color: var(--color-text-light);
    white-space: normal;
  }
  .nav-drop__menu a:first-child { margin-bottom: 0; border-radius: 0; }
}

/* --------------------------------------------------------------------------
   アイコン枠の色を確定させる
   追加CSS側の「テーマの赤リンク打ち消し（color: inherit !important）」が
   リンク内の要素に効いてしまい、濃紺の枠の中で濃紺のアイコンになって
   見えなくなるため、ここで打ち返す。!important を外さないこと。
   -------------------------------------------------------------------------- */
.service-card__icon,
.service-card__icon .ico { color: #fff !important; }
.feature-card__icon,
.feature-card__icon .ico { color: var(--color-accent) !important; }
.problem-item__check .ico { color: var(--color-success) !important; }

/* ==========================================================================
   WordPress の「追加CSS」から移したもの（2026-09-30）
   テーマの打ち消しは移していない。デザインとして意図のあるものだけ
   ========================================================================== */

/* 日本語の折り返し
   keep-all は日本語を句読点でしか折り返さず、カードの文章がガタガタになるので使わない。
   対応ブラウザ（Chrome / Edge）では文節単位で折り返す（auto-phrase）。
   Safari / Firefox は通常の折り返しになるだけで、崩れはしない */
body {
  line-break: strict;
  overflow-wrap: anywhere;
}
@supports (word-break: auto-phrase) {
  body { word-break: auto-phrase; }
}
h1, h2, h3, .section__lead, .page-header p { text-wrap: balance; }
/* p には text-wrap: pretty を付けない（auto-phrase と組むと「中／小企業」のように語の途中で折れた） */

/* お問い合わせフォームは 1 カラム全幅＋ご相談内容は 3 列 */
.contact-grid {
  grid-template-columns: 1fr !important;
  max-width: 860px !important; /* HTML 側の style="max-width:1080px" より優先させる */
  margin-left: auto;
  margin-right: auto;
}
.contact-grid > .form { max-width: none; width: 100%; }
.form__checks { grid-template-columns: repeat(3, 1fr); gap: 8px 12px; }
@media (max-width: 700px) {
  .form__checks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .form__checks { grid-template-columns: 1fr; }
}

/* 事例の対応実績グリッドを少し広げる */
article > div[style*="padding:40px"] > div[style*="grid-template-columns:repeat(auto-fit"] {
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)) !important;
}

/* ==========================================================================
   デザイン調整（2026-09-30、Vercel 移行時）
   WordPress の制約で手を入れられなかった箇所
   ========================================================================== */

/* カードの並びで最後の段に 1 枚だけ取り残されないようにする
   （:has で「ちょうど 4 枚」「ちょうど 5 枚」のときだけ効かせる） */
@media (min-width: 961px) {
  /* 選ばれる 4 つの理由: 3+1 → 2×2 */
  .features:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
  /* 提供サービス 5 枚: 3+2 の 2 段目を中央に寄せる */
  .services:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .services:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .services:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}

/* 本文リストの ✓ を、料金表と同じ SVG のチェックに揃える（文字の ✓ は OS で形が変わる） */
.article-body ul li::before {
  content: '';
  top: 13px;
  width: 15px; height: 15px;
  background-color: var(--color-accent);
  -webkit-mask: var(--check-mask) no-repeat center / contain;
  mask: var(--check-mask) no-repeat center / contain;
}
.hero__note::before {
  content: '';
  width: 13px; height: 13px;
  background-color: var(--color-success);
  -webkit-mask: var(--check-mask) no-repeat center / contain;
  mask: var(--check-mask) no-repeat center / contain;
}

/* トップの導入企業: 3 社を 1 段に並べる（以前は 2+1 で 1 枚取り残されていた） */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 960px) {
  .clients-grid { grid-template-columns: 1fr; max-width: 560px; }
}
/* ロゴ枠: height:48px 固定だとロゴ（32px）＋余白が収まらず上に貼り付いていた */
.clients-grid > a > div:first-child {
  height: auto !important;
  min-height: 72px;
  padding: 18px 24px !important;
}
.clients-grid > a > div:first-child img { height: 34px !important; }
.clients-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) !important; }

/* 製品名などを途中で折り返さない */
.nw { white-space: nowrap; }

/* ヒーロー（スマホ）
   見出しの行は nowrap で組んであるため、30px 固定だと 375px 幅で列を押し広げ、
   ボタンやカードが右端に貼り付いていた。画面幅に合わせて縮め、列も中身に押し広げさせない */
.hero__inner > * { min-width: 0; }
.hero__title em { display: inline-block; }
@media (max-width: 560px) {
  .hero__title { font-size: min(30px, 7.2vw); }
}

@media (max-width: 560px) {
  .page-header { padding: 36px 20px 38px; }
}

/* ==========================================================================
   A デザイン（2026-09-30 採用。見本は drafts/a.html）
   すっきり・信頼: 白地・大きな文字・細い線・紺とオレンジは要所だけ
   既存のルールを上書きする層。新しく足す部品もここに置く
   ========================================================================== */
:root {
  --color-text: #0f1b2d;
  --color-text-light: #5b6778;
  --color-border: #e6e9ee;
  --color-bg-alt: #f3f6fa;
  --color-bg-accent: #fff1ea;
  --tint-navy: #e8eef6;
  --tint-mint: #e6f5ee;
  --line-hover: #cfd5dd;
  --shadow-hover: 0 12px 28px -14px rgba(26,58,92,.25);
  --radius: 10px;
}
.num { font-feature-settings: "tnum"; letter-spacing: -.01em; }

/* ---- ヘッダー ---- */
.site-header { background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(12px); }
.header-inner { height: 64px; }
.site-logo__img { height: 30px; }
.global-nav a { font-weight: 500; color: var(--color-text-light); }
.global-nav a:hover { color: var(--color-text); }
.global-nav .btn { padding: 9px 18px; color: #fff; }

/* ---- ボタン ---- */
.btn { border-radius: 10px; padding: 12px 22px; font-size: 15px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--primary { box-shadow: 0 6px 16px -6px rgba(255,107,53,.55); }
.btn--primary:hover { transform: none; box-shadow: 0 8px 20px -6px rgba(255,107,53,.6); }
.btn--outline, .btn--ghost {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--outline:hover, .btn--ghost:hover { background: #fff; color: var(--color-text); border-color: var(--line-hover); transform: none; }
.btn--outline-white { border-width: 1px; border-color: rgba(255,255,255,.35); }

/* ---- セクション見出し ---- */
.section { padding: 104px 0; }
.section__head { margin-bottom: 52px; }
.section__eyebrow { display: none; }  /* 英字の小見出し（WORRIES 等）はテンプレート感の元なので出さない */
.section__title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em; line-height: 1.4; color: var(--color-text); }
.section__lead { color: var(--color-text-light); }

/* ---- カード共通: 細い線、影は乗せたときだけ ---- */
.feature-card, .service-card, .case-card, .problem-item, .step, .plan, .testimonial, .faq__item, .form {
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.feature-card, .service-card, .case-card, .step, .testimonial { border-radius: 16px; }
.feature-card:hover, .service-card:hover, .case-card:hover, .problem-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-hover);
}
.feature-card__title, .service-card__title, .case-card__title, .step__title, .plan__name, .faq__q { color: var(--color-text); }

.feature-card__num { background: var(--color-bg-accent); color: var(--color-accent-dark); }
.feature-card__icon { width: 48px; height: 48px; border-radius: 12px; font-size: 22px; }
.features > :nth-child(2) .feature-card__icon { background: var(--tint-navy); color: var(--color-primary) !important; }
.features > :nth-child(3) .feature-card__icon { background: var(--tint-mint); color: #12805c !important; }
.features > :nth-child(2) .feature-card__icon .ico { color: var(--color-primary) !important; }
.features > :nth-child(3) .feature-card__icon .ico { color: #12805c !important; }

/* サービスのアイコンは淡いタイルで色分け（紺・オレンジ・緑の繰り返し） */
.service-card__icon { background: var(--tint-navy); }
.service-card__icon, .service-card__icon .ico { color: var(--color-primary) !important; }
.service-card:nth-child(3n+2) .service-card__icon { background: var(--color-bg-accent); }
.service-card:nth-child(3n+2) .service-card__icon,
.service-card:nth-child(3n+2) .service-card__icon .ico { color: var(--color-accent) !important; }
.service-card:nth-child(3n) .service-card__icon { background: var(--tint-mint); }
.service-card:nth-child(3n) .service-card__icon,
.service-card:nth-child(3n) .service-card__icon .ico { color: #12805c !important; }

.problem-item { border-radius: 12px; }
.problems-conclusion { color: var(--color-text); }

/* ---- 料金 ---- */
.plan { border-width: 1px; border-radius: 16px; }
.plan--featured { border: 2px solid var(--color-accent); background: linear-gradient(180deg, #fff7f3, #fff 55%); box-shadow: none; }
.plan__price-num { color: var(--color-text); }
.plan--featured .plan__price-num { color: var(--color-accent); }
.spot-box { border-style: solid; background: var(--color-bg-alt); }

/* ---- 流れ・FAQ ---- */
.step__num { box-shadow: none; }
.faq__item { border-radius: 12px; }
.faq__item[open] { border-color: var(--line-hover); box-shadow: var(--shadow-hover); }
.faq__q::before { background: var(--tint-navy); color: var(--color-primary); }

/* ---- 締めの CTA・フッター ---- */
.cta-section { background: var(--color-primary); border-radius: 24px; }
.cta-section::before { background: radial-gradient(circle, rgba(255,107,53,.22), transparent 70%); }
.site-footer { background: #0f1b2d; }

/* ---- 下層ページの帯: 濃紺の帯をやめ、トップと同じ明るい地に ---- */
.page-header {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(26,58,92,.08), transparent 70%),
    radial-gradient(520px 260px at 10% 100%, rgba(255,107,53,.07), transparent 70%),
    #fff;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 24px 56px;
}
.page-header::before { display: none; }
.page-header__title { font-weight: 700; letter-spacing: -.01em; font-size: clamp(28px, 4vw, 42px); }
.page-header__sub { color: var(--color-text-light); opacity: 1; }
.article-body h2, .article-body h3, .article-body th { color: var(--color-text); }

/* ---- トップ: ヒーロー ---- */
.hero {
  padding: 88px 0 80px;
  background:
    radial-gradient(900px 480px at 88% 10%, rgba(26,58,92,.09), transparent 70%),
    radial-gradient(640px 380px at 8% 100%, rgba(255,107,53,.08), transparent 70%),
    #fff;
}
.hero::before { display: none; }
.hero__inner { grid-template-columns: 1.05fr .95fr; }
.hero__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--color-text-light);
  border: 1px solid var(--color-border); background: #fff;
  border-radius: 99px; padding: 4px 12px 4px 6px;
}
.hero__status b { background: var(--tint-mint); color: #12805c; border-radius: 99px; padding: 1px 8px; font-size: 12px; }
.hero__title {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--color-text);
  margin: 24px 0;
}
.hero__sub { font-size: 17px; max-width: 34em; margin-bottom: 36px; }
.hero__ctas { gap: 12px; margin-bottom: 32px; }
.hero__proof { display: flex; gap: 32px; font-size: 13px; color: var(--color-text-light); }
.hero__proof dt { font-size: 22px; font-weight: 700; color: var(--color-primary); line-height: 1.3; }
.hero__proof div:first-child dt { color: var(--color-accent); }
.hero__proof dd { margin: 0; }
.hero__visual { margin: 0; }
.hero__visual figcaption { font-size: 12px; color: var(--color-text-light); text-align: right; margin-top: 10px; }

.app-mock {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 24px 48px -16px rgba(15,27,45,.16);
  overflow: hidden;
}
.app-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); font-size: 12px; color: var(--color-text-light); }
.app-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3e8; flex: none; }
.app-mock__bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-mock__row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--color-border); font-size: 14px; line-height: 1.6; }
.app-mock__row:last-child { border-bottom: 0; }
.app-mock__row small { display: block; color: var(--color-text-light); font-size: 12px; }
.app-mock__av { width: 32px; height: 32px; border-radius: 8px; background: var(--tint-navy); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--color-primary); }
.app-mock__tag { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.app-mock__tag.is-done { background: var(--tint-mint); color: #12805c; }
.app-mock__tag.is-doing { background: var(--color-bg-accent); color: #c2410c; }
.app-mock__tag.is-new { background: #eef2ff; color: #3b4fd8; }

.logo-band { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 26px 0; background: #fff; }
.logo-band__inner { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.logo-band p { font-size: 13px; color: var(--color-text-light); white-space: nowrap; }
.logo-band img { height: 32px; width: auto; }
.logo-band a { transition: opacity .2s; }
.logo-band a:hover { opacity: .75; }

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .logo-band__inner { gap: 20px 36px; justify-content: center; }
  .logo-band p { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(30px, 8.6vw, 36px); }
  .hero__proof { gap: 20px; }
  .hero__proof dt { font-size: 19px; }
  .app-mock__row { padding: 12px 14px; font-size: 13px; }
  .page-header { padding: 44px 20px 40px; }
  .logo-band img { height: 26px; }
}

/* ---- 下層ページ: 帯の直後の余白（帯の余白＋セクションの 104px が重なって空きすぎていた） ---- */
.page-header + .section { padding-top: 56px; }

/* ---- 導入事例: 写真を主役に（2026-09-30） ---- */
.stories { max-width: 1000px; margin: 0 auto; display: grid; gap: 40px; }
.story { background: #fff; border: 1px solid var(--color-border); border-radius: 20px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.story:hover { border-color: var(--line-hover); box-shadow: var(--shadow-hover); }
.story__photo { display: block; height: 360px; overflow: hidden; }
.story__photo img { transition: transform .6s ease; }
.story:hover .story__photo img { transform: scale(1.03); }
.story:hover .story__photo img[style*="scale(1.3)"] { transform: translateX(15%) scale(1.33) !important; }
.story__body { padding: 36px 44px 40px; }
.story__id, .story-id { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.story__logo { display: inline-flex; margin-right: 6px; }
.story__logo img, .story-id img { height: 36px; width: auto; }
.story__tag {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6;
  background: var(--tint-navy); color: var(--color-primary);
  border-radius: 99px; padding: 3px 12px;
}
.story__tag.is-plan { background: var(--color-bg-accent); color: var(--color-accent-dark); }
.story__tag.is-spot { background: #eef2ff; color: #3b4fd8; }
.story__name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.01em; margin: 18px 0 4px; }
.story__lead { color: var(--color-text-light); }
.story__sub { font-size: 14px; font-weight: 700; color: var(--color-text-light); margin: 28px 0 8px; }
.story__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-bottom: 28px; }
.story__list li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--color-border); font-size: 15px; line-height: 1.7; }
.story__list li strong { font-weight: 500; }
.story__list li small { display: block; font-size: 12px; color: var(--color-text-light); }
.story__list li::before {
  content: ''; position: absolute; left: 0; top: 15px; width: 14px; height: 14px;
  background-color: var(--color-accent);
  -webkit-mask: var(--check-mask) no-repeat center / contain;
  mask: var(--check-mask) no-repeat center / contain;
}

/* 事例ページの冒頭写真とロゴ */
.story-hero { height: 400px; border-radius: 20px; overflow: hidden; margin: 0 0 28px; }
.story-id { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--color-border); }
.story-id .story__tag { font-size: 12px; }

@media (max-width: 760px) {
  .story__photo { height: 220px; }
  .story__body { padding: 24px 22px 28px; }
  .story__list { grid-template-columns: 1fr; }
  .story-hero { height: 240px; border-radius: 14px; }
  .page-header + .section { padding-top: 40px; }
}

/* 写真は横長の帯に切ると余白や車両の端ばかり写るため、左に縦長で置く 2 段組にする */
.story { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
.stories { max-width: 1100px; }
.story__photo { height: auto; min-height: 100%; position: relative; }
.story__photo img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: cover; transform: none !important;
}
.story:hover .story__photo img { transform: scale(1.03) !important; }
/* 1: Synergy（人物は右寄り）/ 2: Bricks（2 人は中央）/ 3: ScootVision（中央の車両） */
.stories > .story:nth-child(1) .story__photo img { object-position: 74% 30% !important; }
.stories > .story:nth-child(2) .story__photo img { object-position: 50% 20% !important; }
.stories > .story:nth-child(3) .story__photo img { object-position: 58% 75% !important; }
.story__body { padding: 36px 40px 36px; }
.story__list { grid-template-columns: 1fr; }
.story__list li { font-size: 14px; padding-top: 8px; padding-bottom: 8px; }
.story__list li::before { top: 13px; }

/* 事例ページの冒頭: 写真（左）＋ロゴ・業種・導入文（右） */
.story-intro {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 36px;
  align-items: center; margin-bottom: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.story-intro .story-hero { height: 360px; margin: 0; position: relative; }
.story-intro .story-hero img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: cover; transform: none !important;
}
.story-hero img[src*="synergy"] { object-position: 80% 30% !important; }
.story-hero img[src*="bricks"] { object-position: 60% 22% !important; }
.story-hero img[src*="scootvision"] { object-position: 58% 75% !important; }
.story-intro .story-id { border: 0; padding: 0; margin-bottom: 18px; }
.story-intro__lead { font-size: 16px !important; line-height: 2 !important; margin: 0 !important; }

@media (max-width: 760px) {
  .story, .story-intro { grid-template-columns: 1fr; }
  .story__list { grid-template-columns: 1fr; }
  .story__photo { height: 240px; min-height: 0; }
  .story-intro { gap: 22px; }
  .story-intro .story-hero { height: 260px; }
}

/* お問い合わせ: 同意のチェック欄・メールアドレスのエラー（2026-10-08） */
.form__consent { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; font-size: 15px; cursor: pointer; }
.form__consent input { width: 18px; height: 18px; accent-color: var(--color-accent); flex: none; }
.form__consent a { color: var(--color-accent); text-decoration: underline; }
.form__consent .required { background: var(--color-accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 6px; font-weight: 600; }
.form__error { margin-top: 8px; font-size: 13px; color: #c0392b; }
@media (max-width: 560px) {
  .form__consent { justify-content: flex-start; font-size: 14px; }
  .form__consent .required { white-space: nowrap; }
}
