
:root {
  --green: #1B5B38;
  --green-dark: #103b26;
  --green-soft: #eaf2ed;
  --yellow: #fdcd00;
  --ink: #1f2a23;
  --muted: #667169;
  --line: #dfe5e0;
  --bg: #f7f8f6;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(24, 56, 37, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.85;
  letter-spacing: .015em;
  font-feature-settings: "palt" 1;
}

h1, h2, h3, h4, p, li, dt, dd, summary {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

p, li, dd {
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
strong { font-weight: 800; }
.sp-only { display: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 91, 56, .10);
}
.header-inner {
  max-width: 1220px;
  height: 74px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 158px;
  height: auto;
  max-width: 46vw;
}
.brand-page-name {
  padding-left: 14px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  gap: 26px;
}
.header-nav a {
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.header-nav a:hover { color: var(--green); }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.container.narrow { width: min(820px, calc(100% - 48px)); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(253, 205, 0, .27), transparent 25%),
    linear-gradient(145deg, #f7fbf8 0%, #fff 58%, #f6f8f4 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(27, 91, 56, .05);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  min-height: 760px;
  margin: 0 auto;
  padding: 90px 28px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 70px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.light { color: #d7eadf; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.15rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 9px;
  margin-top: 26px;
  background: var(--yellow);
  border-radius: 999px;
}
.hero-lead {
  margin: 30px 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.7;
}
.hero-text {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}
.hero-job {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 6px solid var(--green);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-job span,
.hero-job small {
  display: block;
}
.hero-job span {
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
}
.hero-job strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 1.25rem;
  line-height: 1.45;
}
.hero-job small { color: var(--muted); }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button-row.center { justify-content: center; }
.button {
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 59, 38, .16);
}
.button-primary { background: var(--green); color: #fff; }
.button-secondary { background: #fff; border-color: var(--green); color: var(--green); }
.button-yellow { background: var(--yellow); color: #172016; }
.button-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.consult-box {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--green);
  color: #fff;
  border-radius: 16px;
}
.consult-label {
  margin: 0;
  color: #d7eadf;
  font-size: .76rem;
  font-weight: 800;
}
.consult-main {
  margin: 3px 0 5px;
  font-size: 1.05rem;
  line-height: 1.65;
}
.consult-main span,
.consult-main strong {
  display: block;
}
.consult-main strong {
  color: var(--yellow);
  font-size: 1.12em;
}
.consult-note {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
}
.placeholder {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #728078;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(27,91,56,.09) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(27,91,56,.09) 50%, transparent 50.5%),
    #eef3ef;
  background-size: 36px 36px;
  border: 1px dashed #9aaca0;
  border-radius: var(--radius);
  text-align: center;
}
.placeholder span {
  padding: 4px 10px;
  color: var(--green);
  background: rgba(255,255,255,.82);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.placeholder p {
  margin: 10px 0 0;
  padding: 0 20px;
  font-weight: 700;
}
.placeholder.small { min-height: 170px; }

.section { padding: 110px 0; }
.section-number {
  margin: 0 0 4px;
  color: rgba(27,91,56,.28);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}
.section-number.light { color: rgba(255,255,255,.2); }
.section h2,
.final-cta h2 {
  margin: 0 0 26px;
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.32;
  letter-spacing: -.025em;
  font-weight: 800;
}
.section h2::after {
  content: "";
  display: block;
  width: 66px;
  height: 7px;
  margin-top: 22px;
  background: var(--yellow);
  border-radius: 999px;
}
.lead {
  margin: 0 0 20px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.7;
}
.lead.light { color: #fff; }

.company-data {
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
}
.company-data div,
.condition-list div,
.contact-data div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.company-data dt,
.condition-list dt,
.contact-data dt {
  color: var(--green);
  font-size: .85rem;
  font-weight: 800;
}
.company-data dd,
.condition-list dd,
.contact-data dd { margin: 0; }

.section-green {
  color: #fff;
  background: var(--green-dark);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.work-card {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
}
.work-card-media {
  min-height: 170px;
  border: 0;
  border-radius: 0;
}
.work-card h3 {
  margin: 22px 22px 6px;
  font-size: 1.12rem;
}
.work-card p {
  margin: 0;
  padding: 0 22px 24px;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.75;
}
.step-up-box {
  margin-top: 24px;
  padding: 32px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
}
.step-up-box h3,
.notice-box h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}
.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 26px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-weight: 900;
}
.notice-box {
  margin-top: 22px;
  padding: 24px 28px;
  border-radius: 16px;
}
.notice-box.dark {
  background: #0b2c1b;
  border-left: 6px solid var(--yellow);
}
.notice-box p { margin: 0; }

.service-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.service-card.reverse .service-visual { order: 2; }
.service-card.reverse .service-content { order: 1; }
.service-visual { min-height: 390px; }
.service-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.service-content h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}
.tag-list {
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tag-list li {
  padding: 7px 11px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.small-note {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.75;
}
.other-business {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.other-business-heading {
  max-width: 720px;
}
.other-business-heading h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}
.other-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.other-card {
  padding: 18px 18px 24px;
  background: var(--bg);
  border-radius: 18px;
}
.other-card h4 {
  margin: 18px 0 6px;
  font-size: 1.35rem;
}
.other-card p { color: var(--muted); }

.training { background: #f8faf8; }
.training-list {
  margin-top: 42px;
  display: grid;
  gap: 12px;
}
.training-list > div {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 70px 180px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(27,91,56,.06);
}
.training-list span {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 1px 1px 0 var(--green), -1px -1px 0 var(--green);
}
.training-list h3,
.training-list p { margin: 0; }
.training-list h3 { font-size: 1.05rem; }
.training-list p { color: var(--muted); font-size: .92rem; }
.training-program {
  margin-top: 24px;
  padding: 28px;
  color: #fff;
  background: var(--green);
  border-radius: 18px;
}
.training-program h3 { margin-top: 0; }
.training-program .check-list { grid-template-columns: 1fr; }

.fit-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fit-grid div {
  min-height: 120px;
  padding: 24px;
  display: flex;
  align-items: center;
  background: var(--green-soft);
  border-left: 5px solid var(--green);
  border-radius: 14px;
  font-weight: 800;
}
.fit-note {
  margin: 26px 0 0;
  color: var(--muted);
}

.section-gray { background: var(--bg); }
.source-note {
  margin: -8px 0 32px;
  color: var(--muted);
  font-size: .87rem;
}
.condition-block {
  margin-top: 20px;
  padding: 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(27,91,56,.055);
}
.condition-block h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
}
.condition-list { margin: 0; }
.condition-list.compact div { grid-template-columns: 180px 1fr; }
.salary-main {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.salary-main span { color: var(--muted); }
.salary-main strong {
  color: var(--green);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.plain-list {
  margin: 0;
  padding-left: 1.2em;
}
.plain-list li + li { margin-top: 7px; }
.time-main {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}
.time-main span { margin: 0 9px; color: var(--muted); font-size: 1.2rem; }
.pdf-box {
  margin-top: 26px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 18px;
}
.pdf-box h3 { margin: 0 0 6px; }
.pdf-box p { margin: 0; }

.flow-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}
.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding-bottom: 34px;
}
.flow-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 31px;
  width: 2px;
  height: calc(100% - 28px);
  background: var(--line);
}
.flow-list span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--yellow);
  border-radius: 50%;
  font-size: .88rem;
  font-weight: 900;
}
.flow-list h3 { margin: 3px 0 4px; }
.flow-list p { margin: 0; color: var(--muted); }

.selection { background: var(--green-soft); }
.selection-list {
  margin-top: 34px;
  background: #fff;
  padding: 0 28px;
  border-radius: 18px;
}
.selection-list div:last-child { border-bottom: 0; }

.faq-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div {
  padding: 0 44px 22px 0;
  color: var(--muted);
}
.faq-list p { margin: 0; }

.final-cta {
  padding: 100px 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(253,205,0,.18), transparent 30%),
    var(--green-dark);
  text-align: center;
}
.final-cta h2 { margin-bottom: 18px; }
.final-cta h2::after {
  content: "";
  display: block;
  width: 66px;
  height: 7px;
  margin: 22px auto 0;
  background: var(--yellow);
  border-radius: 999px;
}
.final-cta strong { color: var(--yellow); }
.contact-data {
  margin: 46px auto 0;
  max-width: 760px;
  text-align: left;
}
.contact-data div { border-color: rgba(255,255,255,.16); }
.contact-data dt { color: #cfe3d7; }
.legal-note {
  margin: 24px 0 0;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
  line-height: 1.7;
}

.site-footer {
  padding: 42px 0 110px;
  color: #dce9e1;
  background: #092719;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.footer-logo-link {
  display: inline-block;
}
.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}
.footer-company-name {
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
}
.copyright { margin-top: 16px !important; font-size: .75rem; }

.mobile-cta { display: none; }

@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
    gap: 42px;
  }
  .hero-visual { min-height: 330px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .sp-only { display: inline; }
  .container,
  .container.narrow { width: min(100% - 32px, 1120px); }
  .header-inner { height: 62px; padding: 0 16px; }
  .brand-logo {
    width: 132px;
    max-width: 42vw;
  }
  .brand-page-name {
    padding-left: 10px;
    font-size: .64rem;
  }
  .hero-inner { padding: 48px 16px 62px; }
  .hero h1 {
    font-size: clamp(1.9rem, 8.3vw, 2.15rem);
    line-height: 1.24;
    letter-spacing: -.025em;
  }
  .hero h1 span {
    white-space: nowrap;
  }
  .hero-job { padding: 18px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .consult-box { padding: 20px; }
  .hero-visual { min-height: 250px; }
  .section { padding: 78px 0; }
  .section-number { font-size: 2.5rem; }
  .section h2,
  .final-cta h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    line-height: 1.38;
    text-wrap: balance;
  }
  .company-data div,
  .condition-list div,
  .contact-data div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 13px 0;
  }
  .company-data dt,
  .condition-list dt,
  .contact-data dt { font-size: .76rem; }
  .work-grid,
  .other-grid,
  .fit-grid,
  .two-column { grid-template-columns: 1fr; }
  .step-up-box { padding: 24px 20px; }
  .check-list { grid-template-columns: 1fr; }
  .service-card,
  .service-card.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .service-card.reverse .service-visual,
  .service-card.reverse .service-content { order: initial; }
  .service-visual { min-height: 250px; }
  .training-list > div {
    grid-template-columns: 56px 1fr;
    gap: 10px 14px;
  }
  .training-list > div p {
    grid-column: 2;
  }
  .condition-block { padding: 24px 20px; }
  .salary-main { display: block; }
  .salary-main span { display: block; margin-bottom: 6px; }
  .salary-main strong { font-size: 2.75rem; }
  .pdf-box {
    align-items: stretch;
    flex-direction: column;
  }
  .flow-list li {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }
  .flow-list span {
    width: 52px;
    height: 52px;
  }
  .flow-list li:not(:last-child)::before {
    left: 25px;
    top: 50px;
  }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: block;
    background: var(--yellow);
    box-shadow: 0 -8px 28px rgba(0,0,0,.16);
  }
  .mobile-cta a {
    min-height: 68px;
    padding: 9px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #162017;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
  }
  .mobile-cta span {
    font-size: .7rem;
    font-weight: 700;
  }
}


/* Version 2: corporate notation and mobile wrapping */
.hero-lead strong,
.company-data dd,
.condition-list dd,
.contact-data dd,
.footer-company-name {
  overflow-wrap: anywhere;
}

@media (max-width: 390px) {
  .brand-page-name {
    display: none;
  }

  .hero h1 {
    font-size: 1.82rem;
  }
}


/* =========================================================
   Version 3 adjustments
   ========================================================= */

/* Logo fallback */
.brand-logo-fallback,
.footer-logo-fallback {
  display: none;
  align-items: center;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
}

.footer-logo-fallback {
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* Standard button colors */
.button,
.button-primary,
.button-secondary,
.button-yellow,
.button-outline-light {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.button:hover,
.button:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.button-yellow:hover,
.button-yellow:focus-visible,
.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: var(--yellow);
  color: #172016;
  border-color: var(--yellow);
}

/* Keep the existing movement on hover */
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 59, 38, .16);
}

/* Larger first-view message on mobile */
@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.2rem, 9.6vw, 2.55rem);
    line-height: 1.22;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.28rem;
    line-height: 1.22;
  }

  .brand-logo-fallback {
    font-size: 1.1rem;
  }
}


/* Version 5 */
.hero h1 {
  color: var(--green);
}


/* =========================================================
   Version 6: actual workplace photography
   ========================================================= */
figure {
  margin: 0;
}

.media-frame {
  overflow: hidden;
  background: #eaf2ed;
  border: 0;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* First view */
.hero-visual {
  min-height: 560px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-visual img {
  object-position: 50% 48%;
}

/* Job cards */
.work-card-media {
  min-height: 190px;
  border-radius: 0;
}
.work-card-media img {
  object-position: center;
}
.work-card:nth-child(1) .work-card-media img {
  object-position: 50% 42%;
}
.work-card:nth-child(2) .work-card-media img {
  object-position: 58% 45%;
}
.work-card:nth-child(3) .work-card-media img {
  object-position: 45% 50%;
}
.work-card:nth-child(4) .work-card-media img {
  object-position: 50% 52%;
}

/* Main business images */
.service-visual {
  min-height: 430px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-card:first-of-type .service-visual img {
  object-position: center;
}
.service-card.reverse .service-visual img {
  object-position: 50% 48%;
}

@media (max-width: 960px) {
  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .hero-visual {
    min-height: 440px;
    aspect-ratio: 4 / 5;
  }

  .hero-visual img {
    object-position: 50% 44%;
  }

  .work-card-media {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .service-visual {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .service-card.reverse .service-visual {
    aspect-ratio: 4 / 5;
  }
}


/* =========================================================
   Version 7: AGRIPICK logo and Fujinoya photo
   ========================================================= */
.other-media {
  min-height: 190px;
  overflow: hidden;
  border-radius: 14px;
}

.other-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.other-media-logo {
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
}

.other-media-logo img {
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

.other-media-photo {
  background: #111;
}

.other-media-photo img {
  object-fit: cover;
  object-position: 50% 58%;
}

@media (max-width: 720px) {
  .other-media {
    min-height: 210px;
  }

  .other-media-logo {
    padding: 38px 24px;
  }

  .other-media-logo img {
    max-height: 96px;
  }

  .other-media-photo {
    aspect-ratio: 4 / 3;
  }
}


/* =========================================================
   Version 8: service image overflow fix and repair photo
   ========================================================= */

/* Grid children must be allowed to shrink within the viewport. */
.service-card,
.service-card.reverse {
  width: 100%;
  max-width: 100%;
}

.service-card > *,
.service-card.reverse > * {
  min-width: 0;
  max-width: 100%;
}

.service-visual,
.service-content {
  width: 100%;
  max-width: 100%;
}

.service-visual {
  overflow: hidden;
}

.service-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

/* Repair photo framing */
.work-card:nth-child(3) .work-card-media img {
  object-position: 48% 52%;
}

@media (max-width: 720px) {
  .service-card,
  .service-card.reverse {
    overflow: hidden;
  }

  .service-visual {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
}
