/* =========================================================
   ルステル（RUSUTEL）ホームページ リニューアル共通スタイル
   ※システム側（*.aspx / css/style.css / common/）とは完全独立
   ========================================================= */

:root {
  --hp-primary: #0284c7;
  --hp-primary-dark: #0369a1;
  --hp-primary-darker: #0c4a6e;
  --hp-primary-light: #e0f2fe;
  --hp-primary-soft: #f0f9ff;
  --hp-accent: #f97316;
  --hp-accent-dark: #ea580c;
  --hp-accent-light: #fff7ed;
  --hp-green: #10b981;
  --hp-green-light: #ecfdf5;
  --hp-text: #0f172a;
  --hp-text-sub: #334155;
  --hp-text-muted: #64748b;
  --hp-border: #e2e8f0;
  --hp-bg: #ffffff;
  --hp-bg-alt: #f8fafc;
  --hp-radius-sm: 8px;
  --hp-radius: 14px;
  --hp-radius-lg: 20px;
  --hp-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --hp-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  --hp-shadow-lg: 0 20px 40px rgba(2, 132, 199, 0.12);
  --hp-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --hp-max-w: 1140px;
  --hp-header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hp-header-h) + 20px);
  font-size: 16px;
}

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

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

a {
  color: var(--hp-primary);
  text-decoration: none;
  transition: color var(--hp-transition), background-color var(--hp-transition), border-color var(--hp-transition), transform var(--hp-transition), box-shadow var(--hp-transition);
}

a:hover {
  color: var(--hp-primary-dark);
}

h1, h2, h3, h4, p, ul, ol, dl, dd {
  margin-top: 0;
}

/* Container */
.hp-container {
  width: 100%;
  max-width: var(--hp-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hp-container--narrow {
  max-width: 860px;
}

/* Utility */
.hp-text-center { text-align: center; }
.hp-mt-0 { margin-top: 0; }
.hp-mt-16 { margin-top: 16px; }
.hp-mt-24 { margin-top: 24px; }
.hp-mt-32 { margin-top: 32px; }
.hp-mt-48 { margin-top: 48px; }
.hp-mb-0 { margin-bottom: 0; }
.hp-mb-16 { margin-bottom: 16px; }
.hp-mb-24 { margin-bottom: 24px; }
.hp-mb-32 { margin-bottom: 32px; }
.hp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.hp-btn--lg {
  font-size: 1.05rem;
  padding: 16px 32px;
}

.hp-btn--sm {
  font-size: 0.85rem;
  padding: 9px 18px;
}

.hp-btn--accent {
  background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28);
}

.hp-btn--accent:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

.hp-btn--primary {
  background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

.hp-btn--primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
}

.hp-btn--outline {
  background: #ffffff;
  color: var(--hp-primary);
  border-color: var(--hp-primary);
}

.hp-btn--outline:hover {
  background: var(--hp-primary-soft);
  color: var(--hp-primary-dark);
  transform: translateY(-1px);
}

.hp-btn--ghost-white {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.hp-btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hp-btn--white {
  background: #ffffff;
  color: var(--hp-primary-dark);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.hp-btn--white:hover {
  background: #f8fafc;
  color: var(--hp-primary-darker);
  transform: translateY(-2px);
}

.hp-btn--login {
  background: var(--hp-bg-alt);
  color: var(--hp-text-sub);
  border: 1.5px solid var(--hp-border);
  font-size: 0.85rem;
  padding: 8px 16px;
}

.hp-btn--login:hover {
  border-color: var(--hp-primary);
  color: var(--hp-primary);
  background: var(--hp-primary-soft);
}

/* =========================================================
   Header & Navigation
   ========================================================= */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-border);
  height: var(--hp-header-h);
}

.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.hp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hp-text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.hp-logo:hover {
  color: var(--hp-primary);
}

.hp-logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.hp-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hp-logo__name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--hp-primary-darker);
  letter-spacing: 0.04em;
}

.hp-logo__sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--hp-text-muted);
  letter-spacing: 0.02em;
}

.hp-logo__img {
  height: 34px;
  width: auto;
  display: block;
}

.hp-figure-card {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: 20px;
  box-shadow: var(--hp-shadow);
  margin: 0 auto 36px;
  max-width: 960px;
}

.hp-figure-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0 auto;
}

.hp-figure-card__caption {
  text-align: center;
  font-size: 0.84rem;
  color: var(--hp-text-muted);
  margin: 12px 0 0;
}

.hp-vic-strip {
  background: #f1f5f9;
  border-top: 1px solid var(--hp-border);
  padding: 22px 0;
}

.hp-vic-strip__link {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--hp-shadow-sm);
}

.hp-vic-strip__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow);
}

.hp-vic-strip__link img {
  width: 100%;
  height: auto;
}

.hp-faq-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-faq-group__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.hp-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hp-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.hp-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hp-text-sub);
  white-space: nowrap;
}

.hp-nav__link:hover,
.hp-nav__link.is-active {
  color: var(--hp-primary);
  background: var(--hp-primary-soft);
}

.hp-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.hp-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--hp-border);
  background: #ffffff;
  color: var(--hp-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.hp-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hp-text);
  border-radius: 2px;
  transition: transform var(--hp-transition), opacity var(--hp-transition);
}

.hp-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hp-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.hp-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hp-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--hp-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--hp-border);
}

.hp-mobile-drawer.is-open {
  display: block;
}

.hp-mobile-drawer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--hp-text);
  background: var(--hp-bg-alt);
}

.hp-mobile-drawer__link.is-active {
  background: var(--hp-primary-soft);
  color: var(--hp-primary);
}

.hp-mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-mobile-drawer__actions .hp-btn {
  width: 100%;
}

/* =========================================================
   Announcement Bar
   ========================================================= */
.hp-announcement {
  background: linear-gradient(90deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 10px 16px;
  text-align: center;
}

.hp-announcement__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-announcement__badge {
  background: var(--hp-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.hp-announcement a {
  color: #bae6fd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-announcement a:hover {
  color: #ffffff;
}

/* =========================================================
   Hero Section (Top)
   ========================================================= */
.hp-hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.14) 0%, transparent 50%),
              linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  padding: 68px 0 80px;
  overflow: hidden;
}

.hp-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: var(--hp-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: var(--hp-shadow-sm);
}

.hp-hero__title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--hp-text);
  margin-bottom: 20px;
}

.hp-hero__title em {
  font-style: normal;
  color: var(--hp-primary);
  background: linear-gradient(transparent 72%, #bae6fd 72%);
  padding: 0 2px;
}

.hp-hero__lead {
  font-size: 1.02rem;
  color: var(--hp-text-sub);
  margin-bottom: 28px;
  line-height: 1.85;
}

.hp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hp-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hp-text-sub);
}

.hp-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-hero__points svg {
  color: var(--hp-green);
  flex-shrink: 0;
}

/* Dashboard Mockup in Hero */
.hp-mockup {
  position: relative;
  background: #ffffff;
  border-radius: var(--hp-radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.hp-mockup__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0c4a6e;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hp-mockup__dots {
  display: flex;
  gap: 6px;
}

.hp-mockup__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hp-mockup__body {
  padding: 20px;
  background: #f8fafc;
}

.hp-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hp-mockup__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--hp-text);
}

.hp-mockup__pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hp-primary-dark);
  background: var(--hp-primary-light);
  padding: 3px 10px;
  border-radius: 999px;
}

.hp-mockup__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-mockup__item {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: var(--hp-shadow-sm);
}

.hp-mockup__play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hp-primary-soft);
  color: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-mockup__play--active {
  background: var(--hp-primary);
  color: #ffffff;
}

.hp-mockup__meta {
  min-width: 0;
}

.hp-mockup__num {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hp-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-mockup__time {
  font-size: 0.74rem;
  color: var(--hp-text-muted);
}

.hp-mockup__status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.hp-mockup__status--new {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.hp-mockup__status--done {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hp-mockup__toast {
  margin-top: 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.hp-mockup__toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   Subpage Hero
   ========================================================= */
.hp-page-hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
  color: #ffffff;
  padding: 52px 0 56px;
  position: relative;
  overflow: hidden;
}

.hp-page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.hp-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.hp-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.hp-page-hero__title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hp-page-hero__lead {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0;
}

/* =========================================================
   Sections & Headings
   ========================================================= */
.hp-section {
  padding: 76px 0;
}

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

.hp-section--soft {
  background-color: var(--hp-primary-soft);
}

.hp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.hp-section-head__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-primary);
  margin-bottom: 10px;
}

.hp-section-head__title {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--hp-text);
  margin-bottom: 14px;
}

.hp-section-head__desc {
  font-size: 0.98rem;
  color: var(--hp-text-sub);
  margin: 0;
}

/* =========================================================
   Cards & Grids
   ========================================================= */
.hp-grid {
  display: grid;
  gap: 24px;
}

.hp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hp-card {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 28px;
  box-shadow: var(--hp-shadow-sm);
  transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
}

.hp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hp-shadow);
  border-color: #bae6fd;
}

.hp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--hp-primary-soft);
  color: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hp-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--hp-primary);
  background: var(--hp-primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hp-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hp-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.hp-card__text {
  font-size: 0.92rem;
  color: var(--hp-text-sub);
  margin: 0;
  line-height: 1.75;
}

/* Highlights strip (3 pillars) */
.hp-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hp-pillar {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--hp-shadow-sm);
}

.hp-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-pillar__title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--hp-text);
}

.hp-pillar__desc {
  font-size: 0.88rem;
  color: var(--hp-text-sub);
  margin: 0;
}

/* =========================================================
   Comparison & Pricing Tables
   ========================================================= */
.hp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border);
  background: #ffffff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.hp-table th,
.hp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hp-border);
  text-align: center;
  vertical-align: middle;
}

.hp-table th:first-child,
.hp-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--hp-text);
  background: #f8fafc;
  width: 22%;
}

.hp-table thead th {
  background: #f1f5f9;
  color: var(--hp-text);
  font-weight: 800;
  font-size: 0.94rem;
  border-bottom: 2px solid var(--hp-border);
}

.hp-table thead th.is-highlight {
  background: var(--hp-primary);
  color: #ffffff;
  border-bottom-color: var(--hp-primary-dark);
}

.hp-table tbody td.is-highlight {
  background: var(--hp-primary-soft);
  color: var(--hp-primary-darker);
  font-weight: 700;
}

.hp-table tbody tr:last-child th,
.hp-table tbody tr:last-child td {
  border-bottom: none;
}

.hp-mark-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.9rem;
}

.hp-mark-no {
  color: #94a3b8;
  font-weight: 700;
}

/* =========================================================
   Plan Cards
   ========================================================= */
.hp-plan-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hp-shadow-sm);
  transition: transform var(--hp-transition), box-shadow var(--hp-transition);
}

.hp-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow);
}

.hp-plan-card--featured {
  border-color: var(--hp-primary);
  box-shadow: var(--hp-shadow-lg);
}

.hp-plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-dark) 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hp-plan-card__name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--hp-text);
  margin-bottom: 6px;
  text-align: center;
}

.hp-plan-card__desc {
  font-size: 0.82rem;
  color: var(--hp-text-muted);
  text-align: center;
  min-height: 2.8em;
  margin-bottom: 18px;
}

.hp-plan-card__price {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  margin-bottom: 18px;
}

.hp-plan-card__amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hp-primary-dark);
  letter-spacing: -0.02em;
}

.hp-plan-card__unit {
  font-size: 0.82rem;
  color: var(--hp-text-muted);
  font-weight: 600;
}

.hp-plan-card__tax {
  display: block;
  font-size: 0.74rem;
  color: var(--hp-text-muted);
  margin-top: 2px;
}

.hp-plan-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--hp-text-sub);
}

.hp-plan-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hp-plan-card__list strong {
  color: var(--hp-text);
}

.hp-plan-card__trial {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 14px;
}

/* =========================================================
   System Diagram & Flow Steps
   ========================================================= */
.hp-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.hp-diagram__step {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--hp-shadow-sm);
}

.hp-diagram__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hp-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hp-diagram__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--hp-primary-soft);
  color: var(--hp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.hp-diagram__title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--hp-text);
}

.hp-diagram__desc {
  font-size: 0.84rem;
  color: var(--hp-text-sub);
  margin: 0;
}

/* Vertical Timeline (導入の流れ) */
.hp-timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hp-timeline__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 20px 24px;
  box-shadow: var(--hp-shadow-sm);
}

.hp-timeline__item--goal {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #7dd3fc;
}

.hp-timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--hp-primary-soft);
  color: var(--hp-primary-dark);
  font-weight: 800;
  line-height: 1.1;
}

.hp-timeline__item--goal .hp-timeline__step {
  background: var(--hp-primary);
  color: #ffffff;
}

.hp-timeline__step small {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.hp-timeline__step span {
  font-size: 1.25rem;
}

.hp-timeline__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hp-text);
  margin-bottom: 4px;
}

.hp-timeline__desc {
  font-size: 0.88rem;
  color: var(--hp-text-sub);
  margin: 0;
}

/* =========================================================
   Demo Phone Cards (体験)
   ========================================================= */
.hp-demo-card {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hp-shadow-sm);
}

.hp-demo-card__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.hp-demo-card__chip {
  background: var(--hp-primary-soft);
  color: var(--hp-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.hp-demo-card__tel {
  margin-top: auto;
  padding-top: 16px;
}

.hp-demo-card__tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--hp-bg-alt);
  border: 1.5px solid #bae6fd;
  color: var(--hp-primary-darker);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.hp-demo-card__tel-btn:hover {
  background: var(--hp-primary);
  border-color: var(--hp-primary);
  color: #ffffff;
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.hp-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hp-faq-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--hp-border);
  background: #ffffff;
  color: var(--hp-text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--hp-transition);
}

.hp-faq-tab:hover,
.hp-faq-tab.is-active {
  background: var(--hp-primary);
  border-color: var(--hp-primary);
  color: #ffffff;
}

.hp-faq-group {
  margin-bottom: 36px;
}

.hp-faq-group__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hp-primary-darker);
  padding-left: 14px;
  border-left: 4px solid var(--hp-primary);
  margin-bottom: 16px;
}

.hp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-faq-item {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--hp-shadow-sm);
}

.hp-faq-item__q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--hp-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hp-faq-item__q-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hp-faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hp-faq-badge--q {
  background: var(--hp-primary-soft);
  color: var(--hp-primary);
}

.hp-faq-badge--a {
  background: var(--hp-accent-light);
  color: var(--hp-accent-dark);
}

.hp-faq-item__chevron {
  flex-shrink: 0;
  color: var(--hp-text-muted);
  transition: transform var(--hp-transition);
}

.hp-faq-item.is-open .hp-faq-item__chevron {
  transform: rotate(180deg);
  color: var(--hp-primary);
}

.hp-faq-item__a {
  display: none;
  padding: 0 22px 20px;
  border-top: 1px solid #f1f5f9;
}

.hp-faq-item.is-open .hp-faq-item__a {
  display: block;
}

.hp-faq-item__a-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  font-size: 0.92rem;
  color: var(--hp-text-sub);
  line-height: 1.8;
}

/* =========================================================
   Related Service Card & CTA Banner
   ========================================================= */
.hp-related-card {
  background: #ffffff;
  border: 2px solid #bae6fd;
  border-radius: var(--hp-radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--hp-shadow);
}

.hp-related-card__badge {
  display: inline-block;
  background: var(--hp-primary);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hp-related-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hp-primary-darker);
  margin-bottom: 10px;
}

.hp-related-card__desc {
  font-size: 0.94rem;
  color: var(--hp-text-sub);
  margin-bottom: 12px;
}

.hp-related-card__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hp-primary-dark);
  margin: 0;
}

.hp-cta-banner {
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
  color: #ffffff;
  border-radius: var(--hp-radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--hp-shadow-lg);
}

.hp-cta-banner__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.hp-cta-banner__desc {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 28px;
}

.hp-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hp-cta-banner__tel {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hp-cta-banner__tel a {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.12rem;
  margin-left: 6px;
}

/* =========================================================
   Contact Form & Legal Table
   ========================================================= */
.hp-form-card {
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: 36px;
  box-shadow: var(--hp-shadow);
}

.hp-form-group {
  margin-bottom: 22px;
}

.hp-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--hp-text);
  margin-bottom: 8px;
}

.hp-badge-req {
  font-size: 0.7rem;
  font-weight: 800;
  background: #fee2e2;
  color: #b91c1c;
  padding: 2px 8px;
  border-radius: 4px;
}

.hp-badge-opt {
  font-size: 0.7rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
}

.hp-form-control {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hp-text);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
}

.hp-form-control:focus {
  outline: none;
  border-color: var(--hp-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.hp-form-hint {
  font-size: 0.8rem;
  color: var(--hp-text-muted);
  margin-top: 6px;
  margin-bottom: 0;
}

.hp-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.hp-error-box:empty {
  display: none;
}

.hp-error-box ul {
  margin: 0;
  padding-left: 18px;
}

.hp-legal-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  box-shadow: var(--hp-shadow-sm);
}

.hp-legal-table th,
.hp-legal-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hp-border);
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
}

.hp-legal-table th {
  width: 28%;
  background: #f8fafc;
  font-weight: 700;
  color: var(--hp-text);
}

.hp-legal-table tr:last-child th,
.hp-legal-table tr:last-child td {
  border-bottom: none;
}

/* Info Box */
.hp-note-box {
  background: #f8fafc;
  border: 1px solid var(--hp-border);
  border-left: 4px solid var(--hp-primary);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--hp-text-sub);
}

.hp-note-box h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--hp-text);
  margin-bottom: 8px;
}

.hp-note-box ul {
  margin: 0;
  padding-left: 20px;
}

/* =========================================================
   Footer
   ========================================================= */
.hp-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 32px;
}

.hp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-footer__brand {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hp-footer__info {
  font-size: 0.86rem;
  line-height: 1.85;
  color: #94a3b8;
  margin-bottom: 14px;
}

.hp-footer__info a {
  color: #7dd3fc;
}

.hp-footer__heading {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hp-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.hp-footer__links a {
  color: #94a3b8;
}

.hp-footer__links a:hover {
  color: #ffffff;
}

.hp-footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.hp-footer__bottom a {
  color: #94a3b8;
}

/* Scroll to top */
.hp-scrolltop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hp-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--hp-transition);
  z-index: 900;
}

.hp-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hp-scrolltop:hover {
  background: var(--hp-primary-dark);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hp-nav,
  .hp-header__actions {
    display: none;
  }

  .hp-menu-toggle {
    display: inline-flex;
  }

  .hp-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hp-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-pillars {
    grid-template-columns: 1fr;
  }

  .hp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hp-section {
    padding: 56px 0;
  }

  .hp-hero {
    padding: 44px 0 56px;
  }

  .hp-grid--2,
  .hp-grid--3,
  .hp-grid--4,
  .hp-diagram {
    grid-template-columns: 1fr;
  }

  .hp-related-card {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 20px;
  }

  .hp-cta-banner {
    padding: 36px 22px;
  }

  .hp-form-card {
    padding: 24px 18px;
  }

  .hp-timeline__item {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .hp-timeline__step {
    width: 52px;
    height: 52px;
  }

  .hp-legal-table th,
  .hp-legal-table td {
    display: block;
    width: 100%;
  }

  .hp-legal-table th {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .hp-legal-table td {
    padding-top: 6px;
  }

  .hp-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
