:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --soft: #efeaf8;
  --accent: #8b78a6;
  --text: #42375a;
  --muted: rgba(36, 50, 68, 0.72);
  --line: rgba(36, 50, 68, 0.08);
  --shadow: 0 18px 50px rgba(25, 38, 52, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 24px; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, var(--soft), rgba(255,255,255,0.92)); }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.8), #ffffff); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.76);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand {
  font-size: 1.05rem;
  font-weight: 800;
}
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}
.nav a:hover,
.inline-links a:hover,
.service-link:hover,
.footer-inner a:hover {
  color: var(--accent);
}
.hero-section {
  padding-top: 56px;
  overflow: hidden;
}
.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}
.section-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.84);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.03em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.16;
}
h3 { margin-bottom: 10px; font-size: 1.12rem; }
p, .lead { color: var(--muted); }
.hero-copy,
.card,
.floating-note,
.timeline-card,
.stat-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 36px; }
.hero-grid,
.split-layout,
.contact-layout {
  display: grid;
  gap: 26px;
  align-items: center;
}
.layout-split,
.layout-diagonal,
.layout-columns {
  grid-template-columns: 1fr 1fr;
}
.layout-mosaic {
  grid-template-columns: 0.92fr 1.08fr;
}
.layout-band .band-shell {
  display: grid;
  gap: 24px;
}
.hero-split-media {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 16px;
  align-items: stretch;
}
.hero-split-media .main-image {
  min-height: 500px;
  height: 100%;
  object-fit: cover;
}
.side-stack {
  display: grid;
  gap: 16px;
}
.side-stack img {
  height: 250px;
  object-fit: cover;
}
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-mosaic img:first-child {
  grid-row: span 2;
  min-height: 460px;
  height: 100%;
  object-fit: cover;
}
.hero-mosaic img:nth-child(2),
.hero-mosaic img:nth-child(3) {
  height: 220px;
  object-fit: cover;
}
.floating-note {
  padding: 22px;
}
.floating-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
  color: var(--text);
}
.hero-diagonal {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
  align-items: end;
}
.hero-diagonal img:first-child {
  height: 430px;
  object-fit: cover;
}
.hero-diagonal img:last-child {
  height: 320px;
  margin-top: 54px;
  object-fit: cover;
}
.hero-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-columns img {
  height: 430px;
  object-fit: cover;
}
.hero-columns img:nth-child(2) {
  margin-top: 28px;
}
.hero-band-media {
  position: relative;
  min-height: 520px;
}
.band-main {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}
.band-small {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border: 8px solid #fff;
}
.band-card {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 32px;
  max-width: 560px;
  padding: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn.primary {
  color: #fff;
  background: var(--accent);
}
.btn.secondary {
  background: rgba(255,255,255,0.96);
  border-color: rgba(0,0,0,0.08);
}
.btn:hover { transform: translateY(-2px); }
.hero-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.point-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
}
.point-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}
.service-grid,
.cards.three,
.cards.four,
.stats-grid,
.timeline-grid,
.mini-card-grid,
.info-grid,
.form-grid {
  display: grid;
  gap: 18px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-layout { grid-template-columns: 1fr 1fr; }
.contact-layout { grid-template-columns: 0.92fr 1.08fr; align-items: start; }
.card { padding: 24px; height: 100%; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.icon-badge {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(109, 143, 170, 0.08);
  color: var(--accent);
}
.icon-badge svg {
  width: 22px;
  height: 22px;
}
.service-index,
.step-no {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.service-link {
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}
.media-frame {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.media-frame img {
  min-height: 420px;
  object-fit: cover;
}
.info-grid {
  margin-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  color: var(--accent);
}
.stat-card {
  padding: 20px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
}
.timeline-card {
  padding: 22px;
}
.timeline-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
}
.quote {
  min-height: 110px;
  font-size: 1rem;
}
.role {
  color: var(--accent);
  font-weight: 700;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: rgba(255,255,255,0.94);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}
.faq-question span { font-weight: 700; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 22px 22px; }
.faq-item.active .faq-answer { max-height: 240px; }
.contact-meta {
  display: grid;
  gap: 16px;
}
.form-shell { padding: 28px; }
.form-grid {
  grid-template-columns: 1fr 1fr;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.field.full { grid-column: 1 / -1; }
input,
textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
}
textarea {
  min-height: 154px;
  resize: vertical;
}
.form-note {
  margin-top: 12px;
  font-size: 0.92rem;
}
.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.82);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .layout-split,
  .layout-diagonal,
  .layout-columns,
  .layout-mosaic,
  .split-layout,
  .contact-layout,
  .service-grid,
  .cards.three,
  .cards.four,
  .stats-grid,
  .timeline-grid,
  .mini-card-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid,
  .layout-band .band-shell,
  .contact-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }
  .band-card {
    position: static;
    max-width: none;
  }
  .hero-band-media {
    min-height: auto;
  }
}
@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(var(--max), calc(100% - 28px));
  }
  .section {
    padding: 72px 0;
  }
  .header-inner {
    align-items: flex-start;
    min-height: 72px;
    padding: 12px 0;
  }
  .nav {
    gap: 12px;
    font-size: 0.92rem;
  }
  .hero-copy,
  .card,
  .floating-note,
  .timeline-card,
  .form-shell,
  .band-card {
    padding: 22px;
  }
  .service-grid,
  .cards.three,
  .cards.four,
  .stats-grid,
  .timeline-grid,
  .mini-card-grid,
  .info-grid,
  .form-grid,
  .hero-points,
  .hero-split-media,
  .hero-columns,
  .hero-mosaic,
  .hero-diagonal {
    grid-template-columns: 1fr;
  }
  .hero-columns img:nth-child(2),
  .hero-diagonal img:last-child {
    margin-top: 0;
  }
  .hero-diagonal img:first-child,
  .hero-diagonal img:last-child,
  .hero-columns img,
  .hero-mosaic img:first-child,
  .hero-mosaic img:nth-child(2),
  .hero-mosaic img:nth-child(3),
  .hero-split-media .main-image,
  .side-stack img,
  .band-main,
  .media-frame img {
    min-height: auto;
    height: auto;
  }
  .band-small {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
    margin-top: 14px;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.showcase-card {
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.showcase-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 0;
}
.showcase-copy {
  padding: 22px;
}
@media (max-width: 760px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card img {
    height: auto;
  }
}
