


/*===============================================
●画面の横幅が769px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 769px) {

  /* メニューの下線 */
  header nav > ul > li:nth-of-type(3) > a {
    border-bottom: 1px solid #468876;
  }

  #wrapper {
    /*
    background: url(../images/work/bg_btm.webp) bottom center no-repeat;
    background-size: 100%;
    */
  }

  .bg_top {
    background: url(../images/work/bg_top.webp) top center no-repeat;
    background-size: cover;
  }

  /* work */
  #work {
    position: relative;
    width: 100%;
    margin: 100px auto 0;
    padding-bottom: 100px;
  }
  #work > h2 {
    width: 743px;
    margin: 0 auto;
  }
  #work > p {
    width: 730px;
    margin: 25px auto 0;
    font-size: 14px;
    text-align: left;
    line-height: 1.7;
  }
  #work > div {
    position: relative;
    z-index: 2;
    width: 960px;
    margin: 60px auto 0;
    padding: 0 60px 0 50px;
  }
  #work > div:nth-of-type(1),
  #work > div:nth-of-type(2) {
    display: flex;
    align-items: flex-start;
  }
  #work > div:nth-of-type(2),
  #work > div:nth-of-type(3) {
    margin-top: 40px;
    padding-top: 40px;
    flex-direction: row-reverse;
    border-top: 1px solid #CCCCCC;
  }
  #work > div:nth-of-type(1) > img,
  #work > div:nth-of-type(2) > img {
    width: 286px;
    margin: 0;
  }
  #work > div:nth-of-type(1) > div,
  #work > div:nth-of-type(2) > div {
    width: 515px;
    text-align: left;
    margin-right: 50px;
  }
  #work > div:nth-of-type(2n) > div {
    margin-right: 0;
    margin-left: 50px;
  }
  #work > div > div > p.txt01 {
    position: relative;
    padding-left: 100px;
    font-size: 25px;
    font-weight: 700;
    color: #468876;
    line-height: 1.5;
  }
  #work > div > div > p.txt01 > img {
    position: absolute;
    top: -5px;
    left: 0;
    width: auto;
    height: 47px;
  }
  #work > div > div > p.txt02 {
    margin-top: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #468876;
    line-height: 1.5;
  }
  #work > div > div > p.txt03 {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.7;
  }
  #work > div:nth-of-type(3) > div {
    text-align: left;
  }
  #work > div:nth-of-type(3) > ul {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
  }
  #work > div:nth-of-type(3) > ul > li {
    width: 130px;
  }
  #work > div > img.illust01 {
    position: absolute;
    z-index: 2;
    bottom: 292px;
    right: -136px;
    width: 105px;
  }
  #work > div > img.illust02 {
    position: absolute;
    z-index: 2;
    bottom: -100px;
    left: -245px;
    width: 301px;
  }

  /* staff */
  #staff {
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;
    background-color: #ffffff;
  }
  #staff > h2 {
    width: 860px;
    margin: 0 auto;
  }
  #staff > div {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 960px;
    margin: 50px auto 0;
  }
  #staff > ul {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 960px;
    margin: 50px auto 0;
  }
  #staff > ul > li {
    position: relative;
    width: 293px;
    padding: 30px;
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
    border: 3px solid #468876;
    border-radius: 10px;
  }
  #staff > ul > li > img.img01 {
    position: absolute;
    top: -6px;
    left: -8px;
    width: 48px;
  }
  #staff > ul > li > img.img02 {
    position: absolute;
    bottom: -5px;
    right: -6px;
    width: 46px;
  }

  /* benefits */
  #benefits {
    position: relative;
    z-index: 2;
    width: 960px;
    margin: 100px auto 0;
  }
  #benefits > h2 {
    width: 161px;
    margin: 0 auto;
  }
  #benefits > ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
  }
  #benefits > ul > li {
    width: 300px;
    margin-top: 30px;
    padding: 30px 0;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 3px 3px 5px 0px rgba(70, 136, 118, 0.2);
  }
  #benefits > ul > li > p:nth-of-type(1) {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding-left: 30px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.1em;
  }
  #benefits > ul > li > p:nth-of-type(1) > img {
    position: absolute;
    top: 2px;
    left: 0;
    width: 19px;
  }
  #benefits > ul > li:nth-of-type(2) > p:nth-of-type(1)  {
    padding-left: 40px;
  }
  #benefits > ul > li:nth-of-type(2) > p:nth-of-type(1) > img {
    width: 29px;
    top: -5px;
  }
  #benefits > ul > li:nth-of-type(3) > p:nth-of-type(1)  {
    padding-left: 46px;
  }
  #benefits > ul > li:nth-of-type(3) > p:nth-of-type(1) > img {
    width: 36px;
    top: 16px;
  }
  #benefits > ul > li:nth-of-type(4) > p:nth-of-type(1)  {
    padding-left: 35px;
  }
  #benefits > ul > li:nth-of-type(4) > p:nth-of-type(1) > img {
    width: 23px;
    top: 1px;
  }
  #benefits > ul > li:nth-of-type(5) > p:nth-of-type(1) > img {
    width: 21px;
    top: 1px;
  }
  #benefits > ul > li:nth-of-type(6) > p:nth-of-type(1)  {
    padding-left: 42px;
  }
  #benefits > ul > li:nth-of-type(6) > p:nth-of-type(1) > img {
    width: 31px;
    top: -8px;
  }
  #benefits > ul > li > p:nth-of-type(2) {
    margin-top: 20px;
    padding: 0 30px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  #benefits > img.illust01 {
    position: absolute;
    top: 20px;
    left: -100px;
    width: 105px;
  }

  /* facility */
  #facility {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 100px auto 0;
  }
  #facility > div.inner {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 0;
    background-color: #FFE4C4;
    border-radius: 30px;
  }
  #facility > div.inner > h2 {
    width: 161px;
    margin: 0 auto;
  }
  #facility > div.inner > ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 960px;
    margin: 0 auto;
  }
  #facility > div.inner > ul > li {
    width: 460px;
    margin-top: 40px;
  }
  #facility > div.inner > ul > li > p:nth-of-type(1) {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 1.5;
  }
  #facility > div.inner > ul > li > p:nth-of-type(2) {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  #facility > div.inner > img.illust02 {
    position: absolute;
    z-index: 1;
    top: -152px;
    right: -106px;
    width: 251px;
  }
  #facility > div.bg {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #FFE4C4;
    border-radius: 30px;
  }

}

/*===============================================
●画面の横幅が768px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 768px) {

  #wrapper {
    /*
    background: url(../images/work/bg_btm_sp.webp) bottom center no-repeat;
    background-size: 100%;
    */
  }

  .bg_top {
    background: url(../images/work/bg_top_sp.webp) top center no-repeat;
    background-size: cover;
  }

  /* work */
  #work {
    position: relative;
    width: 100%;
    margin: 40px auto 0;
    padding-bottom: 60px;
  }
  #work > h2 {
    position: relative;
    z-index: 2;
    width: 233px;
    margin: 0 auto;
  }
  #work > p {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 25px auto 0;
    font-size: 14px;
    text-align: left;
    line-height: 1.7;
  }
  #work > div {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 60px auto 0;
  }
  #work > div > div > p.txt01 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding-left: 75px;
    font-size: 21px;
    font-weight: 700;
    color: #468876;
    line-height: 1.5;
    text-align: left;
  }
  #work > div > div > p.txt01 > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: auto;
    height: 43px;
  }
  #work > div > div > p.txt02 {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 700;
    color: #468876;
    line-height: 1.5;
    text-align: left;
  }
  #work > div > div > p.txt03 {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  #work > div > img {
    margin-top: 20px;
  }
  #work > div:nth-of-type(3) > ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #work > div:nth-of-type(3) > ul > li {
    width: 32%;
    margin-top: 15px;
  }
  #work > div > img.illust06 {
    position: absolute;
    z-index: 2;
    top: -70px;
    left: -30px;
    width: 71px;
  }
  #work > div > img.illust07 {
    position: absolute;
    z-index: 3;
    bottom: -48px;
    right: -28px;
    width: 82px;
  }
  #work > div > img.illust02 {
    position: absolute;
    z-index: 2;
    bottom: -107px;
    left: -20px;
    width: 125px;
  }

  /* staff */
  #staff {
    width: 100%;
    margin: 0 auto;
    padding-top: 70px;
    background-color: #ffffff;
  }
  #staff > h2 {
    width: 254px;
    margin: 0 auto;
  }
  #staff ul.slick-slider {
    position: relative;
    width: 82%;
    margin: 10px auto 0;
  }
  #staff ul.slick-slider li.slick-slide {
    position: relative;
    width: 293px;
    margin: 0 20px;
    padding: 30px;
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
    border: 3px solid #468876;
    border-radius: 10px;
  }
  #staff ul.slick-slider li.slick-slide img.img01 {
    position: absolute;
    top: -6px;
    left: -8px;
    width: 48px;
  }
  #staff ul.slick-slider li.slick-slide img.img02 {
    position: absolute;
    bottom: -5px;
    right: -6px;
    width: 46px;
  }
  #staff .work_staff_slider{
    opacity: 0;
    transition: opacity .3s linear;
  }
  #staff .work_staff_slider.slick-initialized{
    opacity: 1;
  }
  #staff .slick-track {
    padding: 20px 0;
  }
  #staff .slide-arrow {
    top: 42%;
    margin: auto;
    position: absolute;
    z-index: 10;
    width: 6% !important;
  }
  #staff .prev-arrow {
    left: -5%;
  }
  #staff .next-arrow {
    right: -4%;
  }

  #staff .slick-dots {
    bottom: -30px;
  }
  #staff .slick-dots li {
    width: 40px;
    margin: 0 auto;
  }
  #staff .slick-dots li button {
    position: relative;
    width: 40px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
  }
  #staff .slick-dots li button:hover,
  #staff .slick-dots li.slick-active button {
    color: #468876;
  }
  #staff .slick-dots li button:hover::before,
  #staff .slick-dots li.slick-active button::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 5px;
    height: 5px;
    background-color: #468876;
    border-radius: 5px;
  }

  /* benefits */
  #benefits {
    position: relative;
    width: 90%;
    margin: 100px auto 0;
  }
  #benefits > h2 {
    width: 93px;
    margin: 0 auto;
  }
  #benefits > ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
  }
  #benefits > ul > li {
    width: 48%;
    margin-top: 10px;
    padding: 20px 0;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 3px 3px 5px 0px rgba(70, 136, 118, 0.2);
  }
  #benefits > ul > li > p:nth-of-type(1) {
    position: relative;
    margin: 0 auto;
    padding-top: 35px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }
  #benefits > ul > li:nth-of-type(3) > p:nth-of-type(1) {
    letter-spacing: 0em;
  }
  #benefits > ul > li > p:nth-of-type(1) > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 15px;
    margin: 0 auto;
  }
  #benefits > ul > li:nth-of-type(2) > p:nth-of-type(1) > img {
    width: 21px;
  }
  #benefits > ul > li:nth-of-type(3) > p:nth-of-type(1) > img {
    width: 30px;
  }
  #benefits > ul > li:nth-of-type(4) > p:nth-of-type(1) > img {
    width: 18px;
  }
  #benefits > ul > li:nth-of-type(5) > p:nth-of-type(1) > img {
    top: 5px;
    width: 14px;
  }
  #benefits > ul > li:nth-of-type(6) > p:nth-of-type(1) > img {
    width: 20px;
  }
  #benefits > ul > li > p:nth-of-type(2) {
    margin-top: 10px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
  }
  #benefits > ul > li:nth-of-type(4) > p:nth-of-type(2) {
    margin-top: 28px;
  }
  #benefits > img.illust08 {
    position: absolute;
    top: -20px;
    left: -23px;
    width: 67px;
  }

  /* facility */
  #facility {
    position: relative;
    width: 100%;
    margin: 60px auto 0;
  }
  #facility > div.inner {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
    padding: 30px 0 40px;
    background-color: #FFE4C4;
    border-radius: 30px;
  }
  #facility > div.inner > h2 {
    width: 116px;
    margin: 0 auto;
  }
  #facility > div.inner > ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 95%;
    margin: 5px 0 0 5%;
  }
  #facility > div.inner > ul > li {
    width: 48%;
    margin-top: 20px;
  }
  #facility > div.inner > ul > li > p:nth-of-type(1) {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    line-height: 1.5;
  }
  #facility > div.inner > ul > li > p:nth-of-type(2) {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  #facility > div.inner > img.illust02 {
    position: absolute;
    z-index: 2;
    top: -47px;
    right: -6px;
    width: 87px;
  }
  #facility > div.bg {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #FFE4C4;
  }

}
