/* assets/css/style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #eaeaea;

  --dark: #0f1115;

  --radius: 24px;

}

html {
  scroll-behavior: smooth;
}

body {

  font-family:
    "Inter",
    "Noto Sans JP",
    sans-serif;

  background: var(--bg);
  color: var(--text);

  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Background */

.bg-gradient {

  position: fixed;
  top: -200px;
  right: -200px;

  width: 600px;
  height: 600px;

  background:
    radial-gradient(
      circle,
      rgba(90,120,255,0.08),
      transparent 70%
    );

  z-index: -1;
}

/* Container */

.container {

  width: 100%;
  max-width: 1120px;

  margin: auto;
  padding: 0 24px;
}

.narrow {
  max-width: 860px;
}

/* Header */

.header {

  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  background: rgba(255,255,255,0.88);

  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(0,0,0,0.04);

  z-index: 1000;
}

.nav {

  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

.logo {

  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navigation */

.nav-links {

  display: flex;
  align-items: center;
  gap: 32px;

  list-style: none;
}

.nav-links a {

  font-size: 14px;
  color: var(--muted);

  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

/* Mobile Toggle */

.menu-toggle {

  display: none;

  border: none;
  background: none;

  font-size: 28px;
  cursor: pointer;

  color: var(--text);
}

/* Hero */

.hero {

  position: relative;

  padding-top: 200px;
  padding-bottom: 140px;
}

.hero-inner {
  max-width: 860px;
}

.hero-label {

  font-size: 13px;
  letter-spacing: 2px;

  color: var(--muted);

  margin-bottom: 24px;
}

.hero h1 {

  font-size: 76px;
  line-height: 1.1;

  letter-spacing: -0.04em;

  margin-bottom: 32px;
}

.hero-description {

  font-size: 20px;
  color: var(--muted);

  max-width: 720px;

  margin-bottom: 42px;
}

.hero-buttons {

  display: flex;
  gap: 16px;
}

/* Buttons */

.btn {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border-radius: 16px;

  font-size: 15px;
  font-weight: 500;

  transition: 0.3s ease;
}

.btn-primary {

  background: var(--text);
  color: white;
}

.btn-primary:hover {

  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-secondary {

  border: 1px solid var(--line);
}

.btn-secondary:hover {

  background: #f6f6f6;
}

/* Sections */

.section {
  padding: 120px 0;
}

.section-label {

  font-size: 13px;
  letter-spacing: 2px;

  color: var(--muted);

  margin-bottom: 18px;
}

.section h2 {

  font-size: 52px;
  line-height: 1.2;

  letter-spacing: -0.03em;

  margin-bottom: 48px;
}

/* Cards */

.grid-3 {

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.card {

  background: rgba(255,255,255,0.7);

  border: 1px solid rgba(0,0,0,0.06);

  backdrop-filter: blur(10px);

  border-radius: var(--radius);

  padding: 32px;

  transition: 0.35s ease;
}

.card:hover {

  transform: translateY(-6px);

  border-color: rgba(0,0,0,0.12);
}

.card-icon {

  width: 44px;
  height: 44px;

  border-radius: 12px;

  background: #f5f7ff;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  font-size: 18px;
}

.card h3 {

  font-size: 22px;
  margin-bottom: 16px;
}

.card p {
  color: var(--muted);
}

/* Dark Section */

.dark-section {

  background: var(--dark);
  color: white;
}

.dark-section .section-label {
  color: #9ca3af;
}

.project-list {

  display: flex;
  flex-direction: column;

  gap: 28px;
}

.project-card {

  padding-bottom: 28px;

  border-bottom:
    1px solid rgba(255,255,255,0.08);

  transition: 0.3s ease;
}

.project-card:hover {

  transform: translateX(6px);
}

.project-card span {

  font-size: 13px;
  color: #9ca3af;
}

.project-card h3 {

  font-size: 30px;
  margin: 10px 0;
}

.project-card p {

  color: #d1d5db;
  max-width: 680px;
}

/* Philosophy */

.large-text {

  font-size: 30px;
  line-height: 1.9;

  color: #333;
}

/* Contact */

.contact-box {

  text-align: center;

  padding: 72px 32px;

  border-radius: 32px;

  border: 1px solid rgba(0,0,0,0.06);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.9),
      rgba(248,248,248,0.9)
    );
}

.contact-box p {

  color: var(--muted);

  margin:
    20px auto 36px;

  max-width: 620px;
}

/* Footer */

.footer {

  padding: 36px 0;

  border-top: 1px solid var(--line);
}

.footer-inner {

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  font-size: 14px;
  color: var(--muted);
}

/* Animation */

.fade-up {

  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.show {

  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {

  .hero {

    padding-top: 160px;
    padding-bottom: 100px;
  }

  .hero h1 {

    font-size: 48px;
  }

  .hero-description {

    font-size: 18px;
  }

  .section h2 {

    font-size: 38px;
  }

  .large-text {

    font-size: 22px;
  }

  .grid-3 {

    grid-template-columns: 1fr;
  }

  .hero-buttons {

    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {

    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile Menu */

  .menu-toggle {
    display: block;
  }

  .nav-links {

    position: absolute;

    top: 72px;
    left: 0;

    width: 100%;

    background: rgba(255,255,255,0.98);

    backdrop-filter: blur(12px);

    border-bottom:
      1px solid rgba(0,0,0,0.06);

    padding: 24px;

    flex-direction: column;
    align-items: flex-start;

    gap: 18px;

    display: none;
  }

  .nav-links.active {
    display: flex;
  }

}

@media (max-width: 560px) {

  .hero h1 {
    font-size: 40px;
  }

  .section {
    padding: 90px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .project-card h3 {
    font-size: 24px;
  }

  .contact-box {
    padding: 48px 24px;
  }

}

/* Profile */

.profile-wrapper {

  display: grid;
  grid-template-columns: 280px 1fr;

  gap: 64px;
  align-items: center;
}

.profile-left {

  display: flex;
  justify-content: center;
}

.profile-image {

  width: 220px;
  height: 220px;

  border-radius: 32px;

  background:
    linear-gradient(
      135deg,
      #111111,
      #2d3748
    );

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 72px;
  font-weight: 700;

  letter-spacing: -0.05em;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.15);
}

.profile-right h2 {

  font-size: 48px;
  line-height: 1.2;

  margin-bottom: 12px;
}

.profile-role {

  color: #666;
  font-size: 18px;

  margin-bottom: 28px;
}

.profile-text {

  font-size: 18px;
  line-height: 2;

  color: #333;

  margin-bottom: 20px;

  max-width: 760px;
}

.profile-tags {

  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 36px;
}

.profile-tags span {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;

  border-radius: 999px;

  background: #f5f5f5;

  font-size: 14px;
  color: #555;

  border: 1px solid #eaeaea;
}

/* Responsive */

@media (max-width: 900px) {

  .profile-wrapper {

    grid-template-columns: 1fr;
    gap: 42px;
  }

  .profile-left {

    justify-content: flex-start;
  }

  .profile-image {

    width: 160px;
    height: 160px;

    font-size: 52px;
  }

  .profile-right h2 {

    font-size: 38px;
  }

  .profile-text {

    font-size: 17px;
  }

}

/* Contact Form */

.contact-form {

  display: flex;
  flex-direction: column;

  gap: 28px;

  max-width: 720px;

  margin:
    42px auto 0;
}

.form-group {

  display: flex;
  flex-direction: column;

  gap: 10px;
}

.form-group label {

  font-size: 14px;
  font-weight: 500;

  color: #444;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form input[type="file"] {

  width: 100%;

  padding: 18px;

  border-radius: 18px;

  border:
    1px solid rgba(0,0,0,0.08);

  background: white;

  font-size: 16px;
  font-family: inherit;

  transition: 0.25s ease;
}

.contact-form input[type="file"] {

  padding: 14px;
}

.contact-form textarea {

  resize: vertical;
  min-height: 180px;
}

.contact-form input:focus,
.contact-form textarea:focus {

  outline: none;

  border-color: #111;

  box-shadow:
    0 0 0 4px rgba(0,0,0,0.05);
}

/* Checkbox */

.form-options {

  display: flex;
  flex-wrap: wrap;

  gap: 20px;
}

.checkbox-label {

  display: flex;
  align-items: center;

  gap: 10px;

  font-size: 15px;
  color: #444;
}

/* Radio */

.form-radio {

  display: flex;
  flex-direction: column;

  gap: 12px;
}

.form-radio p {

  font-size: 14px;
  font-weight: 500;

  color: #444;
}

.form-radio label {

  display: flex;
  align-items: center;

  gap: 10px;

  color: #444;
}

/* File Upload */

input[type="file"]::file-selector-button {

  border: none;

  background: #111;
  color: white;

  padding: 10px 14px;

  border-radius: 10px;

  margin-right: 16px;

  cursor: pointer;
}

/* Mobile */

@media (max-width: 900px) {

  .form-options {

    flex-direction: column;
    gap: 14px;
  }

}