:root {
  --ink: #20211c;
  --ink-soft: #45483f;
  --paper: #f4efe2;
  --paper-quiet: #fbf7ed;
  --paper-aged: #e4d8c2;
  --rule: #beb39f;
  --rule-soft: rgba(32, 33, 28, 0.14);
  --stamp: #a63a2c;
  --chalk: #315243;
  --blueprint: #2f5f7f;
  --ochre: #bf8a2f;
  --shadow: 0 18px 44px rgba(42, 37, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18px 18px, rgba(32, 33, 28, 0.055) 1px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(166, 58, 44, 0.05) 1px, transparent 1px) 74px 0 / 74px 100%,
    var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(32, 33, 28, 0.035) 31px 32px);
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(244, 239, 226, 0.94);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 8px 0 rgba(32, 33, 28, 0.035);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper-quiet);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 3px var(--paper);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid transparent;
}

.nav a:hover {
  background: var(--paper-quiet);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 98px) clamp(18px, 6vw, 90px) clamp(44px, 7vw, 78px);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "UK LAB / FIELD RECORD";
  position: absolute;
  top: 22px;
  right: clamp(18px, 4vw, 54px);
  color: rgba(32, 33, 28, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 6vw, 90px);
  bottom: 22px;
  width: min(520px, 68vw);
  height: 2px;
  background: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--stamp);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", "Meiryo", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(40px, 7.2vw, 94px);
  line-height: 1.03;
  font-weight: 900;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  color: var(--ink);
  background: var(--paper-quiet);
  border: 2px solid var(--ink);
  border-radius: 0;
  font-weight: 900;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button.primary {
  color: var(--paper-quiet);
  background: var(--ink);
}

.button.primary:hover {
  box-shadow: 5px 5px 0 var(--stamp);
}

.button.secondary {
  background: transparent;
}

.button.wide {
  width: 100%;
}

.hero-proof {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border: 2px solid var(--ink);
  background: var(--paper-quiet);
}

.hero-proof span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-right: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.hero-proof span:last-child {
  border-right: 0;
}

.hero-scene {
  position: relative;
  z-index: 1;
  min-height: 460px;
}

.scene-board {
  position: relative;
  width: min(100%, 520px);
  min-height: 460px;
  margin-left: auto;
  padding: 72px 30px 30px;
  background:
    linear-gradient(90deg, rgba(47, 95, 127, 0.18) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(47, 95, 127, 0.16) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(circle at 50% 52%, rgba(49, 82, 67, 0.12), transparent 38%),
    var(--paper-quiet);
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 rgba(47, 95, 127, 0.18), 16px 16px 0 var(--ink);
  transform: rotate(0.6deg);
}

.scene-board::before {
  content: "AI OPERATIONS MAP";
  position: absolute;
  top: 18px;
  left: 28px;
  right: 28px;
  padding: 0 0 12px 28px;
  border-bottom: 2px solid var(--ink);
  color: var(--blueprint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.scene-board::after {
  content: "01";
  position: absolute;
  top: 17px;
  left: 28px;
  width: 20px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--paper-quiet);
  background: var(--blueprint);
  border: 0;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 900;
  transform: none;
  opacity: 1;
}

.scene-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  color: var(--paper-quiet);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(32, 33, 28, 0.12);
}

.chip-a {
  top: 102px;
  left: 40px;
  background: var(--chalk);
}

.chip-b {
  top: 102px;
  right: 42px;
  background: var(--blueprint);
}

.chip-c {
  bottom: 118px;
  left: 58px;
  background: var(--stamp);
}

.chip-d {
  right: 42px;
  bottom: 118px;
  background: var(--ochre);
  color: var(--ink);
}

.scene-panel {
  position: absolute;
  display: grid;
  gap: 3px;
  width: 158px;
  min-height: 72px;
  padding: 11px 12px;
  background: rgba(251, 247, 237, 0.92);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(32, 33, 28, 0.1);
}

.scene-panel strong {
  color: var(--blueprint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-panel small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.panel-a {
  top: 162px;
  left: 42px;
}

.panel-b {
  top: 190px;
  left: calc(50% - 79px);
}

.panel-c {
  top: 162px;
  right: 42px;
}

section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 6vw, 90px);
}

.band {
  background:
    linear-gradient(90deg, rgba(49, 82, 67, 0.08) 0 10px, transparent 10px),
    rgba(251, 247, 237, 0.64);
  border-block: 2px solid var(--ink);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4.7vw, 58px);
  line-height: 1.15;
  font-weight: 900;
}

.section-heading > p:last-child {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 86px);
}

.intro-text {
  position: relative;
  padding: 24px 26px 24px 30px;
  background: var(--paper-quiet);
  border-left: 6px solid var(--chalk);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
}

.profile-sheet {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 24px;
  align-items: start;
  margin-top: 38px;
  padding: 28px;
  background: var(--paper-quiet);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--paper-aged), 12px 12px 0 var(--ink);
}

.profile-stamp {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: var(--paper-quiet);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.profile-name {
  margin-bottom: 10px !important;
  color: var(--ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900 !important;
}

.profile-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border: 2px solid var(--ink);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  border-bottom: 1px solid var(--rule);
}

.profile-facts div:last-child {
  border-bottom: 0;
}

.profile-facts dt,
.profile-facts dd {
  margin: 0;
  padding: 10px 12px;
}

.profile-facts dt {
  color: var(--paper-quiet);
  background: var(--ink);
  font-weight: 900;
}

.profile-facts dd {
  color: var(--ink-soft);
  background: #fffdf6;
  font-weight: 700;
}

.service-grid,
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border: 2px solid var(--ink);
  background: var(--paper-quiet);
}

.service-card,
.channel-grid article {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--rule);
  background: transparent;
}

.service-card:last-child,
.channel-grid article:last-child {
  border-right: 0;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 38px;
  color: var(--paper-quiet);
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
}

.service-card h3,
.channel-grid h3,
.timeline h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.36;
  font-weight: 900;
}

.service-card p,
.channel-grid p,
.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.price-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 16px;
  color: var(--paper-quiet);
  background: var(--chalk);
  border: 2px solid var(--ink);
}

.price-strip p {
  margin: 0;
  padding: 20px 22px;
}

.price-strip p:first-child {
  border-right: 1px solid rgba(251, 247, 237, 0.42);
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 2px solid var(--ink);
}

.timeline article {
  display: grid;
  grid-template-columns: 126px 0.78fr 1.22fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.timeline time {
  color: var(--stamp);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.timeline h3 {
  margin: 0;
}

.blog-list {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border: 2px solid var(--ink);
  background: var(--paper-quiet);
}

.blog-list a {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 14px 22px 14px 0;
  border-bottom: 1px solid var(--rule);
}

.blog-list a:last-child {
  border-bottom: 0;
}

.blog-list a:hover {
  background: #fffdf6;
}

.blog-list span {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: var(--paper-quiet);
  background: var(--stamp);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 900;
}

.blog-list strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

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

.channel-grid article {
  min-height: 230px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.14;
  font-weight: 900;
}

.contact-copy p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
}

.contact-panel {
  position: relative;
  padding: 30px 28px;
  background: var(--paper-quiet);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--paper-aged), 12px 12px 0 var(--ink);
}

.contact-panel::before {
  content: "相談票";
  position: absolute;
  top: -18px;
  left: 20px;
  padding: 2px 10px;
  color: var(--paper-quiet);
  background: var(--ink);
  font-weight: 900;
}

.panel-label {
  margin: 0;
  color: var(--stamp);
  font-weight: 900;
}

.contact-panel ul {
  margin: 16px 0 26px;
  padding-left: 20px;
}

.contact-panel li {
  margin: 8px 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 90px);
  color: var(--paper-quiet);
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.article-main {
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 84px) clamp(18px, 5vw, 42px) clamp(76px, 10vw, 116px);
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--paper-quiet);
  border: 2px solid var(--ink);
  font-weight: 900;
}

.article-back:hover {
  color: var(--paper-quiet);
  background: var(--ink);
}

.article-main article {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(90deg, transparent 0 62px, rgba(166, 58, 44, 0.16) 62px 64px, transparent 64px),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(32, 33, 28, 0.09) 33px 34px),
    var(--paper-quiet);
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--paper-aged), 14px 14px 0 var(--ink);
}

.article-main article::after {
  content: "公開記録";
  position: absolute;
  top: 26px;
  right: 28px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--stamp);
  border: 3px double var(--stamp);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  transform: rotate(10deg);
}

.article-main h1 {
  max-width: 760px;
  font-size: clamp(34px, 5.7vw, 58px);
}

.article-main h2 {
  margin-top: 42px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.article-main p,
.article-main li {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 600;
}

.article-main ul {
  padding-left: 22px;
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .profile-sheet,
  .contact,
  .price-strip {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    min-height: auto;
  }

  .scene-board {
    margin: 8px 0 0;
  }

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

  .service-card:nth-child(2),
  .channel-grid article:nth-child(2) {
    border-right: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    min-height: 30px;
    padding-inline: 0;
    margin-right: 12px;
    border: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero::before {
    left: 18px;
    right: auto;
    max-width: calc(100vw - 36px);
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof span:nth-child(2) {
    border-right: 0;
  }

  .hero-proof span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .scene-board {
    width: 100%;
    min-height: 380px;
    padding-inline: 20px;
    transform: none;
    box-shadow: 8px 8px 0 var(--paper-aged), 10px 10px 0 var(--ink);
  }

  .chip-a {
    top: 92px;
    left: 22px;
  }

  .chip-b {
    top: 92px;
    right: 22px;
  }

  .chip-c {
    left: 24px;
    bottom: 98px;
  }

  .chip-d {
    right: 22px;
    bottom: 98px;
  }

  .scene-panel {
    width: calc(100% - 44px);
    min-height: 58px;
  }

  .panel-a {
    top: 146px;
    left: 22px;
  }

  .panel-b {
    top: 214px;
    left: 22px;
  }

  .panel-c {
    top: 282px;
    right: 22px;
  }

  .service-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .profile-sheet {
    padding: 20px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
  }

  .service-card,
  .channel-grid article,
  .service-card:nth-child(2),
  .channel-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .service-card:last-child,
  .channel-grid article:last-child {
    border-bottom: 0;
  }

  .price-strip p:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 247, 237, 0.42);
  }

  .blog-list a {
    grid-template-columns: 52px 1fr;
    padding-right: 14px;
  }

  .article-main article::after {
    position: static;
    margin: 16px 0 0 auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
