:root {
    --fr-yellow: #ffd600;
    --fr-yellow-deep: #f5c200;
    --fr-orange: #ffb300;
    --fr-bg-cream-light: #fffdf0;
    --fr-bg-cream: #fff9d6;
    --fr-grey-10: #1a1a1a;
    --fr-grey-29: #4a4a4a;
    --fr-grey-46: #6b7280;
    --fr-grey-92: #fff9d6;
    --fr-grey-border: #d1d5db;
    --fr-green: #22c55e;
    --fr-green-deep: #1a6e3a;
    --fr-shadow-strong: 0 32px 80px rgba(0, 0, 0, 0.22);
    --fr-shadow-soft: 0 6px 24px rgba(255, 214, 0, 0.45);
    --fr-radius-pill: 999px;
    --fr-radius-lg: 40px;
    --fr-radius-md: 28px;
    --fr-radius-card: 20px;
    --fr-content-width: 1160px;
  }
  
  /* ベース */
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    color: var(--fr-grey-10);
    background-color: #fff;
  }
  
  /* ヘッダー */
  
  .fr-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 0;
    z-index: 20;
    background: transparent;
  }
  
  .fr-header-inner {
    max-width: var(--fr-content-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .fr-logo img {
    width: 80px;
    height: 80px;
    display: block;
  }

  .fr-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
  }
  
  .fr-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .fr-nav a {
    text-decoration: none;
    color: var(--fr-grey-29);
  }
  
  .fr-nav-cta {
    padding: 8px 24px;
    border-radius: var(--fr-radius-pill);
    background: var(--fr-yellow);
    box-shadow: var(--fr-shadow-soft);
    color: var(--fr-grey-10);
  }
  
  /* HERO */
  
  .fr-hero {
    position: relative;
    min-height: 1200px;
    padding-top: 286px;
    padding-bottom: 246px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(
      160deg,
      #fffde8 0%,
      #fff9d6 50%,
      #fffbf0 100%
    );
    overflow: hidden;
  }
  
  .fr-hero-bg-blur {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.3;
    pointer-events: none;
  }
  
  .fr-hero-bg-blur-1 {
    width: 600px;
    height: 600px;
    right: -100px;
    top: -200px;
    background: var(--fr-yellow);
  }
  
  .fr-hero-bg-blur-2 {
    width: 350px;
    height: 350px;
    left: -80px;
    bottom: -100px;
    background: var(--fr-orange);
  }
  
  .fr-hero-bg-blur-3 {
    width: 250px;
    height: 250px;
    left: 730px;
    top: 540px;
    background: var(--fr-yellow-deep);
    opacity: 0.15;
  }
  
  .fr-hero-inner {
    position: relative;
    max-width: var(--fr-content-width);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
  }
  
  /* HERO 左カラム */
  
  .fr-hero-copy {
    flex: 0 0 526px;
    max-width: 526px;
    min-width: 0;
  }
  
  .fr-hero-heading h1 {
    font-size: 58px;
    line-height: 69.6px;
    font-weight: 900;
    letter-spacing: -1.16px;
    margin: 0 0 23px;
    position: relative;
  }
  
  .fr-hero-highlightline {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-bottom: 0.6px;
  }

  .fr-hero-highlightline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    height: 15px;
    border-radius: 16px;
    background: var(--fr-yellow);
    z-index: -1;
    width: 100%;
  }
  
  .fr-hero-lead {
    font-size: 18px;
    line-height: 34.2px;
    font-weight: 700;
    margin: 0 0 23px;
  }
  
  .fr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 13px 0 25px;
    margin-bottom: 0;
  }
  
  .fr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 34px;
    border-radius: var(--fr-radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }
  
  .fr-btn-primary {
    background: var(--fr-yellow);
    color: var(--fr-grey-10);
    border: 2px solid transparent;
    box-shadow: var(--fr-shadow-soft);
  }
  
  .fr-btn-secondary {
    background: #fff;
    color: var(--fr-grey-10);
    border: 2px solid var(--fr-grey-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  }
  
  .fr-btn-icon img {
    width: 26px;
    height: 26px;
    display: block;
  }
  
  .fr-btn-icon-play {
    font-size: 15px;
  }

  .fr-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--fr-yellow);
    box-shadow: var(--fr-shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--fr-grey-10);
    font-weight: 900;
    line-height: 1;
  }
  
  /* HERO バッジ */
  
  .fr-hero-badges {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 20px 26px;
    border: 2px solid var(--fr-grey-92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
  }
  
  .fr-hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
  }
  
  .fr-hero-badge-title {
    font-weight: 900;
    font-size: 26px;
  }
  
  .fr-hero-badge-sub {
    font-weight: 700;
    font-size: 11px;
    color: var(--fr-grey-46);
  }
  
  .fr-hero-divider {
    width: 1px;
    height: 36px;
    background: var(--fr-grey-border);
  }
  
  /* HERO 右カラム（スマホ） */
  
  .fr-hero-phone {
    flex: 0 0 auto;
    padding: 14px 123px;
  }
  
  .fr-phone-shell {
    position: relative;
    width: 280px;
    height: 560px;
    border-radius: var(--fr-radius-lg);
    box-shadow: var(--fr-shadow-strong);
    background: var(--fr-grey-10);
  }
  
  .fr-phone-shell::before {
    /* グラデーションのにじみ */
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 48px;
    background-image: linear-gradient(135deg, var(--fr-yellow), var(--fr-orange));
    opacity: 0.4;
    filter: blur(8px);
    z-index: -1;
  }
  
  .fr-phone-shell-inner {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
  }

  .fr-phone-shell-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
      0 32px 80px rgba(0, 0, 0, 0.22),
      inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    pointer-events: none;
  }

  .fr-phone-screen {
    position: absolute;
    inset: 14px;
    border-radius: var(--fr-radius-md);
    overflow: hidden;
    background: #fffde8;
    display: flex;
    flex-direction: column;
  }
  
  .fr-phone-header {
    padding: 14px 16px 10px;
    background: var(--fr-yellow);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .fr-phone-app-name {
    font-size: 18px;
    font-weight: 900;
  }
  
  .fr-phone-status {
    font-size: 11px;
    font-weight: 700;
    color: var(--fr-green-deep);
  }
  
  .fr-phone-body {
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    flex: 1 1 auto;
  }
  
  .fr-phone-qr-icon {
    font-size: 80px;
    color: var(--fr-grey-10);
    opacity: 0.7;
  }
  
  .fr-phone-qr-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fr-grey-46);
  }
  
  .fr-phone-footer {
    background: #fff;
    border-top: 2px solid var(--fr-grey-92);
    padding: 17px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .fr-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .fr-phone-label {
    font-size: 11px;
    color: var(--fr-grey-46);
  }
  
  .fr-phone-ok {
    font-size: 13px;
    font-weight: 700;
    color: var(--fr-green);
  }
  
  .fr-phone-time {
    position: relative;
  }
  
  .fr-phone-time-value {
    font-size: 13px;
    font-weight: 700;
  }

  .fr-phone-price-value {
    font-size: 18px;
    font-weight: 900;
  }

  .fr-phone-tabbar {
    height: 43px;
    background: var(--fr-yellow);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 0 8px;
  }

  .fr-phone-tab {
    font-size: 17px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1;
  }

  .fr-phone-tab-active {
    color: var(--fr-grey-10);
  }
  
  /* セクション共通 */
  
  .fr-section {
    padding: 100px 24px;
  }
  
  .fr-section-white {
    background: #fff;
  }
  
  .fr-section-inner {
    max-width: var(--fr-content-width);
    margin: 0 auto;
    text-align: center;
  }
  
  .fr-chip {
    display: inline-block;
    padding: 5px 16px 6px;
    border-radius: var(--fr-radius-pill);
    background: var(--fr-yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
  }
  
  .fr-section-title {
    margin: 20px 0 12px;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.25;
  }
  
  .fr-section-lead {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 350;
    line-height: 1.85;
    color: var(--fr-grey-46);
  }
  
  /* カード */
  
  .fr-cards-row {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .fr-card {
    width: 320px;
    border-radius: var(--fr-radius-card);
    padding: 32px 36px 24px;
    text-align: center;
  }
  
  .fr-card-grey {
    background: #f5f5f5;
  }
  
  .fr-card-yellow {
    background: #fffde8;
    border: 2px solid var(--fr-yellow);
  }
  
  .fr-card-icon {
    font-size: 40px;
    margin-bottom: 24px;
  }
  
  .fr-card-icon-ng {
    color: #ef4444;
  }
  
  .fr-card-icon-ok {
    color: var(--fr-green);
  }
  
  .fr-card-title {
    font-size: 18px;
    font-weight: 900;
    margin: 8px 0 12px;
  }
  
  .fr-card-text {
    font-size: 14px;
    font-weight: 350;
    line-height: 1.75;
    color: var(--fr-grey-46);
  }
  
  .fr-arrow-col {
    font-size: 28px;
    color: var(--fr-yellow-deep);
    opacity: 0.7;
  }
  
  /* 簡易レスポンシブ */
  
  @media (max-width: 1024px) {
    .fr-header {
      position: static;
      background: #fff;
    }
  
    .fr-hero {
      min-height: auto;
      padding-top: 120px;
      padding-bottom: 120px;
    }
  
    .fr-hero-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .fr-hero-phone {
      padding: 40px 0 0;
    }
  
    .fr-hero-heading h1 {
      font-size: 40px;
      line-height: 1.2;
      letter-spacing: -0.8px;
    }
  
    .fr-section-title {
      font-size: 32px;
    }
  }
  
  @media (max-width: 768px) {
    .fr-nav {
      display: none; /* シンプルに非表示 (必要ならハンバーガーへ拡張可) */
    }
  
    .fr-hero-badges {
      display: block;
      text-align: center;
    }
  
    .fr-hero-badge {
      padding: 8px 0;
    }
  
    .fr-cards-row {
      flex-direction: column;
    }
  }

  /* 法務系ページ共通 */

  .fr-legal-page {
    min-height: 100vh;
    margin: 0;
    background: #fffde8;
    color: var(--fr-grey-10);
    font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
  }

  .fr-legal-main {
    padding: 120px 24px 80px;
  }

  .fr-legal-inner {
    max-width: 750px;
    margin: 0 auto;
  }

  .fr-legal-title {
    font-size: 44px;
    line-height: 55px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 40px;
  }

  .fr-legal-body {
    font-size: 17px;
    line-height: 1.85;
    font-weight: 350;
  }

  .fr-legal-body h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 8px;
  }

  .fr-legal-body p {
    margin: 0 0 4px;
  }

  .fr-legal-body ul {
    padding-left: 1.2em;
    margin: 4px 0 8px;
  }

  .fr-legal-body li {
    margin-bottom: 2px;
  }

  /* フッター */

  .fr-footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.55);
    padding: 63px 24px 32px;
  }

  .fr-footer-inner {
    max-width: var(--fr-content-width);
    margin: 0 auto;
  }

  .fr-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fr-footer-brand {
    max-width: 260px;
  }

  .fr-footer-logo img {
    width: 48px;
    height: 48px;
    display: block;
  }

  .fr-footer-description {
    margin: 12px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
  }

  .fr-footer-links {
    display: flex;
    gap: 60px;
  }

  .fr-footer-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--fr-yellow);
    margin: 0 0 16px;
  }

  .fr-footer-link {
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px;
  }

  .fr-footer-link:hover {
    text-decoration: underline;
  }

  .fr-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    flex-wrap: wrap;
  }

  .fr-footer-bottom-left p {
    margin: 0 0 4px;
  }

  .fr-footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .fr-footer-bottom-link {
    color: inherit;
    text-decoration: none;
  }

  .fr-footer-bottom-link:hover {
    text-decoration: underline;
  }

  @media (max-width: 768px) {
    .fr-footer-top {
      flex-direction: column;
    }

    .fr-footer-links {
      flex-direction: column;
    }

    .fr-footer-bottom {
      flex-direction: column;
    }
  }