/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* ヘッダー */
header {
  background: #f8f9fa;
  color: #333;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.logo {
  display: flex;
  align-items: center;
}
.logo h1 {
  font-size: 1.8rem;
  font-weight: bold;
}
.logo-image {
  height: 50px;
  width: auto;
  margin-right: 10px;
  background-color: #f8f9fa;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger span:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger span:nth-child(2) {
  margin-bottom: 6px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* メインコンテンツ */
main {
  margin-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ヒーローセクション */
.hero {
  height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  background: #667eea;
  color: #f8f9fa;
  gap: 2rem;
  padding: 0 2rem;
}

.hero-content:last-child {
  text-align: center;
}

.hero-content:first-child {
  align-self: end;
}

.hero-demo {
  width: 100%;
  height: auto;
  align-self: end;
  max-width: 740px;
}

.hero-title {
  font-size: 3.5rem;
  opacity: 0;
  transform: translateY(50px);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
}
.hero-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.cta-button {
  background: #f8f9fa;
  color: #f5576c;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
}

.cta-button:hover {
  transform: scale(1.05);
}

.bot-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Aboutセクション */
.about {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.card p {
  color: #666;
  line-height: 1.8;
}

/* Contactセクション */
.contact {
  padding: 5rem 0;
  background: #667eea;
  color: #f8f9fa;
  text-align: center;
}

.contact .section-title {
  color: #f8f9fa;
}

.animated-box {
  width: 100px;
  height: 100px;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  margin: 3rem auto;
  border-radius: 20px;
  transform: rotate(45deg);
}

.usage-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.step-number {
  background: white;
  color: #667eea;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 2rem;
  flex-shrink: 0;
}

.step-content {
  text-align: left;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.command-examples {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.command-examples code {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Featuresセクション */
.features {
  padding: 5rem 0;
  background: #f8f9fa;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.contact-link {
  background: #667eea;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 変更履歴セクション */
.changelog {
  padding: 5rem 0;
  background: white;
}

.changelog-date {
  font-size: 0.8rem;
  color: #999;
  margin-left: 1rem;
}

.changelog-entries {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-entry {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.version {
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  margin-right: 2rem;
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
}

.changelog-content {
  text-align: left;
}

.changelog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.changelog-content p {
  color: #666;
  line-height: 1.6;
}

/* フッター */
footer {
  background: #333;
  color: #f8f9fa;
  text-align: center;
  padding: 2rem 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    text-align: center;
    margin: 1rem 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-demo {
    height: auto;
  }

  .bot-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .step-content {
    text-align: center;
  }

  .command-examples {
    justify-content: center;
  }

  .contact-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    text-align: center;
    margin: 1rem 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-demo {
    max-width: 100%;
    height: auto;
  }

  .bot-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }
}

/* QAセクション */
.qa-section {
  padding: 5rem 0;
  /* background: white; */
}

.qa-items {
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.qa-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.qa-header {
  display: flex;
  align-items: center;
}

.qa-number {
  background-color: #667eea;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.qa-header h3 {
  font-size: 1.4rem;
  color: #333;
  margin: 0;
}

.qa-content {
  color: #666;
  line-height: 1.8;
  padding-left: 60px;
}

.qa-content ul {
  list-style: none;
  padding: 0;
}

.qa-content li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.qa-content li:before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

.qa-content code {
  background: rgba(102, 126, 234, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: #667eea;
}

.qa-content p {
  margin-bottom: 1rem;
}

.qa-content strong {
  color: #333;
  font-weight: 600;
}

.command-example {
  background: #2d2d2d;
  color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-family: "Courier New", monospace;
}

.command-example code {
  background: none;
  color: #98c379;
  padding: 0;
  font-size: 1rem;
}

/* サポートセクション */
.support-section {
  padding: 5rem 0;
  background: #f8f9fa;
  text-align: center;
}

.support-section .section-title {
  margin-bottom: 2rem;
}

.support-section .contact-info {
  max-width: 800px;
  margin: 0 auto;
}

.support-section .contact-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.support-section .contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.support-section .contact-link {
  background-color: #667eea;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.support-section .contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ========================================
   QAページ レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
  .qa-hero .hero-title {
    font-size: 2rem;
  }

  .qa-hero .hero-description {
    font-size: 1rem;
  }

  .qa-section {
    padding: 3rem 0;
  }

  .qa-item {
    padding: 1.5rem;
  }

  .qa-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .qa-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-right: 1rem;
  }

  .qa-header h3 {
    font-size: 1.2rem;
  }

  .qa-content {
    padding-left: 0;
    margin-top: 1rem;
  }

  .support-section .contact-links {
    flex-direction: column;
    gap: 1rem;
  }

  .support-section .contact-link {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .qa-hero {
    height: 35vh;
    min-height: 250px;
  }

  .qa-hero .hero-title {
    font-size: 1.8rem;
  }

  .qa-hero .hero-description {
    font-size: 0.9rem;
  }

  .qa-section {
    padding: 2rem 0;
  }

  .qa-item {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .qa-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .qa-header h3 {
    font-size: 1.1rem;
  }

  .qa-content {
    font-size: 0.95rem;
  }

  .command-example {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
}
