/* company site A: the ground line (GL) and the strata under it, navy earth and orange */
:root { --kp-main: #1f63c6; --kp-deep: #0d2a5e; --kp-soft: #eef3fa; }
.t-a .sec--soft { background: var(--soft); }

/* section heads: ▼ marker like the GL label of the MV */
.t-a .sh__en { display: flex; align-items: center; gap: 10px; color: var(--blue); font: 700 14px/1 var(--en); letter-spacing: .2em; }
.t-a .sh__en::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid currentColor; }
.t-a .sh__ja { margin-top: 16px; color: var(--navy); font: 900 clamp(26px, 2.6vw, 36px)/1.5 var(--jp); letter-spacing: .06em; }
.t-a .sh__lead { color: #3a4456; }
.t-a .sh--light .sh__en { color: rgba(255, 255, 255, .8); }
.t-a .sh--light .sh__ja { color: #fff; }
.t-a .sh--light .sh__lead { color: rgba(255, 255, 255, .86); }

/* about (from the ② page): button under the text */
.ab__more { margin-top: 36px; }
.ab__ph img { aspect-ratio: 4 / 3; }

/* service: photo, the ground line, then the text */
.ta-sv__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1240px; margin: clamp(48px, 5vw, 64px) auto 0; }
.ta-sv__card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 4px; overflow: hidden; background: #fff; }
.ta-sv__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ta-sv__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.ta-sv__card:hover .ta-sv__ph img { transform: scale(1.04); }
.ta-sv__gl { position: relative; display: block; height: 2px; background: var(--navy); }
.ta-sv__gl::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 6px; background: repeating-linear-gradient(90deg, rgba(13, 42, 94, .35) 0 1px, transparent 1px 22px); }
.ta-sv__gl::after { content: ""; position: absolute; left: 22px; bottom: 4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--orange); }
.ta-sv__tx { display: grid; align-content: start; gap: 10px; padding: 26px 24px 64px; }
.ta-sv__no { display: flex; align-items: baseline; gap: 10px; color: var(--navy); font: 700 26px/1 var(--en); letter-spacing: .04em; }
.ta-sv__no i { color: var(--blue); font-size: 12px; font-style: normal; letter-spacing: .2em; }
.ta-sv__t { color: var(--navy); font: 900 18px/1.55 var(--jp); letter-spacing: .04em; word-break: auto-phrase; }
.ta-sv__d { color: #3a4456; font-size: 14.5px; line-height: 1.85; text-align: justify; }
.ta-sv__card > .kp-arw { position: absolute; right: 22px; bottom: 24px; color: var(--orange); transition: transform .3s ease; }
.ta-sv__card:hover > .kp-arw { transform: translateX(4px); }

/* strength: on the navy earth with strata */
.ta-st { position: relative; overflow: hidden; padding: clamp(88px, 9vw, 136px) var(--gut); background: linear-gradient(180deg, var(--earth1, #14336a) 0%, #0b1d41 58%, #07142f 100%); color: #fff; }
.ta-st__strata { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ta-st > *:not(svg) { position: relative; }
.ta-st__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1180px; margin: clamp(48px, 5vw, 64px) auto 0; }
.ta-st__list li { display: grid; justify-items: center; align-content: start; padding: 0 clamp(18px, 2vw, 30px); text-align: center; }
.ta-st__list li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.ta-st__ic { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: #fff; overflow: hidden; }
.ta-st__ic img { width: 76%; height: 76%; object-fit: contain; }
.ta-st__tx { display: grid; justify-items: center; }
.ta-st__en { margin-top: 22px; color: rgba(255, 255, 255, .7); font: 600 12px/1 var(--en); letter-spacing: .24em; }
.ta-st__t { margin-top: 10px; font: 900 23px/1.4 var(--jp); letter-spacing: .08em; }
.ta-st__d { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 14.5px; line-height: 1.85; text-align: justify; }
.ta-st__area { display: grid; justify-items: center; gap: 18px; max-width: 1180px; margin: clamp(48px, 5vw, 64px) auto 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .2); }
.ta-st__ah { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.7; letter-spacing: .06em; }
.ta-st__ah b { margin-right: 12px; color: #fff; font-weight: 900; }
.ta-st__ai { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; overflow: hidden; }
.ta-st__ai img { width: 78%; height: 78%; object-fit: contain; }
.ta-st .area li { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }

/* works: two photos and the work list */
.ta-wk__in { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1180px; margin: clamp(48px, 5vw, 64px) auto 0; }
.ta-wk__ph { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ta-wk__ph a { display: block; }
.ta-wk__im { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--soft); }
.ta-wk__im img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.ta-wk__ph a:hover img { transform: scale(1.04); }
.ta-wk__cap { display: grid; gap: 2px; padding: 14px 2px 0; }
.ta-wk__t { color: var(--navy); font-size: 17px; font-weight: 900; line-height: 1.5; letter-spacing: .04em; }
.ta-wk__k { color: var(--sub); font-size: 13px; letter-spacing: .08em; }
.ta-wk__lh { position: relative; padding-bottom: 14px; border-bottom: 2px solid var(--navy); color: var(--navy); font: 900 16px/1 var(--jp); letter-spacing: .1em; }
.ta-wk__lh::after { content: ""; position: absolute; right: 0; bottom: -11px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--orange); }
.t-a .wn__a { background: var(--soft); color: var(--navy); }

/* recruit: two large photo entrances on the deep earth */
.ta-rc { position: relative; overflow: hidden; padding: clamp(88px, 9vw, 136px) var(--gut); background: linear-gradient(180deg, #0d2a5e 0%, #0b1d41 100%); color: #fff; }
.ta-rc__jobs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.ta-rc__jobs li { padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 13.5px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; }
.ta-rc__gos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1180px; margin: clamp(40px, 4vw, 56px) auto 0; }
.ta-rc__go { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.ta-rc__go img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.ta-rc__go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 47, 0) 35%, rgba(7, 20, 47, .82) 100%); }
.ta-rc__go:hover img { transform: scale(1.04); }
.ta-rc__tx { position: absolute; z-index: 1; left: 28px; right: 100px; bottom: 26px; display: grid; gap: 4px; }
.ta-rc__en { font: 600 12px/1 var(--en); letter-spacing: .24em; opacity: .85; }
.ta-rc__tx b { font: 900 clamp(20px, 2vw, 26px)/1.4 var(--jp); letter-spacing: .06em; }
.ta-rc__tx small { font-size: 14px; letter-spacing: .06em; opacity: .9; }
.ta-rc__arw { position: absolute; z-index: 1; right: 24px; bottom: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); transition: transform .3s ease; }
.ta-rc__go:hover .ta-rc__arw { transform: translateX(4px); }

/* news: heading on the left, rows on the right */
.ta-nw__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "head list" "all list"; grid-template-rows: auto 1fr; gap: 0 clamp(40px, 5vw, 80px); max-width: 1180px; margin: 0 auto; }
.ta-nw__head { grid-area: head; }
.ta-nw__list { grid-area: list; }
.ta-nw__all { grid-area: all; align-self: start; margin-top: 36px; }
.ta-nw__all .kp-btn { min-width: 0; }
.t-a .nw__c { background: var(--navy); color: #fff; }

@media (max-width: 1100px) {
  .ta-sv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
  .ta-st__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 0; max-width: 760px; }
  .ta-st__list li:nth-child(3) { border-left: 0; }
  .ta-wk__in { grid-template-columns: 1fr; max-width: 820px; }
}
@media (max-width: 900px) {
  .ab__more { display: flex; justify-content: center; }
  .ta-rc__gos { grid-template-columns: 1fr; max-width: 640px; }
  .ta-nw__in { grid-template-columns: 1fr; grid-template-areas: "head" "list" "all"; }
  .ta-nw__head { display: grid; justify-items: center; margin-bottom: 36px; text-align: center; }
  .ta-nw__all { display: flex; justify-content: center; margin-top: 40px; }
}
@media (max-width: 640px) {
  .sec-ttl { font-size: clamp(19px, 5.6vw, 24px); }
  .t-a .sh__ja { font-size: clamp(23px, 6.6vw, 28px); }
  .ta-sv__list { grid-template-columns: 1fr; gap: 14px; }
  .ta-sv__card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .ta-sv__ph { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .ta-sv__gl { display: none; }
  .ta-sv__ph { border-right: 3px solid var(--navy); }
  .ta-sv__tx { gap: 6px; padding: 16px 16px 40px; }
  .ta-sv__no { font-size: 20px; }
  .ta-sv__no i { font-size: 10px; }
  .ta-sv__t { font-size: 15.5px; }
  .ta-sv__d { font-size: 13px; line-height: 1.75; }
  .ta-sv__card > .kp-arw { right: 14px; bottom: 14px; width: 16px; height: 16px; }
  .ta-st__list { grid-template-columns: 1fr; gap: 0; }
  .ta-st__list li { grid-template-columns: 76px minmax(0, 1fr); justify-items: start; gap: 0 18px; padding: 22px 0; text-align: left; }
  .ta-st__list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .ta-st__ic { width: 76px; height: 76px; }
  .ta-st__tx { justify-items: start; }
  .ta-st__en { margin-top: 2px; font-size: 11px; }
  .ta-st__t { margin-top: 6px; font-size: 19px; }
  .ta-st__d { margin-top: 8px; font-size: 13.5px; line-height: 1.8; }
  .ta-st__area { margin-top: 30px; padding-top: 28px; }
  .ta-st__ah { align-items: flex-start; font-size: 13.5px; }
  .ta-st__ah b { display: block; margin: 0 0 2px; font-size: 15px; }
  .ta-st__ai { width: 44px; height: 44px; }
  .ta-wk__ph { gap: 12px; }
  .ta-wk__cap { padding-top: 10px; }
  .ta-wk__t { font-size: 14.5px; }
  .ta-wk__k { font-size: 12px; }
  .ta-rc__jobs li { padding: 6px 12px; font-size: 12.5px; }
  .ta-rc__go { aspect-ratio: 16 / 10; }
  .ta-rc__tx { left: 18px; right: 76px; bottom: 18px; }
  .ta-rc__tx b { font-size: 18px; }
  .ta-rc__tx small { font-size: 12.5px; }
  .ta-rc__arw { right: 16px; bottom: 18px; width: 46px; height: 46px; }
}
