/* =======================================================================

  Workstyle & Benefits Styles - 202609

======================================================================= */
.c-container { padding: 170px 0 0; }

@media only screen and (max-width: 899px) {
  .c-container { padding: 80px 0 0; }
}

@media only screen and (max-width: 768px) {
  .c-container { padding: calc(80 / 750 * 100vw) 0 0; }
}

/*
  Anchor Navi
======================================== */
.p-anchor-nav { margin: 0 0 100px; }
.p-anchor-nav ul {
  width: calc(780 / 1030 * 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  margin: auto;
  border-left: solid 1px #000000;
}
.p-anchor-nav ul li {
  width: 100%;
  height: 70px;
  font-size: 1.15rem;
  text-align: center;
  line-height: 1.5;
  letter-spacing: .075em;
  border-right: solid 1px #000000;
}
.p-anchor-nav ul li a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transition: background .4s;
  padding: 5px 0 0;
}
.p-anchor-nav ul li a:hover { background: #f0f3f5; }
.p-anchor-nav ul li a::after {
  content: "＞";
  position: absolute;
  bottom: -.65em;
  left: 50%;
  transform: translateX(-50%) rotate(90deg) scale(.5,1.0);
  display: inline-block;
}
.p-anchor-nav ul li a span {
  font-size: 1rem;
  letter-spacing: .08em;
  display: block;
}

@media print, screen and (min-width: 900px) {}

@media only screen and (max-width: 899px) {
  .p-anchor-nav { margin: 0 0 50px; }
  .p-anchor-nav ul li { font-size: 1rem; }
}

@media only screen and (max-width: 768px) {
  .p-anchor-nav { margin: 0 0 calc(70 / 750 * 100vw); }
  .p-anchor-nav ul {
    width: calc(628 / (750 - 60) * 100%);
    display: block;
    border-top: solid 1px #000000;
    border-left: none;
  }
  .p-anchor-nav ul li {
    height: auto;
    font-size: calc(20 / 750 * 100vw);
    border-bottom: solid 1px #000000;
    border-right: none;
  }
  .p-anchor-nav ul li a { padding: calc(25 / 750 * 100vw) 0; }
  .p-anchor-nav ul li a::after {
    bottom: initial;
    left: initial;
    right: calc(20 / 750 * 100vw);
    top: 50%;
    transform: translate(0, -50%) rotate(90deg) scale(.6,1.0);
  }
}

/*
  Workstyle System
======================================== */
.p-ws-system-unit {
  background-color: #eff3f6;
  padding: 150px 0;
}
.p-ws-system-unit:not(:first-of-type) { margin: 150px 0 0; }
.p-ws-system-unit h2 {
  font-size: 34px;
  font-size: calc(34 / 16 * 1rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  text-align: center;
}
.p-ws-system-unit h2 span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .08em;
  display: block;
}

@media print, screen and (min-width: 900px) {
  .p-ws-system-unit h2 {
    font-size: 42px;
    font-size: calc(42 / 16 * 1rem);
    margin: 0 0 calc(42 / 16 * 1rem);
  }
}

@media only screen and (max-width: 899px) {
  .p-ws-system-unit { padding: 75px 0; }
  .p-ws-system-unit:not(:first-of-type) { margin: 75px 0 0; }
  .p-ws-system-unit h2 span {
    font-size: calc(12 / 16 * 1rem);
    margin: 0 0 0 calc(12 / 16 * 1rem * 2);
  }
}

@media only screen and (max-width: 768px) {
  .p-ws-system-unit { padding: calc(130 / 750 * 100vw) 0; }
  .p-ws-system-unit:not(:first-of-type) { margin: calc(75 / 750 * 100vw) 0 0; }
  .p-ws-system-unit h2 { font-size: calc(40 / 750 * 100vw); }
  .p-ws-system-unit h2 span { font-size: calc(20 / 750 * 100vw); }
}

.p-ws-system-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: start center;
  justify-content: stretch;
  gap: 0 50px;
}
.p-ws-system {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.p-ws-system > div {
  width: 100%;
  text-align: center;
  background-color: #ffffff;
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
}
.p-ws-system > div figure figcaption {
  font-size: 18px;
  font-size: calc(18 / 16 * 1rem);
  font-weight: 500;
  letter-spacing: .1em;
  white-space: nowrap;
  color: #eb5404;
  margin: 2rem 0 0;
}
.p-ws-system p {
  font-size: 1rem;
  line-height: calc(29 / 16);
  margin: calc(20 / 16 * 1rem) 0 0;
  letter-spacing: .1em;
}

@media print, screen and (min-width: 900px) {}

@media only screen and (max-width: 899px) {
  .p-ws-system-container { gap: 0 calc(40 / 900 * 100vw); }
  .p-ws-system > div { aspect-ratio: 1 / 1; }
}

@media only screen and (max-width: 768px) {
  .p-ws-system-container { display: block; }
  .p-ws-system { width: calc(628 / (750 - 60) * 100%); }
  .p-ws-system:not(:last-of-type) { margin: 0 0 calc(calc(80 / 750 * 100vw)); }
  .p-ws-system > div { aspect-ratio: 628 / 400; }
  .p-ws-system > div figure figcaption {
    font-size: calc(28 / 750 * 100vw);
    margin: 1.25rem 0 0;
  }
  .p-ws-system > div figure img {
    width: auto;
    height: calc(170 / 750 * 100vw);
  }
  .p-ws-system p {
    font-size: calc(28 / 750 * 100vw);
    margin: calc(30 / 750 * 100vw) 0 0;
  }
}