/* ============================================
   MIYABI DOBOKU - 下層ページ共通スタイル
   ============================================ */

body.page { background: var(--c-cream); }
.page .header { position: fixed; background: rgba(240,236,223,0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,0.05); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow { max-width: 960px; }
.container--form   { max-width: 820px; }
.container--wide   { max-width: 1440px; }

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 200px 0 120px;
  background: var(--c-cream);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 55%;
  height: 90px;
  background: var(--c-blue);
  transform: translateY(-50%) rotate(-2deg);
  transform-origin: center;
  z-index: 0;
  opacity: 0.9;
  filter: url(#crossFilter);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -40px; bottom: 40px;
  left: 8%;
  width: 90px;
  background: var(--c-blue);
  transform: rotate(-2deg);
  z-index: 0;
  opacity: 0.9;
  filter: url(#crossFilter);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}
.page-hero__en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  filter: url(#grungeFilter);
}
.page-hero__ja {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.25em;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.crumbs {
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-gray-500);
  display: flex;
  align-items: center;
  gap: 12px;
}
.crumbs a { color: var(--c-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ============ CONTACT PAGE ============ */
.contact-intro { padding: 80px 0 40px; background: var(--c-cream); }
.lead {
  font-family: var(--f-ser);
  font-weight: 500;
  font-size: 17px;
  line-height: 2;
  color: var(--c-ink);
  text-align: center;
  margin-bottom: 56px;
}
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.method-card {
  display: flex; flex-direction: column;
  padding: 48px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-100);
  text-align: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.method-card:hover { transform: translateY(-4px); border-color: var(--c-blue); }
.method-card__label {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--c-blue);
  text-transform: uppercase;
}
.method-card__value {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.03em;
  color: var(--c-ink);
  margin: 6px 0 4px;
}
.method-card__note {
  font-size: 12px;
  color: var(--c-gray-500);
  letter-spacing: 0.05em;
}

/* ============ FORM ============ */
.form-section { padding: 60px 0 140px; background: var(--c-cream); }
.form {
  background: var(--c-white);
  padding: 64px 56px;
  border-top: 4px solid var(--c-blue);
}
.form__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-gray-100);
  align-items: start;
}
.form__row:last-of-type { border-bottom: none; }
.form__label {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  padding-top: 12px;
  display: flex; align-items: center; gap: 10px;
}
.req {
  display: inline-block;
  padding: 3px 8px;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
}
.form__field { min-width: 0; }
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-off);
  border: 1px solid var(--c-gray-100);
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--c-ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: var(--c-white);
}
.form__field textarea {
  resize: vertical;
  min-height: 180px;
  font-family: var(--f-sans);
  line-height: 1.9;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.radio, .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  background: var(--c-off);
  border: 1px solid var(--c-gray-100);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.radio:hover, .checkbox:hover { border-color: var(--c-blue); }
.radio input, .checkbox input { accent-color: var(--c-blue); }
.checkbox a { color: var(--c-blue); text-decoration: underline; }
.form__submit {
  padding-top: 40px;
  text-align: center;
}
.form__note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--c-gray-500);
  text-align: center;
  line-height: 2;
}
/* バリデーション・エラー表示 */
.form__err {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #e02424;
  letter-spacing: 0.02em;
}
.form__field input.is-invalid,
.form__field textarea.is-invalid {
  border-color: #e02424;
  background: #fdf2f2;
}
.radio-group.is-invalid,
.checkbox.is-invalid {
  outline: 1.5px solid #e02424;
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============ PAGE SECTIONS COMMON ============ */
.page-block { padding: 100px 0; background: var(--c-cream); }
.page-block--white { background: var(--c-white); }
.page-block--dark { background: var(--c-ink); color: var(--c-white); }
.page-block--blue { background: var(--c-blue); color: var(--c-white); }

.block-title {
  display: flex; align-items: baseline; gap: 20px;
  line-height: 1;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--c-ink);
}
.block-title__en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.block-title__jp {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-gray-500);
}
.page-block--dark .block-title,
.page-block--blue .block-title { border-color: rgba(255,255,255,0.3); }
.page-block--dark .block-title__en,
.page-block--blue .block-title__en { color: var(--c-white); }

/* ============ ABOUT PAGE ============ */
.message {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.message__photo {
  aspect-ratio: 3/4;
  background: url("../photos-final/works/work-youheki.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  filter: contrast(1.05);
}
.message__photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,55,255,0.12) 0%, transparent 40%),
    linear-gradient(0deg, rgba(14,20,32,0.7) 0%, rgba(14,20,32,0.05) 55%);
}
.message__photo::after {
  content: "現場から、確かな仕事を。";
  position: absolute;
  left: 26px; right: 26px; bottom: 26px;
  color: #fff;
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.message__body {
  padding-top: 20px;
}
.message__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--c-ink);
}
.message__title em { font-style: normal; color: var(--c-blue); }
.message__body p {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-gray-500);
  margin-bottom: 20px;
}
.message__sig {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-gray-100);
  display: flex; align-items: baseline; gap: 24px;
}
.message__sig-role {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-gray-500);
  letter-spacing: 0.15em;
}
.message__sig-name {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-ink);
  letter-spacing: 0.1em;
}

/* Story timeline */
.timeline {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-gray-100);
}
.timeline__year {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 32px;
  color: var(--c-blue);
  letter-spacing: 0.02em;
}
.timeline__title {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.timeline__body {
  font-size: 14px;
  color: var(--c-gray-500);
  line-height: 2;
}

/* ============ PHILOSOPHY ============ */
.philosophy { max-width: 960px; margin: 0 auto; }
.philosophy__lead {
  font-family: var(--f-brush);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1.1;
  color: var(--c-white);
  text-align: center;
  margin-bottom: 48px;
}
.philosophy__lead span { display: block; }
.philosophy__body {
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--f-ser);
  font-size: 17px;
  line-height: 2.1;
  margin-bottom: 60px;
}
.philosophy__body p { margin-bottom: 20px; }
.philosophy__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pvalue {
  padding: 40px 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.pvalue__num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 42px;
  color: var(--c-blue-3);
  line-height: 1;
  margin-bottom: 16px;
}
.pvalue__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: 32px;
  color: var(--c-white);
  margin-bottom: 20px;
  letter-spacing: 0.15em;
}
.pvalue__body {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.9;
}

/* ============ SAFETY ============ */
.safety__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.safety__intro p {
  font-family: var(--f-ser);
  font-size: 17px;
  line-height: 2.1;
  color: var(--c-ink);
}
.safety__note {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--c-gray-500);
}

/* ============ BUSINESS PAGE ============ */
.biz-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--c-gray-100);
}
.biz-section:nth-child(even) { grid-template-columns: 1fr 1fr; direction: rtl; }
.biz-section:nth-child(even) > * { direction: ltr; }
.biz-section__img {
  aspect-ratio: 4/3;
  background: var(--c-navy-2);
  filter: contrast(1.05);
}
.biz-section--civil .biz-section__img {
  background: url("../photos-final/works/work-katawaku.jpg") center/cover no-repeat;
}
.biz-section--piping .biz-section__img {
  background: url("../photos-final/works/work-youheki.jpg") center/cover no-repeat;
}
.biz-section__img--piping {
  background: url("https://images.unsplash.com/photo-1565364507085-325347bae748?w=1600&q=85&auto=format&fit=crop") center/cover no-repeat !important;
}
.biz-section__num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 88px;
  color: var(--c-blue);
  line-height: 1;
  opacity: 0.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.biz-section__en {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.biz-section__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.biz-section__desc {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-gray-500);
  margin-bottom: 32px;
}
.biz-section__list {
  list-style: none;
  margin-bottom: 32px;
}
.biz-section__list li {
  padding: 12px 0 12px 24px;
  position: relative;
  font-size: 15px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-gray-100);
}
.biz-section__list li::before {
  content: "▶";
  position: absolute;
  left: 0; top: 12px;
  color: var(--c-blue);
  font-size: 10px;
}

/* ============ CSR PAGE ============ */
.csr-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.csr-topic {
  padding: 40px 32px;
  background: var(--c-cream);
  border-left: 4px solid var(--c-blue);
}
.csr-topic__num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 36px;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 16px;
}
.csr-topic__title {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.csr-topic__body {
  font-size: 14px;
  color: var(--c-gray-500);
  line-height: 1.9;
}
.partnership p {
  font-family: var(--f-ser);
  font-size: 16px;
  line-height: 2;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.partnership__list {
  list-style: none;
}
.partnership__list li {
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--c-gray-100);
  position: relative;
  color: var(--c-ink);
  font-size: 14px;
}
.partnership__list li::before {
  content: "◆";
  position: absolute;
  left: 4px; top: 16px;
  color: var(--c-blue);
  font-size: 12px;
}

/* ============ NEWS ARCHIVE PAGE ============ */
.news-filter {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.news-archive { list-style: none; }
.narchive { border-bottom: 1px solid var(--c-gray-100); }
.narchive:first-child { border-top: 1px solid var(--c-gray-100); }
.narchive a {
  display: grid;
  grid-template-columns: 130px 90px 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: 26px 8px;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}
.narchive a:hover { background: rgba(0,85,255,0.04); }
.narchive__date {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-ink);
  letter-spacing: 0.05em;
}
.narchive__tag {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-blue);
  border: 1px solid var(--c-blue);
  padding: 3px 10px;
  text-align: center;
  border-radius: 2px;
}
.narchive__text {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-ink);
  line-height: 1.7;
}
.narchive__arrow {
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-en);
  font-size: 16px;
  color: var(--c-blue);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  justify-self: end;
}
.narchive a:hover .narchive__arrow { background: var(--c-blue); color: var(--c-white); }
@media (max-width: 720px) {
  .narchive a { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 20px 4px; }
  .narchive__text { grid-column: 1 / -1; font-size: 14px; }
  .narchive__arrow { display: none; }
}

/* ============ WORKS PAGE ============ */
.works-filter {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.works-filter__btn {
  padding: 10px 20px;
  border: 1.5px solid var(--c-ink);
  background: transparent;
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.works-filter__btn.is-active,
.works-filter__btn:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}
.works-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.works-page-grid .wcard { cursor: pointer; }

/* ============ RECRUIT PAGE ============ */
.recruit-block {
  padding: 100px 0;
  background: var(--c-cream);
}
.recruit-msg {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.recruit-msg__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.recruit-msg__title em { color: var(--c-blue); font-style: normal; }
.recruit-msg__body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-gray-500);
}
.jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.job {
  background: var(--c-white);
  padding: 40px;
  border-top: 4px solid var(--c-blue);
}
.job__type {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-blue);
  margin-bottom: 8px;
}
.job__title {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-ink);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.job__spec {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 20px;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.job__spec dt {
  color: var(--c-blue);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.job__spec dd { color: var(--c-ink); }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.benefit {
  padding: 40px 32px;
  background: var(--c-white);
  text-align: center;
}
.benefit__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 22px;
  margin: 0 auto 20px;
}
.benefit__title {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.benefit__body {
  font-size: 13px;
  color: var(--c-gray-500);
  line-height: 1.9;
}
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
}
.flow__step {
  padding: 32px 24px;
  text-align: center;
  background: var(--c-white);
  position: relative;
}
.flow__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%; right: -16px;
  transform: translateY(-50%);
  color: var(--c-blue);
  font-size: 20px;
  z-index: 2;
}
.flow__num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.flow__title {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink);
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .container, .container--narrow, .container--form { padding: 0 20px; }
  .page-hero { padding: 140px 0 80px; }
  .contact-methods,
  .biz-section,
  .jobs,
  .benefits,
  .message,
  .timeline,
  .works-page-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .biz-section:nth-child(even) { direction: ltr; }
  .flow { grid-template-columns: 1fr; }
  .flow__step:not(:last-child)::after { top: unset; right: 50%; bottom: -20px; transform: translateX(50%); }
  .form { padding: 40px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 12px; }
  .form__label { padding-top: 0; }
  .radio-group { flex-direction: column; gap: 8px; }
}


/* ============ PRIVACY PAGE ============ */
.policy { padding: 60px 0 140px; background: var(--c-cream); }
.policy h2 { font-family: var(--f-ser); font-weight: 700; font-size: 22px; margin: 40px 0 16px; color: var(--c-ink); border-left: 4px solid var(--c-blue); padding-left: 14px; }
.policy p, .policy li { font-size: 14px; line-height: 2.1; color: var(--c-ink); margin-bottom: 12px; }
.policy ul { padding-left: 24px; margin-bottom: 16px; }
.policy ol { padding-left: 24px; margin-bottom: 16px; }

/* ============ 施工事例（工程ストーリー） ============ */
.case-lead {
  font-family: var(--f-ser);
  font-size: 16px;
  line-height: 2.1;
  color: var(--c-ink);
  max-width: 860px;
  margin: -24px 0 64px;
}
.case-flow { display: flex; flex-direction: column; gap: 72px; }
.case-step {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.case-step--reverse .case-step__img { order: 2; }
.case-step__img {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-ink);
}
.case-step__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.case-step:hover .case-step__img img { transform: scale(1.04); }
.case-step__no {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--c-blue);
  display: block;
  margin-bottom: 14px;
}
.case-step__title {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--c-ink);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 16px;
}
.case-step__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  background: var(--c-blue);
}
.case-step__text p {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2;
  color: var(--c-gray-500);
}

.case-single {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.case-single__img {
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 620px;
  background: var(--c-ink);
}
.case-single__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-single__text p {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-ink);
  margin-bottom: 28px;
}
.case-single__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.case-single__tags li {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  border: 1px solid var(--c-blue);
  padding: 7px 16px;
  border-radius: 100px;
}

@media (max-width: 820px) {
  .case-step, .case-single { grid-template-columns: 1fr; gap: 24px; }
  .case-step--reverse .case-step__img { order: 0; }
  .case-flow { gap: 56px; }
  .case-lead { margin: -8px 0 48px; font-size: 15px; }
  .case-single__img { aspect-ratio: 4/3; max-height: none; }
}
