/* ========================================
   conca オリジナルNFCカード LP
   Bulma CSS と併用する補助スタイル
   prefix: nfc-
   ======================================== */

:root {
  --nfc-bg: #fafaf8;
  --nfc-card: #ffffff;
  --nfc-fg: #1a1a18;
  --nfc-fg-muted: #6b6b63;
  --nfc-border: #e5e5e0;
  --nfc-primary: #1a1a18;
  --nfc-primary-fg: #fafaf8;
  --nfc-muted-bg: #f3f3f0;
  --nfc-radius: 8px;
  --nfc-font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   Page base
   ======================================== */
.nfc-page {
  font-family: var(--nfc-font);
  background-color: var(--nfc-bg);
  color: var(--nfc-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Header
   ======================================== */
.nfc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s, border-bottom 0.3s, backdrop-filter 0.3s;
}

.nfc-header.is-scrolled {
  background-color: rgba(250, 250, 248, 0.95);
  border-bottom: 1px solid var(--nfc-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nfc-header-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.nfc-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nfc-fg);
}

.nfc-logo:hover {
  color: var(--nfc-fg);
}

.nfc-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nfc-nav a {
  font-size: 14px;
  color: var(--nfc-fg-muted);
  transition: color 0.2s;
}

.nfc-nav a:hover {
  color: var(--nfc-fg);
}

/* ---- Mobile burger button ---- */
.nfc-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

@media (min-width: 768px) {
  .nfc-nav {
    display: flex;
  }
  .nfc-burger {
    display: none;
  }
}

.nfc-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--nfc-fg);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nfc-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nfc-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.nfc-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile slide-in menu ---- */
.nfc-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background-color: var(--nfc-bg);
  border-left: 1px solid var(--nfc-border);
  z-index: 105;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nfc-mobile-menu.is-open {
  transform: translateX(0);
}

.nfc-mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  color: var(--nfc-fg);
  border-bottom: 1px solid var(--nfc-border);
  transition: color 0.2s;
}

.nfc-mobile-menu a:hover {
  color: var(--nfc-fg-muted);
}

.nfc-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nfc-mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   Section styling
   ======================================== */
.nfc-section {
  padding: 96px 24px;
}

.nfc-section--alt {
  background-color: var(--nfc-card);
  border-top: 1px solid var(--nfc-border);
}

.nfc-section--bordered {
  border-top: 1px solid var(--nfc-border);
}

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

.nfc-section-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nfc-fg-muted);
  margin-bottom: 12px;
}

.nfc-section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nfc-fg);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .nfc-section {
    padding: 128px 24px;
  }

  .nfc-section-title {
    font-size: 36px;
  }
}

/* ========================================
   Hero
   ======================================== */
.nfc-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 128px 24px 96px;
  text-align: center;
}

.nfc-hero-inner {
  max-width: 680px;
}

.nfc-hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nfc-fg-muted);
  margin-bottom: 24px;
}

.nfc-hero-heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--nfc-fg);
  text-wrap: balance;
}

.nfc-hero-sub {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--nfc-fg-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.nfc-hero-cta {
  margin-top: 40px;
}

.nfc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  font-size: 14px;
  color: var(--nfc-fg-muted);
}

.nfc-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nfc-hero-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--nfc-fg);
}

.nfc-hero-arrow {
  margin-top: 80px;
  animation: nfc-bounce 2s infinite;
  color: var(--nfc-fg-muted);
}

@keyframes nfc-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (min-width: 768px) {
  .nfc-hero {
    padding: 176px 24px 128px;
  }

  .nfc-hero-heading {
    font-size: 56px;
  }

  .nfc-hero-sub {
    font-size: 18px;
  }
}

/* ========================================
   Button (LP-specific)
   ======================================== */
.nfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nfc-font);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--nfc-radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.nfc-btn:hover {
  opacity: 0.85;
}

.nfc-btn:active {
  transform: scale(0.98);
}

.nfc-btn--primary {
  background-color: var(--nfc-primary);
  color: var(--nfc-primary-fg);
}

.nfc-btn--lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* ========================================
   Feature cards
   ======================================== */
.nfc-feature-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--nfc-border);
  border-radius: var(--nfc-radius);
  background-color: var(--nfc-bg);
  height: 100%;
}

.nfc-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--nfc-radius);
  background-color: var(--nfc-primary);
  color: var(--nfc-primary-fg);
  margin-bottom: 20px;
}

.nfc-feature-icon svg {
  width: 20px;
  height: 20px;
}

.nfc-feature-icon i {
  font-size: 20px;
}

.nfc-feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--nfc-fg);
  margin-bottom: 8px;
}

.nfc-feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--nfc-fg-muted);
}

/* ========================================
   Reasons (Why conca)
   ======================================== */
.nfc-reasons {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nfc-reason {
  display: flex;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--nfc-border);
}

.nfc-reason:first-child {
  padding-top: 0;
}

.nfc-reason:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nfc-reason-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--nfc-border);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  letter-spacing: -0.02em;
}

.nfc-reason-body {
  flex: 1;
}

.nfc-reason-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--nfc-fg);
  line-height: 1.5;
  margin-bottom: 8px;
}

.nfc-reason-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--nfc-fg-muted);
}

@media (min-width: 768px) {
  .nfc-reason {
    gap: 32px;
    padding: 48px 0;
  }

  .nfc-reason-number {
    font-size: 40px;
    width: 64px;
  }

  .nfc-reason-title {
    font-size: 20px;
  }
}

/* ========================================
   Process steps
   ======================================== */
.nfc-process {
  max-width: 640px;
  margin: 0 auto;
}

.nfc-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 48px;
}

.nfc-step:last-child {
  padding-bottom: 0;
}

.nfc-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 1px;
  height: calc(100% - 48px);
  background-color: var(--nfc-border);
}

.nfc-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--nfc-primary);
  color: var(--nfc-primary-fg);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.nfc-step-content {
  padding-top: 8px;
}

.nfc-step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--nfc-fg);
}

.nfc-step-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--nfc-fg-muted);
}

/* ========================================
   Spec section (card-based layout)
   ======================================== */
.nfc-spec-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.nfc-spec-card {
  background: var(--nfc-card);
  border: 1px solid var(--nfc-border);
  border-radius: var(--nfc-radius);
  padding: 28px 20px 24px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.nfc-spec-card:hover {
  border-color: #d0d0ca;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.nfc-spec-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nfc-muted-bg);
  border-radius: 50%;
  font-size: 18px;
  color: var(--nfc-fg);
}

.nfc-spec-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nfc-fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.nfc-spec-card-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--nfc-fg);
  margin: 6px 0 0;
}

.nfc-spec-card-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--nfc-fg-muted);
  margin-left: 2px;
}

.nfc-spec-card-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--nfc-fg-muted);
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .nfc-spec-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nfc-spec-card {
    padding: 20px 16px 18px;
  }

  .nfc-spec-card-value {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .nfc-spec-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Pricing table overrides
   ======================================== */
.nfc-pricing-wrap {
  max-width: 1024px;
  margin: 0 auto;
}

.nfc-pricing-note {
  text-align: right;
  margin-top: 8px;
  font-size: 12px;
  color: var(--nfc-fg-muted);
}

.nfc-pricing-wrap .table {
  font-size: 14px;
}

.nfc-pricing-wrap .table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--nfc-fg);
  background-color: var(--nfc-muted-bg);
  white-space: nowrap;
}

.nfc-pricing-wrap .table td {
  white-space: nowrap;
  color: var(--nfc-fg);
}

.nfc-pricing-wrap .table td:first-child {
  font-weight: 500;
}

.nfc-pricing-wrap .table td:nth-child(n+2) {
  text-align: right;
  font-weight: 600;
}

.nfc-pricing-wrap .table th:nth-child(n+2) {
  text-align: right;
}

/* Pricing table: collapsible rows */
.nfc-pricing-hidden-row {
  display: none;
}

.nfc-pricing-wrap.is-expanded .nfc-pricing-hidden-row {
  display: table-row;
}

.nfc-pricing-toggle-wrap {
  text-align: center;
  margin-top: 16px;
  position: relative;
}

.nfc-pricing-toggle-wrap::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(243, 243, 240, 0), rgba(243, 243, 240, 0.95));
  pointer-events: none;
}

.nfc-pricing-wrap.is-expanded .nfc-pricing-toggle-wrap::before {
  display: none;
}

.nfc-pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 24px;
  font-family: var(--nfc-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--nfc-fg);
  background: var(--nfc-card);
  border: 1px solid var(--nfc-border);
  border-radius: var(--nfc-radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nfc-pricing-toggle:hover {
  border-color: #d0d0ca;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nfc-pricing-toggle-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nfc-pricing-wrap.is-expanded .nfc-pricing-toggle-icon {
  transform: rotate(180deg);
}

/* ========================================
   Pricing examples
   ======================================== */
.nfc-pricing-examples {
  max-width: 1024px;
  margin: 48px auto 0;
}

.nfc-pricing-examples-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--nfc-fg);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.nfc-pricing-example-card {
  background: var(--nfc-card);
  border: 1px solid var(--nfc-border);
  border-radius: var(--nfc-radius);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nfc-pricing-example-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--nfc-fg);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nfc-border);
}

.nfc-pricing-example-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nfc-pricing-example-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--nfc-fg);
}

.nfc-pricing-example-label {
  flex: 1;
  min-width: 0;
}

.nfc-pricing-example-price {
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.nfc-pricing-example-footer {
  margin-top: auto;
  padding-top: 16px;
}

.nfc-pricing-example-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--nfc-border);
  font-size: 14px;
  color: var(--nfc-fg);
}

.nfc-pricing-example-subtotal-price {
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.nfc-pricing-example-tax, .nfc-pricing-example-postage {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
  font-size: 14px;
  color: var(--nfc-fg-muted);
}

.nfc-pricing-example-tax-price, .nfc-pricing-example-postage-price {
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.nfc-pricing-example-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--nfc-fg);
  font-size: 16px;
  font-weight: 700;
  color: var(--nfc-fg);
}

.nfc-pricing-example-total-price {
  font-size: 20px;
  white-space: nowrap;
  margin-left: 16px;
}

.nfc-pricing-examples > .nfc-pricing-note {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .nfc-pricing-example-card {
    padding: 20px;
  }

  .nfc-pricing-examples-heading {
    font-size: 18px;
  }
}

/* ========================================
   Order CTA
   ======================================== */
.nfc-order-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.nfc-order-cta-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nfc-fg);
  margin-top: 12px;
  text-wrap: balance;
}

.nfc-order-cta-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--nfc-fg-muted);
}

.nfc-order-cta-btn {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .nfc-order-cta-heading {
    font-size: 36px;
  }
}

/* ========================================
   FAQ Accordion
   ======================================== */
.nfc-faq {
  max-width: 640px;
  margin: 0 auto;
}

.nfc-faq-item {
  border-bottom: 1px solid var(--nfc-border);
}

.nfc-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--nfc-font);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  color: var(--nfc-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  gap: 16px;
}

.nfc-faq-question:hover {
  color: var(--nfc-fg-muted);
}

.nfc-faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--nfc-fg-muted);
}

.nfc-faq-item.is-open .nfc-faq-chevron {
  transform: rotate(180deg);
}

.nfc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.nfc-faq-item.is-open .nfc-faq-answer {
  max-height: 300px;
}

.nfc-faq-answer-inner {
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--nfc-fg-muted);
}

/* ========================================
   Footer CTA & Bar
   ======================================== */
.nfc-footer-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.nfc-footer-cta-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nfc-fg);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .nfc-footer-cta-heading {
    font-size: 36px;
  }
}

.nfc-footer-cta-sub {
  margin-top: 16px;
  font-size: 16px;
  color: var(--nfc-fg-muted);
}

.nfc-footer-cta-btn {
  margin-top: 32px;
}

/* Footer bar — removed: uses shared l-footer styles from base.css */
