:root {
  --color-navy: #3D60AF;
  --color-navy-dark: #314d8c;
  --color-orange: #f68a1f;
  --color-orange-dark: #e07811;
  --color-green: #6fbf44;
  --color-green-dark: #58a534;
  --color-blue-icon: #2f6fb0;
  --color-bg: #f4f5f7;
  --color-bg-white: #ffffff;
  --color-text: #292929;
  --color-text-light: #5f6368;
  --color-border: #e1e3e6;
  --max-width: 1200px;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 125%; /* base render matches a 100% browser zoom (source mockups were captured at 75%) */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background: var(--color-navy);
}

.header-top .header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 18px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0.92;
}

.main-nav a:hover { opacity: 1; text-decoration: underline; }

.lang-select {
  background: #fff;
  border: none;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 0.7rem;
  color: var(--color-text);
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(#f2f3f5, #eceef1);
  overflow: hidden;
  padding: 72px 28px 92px;
  text-align: center;
}

.hero-hexbg {
  position: absolute;
  inset: 0;
}

.hero-hexbg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-hexbg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
}

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

.hero-line {
  margin: 0;
  font-size: 1.6rem;
  color: #333;
}

.hero-line--strong {
  font-size: 3.9rem;
  font-weight: 800;
  margin-top: 8px;
}

.hero-cycle {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.hero-cycle--out {
  opacity: 0;
  transform: translateY(8px);
}


/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--color-bg);
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 48px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background: var(--color-navy);
}

/* ---------- Product intro ---------- */
.product-intro { padding-top: 56px; }

.product-badge {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.product-badge-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.sm-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.sm-logo-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.sm-logo-bars span {
  width: 6px;
  background: var(--color-orange);
  display: inline-block;
}
.sm-logo-bars span:nth-child(1) { height: 12px; background: #cfd3d8; }
.sm-logo-bars span:nth-child(2) { height: 19px; }
.sm-logo-bars span:nth-child(3) { height: 24px; }

.sm-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #222;
}
.sm-logo-text em { color: var(--color-green); font-style: normal; }

.sm-logo--sm .sm-logo-text { font-size: 0.95rem; }
.sm-logo--center { justify-content: center; margin-top: 8px; }

.sm-logo-img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
}

.product-intro-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-screenshot {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.usage-screenshot {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin: 44px auto 0;
}

.product-intro-text p { margin: 0 0 16px; }

.highlight-blue { color: #3D60AF; }

.cta-wrap {
  text-align: center;
  margin-top: 34px;
}

/* ---------- Placeholder images ---------- */
.placeholder-img {
  background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 10px, #e6e8ec 10px, #e6e8ec 20px);
  border: 1px dashed #b7bcc4;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8f98;
  font-size: 0.82rem;
  text-align: center;
  min-height: 280px;
  padding: 24px;
}

.placeholder-img--wide { min-height: 320px; }
.placeholder-img--callout { margin-top: 44px; }

.placeholder-img--browser {
  position: relative;
  flex-direction: column;
  gap: 16px;
  min-height: 290px;
}

.browser-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 26px;
  background: #d7dade;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}
.browser-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #aeb3ba;
}

/* ---------- Diagram card (features) ---------- */
.diagram-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  margin-bottom: 44px;
}

.diagram-body {
  display: flex;
  justify-content: center;
}

.diagram-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Feature cards ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 26px;
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Steps (usage) ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
  position: relative;
}

.step-num {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.step-icon {
  width: 120px;
  height: 120px;
  margin: 16px auto 18px;
}
.step-icon svg { width: 100%; height: 100%; }

.step p { margin: 0; font-size: 0.85rem; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: #b7bcc4;
  flex: 0 0 auto;
  line-height: 1;
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-orange);
}

.price-card p { margin: 14px 0 0; color: var(--color-text-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 50px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }

.btn--orange {
  background: var(--color-orange);
  color: #fff;
}

.btn--green {
  background: var(--color-green);
  color: #fff;
  padding: 13px 34px;
}

/* ---------- Video ---------- */
.video-card {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
}

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

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
}

.check-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ---------- Applications ---------- */
.app-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--color-bg-white);
}

.app-diagram {
  background: #f7f8fa;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border);
}

.app-diagram-img {
  width: 100%;
  height: auto;
  display: block;
}

.app-body {
  padding: 30px 36px;
}

.app-body h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.app-body p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0 0 18px;
}

/* ---------- Excel sample ---------- */
.sample-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.sample-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: block;
}

.sample-body p { margin: 0 0 18px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faq-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-q {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  padding: 18px 20px;
  font-size: 0.92rem;
  min-height: 84px;
  display: flex;
  align-items: center;
}

.faq-a {
  background: var(--color-bg-white);
  padding: 20px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  min-height: 130px;
}

.faq-a a { color: var(--color-blue-icon); }

/* ---------- Manual ---------- */
.manual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.manual-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: block;
}

.manual-text p { margin: 0 0 14px; }

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--color-border);
  padding: 20px 22px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--color-bg);
  width: 260px;
  font-weight: 700;
}

.spec-note { color: #d32f2f; font-size: 0.78rem; }

/* ---------- Notes ---------- */
.notes-list {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 22px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.notes-list li { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  padding: 40px 28px 28px;
  text-align: center;
}

.share-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.share-btn {
  width: 100px;
  padding: 10px 0;
  border-radius: 4px;
  border: 1px solid #c7d0e4;
  color: #fff;
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.share-btn--facebook { background: #3b5998; }
.share-btn--twitter { background: #000; }
.share-btn--hatena { background: #00a4de; }
.share-btn--pocket { background: #ef4056; }
.share-btn--line { background: #06c755; }

.copyright {
  color: #c7d0e4;
  font-size: 0.75rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .product-intro-body { grid-template-columns: 1fr; }
  .sample-card { grid-template-columns: 1fr; }
  .manual-card { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; }
  .app-diagram { border-right: none; border-bottom: 1px solid var(--color-border); }
  .spec-table th { width: auto; display: block; }
  .spec-table td { display: block; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: var(--color-navy-dark);
    padding: 4px 20px 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-line--strong { font-size: 3rem; }
}

@media (max-width: 600px) {
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-navy-dark);
}
