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

    :root {
      --navy: #1e3a2f;
      --navy-mid: #2a4f40;
      --red: #c47b3a;
      --red-dark: #a3612a;
      --gold: #d4a84b;
      --gold-light: #f0d080;
      --gray-light: #fdf5ec;
      --gray-mid: #e8ddd2;
      --text: #2a2018;
      --text-light: #6b5a48;
      --white: #fffdf9;
    }

    html { scroll-behavior: smooth; }

    /* ========== TOP APPEAL BANNER ========== */
    #top-appeal-banner {
      position: relative;
      top: 64px; /* ヘッダーの高さ分 */
      z-index: 900;
      background: linear-gradient(90deg, #1a2f24 0%, #2a4f40 40%, #1a2f24 100%);
      border-top: 3px solid var(--gold);
      border-bottom: 3px solid var(--gold);
      padding: 14px 20px;
      text-align: center;
      overflow: hidden;
    }

    #top-appeal-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 60px,
        rgba(212,168,75,0.05) 60px,
        rgba(212,168,75,0.05) 62px
      );
      pointer-events: none;
    }

    .top-appeal-inner {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
    }

    .top-appeal-icon {
      font-size: 36px;
      line-height: 1;
      filter: drop-shadow(0 0 8px rgba(212,168,75,0.6));
      flex-shrink: 0;
    }

    .top-appeal-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .top-appeal-sub {
      font-size: 11px;
      letter-spacing: 0.25em;
      color: var(--gold-light);
      font-weight: 500;
      text-transform: uppercase;
    }

    .top-appeal-main {
      font-family: 'Noto Serif JP', serif;
      font-size: clamp(18px, 4vw, 28px);
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.05em;
      line-height: 1.2;
      text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    }

    .top-appeal-main em {
      font-style: normal;
      color: var(--gold);
      text-shadow: 0 0 16px rgba(212,168,75,0.7);
    }

    .top-appeal-badge {
      flex-shrink: 0;
      background: var(--gold);
      color: var(--navy);
      border-radius: 50%;
      width: 68px;
      height: 68px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-family: 'Noto Serif JP', serif;
      font-size: 10px;
      font-weight: 700;
      line-height: 1.3;
      text-align: center;
      box-shadow: 0 0 0 3px rgba(212,168,75,0.4), 0 4px 12px rgba(0,0,0,0.3);
    }

    .top-appeal-badge strong {
      font-size: 26px;
      line-height: 1;
    }

    .top-appeal-badge small {
      font-size: 13px;
    }

    @media (max-width: 600px) {
      #top-appeal-banner { padding: 12px 16px; }
      .top-appeal-inner { gap: 12px; }
      .top-appeal-icon { font-size: 28px; }
      .top-appeal-badge { width: 56px; height: 56px; }
      .top-appeal-badge strong { font-size: 21px; }
    }

    body {
      font-family: 'Noto Sans JP', sans-serif;
      color: var(--text);
      background: #fdf5ec;
      line-height: 1.7;
      font-size: 15px;
    }

    /* ========== HEADER ========== */
    #site-header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      background: var(--navy);
      padding: 0 20px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    }

    .header-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .logo-text {
      color: var(--white);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .logo-text span { color: var(--gold); }

    .header-ctas {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-tel {
      background: var(--white);
      color: var(--navy);
      padding: 8px 14px;
      border-radius: 4px;
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .btn-line {
      background: #06c755;
      color: var(--white);
      padding: 8px 14px;
      border-radius: 4px;
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* ========== HERO ========== */
    #hero {
      margin-top: 0;
      background: url('img/image01.jpg') center center / cover no-repeat;
      padding: 80px 20px 60px;
      position: relative;
      overflow: hidden;
    }
    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(30,58,47,0.82) 0%, rgba(42,82,64,0.75) 60%, rgba(26,69,53,0.80) 100%);
      z-index: 0;
    }



    #hero::after {
      content: '';
      position: absolute;
      bottom: -80px; left: -80px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(192,57,43,0.08) 0%, transparent 70%);
      border-radius: 50%;
    }

    .hero-inner {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .hero-badge {
      display: inline-block;
      background: var(--red);
      color: var(--white);
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 2px;
      letter-spacing: 0.1em;
      margin-bottom: 20px;
    }

    .hero-headline {
      font-family: 'Noto Serif JP', serif;
      font-size: clamp(26px, 5vw, 42px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.4;
      margin-bottom: 8px;
    }

    .hero-headline em {
      color: var(--gold);
      font-style: normal;
    }

    .hero-sub {
      font-size: clamp(14px, 2.5vw, 17px);
      color: rgba(255,255,255,0.75);
      margin-bottom: 32px;
      max-width: 600px;
    }

    .hero-stats {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }

    .stat-item {
      text-align: center;
      color: var(--white);
    }

    .stat-num {
      font-size: clamp(28px, 5vw, 40px);
      font-weight: 900;
      color: var(--gold);
      line-height: 1;
      display: block;
    }

    .stat-label {
      font-size: 11px;
      color: rgba(255,255,255,0.65);
      margin-top: 4px;
    }

    .stat-divider {
      width: 1px;
      background: rgba(255,255,255,0.2);
      align-self: stretch;
    }

    .hero-cta-group {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
      color: var(--white);
      padding: 16px 32px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 20px rgba(192,57,43,0.5);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(192,57,43,0.6);
    }

    .btn-secondary {
      background: #06c755;
      color: var(--white);
      padding: 16px 32px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 20px rgba(6,199,85,0.4);
      transition: transform 0.2s;
    }

    .btn-secondary:hover { transform: translateY(-2px); }

    .hero-note {
      margin-top: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.5);
    }

    /* ========== WARNING BAND ========== */
    .warning-band {
      background: linear-gradient(90deg, #c47b3a, #a3612a);
      padding: 14px 20px;
      text-align: center;
    }

    .warning-band p {
      color: var(--white);
      font-size: clamp(13px, 2.5vw, 15px);
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .warning-band span { text-decoration: underline; }

    /* ========== SECTION COMMONS ========== */
    .section {
      padding: 72px 20px;
    }

    .section-inner {
      max-width: 900px;
      margin: 0 auto;
    }

    .section-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: var(--red);
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .section-title {
      font-family: 'Noto Serif JP', serif;
      font-size: clamp(22px, 4vw, 32px);
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 16px;
    }

    .section-title em {
      color: var(--red);
      font-style: normal;
    }

    .section-lead {
      color: var(--text-light);
      font-size: 15px;
      max-width: 680px;
      margin-bottom: 48px;
    }

    /* ========== DANGER SECTION ========== */
    #danger {
      background: #fdf0e4;
      border-top: 4px solid var(--red);
    }

    .danger-list {
      display: grid;
      gap: 16px;
    }

    .danger-item {
      background: var(--white);
      border-left: 5px solid var(--red);
      border-radius: 0 8px 8px 0;
      padding: 20px 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .danger-num {
      min-width: 36px;
      height: 36px;
      background: var(--red);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 900;
    }

    .danger-content h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--navy);
    }

    .danger-content p {
      font-size: 13px;
      color: var(--text-light);
    }

    /* ========== TRUST SECTION ========== */
    #trust { background: linear-gradient(135deg, #1e3a2f 0%, #2a5240 100%); }

    #trust .section-label { color: var(--gold); }
    #trust .section-title { color: var(--white); }
    #trust .section-lead { color: rgba(255,255,255,0.65); }

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
    }

    .trust-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(201,168,76,0.25);
      border-radius: 12px;
      padding: 28px 24px;
    }

    .trust-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }

    .trust-number {
      display: inline-block;
      color: var(--gold);
      font-family: 'Playfair Display', serif;
      font-size: 34px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.04em;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 2px solid rgba(201,168,76,0.45);
    }

    .trust-card h3 {
      color: var(--gold);
      font-size: 22px;
      font-weight: 700;
      line-height: 1.45;
      margin-bottom: 12px;
    }

    .trust-card p {
      color: rgba(255,255,255,0.82);
      font-size: 16px;
      line-height: 1.8;
    }

    /* ========== CASE SECTION ========== */
    #cases { background: var(--gray-light); }

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

    .case-card {
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .case-header {
      background: var(--navy-mid);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .case-tag {
      background: var(--red);
      color: var(--white);
      font-size: 10px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 3px;
      letter-spacing: 0.05em;
    }

    .case-header span {
      color: rgba(255,255,255,0.8);
      font-size: 13px;
    }

    .case-body {
      padding: 20px;
    }

    .case-body h3 {
      font-size: 15px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: 1.5;
    }

    .case-body p {
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 12px;
    }

    .case-result {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 700;
    }

    .case-result.success {
      background: #e8f5e9;
      color: #2e7d32;
    }

    .case-result.failure {
      background: #fce4ec;
      color: #c62828;
    }

    /* ========== PRICING SECTION ========== */
    #pricing { background: var(--white); }

    .pricing-note {
      background: #fff3cd;
      border-left: 4px solid #f0ad4e;
      padding: 14px 20px;
      border-radius: 0 8px 8px 0;
      font-size: 13px;
      color: #7d5a00;
      margin-bottom: 32px;
    }

    .pricing-table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    }

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

    .pricing-table th {
      padding: 16px 20px;
      text-align: left;
      font-size: 13px;
      font-weight: 700;
    }

    .pricing-table td {
      padding: 14px 20px;
      font-size: 14px;
      border-bottom: 1px solid var(--gray-mid);
    }

    .pricing-table tbody tr:nth-child(even) {
      background: var(--gray-light);
    }

    .price-highlight {
      font-weight: 700;
      color: var(--navy);
      font-size: 16px;
    }

    /* ========== FLOW SECTION ========== */
    #flow { background: var(--gray-light); }

    .flow-steps {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
    }

    .flow-step {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      position: relative;
    }

    .flow-step:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 19px;
      top: 44px;
      width: 2px;
      height: calc(100% + 0px);
      background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.2));
    }

    .flow-dot {
      min-width: 40px;
      height: 40px;
      background: var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 14px;
      color: var(--navy);
      position: relative;
      z-index: 1;
    }

    .flow-content {
      background: var(--white);
      border-radius: 10px;
      padding: 20px 24px;
      flex: 1;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .flow-content h3 {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 4px;
    }

    .flow-content p {
      font-size: 13px;
      color: var(--text-light);
    }

    /* ========== COMPARISON ========== */
    #comparison { background: var(--white); }

    .compare-table {
      width: 100%;
      border-collapse: collapse;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    }

    .compare-table th {
      padding: 16px;
      font-size: 14px;
      font-weight: 700;
      text-align: center;
    }

    .compare-table th:first-child {
      background: var(--navy);
      color: var(--white);
      text-align: left;
      padding-left: 20px;
    }

    .compare-table th.col-us {
      background: var(--gold);
      color: var(--navy);
    }

    .compare-table th.col-other {
      background: #ddd;
      color: #555;
    }

    .compare-table td {
      padding: 14px 16px;
      text-align: center;
      font-size: 14px;
      border-bottom: 1px solid var(--gray-mid);
    }

    .compare-table td:first-child {
      text-align: left;
      padding-left: 20px;
      font-weight: 500;
      color: var(--navy);
    }

    .compare-table tbody tr:nth-child(even) { background: var(--gray-light); }

    .check { color: #27ae60; font-size: 18px; font-weight: 900; }
    .cross { color: #e74c3c; font-size: 18px; }
    .triangle { color: #f39c12; font-size: 16px; }

    /* ========== TESTIMONIALS ========== */
    #testimonials { background: linear-gradient(135deg, #1e3a2f 0%, #2a5240 100%); }

    #testimonials .section-label { color: var(--gold); }
    #testimonials .section-title { color: var(--white); }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 20px;
    }

    .testimonial-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      padding: 24px;
    }

    .testimonial-stars {
      color: var(--gold);
      font-size: 14px;
      margin-bottom: 10px;
      letter-spacing: 2px;
    }

    .testimonial-text {
      font-size: 14px;
      color: rgba(255,255,255,0.8);
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .testimonial-info {
      font-size: 12px;
      color: rgba(255,255,255,0.4);
    }

    /* ========== FAQ ========== */
    #faq { background: var(--gray-light); }

    .faq-list { display: flex; flex-direction: column; gap: 12px; }

    .faq-item {
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }

    .faq-question {
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
      font-weight: 700;
      font-size: 15px;
      color: var(--navy);
      transition: background 0.2s;
    }

    .faq-question:hover { background: var(--gray-light); }

    .faq-q-mark {
      min-width: 28px;
      height: 28px;
      background: var(--navy);
      color: var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 900;
    }

    .faq-arrow {
      margin-left: auto;
      font-size: 12px;
      color: var(--text-light);
      transition: transform 0.3s;
    }

    .faq-item.open .faq-arrow { transform: rotate(180deg); }

    .faq-answer {
      display: none;
      padding: 0 20px 18px 62px;
      font-size: 14px;
      color: var(--text-light);
      line-height: 1.8;
    }

    .faq-item.open .faq-answer { display: block; }

    /* ========== CTA SECTION ========== */
    #cta-section {
      background: linear-gradient(135deg, #1e3a2f 0%, #2a5240 100%);
      padding: 80px 20px;
      text-align: center;
    }

    .cta-title {
      font-family: 'Noto Serif JP', serif;
      font-size: clamp(22px, 4vw, 34px);
      font-weight: 700;
      color: var(--white);
      margin-bottom: 12px;
    }

    .cta-sub {
      color: rgba(255,255,255,0.65);
      font-size: 15px;
      margin-bottom: 36px;
    }

    .cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .btn-cta-primary {
      background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
      color: var(--white);
      padding: 18px 40px;
      border-radius: 6px;
      font-size: 18px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 6px 24px rgba(192,57,43,0.5);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.2s;
    }

    .btn-cta-primary:hover { transform: translateY(-2px); }

    .btn-cta-line {
      background: #06c755;
      color: var(--white);
      padding: 18px 40px;
      border-radius: 6px;
      font-size: 18px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 6px 24px rgba(6,199,85,0.4);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.2s;
    }

    .btn-cta-line:hover { transform: translateY(-2px); }

    .cta-note {
      font-size: 12px;
      color: rgba(255,255,255,0.45);
    }

    /* ========== CONTACT FORM ========== */
    #contact { background: var(--white); }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group.full { grid-column: 1 / -1; }

    .form-group label {
      font-size: 13px;
      font-weight: 700;
      color: var(--navy);
    }

    .form-group label span {
      background: var(--red);
      color: var(--white);
      font-size: 10px;
      padding: 1px 5px;
      border-radius: 2px;
      margin-left: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      border: 2px solid var(--gray-mid);
      border-radius: 6px;
      padding: 12px 14px;
      font-size: 14px;
      font-family: 'Noto Sans JP', sans-serif;
      color: var(--text);
      transition: border-color 0.2s;
      outline: none;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--navy);
    }

    .form-group textarea { resize: vertical; min-height: 120px; }

    .form-submit {
      display: block;
      width: 100%;
      padding: 16px;
      background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
      color: var(--white);
      border: none;
      border-radius: 6px;
      font-size: 17px;
      font-weight: 700;
      font-family: 'Noto Sans JP', sans-serif;
      cursor: pointer;
      margin-top: 8px;
      box-shadow: 0 4px 16px rgba(192,57,43,0.4);
      transition: transform 0.2s;
    }

    .form-submit:hover { transform: translateY(-2px); }

    /* ========== COMPANY OVERVIEW ========== */
    #company {
      background: var(--white);
      border-top: 4px solid var(--gold);
    }

    .company-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      margin-top: 8px;
    }

    .company-table tr {
      border-bottom: 1px solid var(--gray-mid);
    }

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

    .company-table th {
      width: 200px;
      min-width: 140px;
      padding: 18px 20px;
      background: var(--gray-light);
      color: var(--navy);
      font-weight: 700;
      text-align: left;
      vertical-align: top;
      font-size: 13px;
      letter-spacing: 0.03em;
      border-right: 3px solid var(--gold);
    }

    .company-table td {
      padding: 18px 24px;
      color: var(--text);
      line-height: 1.8;
      vertical-align: top;
    }

    .company-license {
      display: inline-block;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: var(--gold);
      font-weight: 700;
      font-size: 13px;
      padding: 4px 12px;
      border-radius: 4px;
      margin-bottom: 6px;
    }

    .company-profile-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 40px;
      padding: 32px;
      background: linear-gradient(135deg, #1e3a2f 0%, #2a5240 100%);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(30,58,47,0.25);
    }

    .company-rep {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 18px;
      color: var(--white);
    }

    .company-rep-portrait {
      flex: 0 0 auto;
      width: 120px;
      height: 150px;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Noto Serif JP', serif;
      font-size: 44px;
      font-weight: 900;
      color: var(--navy);
      border: 2px solid var(--gold);
      box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    .company-rep-portrait img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .company-rep-body {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .company-rep-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: var(--gold);
      text-transform: uppercase;
    }

    .company-rep-name {
      font-family: 'Noto Serif JP', serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
    }

    .company-rep-title {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      line-height: 1.7;
    }

    .company-rep-career {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .company-career-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: rgba(255,255,255,0.85);
    }

    .career-dot {
      width: 8px;
      height: 8px;
      min-width: 8px;
      border-radius: 50%;
      background: var(--gold);
      margin-top: 6px;
    }

    @media (max-width: 640px) {
      .company-table th {
        width: 110px;
        min-width: 110px;
        padding: 14px 12px;
        font-size: 12px;
      }
      .company-table td {
        padding: 14px 14px;
        font-size: 13px;
      }
      .company-profile-box {
        grid-template-columns: 1fr;
        padding: 24px;
      }
      .company-rep {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
      }
      .company-rep-portrait {
        width: 110px;
        height: 138px;
        font-size: 36px;
      }
    }

    /* ========== FOOTER ========== */
    footer {
      background: #111f1a;
      padding: 48px 20px 24px;
    }

    .footer-inner {
      max-width: 900px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-brand .logo-text {
      font-size: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    .footer-desc {
      font-size: 13px;
      color: rgba(255,255,255,0.45);
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .license-box {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 6px;
      padding: 12px 14px;
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      line-height: 1.8;
    }

    .footer-links h4 {
      color: var(--gold);
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .footer-links ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .footer-links ul li a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 13px;
      transition: color 0.2s;
    }

    .footer-links ul li a:hover { color: var(--white); }

    .footer-bottom {
      text-align: center;
      font-size: 11px;
      color: rgba(255,255,255,0.25);
    }

    /* ========== CONTACT TABS ========== */
    .contact-tabs {
      display: flex;
      gap: 0;
      margin-bottom: 32px;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid var(--gray-mid);
    }

    .contact-tab {
      flex: 1;
      padding: 16px 12px;
      font-size: 15px;
      font-weight: 700;
      text-align: center;
      cursor: pointer;
      border: none;
      background: var(--white);
      color: var(--text-light);
      transition: all 0.25s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .contact-tab.active-line {
      background: #06c755;
      color: #fff;
    }

    .contact-tab.active-form {
      background: var(--navy);
      color: #fff;
    }

    .contact-panel { display: none; }
    .contact-panel.active { display: block; }

    /* LINE Panel */
    .line-contact-panel {
      background: linear-gradient(135deg, #06c755 0%, #04a844 100%);
      border-radius: 16px;
      padding: 40px 32px;
      text-align: center;
      color: #fff;
    }

    .line-logo-badge {
      width: 72px;
      height: 72px;
      background: #fff;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      margin-bottom: 20px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

    .line-contact-panel h3 {
      font-size: 22px;
      font-weight: 900;
      margin-bottom: 8px;
      letter-spacing: 0.03em;
    }

    .line-contact-panel p {
      font-size: 14px;
      opacity: 0.9;
      margin-bottom: 28px;
      line-height: 1.7;
    }

    .line-features {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }

    .line-feature {
      background: rgba(255,255,255,0.2);
      border-radius: 8px;
      padding: 10px 16px;
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .line-cta-area {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .line-qr-box {
      background: #fff;
      border-radius: 12px;
      padding: 16px;
      display: inline-block;
    }

    .line-qr-box img {
      width: 140px;
      height: 140px;
      display: block;
    }

    .line-qr-label {
      font-size: 12px;
      color: #04a844;
      font-weight: 700;
      margin-top: 8px;
      text-align: center;
    }

    .btn-line-official {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      color: #06c755;
      font-weight: 900;
      font-size: 17px;
      padding: 16px 36px;
      border-radius: 50px;
      text-decoration: none;
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
      transition: transform 0.2s, box-shadow 0.2s;
      letter-spacing: 0.02em;
    }

    .btn-line-official:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .line-note {
      font-size: 12px;
      opacity: 0.75;
      margin-top: 12px;
    }

    .line-steps {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
      padding-top: 28px;
      border-top: 1px solid rgba(255,255,255,0.25);
    }

    .line-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      opacity: 0.92;
    }

    .line-step-num {
      width: 28px;
      height: 28px;
      background: rgba(255,255,255,0.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 900;
    }

    .line-step-arrow {
      font-size: 18px;
      opacity: 0.5;
      align-self: center;
      margin-top: -6px;
    }

    @media (max-width: 640px) {
      .line-contact-panel { padding: 28px 20px; }
      .line-features { gap: 10px; }
      .line-cta-area { flex-direction: column; }
      .contact-tab { font-size: 13px; padding: 14px 8px; }
    }

    /* ========== FLOATING LINE CTA ========== */
    .float-line {
      position: fixed;
      bottom: 24px;
      right: 20px;
      z-index: 999;
      background: #06c755;
      color: var(--white);
      border-radius: 50px;
      padding: 14px 20px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 6px 24px rgba(6,199,85,0.5);
      display: flex;
      align-items: center;
      gap: 8px;
      animation: pulse 2.5s infinite;
    }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 6px 24px rgba(6,199,85,0.5); }
      50% { box-shadow: 0 6px 36px rgba(6,199,85,0.8); }
    }

    /* ========== RESPONSIVE ========== */

    /* テーブルスクロールラッパー */
    .table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      width: 100%;
    }
    .table-scroll table {
      min-width: 500px;
    }

    @media (max-width: 768px) {
      /* セクションの上下パディング縮小 */
      .section { padding: 52px 16px; }
      #cta-section { padding: 56px 16px; }

      /* ヒーローセクション */
      #hero { padding: 80px 16px 48px; }
      .hero-stats { gap: 16px; flex-wrap: wrap; }
      .hero-cta-group { flex-direction: column; gap: 10px; }
      .btn-primary, .btn-secondary {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
      }

      /* グリッドを1カラムに */
      .trust-grid { grid-template-columns: 1fr; }
      .case-grid { grid-template-columns: 1fr; }
      .testimonial-grid { grid-template-columns: 1fr; }

      /* CTAボタン */
      .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 8px; }
      .btn-cta-primary, .btn-cta-line {
        font-size: 16px;
        padding: 16px 24px;
        justify-content: center;
      }

      /* フッター */
      .footer-top { grid-template-columns: 1fr; gap: 24px; }

      /* お問い合わせフォーム */
      .form-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 640px) {
      /* ヘッダー */
      .header-ctas .btn-tel span { display: none; }
      .logo-text { font-size: 15px; }

      /* ヒーロー */
      #hero { padding: 72px 16px 40px; }
      .hero-stats { gap: 12px; }
      .stat-divider { display: none; }
      .stat-num { font-size: 26px; }

      /* セクション */
      .section { padding: 40px 14px; }
      .section-lead { margin-bottom: 32px; font-size: 14px; }

      /* Dangerアイテム */
      .danger-item { padding: 16px 16px; gap: 12px; }
      .danger-content h3 { font-size: 14px; }

      /* プライシングテーブル */
      .pricing-table th, .pricing-table td { padding: 12px 10px; font-size: 12px; }
      .price-highlight { font-size: 13px; }

      /* 比較テーブル */
      .compare-table th, .compare-table td { font-size: 11px; padding: 8px 6px; }

      /* フローステップ */
      .flow-step { gap: 14px; }
      .flow-content { padding: 16px 16px; }
      .flow-content h3 { font-size: 14px; }

      /* FAQアンサー */
      .faq-answer { padding: 0 16px 16px 50px; }
      .faq-question { font-size: 13px; padding: 16px 14px; }

      /* フォーム */
      .form-grid { grid-template-columns: 1fr; }
      .form-group input,
      .form-group select,
      .form-group textarea { font-size: 16px; /* iOSズーム防止 */ }

      /* 会社概要テーブル */
      .company-table th {
        width: 100px;
        min-width: 100px;
        padding: 12px 10px;
        font-size: 11px;
      }
      .company-table td { padding: 12px 12px; font-size: 12px; }
      .company-profile-box { grid-template-columns: 1fr; padding: 20px; }
      .company-rep-name { font-size: 18px; }

      /* LINEコンタクト */
      .line-contact-panel { padding: 24px 16px; }
      .line-features { gap: 8px; }
      .line-cta-area { flex-direction: column; }
      .contact-tab { font-size: 12px; padding: 12px 6px; }
      .btn-line-official { font-size: 15px; padding: 14px 24px; }

      /* フッター */
      .footer-top { grid-template-columns: 1fr; gap: 20px; }
      footer { padding: 36px 14px 20px; }

      /* フローティングLINEボタン */
      .float-line { padding: 12px 16px; font-size: 13px; bottom: 16px; right: 12px; }

      /* CTAボタン */
      .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
      .btn-cta-primary, .btn-cta-line {
        font-size: 15px;
        padding: 14px 20px;
        justify-content: center;
      }
    }

    /* ========== ANIMATIONS ========== */
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ========== MASTER SECTION ========== */
    #master {
      background: var(--white);
      border-top: 4px solid var(--gold);
      border-bottom: 4px solid var(--gold);
    }

    .master-law-note {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      background: var(--gray-light);
      border-left: 4px solid var(--red);
      padding: 20px 22px;
      border-radius: 6px;
      margin-bottom: 36px;
      font-size: 13.5px;
      line-height: 1.9;
      color: var(--text);
    }

    .master-law-mark {
      font-family: 'Noto Serif JP', serif;
      font-size: 34px;
      color: var(--red);
      font-weight: 900;
      line-height: 1;
      flex: 0 0 auto;
    }

    .master-law-note strong { color: var(--navy); font-weight: 700; }

    .master-profile {
      background: var(--gray-light);
      border: 1px solid var(--gray-mid);
      border-radius: 12px;
      padding: 28px 24px;
      margin-bottom: 40px;
      box-shadow: 0 4px 16px rgba(42,32,24,0.05);
    }

    .master-profile-head {
      display: flex;
      gap: 22px;
      align-items: center;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--gray-mid);
      margin-bottom: 18px;
    }

    .master-portrait {
      flex: 0 0 auto;
      width: 120px; height: 150px;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      display: flex; align-items: center; justify-content: center;
      font-family: 'Noto Serif JP', serif;
      font-size: 44px;
      font-weight: 900;
      color: var(--navy);
      box-shadow: 0 6px 18px rgba(0,0,0,0.18);
      border: 2px solid var(--gold);
    }

    .master-portrait img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .master-label {
      font-size: 11px;
      letter-spacing: 0.15em;
      color: var(--red);
      font-weight: 700;
      margin-bottom: 2px;
      text-transform: uppercase;
    }

    .master-name {
      font-family: 'Noto Serif JP', serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--navy);
    }

    .master-subtitle-line {
      font-size: 12px;
      color: var(--text-light);
      line-height: 1.6;
      margin-top: 4px;
    }

    .master-profile-text {
      font-size: 14px;
      line-height: 1.95;
      color: var(--text);
      margin-bottom: 18px;
    }

    .master-profile-text strong { color: var(--navy); }

    .master-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .master-tag {
      background: var(--white);
      border: 1px solid var(--gold);
      color: var(--navy);
      font-size: 11px;
      padding: 5px 10px;
      border-radius: 4px;
      font-weight: 500;
    }

    .master-sub-title {
      font-family: 'Noto Serif JP', serif;
      font-size: clamp(18px, 3.5vw, 22px);
      font-weight: 700;
      color: var(--navy);
      margin: 40px 0 20px;
      padding-left: 12px;
      border-left: 4px solid var(--gold);
      line-height: 1.5;
    }

    .master-sub-title em {
      color: var(--red);
      font-style: normal;
    }

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

    .master-book {
      background: var(--white);
      border: 1px solid var(--gray-mid);
      border-left: 4px solid var(--gold);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(42,32,24,0.06);
    }

    .master-book-head {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: var(--white);
      padding: 22px 20px;
      position: relative;
      overflow: hidden;
    }

    .master-book-head::before {
      content: '';
      position: absolute;
      right: -16px; top: -16px;
      width: 70px; height: 70px;
      border: 1px solid rgba(201,168,76,0.4);
      border-radius: 50%;
      pointer-events: none;
    }

    .master-book-no {
      color: var(--gold);
      font-family: 'Noto Serif JP', serif;
      font-size: 11px;
      letter-spacing: 0.3em;
      margin-bottom: 8px;
    }

    .master-book-title {
      font-family: 'Noto Serif JP', serif;
      font-size: 20px;
      font-weight: 700;
      color: var(--white);
      line-height: 1.5;
    }

    .master-book-sub {
      font-family: 'Noto Serif JP', serif;
      font-size: 12px;
      color: var(--gold-light);
      margin-top: 4px;
    }

    .master-book-meta {
      background: var(--gray-light);
      padding: 10px 20px;
      font-size: 12px;
      color: var(--text-light);
      border-bottom: 1px solid var(--gray-mid);
    }

    .master-book-body {
      padding: 20px;
      font-size: 13.5px;
      line-height: 1.9;
      color: var(--text);
    }

    .master-book-body p { margin-bottom: 0; }
    .master-book-body strong { color: var(--navy); font-weight: 700; }

    .master-book-quote {
      margin-top: 14px;
      padding: 14px 16px;
      background: var(--gray-light);
      border-left: 3px solid var(--gold);
      font-family: 'Noto Serif JP', serif;
      font-size: 13.5px;
      color: var(--navy);
      line-height: 1.8;
    }

    .master-book-quote::before {
      content: '「';
      color: var(--gold);
      font-weight: 900;
    }

    .master-book-quote::after {
      content: '」';
      color: var(--gold);
      font-weight: 900;
    }

    /* Master flow — reuses .flow-step styling */
    .master-flow .flow-dot {
      min-width: 48px;
      height: 48px;
      font-size: 12px;
      letter-spacing: 0.05em;
    }

    .master-inherit {
      margin-top: 40px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: var(--white);
      border-radius: 12px;
      padding: 28px 24px;
      box-shadow: 0 8px 32px rgba(30,58,47,0.25);
    }

    .master-inherit-title {
      font-family: 'Noto Serif JP', serif;
      font-size: 17px;
      font-weight: 700;
      color: var(--gold);
      text-align: center;
      margin-bottom: 20px;
    }

    .master-inherit-flow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .master-inherit-person {
      text-align: center;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.12);
      border-top: 3px solid var(--gold);
      border-radius: 8px;
      padding: 16px 20px;
      min-width: 150px;
    }

    .master-inherit-dot {
      width: 48px; height: 48px;
      margin: 0 auto 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold-light), var(--gold));
      display: flex; align-items: center; justify-content: center;
      font-family: 'Noto Serif JP', serif;
      font-size: 18px;
      font-weight: 900;
      color: var(--navy);
    }

    .master-inherit-label {
      font-size: 10px;
      letter-spacing: 0.2em;
      color: var(--gold);
      margin-bottom: 2px;
    }

    .master-inherit-name {
      font-family: 'Noto Serif JP', serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--white);
      line-height: 1.5;
    }

    .master-inherit-arrow {
      font-size: 22px;
      color: var(--gold);
      font-weight: 900;
    }

    .master-inherit-note {
      font-size: 13px;
      line-height: 1.95;
      color: rgba(255,255,255,0.88);
      background: rgba(255,255,255,0.05);
      border-left: 3px solid var(--gold);
      padding: 14px 16px;
      border-radius: 4px;
    }

    .master-inherit-note strong { color: var(--gold); }

    @media (max-width: 640px) {
      .master-profile { padding: 22px 18px; }
      .master-profile-head { flex-direction: column; align-items: flex-start; gap: 12px; }
      .master-portrait { width: 110px; height: 138px; font-size: 36px; }
      .master-law-note { padding: 16px 16px; font-size: 12.5px; }
      .master-law-mark { font-size: 28px; }
      .master-book-title { font-size: 17px; }
      .master-book-head { padding: 18px 16px; }
      .master-book-body { padding: 18px 16px; font-size: 13px; }
      .master-inherit { padding: 22px 18px; }
      .master-inherit-flow { flex-direction: column; gap: 8px; }
      .master-inherit-arrow { transform: rotate(90deg); font-size: 18px; }
      .master-inherit-person { width: 100%; }
    }
  

        @media (max-width: 640px) {
          .note-promo {
            flex-direction: column !important;
            padding: 28px 20px !important;
            gap: 20px !important;
          }
          .note-promo > div:last-child {
            width: 100%;
          }
        }
