/* ==========================================================
   G-Quol High Contrast Design System
   Color: Navy(#2E3F63), Orange(#ED882A), White(#FFFFFF)
   ========================================================== */

:root {
  --navy: #2E3F63;
  --navy-dark: #1A263E;
  --orange: #ED882A;
  --orange-hover: #D97619;
  --white: #FFFFFF;
  --mist: #F5F7FB;
  --text: #2E3F63;
  --muted: #5A6B8E;
  --line: rgba(46, 63, 99, 0.1);
  --shadow: 0 12px 32px rgba(26, 34, 54, 0.08);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1200px, 92%); margin-inline: auto; }
section { padding: 100px 0; }
.section-alt { background: var(--mist); }

/* Header */
.site-header {
  position: fixed;
  top: 0; width: 100%; z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 64px; width: auto; }
.header-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 40px; }
.header-nav a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; }
.header-nav a:hover { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: all 0.2s ease; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); border: none; box-shadow: 0 4px 12px rgba(237, 136, 42, 0.3); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-xl { padding: 18px 40px; font-size: 1.1rem; }

/* Hero Section (Old definitions fallback) */
.hero {
  padding-top: 160px;
  background: var(--white);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.eyebrow, .section-kicker { color: var(--orange); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.hero-title { font-size: 42px; font-weight: 800; line-height: 1.3; color: var(--navy-dark); }
.hero-title-accent { color: var(--orange); display: block; }
.hero-copy { font-size: 18px; margin: 24px 0; color: var(--muted); }
.hero-bullets { list-style: none; margin-bottom: 40px; }
.hero-bullets li { position: relative; padding-left: 28px; margin-bottom: 12px; font-weight: 600; }
.hero-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 15px; }

/* Visual Components (Clean Navy/White Cards) */
.hero-stack-card { 
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 20px;
}
.hero-stack-card-primary { background: var(--navy); color: var(--white); border: none; }
.hero-stack-card-primary strong { font-size: 32px; display: block; margin: 10px 0; }
.hero-stack-chart { display: flex; gap: 8px; height: 60px; align-items: end; margin-top: 15px; }
.hero-stack-chart span { flex: 1; background: rgba(255,255,255,0.2); border-radius: 4px; }
.hero-stack-chart span:last-child { background: var(--orange); height: 100%; }

/* Problem / Fit Cards */
.section-heading h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.problem-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); border: 1px solid var(--line); transition: all 0.3s ease; }
.problem-card:hover { border-color: var(--orange); transform: translateY(-5px); box-shadow: var(--shadow); }
.problem-index { width: 40px; height: 40px; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; margin-bottom: 20px; }
.problem-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

/* Feature Blocks */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-label { color: var(--orange); font-weight: 800; font-size: 13px; }
.feature-copy h3 { font-size: 28px; font-weight: 800; margin: 15px 0; }
.feature-list { list-style: none; margin-top: 25px; }
.feature-list li { margin-bottom: 10px; font-size: 15px; }
.feature-list li::before { content: "●"; color: var(--orange); margin-right: 10px; font-size: 12px; }
.feature-showcase { background: var(--white); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Option Panel */
.option-panel {
  background: var(--white);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 60px;
}
.option-panel h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: var(--navy-dark); }

/* Pricing Section */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.plan-card { 
  background: var(--white); border: 1px solid var(--line); padding: 50px 30px; 
  border-radius: var(--radius); text-align: center; position: relative; transition: all 0.3s ease;
}
.plan-card.featured { border: 3px solid var(--orange); transform: scale(1.05); z-index: 2; box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); padding: 5px 20px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.plan-name { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.plan-price { font-size: 40px; font-weight: 800; color: var(--navy-dark); }
.plan-price .currency { font-size: 20px; vertical-align: super; }
.plan-price .period { font-size: 16px; color: var(--muted); }
.annual-note { font-size: 13px; color: var(--orange); font-weight: 700; margin: 10px 0 25px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 35px; border-top: 1px solid var(--line); padding-top: 25px; }
.plan-features li { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: "✓"; color: var(--orange); font-weight: 900; }
.plan-card .btn { width: 100%; }

/* FAQ */
.faq-shell { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq-list { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 25px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 20px; }
.faq-item p { padding: 0 25px 25px; color: var(--muted); font-size: 14px; }

/* CTA & Footer */
.cta-section { background: var(--navy); color: var(--white); text-align: center; }
.cta-box h2 { font-size: 36px; margin-bottom: 20px; color: var(--white); }
.cta-box p { font-size: 18px; opacity: 0.8; margin-bottom: 40px; color: var(--white); }
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: inherit; text-decoration: none; font-size: 12px; }
.footer-inner a:hover { color: var(--orange); }

/* Reveal Animations */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }


/* ==========================================================
   Feature Visuals — Refined White Edition
   ========================================================== */
.fv-card {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(46, 63, 99, 0.08);
  width: 100%;
  max-width: 440px;
}
.fv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--navy);
  margin-bottom: 18px;
}
.fv-head .t { 
  font-size: 14px; 
  font-weight: 800; 
  color: var(--navy); 
}
.fv-head .badge-s {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
}
.prow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist-line);
}
.prow:last-child { border-bottom: none; }
.pname { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.pclient { font-size: 11px; color: var(--muted); }
.pstatus { font-size: 10px; font-weight: 700; color: var(--orange); background: var(--orange-soft); padding: 2px 8px; border-radius: 4px; }
.p-percent { font-size: 11px; color: var(--navy); font-weight: 600; min-width: 35px; text-align: right; }
.fv-hours { display: flex; flex-direction: column; gap: 14px; }
.fv-hour-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.hname { font-size: 12px; font-weight: 700; color: var(--navy); }
.hval { font-size: 12px; font-weight: 700; color: var(--navy); text-align: right; }
.fv-bar {
  height: 8px;
  background: var(--mist);
  border-radius: 4px;
  overflow: hidden;
}
.fv-bar .fill {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
}
.fv-bar .fill.navy-light { background: var(--navy); opacity: 0.3; }
.fv-invoice {
  background: var(--mist);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
}
.iv-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  color: var(--navy);
}
.iv-row.total {
  border-top: 1.5px solid var(--navy);
  margin-top: 10px;
  padding-top: 10px;
  font-weight: 800;
}
.iv-row.total .amt { color: var(--orange); font-size: 16px; }
.fv-footer { display: flex; gap: 8px; }
.tag {
  font-size: 10px;
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 600;
}
.tag.orange-tag {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ==========================================================
   Use Case Cards
   ========================================================== */
.uc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(46, 63, 99, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.uc-card:hover {
  border-color: var(--orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.uc-role {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.uc-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.uc-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.uc-ba {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uc-ba-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.uc-ba-text {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.6;
}
.uc-ba-text.after {
  font-weight: 700;
}

/* ============================================================
   Hero Custom Layout (V3 - Dynamic Large Image)
   ============================================================ */
.hero-custom {
  position: relative;
  margin-top: 96px; 
  height: 680px; 
  z-index: 1;
  overflow: hidden;
}
.hero-custom-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--navy-dark);
  border-top: 4px solid var(--orange);
  z-index: -1;
}
.hero-custom-inner {
  position: relative;
  height: 100%;
}
.hero-text-top {
  position: absolute;
  bottom: calc(50% + 15px); 
  left: 0;
  z-index: 10;
}
.hero-custom .hero-title {
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  white-space: nowrap; 
}
.hero-custom .text-orange {
  color: var(--orange);
}
.hero-custom .hero-sub {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.8;
  white-space: nowrap; 
}
.hero-text-bottom {
  position: absolute;
  top: calc(50% + 50px); 
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-custom .hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.hero-visual {
  position: absolute;
  right: -5%; 
  top: -15%; 
  transform: none; 
  width: 65%; 
  min-width: 650px;
  max-width: 1000px;
  z-index: 5;
  pointer-events: none; 
}
.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); 
}
.hero-custom .hero-eyebrow {
  color: var(--orange); 
  font-family: 'Inter', sans-serif; 
  font-size: 15px; 
  font-weight: 700;
  letter-spacing: 0.06em; 
  margin-bottom: 8px; 
}

/* スマホ対応（縦並びに切り替え） */
@media (max-width: 960px) {
  .hero-custom {
    height: auto; 
    margin-top: 72px;
  }
  .hero-custom-bg {
    display: none; 
  }
  .hero-custom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text-top, .hero-text-bottom, .hero-visual {
    position: static;
    width: 100%;
    transform: none;
  }
  .hero-text-top {
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .hero-custom .hero-title, .hero-custom .hero-sub {
    white-space: normal; 
  }
  .hero-visual {
    margin: 20px 0 -10px;
    min-width: auto;
    width: 110%; 
    margin-left: -5%;
  }
  .hero-text-bottom {
    align-items: center;
    background: var(--navy-dark);
    padding: 40px 20px;
    margin: 0 calc(50% - 50vw); 
    width: 100vw;
  }
  .hero-custom .hero-eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }
}

/* ==========================================================
   Hamburger & Mobile Menu
   ========================================================== */
.hamburger-btn {
  display: none; 
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 200; 
}
.hamburger-btn span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;
}
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 10px; }
.hamburger-btn span:nth-child(3) { bottom: 0; }

.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 150;
}
.mobile-menu.is-active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

/* ==========================================================
   Responsive (Global Fixes)
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid, .feature-block, .faq-shell { grid-template-columns: 1fr; text-align: center; }
  
  /* スマホでの箱の縦並び指定 */
  .problem-grid { grid-template-columns: 1fr; }
  
  .feature-block.reverse { direction: ltr; }
  .header-nav { display: none; }
  
  /* スマホでのPCボタン非表示＆ハンバーガー表示 */
  .header-pc-btn { display: none; }
  .hamburger-btn { display: block; }
  
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .plan-card.featured { transform: scale(1); }
  
  /* ※ここに昔あった .hero-visual { display: none; } は、スマホで画像が消える原因だったため削除しました！ */
}