/* 民泊清掃管理システム 紹介LP */

:root {
  --green: #059669;
  --green-dark: #047857;
  --green-soft: #ecfdf5;
  --ink: #1f2937;
  --ink-sub: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8f6;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
.btn:hover { background: var(--green-dark); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--green-dark); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-soft); }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { display: none; color: var(--ink-sub); font-size: 14px; font-weight: 500; text-decoration: none; }
.header-link:hover { color: var(--green-dark); }
@media (min-width: 480px) { .header-link { display: inline; } }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%); padding: 48px 0 56px; overflow: hidden; }
.hero-inner { display: grid; gap: 40px; }
.eyebrow { color: var(--green-dark); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 12px; }
.hero h1 { font-size: 30px; margin-bottom: 20px; }
.lead { color: var(--ink-sub); }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li {
  background: #fff;
  border: 1px solid #a7f3d0;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 500;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; height: 420px; max-width: 420px; margin: 0 auto; width: 100%; }
.phone {
  position: absolute;
  margin: 0;
  width: 62%;
  border-radius: 28px;
  border: 8px solid #1f2937;
  background: #1f2937;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(4, 120, 87, 0.18);
}
.phone img { border-radius: 20px; }
.phone-front { left: 0; top: 40px; }
.phone-back { right: 0; top: 0; height: 400px; }
.phone-back img { object-fit: cover; object-position: top; height: 100%; }

/* セクション共通 */
.section { padding: 64px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-title { font-size: 24px; text-align: center; margin-bottom: 32px; }
.section-title span { display: inline-block; }
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--green);
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-lead { text-align: center; color: var(--ink-sub); margin-top: -12px; }

/* 悩み */
.pain-grid { display: grid; gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain-who { font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.pain-card ul { margin: 0; padding: 0; list-style: none; }
.pain-card li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.pain-card li::before { content: "\2014"; position: absolute; left: 0; color: #9ca3af; }

/* 流れ */
.flow-list { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; gap: 16px; }
.flow-list li {
  counter-increment: flow;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 16px 72px;
}
.flow-list li::before {
  content: counter(flow);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.flow-list h3 { font-size: 18px; margin-bottom: 6px; }
.flow-list p { color: var(--ink-sub); margin: 0; font-size: 15px; }

/* 画面の見本 */
.screen-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 16px 20px;
  margin: 0 -16px;
}
.screen { flex: 0 0 240px; align-self: flex-start; margin: 0; scroll-snap-align: center; }
.screen img {
  border-radius: 18px;
  border: 6px solid #1f2937;
  background: #1f2937;
  max-height: 440px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.screen figcaption { font-size: 14px; color: var(--ink-sub); margin-top: 12px; line-height: 1.6; }
.screen figcaption strong { display: block; color: var(--ink); font-size: 15px; }

/* 機能 */
.feature-grid { display: grid; gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--green); }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--ink-sub); font-size: 15px; margin: 0; }

/* 立場別 */
.role-grid { display: grid; gap: 20px; }
.role { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.role-name { background: var(--green); color: #fff; font-weight: 700; padding: 12px 20px; margin: 0; }
.role ul { margin: 0; padding: 16px 20px 12px; list-style: none; }
.role li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.role li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* 背景 */
.story-inner { display: grid; gap: 32px; }
.story p { color: var(--ink-sub); }
.story-dev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.story-dev-title { font-weight: 700; color: var(--ink) !important; font-size: 17px; }
.text-link { font-weight: 700; }
.text-link::after { content: " \2192"; }
.features-more { text-align: center; margin: 32px 0 0; }

/* 導入の流れ */
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: start; }
.start-list li {
  counter-increment: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--ink-sub);
  font-size: 15px;
}
.start-list strong { display: block; color: var(--ink); font-size: 16px; }
.start-list strong::before { content: "STEP " counter(start) "　"; color: var(--green-dark); font-size: 13px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 16px 28px 16px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--green); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--ink-sub); font-size: 15px; padding-bottom: 8px; }

/* 問い合わせ */
.cta { background: var(--green-dark); color: #fff; padding: 64px 0; text-align: center; }
.cta h2 { font-size: 24px; margin-bottom: 12px; }
.cta p { opacity: 0.9; }
.cta .btn { margin-top: 8px; }
.cta-mail { margin-top: 16px; font-size: 14px; }

/* フッター */
.site-footer { background: #111827; color: #9ca3af; padding: 32px 0; font-size: 13px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { height: 32px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.site-footer nav a { color: #d1d5db; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }

/* タブレット以上 */
@media (min-width: 768px) {
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: 40px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
}

/* PC */
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-visual { height: 480px; }
  .phone-back { height: 460px; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .story-inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .screen-scroller { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; overflow: visible; margin: 0; padding: 8px 0 0; }
  .screen { max-width: 280px; justify-self: center; }
}
