.hero { position: relative; height: clamp(480px, 53vw, 830px); margin-top: calc(-1 * var(--header-height)); overflow: hidden; display: flex; align-items: center; }
.hero_copy { position: relative; z-index: 1; padding: var(--header-height) 0 0 clamp(22px, 5.55vw, 80px); width: 44%; }
.hero_copy h1 { font: 700 clamp(57px, 6.6vw, 95px)/1.16 var(--serif); letter-spacing: .028em; }
.hero_copy .hero_ja { margin-top: 25px; font: 600 clamp(15px, 1.8vw, 26px)/1.7 var(--mincho); }
.hero_copy .journey { font: 400 clamp(64px, 8.2vw, 118px)/.85 Corinthia, cursive; white-space: nowrap; color: #b59630; transform: rotate(-5deg); margin-left: clamp(12px, 8vw, 155px); }
.hero_photos { display: grid; position: absolute; inset: 0 -2% 0 41.5%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero_column { min-width: 0; }
.hero_column:first-child { margin-top: -37%; }
.hero_column:last-child { margin-top: -17%; }
.hero_group { display: flex; flex-direction: column; }
.hero_frame {
  aspect-ratio: 433 / 366;
  margin-bottom: calc(8px - 11.4%);
  clip-path: polygon(0 13.5%, 100% 0, 100% 86.5%, 0 100%);
}
.hero_frame img { width: 100%; height: 100%; object-fit: cover; }
body.on:not(.firefox) .hero_track.is-looping { animation: hero-photo-loop 32s linear infinite; }
body.on:not(.firefox) .hero_column:last-child .hero_track.is-looping {
  animation-duration: 38s;
  animation-direction: reverse;
}
@keyframes hero-photo-loop {
  to { transform: translateY(calc(-100% / 3)); }
}
@media (prefers-reduced-motion: reduce) {
  body.on:not(.firefox) .hero_track.is-looping { animation: none; }
}
.about_layout { max-width: 1020px; margin: auto; display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 45px; }
.about_copy { padding-top: clamp(0px, 4vw, 70px); }
.about_copy h3 span { display: inline-block; }
.top_business { padding-block: clamp(80px, 9vw, 130px); }
.top_news { padding-block: clamp(80px, 7.65vw, 110px); }
.top_business .section_intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 3.5vw, 50px);
}
.top_business .section_heading { margin-bottom: 0; }
.top_business .section_intro h3 { font-size: clamp(20px, 2vw, 26px); }
.top_business .section_intro p:not(.japanese_title) { font-size: 15px; font-weight: 400; line-height: 26px; }
.top_business .english_title, .top_news .english_title { font-size: clamp(46px, 4.5vw, 64px); font-weight: 500; }
.top_business .japanese_title, .top_news .japanese_title { font-size: clamp(15px, 1.4vw, 20px); letter-spacing: 2px; }

.business_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
.business_card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  align-items: start;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
body.on .business_card::before, body.on .news_row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 30px;
  border-top: 1px solid var(--ink);
}
.business_card > div { padding-top: clamp(8px, 1.4vw, 20px); }
.business_number { font: 400 18px/1.2 var(--mincho); letter-spacing: 2px; margin-bottom: 14px; }
.business_card .gold { color: #9a7d22; font-weight: 400; font-size: clamp(13px, 1.15vw, 16px); }
.business_card img { width: 100%; aspect-ratio: 240 / 170; border-radius: 4px; }
.business_card h3 { font: 400 clamp(18px, 2vw, 26px)/1.35 var(--mincho); }
body.on .business_card::before { transition: width .35s ease; }
.business_card h3 { transition: color .35s ease; }
.business_card img { transition: filter .35s ease; }
body.on .business_card:is(:hover, :focus-visible)::before { width: 62px; }
.business_card:is(:hover, :focus-visible) h3 { color: var(--gold); }
.business_card:is(:hover, :focus-visible) img { filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) {
  body.on .business_card::before,
  .business_card h3,
  .business_card img { transition: none; }
}
.top_business .right_link { margin-top: 0; }
.news_summary {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  grid-template-rows: min-content 1fr;
  grid-template-areas: "heading posts" "all posts";
  gap: 0 clamp(28px, 4.2vw, 60px);
  align-items: start;
}
.news_summary > div { grid-area: heading; }
.news_summary > .webgene-blog { grid-area: posts; min-width: 0; border-bottom: 1px solid var(--line); }
.news_summary > .more_btn { grid-area: all; justify-self: start; min-width: 203px; }
.news_row {
  display: block;
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(14px, 2.1vw, 30px) 0;
}
.news_row p { font: 400 16px/1.5 var(--mincho); }
.news_row .news_date { font: 600 clamp(14px, 1.3vw, 17px)/1.35 var(--serif); letter-spacing: 1.2px; color: var(--ink); margin-bottom: 4px; }

.top_recruit { min-height: 670px; padding-block: clamp(65px, 7vw, 100px); display: grid; place-items: center; overflow: hidden; background: #3a3a3a; }
.recruit_mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.recruit_mosaic { opacity: .55; mix-blend-mode: multiply; }
.recruit_mosaic img { position: absolute; opacity: .5; }
.recruit_mosaic img:nth-child(1) { left: 24.1%; top: 0; width: 23.5%; height: 45%; }
.recruit_mosaic img:nth-child(2) { left: 52.3%; top: 9%; width: 23.5%; height: 40%; }
.recruit_mosaic img:nth-child(3) { left: 56.2%; top: 60.1%; width: 18%; height: 35.4%; }
.recruit_mosaic img:nth-child(4) { left: 80.5%; top: 55.4%; width: 19.5%; height: 44.6%; }
.recruit_mosaic img:nth-child(5) { left: 0; top: 12.7%; width: 16.5%; height: 32.4%; }
.recruit_mosaic img:nth-child(6) { left: 24.1%; top: 59.4%; width: 23.5%; height: 40.6%; }
.recruit_copy { text-align: center; position: relative; z-index: 1; width: min(100%, 510px); }
.recruit_copy .section_heading { margin-bottom: clamp(28px, 3.05vw, 44px); }
.recruit_copy .english_title { font-size: clamp(56px, 6.12vw, 88px); }
.recruit_copy .japanese_title { display: block; margin-top: 5px; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: 2px; }
body.on .recruit_copy .japanese_title::before { content: none; }
.recruit_copy > p { font-size: 15px; font-weight: 400; line-height: clamp(28px, 2.45vw, 35px); margin-bottom: clamp(28px, 3.05vw, 44px); }
.recruit_photo { position: absolute; width: min(22%, 317px); aspect-ratio: 317 / 376; }
.recruit_left { bottom: 7.3%; left: 2.8%; }
.recruit_right { top: 8.5%; right: 2.1%; }
.company_layout { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: clamp(25px, 7vw, 125px); }
.company_layout > img { width: 100%; height: 100%; max-height: 590px; min-height: 350px; }
.company_info .info_row { padding: 16px 0; gap: 18px; }
.company_info .info_row p { font-weight: 400; }
@media (max-width: 900px) {
  .about_layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about_layout .section_heading { margin-bottom: 0; }
  .about_copy { padding-top: 0; }
  .hero {
    height: auto;
    min-height: clamp(470px, 82svh, 690px);
    justify-content: center;
    padding: calc(var(--header-height) + 24px) 20px 32px;
  }
  .hero_copy { width: min(100%, 540px); padding: clamp(18px, 4vw, 36px); background: rgb(255 255 255 / 78%); }
  .hero_copy h1 { font-size: clamp(40px, 10vw, 75px); }
  .hero_copy .journey { font-size: clamp(46px, 11vw, 76px); margin-left: 5%; }
  .hero_photos { inset: 0; gap: 4px; }
  .hero_column:first-child { margin-top: 0; }
  .hero_column:last-child { margin-top: -12%; }
  .hero_frame { margin-bottom: calc(5px - 11.4%); }
}
@media (max-width: 768px) {
  .company_layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .top_business .section_intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .business_grid { row-gap: clamp(28px, 5.5vw, 42px); }
    .business_card { grid-template-columns: minmax(0, 1fr); gap: 7px; padding-top: clamp(14px, 2.5vw, 18px); }
    .business_card img { grid-row: 1; }
    .business_card > div { padding-top: 0; }
    .business_card .business_number { margin-bottom: 5px; }
    .top_business .right_link { justify-content: center; margin-top: 28px; }
    .news_summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "heading all" "posts posts"; grid-template-rows: auto; gap: 12px; }
    .news_summary .more_btn { align-self: center; min-width: 0; }
    .top_recruit { min-height: 480px; }
    .recruit_mosaic { inset-inline: 50% auto; width: 1300px; transform: translateX(-50%); }
    .recruit_copy { width: min(100%, 480px); }
    .recruit_copy > p { font-size: 14px; }
    .recruit_photo { display: none; }
    .company_layout > img { height: auto; min-height: 0; aspect-ratio: 1.5; max-height: 340px; }
}
@media (max-width: 576px) {
    .recruit_copy > p { text-align: left; }
  .business_grid { grid-template-columns: minmax(0, 1fr); }
    .news_summary > .more_btn { padding: 10px 12px; }
    .news_summary .more_btn { gap: 10px; }
    .news_summary .more_btn p { font-size: 14px; }
    .news_summary .more_btn .button_arrow { width: 16px; }
    .news_row p:not(.news_date) { font-size: 14px; }
    .company_info .info_row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}
@media (max-width: 576px) {
  .business_card .gold { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero_photos {
    animation: hirano-photo-in 1.7s cubic-bezier(.22, 1, .36, 1) backwards;
  }
    .hero_copy > * {
      animation: hirano-fade-in .8s ease-out .16s backwards;
    }
    .hero_copy > h1 { animation-delay: .27s; }
    .hero_copy > .hero_ja { animation-delay: .39s; }
}
.news_row:is(:hover, :focus-visible) { background-color: #f4efe3; }
body.on .news_row:is(:hover, :focus-visible)::before {
  width: min(100%, 72px);
  border-color: #967a2c;
}
.news_row:is(:hover, :focus-visible) .news_date { color: #79601e; }
@media (prefers-reduced-motion: no-preference) {
  body.on .news_row::before { transition: width .35s ease, border-color .35s ease; }
}

.top_recruit { position: relative; color: #fff; isolation: isolate; }
.top_business, .top_news, .company, .contact_section { border-bottom: 1px solid var(--line); }
.about_copy h3 { font: 500 clamp(22px, 2.25vw, 34px)/1.65 var(--mincho); }
.about_copy p { line-height: 2.05; margin-top: 18px; }
