
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.5)
    ),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ナビゲーション */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  padding: 10px 50px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

/* セクション共通 */
.section {
  padding: 100px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: #333;
}

/* サービスセクション */
.services {
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

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

/* プロフィールセクション */
.profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.profile-image {
  width: 100%;
  max-width: 400px;
  height: 500px;
  background: url("images/profile.png");
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.profile-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.profile-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

/* 実績・リンクセクション */
.links {
  background: #f8f9fa;
}

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

.link-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
}

.link-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.link-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* フッター */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 50px;
}

.footer p {
  margin-bottom: 10px;
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .nav {
    padding: 10px 20px;
  }

  .nav.scrolled {
    padding: 8px 20px;
  }

  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 60px 20px;
  }

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

  .profile {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .profile-image {
    max-width: 300px;
    height: 350px;
    margin: 0 auto;
  }

  .services-grid,
  .links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card,
  .link-card {
    padding: 30px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .link-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .nav-container {
    align-items: center;
  }

  .nav-links {
    font-size: 0.9rem;
    gap: 15px;
  }

  .section {
    padding: 50px 15px;
  }

  .service-card,
  .link-card {
    padding: 25px 15px;
  }

  .profile-content p {
    font-size: 1rem;
  }
}
