/* ソダケア LP — portal.css変数を再利用 */

/* === Reset for LP === */
.lp-page {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === LP Header (sticky) === */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.lp-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(22, 40, 31, 0.08);
}

.lp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.lp-header-logo img {
  height: 48px;
  width: auto;
}

.lp-header-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s;
}

.lp-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s;
}

.lp-nav-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.lp-nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong, #ccc);
  background: #fff;
  color: var(--text-main) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: border-color 0.2s, transform 0.15s;
}
.lp-nav-login:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Hamburger */
.lp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: auto;
}

.lp-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

.lp-hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* === Sections === */
.lp-section {
  padding: 80px 24px;
}

.lp-section-alt {
  background: var(--bg-soft);
}

.lp-section-white {
  background: #fff;
}

.lp-container {
  max-width: 1100px;
  margin: 0 auto;
}

.lp-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.lp-section-sub {
  font-size: 15px;
  color: var(--text-sub);
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.6;
}

/* === Hero === */
.lp-hero {
  background: var(--bg-hero);
  padding: 100px 24px 80px;
}

.lp-hero .lp-container {
  text-align: center;
}

.lp-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.lp-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-sub);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.lp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(26, 138, 110, 0.1);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.lp-hero-badge svg {
  flex-shrink: 0;
}

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

/* === Buttons === */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  min-height: 52px;
}

.lp-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 138, 110, 0.3);
}

.lp-btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 138, 110, 0.35);
  text-decoration: none;
  color: #fff;
}

.lp-btn-outline {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.lp-btn-outline:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--accent);
}

/* === Pain Points === */
.lp-pain-list {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.lp-pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.lp-pain-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff3f1;
  color: var(--err);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-pain-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
  padding-top: 8px;
}

/* === Reasons (Feature Cards) === */
.lp-reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.lp-reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: grid;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.lp-reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.lp-reason-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.lp-reason-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.7;
}

/* === CTA Section === */
.lp-cta-section {
  background: linear-gradient(135deg, #1a8a6e 0%, #147a5e 100%);
  padding: 64px 24px;
  text-align: center;
}

.lp-cta-section .lp-section-title {
  color: #fff;
}

.lp-cta-section .lp-section-sub {
  color: rgba(255,255,255,0.85);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.lp-btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.lp-btn-white:hover {
  background: #f5fbf9;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--accent);
}

.lp-btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.lp-btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* === Screen Preview Cards === */
.lp-screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.lp-screen-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.lp-screen-mockup {
  height: 200px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.lp-mockup-inner {
  width: 85%;
  height: 160px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-mockup-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--accent-soft);
}

.lp-mockup-bar.short {
  width: 40%;
}

.lp-mockup-bar.medium {
  width: 65%;
}

.lp-mockup-bar.long {
  width: 90%;
}

.lp-mockup-bar.accent {
  background: var(--accent);
  width: 30%;
  height: 28px;
  border-radius: 6px;
  margin-top: auto;
}

.lp-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
}

.lp-mockup-cell {
  background: var(--bg-soft);
  border-radius: 4px;
}

.lp-mockup-phone {
  width: 120px;
  height: 160px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-mockup-phone .lp-mockup-bar {
  height: 6px;
}

.lp-screen-info {
  padding: 20px 24px;
}

.lp-screen-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.lp-screen-desc {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

/* === Flow Steps === */
.lp-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.lp-flow-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.lp-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.lp-flow-step:not(:last-child) .lp-flow-num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% + 20px);
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
}

.lp-flow-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.lp-flow-desc {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

/* === FAQ === */
.lp-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.lp-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.lp-faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  min-height: auto;
  line-height: 1.5;
}

.lp-faq-question:hover {
  color: var(--accent);
  background: none;
  transform: none;
}

.lp-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(180deg);
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.lp-faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* === Final CTA === */
.lp-final-cta {
  background: var(--bg-hero);
  padding: 80px 24px;
  text-align: center;
}

.lp-final-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 32px 0;
  line-height: 1.4;
}

/* === Footer === */
.lp-footer {
  background: #1a2320;
  padding: 40px 24px;
  text-align: center;
}

.lp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lp-footer-logo img {
  height: 28px;
  filter: brightness(10);
}

.lp-footer-logo span {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.lp-footer-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px 0;
}

.lp-footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.lp-footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.lp-footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

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

/* === Fade-in Animation === */
.lp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lp-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Mobile Nav Overlay === */
.lp-mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,254,251,0.98);
  backdrop-filter: blur(8px);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 4px;
}

.lp-mobile-nav.open {
  display: flex;
}

.lp-mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.lp-mobile-nav a:last-child {
  border-bottom: none;
}

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

.lp-mobile-nav .lp-nav-cta {
  margin-top: 16px;
  text-align: center;
  border-bottom: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .lp-nav {
    display: none;
  }

  .lp-hamburger {
    display: flex;
  }

  .lp-hero {
    padding: 80px 24px 56px;
  }

  .lp-section {
    padding: 48px 16px;
  }

  .lp-cta-section {
    padding: 48px 16px;
  }

  .lp-final-cta {
    padding: 48px 16px;
  }

  .lp-flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .lp-flow-step:not(:last-child) .lp-flow-num::after {
    display: none;
  }

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

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

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

  .lp-screens-grid {
    grid-template-columns: 1fr;
  }

  .lp-reasons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .lp-flow-grid {
    grid-template-columns: 1fr;
  }

  .lp-header-inner {
    padding: 0 16px;
  }

  .lp-hero {
    padding: 64px 16px 48px;
  }
}

/* ===== Documents Section ===== */
.lp-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .lp-doc-grid {
    grid-template-columns: 1fr;
  }
}

.lp-doc-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e5ebe8;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(22, 40, 31, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(22, 40, 31, 0.12);
  text-decoration: none;
}

.lp-doc-kicker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #d7eeea;
  color: #0b5e58;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  align-self: flex-start;
}

.lp-doc-title {
  font-size: 20px;
  font-weight: 800;
  color: #1f2a24;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.lp-doc-desc {
  font-size: 14px;
  color: #4e5f56;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.lp-doc-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lp-doc-highlights span {
  padding: 4px 12px;
  background: #f0f8f5;
  border: 1px solid #d7eeea;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0b5e58;
}

.lp-doc-cta {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 6px;
}
