/*
 * AI仕組みラボ 2026-08-03 customer-first redesign
 * Reference: simple pencil/whiteboard comic, charcoal + teal + orange.
 */

:root {
  --ink: #292724;
  --ink-soft: #494641;
  --paper: #fffefb;
  --paper-warm: #f8f4e9;
  --cloud: #eff8f6;
  --line: #34312d;
  --orange: #e97b25;
  --orange-dark: #b14e10;
  --cyan: #16878a;
  --cyan-dark: #0d6669;
  --green: #16878a;
  --yellow: #f6ce59;
  --white: #ffffff;
  --shadow-sm: 4px 5px 0 rgba(41, 39, 36, 0.14);
  --shadow-md: 7px 8px 0 rgba(41, 39, 36, 0.16);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --content: 1160px;
  --narrow: 820px;
  --font-hand: "Yomogi", "Klee One", "Hiragino Maru Gothic ProN", sans-serif;
}

html {
  scroll-padding-top: 86px;
  background: var(--paper);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.86;
  letter-spacing: 0.018em;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(41, 39, 36, 0.16) 0 0.55px, transparent 0.7px),
    radial-gradient(circle at 72% 62%, rgba(22, 135, 138, 0.12) 0 0.45px, transparent 0.65px);
  background-size: 17px 19px, 23px 21px;
}

::selection {
  color: var(--ink);
  background: #f9dc88;
}

.site-header {
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 254, 251, 0.98);
  backdrop-filter: none;
}

.site-header.is-compact {
  background: rgba(255, 254, 251, 0.99);
  box-shadow: 0 4px 0 rgba(41, 39, 36, 0.1);
}

.site-header__inner {
  width: min(calc(100% - 36px), 1280px);
  min-height: 76px;
  gap: 22px;
}

.site-header__logo,
.site-header__mark {
  width: 42px;
  height: 42px;
}

.site-header__mark,
.site-footer__mark {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #e8f5f3;
  border: 2px solid var(--ink);
  border-radius: 50% 47% 52% 45%;
  box-shadow: 2px 2px 0 var(--orange);
  font-family: var(--font-hand);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(-3deg);
}

.site-header__brand-text {
  font-family: var(--font-hand);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.site-header__brand-text small {
  color: var(--cyan-dark);
  font-size: 0.58rem;
  font-weight: 700;
}

.site-header__nav {
  gap: clamp(13px, 1.8vw, 24px);
}

.site-header__nav a {
  padding: 9px 1px;
  font-size: 0.88rem;
  font-weight: 800;
}

.site-header__nav a::after {
  bottom: 3px;
  height: 3px;
  background: var(--cyan);
  border-radius: 0;
  transform: scaleX(0) rotate(-1deg);
}

.button,
.btn {
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  line-height: 1.45;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover,
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button--primary,
.button--primary:visited {
  color: var(--ink);
  background: var(--orange);
}

.button--primary:hover {
  color: var(--ink);
  background: #f18c3f;
}

.button--secondary,
.button--secondary:visited,
.button--light,
.button--light:visited {
  color: var(--ink);
  background: var(--white);
}

.button--secondary:hover,
.button--light:hover {
  color: var(--ink);
  background: #e7f5f3;
}

.site-header__cta {
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.84rem;
}

.hero {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
}

.hero::before,
.hero::after {
  display: none;
}

.hero__inner {
  width: min(calc(100% - 48px), 1280px);
  padding: clamp(58px, 6vw, 88px) 0 clamp(72px, 8vw, 112px);
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: clamp(38px, 5vw, 70px);
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 11px 6px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-hand);
  font-size: 0.83rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: none;
  transform: rotate(-0.6deg);
}

.section-kicker {
  background: #e8f5f3;
}

.hero__title,
.section-heading h2,
.workshop__content h2,
.no-homepage__content h2,
.final-cta h2 {
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.015em;
}

.hero__title {
  max-width: none;
  font-size: clamp(2.55rem, 3.5vw, 3.25rem);
}

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

.hero__title::after {
  width: min(240px, 46%);
  height: 5px;
  margin-top: 20px;
  background: var(--cyan);
  border-radius: 0;
  transform: rotate(-1.2deg);
}

.hero__lead {
  max-width: 40em;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

.hero__lead p {
  margin-bottom: 11px;
}

.hero__badges {
  gap: 9px;
  margin: 24px 0 27px;
}

.hero__badges li {
  padding: 7px 11px;
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 5px;
  box-shadow: 2px 3px 0 rgba(41, 39, 36, 0.18);
  font-size: 0.77rem;
}

.hero__badges li:nth-child(1),
.hero__badges li:nth-child(3) {
  background: #e8f5f3;
}

.hero__badges li:nth-child(4) {
  background: #fff0df;
}

.hero__action-note,
.hero__boundary {
  font-size: 0.8rem;
}

.hero__boundary {
  border-left: 4px solid var(--orange);
}

.hero__visual {
  transform: none;
}

.hero__visual::before {
  display: none;
}

.hero__visual picture,
.business-effects__visual picture,
.weekly-topics__visual picture,
.no-homepage__visual picture,
.workshop__visual picture {
  display: block;
}

.hero__visual img,
.business-effects__visual img,
.weekly-topics__visual img,
.no-homepage__visual img,
.workshop__visual img,
.featured-steps__visual img,
.empathy__comic img {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

figure figcaption,
.hero__visual figcaption,
.featured-steps__visual figcaption,
.section--dark figure figcaption {
  margin-top: 13px;
  padding: 0;
  color: #57534d;
  background: transparent;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.65;
}

.section {
  padding: clamp(78px, 9vw, 126px) 0;
  border-top: 2px solid var(--ink);
}

.section--tint {
  background: var(--cloud);
}

.section--dark,
.workshop,
.capabilities {
  color: var(--ink);
  background: var(--paper-warm);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.section-heading--center {
  text-align: left;
}

.section-heading h2,
.workshop__content h2,
.no-homepage__content h2,
.final-cta h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.section-heading > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.section--dark .section-heading > p:last-child,
.workshop__content > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.empathy {
  background: #fffdf8;
}

.empathy__list li,
.transformation__step,
.business-effects__card,
.capability-card,
.month-plan__week,
.weekly-topics__grid li,
.fit__column,
.public-proof__card,
.faq__item,
.workshop__schedule > div {
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.empathy__list li::before {
  color: var(--orange-dark);
  background: transparent;
  border: 2px solid var(--orange);
}

.empathy__message,
.empathy__message p {
  color: var(--ink);
}

.empathy__message {
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: #eaf7f5;
  box-shadow: 6px 7px 0 var(--cyan);
}

.empathy__message p:first-child,
.empathy__message p:last-child {
  font-family: var(--font-hand);
  font-size: 1.18rem;
}

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

.transformation__step {
  min-height: 218px;
  padding: 25px 23px;
}

.transformation__step:not(:last-child)::after {
  display: none;
}

.transformation__step--skills {
  color: var(--ink);
  background: #e9f6f4;
  box-shadow: var(--shadow-sm);
}

.transformation__number,
.transformation__step--skills .transformation__number {
  margin-bottom: 15px;
  color: var(--orange-dark);
}

.transformation__step h3,
.business-effects__card h3,
.capabilities__group > h3,
.capability-card h4,
.month-plan__week h3,
.weekly-topics__grid h3,
.fit__column h3,
.public-proof__card h3,
.pricing__included h3,
.pricing__excluded h3,
.pricing__review h3,
.workshop__tasks-title {
  font-family: var(--font-hand);
  font-weight: 400;
}

.transformation__outputs {
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.transformation__outputs h3 {
  font-family: var(--font-hand);
  font-weight: 400;
}

.transformation__outputs li::before {
  color: var(--cyan-dark);
  content: "○";
}

.notice {
  border-radius: 7px;
}

.notice--important {
  border: 2px solid var(--ink);
  background: #fff3e7;
  box-shadow: 4px 5px 0 rgba(233, 123, 37, 0.28);
}

.notice h3 {
  font-family: var(--font-hand);
  font-weight: 400;
}

.business-effects__visual,
.weekly-topics__visual {
  max-width: 1080px;
}

.business-effects__card {
  padding: 30px 26px 28px;
  border-top: 2px solid var(--ink);
}

.business-effects__card:nth-child(2),
.business-effects__card:nth-child(3) {
  border-color: var(--ink);
}

.business-effects__number {
  color: var(--cyan-dark);
}

.business-effects__term {
  color: var(--ink);
  background: #e9f6f4;
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.business-effects__result {
  border-color: #77716a;
}

.featured-steps__note {
  border: 2px dashed var(--ink);
  border-radius: 7px;
  background: var(--white);
}

.capabilities .eyebrow,
.workshop__content .eyebrow,
.final-cta .eyebrow {
  color: var(--ink);
  background: var(--white);
}

.capabilities__group > h3::before {
  height: 4px;
  background: var(--cyan);
  border-radius: 0;
  transform: rotate(-1deg);
}

.capabilities__group:nth-of-type(2) > h3::before,
.capabilities__group:nth-of-type(3) > h3::before,
.capabilities__group:nth-of-type(5) > h3::before {
  background: var(--orange);
}

.capability-card {
  color: var(--ink);
  border: 2px solid var(--ink);
}

.capability-card > span {
  width: auto;
  height: auto;
  min-width: 38px;
  padding: 4px 7px;
  color: var(--ink);
  background: #e9f6f4;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.capabilities__update {
  color: var(--ink);
  border: 2px dashed var(--ink);
  border-radius: 7px;
  background: var(--white);
}

.month-plan__timeline::before {
  height: 3px;
  background: var(--ink);
}

.month-plan__week {
  padding: 72px 22px 25px;
}

.month-plan__week > span {
  color: var(--ink);
  background: #f5cf62;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.month-plan__note {
  color: var(--ink-soft);
  background: #eaf7f5;
  border: 2px solid var(--ink);
  border-radius: 7px;
}

.weekly-topics__grid li {
  padding-left: 72px;
}

.weekly-topics__grid span {
  color: var(--cyan-dark);
}

.weekly-topics__grid p,
.no-homepage__content p {
  color: var(--ink-soft);
}

.no-homepage {
  background: var(--paper);
}

.workshop__schedule > div {
  color: var(--ink);
}

.workshop__attendance {
  border: 2px dashed var(--ink);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.54);
}

.workshop__tasks li {
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
}

.workshop__tasks li:nth-child(odd) {
  background: #e8f5f3;
}

.pricing {
  background: var(--paper);
}

.pricing__card {
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 8px 9px 0 var(--ink);
}

.pricing__summary {
  color: var(--ink);
  background: #e9f6f4;
  border-bottom: 2px solid var(--ink);
}

.pricing__price strong {
  color: var(--orange-dark);
  font-family: var(--font-hand);
  font-size: clamp(3rem, 7vw, 5.25rem) !important;
  font-weight: 400;
}

.pricing__included {
  background: #eef8f6;
  border-right: 2px solid var(--ink);
}

.pricing__excluded {
  background: #fff4e9;
}

.pricing__included h3,
.pricing__excluded h3 {
  color: var(--ink);
}

.pricing__review {
  border: 2px dashed var(--ink);
  border-radius: 7px;
}

.pricing__plain-summary {
  color: var(--ink);
  background: #f8d875;
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-family: var(--font-hand);
  font-weight: 400;
}

.fit__column {
  border-top: 2px solid var(--ink);
}

.fit__column--yes,
.fit__column--other {
  border-color: var(--ink);
}

.public-proof__card {
  border-radius: 7px;
}

.public-proof__card:hover {
  box-shadow: 5px 6px 0 var(--ink);
}

.public-proof__card > span {
  color: var(--ink);
  background: #e8f5f3;
  border: 1px solid var(--ink);
  border-radius: 3px;
}

.public-proof__card:nth-child(2) > span,
.public-proof__card:nth-child(4) > span {
  background: #fff0df;
}

.faq__item {
  border: 2px solid var(--ink);
}

.faq__item summary span {
  color: var(--orange-dark);
}

.faq__item summary::after {
  color: var(--cyan-dark);
}

.final-cta {
  color: var(--ink);
  background: #e9f6f4;
  text-align: left;
}

.final-cta__copy {
  max-width: 720px;
  margin: 28px 0;
  color: var(--ink-soft);
}

.final-cta__actions {
  justify-content: flex-start;
}

.final-cta__note {
  color: var(--orange-dark);
}

.site-footer {
  color: var(--ink);
  background: var(--paper-warm);
  border-top: 2px solid var(--ink);
}

.site-footer__brand > a,
.site-footer__nav h2 {
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 400;
}

.site-footer__mark {
  width: 52px;
  height: 52px;
}

.site-footer__brand p,
.site-footer__nav a {
  color: var(--ink-soft);
}

.site-footer__brand small,
.site-footer__nav a:hover {
  color: var(--orange-dark);
}

.site-footer__bottom {
  color: #625f59;
  border-top: 2px solid var(--ink);
}

@media (max-width: 1100px) {
  .site-header__inner {
    min-height: 70px;
  }

  .site-header__nav {
    color: var(--ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    border-top: 0;
    box-shadow: 5px 6px 0 rgba(41, 39, 36, 0.15);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
  }

  .hero__visual--desktop {
    display: none;
  }

  .hero__visual--mobile {
    display: block;
  }

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

@media (max-width: 768px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.8;
  }

  .site-header__inner,
  .hero__inner,
  .section__inner,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header__brand-text {
    font-size: 0.96rem;
  }

  .site-header__nav {
    top: 70px;
    padding: 14px 16px 22px;
  }

  .site-header__nav a {
    padding: 12px 8px;
    border-bottom: 1px dashed #8d8982;
  }

  .hero__inner {
    padding: 42px 0 68px;
    gap: 25px;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.95rem, 8.45vw, 2.35rem);
    line-height: 1.3;
  }

  .hero__lead {
    margin-top: 22px;
  }

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

  .hero__badges li {
    display: grid;
    min-height: 48px;
    place-items: center;
    text-align: center;
  }

  .hero__visual img,
  .business-effects__visual img,
  .weekly-topics__visual img,
  .no-homepage__visual img,
  .workshop__visual img,
  .featured-steps__visual img,
  .empathy__comic img {
    box-shadow: 4px 5px 0 rgba(41, 39, 36, 0.16);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .workshop__content h2,
  .no-homepage__content h2,
  .final-cta h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.36;
  }

  .transformation__flow,
  .business-effects__grid,
  .capability-grid,
  .capabilities__grid--two,
  .month-plan__timeline,
  .weekly-topics__grid,
  .fit__columns,
  .public-proof__grid,
  .pricing__boundaries,
  .pricing__review ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .transformation__step {
    min-height: 0;
  }

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

  .month-plan__timeline::before {
    display: none;
  }

  .month-plan__week {
    padding: 24px 20px;
  }

  .month-plan__week > span {
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    margin-bottom: 14px;
    padding: 3px 9px;
    transform: none;
    border-radius: 3px;
  }

  .no-homepage__inner,
  .workshop__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .workshop__schedule > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .pricing__included {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .pricing__card {
    box-shadow: 5px 6px 0 var(--ink);
  }

  .final-cta__actions {
    display: grid;
  }

  .final-cta__actions .button {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .btn,
  .public-proof__card {
    transition: none;
  }
}
