﻿*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: #333;
  background: #f8f0f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c44a8c;
  text-decoration: none;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: linear-gradient(135deg, #f0d6e8, #e8c4d8);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(180, 80, 140, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #a83a72;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: #7a3360;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(168, 58, 114, 0.12);
  color: #a83a72;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #7a3360;
  cursor: pointer;
  padding: 4px 8px;
}

.hero {
  background: linear-gradient(135deg, #f0d6e8 0%, #f8e8f4 50%, #fff0f8 100%);
  padding: 60px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 36px;
  color: #a83a72;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
  line-height: 1.8;
}

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

.hero-visual {
  flex: 0 0 360px;
}

.hero-visual img {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(180, 80, 140, 0.15);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #d46aa0, #c44a8c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(196, 74, 140, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196, 74, 140, 0.4);
}

.btn-outline {
  border: 2px solid #c44a8c;
  color: #c44a8c;
  background: transparent;
}

.btn-outline:hover {
  background: #c44a8c;
  color: #fff;
}

.quick-nav {
  padding: 30px 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(180, 80, 140, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(180, 80, 140, 0.15);
}

.quick-icon {
  font-size: 28px;
}

.quick-label {
  font-size: 13px;
  font-weight: 600;
  color: #7a3360;
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: #f5eaf2;
}

.section-title {
  font-size: 26px;
  color: #a83a72;
  text-align: center;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  color: #666;
  font-size: 15px;
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(180, 80, 140, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(180, 80, 140, 0.14);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  font-size: 16px;
  color: #a83a72;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.path-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(180, 80, 140, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(180, 80, 140, 0.14);
}

.path-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.path-card h3 {
  font-size: 15px;
  color: #a83a72;
  margin-bottom: 8px;
}

.path-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.article-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(180, 80, 140, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(180, 80, 140, 0.14);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-body {
  padding: 14px;
}

.article-body h3 {
  font-size: 14px;
  color: #a83a72;
  margin-bottom: 6px;
}

.article-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.community-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.community-text {
  flex: 1;
}

.community-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

.community-visual {
  flex: 0 0 400px;
}

.community-visual img {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(180, 80, 140, 0.12);
}

.footer {
  background: linear-gradient(135deg, #e8c4d8, #f0d6e8);
  padding: 30px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 13px;
  color: #7a3360;
}

.footer-nav a:hover {
  color: #a83a72;
}

.footer-copy {
  font-size: 13px;
  color: #7a3360;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 360px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-inner {
    flex-direction: column;
    text-align: center;
  }

  .community-visual {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f0d6e8;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 22px;
  }
}