* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(1, 156, 207, 0.18), transparent 55%),
              radial-gradient(circle at 80% 0%, rgba(234, 119, 0, 0.14), transparent 48%),
              var(--bg-page);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-home), #42c6eb);
  color: #fff;
  box-shadow: 0 12px 24px rgba(1, 156, 207, 0.28);
}

.btn--primary:hover,
.btn--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(1, 156, 207, 0.34);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.75);
  color: var(--c-home);
  border: 2px solid rgba(1, 156, 207, 0.35);
}

.btn--outline:hover,
.btn--outline:focus {
  transform: translateY(-2px);
  border-color: var(--c-home);
}

.page {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.section { margin-bottom: 2.8rem; }
.section-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 .6rem; font-weight: 800; }
.section-lead { margin: 0 0 1.2rem; color: var(--muted); }

.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.flex-gap { display: grid; gap: 1rem; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.usage-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
  width: 100%;
}

.usage-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.12);
  background: #fff;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-width: 150px;
}

.usage-tab:hover,
.usage-tab:focus-visible {
  border-color: var(--c-home);
}

.usage-tab.is-active {
  background: linear-gradient(135deg, var(--c-home), #42c6eb);
  color: #fff;
  border-color: transparent;
}

.usage-tab-panels { margin-top: 0.2rem; }
.usage-tab-panel { display: none; }
.usage-tab-panel.is-active { display: block; }
.usage-tab-heading { margin: 0 0 .6rem; font-size: 1.1rem; }

.feature h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }

.kbd { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem; border-radius: .75rem; background: #fff; border: 1px solid #E5E7EB; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08); font-weight: 700; }
.copy-btn { margin-left: .5rem; font-size: .9rem; color: var(--c-home); text-decoration: underline; cursor: pointer; background: none; border: none; font-weight: 700; }
.copy-btn:hover { opacity: 0.8; }

.commands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.tutorial-group { margin-top: 1.4rem; }
.tutorial-group h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}

.carousel-track {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.carousel-track figure {
  margin: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 0 0.25rem;
}

.carousel-track figure.active {
  display: flex;
}

.carousel-track img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(17,24,39,0.06);
  background: #fff;
}

.carousel-track figcaption {
  display: none;
}

.carousel-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(17,24,39,0.12);
  background: #fff;
  color: var(--c-home);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.carousel-btn:hover { background: rgba(66, 198, 235, 0.12); }

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(17,24,39,0.2);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active { background: var(--c-home); }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.link-list a { color: var(--c-home); font-weight: 700; }

.commands .card { padding: 1.05rem 1.1rem; }

.footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 2rem 0 0; }

