:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --ink: #15120e;
  --muted: #675f55;
  --line: #ded6c8;
  --deep: #23201b;
  --accent: #b45b35;
  --soft: #ebe3d5;
  --green: #2f6b4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 18, 14, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 18, 14, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--ink);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

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

main {
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(21, 18, 14, 0.12);
  background:
    linear-gradient(90deg, rgba(21, 18, 14, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 18, 14, 0.02) 1px, transparent 1px),
    rgba(247, 244, 238, 0.9);
  background-size: 72px 72px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  display: block;
  width: 118px;
  height: 38px;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.22) brightness(0.72);
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  position: relative;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.55);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav a:hover,
.nav a.is-current {
  color: var(--ink);
}

.nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.section-jump {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 19;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.section-jump a {
  display: grid;
  place-items: center;
  width: 12px;
  height: 34px;
  border: 1px solid rgba(21, 18, 14, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 10px 28px rgba(42, 35, 25, 0.08);
  transition:
    width 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.section-jump a span {
  max-width: 0;
  overflow: hidden;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 180ms ease,
    opacity 180ms ease;
}

.section-jump a:hover,
.section-jump a.is-current {
  width: 74px;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 16px 38px rgba(21, 18, 14, 0.18);
}

.section-jump a:hover span,
.section-jump a.is-current span {
  max-width: 64px;
  opacity: 1;
}

.header-cta,
.primary-btn,
.secondary-btn,
.text-link,
.contact-actions a,
.form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

.header-cta,
.primary-btn,
.form button {
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 14px 32px rgba(21, 18, 14, 0.18);
}

.secondary-btn,
.contact-actions a {
  border: 1px solid var(--line);
  background: var(--surface);
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 72px;
  isolation: isolate;
  scroll-margin-top: 92px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px -7vw 22px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: min(16vw, 220px);
  bottom: 58px;
  z-index: -1;
  width: min(42vw, 560px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 18, 14, 0.22), transparent);
  animation: heroRule 4.8s ease-in-out infinite;
}

.hero-bg-logo {
  position: absolute;
  left: 30%;
  top: 50%;
  z-index: -1;
  width: min(46vw, 560px);
  max-width: none;
  opacity: 0.05;
  filter: grayscale(1) contrast(1.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

@keyframes heroRule {
  0%, 100% { transform: scaleX(0.72); opacity: 0.28; }
  50% { transform: scaleX(1); opacity: 0.58; }
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.keep-line {
  display: inline-block;
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(38px, 4.6vw, 62px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.single-line {
  white-space: nowrap;
  font-size: clamp(30px, 3.7vw, 48px);
}

.single-line-heading {
  white-space: nowrap;
  font-size: clamp(18px, 4.6vw, 48px);
  word-break: keep-all;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35;
}

.lead {
  max-width: 690px;
  margin-bottom: 10px;
  color: #312b24;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.9;
}

.hero-tagline {
  margin: -8px 0 18px;
  color: var(--accent);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 950;
}

.hero-subcopy {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.9;
}

.body-copy,
.card p,
.tool-card p,
.note-panel p,
.detail-lead,
.step-card p,
.faq p,
.form-help {
  color: var(--muted);
}

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

.hero .primary-btn,
.hero .secondary-btn {
  min-height: 60px;
  padding: 0 28px;
  font-size: 16px;
}

.hero-main-cta {
  min-width: min(100%, 280px);
  min-height: 64px;
  box-shadow: 0 22px 52px rgba(21, 18, 14, 0.28);
}

.hero-bullets {
  display: grid;
  gap: 9px;
  max-width: 680px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #3a332b;
  font-size: 14px;
  font-weight: 900;
}

.hero-bullets li {
  position: relative;
  padding-left: 18px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(42, 35, 25, 0.08);
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.panel-list {
  display: grid;
}

.panel-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-item:last-child {
  border-bottom: 0;
}

.panel-item span {
  color: var(--accent);
  font-weight: 950;
}

.panel-item b {
  display: block;
  margin-bottom: 0;
  font-size: 18px;
}

.panel-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-work-preview {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(21, 18, 14, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(180, 91, 53, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(239, 232, 219, 0.9)),
    var(--surface);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 38px 100px rgba(42, 35, 25, 0.18);
  overflow: hidden;
}

.hero-work-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(21, 18, 14, 0.08);
  border-radius: 20px;
  pointer-events: none;
  opacity: 0.72;
}

.hero-work-preview::after {
  display: none;
}

@keyframes heroPanelLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes previewFrame {
  0%, 100% { opacity: 0.58; }
  50% { opacity: 1; }
}

@keyframes previewSweep {
  0%, 46% { transform: translateX(-120%); opacity: 0; }
  58% { opacity: 1; }
  76%, 100% { transform: translateX(120%); opacity: 0; }
}

.preview-row {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.86);
  padding: 18px;
}

.preview-row span,
.preview-row i {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.preview-row b {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2;
}

.preview-row p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.preview-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.preview-tags i {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf2;
  padding: 8px 10px;
  color: #3a332b;
  text-align: center;
  animation: tagPulse 4.6s ease-in-out infinite;
}

.preview-tags i:nth-child(2) { animation-delay: 0.4s; }
.preview-tags i:nth-child(3) { animation-delay: 0.8s; }
.preview-tags i:nth-child(4) { animation-delay: 1.2s; }

@keyframes tagPulse {
  0%, 100% { transform: translateY(0); border-color: var(--line); }
  50% { transform: translateY(-3px); border-color: rgba(180, 91, 53, 0.34); }
}

.preview-bridge {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.preview-bridge span {
  height: 1px;
  background: var(--line);
}

.preview-row.after {
  background: var(--deep);
  color: #fffaf0;
}

.preview-row.after span {
  color: #f0c7a8;
}

.preview-row.after p {
  color: #d9d0c2;
}

.delivery-preview {
  align-content: start;
}

.delivery-head {
  position: relative;
  z-index: 1;
  border: 0;
  border-bottom: 1px solid rgba(21, 18, 14, 0.12);
  border-radius: 0;
  background: transparent;
  padding: 2px 2px 18px;
}

.delivery-head span,
.delivery-step span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.delivery-head span {
  margin-bottom: 10px;
  font-size: 13px;
}

.delivery-head b {
  display: block;
  max-width: 9.5em;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
  letter-spacing: 0;
}

.delivery-flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.delivery-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  padding: 17px 18px;
  box-shadow: 0 14px 34px rgba(42, 35, 25, 0.07);
}

.delivery-step b {
  display: block;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
}

.delivery-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.delivery-step.strong {
  border-color: rgba(21, 18, 14, 0.18);
  background: var(--ink);
  color: #fffaf0;
}

.delivery-step.strong span {
  color: #f0c7a8;
}

.delivery-step.strong p {
  color: #d9d0c2;
}

.section {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0;
  scroll-margin-top: 92px;
}

.entry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(1140px, calc(100% - 36px));
  margin: -28px auto 30px;
}

.entry-strip a {
  display: grid;
  gap: 8px;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.entry-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 91, 53, 0.4);
  box-shadow: 0 16px 44px rgba(42, 35, 25, 0.08);
}

.entry-strip span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.entry-strip b {
  align-self: end;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.simple-head {
  grid-template-columns: minmax(0, 1fr);
  max-width: 850px;
}

.section-head h2 {
  position: relative;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 680ms cubic-bezier(0.2, 0.85, 0.2, 1) 180ms;
}

.section-head.is-visible h2::after,
.section-head .is-visible h2::after {
  transform: scaleX(1);
}

.section-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 850;
  line-height: 1.9;
}

.one-line-copy {
  max-width: none;
  white-space: nowrap;
}

.cards,
.tools-grid,
.steps,
.faq-grid {
  display: grid;
  gap: 14px;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
}

.tools-grid,
.showcase-grid {
  grid-template-columns: repeat(5, 1fr);
}

.steps {
  grid-template-columns: repeat(5, 1fr);
}

.card,
.tool-card,
.step-card,
.faq details,
.note-panel,
.form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card,
.tool-card,
.step-card {
  padding: 22px;
}

.card {
  min-height: 220px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 91, 53, 0.36);
}

.problem-slider,
.after-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 14px;
  overflow-x: hidden;
  padding: 4px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  contain: paint;
}

.problem-slider.is-auto,
.after-slider.is-auto {
  scroll-snap-type: none;
  scrollbar-width: none;
}

.problem-slider.is-auto::-webkit-scrollbar,
.after-slider.is-auto::-webkit-scrollbar {
  display: none;
}

.before-after-panel {
  display: grid;
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(21, 18, 14, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(240, 234, 223, 0.82)),
    var(--surface);
  padding: clamp(20px, 3.4vw, 34px);
  box-shadow: 0 28px 80px rgba(42, 35, 25, 0.1);
}

.ba-head {
  margin-bottom: 0;
}

.ba-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding: 4px 0 14px;
  contain: none;
  mask-image: none;
}

.ba-flow-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(240, 234, 223, 0.82)),
    var(--surface);
  padding: 16px;
  box-shadow: 0 18px 52px rgba(42, 35, 25, 0.08);
}

.ba-mini {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.ba-mini span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.ba-mini h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
}

.ba-mini p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 850;
}

.ba-mini.before {
  background: rgba(255, 253, 248, 0.82);
}

.ba-mini.after {
  background: var(--deep);
  color: #fffaf0;
}

.ba-mini.after span {
  color: #f0c7a8;
}

.ba-mini.after p {
  color: #d9d0c2;
}

.ba-arrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.ba-arrow::before,
.ba-arrow::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.ba-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 3.2vw, 30px);
}

.ba-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.ba-card h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4.5vw, 52px);
}

.ba-card.before {
  background: rgba(255, 253, 248, 0.78);
}

.ba-tags,
.ba-after-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.ba-tags b,
.ba-after-list b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(180, 91, 53, 0.24);
  border-radius: 999px;
  background: #fffaf2;
  padding: 8px 14px;
  color: #3a332b;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.ba-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.ba-divider span {
  height: 1px;
  background: var(--line);
}

.ba-card.after {
  background: var(--deep);
  color: #fffaf0;
}

.ba-card.after > span {
  color: #f0c7a8;
}

.ba-card.after p {
  max-width: 900px;
  margin-bottom: 18px;
  color: #d9d0c2;
  font-weight: 850;
}

.ba-after-list b {
  border-color: rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.problem-card,
.after-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.problem-card {
  min-height: 214px;
}

.problem-card:hover,
.after-card:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 91, 53, 0.36);
  box-shadow: 0 18px 48px rgba(42, 35, 25, 0.1);
}

.problem-card span,
.after-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.problem-card p,
.after-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.trial-section {
  padding-top: 34px;
}

.after-card {
  min-height: 238px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(240, 234, 223, 0.8)),
    var(--surface);
  animation: afterLift 5.4s ease-in-out infinite;
}

.after-card:nth-child(2) { animation-delay: 0.35s; }
.after-card:nth-child(3) { animation-delay: 0.7s; }
.after-card:nth-child(4) { animation-delay: 1.05s; }
.after-card:nth-child(5) { animation-delay: 1.4s; }
.after-card:nth-child(6) { animation-delay: 1.75s; }
.after-card:nth-child(7) { animation-delay: 2.1s; }
.after-card:nth-child(8) { animation-delay: 2.45s; }

@keyframes afterLift {
  0%, 100% {
    transform: translateY(0);
    box-shadow: none;
  }
  48%, 58% {
    transform: translateY(-10px);
    box-shadow: 0 20px 54px rgba(42, 35, 25, 0.12);
  }
}

.card .num,
.step-card .num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(42, 35, 25, 0.1);
}

.tool-card p {
  flex: 1;
  font-size: 15px;
  font-weight: 800;
}

.tool-card small {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.tool-card a {
  color: var(--accent);
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 950;
}

.from-note-title {
  font-size: clamp(21px, 4vw, 44px);
  line-height: 1.15;
  white-space: nowrap;
}

.note-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -8px 0 24px;
}

.note-category-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 239, 228, 0.9)),
    var(--surface);
  padding: 18px;
  box-shadow: 0 14px 36px rgba(42, 35, 25, 0.055);
}

.note-category-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.note-category-card h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.note-category-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

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

.showcase-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 16px 42px rgba(42, 35, 25, 0.065);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.float-card {
  animation: floatIn 620ms ease both;
}

.float-card:nth-child(2) { animation-delay: 60ms; }
.float-card:nth-child(3) { animation-delay: 120ms; }
.float-card:nth-child(4) { animation-delay: 180ms; }
.float-card:nth-child(5) { animation-delay: 240ms; }

@keyframes floatIn {
  from {
    opacity: 0.78;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.one-line-title {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(42, 35, 25, 0.1);
}

.showcase-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
}

.showcase-card > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 8px;
}

.showcase-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 950;
}

.result-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #312b24;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 950;
}

.showcase-card p {
  color: var(--muted);
  line-height: 1.9;
}

.showcase-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  font-weight: 950;
}

.showcase-note {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.82);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.showcase-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  padding: 20px;
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(21, 18, 14, 0.82), rgba(21, 18, 14, 0.42)),
    var(--deep);
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 250, 240, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
}

.showcase-visual::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
}

.showcase-visual span,
.showcase-visual b {
  position: relative;
}

.showcase-visual span {
  font-size: 14px;
  font-weight: 950;
  opacity: 0.82;
}

.showcase-visual b {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.orbit-visual b {
  font-size: clamp(38px, 5.4vw, 64px);
}

.orbit-logo {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(88%, 292px);
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: contain;
  background: #050816;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.orbit-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.orbit-tags i {
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  padding: 8px 10px;
  color: #fffaf0;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.study-visual {
  background:
    linear-gradient(135deg, rgba(42, 35, 25, 0.88), rgba(21, 18, 14, 0.52)),
    #2d2418;
}

.study-logo {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(88%, 292px);
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.mock-window,
.mock-list,
.mock-columns,
.mock-calendar,
.mock-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  width: min(190px, 100%);
  margin-top: 18px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.08);
  padding: 12px;
}

.mock-window i,
.mock-list i,
.mock-columns i,
.mock-calendar i,
.mock-dashboard i,
.mock-window em {
  display: block;
  min-height: 9px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
}

.mock-window em {
  width: 62%;
  min-height: 7px;
  opacity: 0.38;
}

.mock-window i:nth-child(1) { width: 72%; }
.mock-window i:nth-child(2) { width: 48%; }
.mock-window i:nth-child(3) { width: 86%; }

.mock-list i:nth-child(1) { width: 78%; }
.mock-list i:nth-child(2) { width: 54%; }
.mock-list i:nth-child(3) { width: 88%; }
.mock-list i:nth-child(4) { width: 42%; }

.mock-columns,
.mock-dashboard {
  grid-template-columns: repeat(3, 1fr);
}

.mock-columns i,
.mock-dashboard i {
  min-height: 58px;
  border-radius: 10px;
  opacity: 0.58;
}

.mock-calendar {
  grid-template-columns: repeat(3, 1fr);
}

.mock-calendar i {
  min-height: 28px;
  border-radius: 8px;
  opacity: 0.54;
}

.legal-visual {
  background:
    linear-gradient(135deg, rgba(38, 59, 53, 0.92), rgba(32, 26, 20, 0.72)),
    var(--deep);
}

.labor-visual {
  background:
    linear-gradient(135deg, rgba(71, 56, 38, 0.92), rgba(32, 26, 20, 0.72)),
    var(--deep);
}

.registry-visual {
  background:
    linear-gradient(135deg, rgba(56, 50, 72, 0.9), rgba(32, 26, 20, 0.74)),
    var(--deep);
}

.shift-visual {
  background:
    linear-gradient(135deg, rgba(44, 72, 82, 0.9), rgba(32, 26, 20, 0.74)),
    var(--deep);
}

.custom-visual {
  background:
    linear-gradient(135deg, rgba(180, 91, 53, 0.82), rgba(32, 26, 20, 0.86)),
    var(--deep);
}

.note-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 86% 12%, rgba(180, 91, 53, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(21, 18, 14, 0.96), rgba(37, 31, 25, 0.94)),
    var(--deep);
  color: #fffaf0;
  box-shadow: 0 28px 76px rgba(42, 35, 25, 0.18);
}

.note-panel p {
  color: #d9d0c2;
}

.note-panel .secondary-btn {
  border-color: rgba(255, 250, 240, 0.22);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.note-panel .primary-btn {
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(255, 250, 240, 0.12);
}

.note-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.note-topics span {
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
}

.article-grid,
.trust-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.article-card,
.trust-card,
.outcome-card,
.reassurance-panel,
.question-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.article-card,
.trust-card,
.outcome-card {
  display: block;
  min-height: 220px;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.article-card:hover,
.trust-card:hover,
.outcome-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 91, 53, 0.36);
}

.article-card span,
.trust-card span,
.outcome-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.outcome-grid {
  grid-template-columns: repeat(4, 1fr);
}

.outcome-card {
  min-height: 210px;
}

.outcome-card h3 {
  margin-bottom: 10px;
}

.article-card p,
.trust-card p,
.outcome-card p,
.reassurance-panel p {
  color: var(--muted);
}

.outcome-card p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 800;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 20%, rgba(180, 91, 53, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 239, 228, 0.94)),
    var(--surface);
  padding: 20px 22px;
  box-shadow: 0 18px 46px rgba(42, 35, 25, 0.075);
}

.article-cta span {
  color: #312b24;
  font-weight: 900;
}

.reassurance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
}

.reassurance-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reassurance-panel li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #312b24;
  font-weight: 900;
}

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

.anxiety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.anxiety-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f0eadf;
  padding: 20px;
}

.anxiety-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 950;
}

.anxiety-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-actions a.contact-primary {
  min-width: min(100%, 300px);
  min-height: 58px;
  background: var(--ink);
  color: #fffaf0;
  justify-content: center;
  padding-inline: 26px;
  font-size: 15px;
  box-shadow: 0 22px 52px rgba(21, 18, 14, 0.26);
}

.contact-actions a.line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid #06c755;
  border-radius: 999px;
  background: #06c755;
  color: #ffffff;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(6, 199, 85, 0.28);
}

.contact-actions a[aria-disabled="true"] {
  color: #9b9184;
}

.question-box {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
}

.question-box b {
  font-size: 15px;
}

.question-box span {
  color: var(--muted);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: 0 22px 58px rgba(42, 35, 25, 0.1);
}

.form-head {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6efe4;
  padding: 16px;
}

.form-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.form-head b {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  white-space: nowrap;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form label {
  display: grid;
  gap: 8px;
  color: #3a332b;
  font-size: 13px;
  font-weight: 950;
}

.form label:has([required])::after {
  content: "必須";
  width: fit-content;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 950;
  grid-row: 1;
  justify-self: end;
}

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

.form select,
.form input {
  min-height: 48px;
}

.form textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-note span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  padding: 7px 10px;
  color: #3a332b;
  font-size: 12px;
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-brand,
.footer-info {
  display: grid;
  gap: 10px;
}

.footer-info b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.footer-logo {
  display: block;
  width: 112px;
  height: auto;
  filter: contrast(1.18) brightness(0.74);
}

.footer-info {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.footer-info p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.mobile-sticky-cta {
  display: none;
}

.detail-hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0 42px;
}

.detail-hero h1 {
  max-width: 900px;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.dark-band {
  margin: 76px 0;
  padding: 72px 0;
  background: var(--deep);
  color: #fffaf0;
}

.dark-band .section {
  padding: 0;
}

.dark-band .body-copy,
.dark-band .card p,
.dark-band .faq p {
  color: #d9d0c2;
}

.dark-band .card,
.dark-band .faq details {
  border-color: rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.06);
}

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

.faq details {
  padding: 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 950;
}

.faq p {
  margin: 12px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.85, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.section-head.reveal,
.section-head .reveal {
  transform: translateY(42px);
}

.section-head.reveal.is-visible,
.section-head .reveal.is-visible {
  transform: translateY(0);
}

.section-head h2,
.note-panel h2,
.contact h2 {
  text-wrap: balance;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .section-head,
  .contact,
  .detail-grid,
  .note-panel,
  .entry-strip {
    grid-template-columns: 1fr;
  }

  .cards,
  .tools-grid,
  .showcase-grid,
  .steps,
  .article-grid,
  .note-category-grid,
  .trust-grid,
  .outcome-grid,
  .anxiety-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reassurance-panel {
    grid-template-columns: 1fr;
  }

  .section-jump {
    top: 82px;
    right: 14px;
    bottom: auto;
    left: 14px;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    transform: none;
    border: 1px solid rgba(21, 18, 14, 0.12);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.88);
    padding: 6px;
    box-shadow: 0 18px 50px rgba(42, 35, 25, 0.12);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition:
      opacity 260ms ease,
      transform 260ms cubic-bezier(0.2, 0.85, 0.2, 1);
  }

  body.is-past-hero .section-jump {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .section-jump a,
  .section-jump a:hover,
  .section-jump a.is-current {
    width: auto;
    height: 38px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .section-jump a span,
  .section-jump a:hover span,
  .section-jump a.is-current span {
    max-width: none;
    color: var(--muted);
    opacity: 1;
  }

  .section-jump a.is-current {
    background: var(--ink);
  }

  .section-jump a.is-current span {
    color: #fffaf0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .detail-hero {
    width: min(100% - 28px, 1140px);
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(31px, 8.1vw, 36px);
    line-height: 1.18;
    word-break: normal;
  }

  .hero h1 {
    font-size: clamp(30px, 8.1vw, 32px);
    line-height: 1.2;
  }

  h2 {
    font-size: 32px;
  }

  .from-note-title {
    font-size: 19px;
  }

  .mobile-break {
    display: block;
  }

  .mobile-keep-line {
    white-space: nowrap;
    font-size: clamp(24px, 6.65vw, 28px);
    letter-spacing: 0;
  }

  .one-line-copy,
  .one-line-title {
    white-space: normal;
  }

  .one-line-title.mobile-keep-line {
    white-space: nowrap;
  }

  .single-line {
    white-space: normal;
    font-size: 31px;
  }

  .hero-actions,
  .contact-actions,
  .note-topics,
  .hero-bullets {
    display: grid;
  }

  .hero .primary-btn,
  .hero .secondary-btn {
    width: 100%;
  }

  .cards,
  .tools-grid,
  .showcase-grid,
  .steps,
  .article-grid,
  .trust-grid,
  .outcome-grid,
  .anxiety-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .entry-strip {
    margin-top: -22px;
  }

  .showcase-card,
  .showcase-card.wide {
    grid-template-columns: 1fr;
  }

  .panel-item {
    grid-template-columns: 54px 1fr;
  }

  .problem-slider,
  .after-slider {
    grid-auto-columns: minmax(78vw, 1fr);
  }

  .before-after-panel {
    border-radius: 22px;
    padding: 16px;
  }

  .ba-flow {
    grid-template-columns: 1fr;
  }

  .ba-card {
    border-radius: 18px;
  }

  .ba-tags,
  .ba-after-list {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 88px;
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--ink);
    color: #fffaf0;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(21, 18, 14, 0.24);
  }
}
