﻿@charset "UTF-8";

/* =========================================================
   DBMC LP — style.css
   ソフネットジャパン株式会社
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  /* ベース */
  --bg-base: #FFFFFF;
  --bg-light: #FFF8F2;
  --bg-dark: #2A5B63;

  /* コーポレート */
  --color-primary: #233B4D;       /* 落ち着いたブルーグレー */
  --color-primary-dark: #17313F;

  /* アクセント */
  --color-accent: #E86C3A;        /* DBMCオレンジ */
  --color-accent-dark: #C95124;
  --color-gold: #F6B84C;          /* サブアクセント */
  --color-platform: #7A70C8;      /* プラットフォーム機能色(パープル) */
  --color-platform-light: #F1EFFF;

  /* テキスト */
  --text-main: #1F2933;
  --text-sub: #52616F;
  --text-light: #888888;

  /* ボーダー */
  --border: #E9DFD6;
  --border-dark: #D2C3B7;

  /* フォント */
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ---------- Section base ---------- */
main section {
  padding: 100px 0;
}

.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); color: white; }

@media (max-width: 768px) {
  main section { padding: 60px 0; }
}

/* ---------- Section title / subtitle / lead ---------- */
.section-subtitle {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtitle.light { color: var(--color-gold); }
.section-subtitle.platform { color: var(--color-platform); }

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.4;
  letter-spacing: 0;
}

.section-title.light { color: white; }

.section-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 48px;
}

.section-lead.light { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .section-subtitle { font-size: 12px; margin-bottom: 8px; }
  .section-title { font-size: 26px; margin-bottom: 16px; }
  .section-lead { font-size: 15px; margin-bottom: 32px; line-height: 1.8; }
  .section-lead br { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 47, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--color-primary);
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.3s;
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: white;
}

.btn-large { padding: 20px 48px; font-size: 18px; }
.btn-xlarge { padding: 24px 64px; font-size: 20px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ヘッダー用小型ボタン */
.btn-primary-sm {
  padding: 10px 20px;
  font-size: 14px;
  background: var(--color-accent);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-primary-sm:hover {
  background: var(--color-accent-dark);
  color: white;
}

.btn-outline-sm {
  padding: 8px 18px;
  font-size: 14px;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-outline-sm:hover {
  background: var(--color-primary);
  color: white;
}

@media (max-width: 768px) {
  .btn-large { padding: 16px 28px; font-size: 16px; }
  .btn-xlarge { padding: 18px 32px; font-size: 17px; }
}

/* ---------- Image placeholder ---------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ecf2 0%, #d8dee8 100%);
  color: #7a8493;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  border: 1px dashed #b8c1cc;
  border-radius: 4px;
  padding: 8px;
  width: 100%;
  height: 100%;
  min-height: 80px;
}

.img-placeholder-logo {
  min-height: 40px;
  width: 160px;
}

.img-placeholder-hero {
  min-height: 360px;
  border-radius: 8px;
}

.img-placeholder-icon {
  min-height: 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.img-placeholder-qr {
  min-height: 280px;
  width: 280px;
  height: 280px;
}

/* =========================================================
   Section 0: Header
   ========================================================= */
.site-header {
  position: relative;
  z-index: 100;
  background: white;
  border-bottom: 1px solid #d8d8d8;
}

.site-header-top {
  padding: 8px 0 4px;
  color: #585858;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.site-header-bar {
  position: relative;
  border-top: 1px solid #f1f1f1;
}

.site-header-bar .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: block;
  min-width: 86px;
  padding: 6px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f8f8f8;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.45;
}

.site-nav a:hover {
  color: #222;
  background: #ececec;
  border-color: #cfcfcf;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .site-header-top { display: none; }
  .site-nav a {
    min-width: 76px;
    padding: 6px 9px;
    font-size: 12px;
  }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .site-header.is-open .site-nav {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    min-width: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: white;
    text-align: left;
    font-size: 14px;
  }

  .site-nav a:hover {
    background: white;
    color: var(--color-accent);
  }
}

@media (max-width: 480px) {
  .site-header-bar .container {
    min-height: 56px;
  }

  .site-logo img { height: 38px; }
}

/* =========================================================
   Section 1: Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  background: #FFF6ED;
  color: var(--text-main);
  overflow: hidden;
  padding: 0 !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 248, 242, 0.98) 0%,
    rgba(255, 248, 242, 0.95) 39%,
    rgba(255, 248, 242, 0.72) 58%,
    rgba(255, 248, 242, 0.18) 76%,
    rgba(255, 248, 242, 0) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 248, 242, 0) 0%, #FFF8F2 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  padding: 80px 0 96px;
}

.hero-logo {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero-logo img {
  height: 96px;
  width: auto;
  display: block;
}

.hero-logo .img-placeholder-logo {
  width: 240px;
  min-height: 96px;
  background: rgba(22, 50, 92, 0.06);
  border-color: rgba(22, 50, 92, 0.18);
  color: var(--text-sub);
}

.hero-logo-fullname {
  font-family: var(--font-en);
  font-size: 28px;
  letter-spacing: 0;
  color: var(--text-sub);
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.12;
  white-space: nowrap;
}

.hero-logo-fullname .initial {
  color: var(--color-accent);
  font-size: 36px;
  font-weight: 700;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 108, 58, 0.12);
  border: 1px solid rgba(232, 108, 58, 0.28);
  color: var(--color-accent-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

.hero-copy-slider {
  display: grid;
  min-height: 148px;
  margin-bottom: 20px;
}

.hero-copy {
  grid-area: 1 / 1;
  opacity: 0;
  animation: heroTitleCrossfade 24s infinite both;
  will-change: opacity, transform;
}

.hero-copy-1 { opacity: 1; animation-delay: 0s; }
.hero-copy-2 { animation-delay: 6s; }
.hero-copy-3 { animation-delay: 12s; }
.hero-copy-4 { animation-delay: 18s; }

.hero-title {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0;
  color: var(--color-primary);
}

.hero-title-accent {
  color: var(--color-accent);
  display: inline-block;
}

.hero-lead {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.hero-lead strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-cta .btn {
  padding: 14px 22px;
  font-size: 15px;
  white-space: nowrap;
}

.hero .btn-outline {
  color: var(--color-primary);
  border-color: rgba(22, 50, 92, 0.35);
  background: rgba(255, 255, 255, 0.78);
}

.hero .btn-outline:hover {
  color: white;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.meta-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: rgba(232, 108, 58, 0.12);
  color: var(--color-accent-dark);
  border-radius: 50%;
  font-size: 14px;
}

.hero-visual {
  position: absolute;
}

.hero-slider {
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
  background: white;
  box-shadow: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  animation: heroCrossfade 24s infinite;
}

.hero-slide-1 { opacity: 1; animation-delay: 0s; }
.hero-slide-2 { animation-delay: 6s; }
.hero-slide-3 { animation-delay: 12s; }
.hero-slide-4 { animation-delay: 18s; }

@keyframes heroCrossfade {
  0% { opacity: 1; }
  23% { opacity: 1; }
  31% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroTitleCrossfade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  3.5% {
    opacity: 1;
    transform: translateY(0);
  }
  23.5% {
    opacity: 1;
    transform: translateY(0);
  }
  27% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-copy {
    animation: none;
    opacity: 0;
  }
  .hero-slide-1,
  .hero-copy-1 {
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .hero,
  .hero .container { min-height: 680px; }
  .hero-title { font-size: 36px; }
  .hero-copy-slider { min-height: 92px; }
  .hero-content { padding: 64px 0 88px; }
}

@media (max-width: 768px) {
  .hero,
  .hero .container { min-height: 720px; }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 248, 242, 0.98) 0%,
      rgba(255, 248, 242, 0.92) 48%,
      rgba(255, 248, 242, 0.42) 76%,
      rgba(255, 248, 242, 0.12) 100%
    );
  }
  .hero-slide {
    object-position: 68% center;
  }
  .hero-content { padding: 48px 0 220px; }
  .hero-title { font-size: 32px; line-height: 1.3; }
  .hero-copy-slider { min-height: 88px; }
  .hero-logo-fullname {
    font-size: clamp(16px, 5vw, 22px);
    max-width: 100%;
  }
  .hero-logo-fullname .initial {
    font-size: clamp(22px, 6.5vw, 30px);
  }
  .hero-lead { font-size: 15px; }
  .hero-lead br { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; padding: 16px 24px; font-size: 16px; }
  .hero-meta { gap: 16px; }
  .meta-item { font-size: 13px; }
  .hero-logo img { height: 72px; }
  .hero-logo .img-placeholder-logo { width: 200px; min-height: 72px; }
}

/* =========================================================
   Section 2: Value (WHAT IS DBMC)
   ========================================================= */
.section-value {
  text-align: center;
}

.section-value .section-lead {
  text-align: center;
}

.dbmc-fullname-block {
  text-align: center;
  margin: 24px auto 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 720px;
}

.dbmc-fullname {
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 8px;
}

.dbmc-fullname .initial {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
}

.dbmc-fullname-jp {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .dbmc-fullname { font-size: 18px; }
  .dbmc-fullname .initial { font-size: 24px; }
  .dbmc-fullname-jp { font-size: 12px; }
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 30px 34px;
  overflow: hidden;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(15, 42, 95, 0.12);
  transform: translateY(-4px);
}

.value-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-platform-light);
  color: var(--color-platform);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.value-icon-img {
  width: calc(100% + 60px);
  aspect-ratio: 1 / 1;
  margin: 0 -30px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.value-card .value-icon-img img,
.value-card img.value-icon,
.value-card .value-icon-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.value-icon-img .img-placeholder {
  border-radius: 8px;
  font-size: 10px;
}

.value-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.value-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 0 22px 26px; }
  .value-icon { width: 56px; height: 56px; font-size: 26px; margin-bottom: 16px; }
  .value-icon-img { width: calc(100% + 44px); margin: 0 -22px 18px; }
  .value-card .value-icon-img img,
  .value-card .value-icon-img .img-placeholder { width: 100%; height: 100%; }
  .value-title { font-size: 18px; margin-bottom: 12px; }
  .value-desc { font-size: 14px; }
  .section-value .section-lead br { display: none; }
}

/* =========================================================
   Section 3: Problem (CHALLENGE)
   ========================================================= */
.section-problem {
  text-align: center;
}

.section-problem .section-lead {
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.problem-card {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  padding: 36px 32px;
  transition: all 0.3s;
}

.problem-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.problem-number {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--border-dark);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.problem-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card { padding: 24px 20px; }
  .problem-number { font-size: 36px; margin-bottom: 8px; }
  .problem-title { font-size: 17px; }
  .problem-desc { font-size: 14px; }
  .section-problem .section-lead br { display: none; }
}

/* =========================================================
   Section 4: コスト比較(棒グラフ)
   ========================================================= */
.section-cost {
  text-align: center;
}

.section-cost .section-lead {
  text-align: center;
}

.section-cost .section-lead .highlight {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1em;
}

.cost-chart {
  max-width: 900px;
  margin: 48px auto 32px;
}

.cost-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.cost-row-label {
  text-align: right;
}

.cost-row-label .cost-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.cost-row-label .cost-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.cost-row-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  height: 56px;
  overflow: visible;
}

.cost-bar {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  transition: width 1s ease-out;
  min-width: 0;
}

/* DBMCバーは極細でも幅指定値を尊重(ラベルは外側にはみ出して描画) */
.cost-bar-dbmc {
  padding: 0;
  min-width: 0;
}

.cost-bar .cost-price {
  font-size: 16px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

/* 細いバー(ハガキDM/DBMC)はラベルをバー右側にはみ出して表示 */
.cost-bar-postcard .cost-price,
.cost-bar-dbmc .cost-price {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.cost-bar-catalog {
  background: linear-gradient(90deg, #6B7B95 0%, #4A5870 100%);
}

.cost-bar-postcard {
  background: linear-gradient(90deg, #8B95AB 0%, #6B7B95 100%);
}

.cost-bar-dbmc {
  background: linear-gradient(90deg, var(--color-accent) 0%, #FF8C5A 100%);
  box-shadow: 0 0 24px rgba(232, 93, 47, 0.4);
}

.cost-bar-dbmc .cost-price {
  color: white;
  font-weight: 800;
}

.cost-summary {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
}

.cost-summary-text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.cost-summary-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .cost-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cost-row-label {
    text-align: left;
  }
  .cost-row-label .cost-name { font-size: 16px; }
  .cost-row-bar { height: 44px; }
  .cost-bar .cost-price { font-size: 13px; }
  .cost-bar { padding: 0 12px; }
  .cost-summary-text { font-size: 13px; }
  .section-cost .section-lead br { display: none; }
}

/* =========================================================
   Section 5: Platform Features (4 functions)
   ========================================================= */
.section-platform {
  text-align: center;
}

.section-platform .section-lead {
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.platform-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 22px 28px;
  overflow: hidden;
  transition: all 0.3s;
}

.platform-card:hover {
  border-color: var(--color-platform);
  box-shadow: 0 14px 36px rgba(107, 91, 216, 0.18);
  transform: translateY(-4px);
}

.platform-num {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-platform);
  color: white;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(107, 91, 216, 0.35);
}

.platform-icon-wrap {
  width: calc(100% + 44px);
  height: 240px;
  margin: 0 -22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-platform-light);
  border-radius: 0;
  overflow: hidden;
}

.platform-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.platform-icon-wrap .img-placeholder {
  border-radius: 0;
  width: 100%;
  height: 240px;
  min-height: 240px;
  font-size: 9px;
}

.platform-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.platform-card > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.platform-sub {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.platform-sub li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.platform-sub li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-platform);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .platform-grid { grid-template-columns: 1fr; gap: 28px; }
  .platform-card { padding: 0 22px 24px; }
  .platform-icon-wrap {
    width: calc(100% + 44px);
    height: 260px;
    margin: 0 -22px 22px;
  }
  .platform-card h3 { font-size: 18px; }
}

/* =========================================================
   Section 6: Features (6つの主な特徴)
   ========================================================= */
.section-features {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 48px;
}

.feature-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 22px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 26px;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: transparent;
}

.feature-icon-wrap {
  grid-row: 1 / span 2;
  width: 170px;
  height: 132px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.feature-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon-wrap .img-placeholder {
  border-radius: 8px;
  width: 100%;
  height: 132px;
  min-height: 132px;
  font-size: 9px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card {
    grid-template-columns: 128px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .feature-icon-wrap { width: 128px; height: 104px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 13px; }
}

/* =========================================================
   Section 7: 配信フロー(縦配置レイアウト)
   ========================================================= */
.section-flow {
  text-align: center;
}

.section-flow .section-lead {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.flow-visual {
  max-width: 1200px;
  margin: 32px auto 20px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.flow-visual picture {
  display: block;
}

.flow-visual img {
  width: 100%;
  display: block;
}

.flow-diagram {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 16px 24px;
  align-items: center;
  justify-content: center;
  margin: 48px auto 24px;
  position: relative;
}

.flow-channel-top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow-channel-bottom {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow-destination {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: var(--color-accent);
  color: white;
  padding: 32px 20px;
  border-radius: 8px;
  text-align: center;
  width: 240px;
  box-shadow: 0 4px 16px rgba(232, 93, 47, 0.2);
}

.flow-destination .flow-dest-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 8px;
  opacity: 0.9;
}

.flow-destination .flow-dest-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.flow-source {
  background: white;
  border: 2px solid var(--color-primary);
  padding: 14px 16px;
  border-radius: 6px;
  width: 200px;
  height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.flow-channel-bottom .flow-source {
  border-color: var(--color-platform);
}

.flow-source-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-source-name {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 700;
}

.flow-arrow {
  font-size: 24px;
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step {
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-main);
  border: 1px solid var(--border);
  width: 170px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  white-space: nowrap;
}

.flow-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 24px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .flow-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }

  .flow-channel-top,
  .flow-channel-bottom {
    grid-column: 1;
    flex-direction: column;
    gap: 8px;
  }

  .flow-channel-top { grid-row: 1; }
  .flow-destination {
    grid-column: 1;
    grid-row: 2;
  }
  .flow-channel-bottom { grid-row: 3; }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 20px;
  }

  .flow-source,
  .flow-step {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .flow-destination {
    width: 100%;
    max-width: 280px;
  }
}

/* =========================================================
   Section 8: Steps (5ステップ運用)
   ========================================================= */
.section-steps {
  text-align: center;
}

.section-steps .section-lead {
  text-align: center;
}

.steps-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
  margin: 48px 0 32px;
}

.step-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 20px 24px;
  position: relative;
  text-align: center;
  min-width: 0;
  transition: all 0.3s;
}

.step-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(15, 42, 95, 0.12);
  transform: translateY(-3px);
}

.step-item-accent {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(232, 93, 47, 0.05), white);
}

.step-item-accent:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(232, 93, 47, 0.18);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(15, 42, 95, 0.3);
}

.step-item-accent .step-number {
  background: var(--color-accent);
  box-shadow: 0 4px 10px rgba(232, 93, 47, 0.35);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
}

.step-item-accent .step-icon-wrap {
  background: rgba(232, 93, 47, 0.12);
}

.step-icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.step-icon-wrap .img-placeholder {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  min-height: 64px;
  font-size: 8px;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.step-arrow {
  align-self: center;
  font-size: 22px;
  color: var(--border-dark);
  font-weight: 700;
  flex-shrink: 0;
  padding: 0 4px;
}

.steps-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
  text-align: left;
  background: var(--bg-light);
  border-left: 3px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 4px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .steps-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-item {
    margin-top: 16px;
  }
  .step-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .steps-flow {
    grid-template-columns: 1fr;
  }
  .step-item {
    margin-top: 24px;
  }
}

/* =========================================================
   Section 9: Industries (活用シーン)
   ========================================================= */
.section-industries {
  text-align: center;
}

.section-industries .section-lead {
  text-align: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 16px;
  text-align: center;
  transition: all 0.3s;
}

.industry-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.industry-icon-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
}

.industry-card img,
.industry-card .industry-icon,
.industry-icon-wrap img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.industry-icon-wrap .img-placeholder {
  width: 112px;
  height: 112px;
  min-height: 112px;
  border-radius: 50%;
  font-size: 9px;
}

.industry-card p {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industry-card { padding: 24px 12px; }
  .industry-card p { font-size: 13px; }
  .industry-icon-wrap { width: 88px; height: 88px; }
  .industry-card img,
  .industry-card .industry-icon,
  .industry-icon-wrap img { width: 72px; height: 72px; }
  .industry-icon-wrap .img-placeholder { width: 88px; height: 88px; min-height: 88px; }
}

/* =========================================================
   Section 10: Demo
   ========================================================= */
.section-demo {
  text-align: center;
}

.section-demo .section-lead {
  text-align: center;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 40px;
  margin-top: 24px;
  text-align: left;
  align-items: start;
}

.demo-visual {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(35, 59, 77, 0.1);
  background: #fff;
}

.demo-visual img {
  width: 100%;
  display: block;
}

.demo-content {
  width: min(100%, 360px);
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-qr {
  text-align: center;
  background: var(--bg-light);
  padding: 22px 24px;
  border-radius: 8px;
}

.demo-qr-wrap {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  background: white;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.demo-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-qr-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.demo-qr-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.demo-qr-sub {
  font-size: 12px;
  color: var(--text-sub);
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 8px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 18px 22px;
  position: relative;
}

.demo-step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-accent);
  background: rgba(232, 93, 47, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 0;
  white-space: nowrap;
}

.demo-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 0;
}

.demo-step p {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-sub);
}

@media (max-width: 880px) {
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .demo-content {
    grid-template-columns: 1fr;
  }
  .demo-qr-wrap {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .demo-step {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Section 11: Early Access (最重要)
   ========================================================= */
.section-early {
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 169, 59, 0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(107, 91, 216, 0.2), transparent 50%),
    linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.early-inner {
  background: white;
  border-radius: 8px;
  padding: 64px 56px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  color: var(--text-main);
  text-align: center;
  position: relative;
}

.early-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 93, 47, 0.1);
  color: var(--color-accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 93, 47, 0.3);
}

.early-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.early-accent {
  color: var(--color-accent);
}

.early-lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-sub);
  margin-bottom: 48px;
}

.early-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}

.benefit-card {
  background: linear-gradient(180deg, #FFF6F1, #FFEFE5);
  border: 1px solid rgba(232, 93, 47, 0.2);
  border-radius: 8px;
  padding: 28px 22px;
  position: relative;
}

.benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.benefit-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-sub);
}

.early-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.early-cta .btn-xlarge {
  min-width: 480px;
  max-width: 100%;
  box-shadow: 0 12px 32px rgba(232, 93, 47, 0.45);
}

.early-cta-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 15px;
}

.cta-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.cta-link:hover {
  color: var(--color-accent);
}

.cta-divider {
  color: var(--border-dark);
}

@media (max-width: 1024px) {
  .early-benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .early-inner { padding: 40px 24px; border-radius: 8px; }
  .early-title { font-size: 30px; }
  .early-lead { font-size: 14px; margin-bottom: 32px; }
  .early-lead br { display: none; }
  .early-benefits { gap: 12px; margin-bottom: 32px; }
  .benefit-card { padding: 20px 16px; }
  .early-cta .btn-xlarge {
    min-width: 0;
    width: 100%;
  }
  .early-cta-sub { gap: 8px; font-size: 14px; }
  .cta-divider { display: none; }
}

/* =========================================================
   Section 12: Final CTA
   ========================================================= */
.section-cta {
  text-align: center;
}

.section-cta .section-lead {
  text-align: center;
}

.section-cta .section-lead strong {
  color: var(--color-accent);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: center;
  margin-top: 36px;
  text-align: left;
}

.contact-visual {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFF8F2, #FFFFFF);
  border: 1px solid var(--border);
}

.contact-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: bottom center;
}

.contact-actions {
  min-width: 0;
}

.cta-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.cta-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.cta-card-primary {
  background: linear-gradient(135deg, rgba(232, 93, 47, 0.05), rgba(242, 169, 59, 0.05));
  border-color: var(--color-accent);
}

.cta-card-primary:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(232, 93, 47, 0.18);
}

.cta-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.cta-phone {
  display: block;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.cta-phone:hover { color: var(--color-accent); }

.cta-email {
  display: block;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 8px;
}

.cta-email:hover { color: var(--color-accent); }

.cta-hours {
  font-size: 12px;
  color: var(--text-light);
}

.cta-card-primary .cta-hours {
  margin-top: 12px;
}

.contact-assurance {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 8px;
  border: 1px solid rgba(122, 112, 200, 0.22);
  background: linear-gradient(135deg, #FFF8F2 0%, #F4F1FF 100%);
}

.contact-assurance h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin: 0;
}

.contact-assurance p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  margin: 0;
}

.cta-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.cta-login p {
  font-size: 14px;
  color: var(--text-sub);
}

@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .cta-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-card { padding: 28px 24px; }
  .cta-phone { font-size: 28px; }
  .contact-visual img { max-height: 280px; }
}

/* =========================================================
   Section 13: Footer
   ========================================================= */
.site-footer {
  background: #f5f5f5;
  border-top: 1px solid #d8d8d8;
  color: #555;
  padding: 28px 0 24px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact-text a,
.footer-copy a,
.footer-links a {
  color: #365f91;
  text-decoration: none;
}

.footer-contact-text a:hover,
.footer-links a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-contact-text span a {
  color: royalblue;
}

.footer-seals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-seals img {
  max-height: 66px;
  width: auto;
}

.footer-copy {
  font-size: 12px;
  color: #666;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  color: #777;
}

@media (max-width: 768px) {
  .site-footer { padding: 24px 0 20px; }
  .footer-contact-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-seals,
  .footer-links {
    justify-content: flex-start;
  }
}

/* =========================================================
   共通コーポレートヘッダー復元
   ---------------------------------------------------------
   DBMC独自のbody / img / .container等のルールが共通CSS
   (/css/style.css)の#headerareaやnavbarのスタイルを上書き
   してしまうため、ここでスコープ付きで再適用する。
   #headerareaおよびそれ以前(<body>直下)の構造に限定。
   ========================================================= */

/* body背景：共通の上部グラデーション帯(bg3.gif)を復元 */
body.signage {
  background-image: url("../../images/bg3.gif");
  background-attachment: scroll;
  background-position: 0% 0%;
  background-repeat: repeat-x;
  background-color: #fff;
}

/* #headerarea(共通ヘッダー)のレイアウト */
#headerarea {
  background-image: url("../../images/logo/top_logo2.png");
  background-repeat: no-repeat;
  max-width: 1140px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* #headerarea内のimgはinline-block扱い(DBMCのimg{display:block}を取消) */
#headerarea img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* headertxt(■で始まる上部小テキスト) */
#headerarea .headertxt {
  font-size: 8pt;
  color: whitesmoke;
  text-align: right;
  margin: 0;
  font-weight: normal;
  line-height: 1.3em;
  padding-top: 5px;
}

/* navbar内のリンク色とbtnスタイルをBootstrap既定に戻す */
#headerarea .navbar { padding: .25rem 1rem; }
#headerarea .navbar .nav-link { color: rgba(0,0,0,.85); }
#headerarea .navbar .btn {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: .2rem;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  transition: none;
  background: transparent;
}
#headerarea .navbar .btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border: 1px solid #f8f9fa;
}
#headerarea .navbar .btn-light:hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
  color: #212529;
}
#headerarea .navbar .btn-info {
  color: #fff;
  background-color: #17a2b8;
  border: 1px solid #17a2b8;
}
#headerarea .navbar .btn-info:hover {
  background-color: #138496;
  border-color: #117a8b;
  color: #fff;
}

/* PC/モバイル表示切替ボタン枠 */
#headerarea .switchBtn {
  border-top: solid 1px #ccc;
}
#headerarea .switchBtn > div a { color: #fff; }

/* =========================================================
   お問い合わせ系ボタン文字色強制
   ---------------------------------------------------------
   Bootstrap/DBMC両方のCSSが <a>要素にcolorを設定するため
   .btn-primary等の色指定が打ち消されることがある。
   セレクタ優先度を上げて確実に白テキスト化する。
   ========================================================= */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
.btn.btn-primary {
  color: #fff;
}
a.btn-outline,
a.btn-outline:link,
a.btn-outline:visited {
  color: #fff;
}
a.btn-outline:hover,
a.btn-outline:focus {
  color: var(--color-primary);
}

/* heroの.btn-outlineは明るい背景上に置かれるため
   文字色と枠色を共に濃色(--color-primary)に揃えて視認性を確保 */
.hero .btn-outline,
.hero a.btn-outline:link,
.hero a.btn-outline:visited {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.hero a.btn-outline:hover,
.hero a.btn-outline:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

