/* ===== BB Services / Self Check-in — self-contained ===== */
:root {
  --navy: #031e22;
  --navy-light: #0a3038;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #60a5fa;
  --blue-pale: #dbeafe;
  --blue-paler: #eff6ff;
  --white: #ffffff;
  --gray-50: #F5F6F7;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --red: #ef4444;
  --green: #10b981;
  --orange: #f59e0b;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HEADER ===== */
.header {
  background: #1a2744;
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: inline-flex; align-items: center; text-decoration: none; }
.header-logo img { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.75); font-size: 13px; transition: color 0.2s; }
.header-nav a:hover { color: #fff; }
.header-nav a.header-cta {
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 8px 20px; border-radius: 100px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
}
.header-nav a.header-cta:hover { background: rgba(255,255,255,0.22); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(to right, var(--blue) 0%, var(--navy) 60%, var(--navy) 100%);
  color: var(--white); padding: 64px 0 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(96,165,250,0.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 500; color: var(--blue-light);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
  animation: fadeUp 0.6s ease-out;
}
.hero h1 {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 40px; font-weight: 400; line-height: 1.5;
  margin-bottom: 20px; animation: fadeUp 0.8s ease-out 0.1s both;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-sub {
  font-size: 16px; line-height: 1.9; opacity: 0.85;
  max-width: 760px; animation: fadeUp 0.8s ease-out 0.3s both;
}

/* ===== SECTION ===== */
section { padding: 96px 0; }
.section-label {
  font-size: 13px; font-weight: 500; color: var(--blue);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px; display: inline-block;
}
.section-title {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 400; color: var(--navy);
  line-height: 1.5; margin-bottom: 20px;
}
.section-sub {
  font-size: 15px; color: var(--gray-600); line-height: 1.9;
  max-width: 760px; margin-bottom: 56px;
}

/* ===== PAIN POINTS ===== */
.pain-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 32px;
}
.pain-chip {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 24px 20px;
  font-size: 13.5px; color: var(--gray-700);
  line-height: 1.75; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 116px;
}
.pain-chip-num {
  font-family: "Outfit", sans-serif; font-size: 12px;
  color: var(--blue); letter-spacing: 0.15em; margin-bottom: 8px;
}

/* ===== COMPARE (キオスク vs タブレット) ===== */
.compare-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 32px;
}
.compare-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 32px 28px; position: relative;
}
.compare-card.before { background: var(--gray-50); }
.compare-card.after { border-color: var(--blue); box-shadow: 0 8px 32px rgba(37,99,235,0.08); }
.compare-tag {
  display: inline-block; font-family: "Outfit", sans-serif;
  font-size: 11px; letter-spacing: 0.14em; padding: 5px 12px;
  border-radius: 100px; margin-bottom: 14px;
}
.compare-card.before .compare-tag { background: var(--gray-200); color: var(--gray-600); }
.compare-card.after .compare-tag { background: var(--blue); color: var(--white); }
.compare-card h3 {
  font-size: 19px; font-weight: 600; color: var(--navy);
  line-height: 1.55; margin-bottom: 18px;
}
.compare-list { list-style: none; padding: 0; }
.compare-list li {
  font-size: 14px; color: var(--gray-700); line-height: 1.85;
  padding: 10px 0 10px 26px; position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.compare-list li:last-child { border-bottom: none; }
.compare-list li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 14px; height: 14px; border-radius: 50%;
}
.compare-card.before .compare-list li::before {
  background: var(--gray-100); border: 1px solid var(--gray-300);
}
.compare-card.after .compare-list li::before {
  background: var(--blue-pale);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 10px 10px;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px); border-color: var(--blue-light);
  box-shadow: 0 12px 32px rgba(3, 30, 34, 0.06);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h4 {
  font-size: 16px; font-weight: 600; color: var(--navy);
  line-height: 1.55; margin-bottom: 4px;
}
.feature-card .feature-en {
  font-family: "Outfit", sans-serif; font-size: 11px;
  letter-spacing: 0.1em; color: var(--blue); margin-bottom: 12px;
}
.feature-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.85; }

/* ===== USER FLOW ===== */
.flow-steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  margin-top: 36px; position: relative;
}
.flow-step {
  position: relative; padding: 24px 14px;
  text-align: center;
}
.flow-step::after {
  content: ''; position: absolute; top: 44px; right: -7px;
  width: 14px; height: 14px; border-top: 2px solid var(--blue-light);
  border-right: 2px solid var(--blue-light);
  transform: rotate(45deg); opacity: 0.5;
}
.flow-step:last-child::after { display: none; }
.flow-num {
  font-family: "Outfit", sans-serif; font-size: 12px;
  color: var(--blue); letter-spacing: 0.12em; margin-bottom: 6px;
}
.flow-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-paler); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.flow-icon svg { width: 28px; height: 28px; }
.flow-step h5 {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.55;
}
.flow-step p {
  font-size: 12px; color: var(--gray-500); line-height: 1.7;
  margin-top: 6px;
}

/* ===== DEVICE SPEC ===== */
.device-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
.device-card {
  background: var(--gray-50); border-radius: 12px;
  padding: 24px 22px; position: relative;
}
.device-card.optional { border: 1px dashed var(--gray-300); background: var(--white); }
.device-card .device-tag {
  display: inline-block; font-family: "Outfit", sans-serif;
  font-size: 10px; letter-spacing: 0.12em;
  padding: 3px 8px; border-radius: 4px; margin-bottom: 12px;
}
.device-card .device-tag.std { background: var(--blue-pale); color: var(--blue); }
.device-card .device-tag.opt { background: var(--gray-200); color: var(--gray-600); }
.device-card h5 {
  font-size: 15px; font-weight: 600; color: var(--navy);
  line-height: 1.55; margin-bottom: 6px;
}
.device-card .device-model {
  font-size: 12.5px; color: var(--gray-600); line-height: 1.7;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}
.device-card p {
  font-size: 12.5px; color: var(--gray-600); line-height: 1.85;
  margin-top: 10px;
}

/* ===== LANG + PAYMENT METHODS ===== */
.lang-pay {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 32px;
}
.lang-pay-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 28px 28px;
}
.lang-pay-card h4 {
  font-size: 15px; font-weight: 600; color: var(--navy);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.lang-pay-card h4 svg { width: 20px; height: 20px; color: var(--blue); }
.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag {
  background: var(--gray-50); color: var(--gray-700);
  padding: 6px 14px; border-radius: 100px; font-size: 12.5px;
  border: 1px solid var(--gray-200);
}

/* ===== PAYMENT TABLE ===== */
.pay-table-wrap { margin-top: 32px; overflow-x: auto; }
.pay-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden;
  font-size: 13.5px;
}
.pay-table thead { background: var(--gray-50); }
.pay-table th {
  text-align: left; padding: 14px 18px; color: var(--navy);
  font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--gray-200);
}
.pay-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700); line-height: 1.6;
}
.pay-table tbody tr:last-child td { border-bottom: none; }
.pay-table .rate { font-family: "Outfit", sans-serif; font-weight: 500; color: var(--navy); }
.pay-table .tax-non { color: var(--green); font-size: 12.5px; }
.pay-table .tax-yes { color: var(--gray-500); font-size: 12.5px; }
.pay-note {
  font-size: 12.5px; color: var(--gray-500); margin-top: 16px;
}

/* ===== CASE ===== */
.case-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 36px 36px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px;
  margin-top: 32px; align-items: start;
}
.case-photo {
  background: var(--gray-100); border-radius: 12px;
  aspect-ratio: 4 / 3; display: flex; align-items: center;
  justify-content: center; color: var(--gray-400);
  font-size: 13px;
}
.case-body h3 {
  font-size: 22px; font-weight: 600; color: var(--navy);
  margin-bottom: 6px;
}
.case-meta {
  font-size: 13px; color: var(--gray-500); margin-bottom: 20px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.case-meta span { display: inline-flex; align-items: center; gap: 6px; }
.case-meta svg { width: 14px; height: 14px; color: var(--gray-400); }
.case-section { margin-bottom: 18px; }
.case-section h6 {
  font-family: "Outfit", sans-serif; font-size: 11px;
  letter-spacing: 0.12em; color: var(--blue); margin-bottom: 8px;
}
.case-section p, .case-section li { font-size: 14px; color: var(--gray-700); line-height: 1.85; }
.case-section ul { list-style: none; padding: 0; }
.case-section li {
  padding-left: 16px; position: relative;
}
.case-section li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 2px; background: var(--blue);
}

/* ===== NOT-AVAILABLE ===== */
.not-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 32px;
}
.not-item {
  background: var(--white); border-left: 3px solid var(--gray-400);
  padding: 18px 22px; border-radius: 0 8px 8px 0;
  font-size: 14px; color: var(--gray-700); line-height: 1.7;
}
.not-item .planned {
  display: inline-block; font-family: "Outfit", sans-serif;
  font-size: 10px; letter-spacing: 0.12em;
  background: var(--blue-pale); color: var(--blue);
  padding: 2px 8px; border-radius: 4px; margin-left: 8px;
  vertical-align: middle;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 26px 30px; margin-bottom: 14px;
}
.faq-q {
  font-size: 15px; font-weight: 600; color: var(--navy);
  line-height: 1.6; margin-bottom: 12px;
  padding-left: 38px; position: relative;
}
.faq-q::before {
  content: 'Q'; position: absolute; left: 0; top: -2px;
  width: 26px; height: 26px; background: var(--blue);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600;
}
.faq-a {
  font-size: 14px; color: var(--gray-600); line-height: 1.95;
  padding-left: 38px; position: relative;
}
.faq-a::before {
  content: 'A'; position: absolute; left: 0; top: -2px;
  width: 26px; height: 26px; background: var(--gray-100);
  color: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600;
}

/* ===== BUTTONS / CTA ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.cta-section {
  background: linear-gradient(to right, var(--blue) 0%, var(--navy) 60%, var(--navy) 100%);
  color: var(--white); text-align: center;
}
.cta-section h2 {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 400; line-height: 1.5; margin-bottom: 20px;
}
.cta-section p { font-size: 15px; opacity: 0.85; margin-bottom: 32px; }
.cta-section .btn-primary { background: var(--white); color: var(--navy); }
.cta-section .btn-primary:hover { background: var(--gray-100); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 56px 0 32px; font-size: 13px;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { color: var(--white); font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.footer-tagline { line-height: 1.8; }
.footer h4 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 12px;
}

/* ===== BREADCRUMB (hero 内ナビ) ===== */
.hero .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.7);
  margin-bottom: 24px; padding: 0;
}
.hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.hero .breadcrumb a:hover { color: #fff; }
.hero .breadcrumb-sep { margin: 0 8px; color: rgba(255,255,255,0.35); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-step::after { display: none; }
  .case-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 120px 0 56px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  section { padding: 64px 0; }
  .section-title { font-size: 24px; }
  .pain-row, .compare-grid, .lang-pay, .not-list { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .case-card { padding: 24px; gap: 24px; }
  .footer .container { grid-template-columns: 1fr; gap: 32px; }
  .header-nav { gap: 12px; }
  .header-nav a { font-size: 12px; }
  .header-nav a.header-cta { padding: 6px 14px; }
}
