:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  --shadow-strong: 0 12px 30px rgba(59, 130, 246, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
iframe {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  transform: translate(-50%, 12px);
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(6px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 96px 0 72px;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.12), transparent 65%);
}

.hero-grid,
.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-grid {
  align-items: center;
  gap: 48px;
}

.align-start {
  align-items: start;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin: 0;
}

h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 16px;
}

h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.hero p,
.lead,
.card p,
.list-item p,
.footer-copy {
  color: var(--muted);
}

.lead {
  margin-bottom: 32px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.section {
  padding: 72px 0;
}

.section-tight-top {
  padding-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.surface,
.list-item,
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.card,
.surface,
.list-item {
  padding: 24px;
}

.surface {
  background: var(--surface);
}

.list,
.faq-list,
.stack-sm {
  display: grid;
  gap: 16px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  margin-right: 6px;
  margin-top: 8px;
}

.notice,
.eyebrow,
.copyright {
  font-size: 13px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-weight: 600;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

.table th {
  background: var(--surface);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.field,
.consent-field {
  display: grid;
  gap: 8px;
}

.field-label,
legend {
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 48px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.request-details {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.confirmation-box {
  gap: 12px;
}

.confirmation-list {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 16px;
}

.confirmation-list dt {
  font-weight: 600;
}

.filter-toolbar {
  display: grid;
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.grow {
  width: 100%;
}

.portfolio-card {
  display: grid;
  gap: 14px;
}

.portfolio-media {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid var(--border);
}

.portfolio-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio-media.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state {
  text-align: center;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 12px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 48px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .confirmation-list {
    grid-template-columns: 1fr;
  }
}
