.office-detail-hero {
  overflow: hidden;
  background: #ffffff;
}

.office-detail-hero__inner {
  min-height: 690px;
  display: flex;
  align-items: stretch;
}

.office-detail-hero__copy {
  width: 47%;
  padding: 92px 74px 84px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-detail-hero__copy h1 {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.055em;
}

.office-detail-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.office-detail-hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.office-detail-hero__meta span {
  padding: 7px 14px;
  color: var(--navy);
  border: 1px solid #cbd5d9;
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--font-size-body-small);
  font-weight: 600;
}

.office-detail-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.office-detail-hero__note {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.office-detail-hero__visual {
  width: calc(53% + max(24px, (100vw - var(--container)) / 2));
  margin-right: min(-24px, calc((var(--container) - 100vw) / 2));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-detail-hero__main-image {
  min-height: 455px;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.office-detail-hero__main-image img, .office-detail-hero__sub-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-detail-hero__sub-images {
  height: 220px;
  display: flex;
  gap: 12px;
}

.office-detail-hero__sub-images figure, .office-detail-hero__message {
  width: 50%;
  margin: 0;
}

.office-detail-hero__sub-images figure {
  overflow: hidden;
}

.office-detail-hero__message {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: var(--navy);
}

.office-detail-hero__message span {
  margin-bottom: 12px;
  color: #f6c8a7;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-detail-hero__message strong {
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.7;
}

.page-section--navy-pale {
  background: var(--navy-pale);
}

.office-overview-layout {
  display: flex;
  align-items: flex-start;
  gap: 84px;
}

.office-overview-heading {
  width: 34%;
  position: sticky;
  top: 32px;
}

.office-overview-heading h2, .office-day-heading h2, .office-access-copy h2, .office-staff-copy h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.office-overview-heading > p:last-child, .office-day-heading > p:last-child, .office-staff-copy > p {
  margin: 0;
  color: var(--ink-soft);
}

.office-information-card {
  width: 66%;
  padding: 14px 40px 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.office-information-card dl {
  margin: 0;
}

.office-information-card dl > div {
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.office-information-card dt {
  width: 128px;
  flex: 0 0 128px;
  color: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-information-card dd {
  margin: 0;
  flex: 1 1 auto;
}

.office-information-card__note {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.office-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.office-feature-card {
  width: calc((100% - 44px) / 3);
  min-height: 285px;
  padding: 34px 30px;
  border-top: 4px solid var(--brand);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.office-feature-card > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-feature-card h3 {
  margin: 22px 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.office-feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.office-gallery {
  margin-top: 58px;
  height: 470px;
  display: flex;
  gap: 14px;
}

.office-gallery figure {
  width: 24%;
  margin: 0;
  overflow: hidden;
  background: #e9e3de;
}

.office-gallery figure.office-gallery__wide {
  width: 52%;
}

.office-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-gallery-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  text-align: right;
}

.office-day-layout {
  display: flex;
  align-items: flex-start;
  gap: 84px;
}

.office-day-heading {
  width: 34%;
  position: sticky;
  top: 32px;
}

.office-day-timeline {
  width: 66%;
  position: relative;
}

.office-day-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 82px;
  width: 1px;
  background: #d9cfc8;
}

.office-day-timeline article {
  min-height: 116px;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 42px;
  position: relative;
}

.office-day-timeline article::before {
  content: "";
  width: 13px;
  height: 13px;
  position: absolute;
  top: 31px;
  left: 76px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.office-day-timeline time {
  width: 64px;
  flex: 0 0 64px;
  color: var(--navy);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.office-day-timeline article > div {
  padding-left: 18px;
}

.office-day-timeline h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-subtitle);
}

.office-day-timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.office-support-heading, .office-other-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
}

.office-support-heading > div, .office-other-heading > div {
  width: 56%;
}

.office-support-heading > p, .office-other-heading > p {
  width: 38%;
}

.office-support-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-support-card {
  padding: 30px 34px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  border: 1px solid #dde4e7;
  background: #ffffff;
}

.office-support-card__icon {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.office-support-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-card-title);
}

.office-support-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.office-staff-layout {
  display: flex;
  align-items: center;
  gap: 78px;
}

.office-staff-copy {
  width: 38%;
}

.office-staff-copy .button {
  margin-top: 28px;
}

.office-staff-preview {
  width: 62%;
  display: flex;
  gap: 20px;
}

.office-staff-preview article {
  width: calc((100% - 20px) / 2);
  border: 1px solid var(--border);
  background: #ffffff;
}

.office-staff-preview__photo {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 34%, #b8c5ca 0 14%, transparent 14.5%),
    radial-gradient(ellipse at 50% 92%, #a4b4ba 0 34%, transparent 34.5%),
    linear-gradient(135deg, #e6ecee, #c9d5d9);
}

.office-staff-preview__photo span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.office-staff-preview article > div:last-child {
  padding: 24px;
}

.office-staff-preview p {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-staff-preview h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-subtitle);
}

.office-staff-preview article > div:last-child > span {
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.office-access-layout {
  display: flex;
  align-items: stretch;
  gap: 72px;
}

.office-access-map, .office-access-copy {
  width: 50%;
}

.office-access-map {
  min-height: 570px;
  border: 1px solid #d8d0ca;
  background:
    linear-gradient(90deg, rgba(42, 63, 74, 0.07) 1px, transparent 1px) 0 0 /
      54px 54px,
    linear-gradient(rgba(42, 63, 74, 0.07) 1px, transparent 1px) 0 0 / 54px 54px,
    #f7f4f1;
}

.office-access-map__placeholder {
  height: 100%;
  min-height: 570px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.office-access-map__placeholder span {
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--brand);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-access-map__placeholder strong {
  font-size: var(--font-size-subtitle);
}

.office-access-map__placeholder p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.office-access-copy address {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-style: normal;
}

.office-access-route {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.office-access-route li {
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid #d8d0ca;
}

.office-access-route li:last-child {
  border-bottom: 1px solid #d8d0ca;
}

.office-access-route li > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--navy);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.office-access-route strong {
  display: block;
  margin-bottom: 5px;
  font-size: var(--font-size-body-large);
}

.office-access-route p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.office-visit-list {
  display: flex;
  gap: 22px;
}

.office-visit-list article {
  width: calc((100% - 44px) / 3);
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.office-visit-list article > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-visit-list h3 {
  margin: 20px 0 12px;
  font-size: var(--font-size-card-title);
}

.office-visit-list p {
  margin: 0;
  color: var(--ink-soft);
}

.office-visit-note {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  background: var(--brand-pale);
}

.office-visit-note > div {
  width: 25%;
  min-height: 116px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.office-visit-note > div:last-child {
  border-right: 0;
}

.office-visit-note span {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-visit-note strong {
  font-size: var(--font-size-body-large);
}

.office-other-list {
  display: flex;
  gap: 20px;
}

.office-other-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid #dde4e7;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.office-other-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.office-other-card.is-current {
  border-color: var(--brand);
}

.office-other-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.office-other-card > div {
  padding: 24px;
}

.office-other-card span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.office-other-card h3 {
  margin: 10px 0 8px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.office-other-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.office-other-card strong {
  color: var(--navy);
  font-size: var(--font-size-body-small);
}

.office-other-card.is-current strong {
  color: var(--brand-dark);
}

@media (max-width: 1080px) {
  .office-detail-hero__copy {
    width: 49%;
    padding-right: 52px;
  }
  .office-detail-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }
  .office-overview-layout, .office-day-layout, .office-staff-layout, .office-access-layout {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .office-detail-hero__inner {
    min-height: 0;
    flex-direction: column;
  }
  .office-detail-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }
  .office-detail-hero__visual {
    width: calc(100% + 48px);
    height: 590px;
    margin: 0 -24px;
  }
  .office-overview-layout, .office-day-layout, .office-staff-layout, .office-access-layout {
    flex-direction: column;
  }
  .office-overview-heading, .office-information-card, .office-day-heading, .office-day-timeline, .office-staff-copy, .office-staff-preview, .office-access-map, .office-access-copy {
    width: 100%;
  }
  .office-overview-heading, .office-day-heading {
    position: static;
  }
  .office-feature-card {
    width: calc((100% - 22px) / 2);
  }
  .office-feature-card:last-child {
    width: 100%;
  }
  .office-gallery {
    height: 400px;
  }
  .office-support-heading, .office-other-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .office-support-heading > div, .office-support-heading > p, .office-other-heading > div, .office-other-heading > p {
    width: 100%;
  }
  .office-access-map, .office-access-map__placeholder {
    min-height: 470px;
  }
  .office-visit-note > div {
    width: 50%;
  }
  .office-visit-note > div:nth-child(2) {
    border-right: 0;
  }
  .office-visit-note > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 700px) {
  .office-feature-card, .office-feature-card:last-child, .office-visit-list article, .office-other-card {
    width: 100%;
  }
  .office-visit-list, .office-other-list {
    flex-direction: column;
  }
  .office-gallery {
    height: auto;
    flex-wrap: wrap;
  }
  .office-gallery figure, .office-gallery figure.office-gallery__wide {
    width: calc((100% - 14px) / 2);
    height: 250px;
  }
  .office-gallery figure.office-gallery__wide {
    width: 100%;
    height: 320px;
  }
  .office-staff-preview {
    flex-direction: column;
  }
  .office-staff-preview article {
    width: 100%;
    display: flex;
  }
  .office-staff-preview__photo {
    width: 38%;
    height: auto;
    min-height: 230px;
    flex: 0 0 38%;
  }
  .office-day-timeline::before {
    left: 68px;
  }
  .office-day-timeline article::before {
    left: 62px;
  }
  .office-day-timeline article {
    gap: 28px;
  }
  .office-day-timeline time {
    width: 52px;
    flex-basis: 52px;
    font-size: var(--font-size-body);
  }
}

@media (max-width: 640px) {
  .office-detail-hero__copy {
    padding: 52px 0 42px;
  }
  .office-detail-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }
  .office-detail-hero__lead {
    font-size: var(--font-size-body);
  }
  .office-detail-hero__actions {
    flex-direction: column;
  }
  .office-detail-hero__actions .button {
    width: 100%;
  }
  .office-detail-hero__visual {
    width: calc(100% + 32px);
    height: 500px;
    margin: 0 -16px;
    gap: 8px;
  }
  .office-detail-hero__sub-images {
    height: 190px;
    gap: 8px;
  }
  .office-detail-hero__message {
    padding: 20px 16px;
  }
  .office-detail-hero__message strong {
    font-size: var(--font-size-body);
  }
  .office-information-card {
    padding: 8px 22px 24px;
  }
  .office-information-card dl > div {
    padding: 20px 0;
    flex-direction: column;
    gap: 6px;
  }
  .office-information-card dt {
    width: auto;
    flex-basis: auto;
  }
  .office-feature-card, .office-support-card, .office-visit-list article {
    min-height: 0;
    padding: 26px 22px;
  }
  .office-gallery figure, .office-gallery figure.office-gallery__wide {
    width: 100%;
    height: 250px;
  }
  .office-gallery-note {
    text-align: left;
  }
  .office-day-timeline::before {
    display: none;
  }
  .office-day-timeline article {
    min-height: 0;
    padding: 24px 0;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
  }
  .office-day-timeline article:last-child {
    border-bottom: 1px solid var(--border);
  }
  .office-day-timeline article::before {
    display: none;
  }
  .office-day-timeline article > div {
    padding-left: 0;
  }
  .office-support-card {
    flex-direction: column;
    gap: 18px;
  }
  .office-support-card__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
  .office-staff-preview article {
    display: block;
  }
  .office-staff-preview__photo {
    width: 100%;
    height: 250px;
    min-height: 0;
  }
  .office-access-map, .office-access-map__placeholder {
    min-height: 390px;
  }
  .office-access-map__placeholder {
    padding: 30px 22px;
  }
  .office-visit-note > div {
    width: 100%;
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .office-visit-note > div:last-child {
    border-bottom: 0;
  }
  .office-other-card {
    display: flex;
  }
  .office-other-card img {
    width: 38%;
    height: auto;
    min-height: 210px;
    flex: 0 0 38%;
  }
}

/* BEGIN CRA WSC SANJO A 2026-10-31 */
/* 三条：就労継続支援A型 */
.sanjo-page h2 { margin: 0 0 24px; font-size: var(--font-size-content-heading); line-height: 1.55; letter-spacing: .04em; }
.sanjo-page h3 { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.6; }
.sanjo-page p { margin-top: 0; }
.sanjo-page .section-label { color: #9d460a; }
.sanjo-hero { padding: 64px 0 0; background: linear-gradient(115deg, #fff8f0, #f6f5f1); }
.sanjo-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.sanjo-type { display: inline-block; padding: 5px 14px; background: var(--navy); color: white; font-size: .875rem; font-weight: 600; }
.sanjo-hero h1 { margin: 2px 0 22px; font-size: clamp(1.9rem, 2.8vw, 2.65rem); line-height: 1.5; letter-spacing: .035em; }
.sanjo-hero__message { font-size: 1.5rem; font-weight: 600; color: #9d460a; line-height: 1.65; }
.sanjo-hero__copy > p:last-of-type { color: var(--ink-soft); font-size: .9375rem; }
.sanjo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.sanjo-actions .text-link { white-space: normal; }
.sanjo-hero__visual { margin: 0; position: relative; }
.sanjo-hero__visual img { aspect-ratio: 5 / 5; object-fit: cover; border-radius: 120px 8px 8px 8px; }
.sanjo-hero__visual figcaption { position: absolute; bottom: 20px; left: 20px; right: 20px; background: var(--navy); color: white; padding: 12px 16px; font-weight: 500; text-align: center; }
.sanjo-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; padding: 28px 0; border-top: 1px solid #ded7cf; }
.sanjo-facts > div { padding: 0 24px; border-left: 1px solid #ded7cf; }
.sanjo-facts > div:first-child { padding-left: 0; border-left: 0; }
.sanjo-facts dt { font-size: .8125rem; color: var(--ink-soft); }
.sanjo-facts dd { margin: 4px 0 0; font-size: .9375rem; }
.sanjo-facts strong { font-size: 1.4rem; display: block; color: var(--navy); }
.sanjo-facts__single { white-space: nowrap; }
.sanjo-facts dd span { font-size: .75rem; display: block; }
.sanjo-heading { max-width: 740px; margin-bottom: 40px; }
.sanjo-heading > p:last-child, .sanjo-split > div > p:last-child { color: var(--ink-soft); }
.sanjo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sanjo-features article { border-top: 3px solid var(--brand); padding: 26px 0 0; }
.sanjo-number { display: block; margin-bottom: 16px; color: #9d460a; font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; }
.sanjo-features p, .sanjo-jobs article > p:last-child, .sanjo-flow p, .sanjo-staff article > div > p:last-child { color: var(--ink-soft); margin: 0; }
.sanjo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sanjo-work-photo { border-radius: 8px; aspect-ratio: 2 / 1; object-fit: cover; }
.sanjo-jobs { margin-top: 40px; }
.sanjo-jobs article { padding: 28px; border: 1px solid var(--border); background: white; }
.sanjo-jobs .section-label { margin-bottom: 12px; }
.sanjo-table { margin: 0; border-top: 1px solid var(--border); }
.sanjo-table > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--border); padding: 20px 0; }
.sanjo-table dt { font-weight: 600; }
.sanjo-table dd { margin: 0; color: var(--ink-soft); }
.sanjo-table a { text-decoration: underline; text-underline-offset: 4px; }
.sanjo-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; counter-reset: none; }
.sanjo-flow li { padding: 28px; background: white; border: 1px solid #dbe0e2; }
.sanjo-flow .sanjo-number { font-size: .875rem; }
.sanjo-note { margin: 24px 0 0; font-size: .875rem; color: var(--ink-soft); }
.sanjo-staff { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sanjo-staff article { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: start; }
.sanjo-staff img { width: 140px; height: 160px; object-fit: cover; border-radius: 6px; }
.sanjo-staff .section-label { margin-bottom: 4px; }
.sanjo-staff h3 { font-size: 1.5rem; }
.sanjo-faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.sanjo-faq details { border-top: 1px solid #d8cfc8; }
.sanjo-faq details:last-child { border-bottom: 1px solid #d8cfc8; }
.sanjo-faq summary { position: relative; cursor: pointer; padding: 24px 32px 24px 32px; list-style: none; font-weight: 600; }
.sanjo-faq summary::-webkit-details-marker { display: none; }
.sanjo-faq summary::before { content: 'Q'; position: absolute; left: 0; color: #9d460a; }
.sanjo-faq summary::after { content: '+'; position: absolute; right: 2px; color: #9d460a; }
.sanjo-faq details[open] summary::after { content: '−'; }
.sanjo-faq details > div { padding: 0 32px 24px; color: var(--ink-soft); }
.sanjo-faq details p { margin: 0; }
.sanjo-map { margin-top: 48px; }
.sanjo-map iframe { display: block; width: 100%; height: 400px; border: 0; background: var(--navy-pale); }
@media (max-width: 1000px) {
  .sanjo-hero__grid, .sanjo-split { gap: 32px; }
  .sanjo-hero__visual img { aspect-ratio: 4 / 5; }
  .sanjo-grid { gap: 20px; }
  .sanjo-staff article { grid-template-columns: 100px minmax(0, 1fr); gap: 20px; }
  .sanjo-staff img { width: 100px; height: 130px; }
  .sanjo-faq-layout { gap: 32px; }
}
@media (max-width: 760px) {
  .sanjo-hero { padding-top: 36px; }
  .sanjo-hero__grid, .sanjo-split, .sanjo-grid, .sanjo-staff, .sanjo-faq-layout { grid-template-columns: 1fr; }
  .sanjo-hero h1 { font-size: 2rem; }
  .sanjo-hero__visual img { aspect-ratio: 4 / 3; border-top-left-radius: 64px; }
  .sanjo-hero__message { font-size: 1.375rem; }
  .sanjo-hero__visual figcaption { font-size: .875rem; bottom: 12px; left: 12px; right: 12px; }
  .sanjo-facts { grid-template-columns: 1fr 1fr; gap: 24px 0; margin-top: 32px; }
  .sanjo-facts > div { padding: 0 12px; }
  .sanjo-facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .sanjo-facts strong { font-size: 1.15rem; }
  .sanjo-heading { margin-bottom: 28px; }
  .sanjo-recruit .sanjo-heading { margin-bottom: 0; }
  .sanjo-flow { grid-template-columns: 1fr; gap: 16px; }
  .sanjo-flow li { padding: 24px; }
  .sanjo-staff { gap: 36px; }
  .sanjo-staff article { grid-template-columns: 100px minmax(0, 1fr); }
  .sanjo-table > div { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; font-size: .9375rem; }
  .sanjo-faq-layout { gap: 0; }
  .sanjo-faq summary { padding-right: 26px; }
  .sanjo-map iframe { height: 300px; }
  .sanjo-actions { gap: 16px; }
}
/* HTMLの寸法属性を保ちつつ、表示幅に応じて写真を縮小する。 */
.sanjo-hero__visual img, .sanjo-work-photo { height: auto; }

.sanjo-feature-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border-radius: 6px; margin: 0 0 20px; }

/* END CRA WSC SANJO A 2026-10-31 */
