:root {
  /* === ブランドカラー（Hyper Border Products / Claude Designを踏襲） === */
  --black:       #141414;
  --lime:        #fff000;
  --lime-dark:   #ccbf00;
  --lime-light:  #fff64d;
  --hb-orange:   #DA3A2A;
  --hb-orange-light: #FCE7E4;
  --hb-navy:     #1E2B69;

  --cream:       #F0F1F2;
  --cream-2:     #E9EAEB;
  --white:       #FFFFFF;

  --gray-100:    #DCDCD6;
  --gray-200:    #C9C9C4;
  --gray-300:    #A8A8A2;
  --gray-400:    #8F8F89;
  --gray-500:    #7A7A75;
  --gray-600:    #5F5F5A;
  --gray-700:    #3D3D38;

  --font-jp: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 20px rgba(20, 20, 20, 0.06);
  --shadow-card-hover: 0 14px 34px rgba(20, 20, 20, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--black);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
.container { max-width: clamp(1120px, 78vw, 1440px); margin: 0 auto; padding: 0 5%; }
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--lime); text-transform: none;
  margin-bottom: 12px;
}
.hero-eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hero-eyebrow-row .eyebrow { margin-bottom: 0; }
.hero-eyebrow-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.section-dark .eyebrow, .trust .eyebrow { color: var(--lime); }
.eyebrow-dark { color: var(--black); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900; color: var(--black);
  letter-spacing: -0.5px; line-height: 1.4;
  margin-bottom: 20px;
}
.section-lead {
  color: var(--gray-600); font-size: 16px; line-height: 1.9;
  max-width: 720px;
}
.section-head {
  margin-bottom: 48px; text-align: center; margin-left: auto; margin-right: auto;
}
.section-head .eyebrow { justify-content: center; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 0;
  font-size: 15px; font-weight: 700; letter-spacing: 0.3px;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray-700); }
.btn-ghost-white { background: rgba(255,255,255,0.08); color: var(--white); border: 1.5px solid rgba(255,255,255,0.28); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); }

/* ===== NAV ===== */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(20,20,20,0.92); backdrop-filter: blur(12px);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { display: none; }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.3px;
  color: var(--white); white-space: nowrap; line-height: 1.2;
}
.nav-logo-text .sub {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--gray-400); margin-left: 8px; text-transform: uppercase;
  vertical-align: 1px;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-cta {
  background: var(--lime); color: var(--black);
  padding: 7px 16px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: background 0.2s; border-radius: 0;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--lime-dark); color: var(--white); }
.nav-lang {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 26px; border-radius: 0; border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); flex-shrink: 0;
}
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--white); }
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 190;
  background: var(--black); transform: translateX(100%); transition: transform 0.3s;
  padding: 32px 6%; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-list a {
  display: block; padding: 16px 0; font-size: 17px; font-weight: 700;
  color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu-cta {
  display: block; margin-top: 24px; text-align: center;
  background: var(--lime); color: var(--black); padding: 14px; border-radius: 0;
  font-weight: 700; text-decoration: none;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

/* ===== HERO（トップ） ===== */
.hero {
  position: relative;
  background: var(--black);
  padding: 148px 5% 100px;
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
}
@media (max-width: 1040px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center;
  border: 1px solid var(--lime); border-radius: 0;
  padding: 9px 20px; margin-bottom: 28px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--lime); text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.4vw, 50px); font-weight: 900; line-height: 1.28;
  margin: 0 0 28px; letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.7); line-height: 2;
  margin: 0 0 44px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 0; justify-content: center; text-align: center; min-width: 160px; padding: 18px 34px; font-size: 16.5px; }
.hero-frame {
  position: relative;
  padding: 14px;
}
.hero-frame::before, .hero-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px; z-index: 3;
  border: 2px solid var(--lime); pointer-events: none;
}
.hero-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-frame-inner {
  position: relative;
  border: 1px dashed rgba(255,255,255,0.22); border-radius: 0;
  overflow: hidden; background: #0c0c0c;
  aspect-ratio: 6/5;
}

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14px;
  opacity: 0; transition: opacity 0.8s ease; z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.hero-slide-mid { align-items: center; padding-top: 0; }
.hero-slide img { max-width: 90%; max-height: 84%; width: auto; height: auto; object-fit: contain; border-radius: 0; box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.hero-slide-label {
  position: absolute; bottom: 44px; left: 0; right: 0; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.45); line-height: 1.3;
}

/* 単一画像のヒーロー枠：固定比率をやめ、画像サイズに枠を合わせる */
.hero-frame--fit { justify-self: center; }
.hero-frame--fit .hero-frame-inner { aspect-ratio: auto; display: inline-flex; }
.hero-frame--fit .hero-slide {
  position: static; padding: 28px;
  align-items: center; justify-content: center;
}
.hero-frame--fit .hero-slide img { max-width: 100%; max-height: 560px; }

/* 製品詳細ページのヒーロー画像：枠・背景なしでモックアップ画像のみ表示 */
.hero-inner--product { grid-template-columns: 0.9fr 1.35fr; }
.hero-image { justify-self: center; display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-image img { max-width: 100%; max-height: 720px; width: auto; height: auto; object-fit: contain; }

.hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 3;
}
.hero-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.28); transition: background 0.3s; }
.hero-dots span.active { background: var(--lime); }

/* ===== PAGE HEADER（法的ページ用） ===== */
.page-header {
  position: relative; isolation: isolate; overflow: hidden; background: var(--black);
  padding: 148px 5% 76px; color: var(--white);
}
.page-header .eyebrow { color: var(--lime); }
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; letter-spacing: -0.5px;
}

/* ===== お問い合わせフォーム ===== */
.contact-body { max-width: 640px; margin: 0 auto; padding: 80px 5% 100px; }
.contact-lead { color: var(--gray-600); font-size: 15.5px; line-height: 1.9; margin-bottom: 44px; }
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.form-label .required { color: var(--hb-orange); font-size: 12px; margin-left: 4px; font-weight: 400; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-100); border-radius: 0;
  font-size: 15px; font-family: inherit; color: var(--black); background: var(--white);
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--hb-cyan); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.form-radio-option {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1.5px solid var(--gray-100); border-radius: 0; cursor: pointer; font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.form-radio-option.checked { border-color: var(--hb-cyan); background: var(--hb-cyan-light); }
.form-radio-option input { accent-color: var(--hb-cyan); }
.form-error { color: var(--hb-orange); font-size: 13px; margin-top: 6px; display: none; }
.form-error.active { display: block; }
.form-submit-row { margin-top: 36px; }

.confirm-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,0.6); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.confirm-overlay.active { display: flex; }
.confirm-modal {
  background: var(--white); border-radius: 0; max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 36px;
}
.confirm-modal h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--black); }
.confirm-lead { color: var(--gray-600); font-size: 14px; margin-bottom: 24px; }
.confirm-row { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.confirm-row-label { font-size: 12.5px; color: var(--gray-400); margin-bottom: 4px; }
.confirm-row-value { font-size: 15px; color: var(--black); white-space: pre-wrap; }
.confirm-actions { display: flex; gap: 12px; margin-top: 28px; }
.confirm-actions .btn { flex: 1; justify-content: center; }
.confirm-success { text-align: center; padding: 30px 0; }
.confirm-success .ico { font-size: 40px; margin-bottom: 16px; }
.confirm-error-msg { color: var(--hb-orange); font-size: 13.5px; margin-top: 14px; display: none; }
.confirm-error-msg.active { display: block; }

/* ===== 課題提起 ===== */
.problems { background: var(--white); }
.audience-section { background: var(--white); }
.problem-list { display: grid; gap: 16px; margin-top: 40px; }
.problem-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border-radius: 0;
  padding: 24px 28px; box-shadow: var(--shadow-card);
}
.problem-item .mark {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--lime); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13.5px;
}
.problem-item p { color: var(--gray-700); font-size: 15px; line-height: 1.8; }
.problem-answer {
  margin-top: 32px; text-align: center;
  color: var(--black); font-size: 18px; line-height: 1.8; font-weight: 700;
}
.problem-answer strong { font-weight: 700; }

/* ===== 製品カード（トップ） ===== */
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,0.62); }

.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px;
}
@media (max-width: 780px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 0;
  border: 1px solid var(--gray-100); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: var(--lime); }
.section-dark .product-card {
  background: #1c1c1c; border: 1px solid rgba(255,255,255,0.1); border-radius: 0;
}
.section-dark .product-card:hover { border-color: var(--lime); }
.product-card-thumb {
  aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2);
  border-bottom: 1px solid var(--gray-100);
}
.section-dark .product-card-thumb { background: #111; border-bottom: 1px solid rgba(255,255,255,0.1); }
.product-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---- product card device mockups (MacBook / iPhone) ---- */
.product-card-mockup {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative;
}
.product-card-mockup > img { width: 100%; height: 100%; object-fit: contain; }
.product-card-thumb-mockup img { object-fit: contain !important; object-position: center; }
.product-card-mockup-duo { padding-right: 56px; padding-bottom: 30px; }
.macbook-mini { width: 82%; position: relative; }
.macbook-mini .mb-body {
  position: relative;
  background: linear-gradient(135deg, #B1B4BB 0%, #81838A 26%, #9799A0 46%, #686A70 72%, #898B92 100%);
  border-radius: 8px; padding: 9px 9px 0;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.macbook-mini .mb-body::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 46%, rgba(255,255,255,0.02) 52%, transparent 66%);
  pointer-events: none;
}
.macbook-mini .mb-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 10px; background: #15182a; border-radius: 0 0 7px 7px; z-index: 2;
}
.macbook-mini .mb-screen {
  position: relative; background: #0B0D18; border-radius: 4px; overflow: hidden;
  aspect-ratio: 1400 / 868; z-index: 2;
}
.macbook-mini .mb-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.macbook-mini .mb-hinge {
  height: 10px; background: linear-gradient(180deg, #93959B 0%, #75777E 55%, #63656C 100%);
  margin: 0 -9px;
}
.macbook-mini .mb-base {
  position: relative; height: 12px; margin: 0 -20px;
  background: linear-gradient(180deg, #9C9EA6 0%, #6F7179 100%);
  border-radius: 0 0 9px 9px; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.55);
}
.phone-mini {
  position: absolute; right: 6%; bottom: -6%; width: 22%; z-index: 3;
}
.phone-mini .ph-body {
  position: relative;
  background: linear-gradient(135deg, #B1B4BB 0%, #81838A 26%, #9799A0 46%, #686A70 72%, #898B92 100%);
  border-radius: 18px; padding: 5px;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.65);
}
.phone-mini .ph-body::before {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 46%, rgba(255,255,255,0.02) 52%, transparent 66%);
  pointer-events: none;
}
.phone-mini .ph-screen {
  position: relative; background: #08090E; border-radius: 14px; overflow: hidden;
  aspect-ratio: 390 / 812;
}
.phone-mini .ph-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.product-card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.product-card-name {
  font-size: 18px; font-weight: 800;
  letter-spacing: 1.5px; color: var(--lime); text-transform: uppercase; margin-bottom: 8px; line-height: 1.25;
}
.section-dark .product-card-name { color: var(--lime); }
.product-card-title { font-size: 19px; font-weight: 800; color: var(--black); margin-bottom: 12px; letter-spacing: -0.3px; line-height: 1.3; }
.section-dark .product-card-title { color: var(--white); }
.product-card-desc { color: var(--gray-600); font-size: 14.5px; line-height: 1.8; flex: 1; }
.section-dark .product-card-desc { color: var(--white); }
.product-card-link {
  margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--black);
  display: inline-flex; align-items: center; gap: 6px;
}
.section-dark .product-card-link {
  color: var(--hb-navy); background: var(--white); border-radius: 0; padding: 10px 20px;
  transition: background 0.25s ease, color 0.25s ease;
  margin-top: auto; align-self: stretch; justify-content: center;
}
.product-card:hover .product-card-link { color: var(--lime); }

/* ===== 信頼性セクション（ライム帯） ===== */
.trust { background: var(--lime); color: var(--black); }
.trust .section-title { color: var(--black); }
.trust .section-lead { color: rgba(20,20,20,0.85); font-weight: 800; }
.trust-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.trust-tags span {
  background: var(--black); color: var(--white);
  font-size: 13.5px; font-weight: 700; padding: 10px 20px; border-radius: 0;
}
.trust-note {
  margin-top: 32px; font-size: 13.5px; color: rgba(20,20,20,0.6); line-height: 1.8;
}

/* ===== 料金セクション ===== */
#pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--black); color: var(--white);
  border-radius: 0; padding: 28px 24px; display: flex; flex-direction: column;
}
.price-card .name { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: rgba(255,255,255,0.9); margin-bottom: 14px; line-height: 1.3; }
.price-card .price { font-size: 24px; font-weight: 800; color: var(--lime); margin-bottom: 4px; }
.price-card .price-note { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.price-card .desc { font-size: 13.5px; color: rgba(255,255,255,0.95); line-height: 1.8; flex: 1; margin-bottom: 20px; }
.price-card .btn { width: 100%; justify-content: center; }
.price-main { font-size: 26px; font-weight: 800; color: var(--lime); margin-bottom: 2px; line-height: 1.2; }
.price-main span { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); margin-left: 2px; line-height: 1.2; }
.price-tax { font-size: 12.5px; font-weight: 800; color: rgba(255,255,255,0.85); margin-bottom: 14px; line-height: 1.3; }
.price-card .btn { margin-top: auto; }
.pricing-tagline { font-weight: 800; color: var(--black); }

.price-annual-total { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 10px; line-height: 1.5; }
.price-main-sm { font-size: 21px; font-weight: 900; font-family: var(--font-heading); line-height: 1.2; }
.price-card-header { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.price-card-icon { width: 64px; height: 64px; border-radius: 0; flex-shrink: 0; object-fit: cover; order: -1; }.price-card-info { display: flex; flex-direction: column; align-items: center; width: 100%; }
.price-off-badge {
  display: inline-block; margin-bottom: 18px; font-size: 11.5px; font-weight: 800;
  color: #4ade80; background: rgba(74,222,128,0.15); padding: 4px 10px; border-radius: 0;
}

/* フルセットプラン：4枚分の横幅を持つ横長バナー（price-cardの overflow:hidden を継承しないよう別クラス） */
.price-card-banner {
  background: var(--black); color: var(--white); border-radius: 0;
  padding: 32px 36px; margin-top: 20px; position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 28px;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}
.price-card-banner:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
.price-card-banner.price-card-featured { border: 1.5px solid var(--lime); }
.price-badge {
  position: absolute; top: -13px; left: 28px; z-index: 2;
  background: var(--lime); color: var(--black); font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 0; letter-spacing: 0.5px; white-space: nowrap;
}
.price-card-banner-main { flex: 1 1 220px; }
.price-card-banner-main .name { font-size: 22px; font-weight: 900; font-family: var(--font-heading); letter-spacing: 0.3px; color: var(--white); margin-bottom: 8px; line-height: 1.25; }
.price-card-featured-desc { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.price-card-banner-price { flex: 0 0 auto; }
.price-card-banner-price .price-off-badge { margin-bottom: 0; }
.price-card-banner-btn { flex: 0 0 auto; width: auto; min-width: 180px; margin-left: auto; }
@media (max-width: 780px) {
  .price-card-banner { flex-direction: column; align-items: stretch; text-align: left; padding: 32px 24px 28px; }
  .price-card-banner-main, .price-card-banner-price { flex: 0 0 auto; max-width: none; }
  .price-card-banner-btn { margin-left: 0; width: 100%; }
}

.pricing-payment {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 780px) { .pricing-payment { grid-template-columns: 1fr; } }
.payment-method {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 22px 24px; border: 1px solid var(--gray-100); border-top: 3px solid var(--hb-cyan);
  border-radius: 0; background: var(--white); box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
}
.payment-method:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.payment-method-label { font-size: 14.5px; font-weight: 800; color: var(--hb-navy); letter-spacing: 0.2px; line-height: 1.3; }
.payment-method-desc { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }
.pricing-note {
  margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--gray-500);
}

/* ===== ② 誰におすすめか（番号バッジ＋アイコン円、CBTS参考デザイン） ===== */
.audience-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px; margin-top: 56px;
}
.audience-card {
  position: relative; flex: 0 1 200px;
  padding: 8px 12px 0; text-align: center; transition: transform 0.3s ease;
}
.audience-card:hover { transform: translateY(-4px); }
.audience-card:hover .audience-icon { transform: scale(1.12); }
.audience-num {
  position: absolute; top: -12px; left: 38px; z-index: 2;
  font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700;
  color: var(--hb-orange); letter-spacing: -1px;
}
.audience-icon {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 118px; height: 118px; margin: 0 auto 22px;
  background: var(--cream-2); border: 1px solid var(--gray-100); border-radius: 50%;
  color: var(--hb-orange); transition: transform 0.3s cubic-bezier(.22,1,.36,1);
}
.audience-icon svg { width: 46px; height: 46px; }
.audience-role { font-size: 17px; font-weight: 900; color: var(--hb-navy); margin-bottom: 6px; line-height: 1.5; }
.audience-scene { font-size: 12.5px; font-weight: 800; color: var(--black); line-height: 1.4; }
.audience-note { text-align: center; margin-top: 48px; font-size: 17px; font-weight: 800; color: var(--black); }
@media (max-width: 640px) { .audience-card { flex-basis: 100%; max-width: 260px; } }

/* 誰におすすめか：専用の斜めカプセル装飾（参考画像の幾何学模様） */
.audience-section::before,
.audience-section::after { content: none; }
.audience-deco {
  position: absolute; z-index: -1; pointer-events: none; border-radius: 0;
  transform: rotate(-30deg);
}
.audience-deco-1 {
  width: 480px; height: 140px; left: -180px; top: -70px;
  background: linear-gradient(120deg, rgba(30,43,105,0.09), rgba(30,43,105,0.02));
}
.audience-deco-2 {
  width: 320px; height: 96px; right: -130px; top: 36%;
  background: linear-gradient(120deg, rgba(218,58,42,0.10), rgba(218,58,42,0.02));
}
.audience-deco-3 {
  width: 300px; height: 88px; left: 4%; bottom: -80px;
  background: linear-gradient(120deg, rgba(30,43,105,0.07), rgba(30,43,105,0.01));
}
.audience-deco-ring {
  width: 230px; height: 230px; right: 6%; top: -70px;
  border: 1.5px solid rgba(30,43,105,0.12); border-radius: 50%; transform: none;
}
@media (max-width: 780px) { .audience-deco { display: none; } }

/* ===== ③ プロダクトカード：長文コピーを内包する版 ===== */
.product-card-wide .product-card-desc { flex: none; margin-bottom: 10px; }
.product-card-wide .product-card-desc:last-of-type { margin-bottom: 4px; }
.product-card-note { font-size: 12px; color: var(--gray-400); margin-bottom: 14px; }
.section-dark .product-card-note { color: rgba(255,255,255,0.4); }

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: 0; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 15.5px; font-weight: 700; color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .icon {
  flex-shrink: 0; transition: transform 0.2s; color: var(--black);
  width: 24px; height: 24px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--gray-600); font-size: 14.5px; line-height: 1.85; }

/* ===== お問い合わせ ===== */
.contact { background: var(--cream); }
.contact-box {
  margin-top: 40px; text-align: center; padding: 56px 40px;
  background: var(--black); color: var(--white); border-radius: 0;
}
.contact-box p { color: rgba(255,255,255,0.68); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; color: var(--white); line-height: 1.2; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: 16px; line-height: 1.3; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-nav a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }

/* ===== 製品詳細ページ ===== */
.product-hero {
  position: relative; isolation: isolate; background: var(--black); color: var(--white);
  padding: 148px 5% 0;
}
.product-hero-inner { max-width: clamp(1120px, 78vw, 1440px); margin: 0 auto; padding: 0 0 72px; }
.product-hero .eyebrow { color: var(--lime); }
.product-hero h1 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.35; margin-bottom: 20px; letter-spacing: -0.5px; }
.product-hero .lead { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 2; max-width: 640px; margin-bottom: 36px; }
.product-hero-shot {
  position: relative;
  border-radius: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
}
.product-hero-shot img { width: 100%; display: block; }

.feature-list { display: grid; gap: 16px; margin-top: 44px; }
.feature-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px;
  padding: 28px; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 0;
}
.feature-item .ico {
  width: 32px; height: 32px; border-radius: 50%; background: var(--lime);
  color: var(--black); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13.5px;
}
.feature-item h3 { font-size: 16.5px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.feature-item p { color: var(--gray-600); font-size: 14.5px; line-height: 1.85; }

.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.shot-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-grid figure { border-radius: 0; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow-card); }
.shot-grid img { width: 100%; }
.shot-grid figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--gray-600); background: var(--white); }

.target-list { display: grid; gap: 12px; margin-top: 40px; }
.target-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 0;
  font-size: 14.5px; color: var(--gray-700); line-height: 1.8;
}
.target-list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  background: var(--lime); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%23141414' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 32px 24px 24px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: 0; text-align: center;
}
.step .step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 15.5px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--gray-600); line-height: 1.8; }

.product-cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: var(--white); text-align: center; padding: 128px 5%;
}
@media (max-width: 640px) { .product-cta { padding: 76px 6% 88px; } }
.product-cta::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 20%, transparent 80%);
  animation: gridDrift 26s linear infinite;
}
.product-cta::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: 0.2;
  background: var(--lime); top: -140px; left: 50%; transform: translateX(-50%);
}
@media (prefers-reduced-motion: reduce) { .product-cta::before { animation: none; } }
.product-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; margin-bottom: 24px; letter-spacing: -0.5px;
}
.product-cta p { font-size: 17px; line-height: 1.9; color: var(--white); font-weight: 800; margin-bottom: 44px; }
.product-cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.product-cta-actions .btn { padding: 18px 36px; font-size: 16.5px; min-width: 230px; }

.other-products { background: var(--cream); }
.other-products .product-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .other-products .product-grid { grid-template-columns: 1fr; } }

/* ===== 法的ページ ===== */
.legal-body { max-width: 780px; margin: 0 auto; padding: 80px 5% 100px; }
.legal-body h2 { font-size: 20px; font-weight: 800; color: var(--black); margin: 40px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--gray-600); font-size: 14.5px; line-height: 1.9; margin-bottom: 10px; }
.legal-body a { color: var(--hb-cyan); text-decoration: underline; }
.legal-body a:hover { color: var(--hb-cyan-dark); }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.legal-body table th, .legal-body table td {
  border: 1px solid var(--gray-100); padding: 12px 16px; text-align: left; vertical-align: top;
}
.legal-body table th { background: var(--cream-2); color: var(--black); width: 30%; }
.legal-updated { color: var(--gray-400); font-size: 13px; margin-top: 40px; }
.legal-note {
  background: var(--cream-2); border: 1px dashed var(--gray-200); border-radius: 0;
  padding: 16px 20px; margin-bottom: 32px; font-size: 14px; color: var(--gray-600); line-height: 1.8;
}

/* ===== 汎用 ===== */
.badge-soon {
  display: inline-block; background: rgba(255,255,255,0.1); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 0; margin-left: 10px;
}

/* ======================================================================
   V2 ENHANCEMENTS — motion, depth, "tech" feel
   ====================================================================== */

/* ----- scroll progress bar ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  box-shadow: 0 0 12px rgba(255,240,0,0.6);
  transition: width 0.08s linear;
}

/* ----- nav: compact + stronger on scroll ----- */
.main-nav {
  transition: height 0.35s cubic-bezier(.22,1,.36,1), background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.main-nav.is-scrolled {
  height: 56px;
  background: rgba(12,12,12,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 20px 40px -20px rgba(0,0,0,0.6);
}
.nav-cta, .nav-links a { transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease; }

/* ----- hero background: grid + glow + orbs ----- */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 80%);
  animation: gridDrift 26s linear infinite;
}
.section-dark { position: relative; isolation: isolate; }
.hero-grid-dark { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }
@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 44px 88px, 44px 88px; }
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,0,0.16) 0%, rgba(255,240,0,0.05) 40%, transparent 70%);
  left: 0; top: 0; transform: translate(-50%, -50%);
  transition: left 0.4s ease-out, top 0.4s ease-out; will-change: left, top;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35;
}
.hero-orb-1 { width: 320px; height: 320px; background: var(--lime); top: -80px; right: 10%; animation: orbFloat 9s ease-in-out infinite; }
.hero-orb-2 { width: 240px; height: 240px; background: #6a5fff; bottom: -60px; left: 8%; opacity: 0.18; animation: orbFloat 11s ease-in-out infinite reverse; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(24px) scale(1.06); }
}

/* ----- background patterns — each section gets its OWN motif, not a recolored repeat ----- */
.problems, #pricing, .trust { position: relative; isolation: isolate; overflow: hidden; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes slowSpinRev { to { transform: rotate(-360deg); } }

/* 課題提起 / FAQ（cream）: large + small dashed rings, slowly counter-rotating — "targeting" motif echoing the hero-frame brackets */
.problems::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 480px; height: 480px; right: -170px; top: -190px;
  border: 1.5px dashed rgba(20,20,20,0.13); border-radius: 50%;
  animation: slowSpin 50s linear infinite;
}
.problems::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 240px; height: 240px; left: -90px; bottom: -110px;
  border: 1.5px dashed rgba(20,20,20,0.10); border-radius: 50%;
  animation: slowSpinRev 34s linear infinite;
}

/* 料金（white）: dot-matrix field, denser + fixed (no lines) so it reads differently from the ring motif */
#pricing::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(20,20,20,0.13) 1.6px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 88% 10%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 88% 10%, #000 10%, transparent 72%);
}

/* 実績（lime band）: bold rotating ring pair in black — no grid at all, reads as a totally different beat */
.trust::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; right: -190px; top: 50%; transform: translateY(-50%);
  border: 1.5px dashed rgba(20,20,20,0.22); border-radius: 50%;
  animation: slowSpin 55s linear infinite;
}
.trust::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 260px; height: 260px; left: -110px; bottom: -120px;
  border: 1.5px dashed rgba(20,20,20,0.16); border-radius: 50%;
  animation: slowSpinRev 38s linear infinite;
}
.trust .container { position: relative; z-index: 1; }

/* プロダクト一覧（dark）: grid + drifting glow + a slow scanning beam for real motion, distinct from hero's orbiting orbs */
.section-dark { overflow: hidden; }
.section-dark::before {
  content: ''; position: absolute; left: 0; right: 0; height: 240px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,240,0,0.05) 50%, transparent);
  animation: scanMove 8s ease-in-out infinite;
}
.section-dark::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 300px; height: 300px; border-radius: 50%; filter: blur(90px); opacity: 0.14;
  background: var(--lime); bottom: -100px; right: 6%;
}
@keyframes scanMove {
  0% { top: -240px; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .problems::before, .problems::after, .trust::before, .trust::after, .section-dark::before { animation: none; }
}

.hero-badge { position: relative; }
.pulse-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; margin-right: 8px; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--lime); animation: pulseRing 1.8s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 0;
  z-index: 1;
}
.hero-scroll-cue span {
  display: block; width: 3px; height: 7px; margin: 6px auto 0; border-radius: 0;
  background: var(--lime); animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}
@media (max-width: 860px) { .hero-scroll-cue { display: none; } }

/* ----- scroll reveal ----- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- magnetic buttons ----- */
.btn-magnetic { position: relative; overflow: hidden; transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s ease; }
.btn-magnetic span { position: relative; z-index: 1; display: inline-block; }
.btn-primary.btn-magnetic:hover { box-shadow: 0 10px 30px -8px rgba(255,240,0,0.55); }
.btn-ghost-white.btn-magnetic:hover { box-shadow: 0 10px 26px -10px rgba(255,255,255,0.25); }
.nav-cta.btn-magnetic:hover { box-shadow: 0 8px 22px -8px rgba(255,240,0,0.6); }

/* ----- product cards: image zoom + sweep ----- */
.product-card { transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease, border-color 0.4s ease; }
.product-card-thumb { position: relative; }
.product-card-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.product-card:hover .product-card-thumb::after { opacity: 1; }
.product-card-thumb img { transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-card-thumb img { transform: scale(1.06); }
.product-card:hover { transform: translateY(-6px); }
.product-card-link .arrow { display: inline-block; transition: transform 0.3s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-card-link .arrow { transform: translateX(5px); }

/* ----- price cards: border glow on hover ----- */
.price-card { position: relative; transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease; overflow: hidden; }
.price-card::before, .price-card-banner::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: 0;
  background: linear-gradient(135deg, rgba(30,43,105,0.7), transparent 40%, transparent 60%, rgba(30,43,105,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.price-card-banner:hover::before { opacity: 1; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
.price-card:hover::before { opacity: 1; }

/* ----- faq: smoother affordance ----- */
.faq-item { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { border-color: rgba(20,20,20,0.25); }
.faq-q .icon { transition: transform 0.35s cubic-bezier(.22,1.4,.36,1), background 0.3s ease; }

/* ----- trust tags: subtle hover pop ----- */
.trust-tags span { transition: transform 0.25s ease; }
.trust-tags span:hover { transform: translateY(-2px) scale(1.03); }

/* ----- hero-frame slide transition: crossfade + settle ----- */
.hero-slide { transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); transform: scale(1.04); }
.hero-slide.active { transform: scale(1); }

/* ============================================================
   Hyper Border コーポレートカラーへの統一（2026年8月確定版）
   色の役割：
   - ネイビー #1E2B69  … ヒーロー／最終CTA／プロダクト一覧の背景、見出し、価格
   - シアン  #1B8FD4  … ボタン・リンクなどの操作系、実績帯の背景
   - 赤     #DA3A2A  … 最小限のアクセント（数字アイコン、税込金額など）
   ============================================================ */

:root {
  --hb-cyan: #1B8FD4;
  --hb-cyan-dark: #1577B3;
  --hb-cyan-bright: #38C6F4;
  --hb-cyan-light: #E8F4FC;
  --hb-blue: #1A4F9C;
  --hb-off: #F0F1F2;
}

/* ----- nav: 常に白バー、ネイビー文字（コーポレートサイトと同じく背景色に関わらず白固定） ----- */
.main-nav {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--gray-100);
}
.main-nav.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 rgba(30,43,105,0.06), 0 20px 40px -20px rgba(30,43,105,0.15);
}
.nav-logo-text { color: var(--hb-navy); }
.nav-logo-text .sub { color: var(--gray-500); }
.nav-links a { color: rgba(30,43,105,0.75); font-weight: 700; }
.nav-links a:hover, .nav-links a.active { color: var(--hb-cyan); }
.nav-cta { background: var(--hb-cyan); color: var(--white); }
.nav-cta:hover { background: var(--hb-blue); color: var(--white); }
.nav-lang { border-color: rgba(30,43,105,0.25); color: rgba(30,43,105,0.75); }
.nav-hamburger { color: var(--hb-navy); }
.mobile-menu { background: var(--white); }
.mobile-menu-list a { color: var(--hb-navy); border-bottom-color: var(--gray-100); }
.mobile-menu-cta { background: var(--hb-cyan); color: var(--white); }

.scroll-progress { background: rgba(255,255,255,0.15); }
.scroll-progress span {
  background: linear-gradient(90deg, var(--hb-cyan), var(--hb-blue));
  box-shadow: 0 0 6px rgba(27,143,212,0.3);
}

/* ----- ヒーロー: ネイビー背景（最終CTAと統一、コーポレートサイトのヒーローに合わせる） ----- */
.hero {
  background: var(--hb-navy);
  color: var(--white);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}
.hero-glow {
  background: radial-gradient(circle, rgba(27,143,212,0.22) 0%, rgba(27,143,212,0.06) 40%, transparent 70%);
}
.hero-orb-1 { background: var(--hb-cyan-bright); opacity: 0.22; filter: blur(70px); }
.hero-orb-2 { background: var(--hb-orange); opacity: 0.14; }

.hero-badge { border-color: var(--hb-cyan-bright); color: var(--hb-cyan-bright); box-shadow: 0 0 28px rgba(56,198,244,0.55); }
.hero .eyebrow { color: var(--hb-cyan); }
.page-header .eyebrow { color: var(--hb-cyan); }
.hero h1 { text-shadow: 0 0 22px rgba(56,198,244,0.18); }
.hero-badge .pulse-dot { background: var(--hb-cyan-bright); }
.hero-badge .pulse-dot::after { border-color: var(--hb-cyan-bright); }

.hero h1 { color: var(--white); }
.hero-sub { color: rgba(255,255,255,0.72); }

.hero .btn-primary { background: var(--hb-cyan); color: var(--white); box-shadow: 0 0 12px rgba(27,143,212,0.3); transition: all 0.25s; }
.hero .btn-primary:hover { background: var(--white); color: var(--hb-navy); box-shadow: 0 0 18px rgba(255,255,255,0.35); }
.hero .btn-ghost-white {
  background: rgba(255,255,255,0.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.hero .btn-ghost-white:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); }

.hero-frame::before, .hero-frame::after { border-color: var(--hb-cyan-bright); filter: drop-shadow(0 0 4px rgba(56,198,244,0.4)); }
.hero-frame-inner {
  background: #0c1a3d;
  border: 1px dashed rgba(255,255,255,0.22);
  box-shadow: 0 0 24px rgba(27,143,212,0.15);
}
.hero-slide-label { color: rgba(255,255,255,0.45); }
.hero-dots span { background: rgba(255,255,255,0.28); }
.hero-dots span.active { background: var(--hb-cyan); }

.hero-scroll-cue { border-color: rgba(255,255,255,0.3); }
.hero-scroll-cue span { background: var(--hb-cyan); }

/* ----- プロダクト一覧: 黒 → ネイビー（元の暗色パターンを維持し、色だけ変更） ----- */
.section-dark { background: var(--hb-navy); color: var(--white); }
.section-dark .eyebrow { color: var(--hb-cyan); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,0.62); }
.section-dark .product-card { background: transparent; border: none; transition: transform 0.3s; }
.section-dark .product-card:hover { box-shadow: none; }
.section-dark .product-card-thumb { background: #0c1a3d; border-bottom: 1px solid rgba(255,255,255,0.1); }
.section-dark .product-card-name { color: var(--hb-cyan-bright); text-shadow: 0 0 6px rgba(56,198,244,0.3); }
.section-dark .product-card-title { color: var(--white); }
.section-dark .product-card-desc { color: var(--white); }
.section-dark .product-card-note { color: rgba(255,255,255,0.4); }
.section-dark .product-card:hover .product-card-link { color: var(--white); background: var(--hb-cyan-bright); }
.section-dark::before { background: linear-gradient(180deg, transparent, rgba(27,143,212,0.06) 50%, transparent); }
.section-dark::after { background: var(--hb-cyan-bright); opacity: 0.16; filter: blur(100px); }
.section-dark .shot-grid figure { border-color: rgba(255,255,255,0.12); }
.section-dark .shot-grid figcaption { background: #24316f; color: rgba(255,255,255,0.75); }

/* ----- 実績: ライム帯 → シアン帯（元の帯パターンを維持し、色だけ変更） ----- */
.trust { background: var(--hb-cyan); color: var(--white); }
.trust .section-title { color: var(--white); }
.trust .section-lead { color: rgba(255,255,255,0.92); }
.trust-tags span { background: var(--white); color: var(--hb-navy); }
.trust::before { border-color: rgba(255,255,255,0.28); }
.trust::after { border-color: rgba(255,255,255,0.2); }

/* ----- 料金: 黒カード → 白カード ----- */
.price-card { background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-card); }
.price-card .name { color: var(--hb-navy); }
.price-main { color: var(--hb-navy); }
.price-main span { color: rgba(30,43,105,0.7); }
.price-tax { color: var(--hb-orange); }
.price-annual-total { color: rgba(30,43,105,0.7); }
#pricing .btn-primary { background: var(--hb-cyan); color: var(--white); border: 1.5px solid transparent; transition: all 0.25s; }
#pricing .btn-primary:hover { background: var(--white); color: var(--hb-navy); border-color: var(--hb-navy); box-shadow: none; }
.contact-body .btn-primary, .confirm-modal .btn-primary { background: var(--hb-cyan); color: var(--white); transition: all 0.25s; }
.contact-body .btn-primary:hover, .confirm-modal .btn-primary:hover { background: var(--hb-cyan-dark); box-shadow: none; }
.price-card-banner { background: var(--white); border: 1px solid var(--gray-100); color: var(--hb-navy); box-shadow: var(--shadow-card); }
.price-card-banner.price-card-featured { border: 1.5px solid var(--hb-cyan); }
.price-badge { background: var(--hb-cyan); color: var(--white); }
.price-card-banner-main .name { color: var(--hb-navy); }
.price-card-featured-desc { color: rgba(30,43,105,0.7); }
#pricing::before { background-image: radial-gradient(rgba(30,43,105,0.13) 1.6px, transparent 1.6px); }

/* ----- FAQ: Hyper Borderコーポレートサイトと同じ配色 ----- */
#faq { background: var(--hb-off); }
.faq-q { color: var(--hb-navy); }
.faq-q:hover { color: var(--hb-cyan); }
.faq-q .icon { background: var(--hb-cyan-light); color: var(--hb-cyan); transition: all 0.25s; }
.faq-item.open .faq-q .icon { background: var(--hb-cyan); color: var(--white); box-shadow: 0 0 9px rgba(27,143,212,0.3); }
.problems::before { border-color: rgba(30,43,105,0.13); }
.problems::after { border-color: rgba(30,43,105,0.10); }

/* ----- 最終CTA: 黒 → ネイビー（ヒーローと統一） ----- */
.product-cta { background: var(--hb-navy); }
.product-cta::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}
.product-cta::after { background: var(--hb-cyan-bright); opacity: 0.22; filter: blur(120px); }
.product-cta h2 { text-shadow: 0 0 26px rgba(56,198,244,0.25); }
.product-cta .btn-primary { background: var(--hb-cyan); color: var(--white); box-shadow: 0 0 13px rgba(27,143,212,0.32); transition: all 0.25s; }
.product-cta .btn-primary:hover { background: var(--white); color: var(--hb-navy); box-shadow: 0 0 18px rgba(255,255,255,0.32); }

/* ----- フッター: 黒 → ダークネイビー（コーポレートサイトのフッター色に合わせる） ----- */
footer { background: #080F1F; }
.footer-nav a:hover { color: var(--hb-cyan); }
.footer-bottom a:hover { color: var(--hb-cyan); }

/* ----- 個別製品ページ: 黒×ライム → ネイビー×シアン×赤（トップページと統一） ----- */
.eyebrow { color: var(--hb-orange); }
.product-hero { background: var(--hb-navy); }
.product-hero .eyebrow { color: var(--hb-cyan); }
.product-hero .btn-primary { background: var(--hb-cyan); color: var(--white); box-shadow: 0 0 12px rgba(27,143,212,0.3); transition: all 0.25s; }
.product-hero .btn-primary:hover { background: var(--white); color: var(--hb-navy); box-shadow: 0 0 18px rgba(255,255,255,0.35); }

.problem-item .mark { background: var(--hb-cyan); color: var(--white); }
.feature-item .ico { background: var(--hb-cyan); color: var(--white); }
.step .step-num { background: var(--hb-cyan); color: var(--white); }
.target-list li::before {
  background: var(--hb-cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* 白背景での他製品カード（.section-dark の外） */
.other-products .product-card-name { color: var(--hb-navy); }
.other-products .product-card:hover { border-color: var(--hb-cyan); }
.other-products .product-card-link {
  color: var(--white); background: var(--hb-cyan); border: 1.5px solid transparent;
  padding: 10px 20px; margin-top: auto; align-self: stretch; justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.other-products .product-card:hover .product-card-link {
  color: var(--hb-navy); background: var(--white); border-color: var(--hb-navy);
}

/* 製品ページの料金ボックス（買い切り単一カード／無料+Proの2カラム） */
.product-price-box {
  max-width: 480px; margin: 40px auto 0; text-align: center;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 0; padding: 40px 32px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.product-price-name { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--hb-navy); margin-bottom: 18px; }
.product-price-main { font-size: 38px; font-weight: 800; color: var(--hb-navy); line-height: 1.2; }
.product-price-tax { font-size: 14px; font-weight: 700; color: var(--hb-orange); margin-top: 6px; }
.product-price-note { font-size: 13px; color: var(--gray-600); margin-top: 16px; line-height: 1.8; }
.product-price-box .btn { width: 100%; justify-content: center; margin-top: 28px; }
.product-price-trio .product-price-box .btn, .product-price-duo .product-price-box .btn { margin-top: auto; }
.product-price-cross { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--gray-600); line-height: 1.9; }
.product-price-cross a { color: var(--hb-cyan); font-weight: 700; }
.product-price-legal { margin-top: 20px; text-align: center; font-size: 12px; color: var(--gray-500); line-height: 1.8; max-width: 560px; margin-left: auto; margin-right: auto; }

.product-price-duo {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 760px; margin: 40px auto 0;
}
@media (max-width: 700px) { .product-price-duo { grid-template-columns: 1fr; } }
.product-price-duo .product-price-box { margin: 0; max-width: none; }

.product-price-trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 40px auto 0;
}
@media (max-width: 900px) { .product-price-trio { grid-template-columns: 1fr; } }
.product-price-trio .product-price-box { margin: 0; max-width: none; }
.product-price-feats {
  list-style: none; padding: 0; margin: 20px 0 0; text-align: left;
  border-top: 1px solid var(--gray-100); padding-top: 18px;
}
.product-price-feats li {
  font-size: 13.5px; color: var(--gray-600); line-height: 1.7;
  padding-left: 20px; position: relative; margin-bottom: 9px;
}
.product-price-feats li::before {
  content: '✓'; position: absolute; left: 0; color: var(--hb-cyan); font-weight: 800;
}
