:root {
  --blue: #1F99D9;
  --blue-d: #188ac6;
  --ink: #343434;
  --ink-2: #4b4b4b;
  --gray: #8a8f96;
  --panel: #F1F2F3;
  --bg-gray: #F7F7F7;
  --line: #e2e4e7;
  --maxw: 1080px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

a[href^="tel:"] {
  display: inline-block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.wrap-narrow {
  max-width: 905px;
  margin-inline: auto
}

@media(max-width:860px) {
  .wrap {
    padding: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 608px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 26px 0 0
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .38em
}

.hero .lead {
  margin: 0 0 36px;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: .3em;
  line-height: 1.94;
  color: #fff;
  font-weight: 400
}

.hero .nk-btn-ghost a {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 18px 34px;
  border: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .14em;
  font-family: "Inter", "Noto Sans JP", sans-serif
}

.hero .ghost {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  font-family: "Agdasima", "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 5.14vw, 74px);
  line-height: 1;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .1em;
  white-space: nowrap;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 0
}

/* ---------- Intro band ---------- */
.intro {
  background: #F7F7F7;
  padding: 78px 0
}

.intro .row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center
}

.intro h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: .4em;
  line-height: 1.8
}

.intro p {
  margin: 0;
  color: var(--blue);
  font-size: 16px;
  letter-spacing: .3em;
  line-height: 1.94
}

/* ---------- Section heading ---------- */
.sec {
  padding: 88px 0
}

.sec.gray {
  background: var(--bg-gray)
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 18px 26px;
  margin-bottom: 50px
}

.sec-head .en {
  font-size: 14px;
  letter-spacing: .1em;
  line-height: 26px;
  color: var(--ink);
  white-space: nowrap;
  font-family: "Inter", "Noto Sans JP", sans-serif
}

.sec-head .bar {
  width: 2px;
  align-self: stretch;
  background: #2a2f36;
  min-height: 98px
}

.sec-head .tt {
  flex: 1;
}

.sec-head .tt h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .4em;
  line-height: 1.85
}

.form-wrap .sec-head .tt h2 {
  letter-spacing: 0;
  line-height: 1.2
}

.form-wrap .sec-head .en {
  letter-spacing: .1em
}

.form-wrap .sec-head .bar {
  min-height: 39px
}

.sec-head .tt .sub {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: .4em
}

.sec-head .tt .sub::after {
  content: "";
  flex: 1;
  max-width: 150px;
  height: 1px;
  background: #343434
}

/* ---------- About ---------- */
.about-lead {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .1em;
  line-height: 1.86;
  margin: 0;
  max-width: 680px
}

.about-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px
}

.about-top-tx {
  flex: 1 1 auto;
  min-width: 0
}

.panel {
  background: var(--panel);
  border-radius: 20px;
  padding: 46px 46px
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px
}

.compare .vline {
  background: #d3d6da
}

.pill {
  display: block;
  width: 100%;
  max-width: 278px;
  margin: 0 auto 24px;
  padding: 0;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  line-height: 42px
}

.pill.gray {
  background: #d9d9d9;
  color: #343434
}

.pill.blue {
  background: var(--blue);
  color: #fff
}

.compare .txt {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.57;
  letter-spacing: .1em;
  text-align: center;
  min-height: 64px
}

.illust {
  display: grid;
  place-items: center;
  margin: 22px 0 26px;
  height: 130px
}

.illust img {
  height: 130px;
  width: auto;
  object-fit: contain
}

.tag-box {
  border-radius: 10px;
  padding: 17px;
  text-align: center;
  font-size: clamp(18px, 1.90839vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0
}

.tag-box.gray {
  background: #d9d9d9;
  color: #343434
}

.tag-box.blue {
  background: var(--blue);
  color: #fff
}

.reasons {
  margin-top: 40px;
  padding: 58px 50px
}

.reasons h3 {
  margin: 0 0 8px;
  text-align: center;
  color: var(--blue);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .4em;
  line-height: 1.85
}

.reasons .rsub {
  margin: 0 0 44px;
  text-align: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .1em
}

.reasons .grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.reason {
  display: flex;
  gap: 23px;
  padding: 28px 16px;
  align-items: center;
  position: relative
}

.reason .ic {
  flex: none;
  width: 112px;
  height: 112px;
  color: var(--blue)
}

.reason h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 28px
}

.reason p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .02em
}

.reasons .grid .reason:nth-child(1),
.reasons .grid .reason:nth-child(2) {
  border-bottom: 1px solid #dcdfe3
}

.reasons .grid .reason:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 66%;
  background: #dcdfe3
}

.about-cta {
  text-align: center;
  margin-top: 56px
}

.about-cta p {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: .1em
}

/* ---------- Business ---------- */
.biz {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 52px
}

.biz .vline {
  background: #d3d6da
}

.biz-col {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 24px
}

.biz .ic {
  grid-column: 1;
  grid-row: 1;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 0
}

.biz .ic svg {
  width: 32px;
  height: 32px;
  color: #fff
}

.biz h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .1em;
  display: flex;
  align-items: center
}

.biz .catch {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.2
}

.biz-col p:not(.catch),
.biz-col .thumb,
.biz-col .lnkwrap,
.biz-col .wp-block-buttons {
  grid-column: 1/-1
}

.biz p {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: 0
}

.biz .thumb {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 24px
}

/* ---------- DX ---------- */
.dx-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 5px 34px;
  min-height: 115px;
  margin: 0 auto;
  max-width: 776px
}

.dx-banner .ic {
  width: 105px;
  height: 105px;
  flex: none;
  display: grid;
  place-items: center
}

.dx-banner .ic svg {
  width: 34px;
  height: 34px
}

.dx-banner b {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: .16em
}

.dx-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 24px 4.7%
}

.dx-cols .vline {
  background: #d3d6da
}

.dx-col h3 {
  margin: 0 0 4px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .1em;
  display: flex;
  align-items: baseline;
  gap: 12px
}

.dx-col.after:not(.ai-dx-cols) h3 {
  color: var(--blue)
}

.dx-note {
  margin: 8px 0 16px;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  min-height: 64px
}

.speech-bubble {
  display: block;
  width: 100%;
  max-width: 340px;
  margin-top: -30px !important;
  margin-left: -20px !important;
  height: auto
}

.dx-illust {
  height: 170px;
  display: grid;
  place-items: center
}

.dx-illust:has(+ .step-wrap) {
  margin-bottom: 34px
}

.dx-illust img {
  height: 170px;
  width: auto;
  object-fit: contain
}

.step-wrap {
  --ic: min(80px, 7.6vw)
}

.step {
  display: flex;
  align-items: center;
  gap: 23px
}

.step .num {
  flex: none;
  width: var(--ic);
  height: var(--ic);
  border-radius: 20px;
  display: grid;
  place-items: center
}

.step .num.wp-block-image:after {
  display: none;
}

.dx-col.before .step .num,
.dx-cols.before .step .num {
  background: #747474
}

.dx-col.after .step .num {
  background: var(--blue)
}

.step .num svg {
  width: 26px;
  height: 26px
}

.step p {
  margin: 0;
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink)
}

.step-connect {
  width: 8px;
  height: 53px;
  /* After の --cn と揃える */
  margin-left: calc(var(--ic) / 2 - 4px);
  background: #747474
}

.dx-col.after .step-connect {
  background: var(--blue)
}

.step-wrap:has(.step-multi) {
  --icg: 10px;
  --cn: 53px;
  /* 縦の接続線（全段共通） */
  --txg: 17px;
  /* アイコン→文章 */
  padding-left: calc(var(--ic) + var(--icg))
}

.step-wrap:has(.step-multi) .step {
  gap: var(--txg)
}

.step-wrap:has(.step-multi) .step-connect {
  height: var(--cn)
}

.step-multi {
  position: relative
}

.step-multi .wp-block-group.num {
  position: relative;
  z-index: 1;
  align-self: flex-end
}

.step-multi .wp-block-group.num:first-child,
.step-multi .wp-block-group.num:nth-child(3) {
  position: absolute;
  bottom: 0
}

.step-multi .wp-block-group.num:first-child {
  left: calc(-1 * (var(--ic) + var(--icg)))
}

.step-multi .wp-block-group.num:nth-child(3) {
  left: calc(var(--ic) + var(--icg))
}

.step.step-multi p {
  flex: none;
  margin-left: calc(var(--ic) + var(--icg) - 4px)
}

.step.step-multi .ic-drawing img {
  width: 80%;
  height: 52.5%
}

.step.step-multi .ic-plan img {
  width: 72.5%;
  height: 75%
}

.step-multi+.step-connect {
  position: relative
}

.step-multi+.step-connect::before,
.step-multi+.step-connect::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: hypot(calc(var(--ic) + var(--icg)), calc(var(--ic) / 2 + var(--cn)));
  background: inherit;
  transform-origin: 50% 100%
}

.step-multi+.step-connect::before {
  transform: rotate(calc(-1 * atan2(calc(var(--ic) + var(--icg)), calc(var(--ic) / 2 + var(--cn)))))
}

.step-multi+.step-connect::after {
  transform: rotate(atan2(calc(var(--ic) + var(--icg)), calc(var(--ic) / 2 + var(--cn))))
}

.dx-boost {
  background: #fff;
  border-radius: 12px;
  padding: 42px 46px;
  margin-top: 56px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .05)
}

.dx-boost .bh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 32px
}

.dx-boost .bh .ic {
  flex: none;
  width: 98px;
  height: 98px;
  border-radius: 12px;
  background: var(--blue);
  display: grid;
  place-items: center
}

.dx-boost .bh .ic.wp-block-image:after {
  display: none;
}

.dx-boost .bh .ic svg {
  width: 32px;
  height: 32px;
  color: #fff
}

.dx-boost .bh b {
  color: var(--blue);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.7
}

.dx-tail {
  text-align: center;
  margin-top: 44px
}

.dx-tail p {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 2
}

/* Sample Plan（料金の目安） */
.plan-box {
  background: #fff;
  border-radius: 12px;
  padding: 61px 40px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .05);
  text-align: center
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px
}

.plan-box .en {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 22px
}

.plan-price {
  min-height: 98px;
  padding-left: 29px;
  border-left: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left
}

.plan-price .pr {
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 59px
}

.plan-price .pr-num {
  font-size: 48px;
  line-height: 1;
}

.plan-price .pr-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .3em;
  line-height: 19px
}

.plan-price .pr-sub::after {
  content: "";
  width: 102px;
  height: 1px;
  background: var(--ink)
}

.plan-box .plan-tx {
  margin-top: 26px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 38px
}

/* ---------- Achievements ---------- */
.ach-panel {
  padding: 63px 62px
}

.ach-panel .tb {
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1em
}

.ach-panel .tb .tn {
  font-size: 24px;
  font-weight: 500
}

.ach-top {
  display: grid;
  grid-template-columns: 294px 1fr;
  gap: 33px;
  align-items: start;
  margin-bottom: 38px
}

.ach-photo {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 294/190;
  object-fit: cover
}

.ach-photowrap .ach-cap {
  font-size: 12px;
  color: var(--ink);
  letter-spacing: .12em;
  margin-top: 8px;
}

.ach-tool {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.ach-tool .badge {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 6px;
  letter-spacing: .1em
}

.voice {
  margin-bottom: 24px
}

.voice h4 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0
}

.voice p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0
}

.voice p:first-of-type {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 0.5em;
}

.ach-bottom {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 38px
}

.ach-flow {
  display: flex;
  align-items: center;
  gap: 18px
}

.ach-flow figure {
  margin: 0;
  text-align: center
}

.ach-flow .fimg {
  max-width: 242px;
  aspect-ratio: 242/196;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 9px
}

.ach-flow .chev {
  flex: none;
  width: 15px;
  height: 30px;
  margin: 0 0 32px;
  font-size: 0;
  line-height: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 2.1px 0, 15px 15px, 2.1px 30px, 0 30px, 12.9px 15px)
}

.ach-result p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.72
}

.ach-cta {
  text-align: center;
  margin-top: 40px
}

/* ---------- Message ---------- */
.message-wrap {
  margin-bottom: 0 !important;
}

.message {
  z-index: 1;
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 108px;
  background-size: cover;
  background-position: center
}

.message span.wp-block-cover__background.has-background-dim-0.has-background-dim {
  opacity: 1;
  background: linear-gradient(to right, #1F99D9 0%, rgba(31, 153, 217, 0.00) 100%);
}

.message .inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.message .en {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .4em;
  line-height: 1.84
}

.message h2 {
  margin: 0 0 30px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1.56
}

.message p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.75;
  color: #fff
}

.message .sign {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 2.21
}

/* ---------- Contact CTA ----------。 */
.contact {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 65px 24px 75px
}

.contact .en {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 26px;
  margin: 0 0 10px
}

.contact h2 {
  margin: 0 0 42px;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: .4em;
  line-height: 1.6
}

.contact p {
  margin: 0 0 42px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.94
}

.contact .cta-note {
  margin: 0 0 18px;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.94
}

#content {
  margin-bottom: 0;
}

.l-footer__widgetArea {
  padding-top: 5em;
  padding-bottom: 2.5em;
}

.l-footer .c-listMenu a {
  border-bottom: none;
  padding: .35em 1em .35em 1.5em;
}

/* ---------- Responsive ---------- */
@media(max-width:950px) {
  .dx-cols {
    grid-template-columns: 1fr
  }

  .dx-cols .vline {
    display: none
  }

  .dx-col.before,
  .dx-col.after,
  .step-wrap {
    display: grid;
    justify-content: center;
  }

  .dx-col.before {
    margin-bottom: 32px
  }

  /* 1列になり幅に余裕が戻るので縮小を解除（AI/DX は 860px まで2列のままなので縮小を維持） */
  .step-wrap {
    --ic: 80px
  }

  .ai-dx-cols .step-wrap {
    --ic: min(80px, 7.6vw)
  }
}

@media(max-width:920px) {
  .tag-box {
    padding: 17px 10px
  }
}

@media(max-width:860px) {
  .hero h1 {
    text-shadow: 0 2px 14px rgba(0, 20, 40, .35)
  }

  .hero .nk-btn-ghost a {
    gap: 18px;
    padding: 18px 24px
  }

  .intro .row {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .compare,
  .biz {
    grid-template-columns: 1fr
  }

  .compare .vline,
  .biz .vline {
    display: none
  }

  .reasons .grid {
    grid-template-columns: 1fr
  }

  .reasons .grid .reason {
    border-right: 0 !important;
  }

  .reason {
    gap: 45px;
    padding: 28px 56px
  }

  .reasons .grid .reason:nth-child(3) {
    border-bottom: 1px solid #dcdfe3
  }

  .reasons .grid .reason:nth-child(odd)::after {
    display: none
  }

  .ach-top,
  .ach-bottom {
    grid-template-columns: 1fr
  }

  .ach-flow {
    justify-content: center
  }

  .panel,
  .reasons,
  .ach-panel {
    padding: 34px 24px
  }

  .hero .ghost {
    white-space: nowrap;
    line-height: 1;
    bottom: 0;
    font-size: clamp(24px, 7vw, 38px)
  }

  .dx-col.before,
  .dx-col.after {
    gap: 4px
  }

  .step-wrap {
    gap: 0
  }

  .message .inner {
    padding: 0 24px;
  }

  .message .en {
    font-size: 24px;
    letter-spacing: .3em
  }

  .message p {
    font-size: 15px;
    letter-spacing: .14em
  }

  .contact p {
    font-size: 15px;
    letter-spacing: .14em
  }

  .reasons .rsub {
    font-size: 18px
  }

  .about-cta p {
    font-size: 18px
  }

  .dx-banner {
    padding: 14px 20px;
    min-height: 0;
    gap: 12px
  }

  .dx-banner .ic {
    width: 64px;
    height: 64px
  }

  .dx-note {
    font-size: 17px;
    min-height: 0
  }

  .step {
    gap: 16px
  }

  /* AI/DX も1列になるので縮小を解除（950px以下の .ai-dx-cols .step-wrap を戻す） */
  .ai-dx-cols .step-wrap {
    --ic: 80px
  }

  .step-connect {
    width: 6px;
    height: 32px;
    margin-left: calc(var(--ic) / 2 - 3px)
  }

  /* アイコン3つ＋文章が375px幅に収まるようアイコンを縮小 */
  .step-wrap:has(.step-multi) {
    --ic: 60px;
    --icg: 6px;
    --cn: 32px;
    --txg: 16px
  }

  .step-wrap:has(.step-multi) .step .wp-block-group.num {
    border-radius: 15px
  }

  .tag-box {
    font-size: clamp(15px, 4.5333vw, 17px)
  }

  .biz .catch {
    line-height: 1.5
  }

  .dx-boost .bh {
    flex-direction: column;
    gap: 20px
  }

  .plan-box {
    padding: 36px 20px
  }

  .plan-head {
    flex-direction: column;
    gap: 14px
  }

  .plan-price {
    min-height: 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
    align-items: center;
    text-align: center
  }

  .plan-price .pr {
    font-size: 20px;
    letter-spacing: .06em;
    line-height: 1.4
  }

  .plan-price .pr-num {
    font-size: 38px;
    letter-spacing: .08em
  }

  .plan-price .pr-sub {
    margin-top: 6px;
    font-size: 14px;
    letter-spacing: .1em;
    line-height: 1.5
  }

  .plan-price .pr-sub::after {
    display: none
  }

  .plan-box .plan-tx {
    margin-top: 24px;
    font-size: 18px;
    letter-spacing: .06em;
    line-height: 1.7
  }

}

@media(max-width:700px) {

  /* アイコンは60pxのまま。狭い端末（約370px未満）でだけ幅に合わせて縮む */
  .step-wrap:has(.step-multi) {
    --ic: min(60px, 16vw);
    --icg: min(6px, 1.6vw);
    --txg: 12px
  }

  .hero h1 {
    letter-spacing: .24em
  }

  .hero .lead {
    font-size: clamp(13px, 1.4vw, 16px);
    letter-spacing: .1em;
  }

  .about-lead {
    line-height: 1.85;
  }

  .compare .txt {
    text-align: initial;
  }

  .reasons .grid .reason {
    border-right: 0 !important;
    border-bottom: 1px solid #dcdfe3 !important;
    flex-direction: column;
    align-items: center;
    gap: 0
  }

  .reasons .grid .reason:last-child {
    border-bottom: 0 !important
  }

  .reasons h3 {
    letter-spacing: .06em
  }

  .reasons .rsub {
    margin: 0 0 24px;
    font-size: 16px;
    letter-spacing: .04em;
    text-align: left;
  }

  .reason {
    padding: 28px 0;
  }

  .reason .ic {
    width: 65%;
    max-width: 192px;
    height: 124px;
    margin-bottom: 8px !important;
  }

  .reason h4 {
    text-align: center;
  }

  .reason p {
    text-align: center;
  }

  .ach-panel {
    padding: 34px 16px;
  }

  .ach-flow {
    gap: 10px;
  }

  .sec-head .tt .sub {
    letter-spacing: .08em
  }

  .about-cta p {
    font-size: 16px;
    letter-spacing: .04em
  }

  .dx-note {
    font-size: 15px
  }

  .dx-boost .bh .ic {
    width: 62px;
    height: 62px;
  }

  .dx-tail p {
    font-size: 16px;
    letter-spacing: .02em;
  }

  .plan-box .plan-tx {
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 1.8
  }
}

/* =========================================================
   Sub-page shared components
   ========================================================= */
/* ---- page hero banner ---- */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.page-hero .inner {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 32px;
  width: 100%
}

.page-hero .en-label {
  font-size: clamp(16px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .1em;
  margin: 0 0 20px;
  text-align: center
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(20px, 2.36vw, 34px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.24;
  text-align: center
}

.page-hero .watermark {
  position: absolute;
  left: 0;
  bottom: -0.1em;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: "Agdasima", "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.14vw, 74px);
  line-height: 1;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: .1em
}

.swell-block-fullWide:has(> .swell-block-fullWide__inner > .page-hero) {
  margin-bottom: 0 !important;
}

.page-head.swell-block-fullWide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body {
  padding-top: 0
}

/* ---- chips / tags ---- */
.chip {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 500
}

/* ---- info table (会社概要) ---- */
.nk-page .map-placeholder {
  width: 100%;
  height: 311px;
  margin-top: 61px;
  border-radius: 8px;
  background: #6f747c;
  overflow: hidden
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- case card (実績紹介) ---- */
.nk-page .case-card {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 45px 48px;
  margin-bottom: 30px
}

.case-row {
  display: grid;
  grid-template-columns: 306px 1fr;
  gap: 24px 56px;
  align-items: center;
}

.case-row-second {
  display: grid;
  grid-template-columns: 57% 1fr;
  gap: 24px 57px;
  align-items: center;
}

.case-flow {
  display: grid;
  grid-template-columns: minmax(0, 188fr) 15px minmax(0, 309fr);
  column-gap: 28px;
  align-items: start
}

.case-flow .fig {
  display: contents
}

.case-flow .figcap {
  grid-row: 1
}

.case-flow .case-img {
  grid-row: 2
}

.case-flow .cap {
  grid-row: 3
}

.case-flow .fig:first-child :is(.figcap, .case-img, .cap) {
  grid-column: 1
}

.case-flow .fig:last-child :is(.figcap, .case-img) {
  grid-column: 3
}

.case-flow .figcap {
  margin: 0;
  font-size: 16px;
  line-height: 29px;
  color: var(--ink);
  text-align: left
}

.case-flow .chev {
  grid-area: 2 / 2;
  align-self: center;
  width: 15px;
  height: 30px;
  margin: 0;
  font-size: 0;
  line-height: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 2.1px 0, 15px 15px, 2.1px 30px, 0 30px, 12.9px 15px)
}

.case-card h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink)
}

.case-txt:has(.case-tool) h3 {
  font-size: clamp(17px, 2.2vw, 24px)
}

.case-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink)
}

@media(max-width:1079px) {

  .case-row,
  .case-row-second {
    grid-template-columns: 1fr;
    max-width: 823px;
    margin-inline: auto
  }
}

@media(max-width:860px) {
  .nk-page .case-card {
    padding: 32px 20px;
    border-radius: 14px
  }

  .case-flow {
    column-gap: 10px
  }
}

@media(max-width:420px) {
  .case-flow {
    column-gap: 5px
  }
}

/* ---- contact form ---- */
.form-wrap {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 81px 32px;
  max-width: 1016px;
  margin: 0 auto
}

.form-wrap .form-inner {
  max-width: 765px;
  margin-inline: auto
}

.form-wrap p {
  word-break: break-all;
}

.nk-page .tel-block {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 60px 32px;
  max-width: 1016px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap
}

.tel-block .tel-inner {
  width: 100%;
  max-width: 765px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap
}

.tel-block .tlabel {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--ink);
  border-right: 2px solid #2a2f36;
  padding-right: 26px;
  height: 39px;
  line-height: 39px
}

.nk-page .tel-block.center {
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  justify-content: center
}

.tel-block .tmain {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 16px
}

.field {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 32px;
  margin-bottom: 28px
}

.field>label,
.field>p>label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2
}

.field .req {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .04em
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 13px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink)
}

.field input {
  height: 34px
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a8a8
}

.field input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff
}

.field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: -9px;
  top: -5px;
  width: 25px;
  height: 15px;
  background: url(../assets/icon-contact-check.svg) no-repeat center / contain
}

.field textarea {
  height: 115px;
  padding: 12px 13px;
  resize: vertical
}

.field .checks {
  display: grid;
  gap: 8px
}

.field .checks label {
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink);
  line-height: 1.4;
  width: fit-content;
  cursor: pointer
}

.field .checks label input {
  cursor: pointer
}

.field-inquiry br {
  display: none
}

.wpcf7-list-item {
  margin: 0
}

.privacy-box {
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 18px;
  height: 157px;
  overflow: auto;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.9
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  text-align: center;
  margin-top: 38px
}

.form-submit>p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  text-align: center;
  margin-top: 0
}

.wpcf7-form-control.wpcf7-submit,
.wpcf7-form-control.wpcf7-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 222px;
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  cursor: pointer
}

.wpcf7-form-control.wpcf7-submit {
  background: var(--blue);
  min-width: 318px
}

.wpcf7-form:has(.wpcf7-previous) .wpcf7-form-control.wpcf7-submit {
  min-width: 222px
}

/* 確認画面 */
.wpcf7-form:has(.wpcf7-previous) .field {
  margin-bottom: 32px
}

.wpcf7-form-control.wpcf7-previous {
  background: #b4b4b4
}

/* 「確認画面へ進む」「送信する」のホバー：左から右へ配色が反転する（離すと右から左へ戻る） */
.wpcf7-form-control.wpcf7-submit {
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  background-position: left center;
  background-size: 0 100%;
  outline: 1px solid transparent;
  outline-offset: -1px;
  transition: background-size .3s ease-out, color .3s ease-out, outline-color .3s ease-out
}

.wpcf7-form-control.wpcf7-submit:hover {
  background-size: 100% 100%;
  color: var(--blue);
  outline-color: var(--blue)
}

/* 「修正する」はopacity だけ変化 */
.wpcf7-form-control.wpcf7-previous {
  transition: opacity .3s ease-out
}

.wpcf7-form-control.wpcf7-previous:hover {
  opacity: .8
}

.wpcf7-spinner {
  margin: 0 0 0 8px;
  position: absolute
}

.wpcf7 .field label[for] {
  cursor: default
}

.wpcf7-not-valid-tip {
  grid-column: 2;
  font-size: 12px;
  margin-top: 4px
}

@media(max-width:860px) {
  .form-submit {
    flex-direction: column
  }

  .wpcf7-form-control.wpcf7-submit,
  .wpcf7-form-control.wpcf7-previous {
    width: 100%
  }
}

/* ---- generic sub-page section head reuse handled by .sec-head ---- */
@media(max-width:860px) {
  .sec-head {
    flex-direction: column;
    align-items: start;
  }

  .sec-head .bar,
  .form-wrap .sec-head .bar {
    width: 58px;
    min-height: 2px;
    height: 2px;
  }

  .form-wrap .sec-head {
    align-items: center;
    text-align: center
  }

  .form-wrap .sec-head .bar {
    align-self: center
  }

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

  .form-wrap {
    padding: 32px 16px
  }
}

/* ---- service sections (事業紹介 施工) ---- */
.svc {
  padding: 82px 0
}

.svc+.svc {
  padding-top: 0;
}

.svc.gray {
  background: var(--bg-gray)
}

.svc-title {
  margin: 0 0 40px;
  color: var(--blue);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center
}

.svc-lead {
  display: grid;
  grid-template-columns: 1fr 364px;
  gap: 48px;
  align-items: center;
  margin-bottom: 44px
}

.svc-lead:has(.ph:first-child) {
  grid-template-columns: 364px 1fr
}

.svc-lead .ph {
  width: 100%;
  aspect-ratio: 364/202;
  object-fit: cover;
  border-radius: 10px;
}

.svc-lead .ph img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.svc-lead h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #2d2d2d;
  letter-spacing: normal;
  line-height: 2
}

.svc-lead p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #2d2d2d;
  letter-spacing: normal
}

.sub-label {
  text-align: center;
  font-size: 20px;
  letter-spacing: .14em;
  margin: 0 0 22px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 24px !important;
}

.sub-label.kenchiku-sub {
  font-size: 24px;
  letter-spacing: .1em;
  line-height: 42px;
  color: #000;
  margin-bottom: 20px !important
}

.chip.big {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 10px;
  min-width: 150px;
  text-align: center
}

.chip.wide {
  min-width: 460px;
  flex: 1
}

.svc-card {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 44px 48px;
  margin-top: 0
}

.chip-row+.svc-card {
  margin-top: 20px
}

.svc-card.white {
  background: #fff;
  border: 1px solid var(--line)
}

.svc-card h4 {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: normal;
  line-height: 1.46
}

.svc-card p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink)
}

.svc-card .attr {
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 10px
}

.svc-card .blue-list {
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: normal
}

.kicker {
  text-align: center;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-top: 36px;
  margin-bottom: 16px !important;
}

.kicker-wrap {
  margin-top: 24px !important;
}

.kicker-wrap .is-stack__inner-container {
  display: grid;
  place-items: center;
}

.center-cta {
  text-align: center;
  margin-top: 24px
}

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

.collage img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 10px
}

@media(max-width:860px) {

  .svc-lead,
  .svc-lead:has(.ph:first-child) {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .sub-label.kenchiku-sub {
    font-size: 20px;
    line-height: 1.75
  }

  .chip.wide {
    min-width: 0;
    width: 100%
  }

  .collage {
    grid-template-columns: 1fr 1fr
  }
}

/* ---- AI/DX page specific ---- */
.svc.aidx-intro {
  padding: 100px 0
}

.aidx-intro .wrap {
  display: grid;
  grid-template-columns: 274px 1fr;
  align-items: center;
  gap: 20px;
}

.aidx-intro .label {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.75;
  margin: 0 0 18px
}

.aidx-intro .ic {
  grid-column: 1;
  grid-row: 1;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 0;
}

.aidx-intro .ic img {
  width: 81%;
  height: 81%
}

.aidx-intro .lead {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .1em;
  margin: 0
}

@media(max-width:860px) {
  .aidx-intro .wrap {
    grid-template-columns: 1fr;
  }

  .stat-callout .l1-text {
    letter-spacing: .06em;
  }
}

/* AI/DXページ(.aidx-lead-row/.photos)と建築・施工ページ(.kenchiku-hero-row/.collage)のヒーロー行を共通化 */
.aidx-lead-row,
.kenchiku-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px
}

.aidx-lead-row .photos,
.kenchiku-hero-row .collage {
  position: relative;
  aspect-ratio: 480/424
}

.aidx-lead-row .photos figure,
.kenchiku-hero-row .collage figure {
  position: absolute;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  border-radius: 10px;
  overflow: hidden;
}

.aidx-lead-row .photos img,
.kenchiku-hero-row .collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.aidx-lead-row .photos figure:nth-child(1),
.kenchiku-hero-row .collage figure:nth-child(1) {
  top: 0;
  left: 0;
  width: 71.875%;
  height: 54%;
  z-index: 1
}

.aidx-lead-row .photos figure:nth-child(2),
.kenchiku-hero-row .collage figure:nth-child(2) {
  top: 27.358%;
  left: 47.917%;
  width: 52.083%;
  height: 38.679%;
  z-index: 2
}

.aidx-lead-row .photos figure:nth-child(3),
.kenchiku-hero-row .collage figure:nth-child(3) {
  top: 59.906%;
  left: 11.042%;
  width: 54.792%;
  height: 39.858%;
  z-index: 3
}

.aidx-lead-tx p.kicker {
  margin: 20px 0 0;
}

.ai-dx-cols .speech-bubble {
  max-width: 388px;
  margin-top: -58px !important;
  margin-left: -13px !important;
}

.ai-dx-cols .dx-illust {
  margin-top: -50px !important;
  margin-left: 60px !important;
}

.ai-dx-cols .dx-note {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  min-height: 0
}

.nk-page .aidx-items-head {
  position: relative;
  z-index: 1;
  margin-bottom: -85px;
}

.aidx-arrow-triangle {
  display: flex;
  justify-content: center;
}

.aidx-arrow-triangle.black {
  margin-block: 32px 20px;
}

.aidx-arrow-triangle.blue {
  margin-block: 48px;
}

.aidx-arrow-triangle img {
  width: 163px;
  height: auto
}

.aidx-items {
  max-width: 1016px;
  margin-inline: auto;
  padding: 113px 24px 37px;
}

.ai-dx-cols {
  max-width: 1016px;
  margin-inline: auto
}

.ai-dx-cols.dx-cols,
.ai-dx-cols .dx-cols {
  grid-template-columns: 1fr 1fr
}

.ai-dx-cols.after .dx-cols {
  column-gap: 2%
}

.aidx-items.gray {
  background: var(--bg-gray);
  border-radius: 20px;
}

.aidx-item {
  padding-block: 56px;
}

.aidx-divider {
  width: 100%;
  max-width: 835px;
  height: 1px;
  margin: 0 auto;
  background: #000000;
}

.dx-flow-head {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.58;
  margin: 0 0 12px;
  padding: 56px 20px;
}

.dx-flow-head::before {
  position: absolute;
  z-index: -1;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  aspect-ratio: 730 / 189;
  background-image: url(../assets/dx-flow-bg@2x.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(730px, 100%) auto;
}

.aidx-item .dx-boost {
  background: transparent;
  border-radius: 0;
  padding: 42px 46px;
  margin-top: 56px;
  box-shadow: initial;
}

.aidx-bar {
  width: 100%;
  max-width: 817px;
}

.gray-banner {
  background: #747474;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 20px 24px;
  font-size: clamp(16px, 1.67vw, 24px);
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.83;
  max-width: 798px;
  margin: 26px auto 0
}

.boost-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 554px;
  margin: 0 auto
}

.boost-banner .bb-ic {
  flex: none;
  width: 120px
}

.boost-banner .bb-ic img {
  width: 100%;
  height: auto
}

.boost-banner .bb-tx {
  margin: 0;
  font-size: clamp(18px, 2.22vw, 32px);
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.5;
  text-align: left
}

.stat-callout {
  text-align: center;
  color: var(--blue);
  margin: 46px 0 10px;
  line-height: 1.2
}

.stat-callout.stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  margin-bottom: 3em
}

.stat-callout .sc-tx {
  text-align: left
}

.stat-callout .sc-ic {
  flex: none;
  width: 98px;
  height: 98px;
  border-radius: 20px;
  background: var(--blue);
  display: grid;
  place-items: center
}

.stat-callout .sc-ic img {
  width: 83%;
  height: 83%;
  object-fit: contain
}

.stat-callout .l1-text {
  font-size: clamp(18px, 1.94vw, 28px);
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.6
}

.stat-callout .l1 {
  font-size: clamp(20px, 2.22vw, 32px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 48px
}

.stat-callout .l1 .lbl {
  font-size: clamp(26px, 2.92vw, 42px)
}

.stat-callout .big {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  vertical-align: -4px;
  position: relative
}

.stat-callout .big::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.125em;
  transform: translateX(-50%);
  width: 2.806em;
  height: .111em;
  background: var(--blue)
}

.stat-callout .l2 {
  display: block;
  margin-top: 0;
  font-size: clamp(15px, 1.53vw, 22px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 48px
}

.stat-callout .mid {
  font-size: clamp(30px, 3.61vw, 52px)
}

.aidx-close-text {
  width: 100%;
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 2.1;
  color: var(--ink);
  letter-spacing: .04em;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 16px !important;
}

.aidx-close-icon {
  width: 158px;
  height: 158px;
  margin: 0 auto;
  display: block
}

.aidx-close-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.blue-panel {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 21px 40px;
  text-align: center;
  font-size: clamp(17px, 1.81vw, 26px);
  font-weight: 700;
  letter-spacing: .25em;
  line-height: 1.62;
  max-width: 800px;
  margin: 37px auto 0
}

.aidx-subhead {
  text-align: center;
  color: var(--blue);
  margin: 0
}

.aidx-tool-title {
  text-align: center;
  margin: 0 0 39px
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)).aidx-tool-title {
  color: #2d2d2d;
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.78;
}

.aidx-kicker {
  font-size: 16px;
  letter-spacing: .3em;
  line-height: 1.94;
  margin-bottom: 0 !important
}

.aidx-kicker+.center-cta {
  margin-top: 13px
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)).aidx-subhead {
  color: var(--blue);
  font-size: clamp(20px, 1.94vw, 28px);
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.72;
}

/* schedule table */
.sched {
  width: 100%;
  max-width: 771px
}

.sched-summary {
  color: var(--blue);
  text-align: center;
  max-width: 771px;
  margin: 37px auto 0 !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.73;
  letter-spacing: .15em
}

.sched-summary b {
  font-size: clamp(17px, 2.2vw, 22px);
  display: block;
  margin-bottom: 8px
}

/* tool cards */
.nk-page .tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 47px;
  max-width: 751px;
  margin: 0 auto 30px
}

.tool-card {
  padding: 0;
  text-align: center
}

/* founder story */
.aidx-message .svc {
  padding: 100px 0
}

.sec-head.founder .tt h2 {
  font-weight: 500;
  letter-spacing: .15em;
  color: #2d2d2d
}

.founder {
  max-width: none;
  text-align: left
}

.founder p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 2.1;
  color: #2d2d2d;
  letter-spacing: .08em;
  font-weight: 700
}

.founder .sign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: .08em;
  color: #2d2d2d;
  font-weight: 700
}

.founder .sign::after {
  content: "";
  flex: none;
  width: 157px;
  height: 1px;
  background: #000
}

.aidx-message {
  margin-bottom: 0 !important;
}

@media(max-width:860px) {

  .aidx-lead-row,
  .kenchiku-hero-row {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .aidx-lead-row .photos,
  .kenchiku-hero-row .collage {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    gap: 10px;
    overflow-x: auto
  }

  .aidx-lead-row .photos figure,
  .kenchiku-hero-row .collage figure {
    position: static;
    box-shadow: none;
    width: 31% !important;
    height: auto !important;
    flex: 0 0 31%
  }

  .aidx-lead-row .photos img,
  .kenchiku-hero-row .collage img {
    aspect-ratio: 3/2;
    width: 100% !important;
    height: 100% !important
  }

  .nk-page .tool-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: none
  }

  .boost-banner {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px
  }

  .boost-banner .bb-ic {
    width: 82px
  }

  .nk-page .aidx-items-head {
    margin-bottom: -40px
  }

  .aidx-items {
    padding-top: 68px
  }

  .ai-dx-cols.dx-cols,
  .ai-dx-cols .dx-cols {
    grid-template-columns: 1fr
  }

  .ai-dx-cols .dx-illust {
    margin-top: -40px !important;
    margin-left: 90px !important
  }

  .ai-dx-cols .dx-illust img {
    height: 150px
  }

  .aidx-arrow-triangle.blue {
    margin-block: 32px 28px
  }

  .dx-flow-head {
    padding: 40px 16px;
    letter-spacing: .06em
  }

  .gray-banner {
    letter-spacing: .06em;
    padding: 16px
  }

  .boost-banner .bb-tx {
    letter-spacing: .06em
  }

  .blue-panel {
    letter-spacing: .08em
  }

  .stat-callout.stat-row {
    gap: 14px;
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 2em
  }

  .stat-callout .sc-ic {
    width: 64px;
    height: 64px;
    border-radius: 14px
  }

  .stat-callout .sc-tx {
    text-align: center
  }

  .stat-callout .l1 .ib,
  .sched-summary .ib {
    display: inline-block
  }

  .founder .sign {
    flex-wrap: wrap;
    gap: 12px
  }

  .founder .sign::after {
    width: 80px
  }

  .sched {
    font-size: 12px;
    overflow-x: auto;
    background:
      linear-gradient(to right, #F7F7F7 30%, rgba(247, 247, 247, 0)) left center,
      linear-gradient(to left, #F7F7F7 30%, rgba(247, 247, 247, 0)) right center,
      radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0)) left center,
      radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0)) right center;
    background-repeat: no-repeat;
    background-size: 36px 100%, 36px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
  }

  .nk-page .wp-block-table.sched table {
    min-width: 580px;
  }

  .sched th,
  .sched td {
    padding: 9px 8px
  }

  .blue-panel {
    padding: 20px 12px;
  }
}

/* 横スクロールできることを示すヒント。figure内だと一緒に流れるので直前の見出しに出す。
   表示するのは表が実際にはみ出す幅だけ。
   表の min-width:580px に対し .sched の内寸が 580px を切るのが 682px 以下（683pxではまだ収まる）。
   ※ min-width や左右の余白を変えたら、この 682px も測り直すこと（CSSだけでは溢れを検知できない） */
@media(max-width:682px) {
  .sub-label.nk-mt2::after {
    content: "→ 横にスクロールできます";
    display: block;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--gray);
    margin-top: 4px
  }
}


/* === page-specific styles merged for block build === */

/* ---- business-construction.html ---- */
.kenchiku-intro .wrap {
  display: grid;
  grid-template-columns: 182px 1fr;
  align-items: center;
  gap: 20px;
}

.kenchiku-intro {
  padding: 100px 0
}

.kenchiku-intro .label {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 42px;
  text-align: center;
  margin: 0 0 18px
}

.kenchiku-intro .ic {
  grid-column: 1;
  grid-row: 1;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 0;
}

.kenchiku-intro .ic img {
  width: 81%;
  height: 81%
}

.kenchiku-intro .lead {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .1em;
  margin: 0;
  max-width: 800px
}

.earthquake-resistant .ic-wrap {
  margin-top: 23px;
  margin-bottom: 13px;
  display: grid;
  place-items: center;
}

.earthquake-resistant .ic {
  flex: none;
  width: 98px;
  height: 98px;
  border-radius: 12px;
  background: var(--blue);
  display: grid;
  place-items: center;
}

/* ---- works.html ---- */
.works-intro {
  background: var(--bg-gray);
  padding: 92px 0 90px
}

.works-intro-row {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.works-intro-collage {
  position: relative;
  width: 320px;
  height: 292px;
  flex: none;
  z-index: 0
}

.works-intro-collage .icon-sq {
  position: absolute;
  background: var(--blue);
  border-radius: 20px;
  width: 194px;
  height: 194px;
  display: flex;
  align-items: center;
  justify-content: center
}

.works-intro-collage .icon-sq figure {
  position: relative;
  z-index: 1;
  width: 81%
}

.works-intro-collage .icon-sq img {
  width: 100%;
  height: auto
}

.works-intro-collage .icon-sq-ai {
  top: 0;
  left: 0
}

.works-intro-collage .icon-sq-cn {
  top: 97px;
  left: 126px
}

.works-intro-txt {
  flex: 1 1 0;
  min-width: 0;
  text-align: left
}

.nk-page .works-intro-head {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 0 20px
}

.works-intro-txt .en {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: none;
  white-space: nowrap;
  color: var(--blue);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.86;
  letter-spacing: .1em;
  margin: 0
}

.works-intro-txt .en::after {
  content: "";
  width: 2px;
  height: 84px;
  background: var(--blue)
}

.works-intro-txt h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.57;
  text-align: left
}

.works-intro-txt p {
  margin: 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .3em;
  color: var(--ink);
  text-align: left
}

@media(max-width:860px) {
  .kenchiku-intro .wrap {
    grid-template-columns: 1fr;
  }

  .works-intro {
    padding: 56px 0
  }

  .works-intro-row {
    flex-direction: column;
    gap: 28px;
    padding: 0
  }

  .works-intro-collage {
    width: 240px;
    height: 219px;
    margin: 0 auto
  }

  .works-intro-collage .icon-sq {
    width: 146px;
    height: 146px
  }

  .works-intro-collage .icon-sq-cn {
    top: 73px;
    left: 94px
  }

  .works-intro-txt,
  .works-intro-txt .en,
  .works-intro-txt h2 {
    text-align: center
  }

  .nk-page .works-intro-head {
    flex-direction: column;
    align-items: center;
    gap: 12px
  }

  .works-intro-txt .en {
    flex-direction: column;
    justify-content: center;
    gap: 12px
  }

  .works-intro-txt .en::after {
    width: 22px;
    height: 2px
  }

  .works-intro-txt p {
    max-width: none;
    letter-spacing: .14em
  }
}

/* 実績カード群のセクション */
.works-sec {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto
}

.nk-page .tab-prompt {
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .3em;
  margin: 0 0 30px
}

/* ---- SWELLタブブロック（実績紹介） ---- */
.swell-block-tab.is-style-default>.c-tabList {
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  margin: 0 !important
}

.swell-block-tab.is-style-default>.c-tabList .c-tabList__item {
  flex: 0 1 auto
}

.swell-block-tab.is-style-default>.c-tabList .c-tabList__button {
  min-width: 272px;
  padding: 14px 20px;
  border-radius: 0;
  border: 2px solid var(--blue);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: normal;
  background: #fff;
  color: var(--blue);
  opacity: 1;
  font-weight: 700;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  background-position: left center;
  background-size: 0 100%;
  transition: background-size .3s ease-out, color .3s ease-out
}

.swell-block-tab.is-style-default>.c-tabList .c-tabList__button:hover,
.swell-block-tab.is-style-default>.c-tabList .c-tabList__button[aria-selected="true"] {
  background-size: 100% 100%;
  color: #fff;
  opacity: 1
}

.swell-block-tab.is-style-default .c-tabBody {
  border: 0 !important;
  margin-top: 0;
  padding: 73px 0 0 !important
}

@media(max-width:860px) {
  .swell-block-tab.is-style-default>.c-tabList {
    gap: 12px
  }

  .swell-block-tab.is-style-default>.c-tabList .c-tabList__button {
    min-width: 0;
    padding: 12px 20px;
    font-size: 14px
  }

  .swell-block-tab.is-style-default .c-tabBody {
    padding: 3em 0 0 !important
  }
}

.nk-page .case-card+.nk-center {
  margin-top: 60px
}

/* ---- company.html ---- */
.msg-block {
  padding: 95px 0 99px;
  background: var(--bg-gray)
}

.msg-block .row {
  display: grid;
  grid-template-columns: 328px 1fr;
  gap: 51px;
  align-items: center;
  max-width: 938px;
  margin: 0 auto;
  padding: 0 32px
}

.msg-block .msg-txt {
  min-width: 0
}

.msg-block img {
  width: 328px;
  height: auto
}

.nk-page .msg-head {
  display: flex;
  align-items: center;
  gap: 37px;
  margin-bottom: 29px
}

.msg-block .en {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  white-space: nowrap;
  color: var(--blue);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: .1em
}

.msg-block .en::after {
  content: "";
  width: 2px;
  height: 81px;
  background: var(--blue)
}

.msg-block h2 {
  margin: 0;
  white-space: nowrap;
  color: var(--blue);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.55
}

.msg-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .3em;
  color: #000
}

.msg-block .sign {
  margin-top: 21px;
  font-size: 12px;
  line-height: 31px;
  letter-spacing: .3em;
  color: #000
}

.info-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px
}

.info-panel {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 104px 71px 116px;
  margin: 0 auto
}

/* .sec-head は共通クラスなので、会社概要ページ固有の値は .info-panel でスコープする */
.info-panel .sec-head {
  margin-bottom: 73px
}

.info-panel .sec-head .en {
  letter-spacing: .1em
}

.info-panel .sec-head .bar {
  width: 1px;
  align-self: center;
  min-height: 0;
  height: 39px
}

.info-panel .sec-head .tt h2 {
  letter-spacing: 0;
  line-height: 1.2
}

@media(max-width:920px) {
  .nk-page .msg-head {
    gap: 20px
  }

  .msg-block .en {
    gap: 14px
  }
}

@media(max-width:860px) {
  .msg-block {
    padding: 56px 0
  }

  .msg-block .row {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 0
  }

  .msg-block .msg-illust img {
    max-width: 70%;
    margin: 0 auto
  }

  .nk-page .msg-head {
    display: block;
    margin-bottom: 20px
  }

  .msg-block h2 {
    white-space: normal
  }

  .msg-block .en {
    flex-direction: column;
    justify-content: center;
    margin: 0 0 14px
  }

  .msg-block .en::after {
    width: 22px;
    height: 2px
  }

  .msg-block p {
    font-size: 14px;
    letter-spacing: .08em
  }

  .info-wrap {
    padding: 0;
  }

  .info-panel {
    padding: 32px 22px
  }

  .info-panel .sec-head {
    margin-bottom: 28px
  }

  .info-panel .sec-head .bar {
    width: 58px;
    min-height: 2px;
    height: 2px
  }
}

/* ---- contact.html ---- */
.field>label,
.field>p>label {
  position: relative;
  display: block;
  color: var(--blue);
  font-weight: 900;
  text-align: right
}

.field .req {
  position: absolute;
  top: -10px;
  right: 0;
  margin: 0;
  padding: 0;
  background: none;
  color: #ff0000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  vertical-align: baseline
}

.field input.short {
  max-width: 248px
}

/* お問い合わせ種別で AI/DX を選んだときだけ表示（.is-aidx は js/contact.js と functions.php で付与） */
.wpcf7-form:not(.is-aidx) .field-dept,
.wpcf7-form:not(.is-aidx) .req-aidx {
  display: none
}

.nk-page p.field-count {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
}

.privacy-head {
  text-align: center;
  letter-spacing: .1em;
}

.post_content h3.privacy-head {
  margin: 38px 0 25px;
  font-size: 20px;
  font-weight: 400;
}

.tel-block .tmain {
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 700
}

/* 送信完了ページ */
.post_content h2.thanks-title {
  margin: 0 0 44px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2
}

.nk-page p.thanks-lead {
  font-size: 16px;
  line-height: 1.625
}

@media(min-width:861px) {

  .field>label,
  .field>p>label {
    padding-top: 9px;
  }

  .field-data {
    padding-top: 3px;
  }
}

@media(max-width:860px) {

  .field>label,
  .field>p>label {
    text-align: left;
    width: fit-content
  }

  .field .req {
    top: -8px;
  }

  .field input.short {
    max-width: 100%
  }

  .wpcf7-form-control.wpcf7-submit {
    min-width: 250px
  }

  .intro h2 {
    letter-spacing: .2em
  }

  .intro p {
    letter-spacing: .16em
  }

  .biz-col {
    grid-template-columns: 70px 1fr;
    column-gap: 16px
  }

  .biz .ic {
    width: 70px;
    height: 70px
  }

  .dx-boost {
    padding: 22px 16px
  }

  .stat-callout .l1 {
    letter-spacing: .04em
  }

  .svc-card {
    padding: 24px 24px
  }

  .nk-page .tel-block {
    padding: 30px 16px
  }

  .tel-block .tel-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px
  }

  .tel-block .tlabel {
    width: 58px;
    text-align: center;
    height: auto;
    line-height: 1.86;
    border-right: 0;
    border-bottom: 2px solid #2a2f36;
    padding-right: 0;
    padding-bottom: 12px
  }

  .tel-block .tmain {
    text-align: center
  }

  .contact {
    padding: 78px 0
  }

  .contact h2 {
    letter-spacing: .04em
  }

  .sec-head .tt h2 {
    letter-spacing: .06em
  }

  .svc-title {
    letter-spacing: .04em
  }

  .kicker {
    font-size: 14px
  }

  .nk-page:has(.page-hero) .swell-block-fullWide__inner:not(.l-container):not(:has(> .page-hero)) {
    padding-left: var(--swl-pad_container, 0);
    padding-right: var(--swl-pad_container, 0);
  }
}

@media(max-width:700px) {

  /* AI/DX After：アイコン3つ横並びの右に文章を置く幅を確保 */
  .aidx-items {
    padding-inline: 10px
  }
}