  /* ========================================
     松井純子行政書士事務所 - 契約書ページ用スタイル
     既存サイトのトーン（ナチュラル・温かみ・女性的）に合わせた配色
     ======================================== */

  :root {
    /* サイトのメインカラー（ウォームグリーン系 × オフホワイト）を推定 */
    --main:       #5a7a65;   /* 落ち着いたセージグリーン */
    --main-dark:  #3d5c47;   /* ダークグリーン */
    --main-light: #eaf2ec;   /* 薄グリーン背景 */
    --accent:     #c8a96e;   /* ウォームゴールド（アクセント） */
    --accent-light: #f5eed8; /* 薄ゴールド背景 */
    --bg:         #faf8f5;   /* サイト全体の背景色（オフホワイト） */
    --bg-white:   #ffffff;
    --text:       #333333;
    --text-mid:   #555555;
    --text-muted: #888888;
    --border:     #e0dbd2;
    --radius:     6px;
    --radius-lg:  12px;
  }

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

  body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    background: var(--bg);
  }

  /* ===== ページ見出し ===== */
  .page-header {
    background: var(--main-light);
    border-bottom: 3px solid var(--main);
    padding: 40px 24px 32px;
    text-align: center;
  }
  .page-header .breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
  }
  .page-header .breadcrumb a {
    color: var(--main);
    text-decoration: none;
  }
  .page-header .breadcrumb a:hover { text-decoration: underline; }
  .page-header h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 600;
    color: var(--main-dark);
    line-height: 1.5;
  }
  .page-header .header-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
  }

  /* ===== メインコンテンツ ===== */
  .page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 24px 72px;
  }

  /* ===== セクション共通 ===== */
  .section { margin-bottom: 56px; }

  .section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--main-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main);
    margin-bottom: 24px;
    position: relative;
  }
  .section-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: var(--accent);
  }

  /* ===== お悩みブロック ===== */
  .intro-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    display: block;
  }

  .worry-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 20px;
    margin-bottom: 24px;
  }
  .worry-box p.lead {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
  }
  .worry-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  .worry-list li {
    background: var(--main-light);
    border-left: 3px solid var(--main);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-mid);
  }
  .worry-list li::before { content: '「'; color: var(--main); font-weight: 700; }
  .worry-list li::after  { content: '」'; color: var(--main); font-weight: 700; }

  .worry-answer {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.9;
    border-left: 3px solid var(--accent);
  }
  .worry-answer strong { color: var(--main-dark); }

  /* ===== 対応業務グリッド ===== */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }
  .service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .service-card-head {
    background: var(--main);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .service-card-head h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
  }
  .service-card-body {
    padding: 14px 16px;
  }
  .service-card-body ul {
    list-style: none;
    font-size: 13px;
    color: var(--text-mid);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .service-card-body ul li {
    padding-left: 14px;
    position: relative;
  }
  .service-card-body ul li::before {
    content: '▸';
    position: absolute; left: 0;
    color: var(--accent);
  }

  /* ===== 特徴ブロック ===== */
  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .feature-badge {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--main);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    font-weight: 600;
  }
  .feature-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--main-dark);
    margin-bottom: 8px;
  }
  .feature-body p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.85;
  }
  .feature-body .voice {
    margin-top: 10px;
    background: var(--main-light);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.85;
    border-left: 3px solid var(--main);
  }
  .feature-body strong { color: var(--main-dark); }

  /* ===== メリット ===== */
  .merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
  }
  .merit-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--main);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    text-align: center;
  }
  .merit-item .merit-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
  }
  .merit-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--main-dark);
    margin-bottom: 4px;
  }
  .merit-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  .merit-note {
    background: var(--main-light);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 13px;
    color: var(--main-dark);
    text-align: center;
  }
  .merit-note strong { color: var(--main-dark); font-weight: 700; }

  /* ===== 手続きの流れ ===== */
  .flow-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .flow-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .flow-item:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
  }
  .flow-step-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--main);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
  }
  .flow-step-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-dark);
    margin-bottom: 2px;
  }
  .flow-step-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ===== 注意書き ===== */
  .notice-box {
    background: #fff8f0;
    border: 1px solid #f0d9b5;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 13px;
    color: #7a5a2a;
    margin-top: 20px;
  }

  /* ===== FAQ ===== */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .faq-q {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--main-light);
    font-size: 14px;
    font-weight: 700;
    color: var(--main-dark);
  }
  .faq-label-q {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--main);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
  }
  .faq-a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.85;
  }
  .faq-label-a {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--bg-white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
  }
  .faq-a strong { color: var(--main-dark); }

  /* ===== CTA ===== */
  .cta-box {
    background: var(--main-dark);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    color: #fff;
  }
  .cta-box h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .cta-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin-bottom: 8px;
  }
  .cta-box .cta-tag {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
  }
  .cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 44px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
  }
  .cta-btn:hover { opacity: 0.85; }
  .cta-box .cta-note {
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
  }

  /* ===== レスポンシブ ===== */
  @media (max-width: 600px) {
    .page-content { padding: 36px 16px 56px; }
    .feature-item { flex-direction: column; gap: 10px; }
    .cta-box { padding: 32px 20px; }
  }