/* recruit site A: ink pictures, the heavy gothic (Dela Gothic One) and red */
:root { --kp-main: #141414; --kp-deep: #141414; --kp-soft: #e9e9e7; --kp-ink: #141414; --kp-cta: #d0141c; --kp-cta-deep: #a80f16; }
.t-saiyo-a { color: #1d1d1d; }

/* the kit's parts in the heavy gothic */
.t-saiyo-a .kp-logo .lg { font-family: var(--heavy); font-weight: 400; letter-spacing: .06em; }
.t-saiyo-a .kp-logo img { filter: grayscale(1) contrast(1.4); }
/* header types without a band: the logo sits on a paper pill so it reads on the ink picture (as on the ② page) */
html[data-hd="a"] body.t-saiyo-a .kp-hd__logo, html[data-hd="e"] body.t-saiyo-a .kp-hd__logo { height: 60px; padding: 0 22px 0 10px; border-radius: 999px; background: rgba(236, 236, 233, .94); }
@media (max-width: 1079px) { html[data-hd="a"] body.t-saiyo-a .kp-hd__logo, html[data-hd="e"] body.t-saiyo-a .kp-hd__logo { height: 52px; padding: 0 16px 0 8px; } }
@media (max-width: 374px) { html[data-hd="a"] body.t-saiyo-a .kp-hd__logo, html[data-hd="e"] body.t-saiyo-a .kp-hd__logo { height: 46px; padding: 0 12px 0 6px; } }
.t-saiyo-a .kp-hd__cta, .t-saiyo-a .kp-band__ttl, .t-saiyo-a .kp-ct__ttl { font-family: var(--heavy); font-weight: 400; letter-spacing: .08em; }
/* small labels: the heavy gothic fills in at this size, so the bold gothic is used */
.t-saiyo-a .kp-btn__t, .t-saiyo-a .kp-bar__i { font-family: var(--jp); font-weight: 900; letter-spacing: .1em; }
.t-saiyo-a .kp-band__en, .t-saiyo-a .kp-ct__en { font-family: var(--heavy); font-weight: 400; }
.t-saiyo-a .kp-menu__t { font-family: var(--jp); font-weight: 900; letter-spacing: .08em; }

/* section heads */
.t-saiyo-a .sh__en { color: #555; font: 700 13px/1 var(--en); letter-spacing: .4em; }
.t-saiyo-a .sh__ja { margin-top: 16px; color: var(--sumi); font: 400 clamp(34px, 3.6vw, 52px)/1.3 var(--heavy); letter-spacing: .02em; }
.t-saiyo-a .sh--light .sh__en { color: rgba(255, 255, 255, .6); }
.t-saiyo-a .sh--light .sh__ja { color: #fff; }

/* message (the concept of the ② page) */
.cp__txt { text-align: justify; }

/* jobs: black-and-white photos on the ink */
.ra-jb { position: relative; padding: clamp(96px, 10vw, 150px) var(--gut); background: var(--sumi); color: #fff; }
.ra-jb__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1240px; margin: clamp(48px, 5vw, 64px) auto 0; }
.ra-jb__card { position: relative; display: flex; flex-direction: column; height: 100%; background: #222; }
.ra-jb__im { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.ra-jb__im img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: transform .9s ease; }
.ra-jb__card:hover .ra-jb__im img { transform: scale(1.04); }
.ra-jb__no { position: absolute; left: 0; top: 0; padding: 8px 12px 9px; background: var(--shu); color: #fff; font: 400 20px/1 var(--heavy); letter-spacing: .04em; }
.ra-jb__tx { display: grid; align-content: start; gap: 10px; padding: 22px 20px 58px; }
.ra-jb__t { font: 400 20px/1.4 var(--heavy); letter-spacing: .04em; word-break: auto-phrase; }
.ra-jb__d { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.85; text-align: justify; }
.ra-jb__card > .kp-arw { position: absolute; right: 18px; bottom: 20px; color: #fff; transition: transform .3s ease; }
.ra-jb__card:hover > .kp-arw { transform: translateX(4px); }

/* environment: stamp-like icons on paper, divided by rules */
.ra-ev { position: relative; padding: clamp(96px, 10vw, 150px) var(--gut); background: var(--paper); }
.ra-ev > * { position: relative; z-index: 3; }
.ra-ev__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: clamp(48px, 5vw, 64px) auto 0; border-top: 3px solid var(--sumi); border-bottom: 1px solid rgba(20, 20, 20, .25); }
.ra-ev__list li { display: grid; justify-items: center; align-content: start; padding: 36px clamp(18px, 2vw, 28px) 34px; text-align: center; }
.ra-ev__list li + li { border-left: 1px solid rgba(20, 20, 20, .25); }
.ra-ev__ic { display: block; width: 128px; height: 128px; }
.ra-ev__ic img { width: 100%; height: 100%; object-fit: contain; }
.ra-ev__t { margin-top: 18px; color: var(--sumi); font: 400 22px/1.3 var(--heavy); letter-spacing: .04em; }
.ra-ev__d { margin-top: 12px; color: #2a2a2a; font-size: 14.5px; line-height: 1.85; text-align: justify; }

/* one wide photo in black and white */
.ra-ph { position: relative; background: var(--sumi); }
.ra-ph__im img { width: 100%; height: clamp(300px, 40vw, 560px); object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.15); }
.ra-ph__cp { position: absolute; z-index: 3; left: var(--gut); bottom: 0; padding: 12px 18px; background: var(--sumi); color: #fff; font: 700 12px/1 var(--en); letter-spacing: .3em; }

/* FAQ */
.ra-fq { padding: clamp(96px, 10vw, 150px) var(--gut); background: #f2f2f0; }
.ra-fq__list { max-width: 880px; margin: clamp(44px, 4.4vw, 60px) auto 0; border-top: 3px solid var(--sumi); }
.ra-fq__i { border-bottom: 1px solid rgba(20, 20, 20, .25); }
.ra-fq__i summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 22px 4px; }
.ra-fq__q { color: var(--shu); font: 400 30px/1 var(--heavy); }
.ra-fq__qt { color: var(--sumi); font-size: 17px; font-weight: 900; line-height: 1.6; letter-spacing: .04em; }
.ra-fq__pm { position: relative; width: 18px; height: 18px; color: var(--sumi); }
.ra-fq__pm::before, .ra-fq__pm::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform .3s ease; }
.ra-fq__pm::after { transform: rotate(90deg); }
.ra-fq__i[open] .ra-fq__pm::after { transform: rotate(0); }
.ra-fq__a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 0 4px 26px; }
.ra-fq__al { color: var(--sumi); font: 400 30px/1 var(--heavy); }
.ra-fq__a p { padding-top: 4px; font-size: 15.5px; line-height: 1.9; text-align: justify; }

@media (max-width: 1100px) {
  .ra-jb__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .ra-ev__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .ra-ev__list li:nth-child(3) { border-left: 0; }
  .ra-ev__list li:nth-child(n + 3) { border-top: 1px solid rgba(20, 20, 20, .25); }
}
@media (max-width: 640px) {
  .t-saiyo-a .sh__ja { font-size: clamp(30px, 9vw, 38px); }
  .ra-jb { padding: 76px 20px 88px; }
  .ra-jb__list { grid-template-columns: 1fr; gap: 14px; }
  .ra-jb__card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .ra-jb__im { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .ra-jb__no { padding: 6px 9px 7px; font-size: 15px; }
  .ra-jb__tx { gap: 6px; padding: 16px 16px 40px; }
  .ra-jb__t { font: 900 16.5px/1.45 var(--jp); letter-spacing: .06em; }
  .ra-ev__t { font: 900 18px/1.4 var(--jp); letter-spacing: .06em; }
  .t-saiyo-a .kp-band__ttl { font-size: 24px; line-height: 1.5; }
  .ra-jb__d { font-size: 13px; line-height: 1.75; }
  .ra-jb__card > .kp-arw { right: 14px; bottom: 14px; width: 16px; height: 16px; }
  .ra-ev { padding: 76px 20px 88px; }
  .ra-ev__list { grid-template-columns: 1fr; }
  .ra-ev__list li { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: start; gap: 0 18px; padding: 22px 0; text-align: left; }
  .ra-ev__list li + li { border-left: 0; border-top: 1px solid rgba(20, 20, 20, .25); }
  .ra-ev__ic { grid-row: 1 / span 2; width: 84px; height: 84px; }
  .ra-ev__t { margin-top: 4px; }
  .ra-ev__d { margin-top: 8px; font-size: 13.5px; line-height: 1.8; }
  .ra-ph__cp { padding: 10px 14px; font-size: 10.5px; }
  .ra-fq { padding: 76px 20px 88px; }
  .ra-fq__i summary { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 12px; padding: 18px 0; }
  .ra-fq__q, .ra-fq__al { font-size: 24px; }
  .ra-fq__qt { font-size: 15.5px; }
  .ra-fq__pm, .ra-fq__pm::before, .ra-fq__pm::after { width: 16px; }
  .ra-fq__a { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 0 0 22px; }
  .ra-fq__a p { font-size: 14.5px; }
}
