/* ============================================
   URLs Landing Page — style.css
   ============================================ */

/* ----------------------------
   Reset & Base
   ---------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #1a1a2e;
  line-height: 1.8;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

code {
  background: #f0f0f5;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ----------------------------
   Utility
   ---------------------------- */
.section__inner,
.header__inner,
.footer__inner,
.hero__inner,
.cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ----------------------------
   Fade-in animation
   ---------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ----------------------------
   Button
   ---------------------------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1a0dab, #7b2d8e, #e84393);
  box-shadow: 0 4px 20px rgba(123, 45, 142, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(123, 45, 142, 0.5);
}

.btn--white {
  color: #1a0dab;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

.btn--small {
  padding: 8px 22px;
  font-size: 0.875rem;
  color: #ffffff;
  background: linear-gradient(135deg, #1a0dab, #7b2d8e, #e84393);
  border-radius: 50px;
}

.btn--accent {
  box-shadow: 0 2px 12px rgba(123, 45, 142, 0.3);
}

/* ----------------------------
   Header
   ---------------------------- */
.header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo img {
  display: block;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a1a2e;
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: #7b2d8e;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

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

/* ----------------------------
   Hero
   ---------------------------- */
.hero {
  background: linear-gradient(135deg, #1a0dab 0%, #7b2d8e 50%, #e84393 100%);
  color: #ffffff;
  text-align: center;
  padding: 120px 24px 100px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0.92;
}

/* ----------------------------
   Section (common)
   ---------------------------- */
.section {
  padding: 100px 0;
}

.section--gray {
  background: #f8f8fc;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #1a0dab, #e84393);
}

/* ----------------------------
   Feature Cards
   ---------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(123, 45, 142, 0.12);
  transform: translateY(-4px);
}

.card__icon {
  color: #7b2d8e;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.9375rem;
  color: #555555;
  line-height: 1.7;
}

/* ----------------------------
   Function Grid
   ---------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}

.grid__item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.grid__icon {
  flex-shrink: 0;
  color: #1a0dab;
}

.grid__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.grid__text {
  font-size: 0.9375rem;
  color: #555555;
  line-height: 1.7;
}

/* ----------------------------
   Screenshots
   ---------------------------- */
.screenshots__gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.screenshots__item {
  width: 100%;
  max-width: 900px;
}

.screenshots__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e0e0e8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d0d8;
}

.screenshots__placeholder span {
  font-size: 1.125rem;
  color: #888;
  font-weight: 500;
}

/* ----------------------------
   Steps (Install)
   ---------------------------- */
.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 32px;
  border: 1px solid #eee;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a0dab, #7b2d8e, #e84393);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step__text {
  font-size: 0.9375rem;
  color: #555555;
  line-height: 1.7;
}

/* ----------------------------
   CTA Section
   ---------------------------- */
.cta {
  background: linear-gradient(135deg, #1a0dab 0%, #7b2d8e 50%, #e84393 100%);
  color: #ffffff;
  text-align: center;
  padding: 100px 24px;
}

.cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 1.125rem;
  margin-bottom: 36px;
  opacity: 0.92;
}

/* ----------------------------
   Footer
   ---------------------------- */
.footer {
  background: #1a1a2e;
  color: #ffffff;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  opacity: 0.8;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: #ffffff;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------
   Back to Top
   ---------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1a0dab, #7b2d8e, #e84393);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(123, 45, 142, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(123, 45, 142, 0.5);
}

/* ============================================
   Responsive — 768px 以下
   ============================================ */
@media (max-width: 768px) {

  /* Header */
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  /* Hero */
  .hero {
    padding: 80px 20px 72px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__sub {
    font-size: 1rem;
  }

  /* Section */
  .section {
    padding: 72px 0;
  }

  .section__title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Grid */
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Steps */
  .step {
    padding: 20px 20px;
    gap: 16px;
  }

  .step__number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* CTA */
  .cta {
    padding: 72px 20px;
  }

  .cta__title {
    font-size: 1.6rem;
  }

  /* Footer */
  .footer__nav {
    gap: 16px;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
