/*
Theme Name: Rental Cycle LP
Theme URI: https://example.com/
Author: Codex
Description: A simple one-page WordPress landing page theme for a rental bicycle service.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rental-cycle-lp
*/

:root {
  --color-ink: #1f2a2e;
  --color-muted: #647076;
  --color-line: #dfe8e5;
  --color-bg: #f7faf8;
  --color-surface: #ffffff;
  --color-primary: #0f8b6f;
  --color-primary-dark: #0a604d;
  --color-accent: #e9b44c;
  --shadow-soft: 0 18px 44px rgba(20, 54, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 232, 229, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-brand .custom-logo {
  width: auto;
  max-height: 44px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--color-primary);
  font-size: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-list a:hover {
  color: var(--color-primary-dark);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-button:hover,
.button:hover {
  transform: translateY(-1px);
  background: var(--color-primary-dark);
}

.button.secondary {
  border-color: var(--color-line);
  background: #fff;
  color: var(--color-ink);
}

.button.secondary:hover {
  border-color: var(--color-primary);
  background: #f3fbf8;
  color: var(--color-primary-dark);
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 74px 0 44px;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.96) 0%, rgba(247, 250, 248, 0.86) 48%, rgba(247, 250, 248, 0.18) 100%),
    url("https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?auto=format&fit=crop&w=1800&q=80") center right / cover;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--color-accent);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #39464a;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.quick-panel {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.quick-panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.quick-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.quick-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #e2f4ee;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 900;
}

.quick-list strong {
  display: block;
  line-height: 1.4;
}

.quick-list small {
  display: block;
  color: var(--color-muted);
  line-height: 1.5;
}

.section {
  padding: 88px 0;
}

.section.white {
  background: var(--color-surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
}

.feature-grid,
.price-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.price-card,
.step-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e2f4ee;
  color: var(--color-primary-dark);
  font-size: 23px;
}

.feature-card h3,
.price-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--color-muted);
}

.price-card.featured {
  border-color: rgba(15, 139, 111, 0.44);
  box-shadow: var(--shadow-soft);
}

.price-value {
  margin: 14px 0 10px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.price-value small {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--color-primary);
  font-weight: 900;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.access-box {
  padding: 28px;
  border-radius: var(--radius);
  background: #10362e;
  color: #fff;
}

.access-box h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
}

.access-box p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.info-list dt {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

.map-frame {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #e5ece9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.contact-band {
  padding: 72px 0;
  background: #f0f7f4;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.contact-inner p {
  margin: 0;
  color: var(--color-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 26px 0;
  background: #10221e;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
}

.skip-link:focus {
  left: 12px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-list {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 36px;
    background:
      linear-gradient(180deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.9) 56%, rgba(247, 250, 248, 0.48) 100%),
      url("https://images.unsplash.com/photo-1507035895480-2b3156c31fc8?auto=format&fit=crop&w=1200&q=80") center / cover;
  }

  .hero-grid,
  .access-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    align-self: auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .feature-grid,
  .price-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-brand {
    font-size: 14px;
  }

  .header-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .price-card,
  .step-card,
  .quick-panel,
  .access-box {
    padding: 22px;
  }

  .footer-inner {
    display: block;
  }
}
