/* =========================================================
   main_optimized.css
   Reconstructed / optimized shared stylesheet
   ========================================================= */

/* =========================
   01. TOKENS
   ========================= */
:root {
  --main-color: #0d6efd;
  --main-color-hover: #0b5ed7;
  --sub-color: #0b2545;
  --accent-color: #f3f7fc;
  --text-color: #1f2937;
  --muted-color: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --footer-bg: #0f1722;

  --shadow-soft: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 14px 34px rgba(0, 0, 0, 0.08);
  --shadow-panel: 0 8px 24px rgba(15, 23, 42, 0.05);

  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
  --radius-md: 0.875rem;
  --radius-pill: 999px;

  --section-padding-y: 40px;
  --section-padding-y-lg: 80px;

  /* alias for compatibility */
  --muted: var(--muted-color);
  --bs-primary: var(--main-color);
}

/* =========================
   02. BASE
   ========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.75;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--main-color-hover);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   03. LAYOUT / TYPOGRAPHY
   ========================= */
.section-padding {
  padding: var(--section-padding-y) 0;
}

.content-section {
  padding: var(--section-padding-y-lg) 0;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--sub-color);
  margin-bottom: 1rem;
}

.section-lead,
.section-desc,
.content-text,
.content-lead,
.page-lead,
.message-text,
.cta-text,
.small-note,
.small-muted {
  color: var(--muted-color);
}

.section-lead,
.section-desc {
  max-width: 760px;
  margin-bottom: 0;
  margin: 0 auto;
}

.section-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8794;
  font-weight: 600;
}

.title-box {
  background: linear-gradient(135deg, var(--sub-color), #153b6d);
  color: var(--white);
  padding: 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.title-box h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.bg-soft {
  background: var(--accent-color);
}

/* =========================
   04. NAVBAR / BUTTONS
   ========================= */
.site-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  z-index: 1030;
}

.site-brand {
  font-weight: 800;
  color: var(--sub-color);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
}

.site-navbar .navbar-nav {
  flex-wrap: nowrap;
}

.site-navbar .nav-link {
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--main-color);
}

body {
  padding-top: 88px;
}

.site-logo {
  display: block;
  height: 50px;
  width: auto;
}

.btn-main,
.btn-outline-main,
.btn-sub,
.btn-dark-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.btn-main {
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: var(--white);
}

.btn-main:hover,
.btn-main:focus {
  background: var(--main-color-hover);
  border-color: var(--main-color-hover);
  color: var(--white);
}

.btn-outline-main {
  background: var(--white);
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.btn-outline-main:hover,
.btn-outline-main:focus {
  background: var(--main-color);
  border-color: var(--main-color);
  color: var(--white);
}

.btn-dark-main {
  background: #212529;
  border: 1px solid #212529;
  color: var(--white);
}

.btn-dark-main:hover,
.btn-dark-main:focus {
  background: #111827;
  border-color: #111827;
  color: var(--white);
}

.btn-sub {
  background: var(--white);
  color: #212529;
  border: 1px solid #dbe2ea;
}

.btn-sub:hover,
.btn-sub:focus {
  background: #f8fafc;
  color: #212529;
}

/* =========================
   05. SHARED COMPONENTS
   ========================= */
.hero-card,
.feature-card,
.product-card,
.info-card,
.stat-card,
.panel-box,
.stats-box,
.system-box,
.message-box,
.media-panel,
.overview-card,
.issue-card,
.benefit-card,
.use-card,
.spec-card,
.case-card,
.news-card,
.pricing-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.feature-card,
.product-card,
.info-card,
.stat-card,
.panel-box,
.stats-box,
.system-box,
.message-box,
.overview-card,
.issue-card,
.benefit-card,
.use-card,
.spec-card,
.case-card,
.pricing-card {
  height: 100%;
}

.feature-card,
.info-card,
.stat-card,
.panel-box,
.stats-box,
.system-box,
.message-box,
.overview-card,
.issue-card,
.benefit-card,
.use-card,
.spec-card,
.case-card,
.pricing-card {
  padding: 1.5rem;
}

.feature-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover,
.product-card:hover,
.pricing-card.recommended {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card h3,
.product-card h3,
.info-card h3,
.stat-card h3,
.issue-card h3,
.benefit-card h3,
.use-card h3,
.case-card h3,
.news-card h3,
.system-title,
.content-title,
.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sub-color);
  margin-bottom: 0.75rem;
}

.feature-card p,
.product-card p,
.info-card p,
.stat-card p,
.issue-card p,
.benefit-card p,
.use-card p,
.case-card p,
.case-card li,
.news-card p,
.system-text,
.feature-text {
  color: var(--muted-color);
  margin-bottom: 0;
}

.feature-icon,
.icon-badge,
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #eef5ff;
  color: var(--main-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(13, 77, 139, 0.1);
  color: var(--main-color);
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef3f8;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.media-image-wrap,
.media-panel,
.hero-card,
.news-card {
  overflow: hidden;
}

.media-image-wrap {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.media-image-wrap img,
.hero-card img,
.product-card img {
  width: 100%;
  object-fit: cover;
}

.hero-card img {
  height: 100%;
  min-height: 440px;
}

.media-image-wrap img {
  height: 100%;
  min-height: 420px;
}

.product-card img {
  height: 220px;
}

.product-card .card-body,
.nav_card-body,
.news-body,
.feature-content,
.media-content,
.hero-visual,
.hero-panel-body,
.contact-card {
  padding: 1.5rem;
}

.product-tag,
.hero-badge,
.eyebrow,
.case-badge,
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.product-tag,
.hero-badge,
.eyebrow,
.case-badge {
  background: #eef5ff;
  color: var(--main-color);
}

.product-tag {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-badge,
.eyebrow {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.case-badge {
  border: 1px solid rgba(13, 77, 139, 0.12);
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--main-color), #2478c0);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
}

.check-list,
.list-check {
  list-style: none;
  padding-left: 0;
}

.check-list {
  margin: 1.5rem 0 0;
}

.check-list li,
.list-check li {
  position: relative;
  color: #374151;
}

.check-list li {
  padding-left: 2rem;
  margin-bottom: 0.85rem;
}

.list-check li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--main-color);
  font-size: 1.1rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  top: 0.02rem;
  left: 0;
  color: var(--main-color);
  font-weight: 800;
}

.metric-box,
.quick-metrics .metric {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.metric-box {
  padding: 1.2rem 1rem;
  text-align: center;
}

.metric-box h3,
.metric-card .metric-value,
.stats-value,
.stat-number,
.big-value,
.price-main {
  font-weight: 800;
  line-height: 1.2;
}

.metric-box h3 {
  font-size: 1.6rem;
  color: var(--sub-color);
  margin-bottom: 0.25rem;
}

.metric-box p,
.metric-card .metric-label,
.metric-card .metric-note,
.quick-metrics .label,
.quick-metrics .value,
.stats-label,
.stats-note,
.price-label,
.price-note,
.news-meta,
.spec-title,
.spec-value,
.nav_card-text {
  color: var(--muted-color);
}

.metric-box p,
.nav_card-text {
  font-size: 0.95rem;
}

.metric-card .metric-value,
.stat-number,
.stats-value,
.big-value {
  font-size: 2rem;
}

.quick-metrics {
  margin-top: 1rem;
}

.quick-metrics .metric {
  padding: 1rem;
  background: #f7fbff;
  border-color: #e2eef9;
}

.news-thumb {
  min-height: 12rem;
  background:
    linear-gradient(135deg, rgba(13, 77, 139, 0.16), rgba(45, 136, 216, 0.1)),
    linear-gradient(180deg, #dae8f7 0%, #f8fbff 100%);
}

.stat-card {
  text-align: center;
}

.stat-number {
  color: var(--main-color);
  margin-bottom: 0.45rem;
}

.pricing-card {
  position: relative;
}

.price-label {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-main {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}

.accordion-button {
  font-weight: 700;
  color: var(--sub-color);
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  color: var(--main-color);
  background: #eef5ff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.cta-box {
  background: linear-gradient(135deg, var(--sub-color), #153b6d);
  color: var(--white);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
}

.cta-box h2 {
  font-weight: 800;
  line-height: 1.3;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1722, #16345c 62%, #215d9c 100%);
  color: var(--white);
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.contact-card .form-control,
.contact-card .form-select {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.9rem 1rem;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
}

.site-footer h5,
.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer a,
.footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.937rem;
}

.site-footer a:hover,
.footer-link:hover {
  color: var(--white);
}

.footer-bottom,
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.875rem;
}

.footer-divider {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/* =========================
   06. HOME PAGE
   ========================= */
.hero-section {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(11, 37, 69, 0.02)),
    var(--white);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero-section::before {
  width: 420px;
  height: 420px;
  background: rgba(13, 110, 253, 0.08);
  top: -100px;
  right: -120px;
}

.hero-section::after {
  width: 320px;
  height: 320px;
  background: rgba(11, 37, 69, 0.05);
  bottom: -80px;
  left: -80px;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--sub-color);
  margin-bottom: 1.2rem;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--muted-color);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-buttons {
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.numbers-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

/* =========================
   07. SHARED SUBPAGE STYLES
   ========================= */
.breadcrumb-wrap {
  margin-bottom: 1.25rem;
}

.breadcrumb {
  --bs-breadcrumb-divider: '›';
  margin-bottom: 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--muted-color);
}

.breadcrumb-item.active {
  color: var(--main-color);
  font-weight: 500;
}

.nav_card-body {
  flex: 1 1 auto;
  padding: 1rem;
}

.nav_card-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav_card-title-s {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav_card-title-xs {
  font-size: 1rem;
  font-weight: 700;
}

/* =========================
   08. ACHIEVEMENTS PAGE
   ========================= */
.section-achievements .section-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #212529;
  margin-bottom: 1rem;
}

.section-achievements .section-lead {
  color: #6c757d;
  line-height: 1.9;
  font-size: 1rem;
}

.section-achievements .stats-box,
.section-achievements .list-box {
  background: var(--white);
  border: 1px solid #e7ebf0;
  border-radius: 20px;
  box-shadow: var(--shadow-panel);
}

.section-achievements .stats-box {
  padding: 1.5rem 1rem;
}

.section-achievements .stats-label {
  font-size: 0.82rem;
  color: #6c757d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-achievements .stats-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111827;
}

.section-achievements .company-column {
  padding-left: 0.82rem;
  padding-right: 0.82rem;
}

.section-achievements .company-item {
  padding: 0.82rem 0;
  border-bottom: 1px solid #edf1f4;
  color: #2f3a45;
  font-size: 0.96rem;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-achievements .small-note {
  color: #6c757d;
  line-height: 1.8;
  font-size: 0.92rem;
}

/* =========================
   09. ABOUT US PAGE
   ========================= */
.page-title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #212529;
  margin-bottom: 1rem;
}

.content-title {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #212529;
}

.page-lead,
.content-lead,
.message-text,
.cta-text,
.stats-note,
.system-text,
.feature-text {
  color: #6c757d;
  line-height: 1.9;
}

.stats-box,
.panel-box,
.system-box,
.message-box {
  background: var(--white);
  border: 1px solid #e7ebf0;
  border-radius: 20px;
  box-shadow: var(--shadow-panel);
}

.stats-box {
  padding: 1.5rem 1rem;
}

.stats-label {
  font-size: 0.82rem;
  color: #6c757d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stats-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111827;
}

.overview-table {
  margin-bottom: 0;
}

.overview-table th,
.overview-table td {
  padding: 1rem;
  vertical-align: top;
  border-color: #edf1f4;
  font-size: 0.98rem;
}

.overview-table th {
  width: 170px;
  color: #495057;
  font-weight: 600;
  white-space: nowrap;
}

.about-feature-card {
  background: var(--white);
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  box-shadow: var(--shadow-panel);
  height: 100%;
  padding: 1.75rem 1.5rem;
}

/* =========================
   10. UTILITIES / RESPONSIVE
   ========================= */
@media (min-width: 992px) {
  .section-achievements .company-column:not(:last-child) {
    border-right: 1px solid #edf1f4;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 130px 0 80px;
  }

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

  .hero-card img,
  .media-image-wrap img {
    min-height: 300px;
  }

  .section-achievements .section-title {
    font-size: 1.7rem;
  }

  .section-achievements .stats-value,
  .stats-value {
    font-size: 1.65rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-title,
  .page-title {
    font-size: 2rem;
  }

  .cta-box {
    padding: 2.2rem 1.5rem;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-main,
  .hero-buttons .btn-outline-main {
    width: 100%;
  }

  .section-achievements .section-title {
    font-size: 1.45rem;
  }

  .section-achievements .section-lead {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .section-achievements .company-column {
    padding-left: 0;
    padding-right: 0;
  }
}
