:root {
  /* Palette — aligned with DESIGN.md
     #87B8D4 sky-blue (CTA / accent)
     #5B8FA8 hover
     #2D4A7A navy (logo only)
     #FAFAF8 neutral background
     #EFF6FA surface (alt section)
     #2D2D2D body text / footer
     #888888 secondary text
  */
  --primary: #87B8D4;
  --primary-hover: #5B8FA8;
  --navy: #2D4A7A;
  --cream: #FAFAF8;
  --gray: #EFF6FA;
  --char: #2D2D2D;
  --text: #2D2D2D;
  --text-sec: #888888;

  /* Derived alphas (on text color for subtle rules / dim copy) */
  --text-70: rgba(45, 45, 45, 0.70);
  --text-50: rgba(45, 45, 45, 0.50);
  --text-30: rgba(45, 45, 45, 0.30);
  --text-15: rgba(45, 45, 45, 0.15);
  --gutter: clamp(24px, 5vw, 72px);
  --sect-pad: clamp(96px, 14vw, 180px);
  --maxw: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Sans JP", "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ─────── Type ─────── */
.jp {
  font-family: "Noto Sans JP", sans-serif;
}
.en {
  font-family: "Jost", sans-serif;
  letter-spacing: 0.04em;
}
.kicker {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: var(--text-sec);
  text-transform: uppercase;
}
.section-title {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  line-height: 1;
  color: var(--text);
}
.section-rule {
  width: 48px;
  height: 1px;
  background: var(--primary);
  margin: 28px auto 0;
}

/* ─────── Logo primitives ─────── */
.sc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.75px solid var(--navy);
  flex-shrink: 0;
}
.sc-mark>span {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--navy);
  /* Offset the trailing letter-spacing so the glyph block is visually centered */
  margin-left: 0.22em;
  /* Tiny optical shift for Jost's SC — shared by both header + footer */
  transform: translateY(0.5px);
}
.sc-mark.sm {
  width: 28px;
  height: 28px;
  border-width: 1.2px;
}
.sc-mark.sm>span {
  font-size: 7px;
}
.sc-mark.md {
  width: 40px;
  height: 40px;
}
.sc-mark.md>span {
  font-size: 10px;
}
.sc-mark.lg {
  width: 64px;
  height: 64px;
}
.sc-mark.lg>span {
  font-size: 15px;
}
.wordmark {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  line-height: 1;
  white-space: nowrap;
}

/* ─────── Navigation ─────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 400ms ease, border-color 400ms ease, backdrop-filter 400ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom-color: var(--text-15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .wordmark {
  font-size: 14px;
  color: var(--navy);
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  color: var(--text);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--primary);
  transition: right 320ms ease;
}
.nav-links a:hover {
  color: var(--primary-hover);
}
.nav-links a:hover::after {
  right: 0;
}

/* ─────── Hero ─────── */
.hero {
  min-height: 100svh;
  padding: 160px var(--gutter) 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--cream);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero .kicker {
  margin-bottom: 48px;
  display: block;
}
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  color: var(--text);
  font-size: clamp(36px, 6.2vw, 84px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin: 0 0 56px;
  max-width: none;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}
.hero h1 .line {
  display: block;
}
.hero h1 .dim {
  color: var(--text-50);
}
.hero h1 .w {
  display: inline;
  transition: color 400ms ease;
}

/* ─── Preset A: モノトーン — dim second line (default) ─── */
[data-hero-color="A"] .hero h1 .key1,
[data-hero-color="A"] .hero h1 .key2 {
  color: inherit;
}

/* ─── Preset B: アクセント — key verbs in sky-blue ─── */
[data-hero-color="B"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="B"] .hero h1 .key1,
[data-hero-color="B"] .hero h1 .key2 {
  color: var(--primary);
}

/* ─── Preset C: ネイビーマット — deeper, editorial ─── */
[data-hero-color="C"] .hero h1 {
  color: var(--text);
}
[data-hero-color="C"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="C"] .hero h1 .key1,
[data-hero-color="C"] .hero h1 .key2 {
  color: var(--navy);
}

/* ─── Preset D: ネイビー→空色グラデーション ─── */
[data-hero-color="D"] .hero h1 {
  color: var(--text);
}
[data-hero-color="D"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="D"] .hero h1 .line:first-child {
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-hero-color="D"] .hero h1 .line:last-child {
  background: linear-gradient(90deg, var(--primary) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Preset D2: チャコール→ネイビー ─── */
[data-hero-color="D2"] .hero h1 {
  color: var(--text);
}
[data-hero-color="D2"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="D2"] .hero h1 .line:first-child,
[data-hero-color="D2"] .hero h1 .line:last-child {
  background: linear-gradient(90deg, var(--text) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Preset D3: 末端フェード ─── */
[data-hero-color="D3"] .hero h1 {
  color: var(--text);
}
[data-hero-color="D3"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="D3"] .hero h1 .line:first-child {
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 55%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-hero-color="D3"] .hero h1 .line:last-child {
  background: linear-gradient(90deg, var(--primary) 0%, var(--navy) 45%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Preset D4: ネイビー統一 ─── */
[data-hero-color="D4"] .hero h1 {
  color: var(--navy);
}
[data-hero-color="D4"] .hero h1 .dim {
  color: var(--navy);
}
[data-hero-color="D4"] .hero h1 .line:first-child {
  background: linear-gradient(90deg, var(--navy) 0%, #4a6fa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-hero-color="D4"] .hero h1 .line:last-child {
  background: linear-gradient(90deg, #4a6fa5 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Preset E: キーワードグラデーション ─── */
[data-hero-color="E"] .hero h1 {
  color: var(--text);
}
[data-hero-color="E"] .hero h1 .dim {
  color: var(--text);
}
[data-hero-color="E"] .hero h1 .key1 {
  background: linear-gradient(90deg, var(--primary) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-hero-color="E"] .hero h1 .key2 {
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .sub {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--text);
  margin-bottom: 6px;
}
.hero .sub-ja {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--text-sec);
}
.hero-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--text-sec);
  margin: 14px 0 0;
}

/* ─────── Primary CTA (Hero / Services) ─────── */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.28em;
  padding: 14px 0;
  border: none;
  text-decoration: none;
  cursor: pointer;
  gap: 32px;
}
.cta .label {
  position: relative;
  padding-bottom: 6px;
  transition: color 300ms ease;
}
.cta .label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--primary);
  transition: right 520ms cubic-bezier(.65, .05, .25, 1);
}
.cta:hover .label::after {
  right: 0;
}
.cta:hover .label {
  color: var(--primary-hover);
}
.cta .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cta .ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  transition: background 420ms cubic-bezier(.65, .05, .25, 1),
    border-color 300ms ease,
    transform 520ms cubic-bezier(.65, .05, .25, 1);
}
.cta .ring::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  transform: translateX(-2px) rotate(45deg) translate(-1px, 1px);
  transition: border-color 300ms ease;
}
.cta:hover .ring {
  background: var(--primary);
  transform: translateX(6px);
}
.cta:hover .ring::before {
  border-color: #fff;
}
button.cta {
  background: transparent;
}

/* ─────── Submit button (Contact form) ─────── */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: transparent;
  color: var(--primary);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.28em;
  padding: 0 36px 0 calc(36px + 0.28em);
  min-height: 56px;
  border-radius: 2px;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
  align-self: center;
  margin-top: 16px;
}
.submit-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.submit-btn .ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 420ms cubic-bezier(.65, .05, .25, 1),
    border-color 300ms ease;
}
.submit-btn:hover .ring {
  border-color: #fff;
  transform: translateX(4px);
}
.submit-btn .ring::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  transform: translate(-1.5px, -0.5px) rotate(45deg);
  transition: border-color 300ms ease;
}
.submit-btn:hover .ring::before {
  border-color: #fff;
}
.hero-cta {
  margin-top: 72px;
}
.hero-corner {
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-sec);
}
.hero-corner .scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-corner .scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: var(--text-30);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(0.4);
    opacity: 1;
    transform-origin: top;
  }
}

/* ─────── Section shells ─────── */
section {
  padding: var(--sect-pad) var(--gutter);
}
.section-head {
  text-align: center;
  margin-bottom: clamp(64px, 10vw, 120px);
}
.section-head .kicker {
  display: block;
  margin-bottom: 16px;
}
.bg-gray {
  background: var(--gray);
}

/* ─────── Profile ─────── */
.profile {
  background: var(--gray);
}
.profile-body {
  max-width: 600px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
}
.profile-body p {
  margin: 0 0 2em;
}
.profile-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 3em !important;
}
.profile-body .quotes {
  margin: 3em 0;
  padding-left: 24px;
  border-left: 2px solid var(--primary);
}
.profile-body .quotes p {
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 0.8em;
  opacity: 0.9;
}
.profile-body .quotes p::before {
  content: "「";
}
.profile-body .quotes p::after {
  content: "」";
}

/* ─────── Services ─────── */
.services-intro {
  max-width: 640px;
  margin: 0 auto clamp(72px, 10vw, 120px);
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 2.1;
  color: var(--text);
}
.service-list {
  max-width: 860px;
  margin: 0 auto;
}
.service {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(48px, 7vw, 72px) 0;
  border-top: 1px solid var(--text-15);
  align-items: start;
}
.service:last-child {
  border-bottom: 1px solid var(--text-15);
}
.service-num {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--primary);
  padding-top: 8px;
}
.service-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.4;
}
.service-en {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-sec);
  margin-bottom: 24px;
  display: block;
}
.service-body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin: 0;
}
.services-cta {
  margin-top: clamp(72px, 10vw, 120px);
  text-align: center;
}

/* ─────── Service layers ─────── */
.service-layer {
  max-width: 860px;
  margin: 0 auto clamp(0px, 0vw, 0px);
}
.service-layer--second {
  margin-top: clamp(72px, 10vw, 120px);
}
.service-layer-label {
  display: block;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-sec);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--text-15);
}
.service-num--word {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.services-closing {
  max-width: 860px;
  margin: clamp(48px, 8vw, 80px) auto 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 2;
  color: var(--text);
  text-align: center;
}
.services-closing p {
  margin: 0 0 0.6em;
}
.services-closing-sub {
  font-size: 14px;
  color: var(--text-sec);
  letter-spacing: 0.1em;
}
.service-works-link {
  display: inline-block;
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 200ms ease;
}
.service-works-link:hover {
  opacity: 0.7;
}

/* ─────── Works ─────── */
.works-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 56px);
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
}
.work-thumb {
  aspect-ratio: 16/9;
  background: #D6E9F3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 240ms ease;
}
.work-card:hover .work-thumb {
  opacity: 0.85;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.works-intro {
  max-width: 640px;
  margin: 0 auto clamp(48px, 8vw, 80px);
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-sec);
}
.work-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-sec);
  margin: 8px 0 6px;
}
.work-thumb-mark {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #A8CADB;
}
.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.work-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.work-cat {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-sec);
  white-space: nowrap;
}
.works-empty-note {
  max-width: 520px;
  margin: 72px auto 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 2;
  padding-top: 40px;
  border-top: 1px solid var(--text-15);
}

/* ─────── Contact ─────── */
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact-lead {
  max-width: 520px;
  margin: 0 auto clamp(56px, 8vw, 80px);
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 2.1;
  color: var(--text);
}
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field label {
  font-family: "Noto Sans JP", "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.field label .req {
  color: var(--primary);
  font-size: 13px;
}
.field label .opt,
.field-label .opt {
  color: var(--text-sec);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.field-label {
  font-family: "Noto Sans JP", "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
.checkbox-item,
.field .checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--text);
  cursor: pointer;
  justify-content: flex-start;
}
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--text-30);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 0;
  padding: 0;
  transition: border-color 200ms ease, background 200ms ease;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
.field select {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  color: var(--text);
  font-size: 18px;
  background: transparent;
  border: 1px solid var(--text-15);
  border-radius: 2px;
  padding: 12px 36px 12px 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 240ms ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888888' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
}
.field select:focus {
  border-color: var(--primary);
}
.field select option {
  background: var(--cream);
  color: var(--text);
}
.field input,
.field textarea {
  font: inherit;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  color: var(--text);
  font-size: 16px;
  background: transparent;
  border: 1px solid var(--text-15);
  border-radius: 2px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 240ms ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.9;
}

/* ─────── Contact biz info ─────── */
.contact-biz-info {
  max-width: 500px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--text-15);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--text-sec);
  text-align: center;
}
.contact-biz-info p {
  margin: 0;
}

/* ─────── Footer ─────── */
footer {
  background: var(--char);
  color: var(--cream);
  padding: 64px var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .footer-logo .sc-mark {
  border-color: var(--cream);
}
footer .footer-logo .sc-mark>span {
  color: var(--cream);
}
footer .footer-logo .wordmark {
  font-size: 13px;
  color: var(--cream);
}
footer .copy {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
}

/* ─────── Fade-in ─────── */
.fade-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-hero.visible {
  opacity: 1;
  transform: none;
}
.hero-delay-0 {
  transition-delay: 0.10s;
}
.hero-delay-1 {
  transition-delay: 0.40s;
}
.hero-delay-2 {
  transition-delay: 0.75s;
}
.hero-delay-3 {
  transition-delay: 1.00s;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fade-hero {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-corner .scroll::after {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ─────── Career ─────── */
.career {
  background: var(--cream);
}
.career-numbers {
  max-width: 860px;
  margin: 0 auto clamp(56px, 8vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.career-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--text-15);
}
.career-num {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--primary);
}
.career-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.career-supplement {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  line-height: 1.2;
}
.career-place {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.6;
}
.career-role {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  line-height: 1.7;
}
.career-body {
  max-width: 600px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
}
.career-body p {
  margin: 0;
}

/* ─────── Responsive ─────── */
@media (max-width: 720px) {
  .nav {
    padding: 14px var(--gutter);
  }
  .nav-links {
    gap: 22px;
    font-size: 11px;
  }
  .hero {
    padding-top: 140px;
    padding-bottom: 100px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.55;
    margin-bottom: 40px;
  }
  .hero-cta {
    margin-top: 56px;
  }
  .hero-corner {
    display: none;
  }
  .service {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }
  .service-num {
    padding-top: 0;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-head {
    margin-bottom: 56px;
  }
  .career-numbers {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .career-item {
    padding-top: 32px;
  }
}

/* ─────── Thanks page ─────── */
.thanks-section {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sect-pad) var(--gutter);
}
.thanks-inner {
  max-width: 560px; width: 100%;
  text-align: center;
}
.thanks-kicker {
  font-family: "Jost", sans-serif; font-weight: 400;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--primary);
  margin: 0 0 24px;
}
.thanks-title {
  font-family: "Noto Serif JP", serif; font-weight: 400;
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: 0.08em; line-height: 1.5;
  color: var(--text);
  margin: 0 0 48px;
}
.thanks-body {
  font-family: "Noto Sans JP", sans-serif; font-weight: 300;
  font-size: 15px; line-height: 2.2;
  color: var(--text);
  margin: 0 0 56px;
}
.thanks-body p { margin: 0 0 1.6em; }
.thanks-body p:last-child { margin: 0; }
.thanks-body a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
}

/* ─────── CF7: .contact-form の代替（CF7のformタグに直接当てる） ─────── */
.wpcf7-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* CF7がinputをspanで囲む → blockにしてwidth: 100%を効かせる */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* width: 100% が明示されていないので追加 */
.field input,
.field textarea {
  width: 100%;
}

/* ─────── CF7チェックボックス: .checkbox-item の代替 ─────── */
.checkbox-group .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
.checkbox-group .wpcf7-list-item {
  margin: 0;
}

/* CF7チェックボックス各項目: .checkbox-item の代替 */
.checkbox-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--text);
  cursor: pointer;
  justify-content: flex-start;
  margin: 0;
}

/* チェックボックス本体: .checkbox-item input[type="checkbox"] の代替 */
.checkbox-group .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--text-30);
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 0;
  padding: 0;
  margin: 0;
  transition: border-color 200ms ease, background 200ms ease;
}
.checkbox-group .wpcf7-list-item input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-group .wpcf7-list-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* ラベルテキスト */
.checkbox-group .wpcf7-list-item-label {
  display: inline;
}