body:has(#job):not(.menu-open) {
  overflow-x: clip;
}

#job {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.1em;
}
#job .subpage-heading h1 {
  overflow-wrap: anywhere;
}
#job .job-contents p,
#job .job-intro p {
  font-size: inherit;
}
#job .job-intro {
  max-width: 1000px;
  width: 95%;
  padding-inline: 64px;
  margin: 80px auto;
}
#job .job-navigation {
  width: 95%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 32px 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  background: #fcf8ee;
  border-radius: 64px;
}
#job .job-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e60012;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
#job .job-navigation [aria-current=page] {
  text-decoration: underline;
}
#job .job-navigation img {
  flex-shrink: 0;
}
#job .job-contents {
  max-width: 1000px;
  width: 95%;
  margin: 150px auto 0;
}
#job .job-section {
  scroll-margin-top: 150px;
}
#job .job-panel {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
#job .job-visual figure {
  overflow: hidden;
  border-radius: 160px 160px 160px 16px;
}
#job .job-visual figure img {
  display: block;
  width: 100%;
  height: auto;
}
#job .job-summary {
  position: relative;
  margin-top: -96px;
  width: 80%;
  border-radius: 16px 80px 80px 16px;
  padding: 48px 72px 48px 64px;
  background: linear-gradient(90deg, #fb652e, #e60012);
  color: #fff;
}
#job .job-summary h2 {
  font-size: clamp(2.6rem, 1.904rem + 0.9vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
}
#job .job-summary p {
  line-height: 2;
}
#job .job-summary p + p {
  margin-top: 16px;
}
#job .job-summary strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
#job #research .job-summary {
  padding-block: 40px;
}
#job .job-text,
#job .job-diagram,
#job .job-career {
  padding-inline: 0;
}
#job .job-text small {
  display: block;
  margin-top: 32px;
  font-size: 13px;
}
#job .job-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
  padding-inline: 0;
}
#job .job-cards article {
  border: 1px solid #e60012;
  border-radius: 64px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
#job .job-cards h3 {
  display: grid;
  place-items: center;
  background: #fcf8ee;
  min-height: 80px;
  padding: 8px 16px;
  border-radius: 24px;
  color: #e60012;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
#job .job-cards article > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#job .job-cards article > div > p:first-child {
  font-size: 18px;
  font-weight: 500;
}
#job .job-cards article > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
#job .job-cards small {
  display: block;
  font-size: 14px;
}
#job .job-cards ul {
  list-style: disc;
  padding-left: 21px;
  font-size: 14px;
}
#job .job-cards li {
  display: list-item;
}
#job .job-textlink {
  color: #e60012;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
#job .job-textlink img {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  width: 12px;
}
#job .job-button {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 600px;
  max-width: 100%;
  padding: 24px 24px 24px 32px;
  border: 2px solid #e60012;
  border-radius: 64px;
  background: #fff;
  color: #e60012;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
#job .job-button > span:first-child {
  flex: 1;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #job .job-button > span:first-child {
    text-align: left;
  }
}
#job .job-button > span:last-child {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(#fb652e, #e60012);
}
#job .job-button img {
  width: 12px;
}
#job .job-diagram h3 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 64px;
}
#job .job-diagram h3 small {
  display: inline-block;
  padding: 6px 16px;
  margin-left: 24px;
  background: #fff;
  border-radius: 32px;
  color: #e60012;
  font-size: 14px;
  vertical-align: middle;
}
#job .production-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fff;
  padding: 32px 40px;
  border-radius: 64px;
}
#job .production-diagram > div {
  flex: 1;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1/1;
  height: auto;
  padding: 3.16%;
  border-radius: 50%;
  background: linear-gradient(#bafaeb, #67c8e9);
}
#job .production-diagram > div:nth-child(2) {
  background: linear-gradient(#f5f9a2, #41e3a5);
}
#job .production-diagram > div:nth-child(3) {
  background: linear-gradient(#fff9c3, #ffca75);
}
#job .production-diagram span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 50%;
  background: #fff;
  font-size: clamp(1.55rem, 1.224rem + 0.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.1em;
}
#job .sales-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 64px 40px;
  background: #fff;
  border-radius: 64px;
}
#job .sales-diagram h4 {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 2px solid #e60012;
  border-radius: 64px;
  color: #e60012;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
}
#job .sales-diagram > div:last-child h4 {
  border-color: #00a380;
  color: #00a380;
}
#job .sales-diagram p {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
#job .sales-diagram span {
  display: block;
  width: 160px;
  text-align: center;
  padding: 6px 16px;
  border-radius: 32px;
  line-height: 1.6;
  background: linear-gradient(90deg, #41e3a5, #f5f9a2);
}
#job .sales-diagram > div:first-child span:first-child {
  background: linear-gradient(90deg, #ffca75, #fff9c3);
}
#job .job-career {
  color: #e60012;
  font-size: 24px;
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
}
#job .job-career-arrow img,
#job .job-career-arrow-alt {
  display: block;
  width: 100%;
  height: auto;
}
#job .mypage-link {
  text-align: center;
}
#job .mypage-link a {
  text-decoration: underline;
  color: #e60012;
}
@media screen and (max-width: 767px) {
  #job {
    font-size: 14px;
    line-height: 2;
  }
  #job .job-intro {
    width: calc(100% - 32px);
    padding: 8px;
    margin-block: 30px;
  }
  #job .job-navigation {
    width: calc(100% - 32px);
    padding: 24px;
    border-radius: 32px;
    gap: 16px;
    font-size: 14px;
  }
  #job .job-navigation a {
    gap: 4px;
  }
  #job .job-navigation img {
    width: 7.5px;
    height: auto;
  }
  #job .job-contents {
    width: calc(100% - 32px);
    margin-top: 80px;
  }
  #job .job-section {
    scroll-margin-top: 80px;
  }
  #job .job-panel {
    gap: 32px;
  }
  #job .job-visual figure {
    border-radius: 48px 48px 48px 8px;
  }
  #job .job-summary,
  #job #research .job-summary {
    width: 100%;
    margin-top: -16px;
    padding: 24px 32px 24px 24px;
    border-radius: 8px 32px 32px 8px;
  }
  #job .job-summary h2,
  #job #research .job-summary h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  #job .job-summary strong,
  #job #research .job-summary strong {
    font-size: 16px;
  }
  #job .job-text,
  #job .job-diagram,
  #job .job-career {
    padding-inline: 8px;
  }
  #job .job-text small {
    font-size: 11px;
    margin-top: 24px;
  }
  #job .job-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-inline: 8px;
  }
  #job .job-cards article {
    padding: 24px;
    gap: 24px;
    border-radius: 32px;
  }
  #job .job-cards h3 {
    min-height: 60px;
    border-radius: 16px;
    font-size: 16px;
    text-align: left;
  }
  #job .job-cards article > div > p:first-child {
    font-size: 16px;
  }
  #job .job-button {
    gap: 8px;
    padding: 16px 16px 16px 24px;
    font-size: 15px;
  }
  #job .job-button > span:last-child {
    flex-basis: 32px;
    height: 32px;
  }
  #job .job-button img {
    width: 11px;
    height: auto;
  }
  #job .job-diagram h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
  #job .job-diagram h3 small {
    margin-left: 8px;
    font-size: 12px;
    padding: 6px 8px;
  }
  #job .production-diagram {
    gap: 10px;
    padding: 25px 0;
    border-radius: 32px;
  }
  #job .production-diagram > div {
    padding: 3.25%;
  }
  #job .production-diagram span {
    font-size: min(2.5vw, 18px);
    letter-spacing: 0.05em;
  }
  #job .sales-diagram {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
    border-radius: 32px;
  }
  #job .sales-diagram h4 {
    font-size: 16px;
  }
  #job .sales-diagram span {
    width: 120px;
    max-width: 50%;
    font-size: 14px;
    padding-inline: 8px;
  }
  #job .job-career-arrow-alt {
    display: none;
  }
  #job .job-career {
    font-size: 18px;
  }
  #job .mypage-link {
    text-align: left;
  }
}

#legal {
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.1em;
}
#legal .information-contents {
  max-width: 1000px;
  width: 95%;
  margin: 190px auto 0;
  display: flex;
  flex-direction: column;
  gap: 150px;
}
#legal .information-contents p {
  font-size: inherit;
}
#legal .information-contents > section {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
#legal .information-contents h2 {
  position: relative;
  padding-left: 30px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
}
#legal .information-contents h2::before {
  position: absolute;
  content: "";
  left: 0;
  top: calc(0.7em - 10px);
  width: 20px;
  height: 20px;
  background: url("../image/head-mark.svg") center/contain no-repeat;
}
#legal .information-contents h3 {
  font-size: 20px;
  line-height: 1.6;
  color: #e60012;
  font-weight: 700;
}
#legal .information-contents h3 small {
  display: inline;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 400;
}
#legal .information-contents small {
  display: block;
  font-size: 12px;
  line-height: 1.8;
}
#legal .information-contents p small {
  display: inline;
  font-size: 13px;
}
#legal .information-intro {
  padding-inline: 64px;
}
#legal .information-intro p + p {
  margin-top: 24px;
}
#legal .information-contents figure img {
  display: block;
  width: 100%;
  height: auto;
}
#legal .information-contents figcaption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
}
#legal .legal-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#legal .legal-points article {
  border: 1px solid #e60012;
  border-radius: 40px;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 15px;
  line-height: 2;
}
#legal .legal-points img {
  width: 160px;
  height: 160px;
  align-self: center;
}
#legal .legal-points h3 {
  font-weight: 500;
}
#legal .legal-points small {
  font-size: 13px;
}
#legal .green-label,
#legal .point-label {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 16px;
  border-radius: 24px;
  color: #fff;
  line-height: 1.5;
  font-size: 18px;
  background: linear-gradient(90deg, #41e3a5, #00a380);
}
#legal .point-label {
  background: linear-gradient(90deg, #fb652e, #e60012);
  font-size: 20px;
  padding-block: 8px;
}
#legal .green-box {
  border: 1px solid #00a380;
  border-radius: 64px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#legal .green-box > h3 {
  color: #00a380;
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 16px;
  border-bottom: 4px dashed #00a380;
}
#legal .legal-intro {
  gap: 24px !important;
}
#legal .legal-intro > p {
  color: #e60012;
  font-size: 20px;
  font-weight: 700;
}
#legal .legal-intro > p::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  margin-left: 16px;
  background: url("../image/work/legal/heading-line.svg") center/contain no-repeat;
  vertical-align: middle;
}
#legal .legal-intro h2 {
  font-size: 40px;
  font-weight: 700;
  padding: 0;
}
#legal .legal-intro h2::before {
  display: none;
}
#legal .legal-intro .information-intro {
  margin-top: 56px;
}
#legal .legal-points article {
  padding: 24px;
  gap: 32px;
}
#legal .legal-points h3 {
  margin-top: -16px;
}
#legal .legal-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 48px auto 48px auto;
  -moz-column-gap: 40px;
       column-gap: 40px;
  position: relative;
  padding-block: 0;
}
#legal .legal-groups article {
  border: 1px solid #00a380;
  border-radius: 40px;
  padding: 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}
#legal .legal-groups article p {
  min-height: 56px;
  margin-top: 8px;
  align-content: center;
  text-align: center;
}
#legal .legal-groups article:nth-child(n+3) {
  grid-row: 5;
}
#legal .legal-groups .green-label {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
}
#legal .legal-groups .cooperation {
  grid-area: 3/1/4/-1;
  justify-self: center;
  position: relative;
  width: min(700px, 100%);
  font-weight: 500;
  border: 1px solid #e60012;
  border-radius: 40px;
  padding: 32px 24px 24px;
  text-align: center;
}
#legal .legal-groups .cooperation h4 {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #e60012;
  background: #fff;
  border-radius: 24px;
  padding: 8px 16px;
  width: 160px;
  color: #e60012;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}
#legal .legal-groups .cooperation p {
  font-size: 18px;
  line-height: 1.6;
}
#legal .legal-groups .cooperation > div {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
#legal .legal-groups .cooperation span {
  flex: 1;
  padding: 16px 8px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fb652e, #e60012);
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}
#legal .legal-groups .cooperation-arrow {
  grid-area: 2/1;
  place-self: center;
  display: block;
  line-height: 0;
}
#legal .legal-groups .arrow-1 {
  grid-column: 2;
}
#legal .legal-groups .arrow-2 {
  grid-row: 4;
  transform: rotate(180deg);
}
#legal .legal-groups .arrow-3 {
  grid-area: 4/2;
  transform: rotate(180deg);
}
#legal .legal-projects {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
#legal .legal-projects article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50%;
  gap: 48px;
  align-items: start;
}
#legal .legal-projects article:nth-child(even) {
  grid-template-columns: 50% minmax(0, 1fr);
}
#legal .legal-projects article:nth-child(even) figure {
  grid-column: 1;
  grid-row: 1;
}
#legal .legal-projects h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
}
#legal .legal-projects img {
  border-radius: 64px;
}
#legal .legal-careers {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 1px;
}
#legal .legal-careers details {
  position: relative;
  border: 1px solid #e60012;
  border-radius: 64px;
}
#legal .legal-careers summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 154px;
  border-radius: 64px;
  background: linear-gradient(90deg, #fb652e, #e60012);
  color: #fff;
  padding: 24px 64px;
  cursor: pointer;
  list-style: none;
}
#legal .legal-careers summary::-webkit-details-marker {
  display: none;
}
#legal .legal-careers summary > span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  max-width: 76%;
}
#legal .legal-careers summary picture {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 347px;
  line-height: 0;
}
#legal .legal-careers summary picture img {
  width: 100%;
  height: auto;
}
#legal .legal-careers .career-toggle {
  position: absolute;
  bottom: -26px;
  left: calc(50% - 25.5px);
  z-index: 2;
  width: 51px;
  height: 51px;
}
#legal .legal-careers details[open] .career-toggle {
  display: none;
}
#legal .legal-careers .career-close {
  position: absolute;
  bottom: -26px;
  left: calc(50% - 25.5px);
  border: 0;
  background: none;
  padding: 0;
  width: 51px;
  height: 51px;
  cursor: pointer;
}
#legal .legal-careers .career-close img {
  transform: scaleY(-1);
}
#legal .legal-careers .career-body {
  padding: 64px;
}
#legal .legal-careers .career-profile {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  font-size: 14px;
}
#legal .legal-careers .career-profile > div:first-child > p:first-child {
  font-size: 18px;
  color: #e60012;
  margin-bottom: 24px;
}
#legal .legal-careers .career-profile > div:last-child > p:first-child {
  font-size: 26px;
  color: #e60012;
}
#legal .legal-careers .career-profile h3 {
  font-size: 16px;
  color: #000;
  margin-bottom: 16px;
}
#legal .legal-careers .career-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 15px;
  line-height: 1.8;
}
#legal .legal-careers .career-timeline::before {
  content: "";
  position: absolute;
  top: 0.9em;
  bottom: 0;
  left: 6px;
  border-left: 1px dotted #00a380;
}
#legal .legal-careers .career-timeline dt {
  position: relative;
  color: #00a380;
  padding-left: 21px;
  font-weight: 700;
}
#legal .legal-careers .career-timeline dt::before {
  content: "";
  position: absolute;
  top: calc(0.9em - 6.5px);
  left: 0;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 1px solid #00a380;
  border-radius: 50%;
  background: #fff;
}
#legal .legal-careers .career-timeline dt:last-of-type::after {
  content: "";
  position: absolute;
  top: 0.9em;
  bottom: 0;
  left: 0;
  width: 13px;
  background: #fff;
}
#legal .legal-careers .legacy-timeline {
  grid-template-columns: 128px minmax(0, 1fr);
}
#legal .legal-careers .career-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  border-top: 1px solid #e60012;
  padding-top: 48px;
  margin-top: 48px;
}
#legal .legal-careers .career-answers h3 {
  font-size: 18px;
  margin-bottom: 32px;
}
#legal .legal-questions h4 {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  margin-bottom: 16px;
}
#legal .legal-questions h4::before {
  content: "Q.";
  position: absolute;
  left: 0;
  color: #00a380;
}
#legal .legal-questions p {
  padding-left: 32px;
  font-size: 14px;
}
@media screen and (max-width: 920px) {
  #legal .legal-careers summary {
    padding-inline: 32px;
  }
}
@media screen and (max-width: 767px) {
  #legal {
    font-size: 14px;
    line-height: 2;
  }
  #legal .information-contents {
    width: calc(100% - 32px);
    margin-top: 80px;
    gap: 80px;
  }
  #legal .information-contents > section {
    gap: 32px;
  }
  #legal .information-contents h2 {
    font-size: 20px;
    padding-left: 24px;
  }
  #legal .information-contents h2::before {
    top: calc(0.7em - 7px);
    width: 14px;
    height: 14px;
  }
  #legal .information-contents h3 {
    font-size: 18px;
  }
  #legal .information-contents h3 small {
    font-size: 11px;
  }
  #legal .information-intro {
    padding-inline: 8px;
  }
  #legal .legal-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #legal .legal-points article {
    border-radius: 32px;
    padding: 24px 24px 32px;
    gap: 16px;
    font-size: 14px;
  }
  #legal .legal-points img {
    width: 100px;
    height: 100px;
  }
  #legal .green-box {
    padding: 24px;
    border-radius: 32px;
    gap: 24px;
  }
  #legal .green-box > h3 {
    font-size: 18px;
    border-bottom-width: 2px;
  }
  #legal .point-label,
  #legal .green-label {
    font-size: 14px;
  }
  #legal .legal-intro > p {
    font-size: 14px;
  }
  #legal .legal-intro h2 {
    font-size: 24px;
    padding: 0;
  }
  #legal .legal-intro .information-intro {
    margin-top: 8px;
  }
  #legal .legal-points h3 {
    margin-top: 0;
  }
  #legal .legal-groups {
    grid-template-rows: auto 48px auto 40px auto;
    -moz-column-gap: 8px;
         column-gap: 8px;
  }
  #legal .legal-groups article {
    padding: 16px 8px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
  }
  #legal .legal-groups article p {
    min-height: 0;
  }
  #legal .legal-groups .green-label {
    font-size: 12px;
  }
  #legal .legal-groups .cooperation {
    width: 100%;
    padding: 40px 16px 16px;
    border-radius: 24px;
  }
  #legal .legal-groups .cooperation h4 {
    width: auto;
    padding-inline: 24px;
  }
  #legal .legal-groups .cooperation p {
    font-size: 15px;
  }
  #legal .legal-groups .cooperation > div {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }
  #legal .legal-groups .cooperation span {
    width: 100%;
    padding: 16px;
    font-size: 15px;
  }
  #legal .legal-projects {
    gap: 40px;
  }
  #legal .legal-projects article,
  #legal .legal-projects article:nth-child(even) {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }
  #legal .legal-projects h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }
  #legal .legal-projects img {
    border-radius: 48px;
  }
  #legal .legal-careers {
    gap: 40px;
  }
  #legal .legal-careers details,
  #legal .legal-careers summary {
    border-radius: 32px;
  }
  #legal .legal-careers summary {
    padding: 24px 24px 50px;
    overflow: hidden;
  }
  #legal .legal-careers summary > span {
    max-width: 60%;
    font-size: 16px;
  }
  #legal .legal-careers summary picture {
    width: 220px;
    right: -28px;
  }
  #legal .legal-careers .career-toggle {
    width: 40px;
    height: 40px;
    left: calc(50% - 20px);
    bottom: 8px;
  }
  #legal .legal-careers .career-body {
    padding: 32px 24px;
  }
  #legal .legal-careers .career-profile {
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: 12px;
  }
  #legal .legal-careers .career-timeline {
    font-size: 12px;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 8px;
  }
  #legal .legal-careers .legacy-timeline {
    grid-template-columns: 94px minmax(0, 1fr);
  }
  #legal .legal-careers .career-answers {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
    margin-top: 32px;
  }
  #legal .legal-careers .career-answers h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  #legal .legal-questions h4 {
    font-size: 16px;
    line-height: 1.5;
  }
  #legal .legal-questions p {
    font-size: 13px;
  }
}