:root {
  --text: #111111;
  --muted: #555555;
  --line: #d8d8d8;
  --white: #ffffff;
  --black: #000000;
  --green: #008a3d;
  --yellow: #f4c400;
  --blue: #0067c8;
  --red: #d71920;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.9;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px max(32px, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 34px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  left: 2px;
  border: solid var(--green);
  border-width: 0 0 5px 5px;
  border-radius: 60% 0 60% 0;
  content: "";
  transform: rotate(-24deg);
}

.brand-mark::before {
  top: 12px;
  width: 26px;
  height: 18px;
}

.brand-mark::after {
  top: 2px;
  left: 25px;
  width: 24px;
  height: 28px;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
}

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

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--black);
  border: 0;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 52px;
  align-items: center;
  width: min(var(--max), calc(100% - 64px));
  min-height: 720px;
  margin: 0 auto;
  padding: 48px 0 82px;
}

.hero::after,
.section-line::before {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 18px;
  margin-left: -50vw;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='14' viewBox='0 0 160 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7 C20 1 38 13 58 7 S98 1 120 7 S145 13 160 7' fill='none' stroke='%23111111' stroke-width='1.1' stroke-linecap='round' opacity='.65'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  content: "";
}

.hero-copy {
  position: relative;
}

.hero h1,
.sub-hero h1 {
  margin-bottom: 28px;
  font-family: "Outfit", sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-text,
.section-copy,
.two-column p,
.profile-panel p,
.contact-panel p,
.sub-hero p,
.timeline p,
.service-mini-grid p,
.work-item p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 30px;
  color: var(--white);
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  color: var(--black);
  background: var(--white);
}

.small-btn {
  min-height: 44px;
  padding-inline: 26px;
}

.center {
  text-align: center;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.hero-art svg {
  width: min(510px, 100%);
  margin: 0 auto;
  overflow: visible;
}

.hero-art path {
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marker {
  position: absolute;
  top: -12px;
  left: -20px;
  z-index: -1;
  width: 260px;
  height: 70px;
  border-top: 14px solid var(--green);
  border-radius: 50%;
  opacity: 0.75;
  transform: rotate(-13deg);
}

.doodle {
  position: absolute;
  display: block;
  pointer-events: none;
}

.d-yellow {
  top: 70px;
  left: 32px;
  width: 92px;
  height: 42px;
  border-top: 7px solid var(--yellow);
  border-bottom: 7px solid var(--yellow);
  transform: rotate(-33deg);
}

.d-red {
  top: 170px;
  left: -34px;
  width: 94px;
  height: 50px;
  border: 5px solid var(--red);
  border-right: 0;
  border-bottom: 0;
  border-radius: 70% 0 0 0;
}

.d-blue {
  top: 96px;
  right: 0;
  width: 130px;
  height: 92px;
  border: 4px solid var(--blue);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 90% 0 0;
}

.scroll-label {
  position: absolute;
  right: 0;
  bottom: 110px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.scroll-label::after {
  display: block;
  width: 1px;
  height: 72px;
  margin: 12px auto 0;
  background: var(--text);
  content: "";
}

.lp-section {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-line::before {
  top: 0;
  bottom: auto;
}

.section-title {
  position: relative;
  margin-bottom: 36px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 900;
}

.section-title p {
  margin: 0;
  font-weight: 900;
}

.scribble {
  position: absolute;
  top: -24px;
  left: -22px;
  z-index: -1;
  width: 160px;
  height: 64px;
  border-top: 8px solid currentColor;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.scribble-green {
  color: var(--green);
}

.scribble-blue {
  color: var(--blue);
}

.scribble-red {
  color: var(--red);
}

.scribble-yellow {
  color: var(--yellow);
}

.section-head-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  max-width: 760px;
  margin-left: auto;
}

.service-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-mini-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 8px;
}

.service-mini-grid.detail {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-mini-grid.detail article {
  min-height: 360px;
}

.service-mini-grid ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-weight: 700;
}

.num {
  position: absolute;
  top: -42px;
  left: 18px;
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  transform: rotate(-13deg);
}

.green {
  color: var(--green);
}

.blue {
  color: var(--blue);
}

.red {
  color: var(--red);
}

.yellow {
  color: var(--yellow);
}

.line-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
}

.line-icon::before,
.line-icon::after {
  position: absolute;
  border: 3px solid var(--text);
  content: "";
}

.pen::before {
  top: 8px;
  left: 24px;
  width: 5px;
  height: 40px;
  border-radius: 4px;
  transform: rotate(32deg);
}

.pen::after {
  right: 8px;
  bottom: 7px;
  width: 34px;
  border-width: 0 0 3px;
}

.laptop::before {
  top: 8px;
  left: 8px;
  width: 38px;
  height: 28px;
  border-radius: 3px;
}

.laptop::after {
  right: 4px;
  bottom: 8px;
  left: 4px;
  border-width: 0 0 3px;
}

.camera::before {
  top: 14px;
  left: 7px;
  width: 40px;
  height: 28px;
  border-radius: 5px;
}

.camera::after {
  top: 19px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.people::before {
  top: 12px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.people::after {
  bottom: 8px;
  left: 8px;
  width: 38px;
  height: 22px;
  border-radius: 50% 50% 8px 8px;
}

.cart::before {
  top: 16px;
  left: 6px;
  width: 40px;
  height: 24px;
  border-width: 0 0 3px 3px;
  transform: skewX(10deg);
}

.cart::after {
  bottom: 4px;
  left: 14px;
  width: 24px;
  height: 8px;
  border-width: 3px 0 0;
}

.assistant::before {
  top: 8px;
  left: 8px;
  width: 38px;
  height: 34px;
  border-radius: 4px;
}

.assistant::after {
  top: 15px;
  left: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.service-mini-grid h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  text-align: center;
}

.works-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.work-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
}

.work-item span {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 8px;
  padding: 2px 10px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.work-item h3,
.work-item h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.shop-hero {
  padding-bottom: 104px;
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.product-visual::before {
  width: 130px;
  height: 82px;
  border: 7px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  border-radius: 70% 0 0 0;
  transform: rotate(-18deg);
}

.product-visual::after {
  right: 36px;
  bottom: 32px;
  width: 58px;
  height: 28px;
  border-top: 6px solid var(--yellow);
  border-bottom: 6px solid var(--yellow);
  transform: rotate(-22deg);
}

.product-visual span {
  position: relative;
  z-index: 1;
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 900;
}

.product-green {
  color: var(--green);
}

.product-blue {
  color: var(--blue);
}

.product-red {
  color: var(--red);
}

.product-body {
  padding: 28px;
}

.product-label {
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-body h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.product-body p,
.product-body li {
  color: var(--muted);
  font-weight: 700;
}

.product-body ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.price {
  margin: 24px 0 0;
  color: var(--text) !important;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 900 !important;
}

.profile-panel {
  display: grid;
  grid-template-columns: 180px 1fr 1fr auto;
  gap: 42px;
  align-items: center;
}

.page-profile {
  grid-template-columns: 220px 1fr;
}

.portrait {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  background: #f6e9e7;
  border-radius: 54% 46% 58% 42%;
}

.portrait::before {
  position: absolute;
  inset: 34px 46px 32px;
  border: 3px solid var(--text);
  border-bottom: 0;
  border-radius: 48% 48% 0 0;
  content: "";
}

.portrait::after {
  position: absolute;
  top: 78px;
  left: 55px;
  width: 62px;
  height: 42px;
  border: 3px solid var(--text);
  border-top: 0;
  border-radius: 0 0 50% 50%;
  content: "";
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "◎";
}

.contact-lp {
  padding-bottom: 92px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}

.mail-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 22px;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(transparent 64%, var(--yellow) 64%);
}

.mail-link::before {
  margin-right: 12px;
  content: "□";
}

.speech {
  position: relative;
  padding: 38px 28px;
  border: 3px solid var(--blue);
  border-radius: 55% 45% 52% 48%;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.speech::after {
  position: absolute;
  right: 72px;
  bottom: -26px;
  width: 34px;
  height: 34px;
  border: solid var(--blue);
  border-width: 0 0 3px 3px;
  content: "";
  transform: rotate(-22deg);
}

.sub-hero {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0 88px;
}

.sub-label {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.timeline li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.policy-body {
  max-width: 820px;
  margin: 0 auto;
}

.policy-body h2 {
  margin: 42px 0 12px;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  color: var(--muted);
  font-weight: 700;
}

.policy-body a {
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 56px max(32px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--black);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.site-footer > small {
  grid-column: 1 / -1;
  color: #bbbbbb;
  text-align: center;
}

.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after {
  border-color: var(--green);
}

@media (max-width: 980px) {
  .site-header {
    padding: 18px 24px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 82px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .section-head-row,
  .profile-panel,
  .page-profile,
  .contact-panel,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-mini-grid,
  .service-mini-grid.detail,
  .product-grid,
  .works-row,
  .timeline,
  .timeline.five {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .brand strong,
  .footer-brand strong {
    font-size: 1.05rem;
  }

  .brand small,
  .footer-brand small {
    font-size: 0.56rem;
  }

  .brand-mark {
    width: 42px;
  }

  .hero,
  .lp-section,
  .sub-hero {
    width: min(100% - 36px, var(--max));
  }

  .hero {
    gap: 22px;
    padding: 42px 0 62px;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: 3.25rem;
  }

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

  .hero-art svg {
    width: 320px;
  }

  .scroll-label {
    display: none;
  }

  .lp-section {
    padding: 66px 0;
  }

  .section-title h2 {
    font-size: 2.45rem;
  }

  .service-mini-grid,
  .service-mini-grid.detail,
  .product-grid,
  .works-row,
  .timeline,
  .timeline.five {
    grid-template-columns: 1fr;
  }

  .service-mini-grid article {
    min-height: auto;
    padding: 30px 22px;
  }

  .num {
    top: -36px;
  }

  .mail-link {
    font-size: 1.55rem;
  }

  .speech {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .site-footer {
    padding: 44px 24px;
  }
}
