/* ===========================================
   ハイブリッドレビュー LP
   プロコミットパートナーズ法律事務所
   =========================================== */

:root {
  --color-primary: #2B5797;
  --color-primary-dark: #1F4274;
  --color-accent: #2E86DE;
  --color-text: #2C3E50;
  --color-text-light: #5A6B7B;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7FAFC;
  --color-bg-accent: #EAF2FB;
  --color-border: #E2E8F0;
  --color-error: #E74C3C;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container-max: 1080px;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 16px;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

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

/* セクション共通 */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.4;
  color: var(--color-text);
}

.section-lead {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 56px;
  line-height: 1.9;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: #FFF;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-bg-accent);
  opacity: 1;
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.1rem;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-nav-cta {
  background: var(--color-primary);
  color: #FFF !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.btn-nav-cta:hover {
  background: var(--color-primary-dark);
  opacity: 1 !important;
}

/* ヒーロー */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #F0F6FF 0%, #FFFFFF 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 87, 151, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #FFF;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 28px;
}

.hero-title .accent {
  color: var(--color-primary);
  background: linear-gradient(transparent 70%, rgba(46, 134, 222, 0.18) 70%);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero-points {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-points li {
  background: #FFF;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
  border: 1px solid var(--color-border);
}

.hero-points strong {
  color: var(--color-primary);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 共感 */
.problem {
  background: var(--color-bg-alt);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.problem-item {
  background: #FFF;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.problem-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.problem-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.problem-bridge {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2;
  margin-top: 32px;
}

/* サービス（フロー） */
.service .section-lead {
  margin-bottom: 60px;
}

.flow-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  background: #FFF;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--color-primary);
}

.flow-num {
  display: inline-block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.flow-step p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.flow-arrow {
  font-size: 2rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-weight: 900;
}

/* 特徴 */
.features {
  background: var(--color-bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #FFF;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.feature-num {
  display: inline-block;
  background: var(--color-bg-accent);
  color: var(--color-primary);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.feature-lead {
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.feature-lead strong {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.feature-card p:last-child {
  font-size: 0.93rem;
  color: var(--color-text-light);
  text-align: left;
}

/* 料金 */
.pricing-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-table thead {
  background: var(--color-primary);
}

.pricing-table th {
  color: #FFF;
  padding: 16px 24px;
  text-align: left;
  font-weight: 700;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(odd) {
  background: var(--color-bg-alt);
}

.pricing-table td {
  padding: 16px 24px;
  font-size: 0.98rem;
}

.price-highlight {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.pricing-notes {
  max-width: 720px;
  margin: 24px auto 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.pricing-notes li {
  padding: 4px 0;
  line-height: 1.7;
}

/* ご利用の流れ */
.usage {
  background: var(--color-bg-alt);
}

.usage-steps {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
}

.usage-steps li {
  background: #FFF;
  padding: 32px 32px 32px 80px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  counter-increment: step;
}

.usage-steps li::before {
  content: counter(step);
  position: absolute;
  top: 32px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.usage-steps li h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.usage-steps li p {
  color: var(--color-text-light);
  font-size: 0.96rem;
}

/* こんな方におすすめ */
.target-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
}

.target-list li {
  background: #FFF;
  padding: 20px 24px 20px 60px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  position: relative;
  border-left: 4px solid var(--color-primary);
}

.target-list li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.4rem;
}

/* FAQ */
.faq {
  background: var(--color-bg-alt);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #FFF;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 900;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.faq-more {
  text-align: center;
  margin-top: 32px;
}

.faq-more a {
  color: var(--color-primary);
  font-weight: 700;
}

/* 事務所紹介 */
.firm-data {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 12px 0;
}

.firm-data > div {
  display: flex;
  padding: 16px 28px;
  border-bottom: 1px solid var(--color-border);
}

.firm-data > div:last-child {
  border-bottom: none;
}

.firm-data dt {
  width: 140px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.firm-data dd {
  flex: 1;
}

/* お問い合わせ */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFF;
}

.contact .section-title,
.contact .section-lead {
  color: #FFF;
}

.contact .section-lead {
  opacity: 0.9;
}

.contact-cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: #FFF;
  padding: 56px 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.contact-cta-lead {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.9;
}

.contact-cta-button {
  margin-bottom: 16px;
}

.contact-cta-button .btn {
  min-width: 320px;
}

.contact-cta-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.contact-alt-wrap {
  text-align: center;
  margin-top: 40px;
  color: #FFF;
}

.contact-alt-title {
  font-size: 0.95rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.contact-alt {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-alt a {
  color: #FFF;
  font-weight: 700;
  text-decoration: underline;
}

/* フッター */
.site-footer {
  background: #1A2A3A;
  color: #B8C3CC;
  padding: 48px 0 32px;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-name {
  font-weight: 700;
  color: #FFF;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: #B8C3CC;
}

.copy {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.trademark {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* レスポンシブ */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  section {
    padding: 64px 0;
  }

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

  .section-lead {
    font-size: 0.98rem;
    margin-bottom: 40px;
  }

  /* ヘッダー */
  .header-nav {
    display: none;
  }

  .header-nav .btn-nav-cta {
    display: inline-block;
  }

  .header-nav {
    display: flex;
    gap: 0;
  }

  .header-nav > a:not(.btn-nav-cta) {
    display: none;
  }

  /* ヒーロー（スマホではファーストビュー内にCTAを収めるため縦を圧縮） */
  .hero {
    padding: 32px 0 40px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  /* 特長バッジを2列グリッド化して縦の高さを圧縮 */
  .hero-points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero-points li {
    flex: 1 1 calc(50% - 4px);
    max-width: none;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  /* 3つ目のバッジを2列目で全幅に */
  .hero-points li:nth-child(3) {
    flex-basis: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* フロー */
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    width: 100%;
    max-width: 320px;
  }

  /* 特徴 */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* 使用の流れ */
  .usage-steps li {
    padding: 24px 24px 24px 72px;
  }

  .usage-steps li::before {
    top: 24px;
    left: 20px;
  }

  /* 事務所概要 */
  .firm-data > div {
    flex-direction: column;
    gap: 4px;
  }

  .firm-data dt {
    width: auto;
  }

  /* お問い合わせCTA */
  .contact-cta-box {
    padding: 40px 24px;
  }

  .contact-cta-button .btn {
    min-width: auto;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

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

/* ===========================================
   スマホ用 固定CTAバー
   PCでは非表示、スマホでスクロール時に画面下部に追従
   =========================================== */
.mobile-fixed-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-fixed-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  }

  .mobile-fixed-cta-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--color-primary);
    color: #FFF;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
  }

  .mobile-fixed-cta-btn:active {
    background: var(--color-primary-dark);
    opacity: 1;
  }

  /* 固定バーがコンテンツ最下部に被らないよう、フッターに余白を追加 */
  .site-footer {
    padding-bottom: 88px;
  }
}