/*
Theme Name: Lawyer LP Service
Author: Service Team
Description: 弁護士・法律事務所向け簡易LP制作サービス用の写真を活かしたWordPressテーマ
Version: 3.0.0
Text Domain: lawyer-lp-service
*/

:root {
  --ink: #162238;
  --ink-2: #243753;
  --navy: #0e2a47;
  --navy-2: #173e67;
  --blue: #2b6ba6;
  --bg: #f5f7fa;
  --line: #dfe5ec;
  --muted: #66758a;
  --white: #ffffff;
  --accent: #c6a15b;
  --shadow: 0 18px 50px rgba(14,42,71,.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
h1,h2,h3 { line-height: 1.35; letter-spacing: .01em; }
h1 { margin: 0; font-size: clamp(36px, 5.4vw, 68px); }
h2 { margin: 0 0 14px; font-size: clamp(28px, 3.8vw, 42px); }
h3 { margin: 0 0 10px; font-size: 21px; }
p { margin: 0 0 1em; }
.lead { color: var(--muted); font-size: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,236,.8);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 17px; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 85% 15%, rgba(43,107,166,.15), transparent 36%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 54px; align-items: center; }
.hero h1 span { display: block; color: var(--navy); }
.hero-copy { max-width: 720px; margin-top: 24px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 12px; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(14,42,71,.18); }
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.price-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.price-label { color: var(--muted); font-size: 14px; font-weight: 700; }
.price { margin: 6px 0 4px; color: var(--navy); font-size: 46px; font-weight: 900; letter-spacing: -.03em; }
.price small { font-size: 15px; font-weight: 700; }
.price-meta { display: grid; gap: 10px; margin-top: 24px; }
.price-meta div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 14px; }
.price-meta strong { color: var(--navy); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(14,42,71,.05); }
.card-num { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #edf4fb; color: var(--blue); font-weight: 900; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature { padding: 30px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; box-shadow: 0 8px 28px rgba(14,42,71,.05); }
.feature p { color: var(--muted); }

.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 34px; }
.included-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e9f3fb; color: var(--blue); font-weight: 900; }
.note-box { margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: #fff9ed; border: 1px solid #f0dfba; color: #6b5428; }

.flow { counter-reset: flow; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flow-item { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.flow-item::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 16px; color: var(--accent); font-weight: 900; font-size: 14px; letter-spacing: .12em; }

.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq .answer { padding: 0 0 20px; color: var(--muted); }

.cta-band { padding: 72px 0; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.78); }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Fixed page common */
.subpage-hero { padding: 72px 0 38px; background: var(--bg); border-bottom: 1px solid var(--line); }
.subpage-hero .container { max-width: 920px; }
.subpage-main { padding: 56px 0 88px; }
.subpage-main .container { max-width: 920px; }
.form-shell { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 0; }
.form-summary div { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.form-summary strong { display: block; color: var(--navy); font-size: 14px; }
.thanks-card { max-width: 760px; margin: 0 auto; padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #e8f3fb; color: var(--blue); font-size: 28px; font-weight: 900; }

/* Forminator tuning */
.forminator-ui.forminator-custom-form { font-family: inherit !important; }
.forminator-ui .forminator-label { color: var(--navy) !important; font-weight: 800 !important; }
.forminator-ui .forminator-input,
.forminator-ui .forminator-textarea,
.forminator-ui .forminator-select2 + .forminator-select .selection .select2-selection--single {
  border-radius: 10px !important;
}
.forminator-ui .forminator-button-submit,
.forminator-ui .forminator-button-next,
.forminator-ui .forminator-button-back {
  border-radius: 10px !important;
  font-weight: 800 !important;
}
.forminator-ui .forminator-button-submit,
.forminator-ui .forminator-button-next {
  background: var(--navy) !important;
}

@media (max-width: 860px) {
  .hero-grid, .cta-inner { grid-template-columns: 1fr; }
  .cards, .flow { grid-template-columns: 1fr; }
  .feature-grid, .included { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .price-card { max-width: 560px; }
  .form-summary { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 64px 0; }
  .header-inner { min-height: 64px; }
  .brand { max-width: 70%; font-size: 14px; }
  .header-cta { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .form-shell, .thanks-card { padding: 22px; }
}
