/* みらいDX.Lab LP — design tokens from DESIGN.md */
:root {
  --c-primary: #E02E00;
  --c-primary-dark: #C92800;
  --c-green: #3A7D2C;
  --c-leaf: #82C94E;
  --c-orange: #FAA634;
  --c-blue: #5BA4C1;
  --c-lime: #9EF01A;
  --c-white: #FFFFFF;
  --c-sage: #DCECE0;
  --c-cream: #FCF9F2;
  --c-sky: #EEF7F9;
  --c-muted: #EFECE4;
  --c-tag: #D4E8CE;
  --c-ink: #1A1A1A;
  --c-olive: #3A6024;
  --c-mint: #B8DFCA;
  --g-sunset: linear-gradient(135deg, #FBF2C8 0%, #F9C593 60%, #F7AF7A 100%);
  --g-hero: linear-gradient(180deg, #DDEFF5 0%, #EAF5F3 55%, #F4F8EE 100%);

  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: Jost, "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-hero: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --font-display: Syne, "Archivo Black", "Arial Black", sans-serif;

  --line: 1px solid var(--c-ink);
  --shadow-mint: 0 8px 0 var(--c-mint);
  --gutter: clamp(20px, 3vw, 40px);
  --container: 1520px;
  --header-h: 84px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--c-cream); font-family: var(--font-ja); color: var(--c-ink); }
a { color: var(--c-ink); }
a:hover { color: var(--c-primary); }
img { max-width: 100%; }
button { font-family: inherit; }

.page { width: 100%; background: var(--c-cream); overflow-x: clip; }

/* ---------- shared ---------- */
.dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); display: inline-block; }
.num-badge {
  position: absolute; border-radius: 50%; background: var(--c-orange); border: var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
}
.btn-primary {
  position: relative; display: inline-block; padding: 18px 64px;
  background: var(--c-primary); color: var(--c-white); border-radius: 8px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none;
  transition: transform .2s, background-color .2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--c-primary-dark); color: var(--c-white); }
.btn-primary__arrow { position: absolute; right: 12px; bottom: 8px; font-family: var(--font-en); font-size: 14px; line-height: 1; }

/* ---------- header ---------- */
.hero { position: relative; background: var(--g-hero); overflow: hidden; padding-top: var(--header-h); }
.header {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(221, 239, 245, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 26, 26, .1);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { color: var(--c-ink); }
.logo__img { width: 44px; height: 44px; object-fit: contain; display: block; flex: none; }
.logo__name { display: block; font-weight: 900; font-size: 20px; letter-spacing: .04em; line-height: 1; }
.logo__sub { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .12em; color: var(--c-olive); font-weight: 600; margin-top: 4px; }
.header__right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.gnav {
  display: flex; white-space: nowrap; gap: clamp(14px, 2vw, 28px);
  background: var(--c-white); border-radius: 9999px; padding: 14px clamp(18px, 2.4vw, 32px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04); border: 1px solid rgba(26, 26, 26, .1);
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
}
.gnav a { text-decoration: none; }
.gnav__contact { display: none; }
.btn-header {
  background: var(--c-primary); color: var(--c-white); border-radius: 8px; padding: 14px 24px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  transition: transform .2s, background-color .2s;
}
.btn-header:hover { transform: translateY(-2px); color: var(--c-white); background: var(--c-primary-dark); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 8px; background: var(--c-ink); border: none;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--c-white); border-radius: 1px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 56px; padding: 48px var(--gutter) 0; align-items: center; position: relative; z-index: 1;
}
.hero__tagline {
  display: inline-flex; align-items: center; gap: 10px; background: var(--c-tag); color: var(--c-olive);
  border-radius: 9999px; padding: 6px 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chip {
  background: var(--c-cream); border: var(--line); border-radius: 9999px; padding: 8px 16px;
  box-shadow: 0 4px 0 var(--c-mint); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.hero__title {
  margin: 28px 0 0; font-family: var(--font-hero); font-weight: 400; font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.25; letter-spacing: .02em; text-wrap: pretty;
}
.marker { background: linear-gradient(180deg, transparent 62%, var(--c-orange) 62%, var(--c-orange) 92%, transparent 92%); padding: 0 4px; }
.hero__title [data-ch] { display: inline-block; }
.hero__lead { margin: 28px 0 0; font-size: 16px; line-height: 2.1; letter-spacing: .04em; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.hero__visual { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.office {
  position: relative; aspect-ratio: 2576 / 1440; border-radius: 16px; border: var(--line);
  box-shadow: var(--shadow-mint); background: #F6F3EE; overflow: hidden;
}
.office__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.office__flow { position: absolute; inset: 0; pointer-events: none; }
.cp {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; background: var(--c-cream); border: var(--line); border-radius: 9999px;
  box-shadow: 0 4px 0 var(--c-ink); cursor: pointer; font-size: 13px; font-weight: 700; color: var(--c-ink);
  white-space: nowrap;
}
.cp:hover { background: var(--c-white); margin-top: -2px; }
.cp__dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.office__hint { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.office__hint-dot {
  width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--c-primary); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.toast {
  position: absolute; transform: translate(-50%, calc(-100% - 26px)); pointer-events: none; opacity: 0;
  animation: dxToast 12s ease-out infinite;
}
.toast__body {
  display: flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--c-white); border: var(--line);
  border-radius: 8px; padding: 5px 10px; box-shadow: 0 3px 0 var(--c-mint); font-size: 12px; font-weight: 700;
}
.toast__check {
  width: 14px; height: 14px; border-radius: 50%; background: var(--c-leaf); border: var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px;
}

.town { position: relative; height: 250px; margin-top: 24px; pointer-events: none; }
.keywords {
  position: relative; z-index: 1; border-top: var(--line); border-bottom: var(--line); background: var(--c-cream);
  padding: 16px 40px; display: flex; flex-wrap: wrap; gap: 12px 48px; justify-content: center;
  font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--c-olive); text-transform: uppercase;
}

/* ---------- sections with wave band ---------- */
.section { padding: 96px 40px; border-top: var(--line); }
.section--services { background: var(--c-sky); }
.section--demo { background: var(--c-sage); }
.section--pricing { background: var(--g-sunset); }
.section__inner { max-width: var(--container); margin: 0 auto; }
.band { position: relative; margin: -96px calc(50% - 50vw) 0; padding: 120px 40px 128px; color: var(--c-white); overflow: hidden; }
.band__wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.band__wave--flip { transform: scaleX(-1); }
.band__inner { position: relative; max-width: var(--container); margin: 0 auto; }
.band__en {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(84px, 11vw, 168px); line-height: 1;
  letter-spacing: .02em; color: rgba(255, 255, 255, .2); white-space: nowrap;
}
.band__title {
  position: relative; margin: -.95em 0 0 .1em; font-size: clamp(32px, 3.4vw, 48px); font-weight: 800;
  letter-spacing: .08em; color: var(--c-white); text-shadow: 3px 3px 0 rgba(26, 26, 26, .35);
}
.band__sub { position: relative; margin: 28px 0 0 .25em; font-size: 16px; line-height: 2; letter-spacing: .04em; color: var(--c-white); font-weight: 500; }
.cards3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px; margin-top: 64px; align-items: stretch;
}

/* ---------- services ---------- */
.service {
  background: var(--c-cream); border: var(--line); border-radius: 180px 180px 16px 16px;
  padding: 40px 32px 32px; display: flex; flex-direction: column; position: relative;
}
.service__num { top: 24px; left: 24px; width: 44px; height: 44px; }
.service__fig {
  width: 220px; height: 220px; flex: none; margin: 0 auto; border-radius: 50%;
  background: var(--c-sage); border: var(--line); position: relative; overflow: hidden;
}
.service__fig > * { position: absolute; }
.service__title { margin: 28px 0 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.service__text { margin: 12px 0 0; font-size: 15px; line-height: 2; letter-spacing: .03em; font-weight: 500; }
.dot-list { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 2; display: grid; gap: 4px; font-weight: 500; }
.dot-list li { display: flex; gap: 10px; align-items: baseline; }
.dot-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); flex: none; }

/* figure 01 */
.f1-sheet { left: 26px; top: 62px; width: 72px; height: 88px; background: var(--c-cream); border: var(--line); border-radius: 6px; box-shadow: 0 4px 0 var(--c-mint); overflow: hidden; }
.f1-sheet__head { height: 14px; background: var(--c-leaf); border-bottom: var(--line); }
.f1-sheet__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 6px; padding: 9px 8px; }
.f1-sheet__cells span { height: 5px; border-radius: 3px; background: var(--c-ink); opacity: .7; }
.f1-sheet__cells span:nth-child(even) { opacity: .3; }
.f1-arrow {
  left: 95px; top: 89px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); border: var(--line);
  color: var(--c-white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 15px; z-index: 1;
}
.f1-bubble {
  left: 128px; top: 72px; width: 66px; height: 56px; background: var(--c-white); border: var(--line);
  border-radius: 12px 12px 12px 2px; box-shadow: 0 4px 0 var(--c-mint); box-sizing: border-box;
  display: flex; flex-direction: column; gap: 7px; justify-content: center; padding: 0 10px;
}
.f1-bubble span { height: 5px; width: 40px; border-radius: 3px; background: var(--c-ink); }
.f1-bubble span + span { width: 26px; opacity: .4; }
.f1-dot { left: 182px; top: 62px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-orange); border: var(--line); }
.f1-bar {
  left: 46px; top: 166px; width: 128px; height: 14px; border-radius: 9999px; border: var(--line);
  background: repeating-linear-gradient(90deg, var(--c-leaf) 0 10px, var(--c-cream) 10px 14px);
}
/* figure 02 */
.win-bar { height: 16px; border-bottom: var(--line); display: flex; gap: 4px; align-items: center; padding-left: 8px; }
.win-bar--white { background: var(--c-white); }
.win-bar--cream { background: var(--c-cream); }
.win-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.win-bar span:nth-child(2) { background: var(--c-orange); }
.win-bar span:nth-child(3) { background: var(--c-leaf); }
.f2-win { left: 34px; top: 46px; width: 148px; height: 120px; background: var(--c-cream); border: var(--line); border-radius: 10px; box-shadow: 0 5px 0 var(--c-mint); overflow: hidden; }
.f2-q { display: flex; justify-content: flex-end; padding: 10px 10px 0; }
.f2-a { display: flex; padding: 8px 10px 0; }
.f2-q__b, .f2-a__b { border: var(--line); padding: 7px 9px; display: grid; gap: 5px; }
.f2-q__b { background: var(--c-tag); border-radius: 8px 8px 2px 8px; }
.f2-a__b { background: var(--c-white); border-radius: 8px 8px 8px 2px; }
.f2-q__b span, .f2-a__b span { height: 5px; border-radius: 3px; }
.f2-q__b span { background: var(--c-olive); }
.f2-q__b span + span { opacity: .5; }
.f2-a__b span { background: var(--c-ink); }
.f2-a__b span + span { opacity: .4; }
.f2-ai {
  left: 150px; top: 140px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-orange); border: var(--line);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 0 var(--c-ink);
}
.f2-diamond { left: 30px; top: 34px; width: 14px; height: 14px; background: var(--c-primary); border: var(--line); transform: rotate(45deg); }
/* figure 03 */
.f3-win { left: 30px; top: 48px; width: 160px; height: 104px; background: var(--c-white); border: var(--line); border-radius: 8px; box-shadow: 0 5px 0 var(--c-mint); overflow: hidden; }
.f3-code { display: grid; gap: 8px; padding: 13px 12px; }
.f3-code > div { display: flex; gap: 5px; }
.f3-code > div.in { padding-left: 12px; }
.f3-code span { height: 5px; border-radius: 3px; }
.f3-tags { left: 0; right: 0; top: 166px; display: flex; justify-content: center; gap: 6px; }
.f3-tags span { border: var(--line); border-radius: 9999px; padding: 3px 10px; font-family: var(--font-en); font-size: 11px; font-weight: 700; }

/* ---------- demo ---------- */
.demo {
  margin-top: 56px; background: var(--c-cream); border: var(--line); border-radius: 16px; box-shadow: var(--shadow-mint);
  padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px; align-items: center; position: relative;
}
.demo__num { top: -16px; left: -16px; width: 56px; height: 56px; font-size: 15px; }
.video-ph {
  position: relative; border-radius: 12px; border: var(--line);
  background: var(--c-muted) repeating-linear-gradient(135deg, transparent 0 12px, rgba(26, 26, 26, .06) 12px 13px);
  display: flex; align-items: center; justify-content: center;
}
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; border: var(--line); background: var(--c-ink); overflow: hidden; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--c-ink) center / cover no-repeat; display: flex; align-items: center; justify-content: center;
}
.yt__poster:hover .play { transform: translateY(-2px); }
.yt__label {
  position: absolute; left: 16px; bottom: 16px; background: var(--c-cream); border: var(--line); border-radius: 9999px;
  padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--c-ink);
}
.video-ph__label {
  position: absolute; left: 16px; bottom: 16px; font: 11px ui-monospace, Menlo, monospace; color: var(--c-olive);
  background: var(--c-cream); border: var(--line); border-radius: 6px; padding: 6px 10px;
}
.play {
  width: 88px; height: 88px; border-radius: 50%; background: var(--c-primary); border: var(--line);
  display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 0 var(--c-ink);
  transition: transform .2s;
}
.play__tri { width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--c-white); margin-left: 6px; }
.demo__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.ba { margin-top: 28px; display: grid; gap: 16px; }
.ba__card { background: var(--c-white); border: var(--line); border-radius: 12px; padding: 20px 22px; }
.ba__card--after { box-shadow: 0 6px 0 var(--c-leaf); }
.ba__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ba__pill {
  background: var(--c-muted); border: var(--line); border-radius: 9999px; padding: 4px 14px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.ba__pill--after { background: var(--c-leaf); }
.ba__time { font-size: 13px; font-weight: 700; }
.ba__time--after { color: var(--c-primary); }
.ba__text { margin: 12px 0 0; font-size: 15px; line-height: 2; letter-spacing: .03em; font-weight: 500; }
.ba__arrow-wrap { display: flex; justify-content: center; }
.ba__arrow {
  width: 36px; height: 36px; border-radius: 50%; background: var(--c-ink); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 16px;
}

/* ---------- pricing ---------- */
.plan {
  background: var(--c-cream); border: var(--line); border-radius: 16px; box-shadow: var(--shadow-mint);
  padding: 40px 32px 32px; display: flex; flex-direction: column; position: relative;
}
.plan--featured { background: var(--c-white); border: 2px solid var(--c-ink); box-shadow: 0 8px 0 var(--c-primary); transform: translateY(-16px); }
.plan__num { top: -16px; left: -16px; width: 52px; height: 52px; }
.plan__reco {
  position: absolute; top: -22px; right: 24px; width: 76px; height: 76px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-white); border: var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; letter-spacing: .04em;
  transform: rotate(-10deg);
}
.plan__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.plan__price { margin-top: 20px; padding: 20px 0; border-top: var(--line); border-bottom: var(--line); display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-family: var(--font-en); font-size: 48px; font-weight: 700; line-height: 1; }
.plan__amount--red { color: var(--c-primary); }
.plan__unit { font-size: 18px; font-weight: 700; }
.plan__per { font-size: 14px; color: var(--c-olive); font-weight: 700; }
.plan__text { margin: 20px 0 0; font-size: 15px; line-height: 2; letter-spacing: .03em; font-weight: 500; }
.plan__link {
  margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--c-ink); padding-bottom: 8px;
}
.plan__link .en, .big-link__en { font-family: var(--font-en); }

/* ---------- news ---------- */
.section--news { background: var(--c-white); }
.news { max-width: var(--container); margin: 56px auto 0; display: flex; flex-direction: column; gap: 40px; }
.news__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.news__item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; background: var(--c-cream);
  border: 1px solid rgba(26, 26, 26, .08); border-radius: 12px; padding: 22px 28px;
}
.news__date { font-family: var(--font-en); font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.news__cat { background: var(--c-tag); color: var(--c-olive); border-radius: 9999px; padding: 6px 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.news__title { font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.news__more {
  align-self: flex-end; display: flex; align-items: center; gap: 20px; padding: 0 40px 4px 0; border-bottom: 1.5px solid var(--c-ink);
  font-size: 16px; font-weight: 700; letter-spacing: .06em; text-decoration: none; position: relative;
}
.news__more-corner {
  position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; border-top-left-radius: 26px; background: var(--c-primary);
  color: var(--c-white); display: flex; align-items: flex-end; justify-content: flex-end; font-size: 12px; padding: 0 4px 3px 0;
  box-sizing: border-box; font-family: var(--font-en);
}

/* ---------- contact ---------- */
.section--contact { background: var(--c-cream); padding: 112px 40px; }
.contact {
  max-width: var(--container); margin: 0 auto; background: var(--c-primary); border: var(--line); border-radius: 16px;
  box-shadow: 0 8px 0 var(--c-ink); padding: clamp(40px, 5vw, 72px) clamp(24px, 5.5vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; align-items: center;
  color: var(--c-white);
}
.contact__eyebrow { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.contact__title { margin: 12px 0 0; font-size: 40px; line-height: 1.4; font-weight: 800; letter-spacing: .06em; text-wrap: pretty; }
.contact__text { margin: 28px 0 0; font-size: 16px; line-height: 2.1; letter-spacing: .04em; font-weight: 500; }
.contact__actions { display: grid; gap: 16px; }
.contact__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact__link { display: block; background: var(--c-cream); color: var(--c-ink); border: var(--line); border-radius: 8px; padding: 16px 18px; text-decoration: none; min-width: 0; }
.contact__label { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--c-olive); }
.contact__value { margin-top: 6px; font-family: var(--font-en); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.contact__value--tel { font-size: 16px; }
.contact__value--ja { font-family: var(--font-ja); font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.contact__value-en { margin-left: 8px; font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--c-olive); }

/* contact form */
.cform {
  max-width: var(--container); margin: 48px auto 0; background: var(--c-white); border: var(--line); border-radius: 16px;
  box-shadow: var(--shadow-mint); padding: clamp(32px, 4.5vw, 64px) clamp(24px, 5.5vw, 80px);
}
.cform__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.cform__title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: .06em; }
.cform__note { margin: 0; font-size: 14px; line-height: 1.9; letter-spacing: .03em; font-weight: 500; }
.cform__form { margin-top: 40px; display: grid; gap: 28px; }
.cform__form[hidden], .cform__done[hidden], .cform__error[hidden] { display: none; }
.cform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 32px; }
.field { display: grid; gap: 8px; }
.field__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.req, .opt { border-radius: 4px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.req { background: var(--c-primary); color: var(--c-white); }
.opt { background: var(--c-muted); color: var(--c-ink); }
.field input, .field textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; background: var(--c-white); border: var(--line); border-radius: 8px;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--c-ink); outline: none;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px var(--c-mint); }
.topics { margin: 0; padding: 0; border: none; display: grid; gap: 12px; }
.topics legend { padding: 0; margin-bottom: 12px; }
.topics__list { display: flex; flex-wrap: wrap; gap: 10px; }
.topic {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--c-white); border: var(--line);
  border-radius: 9999px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.topic input { width: 16px; height: 16px; margin: 0; accent-color: var(--c-primary); }
.cform__error { background: #FFF1EC; border: 1px solid var(--c-primary); border-radius: 8px; padding: 12px 16px; font-size: 14px; font-weight: 700; color: #B32400; }
.cform__submit-wrap { display: flex; justify-content: center; }
.cform__submit {
  position: relative; padding: 20px 88px; background: var(--c-primary); color: var(--c-white); border: var(--line); border-radius: 8px;
  box-shadow: 0 6px 0 var(--c-ink); font-size: 17px; font-weight: 800; letter-spacing: .06em; cursor: pointer;
}
.cform__submit:hover { background: var(--c-primary-dark); }
.cform__submit:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--c-ink); }
.cform__submit:disabled { cursor: wait; opacity: .85; }
.cform__submit-arrow { position: absolute; right: 14px; bottom: 10px; font-family: var(--font-en); font-size: 15px; }
.cform__done { margin-top: 40px; background: var(--c-cream); border: var(--line); border-radius: 12px; padding: 48px 32px; text-align: center; }
.cform__done-icon {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--c-leaf); border: var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700;
}
.cform__done-title { margin-top: 20px; font-size: 22px; font-weight: 800; letter-spacing: .06em; }
.cform__done-text { margin: 12px 0 0; font-size: 15px; line-height: 2; font-weight: 500; }
.cform__reset {
  margin-top: 24px; padding: 12px 28px; background: var(--c-white); border: var(--line); border-radius: 8px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.cform__reset:hover { color: var(--c-primary); }

/* ---------- footer ---------- */
.footer { background: var(--c-sky); border-top: var(--line); padding: 80px 40px 32px; position: relative; overflow: hidden; }
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px; align-items: start; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo-img { width: 48px; height: 48px; object-fit: contain; display: block; flex: none; }
.footer__logo-name { font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.footer__info { margin: 28px 0 0; display: grid; grid-template-columns: 72px 1fr; row-gap: 6px; font-size: 13px; line-height: 1.8; letter-spacing: .03em; }
.footer__info dt { color: var(--c-olive); font-weight: 700; }
.footer__info dd { margin: 0; font-weight: 500; }
.footer__nav { display: grid; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.footer__nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__nav .dot { width: 7px; height: 7px; border-radius: 9999px; background: var(--c-primary); }
.big-link { display: flex; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--c-ink); text-decoration: none; position: relative; }
.big-link__en { font-size: 36px; font-weight: 800; letter-spacing: .02em; }
.big-link__ja { font-size: 13px; font-weight: 700; }
.big-link__corner {
  position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; border-top-left-radius: 24px;
  background: var(--c-primary); color: var(--c-white); display: flex; align-items: flex-end; justify-content: flex-end;
  font-size: 11px; padding: 0 3px 2px 0; font-family: var(--font-en); box-sizing: border-box;
}
.footer__mega span { display: inline-block; }
.footer__mega {
  margin-top: 72px; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 8.1vw, 118px);
  line-height: 1; letter-spacing: .01em; white-space: nowrap;
}
.footer__bottom {
  margin-top: 24px; padding: 20px 80px 0 0; border-top: var(--line); display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-size: 12px; letter-spacing: .03em;
}
.footer__copy { font-family: var(--font-en); }
.footer__bottom a { text-decoration: underline; }
.to-top {
  position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 9999px;
  background: var(--c-lime); border: var(--line); display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-family: var(--font-en); font-size: 18px; font-weight: 700; transition: transform .2s;
}
.to-top:hover { transform: translateY(-2px); }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000; background: rgba(26, 26, 26, .55);
  display: flex; align-items: flex-start; justify-content: center; padding: 32px; overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal__dialog {
  position: relative; margin: auto; width: 860px; max-width: 100%; background: var(--c-cream); border: var(--line);
  border-radius: 16px; box-shadow: var(--shadow-mint); padding: 32px;
}
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 8px;
  background: var(--c-ink); color: var(--c-white); border: none; cursor: pointer; font-size: 18px;
}
.modal__meta { display: flex; align-items: center; gap: 12px; }
.modal__area { background: var(--c-tag); color: var(--c-olive); border-radius: 9999px; padding: 4px 14px; font-size: 12px; font-weight: 700; }
.modal__kicker { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--c-olive); }
.modal__title { margin: 12px 0 0; font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.modal__tabs { margin-top: 20px; display: inline-flex; border: var(--line); border-radius: 9999px; overflow: hidden; background: var(--c-white); }
.modal__tabs button {
  padding: 8px 22px; border: none; cursor: pointer; font-family: var(--font-en); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; background: var(--c-white); color: var(--c-ink);
}
.modal__tabs button + button { border-left: var(--line); }
.modal__tabs button[data-tab="before"][aria-selected="true"] { background: var(--c-muted); }
.modal__tabs button[data-tab="after"][aria-selected="true"] { background: var(--c-leaf); }
.modal__video { margin-top: 16px; aspect-ratio: 16 / 9; max-height: 50vh; }
.modal__video .play { width: 80px; height: 80px; }
.modal__video .play__tri { border-top-width: 13px; border-bottom-width: 13px; border-left-width: 20px; }
.modal__video .video-ph__label { left: 14px; bottom: 14px; padding: 5px 10px; }
.modal__desc { margin-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.modal__desc p { margin: 0; font-size: 15px; line-height: 2; letter-spacing: .03em; font-weight: 500; }
.modal__time { flex: none; font-size: 14px; font-weight: 800; }
.modal__time.is-after { color: var(--c-primary); }
.modal__cta {
  margin-top: 20px; display: inline-block; padding: 14px 32px; background: var(--c-primary); color: var(--c-white);
  border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none;
}
.modal__cta:hover { background: var(--c-primary-dark); color: var(--c-white); }

/* ---------- keyframes (hero motion) ---------- */
@keyframes dxDrift { from { translate: -12% 0; } to { translate: 108% 0; } }
@keyframes dxMoveR { from { translate: -6% 0; } to { translate: 104% 0; } }
@keyframes dxMoveL { from { translate: 104% 0; } to { translate: -6% 0; } }
@keyframes dxBob { from { translate: 0 0; } to { translate: 0 -2px; } }
@keyframes dxLeg { from { rotate: -22deg; } to { rotate: 22deg; } }
@keyframes dxCarBob { from { translate: 0 0; } to { translate: 0 -1px; } }
@keyframes dxDash { to { stroke-dashoffset: -28; } }
@keyframes dxToast {
  0% { opacity: 0; translate: 0 6px; }
  3% { opacity: 1; translate: 0 0; }
  21% { opacity: 1; translate: 0 0; }
  25% { opacity: 0; translate: 0 -6px; }
  100% { opacity: 0; }
}

/* ---------- responsive (DESIGN.md §6) ---------- */
@media (max-width: 1023px) {
  .hero__visual { min-height: 0; }
}
@media (max-width: 639px) {
  .header { padding: 12px 16px; flex-wrap: nowrap; }
  .logo__img { width: 40px; height: 40px; }
  .btn-header { display: none; }
  .menu-btn { display: flex; }
  .gnav {
    display: none; position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; flex-direction: column; gap: 0;
    border-radius: 16px; padding: 8px 20px; border: var(--line); box-shadow: var(--shadow-mint); white-space: normal;
  }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 14px 0; border-bottom: 1px solid rgba(26, 26, 26, .1); }
  .gnav__contact { display: block; color: var(--c-primary); border-bottom: none !important; }
  .hero__grid { padding: 24px 16px 0; gap: 40px; }
  .hero__title { font-size: clamp(36px, 11vw, 44px); }
  .btn-primary { padding: 18px 48px; width: 100%; box-sizing: border-box; text-align: center; }
  .cp { font-size: 11px; padding: 3px 10px 3px 3px; gap: 5px; box-shadow: 0 3px 0 var(--c-ink); }
  .cp__dot { width: 20px; height: 20px; font-size: 11px; }
  .toast { display: none; }
  .town { height: 200px; }
  .keywords { padding: 14px 16px; gap: 8px 16px; font-size: 12px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .band { margin: -96px calc(50% - 50vw) 0; padding: 96px 16px 104px; }
  .band__en { font-size: 64px; }
  .band__title { font-size: 28px; }
  .service { padding: 32px 20px 24px; }
  .plan--featured { transform: none; }
  .demo { padding: 24px 16px; }
  .section--contact { padding: 80px 16px; }
  .contact__title { font-size: 28px; }
  .contact__sub { grid-template-columns: 1fr; }
  .cform { padding: 28px 18px; }
  .cform__title { font-size: 22px; }
  .cform__submit { width: 100%; padding: 20px 40px; }
  .news__item { padding: 18px 20px; }
  .footer__mega { font-size: 7.9vw; }
  .footer { padding: 64px 16px 32px; }
  .modal { padding: 16px; }
  .modal__dialog { padding: 24px 20px; }
  .modal__title { font-size: 20px; padding-right: 48px; }
  .modal__desc { flex-direction: column; gap: 8px; }
  .modal__cta { display: block; text-align: center; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-right: 64px; }
}
