/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #f5f2ef;
  --color-bg-alt: #ebe8e4;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #b05a3a;
  --color-accent-hover: #964d32;
  --color-white: #fafaf9;
  --color-border: #d8d4cf;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --max-width: 860px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 242, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

/* ===== Hero ===== */
.hero {
  padding: clamp(80px, 15vw, 140px) 0 clamp(60px, 10vw, 100px);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

/* ===== Sections ===== */
.section {
  padding: clamp(60px, 10vw, 100px) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section h2 {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== About ===== */
.about-content p {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 40px;
  line-height: 2;
}

.info-table {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--color-border);
}

.info-table th,
.info-table td {
  padding: 14px 0;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 120px;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Members ===== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 620px;
  margin: 0 auto;
}

.member-card {
  text-align: center;
  padding: 32px 24px;
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  overflow: hidden;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card h3 {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.member-role {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 14px;
}

.member-bio {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.member-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
}

.social-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.social-btn svg {
  width: 14px;
  height: 14px;
}

/* ===== Contact ===== */
#contact {
  text-align: center;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.contact-email {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .about-content p br {
    display: none;
  }

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

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