.earthsupport-subpage {
  --sub-dark: #22201d;
  --sub-soft: #f2eadc;
  --sub-green: #315e4c;
  background: var(--paper);
}

.subpage-main {
  overflow: clip;
  background: var(--paper);
}

.subpage-main h4 {
  margin: 0;
  font-family: var(--mincho);
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: 0;
}

.sub-section {
  padding-block: 104px;
}

.sub-kicker {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.sub-hero {
  position: relative;
  min-height: 660px;
  padding-top: var(--header-height);
  color: var(--paper);
  isolation: isolate;
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 582px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 78px;
}

.sub-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--paper);
  font-size: 64px;
  line-height: 1.35;
}

.sub-hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
}

.sub-hero-actions,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button-ghost-light,
.button-light,
.button-outline-light {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.4;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-ghost-light,
.button-outline-light {
  color: var(--paper);
}

.button-ghost-light:hover,
.button-outline-light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.company-hero {
  background: var(--sub-dark);
}

.company-hero .sub-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  gap: clamp(44px, 6vw, 96px);
}

.company-hero-copy {
  min-width: 0;
}

.company-hero-visual {
  display: grid;
  width: 100%;
  min-height: 470px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(243, 229, 43, 0.72);
  background: var(--cream);
}

.company-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
}

.company-hero-visual img:nth-child(odd) {
  border-right: 1px solid rgba(243, 229, 43, 0.45);
}

.company-hero-visual img:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(243, 229, 43, 0.45);
}

.company-life-section {
  background: var(--paper);
}

.company-life-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.7fr));
  gap: 12px;
}

.company-life-photo {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

.company-life-photo-main {
  min-height: 500px;
}

.company-life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-life-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 16px 14px;
  background: linear-gradient(180deg, rgba(29, 23, 18, 0), rgba(29, 23, 18, 0.84));
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.company-life-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.button-outline-dark {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-outline-dark:hover {
  border-color: var(--mag);
  color: var(--mag-deep);
}

.company-facts {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.company-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-facts dl {
  min-width: 0;
  margin: 0;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.company-facts dl:first-child {
  border-left: 1px solid var(--line);
}

.company-facts dt {
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}

.company-facts dd {
  margin: 0;
  font-family: var(--mincho);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 100px;
  align-items: start;
}

.intro-layout .section-heading {
  display: block;
  margin: 0;
}

.intro-copy {
  padding-top: 40px;
  border-top: 2px solid var(--mag);
}

.intro-copy p {
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: 17px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.business-section,
.muted-band,
.work-life-section {
  background: var(--cream);
}

.work-life-section {
  padding-block: 104px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.business-item {
  min-height: 290px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.business-item > span {
  display: block;
  margin-bottom: 54px;
  color: var(--mag-deep);
  font-size: 13px;
  font-weight: 900;
}

.business-item h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.business-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.company-data-section {
  background: var(--sub-dark);
  color: var(--paper);
}

.company-data-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 92px;
  align-items: start;
}

.company-data-section h2,
.company-data-section .section-intro {
  color: var(--paper);
}

.company-data-section .section-intro {
  margin-top: 20px;
  color: rgba(255, 253, 247, 0.72);
}

.company-table-wrap {
  border-top: 1px solid rgba(255, 253, 247, 0.35);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 21px 18px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.2);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 172px;
  color: rgba(255, 253, 247, 0.66);
  font-size: 13px;
  white-space: nowrap;
}

.company-table td {
  font-weight: 600;
}

.company-table a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.office-group + .office-group {
  margin-top: 62px;
}

.office-group > h3 {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
  font-family: var(--gothic);
  font-size: 18px;
  font-weight: 800;
}

.office-list {
  border-top: 1px solid var(--line);
}

.office-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(280px, 1.3fr) 170px;
  gap: 30px;
  align-items: center;
  padding: 26px 18px;
  border-bottom: 1px solid var(--line);
}

.office-row.featured {
  border-left: 4px solid var(--mag);
}

.office-row span {
  display: block;
  margin-bottom: 4px;
  color: var(--mag-deep);
  font-size: 11px;
  font-weight: 900;
}

.office-row p,
.office-row > a {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.office-row > a {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.office-row h4 a,
.office-row > a {
  text-decoration: underline;
  text-decoration-color: rgba(200, 21, 110, 0.35);
  text-underline-offset: 5px;
}

.access-section {
  background: var(--sub-soft);
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.access-copy p {
  max-width: 520px;
  margin: 24px 0 30px;
  color: var(--ink-2);
}

.map-frame {
  min-height: 460px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.sub-final-cta {
  padding-block: 92px;
  background: var(--mag-deep);
  color: var(--paper);
}

.final-cta-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  justify-content: space-between;
}

.final-cta-inner > div:first-child {
  max-width: 670px;
}

.final-cta-inner span {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.final-cta-inner h2 {
  color: var(--paper);
  font-size: 40px;
}

.final-cta-inner p {
  margin: 16px 0 0;
  color: rgba(255, 253, 247, 0.8);
}

.final-cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.recruit-hero {
  min-height: 700px;
  background: var(--sub-green);
}

.recruit-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://earthsupport.net/wp-content/uploads/2024/12/%E5%90%8D%E7%A7%B0_%E6%9C%AA_%E8%A8%AD%E5%AE%9A.png") center / cover no-repeat;
}

.recruit-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(29, 23, 18, 0.68);
  content: "";
}

.recruit-hero .sub-hero-inner {
  min-height: 622px;
}

.job-category-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.97);
}

.job-category-nav .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.job-category-nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.job-category-nav a:first-child {
  border-left: 1px solid var(--line);
}

.job-category-nav a:hover {
  background: var(--cream);
  color: var(--mag-deep);
}

.notice-text {
  padding: 16px 18px;
  border-left: 3px solid var(--yellow);
  background: var(--cream);
  font-size: 14px !important;
}

.job-group {
  scroll-margin-top: calc(var(--header-height) + 70px);
}

.job-group-heading {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 42px;
}

.job-group-heading > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--mag);
  color: var(--mag-deep);
  font-size: 14px;
  font-weight: 900;
}

.job-group-heading p {
  margin: 0 0 4px;
  color: var(--mag-deep);
  font-size: 11px;
  font-weight: 900;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.job-list.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 830px;
}

.facility-job-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.job-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
  overflow: hidden;
}

.job-card-head {
  min-height: 224px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--line);
}

.status-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 9px;
  border-radius: 3px;
  background: #e5f0e9;
  color: var(--sub-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
}

.status-badge.closed {
  background: #eeeae3;
  color: var(--ink-2);
}

.job-card h3 {
  min-height: 78px;
  margin-bottom: 12px;
  font-size: 23px;
}

.job-card-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.job-card dl {
  margin: 0;
  padding: 18px 28px 8px;
}

.job-card dl > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 8px 0;
}

.job-card dt {
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
}

.job-card dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.job-link {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: auto 20px 20px;
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--mag-deep);
  border-radius: 5px;
  background: var(--mag-deep);
  box-shadow: 0 8px 18px rgba(100, 10, 49, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.job-link span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 17px;
  line-height: 1;
}

.job-link:hover,
.job-link:focus-visible {
  background: var(--mag);
  box-shadow: 0 10px 22px rgba(100, 10, 49, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.job-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.job-card-closed {
  box-shadow: none;
}

.job-card-closed .job-card-head {
  min-height: auto;
}

.work-life-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 72px;
  align-items: center;
}

.work-life-copy p {
  margin: 24px 0 0;
  color: var(--ink-2);
}

.work-life-gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 0.7fr);
  gap: 12px;
}

.work-life-media {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.work-life-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-life-media-wide img {
  object-position: center;
}

.work-life-media-portrait img {
  object-position: center 58%;
}

.work-life-media figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.megumi-work-gallery {
  display: block;
  columns: 2;
  column-gap: 12px;
}

.megumi-work-gallery .work-life-media {
  display: inline-block;
  width: 100%;
  min-height: 0;
  margin: 0 0 12px;
  break-inside: avoid;
  border-radius: 6px;
}

/* めぐみ苑 求人詳細 */
.megumi-job-page {
  background: var(--paper);
}

.megumi-job-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sub-dark);
  color: var(--paper);
}

.megumi-job-hero-image,
.megumi-job-hero-shade {
  position: absolute;
  inset: 0;
}

.megumi-job-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
}

.megumi-job-hero-shade {
  background: linear-gradient(90deg, rgba(20, 18, 15, 0.94) 0%, rgba(20, 18, 15, 0.75) 44%, rgba(20, 18, 15, 0.16) 78%), linear-gradient(0deg, rgba(20, 18, 15, 0.74), rgba(20, 18, 15, 0) 50%);
}

.megumi-job-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--header-height) + 80px) 92px;
}

.megumi-job-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 46px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.megumi-job-back::before {
  content: "←";
}

.megumi-job-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--mincho);
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 600;
  line-height: 1.3;
}

.megumi-job-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 253, 247, 0.88);
  font-size: 17px;
  line-height: 1.9;
}

.megumi-job-facts {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.megumi-job-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.megumi-job-facts dl {
  margin: 0;
  padding: 27px 24px;
  border-right: 1px solid var(--line);
}

.megumi-job-facts dl:first-child {
  border-left: 1px solid var(--line);
}

.megumi-job-facts dt {
  margin-bottom: 6px;
  color: var(--mag-deep);
  font-size: 11px;
  font-weight: 900;
}

.megumi-job-facts dd {
  margin: 0;
  font-family: var(--mincho);
  font-size: 20px;
  font-weight: 700;
}

.megumi-job-intro {
  padding-bottom: 30px;
}

.megumi-job-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 92px;
  align-items: start;
  margin-bottom: 58px;
}

.megumi-job-intro-grid .section-heading {
  display: block;
  margin: 0;
}

.megumi-job-intro-copy {
  padding-top: 34px;
  border-top: 2px solid var(--mag);
}

.megumi-job-intro-copy p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 2;
}

.megumi-job-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 12px;
}

.megumi-job-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

.megumi-job-photo-tall {
  grid-row: span 2;
}

.megumi-job-photo-wide {
  grid-column: span 2;
}

.megumi-job-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.megumi-job-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 15px 14px;
  background: linear-gradient(180deg, rgba(29, 23, 18, 0), rgba(29, 23, 18, 0.84));
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.megumi-job-work {
  background: var(--cream);
}

.megumi-job-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.megumi-job-work-grid article {
  min-height: 280px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.megumi-job-work-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--mag-deep);
  font-size: 12px;
  font-weight: 900;
}

.megumi-job-work-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.megumi-job-work-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.8;
}

.megumi-job-requirements-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 74px;
  align-items: start;
}

.megumi-job-requirements h2 {
  margin-top: 14px;
  font-size: 40px;
}

.megumi-job-requirements-grid > div:first-child > p {
  color: var(--ink-2);
}

.megumi-job-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}

.megumi-job-table th,
.megumi-job-table td {
  padding: 19px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.megumi-job-table th {
  width: 27%;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 900;
}

.megumi-job-table td {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.megumi-job-points {
  background: var(--sub-dark);
  color: var(--paper);
}

.megumi-job-points .section-heading p {
  color: rgba(255, 253, 247, 0.72);
}

.megumi-job-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.megumi-job-point-grid article {
  min-height: 270px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 253, 247, 0.22);
}

.megumi-job-point-grid strong {
  display: block;
  margin-bottom: 44px;
  color: var(--yellow);
  font-family: var(--mincho);
  font-size: 48px;
  font-weight: 600;
}

.megumi-job-point-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.megumi-job-point-grid p {
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
  font-size: 13px;
}

.megumi-job-faq-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 80px;
}

.megumi-job-faq-list details {
  border-top: 1px solid var(--line);
}

.megumi-job-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.megumi-job-faq-list summary {
  position: relative;
  padding: 23px 44px 23px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  list-style: none;
}

.megumi-job-faq-list summary::-webkit-details-marker {
  display: none;
}

.megumi-job-faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--mag-deep);
  content: "+";
  font-size: 22px;
}

.megumi-job-faq-list details[open] summary::after {
  content: "−";
}

.megumi-job-faq-list details p {
  margin: 0;
  padding: 0 44px 24px 0;
  color: var(--ink-2);
  font-size: 14px;
}

.megumi-job-contact {
  padding-block: 88px;
  background: var(--mag-deep);
  color: var(--paper);
}

.megumi-job-contact-inner {
  display: flex;
  gap: 72px;
  align-items: center;
  justify-content: space-between;
}

.megumi-job-contact h2 {
  margin: 10px 0 14px;
  font-size: 40px;
}

.megumi-job-contact p {
  margin: 0;
  color: rgba(255, 253, 247, 0.78);
}

.megumi-job-contact-actions {
  display: flex;
  min-width: 320px;
  flex-direction: column;
  gap: 10px;
}

.megumi-job-contact-actions small {
  color: rgba(255, 253, 247, 0.74);
  text-align: center;
}

.megumi-work-gallery .work-life-media img {
  display: block;
  width: 100%;
  height: auto;
}

.application-section {
  scroll-margin-top: calc(var(--header-height) + 70px);
}

.application-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.application-step {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-step span {
  display: block;
  margin-bottom: 38px;
  color: var(--mag-deep);
  font-size: 12px;
  font-weight: 900;
}

.application-step h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.application-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.application-contact {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 4px solid var(--mag);
  background: var(--cream);
}

.application-contact p {
  margin: 0;
  font-weight: 700;
}

.application-contact a {
  flex: 0 0 auto;
  color: var(--mag-deep);
  font-family: var(--mincho);
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .business-grid,
  .job-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-row {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr);
  }

  .office-row > a {
    grid-column: 2;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .sub-section {
    padding-block: 80px;
  }

  .work-life-section {
    padding-block: 80px;
  }

  .sub-hero,
  .recruit-hero {
    min-height: 600px;
  }

  .sub-hero-inner,
  .recruit-hero .sub-hero-inner {
    min-height: 522px;
  }

  .sub-hero h1 {
    font-size: 52px;
  }

  .company-hero,
  .company-hero .sub-hero-inner {
    min-height: 0;
  }

  .company-hero .sub-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .company-hero-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .company-hero-visual img {
    min-height: 0;
  }

  .company-life-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-life-photo,
  .company-life-photo-main {
    min-height: 340px;
  }

  .company-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-facts dl:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .company-facts dl:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-layout,
  .company-data-layout,
  .access-layout,
  .work-life-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-copy {
    padding-top: 28px;
  }

  .company-data-layout {
    gap: 36px;
  }

  .work-life-media {
    min-height: 0;
  }

  .megumi-work-gallery {
    columns: 3;
  }

  .application-steps {
    grid-template-columns: 1fr;
  }

  .application-step {
    min-height: auto;
  }

  .megumi-job-hero {
    min-height: 690px;
  }

  .megumi-job-intro-grid,
  .megumi-job-requirements-grid,
  .megumi-job-faq-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .megumi-job-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .megumi-job-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .megumi-job-work-grid article {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .sub-section {
    padding-block: 64px;
  }

  .work-life-section {
    padding-block: 64px;
  }

  .sub-hero,
  .recruit-hero {
    min-height: 570px;
  }

  .sub-hero-inner,
  .recruit-hero .sub-hero-inner {
    min-height: 492px;
    padding-block: 58px;
  }

  .sub-hero h1 {
    font-size: 40px;
  }

  .sub-hero-lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.85;
  }

  .sub-hero-actions,
  .final-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .sub-hero-actions .button,
  .sub-hero-actions .button-ghost-light,
  .final-cta-actions a {
    width: 100%;
  }

  .company-hero .sub-hero-inner {
    gap: 40px;
  }

  .company-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .company-life-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .company-life-photo,
  .company-life-photo-main {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .company-life-photo-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .company-facts dl {
    padding: 22px 16px;
  }

  .company-facts dd {
    font-size: 17px;
  }

  .business-grid,
  .job-list,
  .job-list.two-column {
    grid-template-columns: 1fr;
  }

  .business-item {
    min-height: 0;
  }

  .business-item > span {
    margin-bottom: 30px;
  }

  .company-table-wrap {
    overflow-x: auto;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding-inline: 4px;
  }

  .company-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .company-table td {
    padding-top: 2px;
  }

  .office-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 14px;
  }

  .office-row > a {
    grid-column: auto;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
    height: 360px;
  }

  .sub-final-cta {
    padding-block: 64px;
  }

  .final-cta-inner h2 {
    font-size: 32px;
  }

  .job-category-nav {
    overflow-x: auto;
  }

  .job-category-nav .container {
    width: max-content;
    min-width: 100%;
    grid-template-columns: repeat(4, minmax(116px, 1fr));
  }

  .job-category-nav a {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .job-group-heading {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .job-group-heading > span {
    width: 48px;
    height: 48px;
  }

  .job-group-heading h2 {
    font-size: 30px;
  }

  .job-card {
    min-height: 0;
  }

  .job-card-head {
    min-height: 0;
  }

  .job-card h3 {
    min-height: 0;
  }

  .work-life-gallery {
    grid-template-columns: 1fr;
  }

  .megumi-work-gallery {
    columns: 2;
  }

  .work-life-media {
    aspect-ratio: 4 / 3;
  }

  .megumi-work-gallery .work-life-media {
    aspect-ratio: auto;
  }

  .application-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .application-contact a {
    font-size: 23px;
  }

  .megumi-job-hero {
    min-height: 680px;
  }

  .megumi-job-hero-image {
    object-position: 58% center;
  }

  .megumi-job-hero-shade {
    background: linear-gradient(0deg, rgba(20, 18, 15, 0.94) 0%, rgba(20, 18, 15, 0.72) 56%, rgba(20, 18, 15, 0.18) 100%);
  }

  .megumi-job-hero-inner {
    padding-block: calc(var(--header-height) + 44px) 54px;
  }

  .megumi-job-back {
    margin-bottom: 190px;
  }

  .megumi-job-hero h1 {
    font-size: 38px;
  }

  .megumi-job-lead {
    font-size: 14px;
  }

  .megumi-job-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .megumi-job-facts dl:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .megumi-job-facts dl:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .megumi-job-facts dd {
    font-size: 16px;
  }

  .megumi-job-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 8px;
  }

  .megumi-job-photo-wide {
    grid-column: span 2;
  }

  .megumi-job-work-grid,
  .megumi-job-point-grid {
    grid-template-columns: 1fr;
  }

  .megumi-job-work-grid article,
  .megumi-job-point-grid article {
    min-height: 0;
  }

  .megumi-job-work-grid span,
  .megumi-job-point-grid strong {
    margin-bottom: 26px;
  }

  .megumi-job-requirements h2,
  .megumi-job-contact h2 {
    font-size: 30px;
  }

  .megumi-job-table th,
  .megumi-job-table td {
    display: block;
    width: 100%;
    padding-inline: 4px;
  }

  .megumi-job-table th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .megumi-job-table td {
    padding-top: 2px;
  }

  .megumi-job-contact-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 38px;
  }

  .megumi-job-contact-actions {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button-ghost-light,
  .button-light,
  .button-outline-light {
    transition: none;
  }
}
