:root {
  color-scheme: light;
  --spark-gold: #f2c35d;
  --navigator-blue: #8fb9d6;
  --deep-brown: #5a3d2b;
  --navy-text: #2c3e50;
  --bg-cream: #faf6f0;
  --bg-white: #ffffff;
  --ink: #1f2f3d;
  --muted: #667582;
  --line: #e4d7c4;
  --soft-blue: #eef6fa;
  --shadow: 0 24px 70px rgba(44, 62, 80, 0.11);
  --soft-shadow: 0 14px 40px rgba(44, 62, 80, 0.08);
  --radius: 8px;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 195, 93, 0.16), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg-cream) 520px, #fffaf2 100%);
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px clamp(22px, 5vw, 76px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(234, 223, 206, 0.72);
  backdrop-filter: blur(18px);
}

.site-header {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-button {
  padding: 11px 18px;
  color: var(--ink) !important;
  background: var(--spark-gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(242, 195, 93, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-text);
}

.hero,
.page-hero,
.section,
.site-footer {
  padding-right: clamp(20px, 5vw, 68px);
  padding-left: clamp(20px, 5vw, 68px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  min-height: calc(100vh - 76px);
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 40px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 195, 93, 0.62), transparent);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8c6632;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(143, 185, 214, 0.55);
  outline-offset: 2px;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f6cf75, var(--spark-gold));
  box-shadow: 0 14px 32px rgba(242, 195, 93, 0.28);
}

.button.primary:hover {
  box-shadow: 0 18px 40px rgba(242, 195, 93, 0.42);
}

.button.secondary {
  color: var(--ink);
  background: var(--bg-white);
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.button.secondary:hover {
  border-color: var(--spark-gold);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  isolation: isolate;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 8% -8% 4% 0;
  z-index: 0;
  border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%;
  pointer-events: none;
}

.hero-art::before {
  background:
    radial-gradient(ellipse at 28% 44%, rgba(242, 195, 93, 0.42), transparent 34%),
    radial-gradient(ellipse at 72% 36%, rgba(242, 195, 93, 0.24), transparent 38%),
    radial-gradient(ellipse at 72% 72%, rgba(143, 185, 214, 0.12), transparent 36%);
  filter: blur(30px);
  opacity: 0.86;
  transform: rotate(-7deg) skewX(-4deg);
}

.hero-art::after {
  inset: 5% -24% 8% -6%;
  background:
    linear-gradient(108deg, transparent 0 18%, rgba(242, 195, 93, 0.78) 18.4%, rgba(255, 246, 220, 0.9) 18.8%, rgba(242, 195, 93, 0.28) 19.4%, transparent 21%),
    linear-gradient(110deg, transparent 0 31%, rgba(242, 195, 93, 0.52) 31.2%, rgba(255, 250, 234, 0.8) 31.6%, rgba(242, 195, 93, 0.2) 32.1%, transparent 34%),
    linear-gradient(106deg, transparent 0 47%, rgba(242, 195, 93, 0.42) 47.2%, rgba(255, 249, 230, 0.74) 47.6%, rgba(242, 195, 93, 0.18) 48.2%, transparent 50%),
    linear-gradient(112deg, transparent 0 62%, rgba(242, 195, 93, 0.28) 62.2%, rgba(255, 248, 226, 0.62) 62.7%, transparent 65%);
  filter: drop-shadow(0 10px 18px rgba(242, 195, 93, 0.26));
  opacity: 0.78;
  transform: rotate(-8deg);
  mask-image: radial-gradient(ellipse at 52% 50%, #000 0 62%, transparent 78%);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(640px, 88vw);
  opacity: 0.34;
  mix-blend-mode: multiply;
  transform: scale(1.1) translateX(2%);
  filter: saturate(1.08) blur(0.04px) drop-shadow(0 28px 54px rgba(242, 195, 93, 0.18));
}

.spark-ring {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: transparent;
  pointer-events: none;
}

.ring-one {
  right: -18%;
  top: 18%;
  width: min(760px, 96vw);
  height: 250px;
  border-top: 2px solid rgba(242, 195, 93, 0.74);
  box-shadow:
    0 -16px 0 -14px rgba(255, 248, 226, 0.92),
    0 18px 0 -16px rgba(242, 195, 93, 0.36),
    0 30px 36px rgba(242, 195, 93, 0.18);
  opacity: 0.9;
  transform: rotate(-13deg);
}

.ring-two {
  right: -8%;
  bottom: 16%;
  width: min(620px, 88vw);
  height: 210px;
  border-top: 1px solid rgba(242, 195, 93, 0.52);
  box-shadow:
    0 -12px 0 -11px rgba(255, 251, 236, 0.82),
    0 20px 28px rgba(242, 195, 93, 0.14);
  opacity: 0.76;
  transform: rotate(8deg);
}

.page-hero {
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(48px, 7vw, 90px);
  background: linear-gradient(135deg, rgba(242, 195, 93, 0.2), rgba(143, 185, 214, 0.24));
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 74px);
}

.section {
  padding-top: clamp(68px, 9vw, 118px);
  padding-bottom: clamp(68px, 9vw, 118px);
}

.section > .section-head,
.section > .card-grid,
.section > .split,
.section > .pain-list,
.section > .table-wrap,
.section > .table-note,
.section > .message {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.section.compact {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.statement {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px) clamp(26px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy-text), #22303a);
  border: 1px solid rgba(242, 195, 93, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(31, 47, 61, 0.18);
  overflow: hidden;
}

.statement::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(242, 195, 93, 0.3), transparent 68%);
}

.statement p {
  position: relative;
  margin: 0;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.85;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.one {
  grid-template-columns: 1fr;
}

.card-grid.one .card,
.card-grid.two .card {
  min-height: 0;
}

.table-wrap.pillar-table {
  margin-top: 34px;
}

.card,
.course,
.info-table,
.form,
.timeline article {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--spark-gold), rgba(143, 185, 214, 0.62));
}

.card.large {
  min-height: 260px;
}

.number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--deep-brown);
  background: rgba(242, 195, 93, 0.18);
  border: 1px solid rgba(242, 195, 93, 0.4);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.card p,
.feature-list p,
.course p,
.course dd,
.info-table dd,
.timeline p,
.rich-text p,
.contact-info p,
.note {
  color: var(--muted);
}

.band {
  background:
    linear-gradient(135deg, rgba(143, 185, 214, 0.24), rgba(242, 195, 93, 0.12)),
    var(--soft-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(228, 215, 196, 0.9);
  border-left: 4px solid var(--spark-gold);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.feature-list article p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.feature-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pain-list li {
  position: relative;
  min-height: 88px;
  padding: 22px 24px 22px 54px;
  color: var(--ink);
  background: var(--bg-white);
  border: 1px solid rgba(228, 215, 196, 0.95);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.pain-list li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--spark-gold);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(242, 195, 93, 0.2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(228, 215, 196, 0.95);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.comparison-table,
.lineup-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td,
.lineup-table th,
.lineup-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th,
.lineup-table thead th {
  color: #ffffff;
  background: var(--navy-text);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td,
.lineup-table tbody tr:last-child th,
.lineup-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th,
.lineup-table tbody th {
  color: var(--ink);
  font-weight: 800;
}

.comparison-table td,
.lineup-table td {
  color: var(--muted);
}

.highlight-row th,
.highlight-row td {
  background: linear-gradient(90deg, rgba(242, 195, 93, 0.22), rgba(242, 195, 93, 0.08));
}

.highlight-row td {
  color: var(--ink);
}

.table-note {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--navy-text);
  font-weight: 700;
}

.table-note code {
  padding: 2px 6px;
  color: var(--deep-brown);
  background: rgba(242, 195, 93, 0.18);
  border-radius: 6px;
  font-family: inherit;
  font-weight: 800;
}

.message {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1100px;
  padding: clamp(26px, 5vw, 48px);
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.signature {
  color: var(--deep-brown);
  font-weight: 800;
}

.cta {
  color: var(--bg-white);
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 93, 0.28), transparent 30%),
    linear-gradient(135deg, var(--navy-text), #17212a);
  text-align: center;
}

.cta h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  color: var(--bg-white);
}

.cta p:not(.eyebrow) {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
}

.cta .button {
  margin-top: 10px;
}

.course-list {
  display: grid;
  gap: 16px;
}

.course {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.course dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.course dt {
  color: var(--deep-brown);
  font-weight: 800;
}

.course dd {
  margin: 0;
}

.text-link {
  color: var(--deep-brown);
  font-weight: 800;
  white-space: nowrap;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--spark-gold);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.steps p {
  margin: 0;
  font-weight: 800;
}

.narrow {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.info-table {
  margin: 0;
}

.info-table div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.info-table div:last-child {
  border-bottom: 0;
}

.info-table dt {
  color: var(--ink);
  font-weight: 800;
}

.info-table dd {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.form b {
  color: #9a5b00;
  font-size: 12px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(143, 185, 214, 0.35);
  border-color: var(--navigator-blue);
}

.check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
}

.check input {
  width: auto;
  margin-top: 8px;
}

.hidden {
  display: none;
}

.timeline {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.timeline article {
  padding: 26px;
}

.timeline time {
  color: var(--deep-brown);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.rich-text {
  max-width: 850px;
}

.rich-text h2 {
  margin-top: 32px;
  font-size: 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1fr);
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 28px;
  background: var(--bg-white);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 160px;
  margin-bottom: 16px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: start;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  text-align: right;
}

.center-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  padding: 28px;
  text-align: center;
}

.center-page img {
  width: 180px;
  margin-bottom: 24px;
}

/* services: 柱1の要約ブロック */
.pillar-summary {
  max-width: 820px;
}

.pillar-summary p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2;
}

/* services: 支援実績（抜粋） */
.works-list {
  max-width: 820px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.works-list li {
  position: relative;
  padding: 14px 6px 14px 26px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.works-list li:last-child {
  border-bottom: 0;
}

.works-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6px;
  width: 7px;
  height: 7px;
  background: var(--spark-gold);
  border-radius: 999px;
}

/* about: MVV 大型セクション */
.mvv-band {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 12%, rgba(242, 195, 93, 0.22), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(143, 185, 214, 0.16), transparent 36%),
    linear-gradient(135deg, var(--navy-text), #17212a);
  overflow: hidden;
}

.mvv-head {
  max-width: 1180px;
  margin: 0 auto 44px;
  text-align: center;
}

.mvv-band .eyebrow {
  color: var(--spark-gold);
}

.mvv-band h2 {
  margin-bottom: 0;
  color: #ffffff;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 32%, #f6d68b 46%, #fff3d0 50%, #f2c35d 54%, #ffffff 68%, #ffffff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: mvv-shimmer 7s linear infinite;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.mvv-card {
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(242, 195, 93, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(10, 18, 26, 0.35);
  backdrop-filter: blur(6px);
}

.mvv-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.mvv-label {
  margin-bottom: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(100deg, #f2c35d 0%, #f2c35d 34%, #fff3d0 48%, #ffe6a8 52%, #f2c35d 66%, #f2c35d 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--spark-gold);
  animation: mvv-shimmer 6s linear infinite;
}

@keyframes mvv-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

/* 四芒星スパークル */
.mvv-sparkle {
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, rgba(255, 243, 208, 0.95) 0 12%, transparent 40%);
  pointer-events: none;
  opacity: 0.2;
  animation: mvv-twinkle 5s ease-in-out infinite;
}

.mvv-sparkle::before,
.mvv-sparkle::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, transparent, #f6d68b 38%, #fff8e6 50%, #f6d68b 62%, transparent);
  border-radius: 999px;
}

.mvv-sparkle::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.mvv-sparkle::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f6d68b 38%, #fff8e6 50%, #f6d68b 62%, transparent);
  transform: translateY(-50%);
}

.mvv-sparkle.s1 { top: 14%; left: 8%; animation-delay: 0s; }
.mvv-sparkle.s2 { top: 24%; right: 10%; width: 16px; height: 16px; animation-delay: 1.2s; }
.mvv-sparkle.s3 { bottom: 18%; left: 16%; width: 14px; height: 14px; animation-delay: 2.4s; }
.mvv-sparkle.s4 { top: 52%; right: 4%; animation-delay: 3.1s; }
.mvv-sparkle.s5 { bottom: 10%; right: 24%; width: 18px; height: 18px; animation-delay: 4s; }

@keyframes mvv-twinkle {
  0%, 100% {
    opacity: 0.12;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

/* スクロール出現アニメーション（main.jsが .reveal を自動付与） */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover,
  .card:hover {
    transform: none;
  }

  .mvv-band h2,
  .mvv-label,
  .mvv-sparkle {
    animation: none;
  }

  .mvv-sparkle {
    opacity: 0.4;
  }
}

@media (max-width: 1080px) {
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .hero,
  .split,
  .message,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 340px;
  }

  .card-grid.three,
  .card-grid.two,
  .mvv-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-nav,
  .copyright {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    width: 136px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .card-grid.four,
  .course dl {
    grid-template-columns: 1fr;
  }

  .info-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  .form {
    padding: 20px;
  }
}
