/* ─────────────────────────────────────────────────────────────
 * クラウド管理 / 住民専用アプリ LP
 * Brand: Primary #2E7D8E (Deep Teal)
 * ─────────────────────────────────────────────────────────── */

:root {
  /* Brand — Design handoff (2026-05-06) calm palette と統一 */
  --color-primary: #2e7d8e;
  --color-primary-light: #5aabb9;
  --color-primary-dark: #1f5e6c;
  --color-primary-surface: #e8f2f4;
  --color-accent: #d9a441;

  /* Functional */
  --color-success: #3fa66b;
  --color-warning: #e8a93b;
  --color-alert: #d85c3f;
  --color-info: #3f8db5;

  /* Garbage category palette (mock 用) */
  --color-g-burnable: #d85c3f;
  --color-g-nonburnable: #7b6bb8;
  --color-g-recyclable: #e8a93b;
  --color-g-plastic: #3fa66b;
  --color-g-bottles: #3f8db5;

  /* Text */
  --color-text: #1b2730;
  --color-text-sub: #5c6770;
  --color-text-hint: #8c949b;
  --color-text-on-primary: #ffffff;

  /* Surfaces — Design は暖色オフホワイト bg */
  --color-bg: #f7f5f1;
  --color-bg-soft: #f1eee8;
  --color-bg-section: #fbfaf6;
  --color-surface: #ffffff;
  --color-border: rgba(27, 39, 48, 0.08);
  --color-border-soft: rgba(27, 39, 48, 0.05);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26, 92, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 92, 107, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 92, 107, 0.12);
  --container: 1120px;
  --container-narrow: 760px;

  /* Type — Design は Hiragino Sans 優先 */
  --font-jp: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
}

/* ───────────────────── Reset / base ───────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
a:hover {
  color: var(--color-primary-dark);
}
button {
  font-family: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}

/* ───────────────────── Helpers ───────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
}
.muted-strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}
.muted {
  color: var(--color-text-hint);
  font-size: 12px;
}
.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* ───────────────────── Buttons ───────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  box-shadow: 0 6px 16px rgba(46, 125, 142, 0.28);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-on-primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(46, 125, 142, 0.34);
}
.btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background: var(--color-primary-surface);
  color: var(--color-primary-dark);
}
.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}
.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn--block {
  display: flex;
  width: 100%;
}

/* ───────────────────── Header ───────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border-soft);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}
.site-header__logo:hover {
  color: var(--color-text);
  opacity: 0.85;
}
.site-header__nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
}
.site-header__nav a {
  color: var(--color-text-sub);
}
.site-header__nav a:hover {
  color: var(--color-primary-dark);
}
.site-header__cta {
  display: none;
}
@media (min-width: 880px) {
  .site-header__nav {
    display: flex;
  }
  .site-header__cta {
    display: inline-flex;
  }
}

/* Logo mark (CSS-only) */
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 7px 7px 12px 7px;
  border-radius: 3px 3px 0 0;
  background: #fff;
  clip-path: polygon(50% 0, 100% 50%, 100% 100%, 0 100%, 0 50%);
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 7px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  opacity: 0.55;
}
.logo-mark--white {
  background: #ffffff;
}
.logo-mark--white::before {
  background: var(--color-primary);
}
.logo-mark--white::after {
  background: var(--color-primary);
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text__main {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.logo-text__main--white {
  color: #ffffff;
}
.logo-text__sub {
  font-size: 11px;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

/* ───────────────────── Hero ───────────────────── */
.hero {
  position: relative;
  padding: 56px 0 72px;
  background: linear-gradient(
    180deg,
    var(--color-primary-surface) 0%,
    #f6fafb 60%,
    #ffffff 100%
  );
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    closest-side,
    rgba(90, 171, 185, 0.35),
    transparent 70%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    closest-side,
    rgba(247, 168, 37, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 880px) {
  .hero {
    padding: 96px 0 120px;
  }
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: #ffffff;
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-primary-light);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(28px, 5.4vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 24px;
}
.hero__title--accent {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}
.hero__title--accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: rgba(247, 168, 37, 0.35);
  border-radius: 4px;
  z-index: -1;
}
.hero__lead {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: #ffffff;
  border: 1.5px solid var(--color-primary-light);
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(46, 125, 142, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero__bullets li:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46, 125, 142, 0.16);
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(46, 125, 142, 0.25);
}
.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Hero phone mock */
.hero__visual {
  display: flex;
  justify-content: center;
}
.phone-mock {
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: rotate(-2deg);
}
@media (min-width: 880px) {
  .phone-mock {
    width: 320px;
    height: 660px;
  }
}
.phone-mock__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-mock__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-primary-surface) 100%);
  border-radius: 32px;
  overflow: hidden;
}

/* ─── Phone screens (animated slideshow) ─── */
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 50px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-primary-surface) 100%);
  opacity: 0;
  will-change: opacity, transform;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.phone-screen--home {
  animation-name: phone-screen-1;
}
.phone-screen--garbage {
  animation-name: phone-screen-2;
}
.phone-screen--chat {
  animation-name: phone-screen-3;
}

/* Each screen visible ~1/3 of the cycle, with crossfade + subtle slide. */
@keyframes phone-screen-1 {
  0%, 25% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  35%, 92% {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes phone-screen-2 {
  0%, 25% {
    opacity: 0;
    transform: translateX(18px) scale(0.985);
  }
  35%, 58% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  68%, 100% {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
  }
}
@keyframes phone-screen-3 {
  0%, 58% {
    opacity: 0;
    transform: translateX(18px) scale(0.985);
  }
  68%, 92% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-18px) scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-screen {
    animation: none;
  }
  .phone-screen--home {
    opacity: 1;
  }
  .phone-screen--garbage,
  .phone-screen--chat {
    opacity: 0;
  }
}

/* ─── Screen 1: Home (existing structure, retained) ─── */
.phone-mock__header {
  background: var(--color-primary);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 4px;
}
.phone-mock__property-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-mock__greeting {
  font-size: 12px;
  opacity: 0.85;
}
.phone-mock__card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-mock__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.phone-mock__card--garbage .phone-mock__card-icon {
  background: rgba(216, 92, 63, 0.14);
}
.phone-mock__card--event .phone-mock__card-icon {
  background: rgba(217, 164, 65, 0.18);
}
.phone-mock__card-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text);
}
.phone-mock__card-sub {
  font-size: 11px;
  color: var(--color-text-sub);
}
.phone-mock__home-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.phone-mock__home-tile {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  font-size: 10px;
  color: var(--color-text);
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.phone-mock__home-tile-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

/* ─── Shared screen-bar (header for sub-screens) ─── */
.phone-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
}
.phone-screen-bar__back {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 300;
  line-height: 1;
}
.phone-screen-bar__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* ─── Screen 2: Garbage calendar ─── */
.phone-garbage-hero {
  background: linear-gradient(
    135deg,
    rgba(216, 92, 63, 0.16) 0%,
    rgba(216, 92, 63, 0.28) 100%
  );
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(216, 92, 63, 0.12);
}
.phone-garbage-hero__when {
  font-size: 11px;
  color: var(--color-g-burnable);
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-garbage-hero__type {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-g-burnable);
  line-height: 1.2;
  margin-bottom: 4px;
}
.phone-garbage-hero__time {
  font-size: 11px;
  color: var(--color-text-sub);
}
.phone-garbage-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.phone-garbage-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.phone-garbage-item__date {
  color: var(--color-text-sub);
  font-size: 11px;
  width: 64px;
  flex-shrink: 0;
}
.phone-garbage-item__type {
  color: var(--color-text);
  font-weight: 500;
}

/* ─── Screen 3: AI Chat ─── */
.phone-chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-chat-msg {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  max-width: 82%;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.phone-chat-msg--user {
  background: var(--color-primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.phone-chat-msg--ai {
  background: #ffffff;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.phone-chat-msg__sender {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.phone-chat-msg--ai p {
  font-size: 12px;
  margin: 0;
}
.phone-chat-msg--typing {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 4px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  max-width: none;
  width: fit-content;
}
.phone-chat-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
  animation: phone-typing 1.4s infinite ease-in-out;
}
.phone-chat-msg--typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.phone-chat-msg--typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes phone-typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.phone-chat-input {
  margin-top: auto;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-hint);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.phone-chat-input__placeholder {
  flex: 1;
}
.phone-chat-input__send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* ───────────────────── Trust strip ───────────────────── */
.trust {
  background: var(--color-bg-soft);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
}
@media (min-width: 768px) {
  .trust__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.trust__item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 12px 18px;
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.trust__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 4px;
}
.trust__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: baseline;
}
.trust__num-unit {
  font-size: 14px;
  margin-left: 3px;
  color: var(--color-primary);
  font-weight: 700;
}
.trust__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

/* ───────────────────── Section common ───────────────────── */
section {
  padding: 72px 0;
}
@media (min-width: 880px) {
  section {
    padding: 112px 0;
  }
}
.section__eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section__title--center {
  text-align: center;
}
.section__lead {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 48px;
  max-width: 720px;
}
.section__lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ───────────────────── Pain ───────────────────── */
.pain {
  background: var(--color-bg-soft);
}
.pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .pain__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .pain__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pain__card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-soft);
}
.pain__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.pain__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 8px;
}
.pain__desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ───────────────────── Features ───────────────────── */
.features {
  background: #ffffff;
}
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
}
.feature:first-of-type {
  margin-top: 56px;
}
@media (min-width: 880px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 96px;
  }
  .feature--reverse .feature__copy {
    order: 1;
  }
  .feature--reverse .feature__visual {
    order: 2;
  }
}
.feature__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: inline-block;
}
.feature__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 16px;
}
.feature__desc {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
  line-height: 1.85;
}
.feature__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature__bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--color-text);
}
.feature__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary-surface);
  border: 2px solid var(--color-primary);
}
.feature__visual {
  background: linear-gradient(
    160deg,
    var(--color-primary-surface) 0%,
    #f6fafb 100%
  );
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 880px) {
  .feature__visual {
    min-height: 360px;
    padding: 48px 32px;
  }
}

/* Garbage card */
.garbage-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-md);
}
.garbage-card__day {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 4px;
}
.garbage-card__type {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.garbage-card__type--burnable {
  color: var(--color-g-burnable);
}
.garbage-card__time {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-soft);
}
.garbage-card__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--blue {
  background: var(--color-g-plastic);
}
.dot--gray {
  background: var(--color-text-hint);
}
.dot--orange {
  background: var(--color-g-burnable);
}

/* Event card */
.event-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.event-card--small {
  max-width: 280px;
  margin-left: 24px;
  margin-top: -8px;
  transform: rotate(2deg);
  background: linear-gradient(180deg, #ffffff, #fafbfc);
}
.event-card__badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  background: var(--color-primary-surface);
  color: var(--color-primary-dark);
  border-radius: 999px;
  margin-bottom: 8px;
}
.event-card__badge--gov {
  background: rgba(217, 164, 65, 0.18);
  color: var(--color-accent);
}
.event-card__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 4px;
}
.event-card__meta {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* Chat card */
.chat-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-card__bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.chat-card__bubble--user {
  background: var(--color-primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  max-width: 80%;
}
.chat-card__bubble--ai {
  background: #ffffff;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  max-width: 90%;
}
.chat-card__sender {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.chat-card__bubble--ai p {
  font-size: 13px;
  margin: 0;
}
.chat-card__cta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--color-border);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 12px;
}

/* Report card */
.report-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-md);
}
.report-card__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-soft);
}
.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
}
.report-row span {
  color: var(--color-text-sub);
}
.report-row strong {
  font-weight: 700;
  color: var(--color-text);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trend {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.trend--down {
  background: rgba(63, 166, 107, 0.15);
  color: var(--color-success);
}

/* ───────────────────── For-segment ───────────────────── */
.for-segment {
  background: var(--color-bg-section);
}
.for-segment--owner {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-primary-surface) 100%);
}
.for-segment--company {
  background: var(--color-bg-soft);
}
.for-segment__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .for-segment__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .for-segment__inner--reverse .for-segment__copy {
    order: 2;
  }
  .for-segment__inner--reverse .for-segment__visual {
    order: 1;
  }
}
.for-segment__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.for-segment__list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.for-segment__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.for-segment__list li strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}

/* Dashboard card (owner visual) */
.dashboard-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  margin: 0 auto;
}
.dashboard-card__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary-surface);
}
.dashboard-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.dashboard-card__row--last {
  border-bottom: none;
}
.dashboard-card__label {
  font-size: 13px;
  color: var(--color-text-sub);
}
.dashboard-card__value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
}
.dashboard-card__value--good {
  color: var(--color-success);
}

/* Console card (company visual) */
.console-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 130px 1fr;
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  min-height: 280px;
  border: 1px solid var(--color-border-soft);
}
.console-card__sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  line-height: 1.45;
}
.console-card__sidebar {
  background: var(--color-bg-soft);
  padding: 16px 0;
  border-right: 1px solid var(--color-border-soft);
}
.console-card__nav {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--color-text-sub);
  cursor: default;
}
.console-card__nav--active {
  background: var(--color-primary-surface);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-left: 3px solid var(--color-primary);
}
.console-card__main {
  padding: 16px;
}
.console-card__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 8px;
  font-size: 13px;
  border-bottom: 1px solid var(--color-border-soft);
}
.console-card__row:last-child {
  border-bottom: none;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}
.badge--blue {
  background: rgba(63, 141, 181, 0.15);
  color: var(--color-info);
}
.badge--gray {
  background: var(--color-bg-soft);
  color: var(--color-text-sub);
}
.badge--orange {
  background: rgba(232, 169, 59, 0.18);
  color: var(--color-warning);
}

/* ───────────────────── Relation ───────────────────── */
.relation {
  background: #ffffff;
}
.relation__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.relation__node {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  border: 1.5px solid var(--color-border);
  min-width: 220px;
  box-shadow: var(--shadow-sm);
}
.relation__node--core {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  padding: 20px 32px;
  min-width: 280px;
  box-shadow: var(--shadow-md);
}
.relation__node--core .relation__node-title {
  color: #ffffff;
}
.relation__node--core .relation__node-sub {
  color: rgba(255, 255, 255, 0.85);
}
.relation__node--owner {
  border-color: var(--color-primary-light);
}
.relation__node--resident {
  background: var(--color-primary-surface);
  border-color: var(--color-primary-light);
}
.relation__node-icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.relation__node-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}
.relation__node-sub {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 2px;
}
.relation__arrow {
  color: var(--color-primary-light);
  font-size: 14px;
}
.relation__note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-hint);
  margin-top: 24px;
}
.relation__node-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}
@media (min-width: 640px) {
  .relation__node-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
/* 4 面構成 (住民/オーナー/管理会社/運営) */
.relation__node-row--four {
  max-width: 1040px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .relation__node-row--four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .relation__node-row--four {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
.relation__node-row--four .relation__node {
  min-width: 0;
  padding: 18px 16px;
}
.relation__node-row--four .relation__node-title {
  font-size: 14px;
}
.relation__node-row--four .relation__node-sub {
  font-size: 11.5px;
  line-height: 1.5;
  margin-top: 4px;
}

/* ───────────────────── Flow ───────────────────── */
.flow {
  background: var(--color-bg-section);
}
.flow__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .flow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.flow__step {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-soft);
}
.flow__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.flow__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.flow__desc {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ───────────────────── FAQ ───────────────────── */
.faq {
  background: #ffffff;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.faq__item {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.faq__item[open] {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__item p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.faq__item p strong {
  color: var(--color-primary-dark);
}

/* ───────────────────── Contact ───────────────────── */
.contact {
  background: linear-gradient(
    180deg,
    var(--color-primary-surface) 0%,
    #ffffff 60%
  );
}
.contact__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0 40px;
}
@media (min-width: 640px) {
  .contact__channels {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-soft);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact__channel:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.contact__channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.contact__channel--line .contact__channel-icon {
  background: #06c755;
  color: #ffffff;
}
.contact__channel--tel .contact__channel-icon {
  background: var(--color-primary-surface);
}
.contact__channel-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
}
.contact__channel-sub {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* Form */
.contact__form-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-soft);
}
@media (min-width: 768px) {
  .contact__form-wrap {
    padding: 48px;
  }
}
.contact__form-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}
.form-row {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--color-alert);
  color: #ffffff;
  border-radius: 4px;
  margin-left: 6px;
}
.opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--color-bg-soft);
  color: var(--color-text-sub);
  border-radius: 4px;
  margin-left: 6px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 125, 142, 0.12);
}
.form-row textarea {
  resize: vertical;
  font-family: var(--font-jp);
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-radio {
  flex: 1 1 auto;
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.form-radio input {
  accent-color: var(--color-primary);
}
.form-radio:has(input:checked) {
  background: var(--color-primary-surface);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  font-weight: 600;
}
/* Honeypot: visually hidden but kept in the accessibility tree off (aria-hidden in HTML) */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--color-text-sub);
  cursor: pointer;
}
.form-consent input {
  margin-top: 4px;
  accent-color: var(--color-primary);
}
.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}
.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--color-text-hint);
  text-align: center;
}

.contact__success {
  text-align: center;
  padding: 24px;
}
.contact__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-success);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact__success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.contact__success p {
  color: var(--color-text-sub);
  font-size: 14px;
  line-height: 1.85;
}

/* ───────────────────── Footer ───────────────────── */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}
.site-footer__inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
  }
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__addr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.85);
}
.site-footer__nav a:hover {
  color: #ffffff;
}
.site-footer__copy {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ───────────────────── Sticky CTA (mobile) ───────────────────── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border-soft);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}
.sticky-cta.is-visible {
  display: flex;
}
@media (min-width: 880px) {
  .sticky-cta.is-visible {
    display: none;
  }
}
.sticky-cta__tel {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-surface);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  text-decoration: none;
}
.sticky-cta__tel:hover {
  background: var(--color-primary);
  color: #ffffff;
}
.sticky-cta__main {
  flex: 1;
  height: 56px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(46, 125, 142, 0.3);
}
.sticky-cta__main:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

/* Make room for sticky cta on mobile */
@media (max-width: 879px) {
  body.has-sticky-cta {
    padding-bottom: 80px;
  }
}

/* ───────────────────── Reveal animation ───────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
