:root {
  --ink: #17332b;
  --green: #176f4c;
  --deep: #0b4f39;
  --lime: #bde45b;
  --pale: #eef7ec;
  --cream: #f8f7f0;
  --line: #cfddd4;
  --muted: #567067;
  --danger: #9f2d2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

#work, #facility, #culture, #jobs, #apply { scroll-margin-top: 88px; }
.facility, .culture, .dx, .jobs, .faq, .apply {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 4vw;
  border-bottom: 1px solid #e4ece6;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
}

.brand, .headerContact { display: flex; align-items: center; }
.brand { gap: 13px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.3; }
.brand b { font-size: 16px; }
.brand small { color: var(--green); font-size: 9px; letter-spacing: .2em; }
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--green); }

.headerContact { gap: 22px; }
.headerPhone { display: flex; flex-direction: column; align-items: flex-end; color: var(--deep); line-height: 1.25; }
.headerPhone small { color: var(--muted); font-size: 10px; font-weight: 700; }
.headerPhone strong { font-size: 17px; letter-spacing: .03em; }
.headerCta { padding: 13px 27px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 16px; font-weight: 700; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 680px;
  background: linear-gradient(135deg, #f5faef, #fff);
}
.heroCopy { align-self: center; padding: 80px 5vw 140px 7vw; }
.eyebrow, .sectionTitle > p, .dxLead > p {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 25px;
  font-size: clamp(36px, 4.15vw, 61px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--green); font-style: normal; }
.lead { max-width: 590px; color: #3d5a51; }
.directNote {
  max-width: 590px;
  margin: 22px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--green);
  background: var(--pale);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}
.directNote b { color: var(--deep); }
.directNote a { display: inline-block; margin-left: 6px; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.heroActions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 24px;
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.button.primary { background: var(--green); color: #fff; box-shadow: 0 10px 28px rgb(23 111 76 / 18%); }
.button.primary:hover { background: var(--deep); transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button span { font-size: 20px; }
.textLink { border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 700; }

.heroVisual { position: relative; overflow: hidden; }
.heroVisual img { object-fit: cover; object-position: 58% center; }
.photoNote {
  position: absolute;
  right: 7%;
  bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-5deg);
}
.photoNote b { font-size: 18px; }

.heroInfo {
  position: absolute;
  right: 5vw;
  bottom: 0;
  left: 7vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 23px 32px;
  background: #fff;
  box-shadow: 0 10px 35px rgb(13 61 45 / 12%);
}
.heroInfo p { display: flex; flex-direction: column; margin: 0; padding: 0 28px; border-right: 1px solid var(--line); }
.heroInfo p:first-child { padding-left: 0; }
.heroInfo p:last-child { border: 0; }
.heroInfo span { color: var(--green); font-size: 11px; font-weight: 800; }
.heroInfo b { font-size: 17px; }

.quickJobs { display: flex; align-items: center; gap: 40px; padding: 35px 7vw 38px; background: var(--deep); color: #fff; }
.quickJobs > p { flex: 0 0 auto; font-size: 12px; letter-spacing: .12em; }
.quickJobs > div { display: flex; flex: 1; gap: 9px; }
.quickJobs button {
  display: flex;
  flex: 1;
  justify-content: space-between;
  padding: 4px 12px;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 25%);
  background: transparent;
  color: #fff;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.section { padding: 110px 7vw; }
.sectionTitle h2, .dx h2, .apply h2, .flowHeading h2 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.35;
  letter-spacing: -.045em;
}
.intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10vw; }
.introBody .large { font-size: 22px; font-weight: 700; line-height: 1.8; }
.introBody p:not(.large), .flowHeading p, .reason p { color: var(--muted); }

.lead, .introBody p, .flowHeading p, .reason p, .dxLead > p:last-child,
.dxItems span, .jobContent p, .jobContent dd, .faqList p, .apply > div > p, .apply address {
  font-size: 18px;
  line-height: 1.95;
}

.routesTeaser { background: var(--cream); }
.routesTeaserBody { max-width: 900px; }
.routesTeaserLead { max-width: 640px; margin: 0 0 45px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.routeCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 35px; }
.routeCard { padding: 26px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.routeCard.highlight { border: 2px solid var(--green); background: var(--pale); }
.routeCardBadge { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; }
.routeCardTag { display: block; margin-bottom: 12px; color: var(--deep); font-size: 15px; font-weight: 800; }
.routeCard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.facility { background: #f4f8f2; }
.facilityHead { display: grid; grid-template-columns: 1fr 1.15fr; align-items: end; gap: 10vw; margin-bottom: 55px; }
.facilityHead > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.95; }
.facilityGallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 20px; }
.facilityGallery figure { min-width: 0; margin: 0; }
.facilityGallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 5px; object-fit: cover; }
.facilityGallery figcaption { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--green); font-size: 15px; font-weight: 700; line-height: 1.55; }

.dayFlow { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; margin: 0 3vw; padding: 80px 6vw; background: var(--pale); }
.flowHeading > span, .reasonTag { color: var(--green); font-size: 12px; font-weight: 800; }
.dayFlow ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.dayFlow li { display: grid; grid-template-columns: 90px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dayFlow li b { color: var(--green); }
.dayFlow li span { font-weight: 700; }

.culture { display: grid; grid-template-columns: 1fr 1.45fr; column-gap: 9vw; }
.culture .sectionTitle { grid-row: 1 / 4; }
.reason { display: grid; grid-template-columns: 80px 1fr; padding: 38px 0; border-top: 1px solid var(--line); }
.reason > span { color: #a4bfad; font-family: Georgia, serif; font-size: 38px; }
.reason h3 { margin: 8px 0 10px; font-size: 25px; }
.reason p { margin: 0; }
.reasonTag { color: var(--green) !important; }

.dx { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10vw; padding: 100px 7vw; background: var(--deep); color: #fff; }
.dxLead > p { color: var(--lime); }
.dxLead > p:last-child { max-width: 510px; color: #c9dcd4; }
.dxItems > div { display: grid; grid-template-columns: 55px 1fr; gap: 0 20px; padding: 24px 0; border-bottom: 1px solid rgb(255 255 255 / 20%); }
.dxItems b { grid-row: 1 / 3; color: var(--lime); font-family: Georgia, serif; font-size: 23px; }
.dxItems strong { font-size: 20px; }
.dxItems span { color: #c9dcd4; }

.jobs { background: var(--cream); }
.jobs > .sectionTitle { display: flex; align-items: end; justify-content: space-between; }
.jobs > .sectionTitle p { align-self: start; }
.jobPeriod { margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.jobPeriod span { display: inline-block; margin-right: 12px; padding: 3px 9px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; }
.mobileJobSelect { display: none; }
.jobSelector { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 55px; border-bottom: 1px solid #9eb2a6; }
.jobSelector button { padding: 18px 10px; border: 0; border-bottom: 4px solid transparent; background: none; color: #70877e; font-weight: 700; cursor: pointer; }
.jobSelector button span { display: block; font-family: Georgia, serif; font-weight: 400; }
.jobSelector button.active { border-color: var(--green); color: var(--deep); }
.jobDetail { display: grid; grid-template-columns: .7fr 1.3fr; margin-top: 40px; background: #fff; }
.jobHeading { padding: 50px; background: var(--pale); }
.jobHeading > span { padding: 6px 12px; background: var(--lime); font-size: 12px; font-weight: 700; }
.jobHeading h3 { margin: 25px 0; font-size: 30px; line-height: 1.4; }
.jobPay { color: var(--green); font-size: 22px; font-weight: 800; }
.jobContent { padding: 45px 55px; }
.jobContent h4 { color: var(--green); font-size: 13px; }
.jobContent dl { margin: 30px 0; }
.jobContent dl > div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.jobContent dt { font-size: 13px; font-weight: 800; }
.jobContent dd { margin: 0; }
.jobContent .button { width: 100%; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; }
.faqList { border-top: 1px solid var(--line); }
details { padding: 22px 0; border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary i { color: var(--green); font-style: normal; }
details[open] summary i { transform: rotate(45deg); }
details p { padding-right: 40px; color: var(--muted); }

.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding: 100px 7vw; background: var(--pale); }
.apply address { margin-top: 40px; padding-left: 20px; border-left: 3px solid var(--green); font-style: normal; }
.applyPhone { display: inline-flex; flex-direction: column; margin-top: 28px; padding: 16px 22px; border: 2px solid var(--green); border-radius: 5px; background: #fff; color: var(--deep); line-height: 1.35; }
.applyPhone span { font-size: 13px; font-weight: 700; }
.applyPhone strong { font-size: 27px; letter-spacing: .03em; }

.apply form { position: relative; padding: 45px; background: #fff; }
.apply label { display: block; margin-bottom: 20px; font-weight: 700; }
.apply label > span { float: right; padding: 1px 7px; background: var(--green); color: #fff; font-size: 10px; }
.apply input, .apply select, .apply textarea { display: block; width: 100%; margin-top: 7px; padding: 14px; border: 1px solid #b7c8be; border-radius: 3px; background: #fbfdfb; }
.apply textarea { resize: vertical; }
.apply input:focus, .apply select:focus, .apply textarea:focus { border-color: var(--green); outline: 2px solid rgb(23 111 76 / 18%); }
.apply form .button { width: 100%; margin-top: 8px; }
.apply form small { display: block; margin-top: 10px; color: #73887f; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.apply .consent { display: grid; grid-template-columns: 22px auto 1fr; align-items: start; gap: 8px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.apply .consent input { width: 18px; height: 18px; margin: 3px 0 0; }
.apply .consent span { float: none; align-self: start; padding: 1px 5px; }
.apply .consent b { font-weight: 500; }
.apply .consent a { color: #0b4f39; text-decoration: underline; text-underline-offset: 2px; }
.formStatus { min-height: 1.8em; margin: 12px 0 0; font-size: 14px; font-weight: 700; line-height: 1.7; }
.formStatus.success { color: var(--green); }
.formStatus.error { color: var(--danger); }

footer { display: flex; align-items: center; justify-content: space-between; padding: 50px 7vw 100px; background: #082f25; color: #fff; font-size: 12px; }
footer div { display: flex; flex-direction: column; }
footer b { font-size: 18px; }
footer p { font-size: 17px; line-height: 1.8; }
footer .footerLinks { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
footer .footerLinks a { color: #fff; }
.mobileBar { display: none; }

@media (min-width: 801px) and (max-width: 1400px) {
  .hero { min-height: clamp(550px, 47vw, 680px); }
  .heroCopy { padding-top: clamp(48px, 5.7vw, 80px); padding-bottom: clamp(105px, 10vw, 140px); }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .headerPhone { display: none; }
}

@media (max-width: 800px) {
  body { padding-bottom: 68px; font-size: 17px; }
  #work, #facility, #culture, #jobs, #apply { scroll-margin-top: 68px; }
  .header { height: 68px; padding: 0 18px; }
  .brand img { width: 41px; height: 41px; }
  .brand b { font-size: 13px; }
  .brand small { font-size: 7px; }
  .header nav, .headerContact { display: none; }

  .hero { display: flex; flex-direction: column; min-height: 0; }
  .heroCopy { order: 1; padding: 45px 22px 32px; }
  .hero h1 { margin: 12px 0 18px; font-size: 34px; line-height: 1.34; letter-spacing: -.035em; }
  .lead { font-size: 17px; }
  .directNote { margin-top: 18px; padding: 13px 15px; font-size: 14px; line-height: 1.75; }
  .directNote a { display: block; margin: 6px 0 0; }
  .heroActions { margin-top: 25px; }
  .heroActions .button { width: 100%; }
  .textLink { display: none; }
  .heroVisual { order: 2; height: clamp(250px, 57vw, 340px); }
  .heroVisual img { object-position: 65% center; }
  .photoNote { right: 15px; bottom: 15px; width: 105px; height: 105px; font-size: 11px; }
  .photoNote b { font-size: 14px; }
  .heroInfo { position: static; order: 3; display: block; padding: 10px 22px; }
  .heroInfo p { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .heroInfo p:last-child { border: 0; }

  .quickJobs { display: block; padding: 25px 22px; }
  .quickJobs > div { display: grid; grid-template-columns: 1fr 1fr; }
  .quickJobs button { padding: 10px; border-bottom: 1px solid rgb(255 255 255 / 15%); font-size: 12px; }
  .section { padding: 75px 22px; }
  .intro, .culture, .faq, .apply, .dx, .dayFlow { grid-template-columns: 1fr; gap: 35px; }
  .routesTeaserLead { margin-bottom: 30px; font-size: 17px; line-height: 1.9; }
  .routeCards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .sectionTitle h2, .dx h2, .apply h2, .flowHeading h2 { font-size: 34px; }
  .introBody .large { font-size: 18px; }
  .lead, .introBody p, .flowHeading p, .reason p, .dxLead > p:last-child,
  .dxItems span, .jobContent p, .jobContent dd, .faqList p, .apply > div > p, .apply address { font-size: 17px; line-height: 1.9; }

  .facilityHead { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; }
  .facilityHead > p { font-size: 17px; line-height: 1.9; }
  .facilityGallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .facilityGallery figcaption { padding-left: 8px; font-size: 14px; }
  .dayFlow { margin: 0; padding: 65px 22px; }
  .culture .sectionTitle { grid-row: auto; }
  .reason { grid-template-columns: 55px 1fr; }
  .reason h3 { font-size: 21px; }
  .dx { padding: 75px 22px; }
  .dxItems strong { font-size: 17px; }

  .jobs > .sectionTitle { display: block; }
  .jobPeriod { font-size: 15px; line-height: 1.7; }
  .jobPeriod span { display: block; width: max-content; margin: 0 0 7px; }
  .mobileJobSelect { display: block; margin: 32px 0 0; padding: 18px; border-left: 5px solid var(--green); background: #e4f2df; font-size: 17px; font-weight: 800; }
  .mobileJobSelect select { display: block; width: 100%; margin-top: 10px; padding: 15px 42px 15px 14px; border: 2px solid var(--green); border-radius: 5px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.4; }
  .mobileJobSelect span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.6; }
  .jobSelector { display: none; }
  .jobDetail { display: block; margin: 25px -6px 0; }
  .jobHeading { padding: 35px 26px; }
  .jobHeading h3 { font-size: 25px; }
  .jobContent { padding: 30px 25px; }
  .jobContent dl > div { display: block; }
  .jobContent dt { margin-bottom: 5px; color: var(--green); }
  .faqList { margin-top: 10px; }

  .apply { padding: 75px 22px; }
  .apply form { padding: 26px 20px; }
  .applyPhone { width: 100%; }
  .applyPhone strong { font-size: 25px; }
  footer { display: block; padding: 45px 22px 80px; }
  footer p { margin: 25px 0; font-size: 16px; }
  footer .footerLinks { align-items: flex-start; }

  .mobileBar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: .75fr .7fr 1fr;
    height: 68px;
    background: #fff;
    box-shadow: 0 -4px 18px rgb(0 0 0 / 12%);
  }
  .mobileBar a { display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
  .mobileBar a:nth-child(2) { border-right: 1px solid var(--line); border-left: 1px solid var(--line); color: var(--green); }
  .mobileBar a:last-child { background: var(--green); color: #fff; }
}

@media (max-width: 520px) {
  .facilityGallery { grid-template-columns: 1fr; gap: 28px; }
  .facilityGallery figcaption { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Static HTML image sizing (the source version used framework-managed images). */
.heroVisual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

@media (max-width: 800px) {
  .heroVisual > img { object-position: 65% center; }
}
