﻿:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --surface-soft: #ebebeb;
  --black: #0d0d0d;
  --charcoal: #262626;
  --text-gray: rgba(13, 13, 13, 0.66);
  --line: rgba(13, 13, 13, 0.1);
  --line-soft: rgba(242, 242, 242, 0.14);
  --shadow-soft: 0 16px 40px rgba(13, 13, 13, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.profile-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(242, 242, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.profile-header__inner,
.profile-hero__inner,
.profile-section,
.profile-footer__inner {
  width: min(1180px, calc(100vw - 64px));
  margin: 0 auto;
}

.profile-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.profile-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.profile-logo__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.profile-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--black);
  color: var(--bg);
  font-weight: 700;
}

.menu-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  appearance: none;
  box-shadow: none;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.08);
}

.profile-menu {
  position: absolute;
  right: max(32px, calc((100vw - min(1180px, calc(100vw - 64px))) / 2));
  top: calc(100% + 12px);
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 18px;
  background: rgba(232, 232, 232, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(13, 13, 13, 0.08);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.profile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-menu a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.profile-menu a:hover {
  background: rgba(13, 13, 13, 0.05);
}

.profile-hero {
  padding: 110px 0 74px;
}

.profile-eyebrow,
.section-label {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.56);
}

.profile-hero h1,
.section-head h2 {
  margin: 16px 0 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.profile-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text-gray);
  font-size: 19px;
}

.profile-section {
  padding: 0 0 84px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head--light .section-label,
.section-head--light h2 {
  color: var(--bg);
}

.info-card,
.summary-card,
.vision-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.info-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.info-grid div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.info-grid dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(13, 13, 13, 0.52);
}

.info-grid dd {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.summary-grid,
.feature-grid,
.flow-grid {
  display: grid;
  gap: 20px;
}

.summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-card h3,
.feature-card h3,
.flow-card h3,
.service-block h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.summary-card p,
.feature-card p,
.flow-card p,
.vision-card p {
  margin: 16px 0 0;
  color: var(--text-gray);
  font-size: 17px;
}

.profile-section--dark {
  width: min(1180px, calc(100vw - 64px));
  margin: 0 auto 84px;
  padding: 60px 40px;
  border-radius: 0;
  background: var(--charcoal);
  color: var(--bg);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
}

.feature-card p { color: rgba(242,242,242,0.72); }

.service-stack {
  display: grid;
  gap: 18px;
}

.service-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
}

.service-block__meta {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(13,13,13,0.52);
}

.service-block ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-gray);
}

.service-block li::before {
  content: '—';
  margin-right: 10px;
  color: rgba(13,13,13,0.46);
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
}

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--black);
  color: var(--bg);
  font-weight: 800;
  margin-bottom: 18px;
}

.vision-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--black);
  color: var(--bg);
  font-weight: 700;
}

.profile-footer {
  padding: 34px 0 42px;
  background: var(--charcoal);
  color: var(--bg);
}

.profile-footer__brand {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.profile-footer__copy {
  margin: 10px 0 0;
  color: rgba(242,242,242,0.64);
}

@media (max-width: 980px) {
  .summary-grid,
  .feature-grid,
  .flow-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .profile-header__inner,
  .profile-hero__inner,
  .profile-section,
  .profile-footer__inner,
  .profile-section--dark {
    width: min(1180px, calc(100vw - 28px));
  }

  .profile-header__inner {
    min-height: 72px;
  }

  .profile-logo {
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .profile-logo__mark {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .profile-contact {
    min-width: 128px;
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .menu-toggle {
    width: 30px;
    height: 30px;
    border-radius: 0;
  }

  .profile-hero {
    padding: 84px 0 56px;
  }

  .profile-lead {
    font-size: 16px;
  }

  .profile-section,
  .profile-section--dark {
    padding-bottom: 56px;
  }

  .profile-section--dark {
    margin-bottom: 56px;
    padding: 42px 18px;
  }

  .info-card,
  .summary-card,
  .service-block,
  .flow-card,
  .vision-card {
    padding: 22px;
    border-radius: 20px;
  }
}

.info-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.info-note p {
  margin: 0;
  color: var(--text-gray);
  font-size: 17px;
}

.info-note p + p {
  margin-top: 14px;
}

.summary-grid--single,
.feature-grid--stack,
.flow-grid--stack {
  grid-template-columns: 1fr;
}



