:root {
  --ink: #2f3638;
  --sub: #697174;
  --muted: #9aa3a6;
  --line: #e8ecec;
  --soft: #f7f9f9;
  --white: #fff;
  --deep: #30383a;
  --deep-2: #20282a;
  --teal: #aebabc;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-frame {
  width: 100%;
  min-width: 320px;
  background: #fff;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 238, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 30px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-small {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #30383a;
  font-size: 11px;
  font-weight: 900;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.menu-button i {
  position: relative;
}

.menu-button i::before,
.menu-button i::after {
  position: absolute;
  left: 0;
}

.menu-button i::before {
  top: -5px;
}

.menu-button i::after {
  top: 5px;
}

.menu-panel {
  position: fixed;
  inset: 52px 0 auto;
  z-index: 35;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(47, 54, 56, 0.09);
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.menu-panel a {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.menu-panel a span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.hero {
  position: relative;
  height: 690px;
  background: linear-gradient(180deg, #f6f7f7, #fff);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.88) saturate(0.82) contrast(1.08);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.06) 42%, rgba(255,255,255,0.28) 100%),
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(174,186,188,0.1) 97px 98px);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.78) 88%);
  content: "";
}

.hero-structure-mark {
  position: absolute;
  z-index: 3;
  top: 126px;
  right: clamp(34px, 5vw, 88px);
  width: min(18vw, 220px);
  height: 360px;
  border-right: 4px solid rgba(47, 54, 56, 0.24);
  border-top: 1px solid rgba(47, 54, 56, 0.1);
  border-bottom: 1px solid rgba(47, 54, 56, 0.1);
  transform: skewX(-9deg);
  opacity: 1;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  top: 186px;
  left: 50%;
  width: min(720px, 70vw);
  transform: translateX(-50%);
  text-align: center;
}

.hero-copy p {
  margin: 0 0 16px;
  color: #6d7578;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1.15;
  font-weight: 900;
}

.hero-copy span {
  display: block;
  margin-top: 20px;
  color: #737b7e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 28px;
  color: #fff;
  background: var(--deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hero-contact::after {
  margin-left: 18px;
  content: "›";
}

.main-panels {
  position: relative;
  z-index: 5;
  margin-top: -118px;
}

.large-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 88px));
  min-height: 440px;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid rgba(174, 186, 188, 0.38);
  box-shadow: 0 24px 44px rgba(47, 54, 56, 0.08);
  isolation: isolate;
}

.large-panel:not(:first-child) {
  box-shadow: none;
}

.large-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.74), rgba(255,255,255,0.88)),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(174,186,188,0.2) 73px 74px);
  content: "";
}

.large-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.15) saturate(0.58) contrast(0.92);
}

.panel-copy {
  display: grid;
  justify-items: center;
  width: min(760px, 78%);
  text-align: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: #6f8588;
  font-size: 12px;
  font-weight: 900;
}

.panel-copy p:not(.section-kicker) {
  max-width: 880px;
  margin: 8px 0 28px;
  color: #4d5659;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 800;
}

.panel-lead {
  text-align: center;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 44px;
  padding: 0 26px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.button::after {
  margin-left: 18px;
  content: "›";
}

.button.dark {
  color: #fff;
  background: var(--deep);
}

.button.light {
  border: 1px solid #b6c6c8;
  background: #fff;
}

.button.outline-on-dark {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.interview-section,
.news-section,
.cm-section,
.recruit-section {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto;
}

.interview-section {
  padding: 122px 0 74px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2,
.news-section h2,
.cm-section h2,
.recruit-copy h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.section-head h2 span,
.news-section h2 span,
.cm-section h2 span,
.recruit-copy h2 span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.arrow-group {
  display: flex;
}

.arrow-group button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 21px;
}

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

.interview-card img {
  aspect-ratio: 1.56;
  object-fit: cover;
  filter: brightness(1.08) saturate(0.62);
}

.card-body {
  padding-top: 14px;
}

.card-body span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.card-body h3 {
  min-height: 72px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.wide-cta {
  width: min(980px, calc(100% - 88px));
  margin: 0 auto 118px;
  padding: 62px 32px;
  color: #fff;
  text-align: center;
  background: var(--deep);
}

.wide-cta p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.wide-cta h2 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.65;
}

.news-section {
  padding: 102px 0 116px;
  border-top: 1px solid var(--line);
}

.news-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.news-list li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 28px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: #92a0a2;
  font-size: 11px;
  font-weight: 900;
}

.news-list a {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.7;
}

.cm-section {
  padding: 102px 0 116px;
  border-top: 1px solid var(--line);
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-height: 220px;
  padding: 30px 20px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.process-step::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  width: 17px;
  height: 17px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-step:nth-child(6)::after {
  display: none;
}

.process-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.process-step p {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.process-step h3 {
  margin: 0;
  color: #4d5659;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 850;
}

.recruit-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: 92px 0 0;
  border-top: 1px solid var(--line);
}

.recruit-copy {
  padding: 0 72px 72px 0;
}

.recruit-copy p:not(.section-kicker) {
  margin: 30px 0;
  color: #5c6669;
  font-size: 15px;
  line-height: 2.1;
  font-weight: 650;
}

.recruit-copy .button {
  width: 178px;
}

.recruit-section > img {
  height: 360px;
  object-fit: cover;
  filter: brightness(1.12) saturate(0.58);
}

.site-footer {
  margin-top: 0;
  padding: 58px max(44px, calc((100vw - 1180px) / 2)) 42px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep-2);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.footer-brand p {
  margin: 8px 0 22px;
  font-size: 9px;
  font-weight: 900;
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.footer-sns a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 13px;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 750;
}

.site-footer small {
  display: block;
  margin-top: 42px;
  color: rgba(255,255,255,0.42);
  font-size: 10px;
}

.page-hero,
.business-detail,
.message,
.company-info,
.contact-section,
.page-photo,
.image-band {
  width: min(1120px, calc(100% - 88px));
  margin-inline: auto;
  padding: 90px 0;
}

.page-hero {
  background: linear-gradient(180deg, #f7f8f8, #fff);
}

.page-hero h1,
.message h2,
.company-info h2,
.business-detail h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.35;
}

.page-hero p:last-child,
.business-detail p,
.message-text p,
.company-info dd {
  color: var(--sub);
  font-size: 15px;
}

.page-photo img,
.image-band img,
.message-photo img {
  aspect-ratio: 1.65;
  object-fit: cover;
  filter: brightness(1.1) saturate(0.58);
}

.business-detail article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 44px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

#business,
#system {
  scroll-margin-top: 84px;
}

.business-detail article:last-child {
  border-bottom: 1px solid var(--line);
}

.business-detail span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.business-copy {
  max-width: 820px;
}

.business-copy h2 {
  margin: 0 0 18px;
}

.business-copy p {
  max-width: 760px;
  margin: 0;
  line-height: 2;
}

.business-copy p + p {
  margin-top: 12px;
}

.business-points {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.business-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
}

.business-points li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.message-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
}

.message-photo {
  margin: 0;
}

.signature {
  margin: 26px 0 0;
  font-weight: 900;
}

.company-info dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-info dl div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-info dt {
  font-weight: 900;
}

.company-info dd {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 12px;
  font-weight: 900;
}

.contact-form b {
  margin-left: 8px;
  color: var(--teal);
  font-size: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form input {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
}

.contact-form .button {
  border: 0;
  color: #fff;
  background: var(--deep);
}

.thanks {
  margin: 0;
  padding: 16px;
  border-left: 3px solid var(--teal);
  color: var(--sub);
  background: var(--soft);
}

@media (max-width: 1024px) {
  .site-header {
    height: 48px;
    padding: 0 10px 0 16px;
  }

  .header-nav {
    display: none;
  }

  .brand {
    margin-right: 0;
    font-size: 11px;
  }

  .brand-small {
    width: 19px;
    height: 19px;
  }

  .menu-button {
    justify-content: flex-end;
    width: 56px;
    margin-left: auto;
    padding: 0;
  }

  .menu-panel {
    inset: 48px 0 auto;
  }

  .menu-panel nav {
    grid-template-columns: 1fr;
    width: min(100%, 430px);
    padding: 18px 24px 24px;
  }

  .hero {
    height: 552px;
  }

  .hero-image {
    object-position: 30% top;
    filter: brightness(0.78) saturate(0.95) contrast(1.16);
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 45%, rgba(255,255,255,0.08) 100%),
      repeating-linear-gradient(90deg, transparent 0 72px, rgba(174,186,188,0.1) 73px 74px);
  }

  .hero::after {
    height: 150px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.42) 90%);
  }
}

@media (max-width: 760px) {

  .hero-structure-mark {
    display: none;
  }

  .hero-copy {
    top: 84px;
    width: min(82%, 330px);
  }

  .hero-copy p {
    font-size: 12px;
  }

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

  .hero-contact {
    min-width: 154px;
    min-height: 42px;
    margin-top: 24px;
    font-size: 11px;
  }

  .main-panels {
    margin-top: -112px;
  }

  .large-panel,
  .interview-section,
  .news-section,
  .cm-section,
  .recruit-section,
  .wide-cta {
    width: calc(100% - 28px);
  }

  .large-panel {
    min-height: 405px;
    margin-bottom: 10px;
  }

  .panel-copy {
    width: min(86%, 330px);
  }

  .panel-copy h2 {
    font-size: 34px;
  }

  .panel-copy p:not(.section-kicker) {
    font-size: 12px;
  }

  .panel-lead br {
    display: none;
  }

  .interview-section,
  .news-section,
  .cm-section {
    padding: 72px 0;
  }

  .section-head h2,
  .news-section h2,
  .cm-section h2,
  .recruit-copy h2 {
    font-size: 19px;
  }

  .interview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .interview-card:nth-child(3) {
    display: none;
  }

  .card-body h3 {
    min-height: 0;
    font-size: 11px;
  }

  .wide-cta {
    margin-bottom: 58px;
    padding: 45px 20px;
  }

  .wide-cta h2 {
    font-size: 17px;
  }

  .news-list li {
    display: block;
    padding: 17px 0;
  }

  .news-list a {
    margin-top: 5px;
    font-size: 10px;
  }

  .process-flow {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .process-step {
    min-height: 0;
    padding: 24px 22px 24px;
  }

  .process-step::after {
    top: auto;
    right: auto;
    bottom: -9px;
    left: 38px;
    transform: rotate(135deg);
  }

  .process-step:nth-child(3)::after {
    display: block;
  }

  .recruit-section {
    display: block;
    padding-top: 44px;
  }

  .recruit-copy {
    padding: 42px 0 52px;
  }

  .recruit-section > img {
    height: 210px;
  }

  .site-footer {
    padding: 44px 28px 34px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .page-hero,
  .business-detail,
  .message,
  .company-info,
  .contact-section,
  .page-photo,
  .image-band {
    width: calc(100% - 56px);
    padding: 70px 0;
  }

  .business-detail article,
  .message-layout,
  .company-info dl div {
    display: block;
  }

  .business-detail span {
    display: block;
    margin-bottom: 14px;
  }

  .business-copy h2 {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .business-copy p {
    font-size: 14px;
    line-height: 1.9;
  }
}
