/* ===== RETHEME terra (§3-3b・2026-07-03 batch) — 原本はサーバ .bak & _server_mirror/css ===== */
@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #16181c;
  background: #fff;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

a {
  color: inherit;
}

#wrapper {
  min-width: 320px;
  overflow: clip;
}

#contents {
  min-height: 100vh;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: #7E3227;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.inner {
  width: min(1180px, 100% - 100px);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.section-kicker {
  margin: 0 0 18px;
  color: #5a3a2a;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-kicker--light {
  color: #d9c6ba;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.section-title--light {
  color: #fff;
}

.section-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #5f6663;
  font-size: 17px;
  line-height: 2;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading--center {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.section-heading--center .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: end;
}

.section-heading--split .section-lead {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 250px;
  min-height: 62px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid #f5b500;
  outline-offset: 3px;
}

.button--gold {
  color: #16181c;
  background: #f5b500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button--green {
  color: #fff;
  background: #9C4032;
}

.button--large {
  min-width: 320px;
  min-height: 72px;
}

.button__arrow {
  font-size: 20px;
}

.breadcrumb {
  font-size: 12px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
  margin-right: 8px;
  content: "/";
  opacity: 0.5;
}

.breadcrumb__link {
  text-decoration: none;
}

.breadcrumb--light {
  color: rgba(255, 255, 255, 0.82);
}

.sp-menu {
  display: none;
}

@media (max-width: 1024px) {
  .inner {
    width: min(100% - 60px, 920px);
  }
  .section {
    padding: 96px 0;
  }
  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 850px) {
  .sp-menu {
    position: fixed;
    top: 15px;
    right: 18px;
    z-index: 220;
    display: block;
  }
  .sp-menu__button {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #7E3227;
    cursor: pointer;
  }
  .sp-menu__line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .sp-menu.is-open .sp-menu__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .sp-menu.is-open .sp-menu__line:nth-child(2) {
    opacity: 0;
  }
  .sp-menu.is-open .sp-menu__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .sp-menu__panel {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: hidden;
    padding: 80px 24px 40px;
    background: rgba(76, 23, 15, 0.98);
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .sp-menu.is-open .sp-menu__panel {
    visibility: visible;
    opacity: 1;
  }
  .sp-menu__nav {
    display: grid;
    width: min(100%, 420px);
  }
  .sp-menu__link {
    padding: 20px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }
}
@media (max-width: 568px) {
  .inner {
    width: calc(100% - 40px);
  }
  .section {
    padding: 76px 0;
  }
  .section-title {
    font-size: 34px;
  }
  .section-lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.9;
  }
  .button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }
  .button--large {
    min-height: 64px;
  }
}
.header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: #000;
  background: #fff;
  font-family: inherit;
}
.header *, .header *::before, .header *::after {
  box-sizing: border-box;
}

.header__inner {
  width: 100%;
  padding: 0 50px;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  padding-top: 0;
}

.header__logo {
  display: block;
  width: 200px;
  line-height: 0;
}

.header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header__tagline {
  margin: 10px 0 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.header__utility {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__lang {
  position: relative;
  flex: 0 0 auto;
}

.header__lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  color: #000;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.header__lang-arrow {
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.header__lang.is-open .header__lang-arrow {
  transform: translateY(2px) rotate(225deg);
}

.header__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: grid;
  width: 150px;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header__lang.is-open .header__lang-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header__lang-link {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.header__lang-link.is-current {
  background: #f8f5f4;
  font-weight: 600;
}

.header__actions {
  position: relative;
  top: -45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  padding: 100px 20px 20px;
  border-radius: 0 0 10px 10px;
  background: #B24A3B;
}

.header__action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.header__action-link img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-height: 18px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 10px;
}

.header__nav-link {
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.header__lang-button:focus-visible, .header__lang-link:focus-visible, .header__action-link:focus-visible, .header__nav-link:focus-visible, .header__logo:focus-visible {
  outline: 2px solid #B24A3B;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .header__lang-button:hover {
    border-color: #B24A3B;
  }
  .header__lang-link:hover {
    background: #f8f5f4;
  }
  .header__action-link:hover {
    opacity: 0.8;
  }
  .header__nav-link:hover {
    color: #B24A3B;
  }
}
@media (max-width: 1250px) {
  .header__utility {
    gap: 20px;
  }
  .header__nav {
    gap: 22px;
  }
}
@media (max-width: 1024px) {
  .header__inner {
    padding: 0 35px;
  }
  .header__tagline {
    display: none;
  }
}
@media (max-width: 850px) {
  .header__inner {
    padding: 14px 30px;
  }
  .header__top {
    align-items: center;
    gap: 16px;
  }
  .header__brand {
    padding-top: 0;
  }
  .header__logo {
    width: 160px;
  }
  .header__utility {
    margin-left: auto;
  }
  .header__lang-button {
    width: 98px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .header__lang-menu {
    width: 140px;
  }
  .header__actions, .header__nav {
    display: none;
  }
}
@media (max-width: 568px) {
  .header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .header__logo {
    width: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__lang-arrow, .header__lang-menu {
    transition: none;
  }
}
.footer {
  color: #000;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.footer__inner {
  box-sizing: border-box;
  margin: 100px 0;
  padding: 0 50px;
}
.footer__top {
  display: flex;
}
.footer__intro {
  display: flex;
  flex: 0 0 400px;
  flex-direction: column;
}
.footer__copy {
  display: block;
  width: 355px;
  margin: 0;
}
.footer__copy img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__description {
  display: block;
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}
.footer__nav {
  width: calc(100% - 400px);
}
.footer__columns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 24px 0 28px;
  list-style: none;
}
.footer__column {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 33.3333333333%;
  padding: 0 35px;
  gap: 10px;
}
.footer__column--center {
  border-left: 1px dotted #f8f5f4;
}
.footer__heading {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.footer__heading--spaced {
  margin-top: 15px;
}
.footer__heading span {
  position: relative;
  bottom: -1px;
  display: block;
  width: 17px;
  margin-left: 5px;
  border-radius: 50%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #B24A3B, #7E3227);
}
.footer__heading span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 7px;
  content: "";
  transform: translate(-25%, -50%);
  clip-path: polygon(0 15%, 15% 0, 65% 50%, 15% 100%, 0 85%, 35% 50%, 0 15%);
  aspect-ratio: 1;
  background-color: #fff;
}
.footer__group {
  margin: 0;
}
.footer__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
.footer__summary::-webkit-details-marker {
  display: none;
}
.footer__summary::after {
  display: block;
  width: 13px;
  content: "";
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
  clip-path: polygon(0 45%, 45% 45%, 45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%);
  aspect-ratio: 1;
  background-color: #000;
}
.footer__group[open] .footer__summary::after {
  clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
}
.footer__links {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 5px 0;
  padding: 15px;
  border-radius: 5px;
  background-color: #f8f5f4;
}
.footer__nav-link {
  display: block;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
.footer__bottom {
  display: flex;
  align-items: flex-start;
  margin-top: 50px;
}
.footer__company {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0 30px;
}
.footer__logo {
  display: block;
  width: 200px;
}
.footer__bess {
  display: block;
  width: 170px;
}
.footer__logo img, .footer__bess img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__link {
  display: flex;
  align-items: center;
  gap: 0 5px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.footer__link span {
  display: block;
  width: 15px;
  line-height: 1;
}
.footer__link img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__copyright {
  margin: 0;
  color: #000;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.footer__copyright--mobile {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer__heading:hover, .footer__summary:hover, .footer__nav-link:hover, .footer__link:hover {
    color: #9C4032;
  }
  .footer__summary:hover::after {
    background-color: #9C4032;
  }
}
@media (max-width: 1350px) {
  .footer__top {
    flex-direction: column;
  }
  .footer__intro {
    flex-basis: auto;
    width: 100%;
  }
  .footer__description br {
    display: none;
  }
  .footer__nav {
    width: 100%;
    margin-top: 50px;
  }
  .footer__column {
    width: 31.6666666667%;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .footer__nav {
    margin-top: 20px;
  }
  .footer__links {
    font-size: 14px;
  }
}
@media (max-width: 850px) {
  .footer__inner {
    margin: 50px 0;
    padding: 0 30px;
  }
  .footer__intro {
    align-items: center;
  }
  .footer__copy {
    width: 300px;
  }
  .footer__description {
    max-width: 500px;
    margin: 10px auto 0;
    text-align: center;
  }
  .footer__nav {
    display: none;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  .footer__brand-row {
    flex-direction: column;
    align-items: center;
    gap: 20px 0;
  }
  .footer__copyright--desktop {
    display: none;
  }
  .footer__company {
    align-items: center;
    width: 100%;
    gap: 24px 0;
  }
  .footer__brand-row {
    width: 100%;
  }
  .footer__logo {
    width: 180px;
  }
  .footer__bess {
    width: 150px;
  }
  .footer__link {
    justify-content: center;
    font-size: 13px;
  }
  .footer__copyright--mobile {
    display: block;
    margin-top: 30px;
    text-align: center;
  }
}
@media (max-width: 568px) {
  .footer__inner {
    padding: 0 20px;
  }
  .footer__copy {
    width: min(100%, 300px);
  }
}

body#agency-top .agency-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #7E3227;
}
body#agency-top .agency-hero__media {
  position: absolute;
  inset: 0;
}
body#agency-top .agency-hero__media picture, body#agency-top .agency-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .agency-hero__media img {
  object-fit: cover;
  object-position: 64% center;
}
body#agency-top .agency-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 15, 10, 0.97) 0%, rgba(45, 15, 10, 0.88) 42%, rgba(45, 15, 10, 0.18) 78%, rgba(45, 15, 10, 0.05) 100%);
}
body#agency-top .agency-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100% - 100px);
  margin: 0 auto;
  padding: 42px 0 110px;
}
body#agency-top .agency-hero__content {
  width: min(660px, 58%);
  padding-top: 88px;
}
body#agency-top .agency-hero__eyebrow {
  margin: 0 0 22px;
  color: #d9c6ba;
  font: 700 13px/1.4 Arial, sans-serif;
  letter-spacing: 0.22em;
}
body#agency-top .agency-hero__title {
  margin: 0;
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
body#agency-top .agency-hero__title-small {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
body#agency-top .agency-hero__lead {
  max-width: 620px;
  margin: 30px 0 0;
  font-size: 17px;
  line-height: 2;
}
body#agency-top .agency-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
body#agency-top .agency-hero__note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.7;
}
body#agency-top .agency-routes {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}
body#agency-top .agency-routes__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100% - 100px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(76, 23, 15, 0.15);
}
body#agency-top .agency-routes__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 110px;
  padding: 24px 28px;
  border-right: 1px solid #e0dad9;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
body#agency-top .agency-routes__item:last-child {
  border-right: 0;
}
body#agency-top .agency-routes__item:hover {
  background: #f8f5f5;
}
body#agency-top .agency-routes__number {
  color: #5a3a2a;
  font: 700 12px/1 Arial, sans-serif;
}
body#agency-top .agency-routes__body {
  display: grid;
  gap: 6px;
}
body#agency-top .agency-routes__body strong {
  font-size: 17px;
}
body#agency-top .agency-routes__body small {
  color: #5f6663;
  font-size: 12px;
}
body#agency-top .agency-routes__arrow {
  color: #9C4032;
  font-size: 22px;
}
body#agency-top .agency-concerns {
  padding-top: 150px;
}
body#agency-top .agency-concerns__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 92px;
  align-items: center;
}
body#agency-top .agency-concerns__visual {
  position: relative;
  min-height: 520px;
}
body#agency-top .agency-concerns__visual picture, body#agency-top .agency-concerns__visual img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .agency-concerns__visual img {
  object-fit: cover;
  border-radius: 2px;
}
body#agency-top .agency-concerns__quote {
  position: absolute;
  right: -36px;
  bottom: -38px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 18px;
  align-items: center;
  width: 320px;
  padding: 28px 30px;
  color: #fff;
  background: #5a3a2a;
  box-shadow: 0 18px 42px rgba(90, 58, 42, 0.24);
}
body#agency-top .agency-concerns__quote span {
  font-size: 10px;
  letter-spacing: 0.14em;
}
body#agency-top .agency-concerns__quote strong {
  font-size: 20px;
}
body#agency-top .agency-concerns__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 110px;
  background: #e0dad9;
}
body#agency-top .concern-card {
  min-height: 260px;
  padding: 38px 34px;
  background: #fff;
}
body#agency-top .concern-card__number {
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 2px solid #5a3a2a;
  color: #5a3a2a;
  font: 700 12px/1 Arial, sans-serif;
}
body#agency-top .concern-card__title {
  margin: 44px 0 0;
  font-size: 21px;
  line-height: 1.5;
}
body#agency-top .concern-card__text {
  margin: 16px 0 0;
  color: #5f6663;
  font-size: 14px;
  line-height: 1.9;
}
body#agency-top .agency-overview {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: #7E3227;
}
body#agency-top .agency-overview__background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(245, 181, 0, 0.12), transparent 26%), linear-gradient(130deg, transparent 54%, rgba(255, 255, 255, 0.03) 54%);
}
body#agency-top .agency-overview__inner {
  position: relative;
  z-index: 1;
}
body#agency-top .agency-overview__header {
  max-width: 780px;
}
body#agency-top .agency-overview__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 70px;
}
body#agency-top .overview-step {
  position: relative;
  min-height: 360px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
body#agency-top .overview-step__number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.35);
  font: 700 12px/1 Arial, sans-serif;
}
body#agency-top .overview-step__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(245, 181, 0, 0.12);
}
body#agency-top .overview-step__icon svg {
  width: 40px;
  fill: none;
  stroke: #f5b500;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
body#agency-top .overview-step__title {
  margin: 42px 0 0;
  font-size: 30px;
}
body#agency-top .overview-step__text {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 2;
}
body#agency-top .agency-overview__connector {
  display: grid;
  place-items: center;
  color: #f5b500;
  font-size: 30px;
}
body#agency-top .agency-overview__note {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-top: 38px;
  padding: 24px 28px;
  border-left: 3px solid #f5b500;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.14);
  font-size: 13px;
  line-height: 1.8;
}
body#agency-top .agency-overview__note strong {
  color: #fff;
  font-size: 15px;
}
body#agency-top .agency-benefits__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 70px;
}
body#agency-top .benefit-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #e0dad9;
  background: #fff;
}
body#agency-top .benefit-card--wide {
  grid-row: span 2;
  display: grid;
  grid-template-rows: 1.1fr 0.9fr;
  min-height: 864px;
}
body#agency-top .benefit-card__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
body#agency-top .benefit-card__media picture, body#agency-top .benefit-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .benefit-card__media img {
  object-fit: cover;
}
body#agency-top .benefit-card__body {
  padding: 42px;
}
body#agency-top .benefit-card__number {
  color: #5a3a2a;
  font: 700 12px/1 Arial, sans-serif;
}
body#agency-top .benefit-card__title {
  margin: 26px 0 0;
  font-size: 29px;
  line-height: 1.45;
}
body#agency-top .benefit-card__text {
  margin: 20px 0 0;
  color: #5f6663;
  font-size: 15px;
  line-height: 2;
}
body#agency-top .benefit-card--accent {
  color: #fff;
  background: #5a3a2a;
  border-color: #5a3a2a;
}
body#agency-top .benefit-card--accent .benefit-card__number, body#agency-top .benefit-card--accent .benefit-card__text {
  color: rgba(255, 255, 255, 0.75);
}
body#agency-top .benefit-card__note {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.7;
}
body#agency-top .check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
body#agency-top .check-list__item {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}
body#agency-top .check-list__item::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid #9C4032;
  border-left: 2px solid #9C4032;
  content: "";
  transform: rotate(-45deg);
}
body#agency-top .agency-support {
  background: #f8f5f5;
}
body#agency-top .agency-support__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
body#agency-top .agency-support__media {
  position: relative;
  min-height: 680px;
}
body#agency-top .agency-support__media picture, body#agency-top .agency-support__media img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .agency-support__media img {
  object-fit: cover;
}
body#agency-top .agency-support__badge {
  position: absolute;
  right: -42px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 210px;
  padding: 22px;
  color: #fff;
  background: #9C4032;
}
body#agency-top .agency-support__badge strong {
  font: 700 58px/1 Arial, sans-serif;
}
body#agency-top .agency-support__badge span {
  font: 700 11px/1.5 Arial, sans-serif;
  letter-spacing: 0.12em;
}
body#agency-top .support-list {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid #e0dad9;
}
body#agency-top .support-list__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid #e0dad9;
}
body#agency-top .support-list__number {
  padding-top: 5px;
  color: #5a3a2a;
  font: 700 12px/1 Arial, sans-serif;
}
body#agency-top .support-list__title {
  margin: 0;
  font-size: 18px;
}
body#agency-top .support-list__text {
  margin: 8px 0 0;
  color: #5f6663;
  font-size: 13px;
  line-height: 1.8;
}
body#agency-top .role-table {
  margin-top: 64px;
  overflow-x: auto;
  border: 1px solid #e0dad9;
}
body#agency-top .role-table table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
body#agency-top .role-table th, body#agency-top .role-table td {
  padding: 24px 26px;
  border-right: 1px solid #e0dad9;
  border-bottom: 1px solid #e0dad9;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.8;
}
body#agency-top .role-table thead th {
  color: #fff;
  background: #7E3227;
  font-size: 13px;
}
body#agency-top .role-table tbody th {
  width: 22%;
  background: #f8f5f5;
  font-size: 15px;
}
body#agency-top .role-table td {
  width: 39%;
}
body#agency-top .role-status {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #5a3a2a;
  background: #efe7e1;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
body#agency-top .role-status--main {
  color: #7E3227;
  background: #f4ebea;
}
body#agency-top .role-status--check {
  color: #6c5200;
  background: #fff4c7;
}
body#agency-top .agency-roles__note {
  margin: 18px 0 0;
  color: #5f6663;
  font-size: 12px;
  line-height: 1.8;
}
body#agency-top .agency-compensation {
  padding: 130px 0;
  color: #fff;
  background: #16181c;
}
body#agency-top .agency-compensation__header {
  max-width: 820px;
}
body#agency-top .agency-compensation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 66px;
}
body#agency-top .compensation-card {
  min-height: 380px;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #7E3227;
}
body#agency-top .compensation-card--brown {
  background: #5a3a2a;
}
body#agency-top .compensation-card__label {
  color: rgba(255, 255, 255, 0.5);
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}
body#agency-top .compensation-card__title {
  margin: 34px 0 0;
  font-size: 32px;
}
body#agency-top .compensation-card__text {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.9;
}
body#agency-top .mini-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
body#agency-top .mini-flow__item {
  position: relative;
  min-height: 74px;
  padding: 38px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 11px;
}
body#agency-top .mini-flow__item::before {
  position: absolute;
  top: 12px;
  left: 50%;
  counter-increment: flow;
  content: "0" counter(flow);
  transform: translateX(-50%);
  color: #f5b500;
  font: 700 10px/1 Arial, sans-serif;
}
body#agency-top .agency-compensation__notice {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  margin-top: 26px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
body#agency-top .agency-compensation__notice strong {
  font-size: 15px;
}
body#agency-top .agency-compensation__notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.9;
}
body#agency-top .agency-fit__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: stretch;
}
body#agency-top .fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
body#agency-top .fit-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid #e0dad9;
  background: #fff;
}
body#agency-top .fit-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #5a3a2a;
  font: 700 11px/1 Arial, sans-serif;
}
body#agency-top .fit-card__title {
  margin: 26px 0 0;
  font-size: 18px;
}
body#agency-top .fit-card__text {
  margin: 12px 0 0;
  color: #5f6663;
  font-size: 13px;
  line-height: 1.8;
}
body#agency-top .agency-fit__media {
  position: relative;
  min-height: 720px;
}
body#agency-top .agency-fit__media picture, body#agency-top .agency-fit__media img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .agency-fit__media img {
  object-fit: cover;
}
body#agency-top .agency-steps {
  background: #f8f5f5;
}
body#agency-top .entry-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}
body#agency-top .entry-flow::before {
  position: absolute;
  top: 30px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: #bba29e;
  content: "";
}
body#agency-top .entry-flow__item {
  position: relative;
  z-index: 1;
}
body#agency-top .entry-flow__number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border: 7px solid #f8f5f5;
  border-radius: 50%;
  color: #fff;
  background: #9C4032;
  font: 700 11px/1 Arial, sans-serif;
}
body#agency-top .entry-flow__item div {
  margin-top: 24px;
  text-align: center;
}
body#agency-top .entry-flow__title {
  margin: 0;
  font-size: 17px;
}
body#agency-top .entry-flow__text {
  margin: 12px 0 0;
  color: #5f6663;
  font-size: 12px;
  line-height: 1.8;
}
body#agency-top .agency-steps__action {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
body#agency-top .agency-mid-cta {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  color: #fff;
}
body#agency-top .agency-mid-cta__media {
  position: absolute;
  inset: 0;
}
body#agency-top .agency-mid-cta__media picture, body#agency-top .agency-mid-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
}
body#agency-top .agency-mid-cta__media img {
  object-fit: cover;
}
body#agency-top .agency-mid-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(76, 23, 15, 0.95), rgba(76, 23, 15, 0.72) 56%, rgba(76, 23, 15, 0.28));
}
body#agency-top .agency-mid-cta__inner {
  position: relative;
  z-index: 1;
  padding-top: 105px;
  padding-bottom: 105px;
}
body#agency-top .agency-mid-cta__eyebrow {
  margin: 0;
  color: #d9c6ba;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: 0.2em;
}
body#agency-top .agency-mid-cta__title {
  max-width: 860px;
  margin: 28px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.42;
}
body#agency-top .agency-mid-cta__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.9;
}
body#agency-top .agency-mid-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
body#agency-top .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
body#agency-top .related-card {
  position: relative;
  min-height: 310px;
  padding: 36px;
  border: 1px solid #e0dad9;
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body#agency-top .related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(76, 23, 15, 0.12);
}
body#agency-top .related-card--primary {
  color: #fff;
  background: #7E3227;
  border-color: #7E3227;
}
body#agency-top .related-card__label {
  color: #5a3a2a;
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}
body#agency-top .related-card--primary .related-card__label {
  color: #d9c6ba;
}
body#agency-top .related-card__title {
  margin: 42px 0 0;
  font-size: 26px;
}
body#agency-top .related-card__text {
  margin: 18px 0 0;
  color: #5f6663;
  font-size: 13px;
  line-height: 1.9;
}
body#agency-top .related-card--primary .related-card__text {
  color: rgba(255, 255, 255, 0.72);
}
body#agency-top .related-card__arrow {
  position: absolute;
  right: 34px;
  bottom: 30px;
  color: #9C4032;
  font-size: 24px;
}
body#agency-top .related-card--primary .related-card__arrow {
  color: #f5b500;
}
body#agency-top .agency-faq {
  background: #f8f5f5;
}
body#agency-top .agency-faq__inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: start;
}
body#agency-top .agency-faq__header {
  position: sticky;
  top: 40px;
}
body#agency-top .faq-list {
  border-top: 1px solid #d8cecd;
}
body#agency-top .faq-list__item {
  border-bottom: 1px solid #d8cecd;
}
body#agency-top .faq-list__question {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 48px 28px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
}
body#agency-top .faq-list__question::-webkit-details-marker {
  display: none;
}
body#agency-top .faq-list__question::after {
  position: absolute;
  right: 8px;
  width: 16px;
  height: 16px;
  background: linear-gradient(#9C4032, #9C4032) center/100% 2px no-repeat, linear-gradient(#9C4032, #9C4032) center/2px 100% no-repeat;
  content: "";
  transition: transform 0.2s ease;
}
body#agency-top .faq-list__item[open] .faq-list__question::after {
  transform: rotate(45deg);
}
body#agency-top .faq-list__mark {
  color: #5a3a2a;
  font: 700 20px/1 Arial, sans-serif;
}
body#agency-top .faq-list__mark--answer {
  color: #9C4032;
}
body#agency-top .faq-list__answer {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 0 44px 28px 0;
  color: #5f6663;
  font-size: 14px;
  line-height: 2;
}
body#agency-top .faq-list__answer p {
  margin: 0;
}
body#agency-top .agency-final-cta {
  padding: 96px 0;
  color: #fff;
  background: #5a3a2a;
}
body#agency-top .agency-final-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
}
body#agency-top .agency-final-cta__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
}
body#agency-top .agency-final-cta__title {
  margin: 24px 0 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.35;
}
body#agency-top .agency-final-cta__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.9;
}
body#agency-top .agency-final-cta__actions {
  display: grid;
  gap: 20px;
  justify-items: stretch;
}
body#agency-top .agency-final-cta__text-link {
  color: #fff;
  text-align: center;
  font-size: 14px;
  text-underline-offset: 5px;
}

@media (max-width: 1024px) {
  body#agency-top .agency-hero__inner {
    width: calc(100% - 60px);
  }
  body#agency-top .agency-hero__content {
    width: 72%;
  }
  body#agency-top .agency-routes__inner {
    width: calc(100% - 60px);
  }
  body#agency-top .agency-concerns__inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  body#agency-top .agency-concerns__visual {
    min-height: 520px;
  }
  body#agency-top .agency-concerns__quote {
    right: 20px;
  }
  body#agency-top .agency-overview__flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body#agency-top .agency-overview__connector {
    transform: rotate(90deg);
  }
  body#agency-top .overview-step {
    min-height: 0;
  }
  body#agency-top .agency-overview__note {
    grid-template-columns: 1fr;
  }
  body#agency-top .agency-benefits__grid {
    grid-template-columns: 1fr;
  }
  body#agency-top .benefit-card--wide {
    grid-row: auto;
    min-height: 680px;
  }
  body#agency-top .agency-support__inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  body#agency-top .agency-support__media {
    min-height: 580px;
  }
  body#agency-top .agency-support__badge {
    right: 24px;
  }
  body#agency-top .agency-fit__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  body#agency-top .agency-fit__media {
    min-height: 580px;
  }
  body#agency-top .entry-flow {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  body#agency-top .entry-flow::before {
    display: none;
  }
  body#agency-top .entry-flow__item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: start;
  }
  body#agency-top .entry-flow__number {
    margin: 0;
  }
  body#agency-top .entry-flow__item div {
    margin: 7px 0 0;
    text-align: left;
  }
  body#agency-top .related-grid {
    grid-template-columns: 1fr;
  }
  body#agency-top .agency-faq__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  body#agency-top .agency-faq__header {
    position: static;
  }
  body#agency-top .agency-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body#agency-top .agency-final-cta__actions {
    justify-items: start;
  }
}
@media (max-width: 700px) {
  body#agency-top .agency-hero {
    min-height: 800px;
  }
  body#agency-top .agency-hero__media img {
    object-position: 68% center;
  }
  body#agency-top .agency-hero__overlay {
    background: linear-gradient(180deg, rgba(45, 15, 10, 0.84) 0%, rgba(45, 15, 10, 0.72) 30%, rgba(45, 15, 10, 0.96) 72%, rgba(45, 15, 10, 0.99) 100%);
  }
  body#agency-top .agency-hero__inner {
    width: calc(100% - 40px);
    padding-top: 24px;
    padding-bottom: 86px;
  }
  body#agency-top .agency-hero__content {
    width: 100%;
    padding-top: 250px;
  }
  body#agency-top .agency-hero__title {
    font-size: 51px;
  }
  body#agency-top .agency-hero__title-small {
    font-size: 19px;
  }
  body#agency-top .agency-hero__lead {
    font-size: 15px;
    line-height: 1.9;
  }
  body#agency-top .agency-hero__actions {
    display: grid;
  }
  body#agency-top .agency-routes {
    margin-top: -18px;
  }
  body#agency-top .agency-routes__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }
  body#agency-top .agency-routes__item {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid #e0dad9;
    padding: 18px 20px;
  }
  body#agency-top .agency-routes__item:last-child {
    border-bottom: 0;
  }
  body#agency-top .agency-concerns {
    padding-top: 100px;
  }
  body#agency-top .agency-concerns__visual {
    min-height: 380px;
  }
  body#agency-top .agency-concerns__quote {
    right: 0;
    bottom: -48px;
    width: 260px;
    padding: 22px;
  }
  body#agency-top .agency-concerns__grid {
    grid-template-columns: 1fr;
    margin-top: 100px;
  }
  body#agency-top .concern-card {
    min-height: 0;
    padding: 30px 26px;
  }
  body#agency-top .concern-card__title {
    margin-top: 26px;
  }
  body#agency-top .agency-overview {
    padding: 90px 0;
  }
  body#agency-top .agency-overview__flow {
    margin-top: 50px;
  }
  body#agency-top .overview-step {
    padding: 30px 26px;
  }
  body#agency-top .overview-step__title {
    margin-top: 28px;
    font-size: 26px;
  }
  body#agency-top .agency-overview__note {
    padding: 22px;
  }
  body#agency-top .agency-benefits__grid {
    margin-top: 48px;
  }
  body#agency-top .benefit-card {
    min-height: 0;
  }
  body#agency-top .benefit-card--wide {
    min-height: 0;
    grid-template-rows: auto;
  }
  body#agency-top .benefit-card__media {
    min-height: 300px;
  }
  body#agency-top .benefit-card__body {
    padding: 30px 26px;
  }
  body#agency-top .benefit-card__title {
    font-size: 25px;
  }
  body#agency-top .agency-support__media {
    min-height: 420px;
  }
  body#agency-top .agency-support__badge {
    right: 12px;
    bottom: 20px;
    width: 170px;
  }
  body#agency-top .role-table {
    margin-top: 44px;
    overflow: visible;
    border: 0;
  }
  body#agency-top .role-table table, body#agency-top .role-table tbody, body#agency-top .role-table tr, body#agency-top .role-table th, body#agency-top .role-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  body#agency-top .role-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body#agency-top .role-table tr {
    margin-bottom: 16px;
    border: 1px solid #e0dad9;
    background: #fff;
  }
  body#agency-top .role-table tbody th {
    width: 100%;
    padding: 18px 20px;
    border-right: 0;
    background: #7E3227;
    color: #fff;
    font-size: 15px;
  }
  body#agency-top .role-table td {
    position: relative;
    width: 100%;
    padding: 46px 20px 18px;
    border-right: 0;
    font-size: 13px;
  }
  body#agency-top .role-table td:last-child {
    border-bottom: 0;
  }
  body#agency-top .role-table td::before {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #5a3a2a;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  body#agency-top .agency-compensation {
    padding: 86px 0;
  }
  body#agency-top .agency-compensation__grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }
  body#agency-top .compensation-card {
    min-height: 0;
    padding: 32px 26px;
  }
  body#agency-top .mini-flow {
    grid-template-columns: 1fr 1fr;
  }
  body#agency-top .agency-compensation__notice {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }
  body#agency-top .fit-grid {
    grid-template-columns: 1fr;
  }
  body#agency-top .fit-card {
    min-height: 0;
  }
  body#agency-top .agency-fit__media {
    min-height: 440px;
  }
  body#agency-top .entry-flow {
    grid-template-columns: 1fr;
  }
  body#agency-top .agency-mid-cta {
    min-height: 640px;
  }
  body#agency-top .agency-mid-cta__inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  body#agency-top .agency-mid-cta__title {
    font-size: 34px;
  }
  body#agency-top .agency-mid-cta__actions {
    display: grid;
  }
  body#agency-top .related-card {
    min-height: 270px;
    padding: 30px 26px;
  }
  body#agency-top .faq-list__question {
    grid-template-columns: 30px 1fr;
    padding: 24px 38px 24px 0;
    font-size: 15px;
  }
  body#agency-top .faq-list__answer {
    grid-template-columns: 30px 1fr;
    padding-right: 0;
  }
  body#agency-top .agency-final-cta {
    padding: 72px 0;
  }
  body#agency-top .agency-final-cta__title {
    font-size: 37px;
  }
  body#agency-top .agency-final-cta__actions {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button, .related-card, .sp-menu__panel, .sp-menu__line {
    transition: none !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
html {
  color: #332928;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
}

body {
  min-width: 320px;
  color: #332928;
  background: #fff;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #fff;
  background: #762518;
}

.header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: #000;
  background: #fff;
  font-family: inherit;
}
.header *, .header *::before, .header *::after {
  box-sizing: border-box;
}

.header__inner {
  width: 100%;
  padding: 0 50px;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__brand {
  padding-top: 0;
}

.header__logo {
  display: block;
  width: 200px;
  line-height: 0;
}

.header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header__tagline {
  margin: 10px 0 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.header__utility {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__lang {
  position: relative;
  flex: 0 0 auto;
}

.header__lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  color: #000;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.header__lang-arrow {
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.header__lang.is-open .header__lang-arrow {
  transform: translateY(2px) rotate(225deg);
}

.header__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: grid;
  width: 150px;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header__lang.is-open .header__lang-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header__lang-link {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.header__lang-link.is-current {
  background: #f8f5f4;
  font-weight: 600;
}

.header__actions {
  position: relative;
  top: -45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  padding: 100px 20px 20px;
  border-radius: 0 0 10px 10px;
  background: #B24A3B;
}

.header__action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.header__action-link img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-height: 18px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 10px;
}

.header__nav-link {
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.header__lang-button:focus-visible, .header__lang-link:focus-visible, .header__action-link:focus-visible, .header__nav-link:focus-visible, .header__logo:focus-visible {
  outline: 2px solid #B24A3B;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .header__lang-button:hover {
    border-color: #B24A3B;
  }
  .header__lang-link:hover {
    background: #f8f5f4;
  }
  .header__action-link:hover {
    opacity: 0.8;
  }
  .header__nav-link:hover {
    color: #B24A3B;
  }
}
@media (max-width: 1250px) {
  .header__utility {
    gap: 20px;
  }
  .header__nav {
    gap: 22px;
  }
}
@media (max-width: 1024px) {
  .header__inner {
    padding: 0 35px;
  }
  .header__tagline {
    display: none;
  }
}
@media (max-width: 850px) {
  .header__inner {
    padding: 14px 30px;
  }
  .header__top {
    align-items: center;
    gap: 16px;
  }
  .header__brand {
    padding-top: 0;
  }
  .header__logo {
    width: 160px;
  }
  .header__utility {
    margin-left: auto;
  }
  .header__lang-button {
    width: 98px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
  .header__lang-menu {
    width: 140px;
  }
  .header__actions, .header__nav {
    display: none;
  }
}
@media (max-width: 568px) {
  .header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .header__logo {
    width: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header__lang-arrow, .header__lang-menu {
    transition: none;
  }
}
.sp-menu {
  display: none;
}

@media (max-width: 850px) {
  .sp-menu {
    position: fixed;
    top: 22px;
    right: 20px;
    z-index: 300;
    display: block;
  }
  .sp-menu__button {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #B24A3B;
    box-shadow: 0 10px 30px rgba(27, 17, 16, 0.07);
    cursor: pointer;
  }
  .sp-menu__line {
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .sp-menu__panel {
    position: fixed;
    inset: 0;
    visibility: hidden;
    padding: 104px 24px 40px;
    background: rgba(38, 19, 16, 0.98);
    opacity: 0;
    overflow-y: auto;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .sp-menu__nav {
    display: grid;
    gap: 8px;
    width: min(100%, 520px);
    margin: 0 auto;
  }
  .sp-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }
  .sp-menu__link::after {
    content: "→";
  }
  .sp-menu__link--cta {
    justify-content: center;
    margin-top: 20px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #B24A3B;
  }
  .sp-menu__link--cta::after {
    display: none;
  }
  .sp-menu.is-open .sp-menu__panel {
    visibility: visible;
    opacity: 1;
  }
  .sp-menu.is-open .sp-menu__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .sp-menu.is-open .sp-menu__line:nth-child(2) {
    opacity: 0;
  }
  .sp-menu.is-open .sp-menu__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}
.footer {
  color: #000;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.footer__inner {
  box-sizing: border-box;
  margin: 100px 0;
  padding: 0 50px;
}
.footer__top {
  display: flex;
}
.footer__intro {
  display: flex;
  flex: 0 0 400px;
  flex-direction: column;
}
.footer__copy {
  display: block;
  width: 355px;
  margin: 0;
}
.footer__copy img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__description {
  display: block;
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}
.footer__nav {
  width: calc(100% - 400px);
}
.footer__columns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 24px 0 28px;
  list-style: none;
}
.footer__column {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 33.3333333333%;
  padding: 0 35px;
  gap: 10px;
}
.footer__column--center {
  border-left: 1px dotted #f8f5f4;
}
.footer__heading {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.footer__heading--spaced {
  margin-top: 15px;
}
.footer__heading span {
  position: relative;
  bottom: -1px;
  display: block;
  width: 17px;
  margin-left: 5px;
  border-radius: 50%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #B24A3B 0%, #d77f72 100%);
}
.footer__heading span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 7px;
  content: "";
  transform: translate(-25%, -50%);
  clip-path: polygon(0 15%, 15% 0, 65% 50%, 15% 100%, 0 85%, 35% 50%, 0 15%);
  aspect-ratio: 1;
  background-color: #fff;
}
.footer__group {
  margin: 0;
}
.footer__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
.footer__summary::-webkit-details-marker {
  display: none;
}
.footer__summary::after {
  display: block;
  width: 13px;
  content: "";
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
  clip-path: polygon(0 45%, 45% 45%, 45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%);
  aspect-ratio: 1;
  background-color: #000;
}
.footer__group[open] .footer__summary::after {
  clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
}
.footer__links {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 5px 0;
  padding: 15px;
  border-radius: 5px;
  background-color: #f8f5f4;
}
.footer__nav-link {
  display: block;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}
.footer__bottom {
  display: flex;
  align-items: flex-start;
  margin-top: 50px;
}
.footer__company {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0 30px;
}
.footer__logo {
  display: block;
  width: 200px;
}
.footer__bess {
  display: block;
  width: 170px;
}
.footer__logo img, .footer__bess img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__link {
  display: flex;
  align-items: center;
  gap: 0 5px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.footer__link span {
  display: block;
  width: 15px;
  line-height: 1;
}
.footer__link img {
  display: block;
  width: 100%;
  height: auto;
}
.footer__copyright {
  margin: 0;
  color: #000;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.footer__copyright--mobile {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer__heading:hover, .footer__summary:hover, .footer__nav-link:hover, .footer__link:hover {
    color: #B24A3B;
  }
  .footer__summary:hover::after {
    background-color: #B24A3B;
  }
}
@media (max-width: 1350px) {
  .footer__top {
    flex-direction: column;
  }
  .footer__intro {
    flex-basis: auto;
    width: 100%;
  }
  .footer__description br {
    display: none;
  }
  .footer__nav {
    width: 100%;
    margin-top: 50px;
  }
  .footer__column {
    width: 31.6666666667%;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .footer__nav {
    margin-top: 20px;
  }
  .footer__links {
    font-size: 14px;
  }
}
@media (max-width: 850px) {
  .footer__inner {
    margin: 50px 0;
    padding: 0 30px;
  }
  .footer__intro {
    align-items: center;
  }
  .footer__copy {
    width: 300px;
  }
  .footer__description {
    max-width: 500px;
    margin: 10px auto 0;
    text-align: center;
  }
  .footer__nav {
    display: none;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  .footer__brand-row {
    flex-direction: column;
    align-items: center;
    gap: 20px 0;
  }
  .footer__copyright--desktop {
    display: none;
  }
  .footer__company {
    align-items: center;
    width: 100%;
    gap: 24px 0;
  }
  .footer__brand-row {
    width: 100%;
  }
  .footer__logo {
    width: 180px;
  }
  .footer__bess {
    width: 150px;
  }
  .footer__link {
    justify-content: center;
    font-size: 13px;
  }
  .footer__copyright--mobile {
    display: block;
    margin-top: 30px;
    text-align: center;
  }
}
@media (max-width: 568px) {
  .footer__inner {
    padding: 0 20px;
  }
  .footer__copy {
    width: min(100%, 300px);
  }
}

/* ===== PHOTO HARMONY + POSTER GRAMMAR（§5-5/§8・2026-07-03） ===== */
main img { filter: saturate(0.78); }
main figure { position: relative; }
main figure::after { content:""; position:absolute; inset:0; background:#B24A3B; opacity:0.14; mix-blend-mode:color; pointer-events:none; }
main h1, main h2, main h3, main [class*="__title"] { font-family:'Yu Mincho','Hiragino Mincho ProN','MS Mincho',serif; font-weight:700; letter-spacing:0.03em; }
main [class*="__eyebrow"], main [class*="__en"], main [class*="__label"] { font-family:'Barlow',Arial,sans-serif; font-weight:700; letter-spacing:0.28em; text-transform:uppercase; }
main [class*="__eyebrow"]::after, main [class*="__label"]::after { content:""; display:inline-block; vertical-align:middle; width:34px; height:2px; margin-left:14px; background:#B24A3B; }
main [class*="__number"] { font-family:'Barlow',Arial,sans-serif; letter-spacing:0.02em; }
@media (hover:hover) and (pointer:fine) { main [class*="card"]:hover { transform:translateY(-4px); transition:transform .25s ease; } }
@media (prefers-reduced-motion:reduce) { main [class*="card"]:hover { transform:none; } main img { transition:none; } }


/* ===== BATCHC LP図解表示型オーバーライド（image-design-system v1.1 §7-2）2026-07-03 =====
   図解スロット限定（:has/src指定）: contain・height:auto・原寸比率契約・写真調和フィルタ/ベール解除・caption下置き。
   写真スロット（ヒーロー/CTA帯/背景型/記事サムネ）は不変更。 ===== */
body#agency-top img[src][src$="/img/contents/agency/partnership.jpg"]{width:100%;height:auto;min-height:0;max-height:none;position:static;object-fit:contain;object-position:center;filter:none;mix-blend-mode:normal;aspect-ratio:1800/1200}
body#agency-top :is(div,figure,picture):has(> img[src$="/img/contents/agency/partnership.jpg"]),body#agency-top :is(div,figure,picture):has(> picture > img[src$="/img/contents/agency/partnership.jpg"]){min-height:0;height:auto;aspect-ratio:auto}
body#agency-top picture:has(> img[src$="/img/contents/agency/partnership.jpg"]){position:static;display:block;height:auto;min-height:0}
body#agency-top img[src][src$="/img/contents/agency/network.jpg"]{width:100%;height:auto;min-height:0;max-height:none;position:static;object-fit:contain;object-position:center;filter:none;mix-blend-mode:normal;aspect-ratio:1800/1200}
body#agency-top :is(div,figure,picture):has(> img[src$="/img/contents/agency/network.jpg"]),body#agency-top :is(div,figure,picture):has(> picture > img[src$="/img/contents/agency/network.jpg"]){min-height:0;height:auto;aspect-ratio:auto}
body#agency-top picture:has(> img[src$="/img/contents/agency/network.jpg"]){position:static;display:block;height:auto;min-height:0}
body#agency-top img[src][src$="/img/contents/agency/support.jpg"]{width:100%;height:auto;min-height:0;max-height:none;position:static;object-fit:contain;object-position:center;filter:none;mix-blend-mode:normal;aspect-ratio:1800/1350}
body#agency-top :is(div,figure,picture):has(> img[src$="/img/contents/agency/support.jpg"]),body#agency-top :is(div,figure,picture):has(> picture > img[src$="/img/contents/agency/support.jpg"]){min-height:0;height:auto;aspect-ratio:auto}
body#agency-top picture:has(> img[src$="/img/contents/agency/support.jpg"]){position:static;display:block;height:auto;min-height:0}
body#agency-top img[src][src$="/img/contents/agency/consultation.jpg"]{width:100%;height:auto;min-height:0;max-height:none;position:static;object-fit:contain;object-position:center;filter:none;mix-blend-mode:normal;aspect-ratio:1600/1800}
body#agency-top :is(div,figure,picture):has(> img[src$="/img/contents/agency/consultation.jpg"]),body#agency-top :is(div,figure,picture):has(> picture > img[src$="/img/contents/agency/consultation.jpg"]){min-height:0;height:auto;aspect-ratio:auto}
body#agency-top picture:has(> img[src$="/img/contents/agency/consultation.jpg"]){position:static;display:block;height:auto;min-height:0}
main figure:has(img[src$="/img/contents/agency/partnership.jpg"])::after,main figure:has(img[src$="/img/contents/agency/network.jpg"])::after,main figure:has(img[src$="/img/contents/agency/support.jpg"])::after,main figure:has(img[src$="/img/contents/agency/consultation.jpg"])::after{content:none}
main figure:has(img[src$="/img/contents/agency/partnership.jpg"]) figcaption,main figure:has(img[src$="/img/contents/agency/network.jpg"]) figcaption,main figure:has(img[src$="/img/contents/agency/support.jpg"]) figcaption,main figure:has(img[src$="/img/contents/agency/consultation.jpg"]) figcaption{position:static;margin:12px 0 0;padding:0;color:#5A6270;background:none;font-size:12px;right:auto;bottom:auto;left:auto;top:auto;width:auto}

/* ===== UPLIFT batch5 agency terracotta (uplift_20260705) — 下層格上げ再開指示書 2026-07-05 ===== */
:root {
  --u-theme: #B24A3B;
  --u-deep: #7E3227;
  --u-tint: #F8F5F4;
  --u-clay: #E6BDB7;
  --u-gold: #F5B500;
  --u-ink: #16181C;
  --u-sub: #5A6270;
  --u-border: #E2E5E8;
}

/* ---- 余白リズム（96px）・タイプスケール ---- */
body#agency-top .section { padding: 96px 0; }
body#agency-top .agency-concerns { padding-top: 96px; }
body#agency-top .agency-overview { padding: 96px 0; }
body#agency-top .section-kicker { color: var(--u-theme); font-size: 13px; letter-spacing: 0.28em; }
body#agency-top .section-kicker--light { color: var(--u-clay); }
body#agency-top .section-title { font-size: 25px; letter-spacing: 0.03em; line-height: 1.5; }
body#agency-top .section-lead { color: var(--u-sub); font-size: 18px; line-height: 1.9; }
body#agency-top .section-lead--light { color: rgba(255, 255, 255, 0.82); }

/* ---- ボタン（radius999・金CTA・focus可視） ---- */
body#agency-top .button { border-radius: 999px; font-size: 16px; }
body#agency-top .button--green { background: var(--u-theme); }
body#agency-top .button:focus-visible { outline: 2px solid var(--u-deep); outline-offset: 3px; }
body#agency-top .agency-hero .button:focus-visible,
body#agency-top .agency-overview .button:focus-visible,
body#agency-top .agency-mid-cta .button:focus-visible,
body#agency-top .agency-final-cta .button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  body#agency-top .button--gold:hover { background: var(--u-gold); box-shadow: 0 18px 34px rgba(245, 181, 0, 0.34); filter: brightness(0.92); }
  body#agency-top .button--green:hover { background: var(--u-deep); }
}

/* ---- ヒーロー（写真＋既存overlay存続・白明朝31px・eyebrowアニメ） ---- */
body#agency-top .agency-hero { min-height: 640px; }
body#agency-top .agency-hero__content { padding-top: 64px; }
body#agency-top .agency-hero__eyebrow { color: var(--u-clay); font-size: 13px; letter-spacing: 0.28em; }
body#agency-top .agency-hero__eyebrow::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: 16px; background: var(--u-clay); }
body#agency-top .agency-hero__eyebrow::after { content: none; }
body#agency-top .agency-hero__title { font-size: 31px; letter-spacing: 0.03em; line-height: 1.5; }
body#agency-top .agency-hero__title-small { font-size: 18px; margin-bottom: 12px; letter-spacing: 0.03em; }
body#agency-top .agency-hero__lead { font-size: 18px; line-height: 1.9; color: rgba(255, 255, 255, 0.88); }
body#agency-top .agency-hero__note { font-size: 13px; }
@keyframes u50-fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
body#agency-top .agency-hero__eyebrow,
body#agency-top .agency-hero__title,
body#agency-top .agency-hero__lead,
body#agency-top .agency-hero__actions,
body#agency-top .agency-hero__note { animation: u50-fade 0.6s ease both; }
body#agency-top .agency-hero__title { animation-delay: 0.12s; }
body#agency-top .agency-hero__lead { animation-delay: 0.24s; }
body#agency-top .agency-hero__actions { animation-delay: 0.36s; }
body#agency-top .agency-hero__note { animation-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  body#agency-top .agency-hero__eyebrow,
  body#agency-top .agency-hero__title,
  body#agency-top .agency-hero__lead,
  body#agency-top .agency-hero__actions,
  body#agency-top .agency-hero__note { animation: none; }
}

/* ---- 導線ストリップ（radius12・境界色統一） ---- */
body#agency-top .agency-routes__inner { border: 1px solid var(--u-border); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 55px rgba(126, 50, 39, 0.12); }
body#agency-top .agency-routes__item { border-right-color: var(--u-border); }
body#agency-top .agency-routes__item:hover { background: var(--u-tint); }
body#agency-top .agency-routes__number { color: var(--u-theme); }

/* ---- 悩みカード ---- */
body#agency-top .concern-card { border: 1px solid var(--u-border); border-radius: 12px; }
body#agency-top .concern-card__number { color: var(--u-theme); }
body#agency-top .concern-card__title { font-size: 20px; }
body#agency-top .concern-card__text { color: var(--u-sub); }

/* ---- 制度概要（--u-deep濃色バンド=既存継承） ---- */
body#agency-top .overview-step__number { color: var(--u-clay); }
body#agency-top .overview-step__title { font-size: 20px; }

/* ---- ベネフィットカード（radius12・旧ブラウン#5a3a2a全廃） ---- */
body#agency-top .benefit-card { border-radius: 12px; border-color: var(--u-border); }
body#agency-top .benefit-card--accent { background: var(--u-deep); border-color: var(--u-deep); }
body#agency-top .benefit-card__number { color: var(--u-theme); }
body#agency-top .benefit-card--accent .benefit-card__number { color: var(--u-clay); }
body#agency-top .benefit-card__title { font-size: 20px; }
body#agency-top .benefit-card__text { color: var(--u-sub); }
body#agency-top .benefit-card--accent .benefit-card__text { color: rgba(255, 255, 255, 0.82); }

/* ---- サポート・ステップ（淡地統一） ---- */
body#agency-top .agency-support { background: var(--u-tint); }
body#agency-top .agency-steps { background: var(--u-tint); }
body#agency-top .support-list__number { color: var(--u-theme); }
body#agency-top .support-list__title { font-size: 20px; }
body#agency-top .support-list__text { color: var(--u-sub); }
body#agency-top .entry-flow__number { background: var(--u-theme); color: #fff; } /* 塗り円=白文字維持（テーマ文字化するとテーマ円に沈む） */
body#agency-top .entry-flow__title { font-size: 20px; }
body#agency-top .entry-flow__text { color: var(--u-sub); }

/* ---- 役割表・報酬（旧ブラウン/クリーム全廃） ---- */
body#agency-top .compensation-card--brown { background: var(--u-deep); }
body#agency-top .compensation-card__title { font-size: 20px; }
body#agency-top .role-status--check { background: var(--u-tint); color: var(--u-deep); }
body#agency-top .agency-roles__note { color: var(--u-sub); font-size: 13px; }
body#agency-top .agency-compensation__notice { border-radius: 12px; }

/* ---- 適性カード ---- */
body#agency-top .fit-card { border-radius: 12px; border-color: var(--u-border); }
body#agency-top .fit-card__title { font-size: 20px; }
body#agency-top .fit-card__text { color: var(--u-sub); }

/* ---- 中間CTA・最終CTA（deep×金CTA・31px） ---- */
body#agency-top .agency-mid-cta__eyebrow { color: var(--u-clay); font-size: 13px; letter-spacing: 0.28em; }
body#agency-top .agency-mid-cta__title { font-size: 31px; letter-spacing: 0.03em; line-height: 1.5; }
body#agency-top .agency-mid-cta__lead { font-size: 18px; line-height: 1.9; }
body#agency-top .agency-final-cta { background: var(--u-deep); }
body#agency-top .agency-final-cta__eyebrow { color: var(--u-clay); font-size: 13px; letter-spacing: 0.28em; }
body#agency-top .agency-final-cta__title { font-size: 31px; letter-spacing: 0.03em; line-height: 1.5; }
body#agency-top .agency-final-cta__lead { color: rgba(255, 255, 255, 0.82); font-size: 18px; line-height: 1.9; }

/* ---- FAQ・関連リンク ---- */
body#agency-top .faq-list__mark { color: var(--u-theme); }
body#agency-top .faq-list__question { font-size: 16px; }
body#agency-top .faq-list__answer { color: var(--u-sub); }
body#agency-top .related-card { border-radius: 12px; border-color: var(--u-border); }
body#agency-top .related-card__label { color: var(--u-theme); font-size: 13px; }
body#agency-top .related-card__title { font-size: 20px; }

/* ---- 〜900px：セクション48px ---- */
@media (max-width: 900px) {
  body#agency-top .section { padding: 48px 0; }
  body#agency-top .agency-concerns { padding-top: 48px; }
  body#agency-top .agency-overview { padding: 48px 0; }
  body#agency-top .agency-hero { min-height: 560px; }
  body#agency-top .agency-hero__content { padding-top: 40px; }
}
@media (max-width: 568px) {
  body#agency-top .agency-hero__title { font-size: 31px; }
  body#agency-top .agency-hero__lead { font-size: 16px; }
  body#agency-top .agency-mid-cta__title,
  body#agency-top .agency-final-cta__title { font-size: 31px; }
}

/* ===== HEADER GREEN UNIFY addon (uplift_20260704 option) — headercolor_20260704決定の横展開。
   agency-top は配備時に各ページのbody idへ置換。ヘッダー構造は不変更・配色のみ緑固定 ===== */
body#agency-top .header__actions { background: #1E8A58; }
body#agency-top .sp-menu__button { background: #0F4C30; box-shadow: 0 10px 28px rgba(15, 76, 48, 0.28); }
body#agency-top .sp-menu__panel { background: rgba(15, 76, 48, 0.98); }
body#agency-top .header__lang-link.is-current { background: #EDF6F1; }
body#agency-top .header__lang-button:focus-visible,
body#agency-top .header__lang-link:focus-visible,
body#agency-top .header__action-link:focus-visible,
body#agency-top .header__nav-link:focus-visible,
body#agency-top .header__logo:focus-visible { outline-color: #1E8A58; }
@media (hover: hover) and (pointer: fine) {
  body#agency-top .header__lang-button:hover { border-color: #1E8A58; }
  body#agency-top .header__lang-link:hover { background: #EDF6F1; }
  body#agency-top .header__nav-link:hover { color: #1E8A58; }
}
