@charset "UTF-8";
/* ---------------------------------------

  our_business/01-05.html

--------------------------------------- */
#workstyle .wsNav {
  opacity: 0;
  -webkit-transform: translateY(8px);
          transform: translateY(8px);
  -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease, -webkit-transform 0.4s ease;
  pointer-events: none;
}

#workstyle .wsNav.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  pointer-events: auto;
}

/* アニメ共通 */
#workstyle .intro-ttl,
#workstyle .intro-img {
  -webkit-transition: top 0.6s ease, left 0.6s ease, right 0.6s ease, bottom 0.6s ease, opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: top 0.6s ease, left 0.6s ease, right 0.6s ease, bottom 0.6s ease, opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: transform 0.6s ease, top 0.6s ease, left 0.6s ease, right 0.6s ease, bottom 0.6s ease, opacity 0.6s ease;
  transition: transform 0.6s ease, top 0.6s ease, left 0.6s ease, right 0.6s ease, bottom 0.6s ease, opacity 0.6s ease, -webkit-transform 0.6s ease;
}

/* ▼ 初期（計測後）: 常に fixed。初期の top/left, bottom/right は CSS変数で注入 */
#workstyle.is-ready .intro-ttl {
  position: fixed;
  top: var(--ttl-top, 0px);
  left: var(--ttl-left, 0px);
  -webkit-transform-origin: top left;
          transform-origin: top left;
  -webkit-transform: scale(1);
          transform: scale(1);
  z-index: 1000;
}

#workstyle.is-ready .intro-img {
  position: fixed;
  bottom: var(--img-bottom, 0px);
  right: var(--img-right, 0px);
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
  -webkit-transform: scale(1);
          transform: scale(1);
  z-index: 1000;
  width: auto;
  max-width: none;
}

/* ▼ 縮小状態（往復ともスムーズ） */
#workstyle.is-ready.is-shrunk .intro-ttl {
  top: 30px;
  left: 30px;
  -webkit-transform: translateX(0) scale(0.24);
          transform: translateX(0) scale(0.24);
}

#workstyle.is-ready.is-shrunk .intro-img {
  bottom: 16px;
  left: 50%;
  -webkit-transform: translateX(-50%) scale(0.8);
          transform: translateX(-50%) scale(0.8);
}

#workstyle {
  overflow: auto;
}

#workstyle footer {
  position: relative;
  z-index: 88;
}

#workstyle .intro {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 11;
}

#workstyle .intro .leaf_bg {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: -70px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-image: url("../../img/workstyle/leaf_bg.png");
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: 11;
}

@media (max-width: 840px) {
  #workstyle .intro .leaf_bg {
    display: none;
  }
}

#workstyle .intro .ground_bg {
  width: 100vw;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-image: url("../../img/workstyle/ground_bg.png");
  background-size: 100%;
  background-position: center bottom;
  background-repeat: repeat-x;
}

@media (max-width: 840px) {
  #workstyle .intro .ground_bg {
    width: 250%;
  }
}

#workstyle .intro .intro-ttl {
  font-size: clamp(48px, 10vw, 170px);
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  line-height: 1;
  color: #afafaf;
}

@media (max-width: 840px) {
  #workstyle .intro .intro-ttl {
    top: 10%;
    z-index: 13;
  }
}

#workstyle .intro .intro-img {
  width: 90%;
  position: absolute;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media (max-width: 840px) {
  #workstyle .intro .intro-img {
    z-index: 12;
    width: 100%;
    bottom: 30px;
  }
}

#workstyle .ws-cover {
  padding-top: 100vh;
  position: relative;
  z-index: 11;
}

@media (max-width: 840px) {
  #workstyle .ws-cover {
    padding-top: 0;
  }
}

#workstyle .ws-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

#workstyle .ws-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  /* top, right, bottom, left 全て0 */
  background-image: url("../../img/workstyle/other_bg_top.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  z-index: 55;
  /* これで前後関係を制御できる */
}

@media (max-width: 840px) {
  #workstyle .ws-wrapper::before {
    background-image: url("../../img/workstyle/other_bg_top_sp.png");
    background: none;
  }
}

#workstyle .ws-inner {
  position: relative;
  margin: 0 auto;
}

#workstyle .wsNav {
  position: fixed;
  top: 15%;
  left: 30px;
  width: 270px;
  height: 93vh;
  z-index: 888;
}

@media (max-width: 840px) {
  #workstyle .wsNav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    opacity: 1;
    z-index: 777;
    /* 前面に */
    pointer-events: auto;
  }
}

#workstyle .wsNav .wsNav__list {
  padding: 0px;
}

@media (max-width: 840px) {
  #workstyle .wsNav .wsNav__list {
    position: absolute;
    top: 55%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 95%;
  }
}

#workstyle .wsNav .wsNav__item {
  margin-bottom: 25px;
}

@media (max-width: 840px) {
  #workstyle .wsNav .wsNav__item {
    margin-bottom: 20px;
  }
}

#workstyle .wsNav .wsNav__item:last-child {
  margin-bottom: 0;
}

#workstyle .wsNav .wsNav__link {
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 840px) {
  #workstyle .wsNav .wsNav__link {
    position: relative;
    color: #000;
    background-color: #fff;
    border-radius: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #333333;
    -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
    font-size: 20px;
    width: 70%;
    height: 60px;
    border-radius: 20px;
    -webkit-box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
            box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
    margin: 0 auto;
  }
  #workstyle .wsNav .wsNav__link::after {
    content: "";
    display: block;
    width: 15px;
    height: 9px;
    background-image: url("../../img/workstyle/arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 5%;
    -webkit-transform: translate(-3%, -50%);
            transform: translate(-3%, -50%);
  }
}

#workstyle .wsNav .wsNav__link::before {
  width: 30px;
  height: 25px;
  content: "";
  display: inline-block;
  background: none;
  opacity: 0;
  background-size: contain;
}

@media (max-width: 840px) {
  #workstyle .wsNav .wsNav__link::before {
    display: none;
  }
}

#workstyle .wsNav .wsNav__link.is-active::before {
  background-image: url("../../img/common/flame.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

#workstyle .ws-contents {
  padding-right: 2%;
  width: 80%;
  position: relative;
  z-index: 77;
  margin-left: auto;
}

@media (max-width: 840px) {
  #workstyle .ws-contents {
    width: 100%;
    padding: 0 3%;
  }
}

#workstyle .ws__block {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5%;
  border-radius: 30px;
  margin-bottom: 100px;
}

#workstyle .ws__block.kouken {
  margin-bottom: 50px;
}

#workstyle .ws__block.kouken .photo-list {
  margin-top: 0;
}

#workstyle .ws__block .block-ttl {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-ttl {
    font-size: 30px;
  }
}

#workstyle .ws__block .block-lead {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-lead {
    font-size: 14px;
  }
}

#workstyle .ws__block .block-sec {
  margin-bottom: 80px;
}

#workstyle .ws__block .block-sec:last-child {
  margin-bottom: 0;
}

#workstyle .ws__block .block-subttl {
  font-size: 32px;
  border-bottom: 4px solid #087d50;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-subttl {
    font-size: 20px;
  }
}

#workstyle .ws__block .block-subttl::before {
  content: "　";
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 0 0 50px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-subttl::before {
    padding: 0 0 0 20px;
  }
}

#workstyle .ws__block .block-subttl.holiday::before {
  background-image: url("../../img/workstyle/fukuri_icon01.svg");
}

#workstyle .ws__block .block-subttl.allowances::before {
  background-image: url("../../img/workstyle/fukuri_icon02.svg");
}

#workstyle .ws__block .block-subttl.support::before {
  background-image: url("../../img/workstyle/fukuri_icon03.svg");
}

#workstyle .ws__block .block-subttl.certification::before {
  background-image: url("../../img/workstyle/fukuri_icon04.svg");
}

#workstyle .ws__block .block-sublead {
  font-size: 16px;
  margin-bottom: 20px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-sublead {
    font-size: 14px;
    margin-bottom: 15px;
  }
}

#workstyle .ws__block .block-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-list {
    display: block;
  }
}

#workstyle .ws__block .block-item {
  border-top: 2px solid #c9caca;
  border-bottom: 2px solid #c9caca;
  padding: 30px 0;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-item {
    border-top: 1px solid #c9caca;
    border-bottom: none;
    padding: 10px 0;
  }
}

#workstyle .ws__block .block-item .item-ttl {
  font-size: 22px;
  margin-bottom: 5px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .block-item .item-ttl {
    font-size: 18px;
  }
}

#workstyle .ws__block .block-item .item-desc {
  font-size: 14px;
}

#workstyle .ws__block .kenshu-ttl {
  font-size: 32px;
  margin-bottom: 50px;
  border-bottom: 4px solid #087d50;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-ttl {
    font-size: 20px;
  }
}

#workstyle .ws__block .kenshu-ttl::before {
  content: "　";
  display: inline-block;
  background-image: url("../../img/workstyle/kenshu_icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 0 0 50px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-ttl::before {
    padding: 0 0 0 25px;
  }
}

#workstyle .ws__block .kenshu-flow {
  margin-bottom: 30px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-flow {
    width: 70%;
    margin: 0 auto 30px;
  }
}

#workstyle .ws__block .kenshu-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-list {
    display: block;
  }
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-item {
    margin-bottom: 20px;
  }
}

#workstyle .ws__block .kenshu-item .item-ttl {
  font-size: 22px;
  margin-bottom: 5px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kenshu-item .item-ttl {
    font-size: 18px;
  }
}

#workstyle .ws__block .kenshu-item .item-desc {
  font-size: 13px;
}

#workstyle .ws__block .photo-wrapper {
  margin-bottom: 80px;
}

#workstyle .ws__block .photo-wrapper:last-child {
  margin-bottom: 0;
}

#workstyle .ws__block .photo-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 80px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .photo-list {
    display: block;
    margin-top: 20px;
  }
}

@media (max-width: 840px) {
  #workstyle .ws__block .photo-item {
    display: block;
    margin-bottom: 20px;
  }
}

#workstyle .ws__block .item-img figcaption {
  margin-top: 10px;
  font-size: 15px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .item-img figcaption {
    margin-top: 5px;
    font-size: 14px;
  }
}

#workstyle .ws__block .kouken-ttl {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 4px solid #087d50;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kouken-ttl {
    font-size: 20px;
  }
}

#workstyle .ws__block .kouken-ttl::before {
  content: "　";
  display: inline-block;
  background-image: url("../../img/workstyle/kouken_icon01.svg");
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 0 0 50px;
}

@media (max-width: 840px) {
  #workstyle .ws__block .kouken-ttl::before {
    padding: 0 0 0 35px;
  }
}

#workstyle .ws__block .kouken-ttl.num02::before {
  background-image: url("../../img/workstyle/kouken_icon02.svg");
}

#workstyle .section-other {
  background-color: #fff;
  padding: 7% 5% 90%;
  width: 100%;
  height: auto;
  background-image: url("../../img/workstyle/other_bg.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: left top;
  position: relative;
  z-index: 99;
}

@media (max-width: 840px) {
  #workstyle .section-other {
    background-color: #fff;
    background-image: none;
    padding: 30% 5% 90%;
  }
}

#workstyle .section-other .entryBtn {
  text-align: center;
  margin-bottom: 50px;
  position: absolute;
  bottom: 350px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media (max-width: 840px) {
  #workstyle .section-other .entryBtn {
    bottom: 180px;
  }
}

#workstyle .section-other .entryBtn .entryBtn-txt {
  text-decoration: none;
  display: inline-block;
  border: 4px solid #afafaf;
  padding: 10px 50px;
  color: #afafaf;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.2em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#workstyle .section-other .entryBtn .entryBtn-txt:hover {
  background-color: #afafaf;
  color: #fff;
  text-decoration: none;
}

#workstyle .section-other .hashirukun {
  width: 12%;
  height: auto;
  margin: auto;
  position: absolute;
  bottom: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 99;
}

@media (max-width: 840px) {
  #workstyle .section-other .hashirukun {
    bottom: -50px;
    width: 37%;
  }
}

#workstyle .padBtm {
  padding-bottom: 20% !important;
}

#workstyle .marBtm {
  margin-bottom: 20% !important;
}

#workstyle .marTop {
  margin-top: 20% !important;
}
