:root {
    --bg-primary: #0A0A0B;
    --bg-secondary: #111113;
    --bg-card: #18181B;
    --bg-card-hover: #1F1F23;
    --text-primary: #F0EDE8;
    --text-secondary: #9B978F;
    --text-muted: #5C5A55;
    --accent: #D4A853;
    --accent-dim: #B8923F;
    --accent-glow: rgba(212, 168, 83, 0.12);
    --accent-warm: #E8C88A;
    --red-accent: #C4503A;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-body: 'Noto Sans JP', 'DM Sans', sans-serif;
    --font-display: 'Noto Serif JP', serif;
    --font-en: 'DM Sans', sans-serif;
  }

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

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ── Grain overlay ── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
  }

  /* ── Navigation ── */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease;
  }

  /* WordPress管理バー表示時のナビ位置補正 */
  .admin-bar .nav {
    top: 32px;
  }

  @media screen and (max-width: 782px) {
    .admin-bar .nav {
      top: 46px;
    }
  }

  .nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-logo .logo-mark {
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    font-family: var(--font-en);
  }

  .nav-links a:hover { color: var(--accent); }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }
  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
  }

  /* ── Hero ── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 3rem 4rem;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  /* Cinematic gradient backdrop */
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 20% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 60% 80% at 80% 30%, rgba(196, 80, 58, 0.04) 0%, transparent 60%),
      radial-gradient(ellipse 100% 100% at 50% 100%, rgba(10, 10, 11, 1) 0%, transparent 50%);
  }

  /* Grid lines */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
  }

  .hero-eyebrow {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

  .hero-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    margin-top: 0.75rem;
  }

  .hero-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
  }

  .hero-cta:hover {
    background: var(--accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.2);
  }

  .hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
  }

  .hero-cta:hover svg { transform: translateX(4px); }

  .hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-en);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
  }

  .hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease infinite;
  }

  /* ── Sections ── */
  section {
    padding: 7rem 3rem;
    position: relative;
  }

  .section-label {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
  }

  .section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 560px;
    line-height: 2;
  }

  /* ── About ── */
  .about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
  }

  /* Placeholder cinematic visual */
  .about-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(135deg, var(--bg-card) 0%, #1a1a20 100%);
  }

  .about-visual-inner .play-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  .about-visual-inner .play-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    margin-left: 3px;
  }

  .about-visual-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
      );
    z-index: 0;
  }

  .about-visual .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(10,10,11,0.9));
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
  }

  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .stat-item {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
  }

  .stat-number {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
  }

  .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
  }

  /* ── Services ── */
  .services {
    max-width: 1100px;
    margin: 0 auto;
  }

  .services-header {
    margin-bottom: 4rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
  }

  .service-card:hover::before { transform: scaleX(1); }

  .service-number {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 8px;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
  }

  .service-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.9;
  }

  .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .service-tag {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    background: rgba(212, 168, 83, 0.08);
    color: var(--accent-dim);
    border-radius: 2px;
    letter-spacing: 0.05em;
    font-family: var(--font-en);
  }

  /* ── Work / Image Section ── */
  .work {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .work-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .work-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .work-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .work-item-large { grid-row: 1 / 3; }

  .work-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,11,0.85) 0%, transparent 60%);
    z-index: 1;
  }

  .work-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
  }

  .work-item-category {
    font-family: var(--font-en);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }

  .work-item-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  /* Placeholder patterns for work items */
  .work-pattern-1 {
    background:
      linear-gradient(135deg, #1a1820 0%, #14141a 100%);
  }

  .work-pattern-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 30% 40%, rgba(212,168,83,0.08) 0%, transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(196,80,58,0.06) 0%, transparent 50%);
  }

  .work-pattern-2 {
    background: linear-gradient(160deg, #161620 0%, #111118 100%);
  }

  .work-pattern-3 {
    background: linear-gradient(200deg, #181815 0%, #121214 100%);
  }

  /* ── Consulting / Approach ── */
  .approach {
    max-width: 1100px;
    margin: 0 auto;
  }

  .approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
  }

  .approach-step {
    position: relative;
    padding-top: 2rem;
  }

  .approach-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
  }

  .approach-step-num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(212, 168, 83, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
  }

  .approach-step-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
  }

  .approach-step-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.9;
  }

  /* ── Events ── */
  .events {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .events-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
    align-items: start;
  }

  .events-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 2;
  }

  .events-text p + p { margin-top: 1.5rem; }

  .events-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .event-feature {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s;
  }

  .event-feature:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
  }

  .event-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 6px;
  }

  .event-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .event-feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .event-feature-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ── Company Info ── */
  .company {
    max-width: 1100px;
    margin: 0 auto;
  }

  .company-table {
    margin-top: 3rem;
    width: 100%;
    max-width: 700px;
  }

  .company-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
  }

  .company-row:first-child {
    border-top: 1px solid var(--border);
  }

  .company-row-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-dim);
    letter-spacing: 0.04em;
  }

  .company-row-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.9;
  }

  /* ── Contact Form ── */
  .contact {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
  }

  .contact .section-label::before { display: none; }

  .contact-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
  }

  .contact-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 2;
  }

  /* Step indicator */
  .form-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
  }

  .step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
  }

  .step-dot span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.4s ease;
  }

  .step-dot small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    transition: color 0.4s;
  }

  .step-dot.active span {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--bg-primary);
  }

  .step-dot.active small { color: var(--accent); }

  .step-dot.done span {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
  }

  .step-dot.done small { color: var(--accent-dim); }

  .step-line {
    width: 60px;
    height: 1px;
    background: var(--text-muted);
    margin: 0 0.75rem;
    margin-bottom: 1.2rem;
    transition: background 0.4s;
  }

  .step-line.active { background: var(--accent); }

  /* Form steps */
  .form-step {
    display: none;
    animation: fadeUp 0.5s ease forwards;
  }

  .form-step-active { display: block; }

  /* Form fields */
  .contact-form {
    text-align: left;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
  }

  .req {
    font-size: 0.65rem;
    color: var(--red-accent);
    background: rgba(196, 80, 58, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
    margin-left: 0.35rem;
    vertical-align: middle;
    font-weight: 600;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    line-height: 1.6;
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.82rem;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
  }

  .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239B978F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
  }

  .form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
  }

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

  .form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--red-accent);
    margin-top: 0.35rem;
    min-height: 1rem;
  }

  .form-group.has-error input,
  .form-group.has-error select,
  .form-group.has-error textarea {
    border-color: var(--red-accent);
    box-shadow: 0 0 0 3px rgba(196, 80, 58, 0.1);
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  /* Checkbox */
  .form-privacy { margin-top: 0.5rem; }

  .checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
  }

  .checkbox-label input { display: none; }

  .checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--border-light);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
  }

  .checkbox-label input:checked + .checkbox-custom {
    border-color: var(--accent);
    background: var(--accent);
  }

  .checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
  }

  .privacy-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* reCAPTCHA widget */
  .form-recaptcha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .form-recaptcha .g-recaptcha {
    transform-origin: 0 0;
  }

  .form-recaptcha.has-error #uw_recaptcha iframe {
    border: 1.5px solid var(--red-accent);
    border-radius: 4px;
  }

  /* Buttons */
  .form-actions {
    margin-top: 2rem;
    text-align: center;
  }

  .form-actions-double {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-primary:hover {
    background: var(--accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.2);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border: 1.5px solid var(--border-light);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
  }

  /* Confirm table */
  .confirm-table {
    text-align: left;
    margin: 0 auto 2rem;
  }

  .confirm-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
  }

  .confirm-row:first-child { border-top: 1px solid var(--border); }

  .confirm-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-dim);
    letter-spacing: 0.04em;
  }

  .confirm-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.7;
    word-break: break-all;
  }

  .confirm-value-msg { white-space: pre-wrap; word-break: break-word; }

  /* Complete */
  .complete-icon {
    text-align: center;
    animation: scaleIn 0.5s ease forwards;
  }

  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
  }

  .redirect-notice {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }

  .redirect-notice span {
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-en);
  }

  /* Loading */
  .form-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }

  .form-loading.active { display: flex; }

  .loading-spinner {
    width: 36px;
    height: 36px;
    border: 2.5px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin { to { transform: rotate(360deg); } }

  /* Global error */
  .form-global-error {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(8px);
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    padding: 2rem;
    border-radius: 4px;
    color: var(--red-accent);
    font-size: 0.9rem;
  }

  /* ── Footer ── */
  .footer {
    padding: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-copy {
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
  }

  .footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .footer-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.04em;
  }

  .footer-links a:hover { color: var(--accent); }

  /* ── Animations ── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── Image placeholder hints ── */
  .image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.08em;
    padding: 1rem;
  }

  .image-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 1;
    opacity: 0.5;
  }

  /* ── Responsive ── */
  @media (max-width: 900px) {
    .nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(10, 10, 11, 0.95);
      backdrop-filter: blur(20px);
      padding: 1.5rem;
      gap: 1.25rem;
      border-bottom: 1px solid var(--border);
    }

    section { padding: 4rem 1.5rem; }
    .hero { padding: 5rem 1.5rem 3rem; }

    .about-inner {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    .services-grid {
      grid-template-columns: 1fr;
    }

    .work-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }

    .work-item-large { grid-row: auto; }
    .work-item { min-height: 220px; }

    .approach-steps {
      grid-template-columns: 1fr 1fr;
    }

    .events-content {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .company-row {
      grid-template-columns: 120px 1fr;
    }

    .form-row { grid-template-columns: 1fr; }

    .form-actions-double {
      flex-direction: column;
      gap: 0.75rem;
    }

    .confirm-row {
      grid-template-columns: 1fr;
      gap: 0.25rem;
    }

    .step-line { width: 36px; }

    .footer {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
    }
  }

  @media (max-width: 600px) {
    .approach-steps {
      grid-template-columns: 1fr;
    }

    .about-stats {
      grid-template-columns: 1fr;
    }
  }

  /* ══════════════════════════════════════════════
     下層ページ共通 + プライバシーポリシー
     ══════════════════════════════════════════════ */

  /* Page Header */
  .page-header {
    padding: 10rem 3rem 4rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
  }

  .page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }

  .page-header .section-label {
    justify-content: center;
  }

  .page-header .section-label::before { display: none; }

  .page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .page-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }

  /* Page Content */
  .page-content {
    padding: 5rem 3rem 6rem;
  }

  .page-content-inner {
    max-width: 780px;
    margin: 0 auto;
  }

  /* Privacy Policy */
  .pp-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .pp-updated {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
  }

  .pp-section {
    margin-bottom: 3rem;
  }

  .pp-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .pp-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--accent-glow);
    color: var(--accent);
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
  }

  .pp-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1rem;
  }

  .pp-section a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
  }

  .pp-section a:hover { color: var(--accent-warm); }

  .pp-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
  }

  .pp-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
  }

  .pp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 1px;
    transform: rotate(45deg);
  }

  .pp-contact-box {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
  }

  .pp-contact-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 0.25rem;
  }

  .pp-contact-name {
    font-weight: 600;
    color: var(--text-primary) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
  }

  .pp-contact-box a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .pp-inquiry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: var(--accent) !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    border: 1.5px solid var(--accent);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .pp-inquiry-link:hover {
    background: var(--accent);
    color: var(--bg-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.15);
  }

  .pp-inquiry-link svg { transition: transform 0.3s; }
  .pp-inquiry-link:hover svg { transform: translateX(4px); }

  /* Back link */
  .pp-back {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .pp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.03em;
  }

  .pp-back-link:hover { color: var(--accent); }

  .pp-back-link svg { transition: transform 0.3s; }

  .pp-back-link:hover svg { transform: translateX(-4px); }

  /* Responsive — privacy page */
  @media (max-width: 900px) {
    .page-header { padding: 7rem 1.5rem 3rem; }
    .page-content { padding: 3rem 1.5rem 4rem; }
  }