/* ベースのリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FF4081;
  --secondary: #C2185B;
  --accent: #FFECB3;
  --bg: #FAFAFA;
  --text: #212121;
  --light-text: #757575;
  --border-radius: 6px;
  --shadow: 0 4px 10px rgba(194, 24, 91, 0.15);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(194, 24, 91, 0.2);
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}

.logo svg {
  height: 32px;
  width: 32px;
  margin-right: 8px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--text);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-desc {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-btn {
  background: white;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 15px 35px;
}

.hero-btn:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* 特徴セクション */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(194, 24, 91, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* 使い方セクション */
.how-it-works {
  background: #F5F5F5;
  padding: 80px 0;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 250px;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* FAQセクション */
.faq {
  padding: 80px 0;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-item.active .faq-answer {
  height: auto;
  opacity: 1;
  padding: 0 20px 20px;
}

/* CTAセクション */
.cta {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--accent);
}

/* フッター */
footer {
  background: #212121;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo svg {
  height: 40px;
  width: 40px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.footer-logo p {
  color: #9e9e9e;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #9e9e9e;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #757575;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* レスポンシブデザイン */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px 0;
    width: 100%;
  }

  nav ul li {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

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

  .section-title h2 {
    font-size: 1.8rem;
  }

  .steps {
    flex-direction: column;
  }

  .step {
    margin-bottom: 20px;
  }
}
