/*
Theme Name: SevenNavi
Theme URI: https://sevennavi.jp
Author: SevenNavi
Author URI: https://sevennavi.jp
Description: SevenNavi Web制作事業部サイト。Web制作、LINE導線、小さなDX、月額保守の相談導線を中心にした自作テーマ。
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
License URI: https://sevennavi.jp
Text Domain: sevennavi
*/

:root {
  --bg: #f3efe6;
  --paper: #fffaf1;
  --ink: #18231f;
  --muted: #676158;
  --line: rgba(24, 35, 31, 0.16);
  --yellow: #ddc66a;
  --green: #2f6655;
  --blue: #36566a;
  --red: #b84832;
  --dark: #18231f;
  --soft: #f7f1e4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.035) 0 1px, transparent 1px 16px),
    var(--bg);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.72;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(116deg, rgba(221,198,106,0.18) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 18px),
    rgba(24, 35, 31, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header::before {
  content: "";
  position: absolute;
  left: -20%;
  bottom: 0;
  width: 42%;
  height: 3px;
  background: var(--yellow);
  transform: skewX(-24deg);
  animation: headerRail 4.8s ease-in-out infinite;
}

.site-header::before {
  display: none;
  animation: none;
}

@keyframes headerRail {
  0%, 100% { left: -24%; opacity: 0.5; }
  52% { left: 82%; opacity: 1; }
}

.logo,
.nav-pc,
.menu-button,
.header-status {
  position: relative;
  z-index: 1;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 54px);
  background:
    repeating-linear-gradient(135deg, rgba(221,198,106,0.18) 0 1px, transparent 1px 18px),
    var(--dark);
  color: var(--yellow);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.boot.done {
  opacity: 0;
  visibility: hidden;
}

.boot-line {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.boot-line.show {
  opacity: 1;
  transform: translateY(0);
}

.boot-bar {
  height: 4px;
  margin-top: 18px;
  background: rgba(242,207,29,0.22);
  overflow: hidden;
}

.boot-bar-fill {
  width: 0;
  height: 100%;
  background: var(--yellow);
}

.logo img {
  width: 178px;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover img {
  transform: translateY(-2px) rotate(-1deg);
  filter: drop-shadow(5px 5px 0 rgba(242,207,29,0.2));
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  margin-right: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(242,207,29,0.56);
  color: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.header-status span {
  width: 7px;
  height: 7px;
  background: #06c755;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(6,199,85,0.58);
  animation: statusPulse 1.5s ease-out infinite;
}

@keyframes statusPulse {
  to { box-shadow: 0 0 0 8px rgba(6,199,85,0); }
}

.nav-pc {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-pc a {
  position: relative;
  padding: 6px 0;
  opacity: 0.84;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-pc a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transition: right 0.22s ease;
}

.nav-pc a:hover {
  opacity: 1;
  color: var(--yellow);
  transform: translateY(-2px);
}

.nav-pc a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 7px 0;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 76px;
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 12px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 16px),
    rgba(24, 35, 31, 0.98);
  color: #fff;
  box-shadow: 0 18px 34px rgba(17,17,17,0.24);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  font-size: 14px;
  font-weight: 900;
}

.mobile-nav a::after {
  content: "OPEN";
  color: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav-open .menu-button span:first-child {
  transform: translateY(4.5px) rotate(42deg);
}

.nav-open .menu-button span:last-child {
  transform: translateY(-4.5px) rotate(-42deg);
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 118px clamp(18px, 4vw, 56px) 76px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 18px),
    var(--paper);
}

.hero-bg {
  position: absolute;
  top: 76px;
  right: 0;
  bottom: 0;
  width: min(52vw, 780px);
  overflow: hidden;
  background: #d8d0c2;
  border-left: 1px solid rgba(17,17,17,0.12);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 247, 0.18);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 1100px);
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.meta-ticket {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  min-height: 48px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.08) 0 1px, transparent 1px 14px),
    var(--yellow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meta-ticket b,
.meta-ticket span {
  display: flex;
  align-items: center;
  padding: 9px 10px;
}

.meta-ticket b {
  background: var(--ink);
  color: #fff;
}

.meta-ticket span {
  min-width: 0;
}

.meta-ticket em {
  position: absolute;
  right: 8px;
  bottom: 4px;
  color: rgba(17,17,17,0.48);
  font-family: "Anton", Impact, sans-serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.meta-ticket:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: 6px 6px 0 rgba(17,17,17,0.16);
}

.meta-ticket:active {
  transform: translateY(0) rotate(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  min-height: 590px;
  padding-top: 38px;
}

.eyebrow,
.section-num,
.panel-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1,
.section h2,
.cta-band h2 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  line-height: 1.08;
  font-size: clamp(46px, 4.7vw, 64px);
}

.wave-line {
  display: block;
  white-space: nowrap;
  transform-origin: left bottom;
  animation: headlineLineWave 4.2s ease-in-out infinite;
}

.wave-line span {
  display: inline-block;
  transform-origin: center bottom;
  animation: headlineWave 3.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.045s);
}

@keyframes headlineWave {
  0%, 100% { transform: translateY(0) rotate(0); }
  28% { transform: translateY(-5px) rotate(-0.7deg); }
  46% { transform: translateY(2px) rotate(0.35deg); }
  62% { transform: translateY(0) rotate(0); }
}

@keyframes headlineLineWave {
  0%, 100% { transform: translateY(0) skewX(0deg); }
  34% { transform: translateY(-3px) skewX(-1.4deg); }
  58% { transform: translateY(1px) skewX(0.8deg); }
}

.hero-copy {
  max-width: 620px;
}

.section h2 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  width: min(100%, 570px);
  margin: 28px 0 0;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 800;
  color: #23211e;
}

.hero-request {
  width: min(100%, 590px);
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 12px),
    rgba(255, 253, 247, 0.92);
}

.hero-request p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-request div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-request span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-request span:hover {
  background: var(--yellow);
  transform: translateY(-2px) rotate(-1deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-line {
  gap: 8px;
  background: #06c755;
  border-color: #06c755;
  color: #fff;
}

.btn-line::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 46%, transparent 47%),
    #06c755;
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-plain {
  background: rgba(255, 253, 247, 0.84);
}

.btn-dark {
  background: #fff;
  color: var(--ink);
}

.hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--ink);
  background: rgba(255, 253, 247, 0.92);
  max-width: 460px;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-list a,
.industry-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

.capability-list a:hover {
  background: var(--yellow);
  transform: translateY(-2px) rotate(-1deg);
}

.mini-flow {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mini-flow div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-weight: 900;
}

.mini-flow b {
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  color: var(--green);
}

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee span {
  padding: 14px 26px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  padding: clamp(72px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section > * {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 38px;
}

.with-media {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.section h2 {
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.08;
}

.section-head p:not(.section-num) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.section-photo {
  margin: 0;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: #ddd4c2;
  aspect-ratio: 16 / 10;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-section {
  background:
    repeating-linear-gradient(135deg, rgba(37,70,94,0.08) 0 1px, transparent 1px 20px),
    #f7f2e8;
}

.service-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.price-card,
.dx-cases article,
.app-card {
  border: 1px solid var(--ink);
  background: #fffdf7;
  color: var(--ink);
}

.service-card {
  position: relative;
  min-height: 244px;
  padding: 22px;
  overflow: hidden;
}

.interactive-card {
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.interactive-card::after {
  content: "TAP";
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(17,17,17,0.36);
  font-family: "Anton", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.interactive-card:hover,
.interactive-card:focus-visible {
  transform: translateY(-6px) rotate(-0.45deg);
  box-shadow: 10px 10px 0 rgba(36,92,74,0.16);
  outline: none;
}

.interactive-card.is-active {
  background:
    repeating-linear-gradient(135deg, rgba(242,207,29,0.14) 0 1px, transparent 1px 14px),
    #fffdf7;
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.card-image {
  margin: -22px -22px 18px;
  border-bottom: 1px solid var(--ink);
  background: #efe8d9;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.42s ease;
}

.interactive-card:hover .card-image img,
.interactive-card:focus-visible .card-image img {
  transform: scale(1.06) rotate(0.4deg);
  filter: saturate(1.08) contrast(1.02);
}

.service-card span,
.plan {
  display: block;
  margin-bottom: 16px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--green);
}

.service-card h3,
.price-card h3,
.dx-cases h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.service-card p,
.price-card p,
.dx-cases p,
.app-card p {
  margin: 0;
  font-weight: 800;
}

.price-section {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px),
    var(--ink);
  color: #fff;
}

.price-section .section-num {
  color: var(--yellow);
}

.price-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-color: rgba(255,255,255,0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.price-card::after {
  content: "CHECK";
  position: absolute;
  right: 18px;
  top: 18px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.price-card:hover,
.price-card:focus-visible {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 12px 12px 0 rgba(242,207,29,0.2);
  border-color: var(--yellow);
  outline: none;
}

.price-card:hover::after,
.price-card:focus-visible::after {
  opacity: 0.72;
  transform: translateX(0);
}

.price-card.popular {
  background: var(--yellow);
}

.price {
  margin: 0 0 16px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

.dx-section {
  background:
    repeating-linear-gradient(135deg, rgba(184,72,50,0.08) 0 1px, transparent 1px 18px),
    #fffdf7;
}

.dx-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.dx-demo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.dx-bubble {
  position: absolute;
  z-index: 3;
  left: max(-40px, -5vw);
  top: 16px;
  width: min(260px, 78vw);
  padding: 16px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.07) 0 1px, transparent 1px 12px),
    var(--yellow);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(17,17,17,0.14);
  transform: rotate(-3deg);
  animation: bubbleFloat 4.4s ease-in-out infinite;
}

.dx-bubble::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: 28px;
  width: 24px;
  height: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-45deg);
}

.dx-bubble span,
.dx-bubble strong,
.dx-bubble p {
  position: relative;
  z-index: 1;
}

.dx-bubble span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 7px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.dx-bubble strong {
  display: block;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
}

.dx-bubble p {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.65;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(-1.5deg); }
}

.dx-phone {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 28px 18px 18px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background:
    linear-gradient(140deg, #262626 0%, #0d0d0d 48%, #245c4a 120%);
  color: #fff;
  box-shadow:
    12px 12px 0 rgba(36,92,74,0.18),
    inset 0 0 0 6px rgba(255,255,255,0.05);
  transform: rotate(-1.5deg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.dx-phone:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow:
    16px 16px 0 rgba(36,92,74,0.2),
    inset 0 0 0 6px rgba(255,255,255,0.06);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 14px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.phone-top img {
  width: 128px;
  height: auto;
}

.phone-top span {
  color: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.app-overview {
  margin: 14px 0 12px;
  padding: 14px;
  border: 1px solid rgba(242,207,29,0.62);
  background:
    repeating-linear-gradient(135deg, rgba(242,207,29,0.12) 0 1px, transparent 1px 12px),
    rgba(255,255,255,0.07);
}

.app-overview b,
.app-overview span {
  display: block;
}

.app-overview b {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.app-overview span {
  margin-top: 4px;
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  font-weight: 900;
}

.app-card {
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateX(5px);
  box-shadow: -5px 5px 0 rgba(242,207,29,0.38);
}

.app-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.app-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.app-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}

.app-dock i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.46);
}

.app-dock i:first-child {
  background: var(--yellow);
}

.dx-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dx-cases article {
  position: relative;
  min-height: 164px;
  padding: 22px;
  overflow: hidden;
}

.dx-card-image {
  aspect-ratio: 16 / 8.5;
}

.card-inspector {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.32fr) 1fr;
  gap: 18px;
  align-items: center;
  max-width: 1220px;
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.055) 0 1px, transparent 1px 14px),
    var(--yellow);
  color: var(--ink);
}

.card-inspector p,
.card-inspector h3,
.card-inspector span {
  margin: 0;
  font-weight: 900;
}

.card-inspector p {
  font-family: "Anton", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.card-inspector h3 {
  font-size: 22px;
}

.card-inspector span {
  font-size: 14px;
}

.dx-inspector {
  margin-top: 24px;
}

.card-inspector.is-flash {
  animation: inspectorFlash 0.38s ease;
}

@keyframes inspectorFlash {
  0% { transform: translateY(0); }
  36% { transform: translateY(-4px) rotate(-0.25deg); }
  100% { transform: translateY(0); }
}

.cta-band,
.line-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px clamp(18px, 4vw, 56px);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 18px),
    var(--green);
  color: #fff;
}

.cta-band > *,
.line-contact > * {
  max-width: 1220px;
}

.cta-band h2,
.line-contact h2 {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.16;
  margin: 0;
  font-weight: 900;
}

.cta-band p,
.line-contact p {
  margin: 12px 0 0;
  font-weight: 800;
}

.cta-band .section-num,
.line-contact .section-num {
  color: rgba(255,255,255,0.72);
}

.line-contact {
  position: relative;
  z-index: 2;
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.09) 0 1px, transparent 1px 18px),
    var(--yellow);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.line-contact p {
  max-width: 760px;
}

.line-contact .section-num {
  color: rgba(17,17,17,0.58);
}

.btn-line-large {
  min-width: 190px;
  background: #06c755;
  color: #fff;
}

.floating-line {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 30;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 8px;
  min-width: 148px;
  padding: 13px 16px 12px;
  border: 2px solid #fff;
  background: #06c755;
  color: #fff;
  box-shadow: 0 12px 28px rgba(17,17,17,0.22);
  transform-origin: 82% 88%;
  animation: floatingLineDance 2.8s ease-in-out infinite;
}

.line-bubble {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #06c755;
}

.line-bubble::before {
  content: "";
  width: 18px;
  height: 13px;
  border-radius: 7px;
  background: #fff;
}

.line-bubble::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  background: #fff;
  clip-path: polygon(0 0, 100% 35%, 0 100%);
}

.floating-line .line-bubble {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  align-self: center;
}

.floating-line::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--ink);
}

.floating-line span {
  font-family: "Anton", Impact, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.floating-line b {
  font-size: 11px;
  line-height: 1.2;
}

.floating-line:hover {
  animation-play-state: paused;
  transform: translateY(-4px) rotate(-2deg);
}

@keyframes floatingLineDance {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  38% { transform: translateY(-8px) rotate(1.5deg); }
  58% { transform: translateY(-4px) rotate(-2deg); }
}

.contact-page {
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.035) 0 1px, transparent 1px 16px),
    #fffdf7;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 118px clamp(18px, 4vw, 56px) 68px;
  background:
    linear-gradient(108deg, rgba(221,198,106,0.58) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 18px),
    var(--paper);
}

.contact-hero::before {
  content: "";
  position: absolute;
  left: 46%;
  right: -8%;
  bottom: 82px;
  height: 160px;
  border-top: 2px solid rgba(17,17,17,0.22);
  border-radius: 58% 0 0 0;
  transform: rotate(-8deg);
}

.contact-hero > * {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.05;
  font-weight: 900;
}

.contact-hero h1 span {
  display: block;
}

.contact-hero p:not(.section-num) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 900;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-person-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(47,102,85,0.08) 0 1px, transparent 1px 16px),
    #fffdf7;
  box-shadow: 12px 12px 0 rgba(24,35,31,0.1);
}

.contact-person-card::after {
  content: "LINE";
  position: absolute;
  right: -16px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-family: "Anton", Impact, sans-serif;
  font-size: 27px;
  animation: linePulse 2.2s ease-in-out infinite;
}

.founder-portrait {
  position: relative;
  min-height: 250px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 50% 24%, rgba(221,198,106,0.5) 0 18%, transparent 19%),
    linear-gradient(150deg, rgba(47,102,85,0.18), rgba(221,198,106,0.22)),
    #f7f1e4;
  overflow: hidden;
}

.founder-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.founder-portrait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54px;
  width: 112px;
  height: 112px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fffaf1;
  transform: translateX(-50%);
}

.founder-portrait::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;
  width: 220px;
  height: 128px;
  border: 2px solid var(--ink);
  border-radius: 120px 120px 0 0;
  background: var(--green);
  transform: translateX(-50%);
}

.founder-portrait:has(img)::before,
.founder-portrait:has(img)::after {
  display: none;
}

.founder-portrait span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 8px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  font-family: "Anton", Impact, sans-serif;
  font-size: 18px;
}

.contact-person-card h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.contact-person-card p:not(.section-num) {
  margin: 10px 0 0;
  font-weight: 900;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.person-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

@keyframes linePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(6,199,85,0.28); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 18px rgba(6,199,85,0); }
}

.contact-line-section,
.contact-route-section,
.mail-form-section,
.contact-memo-section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.contact-route-section .section-head h2,
.contact-memo-section h2,
.mail-form-section .section-head h2 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.08;
  font-weight: 900;
}

.contact-route-section .section-head h2 span,
.mail-form-section .section-head h2 span {
  display: block;
}

.contact-route-section .section-head p:not(.section-num),
.contact-memo-section p,
.mail-form-section .section-head p:not(.section-num) {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.contact-line-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.08) 0 1px, transparent 1px 16px),
    var(--yellow);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.line-panel h2,
.line-panel p:not(.section-num) {
  max-width: 760px;
  margin: 18px 0 0;
  font-weight: 900;
}

.line-panel .btn {
  margin-top: 28px;
}

.line-phone-card {
  position: relative;
  min-height: 500px;
  padding: 46px 20px 22px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: #fffdf7;
  box-shadow: 14px 14px 0 rgba(17,17,17,0.14);
}

.chat-bubble {
  max-width: 88%;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.chat-bubble.user {
  margin-left: auto;
  background: #06c755;
  color: #fff;
}

.chat-bubble.sevennavi {
  background: #fff;
}

.contact-route-section {
  background:
    repeating-linear-gradient(135deg, rgba(47,102,85,0.06) 0 1px, transparent 1px 16px),
    #fffdf7;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1220px;
  margin: 34px auto 0;
}

.contact-route-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-route-card:hover {
  transform: translateY(-5px) rotate(-0.25deg);
  box-shadow: 10px 10px 0 rgba(47,102,85,0.14);
}

.contact-route-card > span:not(.line-bubble) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.contact-route-card .line-bubble {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 58px;
  height: 58px;
}

.contact-route-card .line-bubble::before {
  width: 34px;
  height: 24px;
  border-radius: 13px;
}

.contact-route-card .line-bubble::after {
  left: 32px;
  bottom: 12px;
  width: 14px;
  height: 14px;
}

.contact-route-card h3 {
  margin: 34px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.contact-route-card p {
  max-width: 520px;
  margin: 16px 0 0;
  font-weight: 900;
}

.line-route {
  background:
    radial-gradient(circle at 86% 20%, rgba(6,199,85,0.18) 0 16%, transparent 17%),
    #fff;
}

.form-route {
  background:
    radial-gradient(circle at 90% 20%, rgba(221,198,106,0.34) 0 16%, transparent 17%),
    #fff;
}

.contact-memo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background:
    linear-gradient(108deg, transparent 0 78%, rgba(221,198,106,0.55) 78% 100%),
    var(--paper);
}

.memo-builder {
  padding: 22px;
  border: 1px solid var(--ink);
  background: #fff;
}

.memo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.memo-card-grid button {
  position: relative;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  color: var(--ink);
  font: 900 15px/1.35 "Noto Sans JP", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.memo-card-grid button span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.memo-card-grid button:hover,
.memo-card-grid button.is-selected {
  background: var(--yellow);
  transform: translateY(-3px) rotate(-0.35deg);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.memo-builder textarea {
  width: 100%;
  min-height: 220px;
  padding: 14px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  font: 900 14px/1.8 "Noto Sans JP", system-ui, sans-serif;
  resize: vertical;
}

.memo-builder .btn {
  width: 100%;
  margin-top: 14px;
}

.mail-form-section {
  background:
    repeating-linear-gradient(135deg, rgba(24,35,31,0.05) 0 1px, transparent 1px 16px),
    #f7f1e4;
}

.contact-form-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1220px;
  margin: 34px auto 0;
  padding: 24px;
  border: 1px solid var(--ink);
  background: #fffdf7;
}

.contact-form-preview label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form-preview label > span {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.contact-form-preview input,
.contact-form-preview select,
.contact-form-preview textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: 900 14px/1.6 "Noto Sans JP", system-ui, sans-serif;
}

.contact-form-preview textarea {
  min-height: 170px;
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.site-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  padding: 58px clamp(18px, 4vw, 56px) 28px;
  background:
    linear-gradient(112deg, rgba(242,207,29,0.92) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 18px),
    linear-gradient(150deg, var(--dark) 0%, #20342e 52%, var(--green) 100%);
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 38px;
  right: -12vw;
  width: min(54vw, 620px);
  height: 170px;
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.16) 0 1px, transparent 1px 16px),
    var(--yellow);
  transform: skewX(-18deg);
  border: 1px solid rgba(255,255,255,0.16);
}

.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10vw;
  bottom: -70px;
  width: min(44vw, 520px);
  height: 180px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 14px),
    rgba(36,92,74,0.86);
  transform: skewX(-18deg);
}

.footer-big {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto 34px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(52px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.78);
  white-space: nowrap;
  overflow: hidden;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.95;
}

.footer-grid h5 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.footer-grid a {
  display: block;
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1220px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.estimate-page {
  overflow-x: clip;
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,0.035) 0 1px, transparent 1px 16px),
    #fffdf7;
}

.estimate-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 132px clamp(18px, 4vw, 56px) 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  background:
    linear-gradient(116deg, transparent 0 62%, rgba(242,207,29,0.92) 62% 78%, transparent 78% 100%),
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 18px),
    var(--paper);
}

.estimate-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 34px 38%;
  height: 118px;
  border-top: 2px solid rgba(17,17,17,0.18);
  border-radius: 55% 0 0 0;
  transform: rotate(-5deg);
}

.estimate-hero::after {
  content: "";
  position: absolute;
  right: 10vw;
  bottom: 74px;
  width: min(360px, 32vw);
  height: 1px;
  background: var(--ink);
  box-shadow: -74px -54px 0 rgba(36,92,74,0.45), -148px 42px 0 rgba(242,207,29,0.95);
  transform: rotate(-18deg);
}

.estimate-hero > * {
  position: relative;
  z-index: 1;
  max-width: 1220px;
}

.estimate-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.estimate-hero h1 span {
  display: block;
}

.estimate-hero p:not(.section-num) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 900;
}

.estimate-hero-flow {
  min-height: 280px;
  padding: 8px 0;
}

.flow-orbit {
  position: relative;
  min-height: 198px;
}

.flow-orbit::before {
  content: "";
  position: absolute;
  inset: 24px 0 0 18px;
  border: 1px solid var(--ink);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 150px 0 0;
  transform: skewX(-16deg);
}

.flow-orbit span {
  position: absolute;
  display: inline-flex;
  min-width: 72px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
  box-shadow: 6px 6px 0 rgba(17,17,17,0.1);
  animation: serviceChipFloat 4.8s ease-in-out infinite;
}

.flow-orbit span:nth-child(1) {
  top: 0;
  left: 6%;
  background: var(--yellow);
}

.flow-orbit span:nth-child(2) {
  top: 42px;
  right: 18%;
  animation-delay: -0.9s;
}

.flow-orbit span:nth-child(3) {
  top: 104px;
  left: 20%;
  color: #fff;
  background: var(--green);
  animation-delay: -1.8s;
}

.flow-orbit span:nth-child(4) {
  right: 4%;
  bottom: 18px;
  animation-delay: -2.7s;
}

.flow-orbit span:nth-child(5) {
  left: 0;
  bottom: 0;
  background: var(--yellow);
  animation-delay: -3.6s;
}

.flow-route {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr;
  gap: 8px;
  margin: 14px 0 12px;
}

.flow-route i {
  display: block;
  height: 7px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 16px, transparent 16px 26px),
    var(--yellow);
  transform: skewX(-20deg);
  animation: routePulse 2.8s ease-in-out infinite;
}

.flow-route i:nth-child(2) {
  animation-delay: -0.6s;
}

.flow-route i:nth-child(3) {
  animation-delay: -1.2s;
}

.estimate-hero-flow b {
  display: block;
  text-align: right;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1;
  transform: rotate(-2deg);
}

@keyframes serviceChipFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes routePulse {
  0%, 100% { opacity: 0.45; transform: skewX(-20deg) scaleX(0.88); }
  50% { opacity: 1; transform: skewX(-20deg) scaleX(1); }
}

.estimate-section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 56px);
  overflow: visible;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1220px;
  margin: 0 auto;
  align-items: start;
  overflow: visible;
}

.estimate-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.industry-strip {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 14px),
    #fffdf7;
}

.industry-strip .section-num {
  margin-bottom: 10px;
}

.industry-strip > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  contain: inline-size paint;
}

.industry-strip label {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.industry-strip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.industry-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}

.industry-strip label:hover span {
  transform: translateY(-2px) rotate(-0.5deg);
}

.industry-strip input:checked + span {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.estimate-block {
  padding: 26px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  counter-reset: choice;
}

.estimate-block h2,
.estimate-sticky h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.option-grid {
  display: grid;
  gap: 12px;
}

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

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

.option-card {
  position: relative;
  display: block;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: #fff;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  counter-increment: choice;
  overflow: hidden;
}

.option-card::before {
  content: counter(choice, decimal-leading-zero);
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(17,17,17,0.16);
  font-family: "Anton", Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.option-card input {
  position: absolute;
  inset: 14px 14px auto auto;
  accent-color: var(--green);
}

.option-card span,
.option-card strong,
.option-card small {
  display: block;
}

.option-card span {
  padding-right: 30px;
  font-size: 20px;
  font-weight: 900;
}

.option-card strong {
  display: none;
  margin-top: 10px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 30px;
  color: var(--green);
}

.option-card small {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.65;
}

.option-card:has(input:checked) {
  background:
    repeating-linear-gradient(135deg, rgba(242,207,29,0.14) 0 1px, transparent 1px 14px),
    var(--yellow);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.option-card:hover {
  transform: translateY(-4px) rotate(-0.35deg);
  box-shadow: 8px 8px 0 rgba(36,92,74,0.14);
}

.range-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(36,92,74,0.08) 0 1px, transparent 1px 14px),
    #fff;
  font-weight: 900;
}

.range-row input {
  width: 100%;
  accent-color: var(--green);
}

.range-row output {
  min-width: 76px;
  padding: 5px 8px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: addon;
}

.addon-grid label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
  counter-increment: addon;
  overflow: hidden;
}

.addon-grid label::after {
  content: counter(addon, decimal-leading-zero);
  position: absolute;
  right: 8px;
  bottom: 4px;
  color: rgba(17,17,17,0.14);
  font-family: "Anton", Impact, sans-serif;
  font-size: 24px;
}

.addon-grid label:has(input:checked) {
  background: var(--yellow);
}

.addon-grid label:hover {
  transform: translateX(4px);
}

.addon-grid input {
  accent-color: var(--green);
}

.addon-grid b {
  display: none;
  white-space: nowrap;
}

.estimate-sticky {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--ink);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px),
    #111;
  color: #fff;
}

.estimate-total {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--yellow);
}

.estimate-range,
.monthly-total {
  margin-top: 12px;
  font-weight: 900;
}

.estimate-meter {
  height: 8px;
  margin: 18px 0;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}

.estimate-meter span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--yellow);
  transition: width 0.22s ease;
}

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

.estimate-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  font-weight: 900;
}

.estimate-memo {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: 800 12px/1.7 "Noto Sans JP", system-ui, sans-serif;
  resize: vertical;
}

.estimate-sticky .btn {
  width: 100%;
  margin-top: 14px;
}

.estimate-lock {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(242,207,29,0.56);
  background:
    repeating-linear-gradient(135deg, rgba(242,207,29,0.14) 0 1px, transparent 1px 14px),
    rgba(255,255,255,0.06);
}

.estimate-lock b {
  display: block;
  color: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.estimate-lock span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}

.estimate-sticky.is-locked .estimate-total,
.estimate-sticky.is-locked .estimate-range,
.estimate-sticky.is-locked .monthly-total,
.estimate-sticky.is-locked .estimate-meter,
.estimate-sticky.is-locked .estimate-breakdown,
.estimate-sticky.is-locked .estimate-memo,
.estimate-sticky.is-locked .btn-line {
  display: none;
}

.estimate-sticky:not(.is-locked) .estimate-lock {
  display: none;
}

.estimate-reveal {
  width: 100%;
}

.estimate-cta {
  margin-top: 0;
}

@media (max-width: 980px) {
  .nav-pc {
    display: none;
  }

  .header-status {
    margin-right: 12px;
  }

  .menu-button {
    display: block;
  }

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

  .hero-bg {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 36px);
    height: 280px;
    margin: -20px -18px 28px;
    border-left: 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero-grid,
  .with-media,
  .dx-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dx-demo {
    min-height: auto;
    padding-top: 120px;
  }

  .dx-bubble {
    left: 18px;
    right: 18px;
    top: 0;
    width: auto;
  }

  .hero-meta {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    font-size: 10px;
  }

  .meta-ticket {
    min-width: 210px;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 76px);
  }

  .hero-panel {
    max-width: none;
  }

  .service-grid,
  .price-grid,
  .dx-cases {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .line-contact {
    display: block;
  }

  .cta-band .btn,
  .line-contact .btn {
    margin-top: 22px;
    width: 100%;
  }

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

  .estimate-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-hero,
  .contact-line-section,
  .contact-route-grid,
  .contact-form-preview,
  .contact-memo-section {
    grid-template-columns: 1fr;
  }

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

  .estimate-hero-flow {
    max-width: 560px;
    min-height: 240px;
  }

  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .estimate-sticky {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    background-size: auto;
  }

  .site-header {
    height: 66px;
    padding: 10px 12px;
  }

  .logo img {
    width: 138px;
  }

  .mobile-nav {
    top: 66px;
    padding-inline: 12px;
  }

  .hero {
    padding: 82px 14px 42px;
  }

  .hero-bg {
    display: none;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-right: 0;
    overflow: visible;
    padding-bottom: 0;
    width: 100%;
  }

  .header-status {
    display: none;
  }

  .floating-line {
    right: 12px;
    bottom: 12px;
    min-width: 150px;
    padding: 9px 12px 9px 10px;
    grid-template-columns: 34px 1fr;
    gap: 0 8px;
    border-radius: 999px;
    box-shadow: 0 9px 22px rgba(17,17,17,0.24);
  }

  .floating-line .line-bubble {
    width: 34px;
    height: 34px;
  }

  .floating-line .line-bubble::before {
    width: 20px;
    height: 14px;
    border-radius: 8px;
  }

  .floating-line .line-bubble::after {
    left: 19px;
    bottom: 8px;
    width: 8px;
    height: 8px;
  }

  .floating-line span {
    font-size: 15px;
    letter-spacing: 0;
  }

  .floating-line b {
    font-size: 10px;
    line-height: 1.1;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.2vw, 36px);
    line-height: 1.14;
    word-break: keep-all;
  }

  .hero-request {
    padding: 12px;
  }

  .hero-request div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .section h2 span {
    display: block;
    white-space: nowrap;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section h2 {
    font-size: clamp(28px, 8.6vw, 36px);
    line-height: 1.18;
    word-break: keep-all;
    text-wrap: balance;
  }

  .cta-band h2,
  .line-contact h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.22;
    word-break: keep-all;
  }

  .cta-band,
  .line-contact {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .cta-band p,
  .line-contact p {
    font-size: 13px;
    line-height: 1.55;
  }

  .meta-ticket {
    min-width: 0;
    min-height: 42px;
  }

  .meta-ticket b,
  .meta-ticket span {
    padding: 8px 7px;
  }

  .meta-ticket span {
    font-size: 10px;
    line-height: 1.25;
  }

  .hero-grid {
    gap: 24px;
    padding-top: 22px;
  }

  .hero-panel {
    display: none;
  }

  .services-section .section-photo {
    display: none;
  }

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

  .capability-list a {
    min-height: 40px;
    padding: 8px;
    font-size: 11px;
  }

  .service-grid,
  .price-grid,
  .dx-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .service-card,
  .price-card,
  .dx-cases article {
    min-height: auto;
    padding: 8px;
    overflow: hidden;
  }

  .service-card,
  .dx-cases article {
    background:
      linear-gradient(135deg, rgba(221,198,106,0.22), transparent 44%),
      #fffdf7;
  }

  .service-card::before,
  .dx-cases article::before,
  .price-card::before {
    content: "SKILL";
    display: inline-flex;
    margin-bottom: 7px;
    padding: 3px 6px;
    border: 1px solid rgba(24,35,31,0.26);
    background: rgba(47,102,85,0.12);
    color: var(--green);
    font-family: "Anton", Impact, sans-serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .interactive-card::after {
    content: "OPEN";
    right: 9px;
    bottom: 7px;
    font-size: 10px;
  }

  .card-image,
  .dx-card-image {
    width: 100%;
    height: 74px;
    margin: 0 0 8px;
    border: 1px solid rgba(24,35,31,0.16);
    border-radius: 6px;
    aspect-ratio: auto;
    background: #f5efe2;
  }

  .card-image img,
  .dx-card-image img {
    object-position: center 58%;
    transform: scale(1.02);
  }

  .service-card span,
  .plan {
    margin-bottom: 6px;
    font-size: 17px;
  }

  .service-card h3,
  .price-card h3,
  .dx-cases h3 {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.28;
    word-break: keep-all;
  }

  .service-card p,
  .price-card p,
  .dx-cases p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .price-card .price {
    display: block;
    font-size: 18px;
    line-height: 1.1;
  }

  .card-inspector {
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer-big {
    font-size: clamp(40px, 13vw, 62px);
    line-height: 0.95;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .estimate-hero {
    padding-top: 102px;
  }

  .estimate-hero h1 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.16;
    word-break: keep-all;
  }

  .contact-hero {
    padding-top: 102px;
    padding-bottom: 58px;
  }

  .contact-hero h1 {
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.16;
    word-break: keep-all;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-line-section,
  .contact-route-section,
  .mail-form-section,
  .contact-memo-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-person-card::after {
    right: 12px;
    top: 20px;
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .contact-person-card {
    padding: 12px;
  }

  .founder-portrait {
    min-height: 170px;
  }

  .founder-portrait::before {
    top: 36px;
    width: 84px;
    height: 84px;
  }

  .founder-portrait::after {
    width: 176px;
    height: 104px;
  }

  .contact-person-card h2 {
    font-size: 30px;
  }

  .contact-person-card p:not(.section-num) {
    font-size: 13px;
    line-height: 1.65;
  }

  .line-phone-card {
    min-height: 440px;
    border-radius: 28px;
  }

  .memo-builder {
    padding: 14px;
  }

  .memo-card-grid {
    gap: 8px;
  }

  .memo-card-grid button {
    min-height: 82px;
    padding: 10px;
    font-size: 12px;
  }

  .memo-card-grid button span {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .contact-form-preview {
    padding: 14px;
  }

  .estimate-hero::before,
  .estimate-hero::after {
    opacity: 0.45;
  }

  .estimate-hero-flow {
    min-height: 220px;
  }

  .flow-orbit {
    min-height: 160px;
  }

  .flow-orbit span {
    min-width: 60px;
    min-height: 36px;
    font-size: 18px;
  }

  .estimate-hero-flow b {
    font-size: 42px;
  }

  .main-options,
  .compact-options,
  .addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .estimate-block {
    padding: 14px;
  }

  .estimate-block h2,
  .estimate-sticky h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .option-card {
    min-height: 112px;
    padding: 12px;
  }

  .option-card input {
    inset: 10px 10px auto auto;
  }

  .option-card span {
    padding-right: 24px;
    font-size: 15px;
    line-height: 1.35;
  }

  .option-card small {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.55;
  }

  .option-card::before {
    font-size: 26px;
  }

  .addon-grid label {
    min-height: 54px;
    padding: 11px 28px 11px 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .addon-grid label::after {
    font-size: 20px;
  }

  .estimate-sticky {
    padding: 18px;
  }
}

/* 2026 hero refresh */
.site-header {
  height: 72px;
  padding-block: 11px;
  background:
    linear-gradient(118deg, rgba(221,198,106,0.2) 0 17%, transparent 17% 100%),
    linear-gradient(100deg, #101816 0%, #183028 54%, #0e1614 100%);
  box-shadow: 0 14px 34px rgba(8, 18, 15, 0.22);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 178px;
  max-height: 46px;
  object-fit: contain;
}

.nav-pc {
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.nav-pc a {
  color: #fffdf7;
  opacity: 0.86;
}

.hero {
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding: 98px clamp(22px, 5vw, 72px) 72px;
  background:
    linear-gradient(110deg, rgba(255,250,241,0.98) 0 46%, rgba(255,250,241,0.82) 59%, rgba(255,250,241,0.18) 100%),
    radial-gradient(circle at 18% 92%, rgba(47,102,85,0.12), transparent 34%),
    #fffaf1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  left: -8%;
  right: -8%;
  bottom: 22px;
  height: 170px;
  opacity: 0.72;
  background:
    linear-gradient(105deg, transparent 0 13%, rgba(47,102,85,0.26) 13.2% 13.5%, transparent 13.7% 100%),
    linear-gradient(112deg, transparent 0 38%, rgba(221,198,106,0.38) 38.2% 38.5%, transparent 38.7% 100%),
    linear-gradient(117deg, transparent 0 64%, rgba(47,102,85,0.18) 64.2% 64.45%, transparent 64.65% 100%);
  animation: heroLinesDrift 12s ease-in-out infinite;
}

.hero::after {
  left: 43%;
  right: 0;
  bottom: 0;
  height: 92px;
  background:
    radial-gradient(circle, rgba(221,198,106,0.45) 0 3px, transparent 4px) 0 0 / 92px 28px,
    radial-gradient(circle, rgba(47,102,85,0.28) 0 2px, transparent 3px) 36px 12px / 120px 34px;
  opacity: 0.42;
  animation: heroDotsDrift 16s linear infinite;
}

.hero-bg {
  top: 72px;
  width: min(48vw, 760px);
  border-left: 0;
  background: transparent;
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(255,250,241,0.62) 0%, rgba(255,250,241,0.2) 34%, rgba(255,250,241,0.04) 100%),
    linear-gradient(180deg, rgba(16,24,22,0.16), rgba(16,24,22,0.04));
}

.hero-bg img {
  object-position: center;
  filter: saturate(0.92) contrast(1.02) brightness(1.05);
}

.hero-flow {
  position: absolute;
  inset: auto 0 36px;
  z-index: 1;
  height: 160px;
  pointer-events: none;
  overflow: hidden;
}

.hero-flow span {
  position: absolute;
  left: -8%;
  width: 118%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,102,85,0.44), rgba(221,198,106,0.55), transparent);
  transform: rotate(-4deg);
  animation: heroFlowMove 10s ease-in-out infinite;
}

.hero-flow span:nth-child(1) { top: 24px; }
.hero-flow span:nth-child(2) { top: 72px; animation-delay: -2.6s; opacity: 0.7; }
.hero-flow span:nth-child(3) { top: 118px; animation-delay: -5.2s; opacity: 0.48; }

.hero-inner {
  max-width: 1360px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.84fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
  min-height: calc(100vh - 248px);
  padding-top: clamp(34px, 4vw, 58px);
}

.service-stepbar {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  width: min(100%, 980px);
  overflow-x: auto;
  padding: 0 2px 10px;
  scrollbar-width: thin;
}

.service-stepbar .meta-ticket {
  flex: 0 0 auto;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-width: 192px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(24,35,31,0.22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 12px 50%);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.38), transparent 42%),
    #ddc66a;
  color: #18231f;
  box-shadow: 0 10px 22px rgba(24,35,31,0.08);
}

.service-stepbar .meta-ticket b,
.service-stepbar .meta-ticket span {
  padding: 0;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}

.service-stepbar .meta-ticket b {
  font-size: 14px;
}

.service-stepbar .meta-ticket span {
  font-size: 12px;
}

.service-stepbar .meta-ticket::after {
  content: "";
  position: absolute;
  inset: auto 18px 7px 18px;
  height: 2px;
  background: rgba(47,102,85,0);
  transition: background 0.2s ease;
}

.service-stepbar .meta-ticket:hover,
.service-stepbar .meta-ticket.is-active {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.5), transparent 42%),
    #f0d873;
}

.service-stepbar .meta-ticket.is-active::after {
  background: rgba(47,102,85,0.78);
}

.hero-copy {
  max-width: 660px;
}

.hero .eyebrow {
  color: #2f6655;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 > span {
  display: block;
  white-space: nowrap;
}

.text-green {
  color: #2f6655;
}

.hero-subcopy {
  position: relative;
  display: inline-block;
  margin: 20px 0 0;
  color: #18231f;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 900;
  line-height: 1.5;
}

.hero-subcopy::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -8px;
  bottom: 2px;
  height: 8px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,102,85,0.28), rgba(221,198,106,0.35));
  transform: rotate(-1deg);
}

.hero-lead {
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.95;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 800;
  color: #37332d;
}

.hero-request {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-request p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #18231f;
  font-size: 13px;
  letter-spacing: 0;
}

.hero-request p span {
  color: #2f6655;
  font-family: "Anton", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.hero-request div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-request a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px 8px 34px;
  border: 1px solid rgba(24,35,31,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 22px rgba(24,35,31,0.08);
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-request a::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f6655;
  box-shadow: 0 0 0 4px rgba(47,102,85,0.1);
}

.hero-request a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(24,35,31,0.12);
}

.hero-actions {
  gap: 10px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-height: 52px;
  border-radius: 999px;
  padding-inline: 22px;
  box-shadow: 0 12px 24px rgba(24,35,31,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(24,35,31,0.12);
}

.hero-panel {
  position: relative;
  justify-self: end;
  align-self: center;
  width: min(100%, 510px);
  max-width: none;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 28px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 28px 70px rgba(24,35,31,0.18);
  backdrop-filter: blur(18px);
}

.hero-panel .panel-label {
  margin-bottom: 18px;
  color: #18231f;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.hero-panel .capability-list {
  display: grid;
  gap: 0;
}

.hero-panel .capability-list a {
  display: grid;
  grid-template-columns: 42px minmax(118px, 0.9fr) 1.35fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid rgba(24,35,31,0.12);
  background: transparent;
  font-weight: 900;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-panel .capability-list a:hover {
  color: #2f6655;
  transform: translateX(4px);
  background: transparent;
}

.hero-panel .capability-list b {
  color: #2f6655;
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.hero-panel .capability-list strong {
  font-size: 14px;
  line-height: 1.35;
}

.hero-panel .capability-list span {
  color: #676158;
  font-size: 12px;
  line-height: 1.45;
}

.hero-badge {
  position: absolute;
  right: -24px;
  top: -34px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  border: 1px solid rgba(24,35,31,0.12);
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,0.45), transparent 34%),
    #ddc66a;
  box-shadow: 0 18px 34px rgba(24,35,31,0.16);
  color: #18231f;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
  animation: heroBadgeFloat 4.8s ease-in-out infinite;
}

.scroll-anchor {
  display: block;
  position: relative;
  top: -92px;
  height: 0;
  visibility: hidden;
}

@keyframes heroLinesDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(42px); }
}

@keyframes heroDotsDrift {
  to { background-position: 92px 0, 156px 12px; }
}

@keyframes heroFlowMove {
  0%, 100% { transform: translateX(-16px) rotate(-4deg); opacity: 0.46; }
  50% { transform: translateX(42px) rotate(-4deg); opacity: 0.92; }
}

@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.18;
  }

  .hero-panel {
    justify-self: stretch;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 68px;
    padding-inline: 14px;
  }

  .logo img {
    width: 144px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding: 88px 20px 54px;
    background:
      linear-gradient(180deg, rgba(255,250,241,0.98) 0 60%, rgba(255,250,241,0.9) 100%),
      #fffaf1;
  }

  .hero-bg {
    display: block;
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 46%;
    margin: 0;
    opacity: 0.16;
    border: 0;
  }

  .service-stepbar {
    margin-inline: -20px;
    width: calc(100% + 40px);
    padding-inline: 20px;
  }

  .service-stepbar .meta-ticket {
    min-width: 176px;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 24px;
  }

  .hero-copy,
  .hero-panel,
  .hero h1,
  .hero-lead,
  .hero-request {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .hero .eyebrow {
    max-width: calc(100vw - 40px);
    font-size: 10px;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: clamp(32px, 8.9vw, 36px);
    line-height: 1.16;
  }

  .hero h1 > span {
    white-space: normal;
  }

  .hero-subcopy {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.86;
  }

  .hero-request div {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 12px;
    margin-inline: -2px;
  }

  .hero-request a {
    flex: 0 0 auto;
  }

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

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-panel {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 22px;
  }

  .hero-panel .capability-list a {
    grid-template-columns: 34px 1fr;
    gap: 9px;
  }

  .hero-panel .capability-list span {
    grid-column: 2;
  }

  .hero-badge {
    right: 12px;
    top: -42px;
    width: 94px;
    height: 94px;
    font-size: 10px;
  }

  .hero-flow {
    bottom: 18px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-flow span,
  .hero-badge,
  .site-header::before {
    animation: none;
  }
}

.works-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(233, 238, 226, 0.84), rgba(255, 249, 237, 0.72) 46%, rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(-36deg, rgba(51, 96, 77, 0.07) 0 1px, transparent 1px 16px);
}

.works-section::before {
  content: "";
  position: absolute;
  inset: 70px -12% auto auto;
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  border: 1px solid rgba(51, 96, 77, 0.16);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(202, 165, 66, 0.13), transparent 64%);
  pointer-events: none;
}

.works-head {
  position: relative;
  z-index: 1;
}

.works-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: 360px;
  border: 1px solid rgba(37, 48, 42, 0.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(20, 30, 24, 0.11);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(51, 96, 77, 0.32);
  box-shadow: 0 28px 70px rgba(20, 30, 24, 0.16);
}

.work-card-featured {
  grid-column: span 2;
  min-height: 420px;
}

.work-card:not(.work-card-featured) {
  grid-template-columns: 1fr;
  min-height: 0;
}

.work-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #18241e;
}

.work-media::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto 14px;
  height: 26px;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.78);
  z-index: 2;
}

.work-media::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 30px;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d95a48 0 8px, #d8ad42 8px 20px, #5d936f 20px 34px);
  z-index: 3;
}

.work-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.work-card:not(.work-card-featured) .work-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.work-card:not(.work-card-featured) .work-media img {
  min-height: 0;
  height: 100%;
}

.work-card:hover .work-media img {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.work-body {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 239, 0.96)),
    linear-gradient(90deg, rgba(51, 96, 77, 0.08), transparent);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  color: #486255;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.work-meta b {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(51, 96, 77, 0.1);
  color: #285842;
  font-size: 11px;
}

.work-body h3 {
  margin: 0 0 14px;
  color: #171d1b;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

.work-body p {
  margin: 0;
  color: #5f6761;
  font-size: 15px;
  line-height: 1.9;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.work-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(51, 96, 77, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #31483d;
  font-size: 12px;
  font-weight: 800;
}

.work-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 13px 17px;
  border-radius: 999px;
  background: #1a211e;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-link:hover {
  transform: translateY(-2px);
  background: #285842;
}

@media (max-width: 1120px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-card-featured {
    grid-column: auto;
  }

  .work-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .works-section {
    padding-top: 54px;
  }

  .works-grid {
    gap: 16px;
  }

  .work-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 14px;
  }

  .work-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-media::before {
    inset: 10px 10px auto 10px;
    height: 20px;
  }

  .work-media::after {
    top: 17px;
    left: 22px;
    width: 28px;
    height: 6px;
  }

  .work-media img {
    min-height: 0;
    height: 100%;
  }

  .work-body {
    padding: 20px;
  }

  .work-meta {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .work-body h3 {
    font-size: 21px;
    line-height: 1.35;
  }

  .work-body p {
    font-size: 13px;
    line-height: 1.75;
  }

  .work-tags {
    margin-top: 16px;
  }

  .work-tags span {
    padding: 7px 9px;
    font-size: 11px;
  }

  .work-link {
    width: 100%;
    margin-top: 18px;
    text-align: center;
  }
}