@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
}

body {
  font-family: "DotGothic16", "PixelMplus12", "Press Start 2P", "Courier New";
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

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

#logo {
  width: auto;
  height: 60px;
  transform: translateY(5px);
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #036;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #036;
}

.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background-color: #1f2937;
  margin: 5px;
  transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #036, #8b5cf6);
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.name {
  color: #fbbf24;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: white;
  color: #036;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease;
  transition: box-shadow 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* セクション共通 */
section {
  padding: 5rem 0;
}

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

/* プロフィールセクション */
.about {
  background-color: #f9fafb;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #036;
}
.about-text p {
  margin-bottom: 1rem;
  color: #6b7280;
  line-height: 1.8;
}

/* スキルセクション */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: right 0.5s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 3rem 0;
    gap: 0;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .nav-links li:first-child {
    border-top: 1px solid #e5e7eb;
  }
  .nav-links a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }
  .nav-links a:hover {
    background-color: #f9fafb;
    color: #036;
    padding-left: 2.5rem;
  }
  .burger {
    display: block;
    z-index: 1001;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .subtitle {
    font-size: 1.2rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .nav-links {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 2rem 0;
  }
  .nav-links a {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.skill-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-10px);
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.skill-card h3 {
  margin-bottom: 1rem;
  color: #036;
}
.skill-card ul {
  list-style: none;
  color: #6b7280;
}
.skill-card li {
  margin-bottom: 0.5rem;
}

/* プロジェクトセクション */
.projects {
  background-color: #f9fafb;
}

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

.project-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-10px);
}

.project-image img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}
.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}
.project-info p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #f9fafb;
  color: #036;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-link {
  color: #036;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.project-link:hover {
  color: #8b5cf6;
}

/* お問い合わせセクション */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #036;
}
.contact-info p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #1f2937;
}
.contact-item .icon {
  font-size: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #036;
}
.form-group textarea {
  resize: vertical;
}

.submit-button {
  padding: 1rem 2rem;
  background-color: #036;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-button:hover {
  background-color: #8b5cf6;
}

/* フッター */
footer {
  background-color: #1f2937;
  color: white;
  padding: 2rem 0;
  text-align: center;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.social-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #fbbf24;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: right 0.5s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }
  .nav-links.active {
    right: 0;
  }
  .burger {
    display: block;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .subtitle {
    font-size: 1.2rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=style.css.map */