/* ============================================================
   Makasel LP — styles.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --orange:      #FF6B35;
  --orange-dark: #E85820;
  --orange-light:#FFF8F5;
  --text:        #1A1A1A;
  --text-sec:    #666666;
  --border:      #E5E5E5;
  --white:       #FFFFFF;
  --footer-bg:   #1A1A1A;
  --radius:      8px;
  --max-w:       1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }

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

ul { list-style: none; }

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

/* ---------- Section title ---------- */
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.4;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s, box-shadow 0.25s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Transparent initially; adds bg on scroll */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.logo-white .logo-text { color: var(--white); }
.logo-white .logo-mark { background: var(--white); color: var(--orange); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  font-family: inherit;
  line-height: 1;
}

.btn:hover  { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* Sizes */
.btn-sm  { font-size: 14px; padding: 8px 18px; }
.btn-lg  { font-size: 17px; padding: 16px 36px; }
.btn-full { width: 100%; }

/* Primary */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--white); }

/* Seller CTA */
.btn-seller {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-seller:hover { background: var(--orange-light); }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.badge-white {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(155deg, #fff 55%, #FFF3EE 100%);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-heading {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-sec);
}

/* ============================================================
   Problems
   ============================================================ */
.problems {
  padding: 100px 0;
  background: #FAFAFA;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.problem-x {
  font-size: 20px;
  color: #cc2200;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.7;
}

.problem-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================================
   Solutions
   ============================================================ */
.solutions {
  padding: 100px 0;
}

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

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.solution-card:hover {
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12);
  transform: translateY(-4px);
}

.solution-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.solution-icon svg { width: 100%; height: 100%; }

.solution-heading {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.solution-text {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ============================================================
   Sellers
   ============================================================ */
.sellers {
  padding: 100px 0;
  background: var(--orange-light);
}

.sellers-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.sellers-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.sellers-heading {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}

.sellers-text {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.9;
  margin-bottom: 32px;
}

.sellers-list {
  display: inline-block;
  text-align: left;
  margin-bottom: 40px;
}

.sellers-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 12px;
}

.check {
  color: var(--orange);
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ============================================================
   Features
   ============================================================ */
.features {
  padding: 100px 0;
}

.features-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

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

.feature-number {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  min-width: 64px;
  flex-shrink: 0;
  opacity: 0.9;
}

.feature-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-text {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
}

/* ============================================================
   Flow
   ============================================================ */
.flow {
  padding: 100px 0;
  background: #FAFAFA;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.flow-icon svg { width: 100%; height: 100%; }

.flow-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-text {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

.flow-arrow {
  font-size: 28px;
  color: var(--border);
  padding-top: 36px;
  flex-shrink: 0;
  user-select: none;
}

/* ============================================================
   Reservation
   ============================================================ */
.reservation {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--orange) 0%, #FF8C5A 100%);
  color: var(--white);
}

.reservation-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.reservation-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.reservation-sub {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.92;
}

.reservation-form {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  text-align: left;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.required {
  color: var(--orange);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: var(--white);
}

.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-input::placeholder { color: #aaa; }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  flex-shrink: 0;
  cursor: pointer;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: #ccc;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 48px;
}

.footer-tagline {
  font-size: 14px;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-list li {
  font-size: 14px;
  color: #aaa;
  line-height: 1;
  margin-bottom: 12px;
}

.footer-link {
  color: #aaa;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--orange); }

.footer-pending {
  color: #666;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

/* ============================================================
   Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   Responsive — Tablet (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section-title { margin-bottom: 40px; }

  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-step { padding: 0; max-width: 300px; }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-brand { grid-column: auto; }
}

/* ============================================================
   Responsive — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn { width: 100%; max-width: 320px; }

  .problems { padding: 72px 0; }

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

  .solutions { padding: 72px 0; }

  .sellers { padding: 72px 0; }

  .sellers-list { text-align: left; }

  .features { padding: 72px 0; }

  .feature-item {
    flex-direction: column;
    gap: 12px;
    padding: 28px 0;
  }

  .feature-number { font-size: 36px; min-width: auto; }

  .flow { padding: 72px 0; }

  .reservation { padding: 72px 0; }

  .reservation-form { padding: 24px 20px; }

  .feature-item { gap: 8px; }

  .btn-lg { font-size: 16px; padding: 14px 28px; }
}

/* ============================================================
   Accessibility
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
