/* ===== Reset & Base ===== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.5;
  color: #0f172a;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul, ol {
  list-style: none;
}

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* ===== Focus Visible ===== */

*:focus-visible {
  outline: 2px solid #00a452;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  padding: 8px 16px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Header Navigation ===== */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.lp-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.lp-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #00a452;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #00a452;
  padding: 14px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lp-nav-back::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
}

.lp-nav-back:hover,
.lp-nav-back:focus {
  background-color: #00a452;
  color: #fff;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
}

#main-nav a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #00a452;
  text-decoration: none;
  padding: 14px 15px;
  transition: opacity 0.2s;
}

#main-nav a:hover,
#main-nav a:focus {
  opacity: 0.7;
}

#main-nav .lp-nav-cta {
  background: #00a452;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

#main-nav .lp-nav-cta:hover,
#main-nav .lp-nav-cta:focus {
  opacity: 0.85;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Layout ===== */

.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ===== Section Label ===== */

.section-label {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #00a452;
  margin-bottom: 8px;
}

/* ===== Hero ===== */

.lp-hero {
  text-align: left;
  background: #eefaf4;
  color: #0f172a;
  padding: 90px 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.lp-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.lp-hero-text {
  flex: 0 0 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-lead {
  font-size: 1rem;
  font-weight: 700;
  color: #00a452;
  line-height: 1.5;
}

.lp-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

.hero-product {
  font-size: 3.5rem;
  font-weight: 700;
  color: #00a452;
  line-height: 1.5;
}

.lp-hero .sub-copy {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

.hero-image {
  flex: 0 0 550px;
  min-width: 0;
}

.hero-image .img-fluid {
  border: none;
  border-radius: 8px;
}

/* ===== Button ===== */

.lp-btn {
  display: inline-block;
  background-color: #00a452;
  color: #fff;
  padding: 14px 15px;
  font-size: 1rem;
  border-radius: 4px;
  font-weight: 700;
  transition: opacity 0.2s;
  width: fit-content;
}

.lp-btn:hover,
.lp-btn:focus {
  opacity: 0.85;
}

/* ===== Typography ===== */

.lp-h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin-bottom: 80px;
}

/* ===== Services Overview ===== */

.lp-services {
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.service-icon {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.service-icon-placeholder {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  background: #eefaf4;
  border-radius: 8px;
}

.service-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.service-body > p {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.45;
}

.service-target {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-label {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 11px;
  margin-top: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11' fill='none'%3E%3Cpath d='M1 5.5L4 8.5L9 2.5' stroke='%2300a452' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===== Features ===== */

#features {
  background: #f8fafc;
  padding: 80px 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

#features > .section-label,
#features > .lp-h2 {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

#features > .lp-h2 {
  margin-bottom: 60px;
}

#features > .lp-feature {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.lp-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 80px;
}

.lp-feature:last-child {
  margin-bottom: 0;
}

.lp-feature--normal {
  flex-direction: row;
}

.lp-feature--reverse {
  flex-direction: row-reverse;
}

.lp-feature-text {
  flex: 0 0 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-feature-image {
  flex: 0 0 550px;
  min-width: 0;
}

.lp-feature-image .img-fluid {
  border-radius: 8px;
}

.feature-tag {
  display: inline-block;
  width: fit-content;
  background: #f1edff;
  color: #7a31d4;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 16px;
}

.lp-feature h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-icon {
  flex-shrink: 0;
  width: 10px;
  height: 11px;
  margin-top: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11' fill='none'%3E%3Cpath d='M1 5.5L4 8.5L9 2.5' stroke='%2300a452' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-check-item p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.45;
}

/* ===== Flow Section ===== */

#flow {
  padding: 80px 0;
}

.flow-desc {
  font-size: 1rem;
  color: #0f172a;
}

.lp-step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  background: #00a452;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.step-body {
  background: #eefaf4;
  padding: 16px;
  border-radius: 8px;
}

.step-body p {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.45;
}

.flow-note {
  font-size: 1rem;
  color: #0f172a;
}

/* ===== Pricing Section ===== */

#pricing {
  background: #eefaf4;
  padding: 80px 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

#pricing > .section-label,
#pricing > .lp-h2,
#pricing > .pricing-desc,
#pricing > .table-scroll-wrap,
#pricing > .pricing-note {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-desc {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 80px;
}

.pricing-note {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.45;
}

/* ===== Pricing Table ===== */

.table-scroll-wrap {
  overflow-x: auto;
}

.lp-price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  margin-bottom: 80px;
}

.lp-price-table th,
.lp-price-table td {
  border: 1px solid #e2e8f0;
  padding: 24px;
  text-align: center;
  font-size: 1rem;
  color: #0f172a;
  width: 50%;
}

.lp-price-table thead th {
  background-color: #00a452;
  color: #fff;
  font-weight: 700;
}

.lp-price-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.lp-price-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

/* ===== FAQ ===== */

#faq {
  padding-top: 80px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.faq-q {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  background: #00a452;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}

.faq-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-answer {
  background: #eefaf4;
  padding: 16px;
  border-radius: 8px;
}

.faq-answer p {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.45;
}

/* ===== Images ===== */

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0;
}

/* ===== CTA ===== */

.lp-cta {
  text-align: center;
  background: #f8fafc;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
}

.cta-sub {
  font-size: 1rem;
  font-weight: 700;
  color: #00a452;
}

.lp-cta .lp-btn {
  display: block;
  width: fit-content;
  margin-inline: auto;
  background-color: #00a452;
  color: #fff;
}


#contact-section {
  padding-block: 80px;
}

/* ===== Footer ===== */

.lp-footer {
  background: #002d2b;
  color: #fff;
  padding: 0;
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.lp-footer-brand {
  font-size: 2rem;
  font-weight: 700;
}

.lp-footer-tagline {
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
}

.lp-footer-notes {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  line-height: 1.45;
}

.lp-footer-copy {
  font-size: 1rem;
  color: #fff;
}

/* =============================================
   Responsive Design
   ============================================= */

/* ===== Tablet（〜1200px） ===== */

@media (max-width: 1200px) {
  .lp-hero-inner {
    flex-direction: column;
    align-items: center;
  }

  .lp-hero-text,
  .hero-image {
    flex: 1;
  }

  .lp-hero h1 {
    font-size: 1.6rem;
  }

  .hero-product {
    font-size: 2.2rem;
  }

  .lp-h2 {
    font-size: 1.7rem;
  }

  .lp-feature-text,
  .lp-feature-image {
    flex: 1;
  }

  .lp-feature h3 {
    font-size: 1.4rem;
  }

  .lp-feature {
    flex-direction: column;
    gap: 24px;
  }

  #features {
    padding: 60px 20px;
  }

  #main-nav ul {
    gap: 12px;
  }

  #main-nav a {
    font-size: 0.75rem;
  }

  .service-item {
    flex-direction: column;
    align-items: center;
  }

  .service-icon {
    width: auto;
  }
}

/* ===== Mobile（〜600px） ===== */

@media (max-width: 600px) {

  /* セクション余白を縮小 */
  .lp-section {
    padding: 16px;
    margin-bottom: 40px;
  }

  /* ヘッダー */
  .lp-nav {
    height: auto;
    padding: 10px 16px;
  }

  .hamburger {
    display: flex;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  #main-nav.is-open {
    display: block;
  }

  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }

  #main-nav li {
    display: block;
  }

  #main-nav li a {
    display: block;
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    text-align: center;
  }

  #main-nav .lp-nav-cta {
    margin-top: 8px;
    text-align: center;
    font-size: 0.9rem;
  }

  /* ヒーロー */
  .lp-hero {
    padding: 40px 16px;
    text-align: left;
  }

  .lp-hero-inner {
    flex-direction: column;
    gap: 32px;
    padding-top: 0;
  }

  .lp-hero-text {
    flex: 1 1 auto;
  }

  .lp-hero h1 {
    font-size: 1.4rem;
  }

  .hero-product {
    font-size: 1.8rem;
  }

  .hero-lead {
    font-size: 0.85rem;
  }

  .lp-hero .sub-copy {
    font-size: 0.85rem;
  }

  /* 見出し */
  .lp-h2 {
    font-size: 1.4rem;
  }

  .lp-feature-text,
  .lp-feature-image {
    flex: 1 1 auto;
  }

  .lp-feature h3 {
    font-size: 1.2rem;
  }

  #features {
    padding: 40px 16px;
  }

  .lp-feature {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* サービス概要 */
  .service-item {
    flex-direction: column;
    align-items: center;
  }

  .service-icon {
    width: auto;
  }

  .service-body {
    padding: 24px;
  }

  /* 料金表 */
  #pricing {
    padding: 40px 16px;
  }

  .lp-price-table th,
  .lp-price-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* ステップリスト */
  .step-item {
    gap: 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 24px;
  }

  .step-title {
    font-size: 1.1rem;
  }

  /* ボタン */
  .lp-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  /* CTA */
  .lp-cta {
    padding: 40px 16px;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  /* FAQ */
  .faq-item {
    gap: 16px;
  }

  .faq-q {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 24px;
  }

  .faq-title {
    font-size: 1.1rem;
  }

  /* 80px → 40px */
  .lp-h2 {
    margin-bottom: 40px;
  }

  .lp-services {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #flow {
    padding: 40px 0;
  }

  .lp-step-list {
    margin-top: 40px;
  }

  #faq {
    padding-top: 40px;
  }

  .pricing-desc {
    margin-bottom: 40px;
  }

  .lp-price-table {
    margin-bottom: 40px;
  }

  #contact-section {
    padding-block: 40px;
  }

  .lp-footer-inner {
    padding: 40px 20px;
  }
}

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

/* ===== Print ===== */

@media print {
  .lp-header,
  .hamburger,
  .nav-overlay,
  .lp-btn,
  .lp-cta {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .lp-hero,
  #features,
  #pricing {
    margin-left: 0;
    margin-right: 0;
    padding: 20px 0;
  }

  .lp-footer {
    background: #fff;
    color: #000;
  }
}
