
/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #faf9f6;
  color: #292d2e;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
header {
  border-bottom: 1px solid #e9e6df;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-logo span {
  color: #d68a55;
}

nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: #666;
}

nav a:hover {
  color: #d68a55;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 30px 120px;
}

.hero-label,
.section-label {
  color: #c47e4d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero-description {
  color: #737373;
  font-size: 15px;
  line-height: 2;
}

.hero-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid #c47e4d;
  font-size: 13px;
  font-weight: 600;
}

.hero-link span {
  margin-left: 10px;
  color: #c47e4d;
}

/* Projects */
.projects-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 30px 110px;
  border-top: 1px solid #e9e6df;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
  gap: 20px;
}

.section-heading h2,
.about-section h2 {
  margin: 5px 0 0;
  font-size: 29px;
}

.section-description {
  color: #888;
  font-size: 13px;
}

/* App Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  display: flex;
  gap: 24px;
  padding: 30px;
  background: #fff;
  border: 1px solid #eeece7;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(40, 40, 40, 0.05);
}

.app-card img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

.app-card .content {
  min-width: 0;
  flex: 1;
}

.app-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
}

.app-card p {
  margin: 0 0 22px;
  color: #777;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-line;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.app-links a {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #e5e1d9;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}

.app-links a:hover {
  background: #292d2e;
  color: #fff;
  border-color: #292d2e;
}

/* About */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 75px 30px;
  border-top: 1px solid #e9e6df;
}

.about-section h2 {
  margin-bottom: 25px;
}

.about-section p:not(.section-label) {
  max-width: 650px;
  color: #777;
  font-size: 14px;
  line-height: 2.1;
}

/* Contact */
.contact-button-container {
  padding: 70px 20px;
  text-align: center;
  background: #f1efe9;
}

.contact-button-container p {
  margin-bottom: 22px;
  color: #777;
  font-size: 13px;
}

.contact-button {
  display: inline-block;
  padding: 12px 32px;
  background: #292d2e;
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  transition: background 0.2s;
}

.contact-button:hover {
  background: #c47e4d;
}

/* Footer */
footer {
  padding: 30px 20px;
  text-align: center;
  color: #999;
  font-size: 11px;
}

footer p {
  margin: 3px;
}

/* Responsive */
@media (max-width: 760px) {
  .header-inner {
    padding: 20px;
  }

  nav {
    gap: 15px;
    font-size: 11px;
  }

  .hero {
    padding: 75px 24px 85px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 13px;
  }

  .projects-section {
    padding: 65px 20px 80px;
  }

  .section-heading {
    display: block;
  }

  .section-description {
    margin-top: 15px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .app-card {
    padding: 22px;
    gap: 17px;
  }

  .app-card img {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .app-card h2 {
    font-size: 15px;
  }

  .app-card p {
    font-size: 12px;
  }

  .about-section {
    padding: 65px 24px;
  }
}

@media (max-width: 380px) {
  .site-logo {
    font-size: 16px;
  }

  nav {
    gap: 10px;
  }

  .app-card {
    gap: 12px;
    padding: 17px;
  }

  .app-card img {
    width: 58px;
    height: 58px;
  }
}
