/* --------------------------------------------------
       RESET & BASE STYLES
       -------------------------------------------------- */
    :root {
      --primary: #1A2B5C;       /* ネイビー */
      --primary-light: #2A407E;
      --accent-orange: #FF6B00; /* オレンジ（ボタン用アクセント） */
      --accent-blue: #0084FF;   /* ロゴ由来のブルー */
      --accent-red: #E53935;    /* ロゴ由来のレッド・強調用 */
      --bg-light: #F4F6F9;
      --text-dark: #1F2937;
      --text-muted: #6B7280;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 10px 30px -5px rgba(26, 43, 92, 0.08);
      --radius: 16px;
      --max-width: 1140px;
    }

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* --------------------------------------------------
       COMPONENTS & TYPOGRAPHY
       -------------------------------------------------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      font-weight: 700;
      font-size: 1rem;
      border-radius: 50px;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background-color: var(--accent-orange);
      color: var(--white);
      box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
    }

    .btn-primary:hover {
      background-color: #E05E00;
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(255, 107, 0, 0.4);
    }

    .btn-secondary {
      background-color: var(--white);
      color: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn-secondary:hover {
      background-color: var(--primary);
      color: var(--white);
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-subtitle {
      color: var(--accent-orange);
      font-weight: 700;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: 2.25rem;
      color: var(--primary);
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .section-description {
      color: var(--text-muted);
      margin-top: 12px;
      font-size: 1.05rem;
    }

    /* 1年間無料バッジ・リボン用スタイル */
    .highlight-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #FF416C, #FF4B2B);
      color: var(--white);
      font-weight: 800;
      padding: 6px 18px;
      border-radius: 30px;
      font-size: 0.95rem;
      box-shadow: 0 4px 12px rgba(255, 65, 108, 0.35);
      animation: pulse 2s infinite;
      margin-bottom: 16px;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.03); }
      100% { transform: scale(1); }
    }

    /* --------------------------------------------------
       HEADER & NAVIGATION
       -------------------------------------------------- */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
      border-bottom: 1px solid var(--border);
    }

    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo-img {
      height: 38px;
      width: auto;
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 32px;
    }

    .nav-links a {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-dark);
      transition: color 0.2s;
    }

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

    /* --------------------------------------------------
       HERO SECTION & DEVICE MOCKUP (FIXED)
       -------------------------------------------------- */
    .hero {
      padding: 160px 0 100px;
      background: linear-gradient(135deg, #F8FAFC 0%, #EBF1FF 100%);
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .hero-title {
      font-size: 3rem;
      line-height: 1.25;
      color: var(--primary);
      font-weight: 900;
      margin-bottom: 20px;
    }

    .hero-text {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 36px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
    }

    .hero-mockup {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .device-wrapper {
      width: 260px;
      max-width: 100%;
      filter: drop-shadow(0 15px 35px rgba(26, 43, 92, 0.15));
      border-radius: 36px;
      overflow: hidden;
    }

    .device-screen {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      border-radius: 36px;
      background-color: #ffffff;
    }

    /* --------------------------------------------------
       FEATURES SECTION
       -------------------------------------------------- */
    .features {
      padding: 100px 0;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .feature-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 36px 28px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow);
      border-color: rgba(255, 107, 0, 0.3);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      background-color: rgba(26, 43, 92, 0.05);
      color: var(--primary);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .feature-title {
      font-size: 1.25rem;
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 12px;
    }

    .feature-desc {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* --------------------------------------------------
       WORKFLOW SECTION
       -------------------------------------------------- */
    .workflow {
      padding: 100px 0;
      background-color: var(--bg-light);
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .step-card {
      background: var(--white);
      padding: 32px 24px;
      border-radius: var(--radius);
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      text-align: center;
    }

    .step-number {
      width: 40px;
      height: 40px;
      background-color: var(--accent-orange);
      color: var(--white);
      font-weight: 800;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .step-title {
      font-size: 1.1rem;
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 8px;
    }

    .step-desc {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    /* --------------------------------------------------
       SCREENSHOTS CAROUSEL
       -------------------------------------------------- */
    .screenshots {
      padding: 100px 0;
      overflow: hidden;
    }

    .shots-carousel {
      position: relative;
    }

    .shots-viewport {
      overflow: hidden;
      padding: 24px 0 8px;
    }

    .shots-track {
      display: flex;
      align-items: flex-end;
      gap: 28px;
      will-change: transform;
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .shot-slide {
      flex: 0 0 240px;
      width: 240px;
      text-align: center;
      opacity: 0.45;
      transform: scale(0.88);
      transform-origin: center bottom;
      transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .shot-slide.is-active {
      opacity: 1;
      transform: scale(1);
    }

    .shot-slide img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 28px;
      box-shadow: 0 18px 40px rgba(26, 43, 92, 0.18);
      background: var(--white);
    }

    .shot-slide figcaption {
      margin-top: 16px;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--primary);
    }

    .shots-nav {
      position: absolute;
      top: 42%;
      z-index: 3;
      width: 48px;
      height: 48px;
      border: none;
      border-radius: 50%;
      background: var(--white);
      color: var(--primary);
      box-shadow: 0 8px 24px rgba(26, 43, 92, 0.16);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .shots-nav:hover {
      background: var(--primary);
      color: var(--white);
      transform: scale(1.06);
    }

    .shots-nav.prev {
      left: 0;
    }

    .shots-nav.next {
      right: 0;
    }

    .shots-nav svg {
      width: 22px;
      height: 22px;
      display: block;
    }

    .shots-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }

    .shots-dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: #C5CBD6;
      cursor: pointer;
      transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
    }

    .shots-dot.is-active {
      width: 24px;
      border-radius: 8px;
      background: var(--accent-orange);
    }

    /* --------------------------------------------------
       TESTIMONIALS
       -------------------------------------------------- */
    .testimonials {
      padding: 100px 0;
      background-color: var(--bg-light);
      overflow: hidden;
    }

    .voice-carousel {
      position: relative;
    }

    .voice-viewport {
      overflow: hidden;
      padding: 12px 56px 8px;
    }

    .voice-track {
      display: flex;
      align-items: stretch;
      gap: 24px;
      will-change: transform;
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .voice-slide {
      flex: 0 0 560px;
      width: 560px;
      opacity: 0.45;
      transform: scale(0.96);
      transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .voice-slide.is-active {
      opacity: 1;
      transform: scale(1);
    }

    .testimonial-card {
      background: var(--white);
      padding: 36px;
      border-radius: var(--radius);
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .testimonial-role {
      display: inline-block;
      background-color: rgba(26, 43, 92, 0.08);
      color: var(--primary);
      font-size: 0.8rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 12px;
      margin-bottom: 16px;
      align-self: flex-start;
    }

    .testimonial-text {
      font-size: 1rem;
      color: var(--text-dark);
      margin-bottom: 20px;
      font-style: italic;
      flex: 1;
    }

    .testimonial-author {
      font-weight: 700;
      color: var(--primary);
    }

    .voice-carousel .shots-nav {
      top: 50%;
      transform: translateY(-50%);
    }

    .voice-carousel .shots-nav:hover {
      transform: translateY(-50%) scale(1.06);
    }

    .voice-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 28px;
    }

    /* --------------------------------------------------
       PRICING PLAN
       -------------------------------------------------- */
    .pricing {
      padding: 100px 0;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px;
      max-width: 830px;
      margin: 0 auto;
    }

    .plan-card {
      border: 2px solid var(--border);
      border-radius: var(--radius);
      padding: 40px 32px;
      text-align: center;
      position: relative;
      min-width: 0;
      width: 100%;
    }

    .plan-card.featured {
      border-color: var(--accent-orange);
      box-shadow: var(--shadow);
      background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F3 100%);
    }

    .plan-badge {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, #FF416C, #FF4B2B);
      color: var(--white);
      font-size: 0.8rem;
      font-weight: 800;
      padding: 6px 20px;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(255, 65, 108, 0.3);
      white-space: nowrap;
      max-width: calc(100% - 24px);
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .plan-name {
      font-size: 1.5rem;
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 12px;
    }

    .plan-price-free {
      font-size: 2.75rem;
      font-weight: 900;
      color: var(--accent-red);
      margin-bottom: 4px;
    }

    .plan-price-note {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .plan-price {
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--text-dark);
      margin-bottom: 8px;
      line-height: 1.2;
    }

    .plan-price span {
      display: block;
      margin-top: 6px;
      font-size: 1rem;
      font-weight: 400;
      color: var(--text-muted);
    }

    .plan-features {
      margin-bottom: 32px;
      text-align: left;
    }

    .plan-features li {
      padding: 8px 0;
      color: var(--text-muted);
      font-size: 0.95rem;
      border-bottom: 1px dashed var(--border);
    }

    /* --------------------------------------------------
       CTA SECTION
       -------------------------------------------------- */
    .cta {
      padding: 100px 0;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: var(--white);
      text-align: center;
    }

    .cta-title {
      font-size: 2.5rem;
      font-weight: 900;
      margin-bottom: 16px;
    }

    .cta-desc {
      font-size: 1.2rem;
      opacity: 0.95;
      margin-bottom: 36px;
      font-weight: 600;
    }

    .cta-desc span {
      color: #FFD166;
      font-size: 1.4rem;
      font-weight: 800;
      text-decoration: underline;
    }

    /* --------------------------------------------------
       FOOTER
       -------------------------------------------------- */
    .footer {
      background-color: #0F1A3A;
      color: var(--white);
      padding: 40px 0;
      font-size: 0.875rem;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .footer-logo {
      height: 32px;
      margin-bottom: 20px;
    }

    .footer-links {
      margin-bottom: 16px;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.8125rem;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

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

    /* Responsive Design */
    @media (max-width: 900px) {
      .hero-grid, .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
      }
      .voice-viewport {
        padding: 12px 44px 8px;
      }
      .voice-slide {
        flex-basis: min(560px, calc(100vw - 120px));
        width: min(560px, calc(100vw - 120px));
      }
      .shot-slide {
        flex-basis: 200px;
        width: 200px;
      }
      .shots-nav {
        width: 40px;
        height: 40px;
      }
      .shots-nav.prev {
        left: 4px;
      }
      .shots-nav.next {
        right: 4px;
      }
      .steps-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .hero-title {
        font-size: 2.25rem;
      }
      .nav-links {
        display: none;
      }
    }

/* Subpage (path-based URLs) */
body.subpage .features,
body.subpage .workflow,
body.subpage .screenshots,
body.subpage .testimonials,
body.subpage .pricing {
  padding-top: 172px;
}

.nav-links a.is-current {
  color: var(--accent-orange);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav a:hover,
.footer-nav a.is-current {
  color: var(--white);
}

