:root {
  --black: #171717;
  --white: #fff;
  --gray: #f2f2f0;
  --green: #245448;
  --silver: #c3c8c7;
  --line: #d8d9d6;
  --space: clamp(64px, 7vw, 112px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(27px, 2.65vw, 40px);
}
h3 {
  font-size: 23px;
}
p {
  overflow-wrap: anywhere;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #588c78;
  outline-offset: 5px;
}
.l_container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.l_section {
  padding-block: var(--space);
}
.l_header {
  position: relative;
  z-index: 20;
  min-height: 88px;
  padding: 16px clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.m_logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
}
.m_logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-top: 7px;
}
.l_nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}
.l_nav > a:not(.m_button) {
  position: relative;
  padding-block: 12px;
}
.l_nav > a:not(.m_button):after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
.l_nav > a:hover:after,
.l_nav > a:focus-visible:after {
  transform: scaleX(1);
}
.m_button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 58px;
  min-width: 240px;
  padding: 16px 28px;
  border: 1px solid var(--black);
  background: var(--black);
  color: white;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s;
}
.m_button:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--silver);
  z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.25s ease;
}
.m_button i {
  font-style: normal;
  font-size: 23px;
  line-height: 1;
  transition: transform 0.25s;
}
.m_button--small {
  min-width: 190px;
  min-height: 52px;
  padding: 12px 22px;
  font-size: 14px;
}
.m_button--silver {
  background: var(--silver);
  color: var(--black);
  border-color: var(--silver);
}
.m_button--silver:before {
  background: white;
}
.m_menu {
  display: none;
}
.l_hero {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 600px;
}
.l_hero-copy {
  padding: 90px 24px 85px max(24px, calc((100vw - 1200px) / 2));
  align-self: center;
}
.m_eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
}
.m_eyebrow:before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--green);
}
h1 {
  font-size: clamp(36px, 3.9vw, 62px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.l_hero-description {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 2;
}
.l_hero-image {
  overflow: hidden;
  min-width: 0;
}
.l_hero-image img {
  object-position: 52% 50%;
}
.l_news {
  display: flex;
  background: var(--gray);
  border-bottom: 1px solid var(--line);
  min-height: 64px;
}
.l_news-label {
  display: grid;
  place-items: center;
  background: var(--black);
  color: white;
  width: max(150px, calc((100vw - 1200px) / 2 + 100px));
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
}
.l_news a {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  flex: 1;
  font-size: 15px;
}
.l_news a span {
  font-size: 24px;
  margin-left: auto;
}
.l_news a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.l_intro {
  padding-block: 44px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 500;
}
.m_section-label {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}
.m_section-label:before {
  content: "";
  height: 3px;
  width: 28px;
  background: var(--green);
}
.m_section-label span {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 0.07em;
}
.m_lead {
  margin-top: 22px;
  max-width: 700px;
}
.l_work-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 7%;
  margin-top: 70px;
}
.m_work {
  display: grid;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
}
.m_work .m_photo {
  align-self: end;
}
.m_work .m_photo {
  aspect-ratio: 1.45;
}
.m_work--small {
  transform: none;
}
.m_work--small .m_photo {
  aspect-ratio: 1.35;
}
.m_work h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
.m_work p {
  max-width: 36em;
}
.m_photo {
  overflow: hidden;
  background: #e5e5e2;
}
.l_about {
  background: var(--gray);
}
.m_signature {
  font-size: 14px;
  margin-top: 22px;
}
.l_details {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8%;
}
.l_details .m_lead {
  max-width: 28em;
}
.m_text-link {
  display: inline-flex;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--black);
  padding-bottom: 8px;
  margin-top: 30px;
}
.m_text-link span {
  transition: transform 0.2s;
}
.m_text-link:hover span {
  transform: translateX(4px);
}
.m_table {
  margin: 0;
  font-size: 15px;
  min-width: 0;
}
.m_table > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 17px 4px;
  border-top: 1px solid var(--line);
}
.m_table > div:last-child {
  border-bottom: 1px solid var(--line);
}
.m_table dt {
  font-weight: 600;
}
.m_table dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.u_pending {
  color: #666;
}
.l_contact {
  background: var(--black);
  color: white;
  padding-block: 62px;
}
.l_contact-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}
.l_contact .m_section-label {
  margin-bottom: 20px;
}
.l_contact .m_section-label span {
  color: var(--silver);
}
.l_contact .m_section-label:before {
  background: var(--silver);
}
.l_contact h2 {
  margin-bottom: 20px;
}
.l_contact p {
  font-size: 15px;
}
.l_contact .m_contact-note {
  margin-top: 12px;
  font-size: 14px;
  color: #cacaca;
}
.l_contact .m_button {
  flex-shrink: 0;
}
.l_footer {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-block: 34px;
}
.l_footer p {
  font-size: 12px;
  color: #666;
  margin-left: auto;
  line-height: 1.9;
}
.m_top {
  font-size: 24px;
  padding: 10px;
}
.m_dialog {
  border: 0;
  padding: 48px;
  width: min(560px, calc(100% - 40px));
  max-height: 85dvh;
  color: var(--black);
}
.m_dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(3px);
}
.m_dialog h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.m_dialog p {
  margin-bottom: 20px;
}
.m_dialog .m_button {
  margin-top: 8px;
}
.m_dialog-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: 0;
  font-size: 32px;
  width: 44px;
  height: 44px;
}
.u_sp {
  display: none;
}
.u_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.u_skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.u_skip:focus {
  top: 12px;
}
.m_reveal {
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.m_reveal[data-hidden] {
  opacity: 0;
  transform: translateY(14px);
}
@media (hover: hover) {
  .m_button:hover {
    color: var(--black);
  }
  .m_button:hover:before {
    transform: translateX(0);
  }
  .m_button:hover i {
    transform: translateX(4px);
  }
}
@media (max-width: 1050px) {
  .l_nav {
    gap: 18px;
  }
  .l_header {
    padding-inline: 24px;
  }
  .l_nav .m_button {
    min-width: auto;
    gap: 18px;
  }
  .l_hero {
    min-height: 520px;
  }
  .l_hero-copy {
    padding-block: 60px;
  }
  .l_details {
    gap: 5%;
  }
  .m_table > div {
    grid-template-columns: 105px 1fr;
    gap: 12px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 24px;
  }
  .l_container {
    width: calc(100% - 40px);
  }
  .l_header {
    min-height: 72px;
    padding: 18px 20px;
  }
  .m_logo {
    font-size: 25px;
  }
  .m_logo span {
    font-size: 9px;
  }
  .m_menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: 0;
    padding: 10px;
    width: 44px;
    height: 44px;
  }
  .m_menu > span:not(.u_sr) {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s;
  }
  .m_menu[aria-expanded="true"] > span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .m_menu[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .l_nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 25px #0001;
  }
  .l_nav[data-open] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .l_nav > a:not(.m_button) {
    padding: 12px;
  }
  .l_hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .l_hero-image {
    order: -1;
    height: clamp(240px, 66vw, 430px);
  }
  .l_hero-image img {
    object-position: 55% 40%;
  }
  .l_hero-copy {
    padding: 28px 20px 36px;
  }
  .m_eyebrow {
    font-size: 13px;
    margin-bottom: 16px;
    gap: 12px;
  }
  h1 {
    font-size: clamp(31px, 7.8vw, 54px);
    line-height: 1.45;
  }
  .l_hero-description {
    margin: 20px 0 0;
  }
  .l_hero .m_button {
    width: 100%;
    min-width: 0;
  }
  .l_news {
    min-height: 58px;
  }
  .l_news-label {
    width: 88px;
    font-size: 13px;
  }
  .l_news a {
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.6;
    gap: 12px;
  }
  .l_news a span {
    font-size: 20px;
  }
  .l_intro {
    text-align: left;
    padding-block: 32px;
    font-size: 16px;
  }
  .l_intro br {
    display: none;
  }
  .m_section-label {
    gap: 14px;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .m_section-label span {
    font-size: 13px;
  }
  .m_lead {
    margin-top: 20px;
  }
  .l_work-grid {
    display: block;
    margin-top: 30px;
  }
  .m_work {
    display: flex;
    flex-direction: column;
  }
  .m_work h3 {
    order: -1;
    margin: 0 0 14px;
    font-size: 21px;
  }
  .m_work p {
    margin-top: 14px;
  }
  .m_work--small {
    margin-top: 38px;
    transform: none;
  }
  .m_work .m_photo {
    aspect-ratio: 1.45;
  }
  .m_work--small .m_photo {
    aspect-ratio: 1.7;
  }
  .l_details {
    display: block;
    grid-template-columns: none;
  }
  .l_details > div,
  .l_details > .m_table {
    width: 100%;
    min-width: 0;
  }
  .l_details .m_table {
    margin-top: 34px;
  }
  .m_table {
    font-size: 16px;
  }
  .m_table > div {
    display: block;
    padding: 17px 0;
  }
  .m_table dt {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .m_table dd {
    line-height: 1.9;
  }
  .l_contact {
    padding-block: 44px;
  }
  .l_contact-inner {
    display: block;
  }
  .l_contact .m_button {
    width: 100%;
    margin-top: 28px;
    min-width: 0;
  }
  .l_footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-block: 28px;
  }
  .l_footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .m_top {
    margin-left: auto;
    padding: 0 12px;
  }
  .u_pc {
    display: none;
  }
  .u_sp {
    display: block;
  }
  .m_dialog {
    padding: 40px 24px 28px;
  }
  .m_dialog h2 {
    font-size: 23px;
  }
  .m_dialog .m_button {
    width: 100%;
    min-width: 0;
  }
}

/* Company story: the company leads; the employee voice bridges to recruitment. */
.l_about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8%;
  align-items: start;
}
.l_about-intro p + p,
.l_principle-body p + p,
.l_about-message p + p {
  margin-top: 16px;
}
.l_about-principle {
  margin-top: 56px;
  padding-block: 40px;
  border-block: 1px solid var(--line);
}
.m_minor-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.8;
}
.l_about-principle h3 {
  font-size: clamp(27px, 3.1vw, 44px);
  margin: 18px 0 24px;
}
.l_principle-body {
  max-width: 760px;
}
.l_about-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8%;
  margin-top: 40px;
}
.l_about-message,
.l_about-company {
  min-width: 0;
}
.l_about-message > .m_minor-label,
.l_about-company > .m_minor-label {
  margin-bottom: 20px;
}
.l_about-message h4 {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.l_voice {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.l_voice-photo {
  aspect-ratio: 4/5;
}
.l_voice-photo img {
  object-position: center 28%;
}
.m_voice-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}
.l_voice h3 {
  font-size: 26px;
  margin-bottom: 18px;
}
.l_voice-body {
  max-width: 760px;
}
.l_voice-body p + p {
  margin-top: 12px;
}
.m_button--green {
  background: var(--green);
  border-color: var(--green);
}
.m_visit {
  margin-top: 30px;
  min-width: 0;
  font-size: 14px;
}
.m_eyebrow:before,
.m_section-label:before {
  width: 32px;
  height: 3px;
  flex-shrink: 0;
}
@media (min-width: 761px) {
  .l_header {
    padding-right: 0;
  }
  .l_details > .m_table {
    margin-top: 72px;
  }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .l_about-intro,
  .l_about-summary {
    gap: 5%;
  }
  .l_voice {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .l_about-intro,
  .l_about-summary {
    display: block;
  }
  .l_about-summary {
    margin-top: 30px;
  }
  .l_about-message {
    margin-top: 0;
  }
  .l_about-intro > div {
    margin-top: 22px;
  }
  .l_about-principle {
    margin-top: 32px;
    padding-block: 28px;
  }
  .l_about-principle h3 {
    font-size: clamp(26px, 6.6vw, 36px);
    line-height: 1.55;
    margin-top: 16px;
  }
  .l_about-company {
    margin-top: 30px;
    border-top: 1px solid var(--line);
  }
  .l_about-message h4 {
    font-size: 22px;
    margin-top: 18px;
  }
  .l_about-company {
    padding-top: 26px;
  }
  .l_about-company .m_table {
    margin-top: 20px;
  }
  .l_voice {
    display: block;
    margin-top: 32px;
    padding-top: 28px;
  }
  .l_voice-photo {
    width: 140px;
    aspect-ratio: 4/5;
    margin-bottom: 20px;
  }
  .l_voice h3 {
    font-size: 23px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .m_visit {
    max-width: 100%;
    gap: 24px;
    padding-inline: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none;
    animation: none;
  }
  .m_reveal[data-hidden] {
    opacity: 1;
    transform: none;
  }
}
