/* 強みの区画は右端を画面の端まで広げ、張り出す写真を画面の端で切る(本文の幅と位置は1100pxの中のまま) */
:where(.ns-lp-top) #about {
  max-width: none;
  margin: -100px 0 30px max(0px, calc(50% - 550px));
  padding: 60px max(10px, calc(50% - 540px)) 70px 10px;
  position: relative;
  overflow-x: clip;
}

:where(.ns-lp-top) #about .img-background {
  background: transparent;
  width: 500px;
  height: 500px;
}

:where(.ns-lp-top) #about .img_about-image {
  position: absolute;
  width: calc(min(100%, 1100px) * 0.65);
  max-width: 785px;
  top: 80px;
  right: calc(max(0px, 100% - 1100px) - 11vw);
}

:where(.ns-lp-top) #about .wrapper_about-title {
  margin-bottom: 36px;
}

:where(.ns-lp-top) #about .wrapper_about-title {
  margin-bottom: 70px;
}

:where(.ns-lp-top) #about .wrapper_about-title p {
  font-size: 15px;
}

:where(.ns-lp-top) #about .wrapper_about-3point .ns-column {
  background: linear-gradient(to right, #31619f, #03b2dd);
  padding: 30px;
  color: #FFF;
  text-align: center;
  margin-left: 0;
}

:where(.ns-lp-top) #about .wrapper_about-3point .ns-columns__inner {
  justify-content: space-evenly;
}

:where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 1px;
  position: relative;
  margin-bottom: 15px;
}

:where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-icon {
  max-width: 56px;
  margin: 0 auto 10px;
}

:where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-detail {
  font-size: 15px;
  text-align: left;
}

@media screen and (max-width:599px) {
  :where(.ns-lp-top) #about {
    max-width: 1100px;
    margin: -100px auto 30px;
    padding: 60px 15px 70px;
    position: relative;
  }
  
  :where(.ns-lp-top) #about .img-background {
    background: transparent;
    width: 500px;
    height: 500px;
  }
  
  :where(.ns-lp-top) #about .img_about-image {
    position: static;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-title {
    margin-bottom: 60px !important;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-title {
    margin-bottom: 70px;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-title p {
    font-size: min(3.4vw,16px);
  }
  
  :where(.ns-lp-top) #about .wrapper_about-3point .ns-column {
    background: linear-gradient(to right, #31619f, #03b2dd);
    padding: 15px 30px;
    color: #FFF;
    text-align: center;
    margin-left: 0;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-3point .ns-columns__inner {
    justify-content: space-evenly;
    margin-left: 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 1px;
    position: relative;
    margin-bottom: 15px;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-icon {
    max-width: 56px;
    margin: 0 auto 10px;
  }
  
  :where(.ns-lp-top) #about .wrapper_about-3point .ns-column .p_feature-detail {
    font-size: 15px;
    text-align: left;
  }
}

:where(.ns-lp-top) #service {
  max-width: 1100px;
  margin: -100px auto 0;
  padding-top: 60px;
  padding-bottom: 70px;
  position: relative;
  margin-bottom: 100px;
  /* 背景の面(::after)を、この区画の中で本文の後ろに置く */
  isolation: isolate;
}

:where(.ns-lp-top) #service::after {
  background: url("/wp-content/uploads/2024/05/img_top_04_2.png") no-repeat bottom right;
  background-size: 100% auto;
  position: absolute;
  content: "";
  left: calc(50% - 50vw);
  bottom: 160px;
  width: 100%;
  height: 427px;
  z-index: -5;
}

:where(.ns-lp-top) #service .ns-columns {
  margin-bottom: 36px;
}

:where(.ns-lp-top) #service .p_service-name {
  padding: 30px 0;
  font-weight: bold;
}

:where(.ns-lp-top) #service img {
  aspect-ratio: 1/1.48;
}

:where(.ns-lp-top) #service .shadow {
  background-color: #fff;
  box-shadow: 0 0 10px #85a6b3;
  text-align: center;
}

@media screen and (max-width:599px) {
  :where(.ns-lp-top) #service {
    max-width: 1100px;
    margin: -100px auto 0;
    padding: 60px 15px 70px;
    position: relative;
    margin-bottom: 100px;
  }
  
  :where(.ns-lp-top) #service::after {
    background: url("/wp-content/uploads/2024/05/img_top_04_2.png") no-repeat bottom right;
    background-size: 100% auto;
    position: absolute;
    content: "";
    left: calc(50% - 50vw);
    bottom: 0px;
    top: -130px;
    width: 100%;
    height: 427px;
    z-index: -5;
  }
  
  :where(.ns-lp-top) #service .ns-columns {
    margin-bottom: 36px;
  }
  
  :where(.ns-lp-top) #service .ns-columns .ns-columns__inner {
    justify-content: center;
  }
  
  :where(.ns-lp-top) #service .p_service-name {
    padding: 30px 0;
    font-weight: bold;
  }
  
  :where(.ns-lp-top) #service .shadow {
    background-color: #fff;
    box-shadow: 0 0 10px #85a6b3;
    text-align: center;
  }
}

:where(.ns-lp-top) #interview {
  position: relative;
  margin-bottom: 50px;
  background: linear-gradient(to right, #FFF 0, #FFF 25%, #dfeef0 50%, #dfeef0 100%);
}

:where(.ns-lp-top) #interview .section-inner {
  padding-top: 20px;
  padding-bottom: 70px;
  max-width: 1100px;
  margin: -100px auto 0;
  background: linear-gradient(to right, #FFF 10%, #dfeef0 10%, #dfeef0 100%);
}

:where(.ns-lp-top) #interview .ns-columns {
  margin-bottom: 50px !important;
}

:where(.ns-lp-top) #interview .p_tategaki {
  display: inline-block;
  position: absolute;
   top: 15px;
  right: 10px;
  letter-spacing: 2px;
  line-height: 2.4;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  padding: 22px 10px 20px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  max-width: 200px;
  margin-bottom: 0;
  z-index: 10;
}

:where(.ns-lp-top) #interview .p_tategaki span {
  background-color: #31619f;
  padding: 10px 5px;
  height: max-content;
}

:where(.ns-lp-top) #interview .ns-columns {
  margin-bottom: 36px;
}

:where(.ns-lp-top) #interview figure {
  margin-bottom: 20px;
}

:where(.ns-lp-top) #interview .img-wrapper {
  position: relative;
}

:where(.ns-lp-top) #interview .p_interview-syoukai {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translatex(-50%);
  width: max-content;
  font-weight: 900;
  color: #03b2dd;
  background-color: rgb(255,255,255,0.8);
  line-height: 1;
  width: 100%;
  padding: 10px 20px 0;
}

:where(.ns-lp-top) #interview .p_interview-syoukai span:first-child {
  position: absolute;
  font-size: 29px;
  top: 5px;
  left: 2%;
}

:where(.ns-lp-top) #interview .p_interview-syoukai span:nth-child(2) {
  font-size: 70px;
}

:where(.ns-lp-top) #interview .p_interview-text {
  color: #333333;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

@media screen and (max-width:599px) {
  :where(.ns-lp-top) #interview {
    margin-bottom: 50px;
  }
  
  :where(.ns-lp-top) #interview .section-inner {
    padding: 40px 15px 5px;
    margin: -100px auto 0;
  }
  
  :where(.ns-lp-top) #interview .ns-columns {
    margin-bottom: 50px !important;
  }
  
  :where(.ns-lp-top) #interview .p_tategaki {
     top: 10px;
    right: 10px;
    letter-spacing: 2px;
    line-height: 2.4;
    font-size: 18px;
    padding: 22px 10px 20px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    max-width: 200px;
    margin-bottom: 0;
    z-index: 10;
  }
  
  :where(.ns-lp-top) #interview .p_tategaki span {
    background-color: #31619f;
    padding: 10px 5px;
    height: max-content;
  }
  
  :where(.ns-lp-top) #interview .ns-columns {
    margin-bottom: 36px;
  }
  
  :where(.ns-lp-top) #interview .p_interview-syoukai {
    padding-right: 0;
  }
  
  :where(.ns-lp-top) #interview .p_interview-syoukai span:first-child {
    position: absolute;
    font-size: 29px;
  }
  
  :where(.ns-lp-top) #interview .p_interview-syoukai span:nth-child(2) {
    font-size: 60px;
  }
  
  :where(.ns-lp-top) #interview .p_interview-syoukai span:nth-child(3) {
    font-size: 15px;
  }
  
  :where(.ns-lp-top) #interview figure {
    margin-bottom: 10px;
  }
  
  :where(.ns-lp-top) #interview .p_interview-text {
    font-size: 7vw;
  }
  
  :where(.ns-lp-top) #interview .p_interview-text .mininote {
    font-size: 14px;
    color: #31619f;
  }
}

/* 採用の帯はフッターとつなげ、右へ張り出す飾りの写真は帯の中で切る */
:where(.ns-lp-top) #recruitment {
  padding-top: 60px;
  padding-bottom: 70px;
  background: linear-gradient(to right, #1D4588, #0682C2);
  overflow-x: clip;
}

:where(.ns-lp-top) #recruitment .section-inner {
  max-width: 1100px;
  margin: -20px auto 0;
}

.ns-lp-top #recruitment h2,
.ns-lp-top #recruitment h2 .mininote {
  color: #fff;
}

:where(.ns-lp-top) #recruitment .p_recluit-text {
  color: #fff;
  margin-bottom: 30px;
}

:where(.ns-lp-top) #recruitment .wrapper-img {
  position: relative;
}

:where(.ns-lp-top) #recruitment .wrapper-img .img_recruit {
  position: absolute;
  bottom: 0;
  right: -160px;
  opacity: .5;
  width: 100%;
}

:where(.ns-lp-top) #recruitment .wrapper-img .img_recruit img {
  width: 100%;
}

:where(.ns-lp-top) #recruitment .img_recruit-image {
  margin-bottom: 40px;
}

:where(.ns-lp-top) #recruitment .img_recruit-image img {
  width: 100%;
}

:where(.ns-lp-top) #recruitment .accordion-area {
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

:where(.ns-lp-top) #recruitment .box {
  display: none;
  background: transparent;
  margin: 0;
  padding: 3%;
  font-size: 110%;
  padding: 0;
}

:where(.ns-lp-top) #recruitment .box ul {
  padding: 0;
}

:where(.ns-lp-top) #recruitment .box li {
  list-style: none;
  color: #fff;
  border: 2px solid #fff;
  border-top: none;
  margin: 0;
  text-align: left;
  font-size: 100%;
}

:where(.ns-lp-top) #recruitment .box li a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 20px;
}

:where(.ns-lp-top) #recruitment .box li .ns-icon--caret-right {
  position: relative;
  right: 0;
}

:where(.ns-lp-top) #recruitment .ns-btn {
  width: 400px;
}

:where(.ns-lp-top) #recruitment .ns-btn__link {
  background: transparent !important;
  border: 2px solid #fff;
  box-shadow: none;
}

@media screen and (max-width:599px) {
  :where(.ns-lp-top) #recruitment {
    padding: 60px 20px 70px;
    background: linear-gradient(to right, #1D4588, #0682C2);
  }
  
  :where(.ns-lp-top) #recruitment .section-inner {
    max-width: 1100px;
    margin: -20px auto 0;
  }
  
  .ns-lp-top #recruitment h2,
  .ns-lp-top #recruitment h2 .mininote {
    color: #fff;
  }
  
  :where(.ns-lp-top) #recruitment .p_recluit-text {
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
    font-size: min(3.8vw,16px);
  }
  
  :where(.ns-lp-top) #recruitment .wrapper-img {
    position: relative;
  }
  
  :where(.ns-lp-top) #recruitment .wrapper-img .img_recruit {
    position: absolute;
    bottom: 0;
    right: -5px;
    opacity: .5;
    width: 100%;
  }
  
  :where(.ns-lp-top) #recruitment .wrapper-img .img_recruit img {
    width: 100%;
  }
  
  :where(.ns-lp-top) #recruitment .img_recruit-image {
    margin-bottom: 40px;
  }
  
  :where(.ns-lp-top) #recruitment .img_recruit-image img {
    width: 100%;
  }
  
  :where(.ns-lp-top) #recruitment .ns-btn {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
  }
  
  :where(.ns-lp-top) #recruitment .ns-btn__link {
    background: transparent !important;
    border: 2px solid #fff;
    box-shadow: none;
  }
}
