:root {
  --ref-ink: #10251f;
  --ref-navy: #0d315d;
  --ref-green: #16845d;
  --ref-green-dark: #0d6244;
  --ref-mint: #e7f7f1;
  --ref-blue-soft: #edf5ff;
  --ref-sand: #f7f5ef;
  --ref-line: #d7e5df;
  --ref-muted: #5d6e67;
  --ref-white: #fff;
  --ref-shadow: 0 20px 60px rgba(19, 57, 45, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ref-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.ref-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.ref-narrow { width: min(820px, 100%); }
.ref-section { padding: clamp(72px, 9vw, 118px) 0; }
.ref-section--soft { background: #f6faf8; }
.ref-section--dark { color: #effaf6; background: #102f27; }
.ref-section--sand { background: var(--ref-sand); }
.ref-eyebrow {
  margin: 0 0 12px;
  color: var(--ref-green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ref-section--dark .ref-eyebrow { color: #8de2c4; }
.ref-heading { max-width: 840px; margin-bottom: clamp(30px, 5vw, 54px); }
.ref-heading h2 {
  margin: 0;
  color: var(--ref-ink);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.ref-section--dark .ref-heading h2 { color: #fff; }
.ref-heading > p:last-child { margin: 16px 0 0; color: var(--ref-muted); font-size: clamp(1rem, 2vw, 1.12rem); }
.ref-section--dark .ref-heading > p:last-child { color: #c4d8d0; }
.ref-copy { color: #31463e; }
.ref-copy p { margin: 0 0 1.2em; }
.ref-copy strong { color: #153f32; }
.ref-lead-quote {
  margin: 32px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--ref-green);
  background: var(--ref-mint);
  color: #174b39;
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
  font-weight: 900;
  line-height: 1.65;
}
.ref-bullet-list { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.ref-bullet-list li { position: relative; padding-left: 28px; color: #30473e; }
.ref-bullet-list li::before {
  position: absolute;
  top: .62em;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ref-green);
  content: "";
}

.ref-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(215, 229, 223, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.ref-header__inner {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}
.ref-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ref-ink); text-decoration: none; }
.ref-brand img { width: 42px; height: 42px; border-radius: 12px; }
.ref-brand__text { display: grid; line-height: 1.18; }
.ref-brand__text strong { font-size: 1.23rem; font-weight: 950; }
.ref-brand__text small { color: var(--ref-muted); font-size: .68rem; font-weight: 800; }
.ref-nav { display: flex; align-items: center; gap: 5px; }
.ref-nav a { padding: 8px 12px; border-radius: 10px; color: #284139; font-size: .85rem; font-weight: 800; text-decoration: none; }
.ref-nav a:hover { background: var(--ref-mint); color: var(--ref-green-dark); }
.ref-nav .ref-nav__cta { color: #fff; background: var(--ref-green-dark); }
.ref-nav .ref-nav__cta:hover { color: #fff; background: #084d36; }

.ref-breadcrumbs { margin: 0; padding: 18px 0 0; color: #687972; font-size: .82rem; }
.ref-breadcrumbs a { color: var(--ref-green-dark); }
.ref-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 8vw, 96px) 0 clamp(76px, 10vw, 126px);
  background:
    radial-gradient(circle at 87% 15%, rgba(41, 189, 151, .14), transparent 28%),
    linear-gradient(180deg, #f8fcfa 0%, #fff 75%);
}
.ref-hero::after {
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(24, 132, 93, .05);
  border-radius: 50%;
  content: "";
}
.ref-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr); align-items: center; gap: clamp(38px, 7vw, 88px); }
.ref-hero h1 { margin: 0; color: var(--ref-ink); font-size: clamp(2.55rem, 5.8vw, 5rem); line-height: 1.12; letter-spacing: -.05em; text-wrap: balance; }
.ref-hero__sub { margin: 24px 0 0; color: #345047; font-size: clamp(1.06rem, 2.1vw, 1.35rem); font-weight: 750; line-height: 1.75; }
.ref-hero__statement { margin: 28px 0 0; color: var(--ref-green-dark); font-size: clamp(1.18rem, 2.5vw, 1.6rem); font-weight: 950; line-height: 1.6; }
.ref-hero__intro { max-width: 700px; margin: 22px 0 0; color: var(--ref-muted); }
.ref-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ref-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ref-green-dark);
  border-radius: 12px;
  color: #fff;
  background: var(--ref-green-dark);
  box-shadow: 0 10px 25px rgba(13, 98, 68, .15);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.ref-button:hover { background: #084d36; }
.ref-button--secondary { color: var(--ref-green-dark); background: #fff; box-shadow: none; }
.ref-button--secondary:hover { background: var(--ref-mint); }
.ref-button--line { border-color: #06c755; background: #06c755; }
.ref-button--line:hover { background: #05ae4a; }

.ref-flow-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--ref-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--ref-shadow);
}
.ref-flow-card__label { margin: 0 0 20px; color: var(--ref-muted); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.ref-flow { display: grid; gap: 12px; }
.ref-flow__item { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px; border-radius: 14px; background: #f6faf8; }
.ref-flow__number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: var(--ref-green-dark); font-size: .82rem; font-weight: 950; }
.ref-flow__item strong { display: block; font-size: .93rem; }
.ref-flow__item span:last-child { color: var(--ref-muted); font-size: .77rem; }
.ref-flow__arrow { color: #87a79b; font-size: 1.2rem; line-height: 1; text-align: center; }

.ref-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); align-items: start; gap: clamp(38px, 7vw, 84px); }
.ref-share-demo { padding: 24px; border: 1px solid var(--ref-line); border-radius: 26px; background: #fff; box-shadow: var(--ref-shadow); }
.ref-demo-label { display: inline-flex; margin-bottom: 18px; padding: 5px 10px; border-radius: 999px; color: var(--ref-green-dark); background: var(--ref-mint); font-size: .72rem; font-weight: 900; }
.ref-demo-gym { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 13px; padding: 12px; border: 1px solid #e3ece8; border-radius: 16px; background: #f8fbf9; }
.ref-demo-gym__icon { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 15px; color: #fff; background: var(--ref-navy); font-size: 1.25rem; font-weight: 950; }
.ref-demo-gym p { margin: 0; color: var(--ref-muted); font-size: .75rem; }
.ref-demo-gym strong { display: block; margin-top: 2px; color: var(--ref-ink); font-size: 1rem; }
.ref-share-demo h3 { margin: 24px 0 8px; font-size: 1.45rem; line-height: 1.45; text-align: center; }
.ref-share-demo__lead { margin: 0 0 20px; color: var(--ref-muted); font-size: .88rem; text-align: center; }
.ref-share-actions { display: grid; gap: 10px; }
.ref-share-button { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border: 1px solid #c8ddd4; border-radius: 14px; color: #174d38; background: #f6faf8; font-weight: 900; }
.ref-share-button--line { border-color: #06c755; color: #fff; background: #06c755; }
.ref-share-button__mark { font-size: .72rem; letter-spacing: .03em; }
.ref-demo-note { margin: 15px 0 0; color: #75827c; font-size: .72rem; line-height: 1.6; text-align: center; }

.ref-principle { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(34px, 7vw, 90px); }
.ref-principle__title { position: sticky; top: 112px; }
.ref-principle__title h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.25; letter-spacing: -.035em; }
.ref-principle__statement { margin: 0 0 28px; color: #fff; font-size: clamp(1.35rem, 3vw, 2.15rem); font-weight: 950; line-height: 1.55; }
.ref-principle__copy p { color: #c9dcd4; }
.ref-principle__tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0; }
.ref-principle__tasks span { padding: 17px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: #effaf6; background: rgba(255,255,255,.06); font-size: .86rem; font-weight: 800; text-align: center; }

.ref-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; padding: 6px 11px; border-radius: 999px; font-size: .75rem; font-weight: 950; letter-spacing: .05em; }
.ref-status--live { color: #0d6244; background: #dff4eb; }
.ref-status--consult { color: #854d0e; background: #fff0d2; }
.ref-dashboard { margin-top: 44px; overflow: hidden; border: 1px solid #d9e4df; border-radius: 24px; background: #f5f7f6; box-shadow: var(--ref-shadow); }
.ref-dashboard__bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; color: #fff; background: #163c31; }
.ref-dashboard__bar strong { font-size: 1rem; }
.ref-dashboard__bar span { color: #bed2ca; font-size: .75rem; }
.ref-dashboard__body { padding: 20px; }
.ref-dashboard__notice { margin: 0 0 15px; color: #64736d; font-size: .72rem; }
.ref-total-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ref-total-card { padding: 16px; border: 1px solid #dce6e1; border-radius: 14px; background: #fff; }
.ref-total-card span { display: block; color: #67766f; font-size: .7rem; font-weight: 750; }
.ref-total-card strong { display: block; margin-top: 7px; color: #173f32; font-size: 1.65rem; line-height: 1; }
.ref-dashboard__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 10px; }
.ref-dashboard__toolbar strong { font-size: .93rem; }
.ref-filter-chip { padding: 6px 10px; border: 1px solid #c9dbd2; border-radius: 9px; color: #365348; background: #fff; font-size: .7rem; font-weight: 800; }
.ref-store-list { display: grid; gap: 8px; }
.ref-store-row { display: grid; grid-template-columns: minmax(145px, 1.45fr) repeat(4, minmax(72px, .62fr)); align-items: center; gap: 8px; padding: 13px; border: 1px solid #dce6e1; border-radius: 12px; background: #fff; }
.ref-store-row strong { font-size: .82rem; }
.ref-store-row dl { display: contents; }
.ref-store-row div { min-width: 0; text-align: right; }
.ref-store-row dt { color: #7b8983; font-size: .58rem; font-weight: 750; }
.ref-store-row dd { margin: 2px 0 0; color: #1b4336; font-size: .86rem; font-weight: 900; }

.ref-analysis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.ref-analysis-card { padding: 24px; border: 1px solid var(--ref-line); border-radius: 18px; background: #fff; }
.ref-analysis-card span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #fff; background: var(--ref-green-dark); font-size: .8rem; font-weight: 950; }
.ref-analysis-card h3 { margin: 16px 0 8px; font-size: 1.03rem; }
.ref-analysis-card p { margin: 0; color: var(--ref-muted); font-size: .88rem; }

.ref-sales-message { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 7vw, 86px); align-items: center; }
.ref-sales-message__quote { padding: 38px; border: 1px solid var(--ref-line); border-radius: 26px; background: #fff; box-shadow: var(--ref-shadow); }
.ref-sales-message__quote p { margin: 0; color: var(--ref-green-dark); font-size: clamp(1.45rem, 3vw, 2.3rem); font-weight: 950; line-height: 1.55; }
.ref-sales-message__quote small { display: block; margin-top: 18px; color: var(--ref-muted); }

.ref-advanced-intro { padding: 28px; border: 1px solid #f0d8a6; border-radius: 18px; background: #fffbf1; }
.ref-advanced-intro p { margin: 0; color: #66471e; font-weight: 750; }
.ref-advanced-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.ref-advanced-card { padding: 28px; border: 1px solid var(--ref-line); border-radius: 19px; background: #fff; }
.ref-advanced-card h3 { margin: 0 0 12px; font-size: 1.18rem; }
.ref-advanced-card p { margin: 0; color: var(--ref-muted); font-size: .93rem; }
.ref-advanced-card p + p { margin-top: 12px; }
.ref-advanced-card__label { display: inline-block; margin-bottom: 12px; color: #8a520d; font-size: .7rem; font-weight: 950; letter-spacing: .05em; }

.ref-specialty-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 28px 0; }
.ref-specialty-grid span { padding: 13px 8px; border-radius: 12px; color: #1d4a3a; background: var(--ref-mint); font-size: .78rem; font-weight: 850; text-align: center; }
.ref-moment-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.ref-moment-list li { padding: 17px; border: 1px solid var(--ref-line); border-radius: 13px; background: #fff; font-weight: 850; }

.ref-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ref-plan { position: relative; padding: clamp(26px, 4vw, 40px); border: 1px solid var(--ref-line); border-radius: 22px; background: #fff; }
.ref-plan--advanced { color: #effaf6; border-color: #163c31; background: #163c31; }
.ref-plan__name { margin: 0; color: var(--ref-green); font-size: .8rem; font-weight: 950; letter-spacing: .1em; }
.ref-plan--advanced .ref-plan__name { color: #8de2c4; }
.ref-plan h3 { margin: 8px 0 18px; font-size: clamp(1.4rem, 3vw, 2rem); }
.ref-plan ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ref-plan li { position: relative; padding-left: 24px; }
.ref-plan li::before { position: absolute; left: 0; color: var(--ref-green); font-weight: 950; content: "✓"; }
.ref-plan--advanced li::before { color: #8de2c4; }
.ref-plan__note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--ref-line); color: var(--ref-muted); font-size: .82rem; }
.ref-plan--advanced .ref-plan__note { border-color: rgba(255,255,255,.16); color: #bfd3ca; }

.ref-final-message { padding: clamp(30px, 6vw, 60px); border-radius: 26px; color: #fff; background: var(--ref-navy); }
.ref-final-message h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.3; letter-spacing: -.035em; }
.ref-final-message p { max-width: 820px; color: #d4e4f5; }
.ref-final-message strong { color: #fff; }

.ref-cta { text-align: center; }
.ref-cta .ref-heading { margin-inline: auto; }
.ref-cta .ref-actions { justify-content: center; }
.ref-cta-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 28px auto 0; padding: 0; list-style: none; }
.ref-cta-list li { padding: 8px 12px; border: 1px solid var(--ref-line); border-radius: 999px; color: #42574f; background: #fff; font-size: .82rem; }
.ref-cta-note { margin: 22px 0 0; color: var(--ref-muted); }

.ref-faq { display: grid; gap: 12px; }
.ref-faq details { border: 1px solid var(--ref-line); border-radius: 15px; background: #fff; }
.ref-faq summary { position: relative; padding: 20px 52px 20px 22px; cursor: pointer; color: #173f32; font-weight: 900; list-style: none; }
.ref-faq summary::-webkit-details-marker { display: none; }
.ref-faq summary::after { position: absolute; top: 50%; right: 22px; transform: translateY(-50%); color: var(--ref-green); content: "+"; font-size: 1.5rem; }
.ref-faq details[open] summary::after { content: "−"; }
.ref-faq p { margin: 0; padding: 0 22px 22px; color: var(--ref-muted); }

.ref-related { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.ref-related a { color: var(--ref-green-dark); font-weight: 850; text-underline-offset: 4px; }
.ref-footer { padding: 42px 0; color: #eef8f4; background: #102f27; }
.ref-footer__inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.ref-footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; }
.ref-footer__brand img { width: 34px; height: 34px; border-radius: 9px; }
.ref-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.ref-footer nav a { color: #eef8f4; font-size: .84rem; }
.ref-footer small { grid-column: 1 / -1; color: #acc8bd; }

@media (max-width: 900px) {
  .ref-nav a:not(.ref-nav__cta) { display: none; }
  .ref-hero__grid, .ref-two-column, .ref-principle, .ref-sales-message { grid-template-columns: 1fr; }
  .ref-flow-card { width: min(560px, 100%); }
  .ref-principle__title { position: static; }
  .ref-total-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-specialty-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .ref-shell { width: min(100% - 28px, 1120px); }
  .ref-header__inner { width: min(100% - 24px, 1180px); min-height: 64px; }
  .ref-brand__text small { display: none; }
  .ref-brand img { width: 38px; height: 38px; }
  .ref-nav .ref-nav__cta { padding: 8px 10px; font-size: .77rem; }
  .ref-section { padding: 64px 0; }
  .ref-hero { padding-top: 34px; }
  .ref-hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .ref-actions { display: grid; }
  .ref-button { width: 100%; }
  .ref-flow-card, .ref-share-demo { padding: 19px; border-radius: 20px; }
  .ref-principle__tasks, .ref-analysis-grid, .ref-advanced-grid, .ref-plan-grid, .ref-moment-list { grid-template-columns: 1fr; }
  .ref-dashboard__body { padding: 13px; }
  .ref-total-grid { gap: 7px; }
  .ref-total-card { padding: 13px; }
  .ref-total-card strong { font-size: 1.35rem; }
  .ref-dashboard__toolbar { align-items: flex-start; flex-direction: column; }
  .ref-store-row { grid-template-columns: repeat(2, 1fr); padding: 15px; }
  .ref-store-row > strong { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid #e3ebe7; }
  .ref-store-row dl { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ref-store-row div { padding: 8px; border-radius: 9px; background: #f7faf8; text-align: left; }
  .ref-specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-sales-message__quote { padding: 26px; }
  .ref-final-message { border-radius: 20px; }
  .ref-footer__inner { grid-template-columns: 1fr; }
  .ref-footer nav { justify-content: flex-start; }
  .ref-footer small { grid-column: auto; }
}

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