body{
    margin: 0;
    overflow-x: hidden;
    font-weight: bold;
}

a{
    text-decoration: none;
}

/* header */
header{
    margin: 0 auto;
    position: fixed;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    z-index: 999;
    width: 100%;

}

.header-logo{
    width: 23%;
    padding: 20px;
    margin-left: 10px;
  }

.header-list{
    width: 43%;
    display: flex;
    list-style: none;
    float: right;
    margin: 0;
    margin-top: 28px;
}

.list-item{
    display: block;
    margin-right: 50px;
    font-size: 1.1rem;
}

.list-item a{
    color: #0f1419;
}


img.campany-img,.ser-img, .map-img {
    width: 107%;
}

p.list-text {
    text-align: center;
    margin: 0;
    margin-right: -11px;
}

h2.tell-number {
    font-size:1.5rem;
    position: fixed;
    padding: 8px;
    margin: 0;
    background-color: white;
    z-index: 999;
}

span{
    color: #7DBE5E;
}

h2.contact {
    margin: 0;
    position: absolute;
    right: 6%;
    top: 183px;
    writing-mode: vertical-rl;
}

.main-img{
    width: 100%;
    height: 90vh;
    /* border-bottom-right-radius: 20% 30%;
    border-bottom-left-radius:  20% 30%; */
}


.site-listup{
    display: flex;
    width: 40%;
   justify-content: center;
   margin: auto;
    padding: 0;
    padding-left: 30px;
    padding-right: 30px;
    background-color: rgb(226, 225, 225);
    margin-top: 30px;
}


.site-list-item{
    text-align: center;
    padding: 20px;
    list-style: none;
}


.top-text {
    position: absolute;
    line-height: 76px;
    top: 53vh;
    left: 3%;
    margin: 20px;
   
}

.top-text-span{
    color:white; 
    background-color: rgba(225, 225, 225, 0.495);
    padding:20px;
    font-size:1.5rem;
}

h1.about-title {
    margin-top: 77px;
    font-size: 3rem;
}

/* about */
.about{
    display: flex;
    justify-content: center;
    height: 53vh;
    margin-top: 36px;
}

.nishidagumi {
    position: absolute;
    font-size: 169px;
    margin-top: -52px;
    /* left: 18px; */
    z-index: -99;
    color: rgba(153, 205, 50, 0.339);
    transform: skewX(10deg);
}

.text{
    overflow-wrap: break-word ;
    padding-right: 20px;
    text-align: center;
    font-size:1.5rem;
    /* width:120%; */
}

.about-text {
    width: 50%;
    text-align: center;
}

.about-img{
    width: 50%;
    height: 300px;
    margin-right: -45px;
    background-color: rgb(195, 195, 195);
}

.botan {
  border: 4px solid black;
    width: 22%;
    text-align: center;
    padding: 16px;
    border-radius: 28px;
    margin: auto;
    margin-top: 30px;
}
    


/* work */

.service{
    background-color: #8CC47D;
    padding-bottom: 110px;
}

.service-title{
    margin-top: 100px;
    text-align: center;
    position: relative;
    top: 70px;
    font-size: 3rem;
}

.service-contents{
    counter-reset: num;
    display: flex;
    justify-content: center;
    background-color: white;
    padding: 30px;
}



.service-content{
    width:300px;
    height:300px;
    border-radius: 10px;
    margin: 30px;
    border: 4px solid black;
}

.service-content img{
   width:300px;
   height:300px;
}

.card{
    position: relative;
    display: inline-block;
}

.number {
    position: absolute;
    z-index: 8;
    top: -20px;
    left: -14px;
    background-color: green;
    color: white;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}




.service-content-title,.text-content{
    text-align: center;
    font-size: 1.1rem;
    padding: 0 20px;
}

.works-title {
    font-size: 4rem;
    padding-left: 30px;
}

.works-botan {
    border: 2px solid black;
    width: 216px;
    height: 50px;
    background-color: white;
    position: absolute;
    right: 0;
    margin-top: 78px;
    border-radius: 24px;
    margin-right: 30px;
    /* left: 0; */
}

.botan-text{
    text-align: center;
    margin-top: 14px;
    color: black;
}

.botan-text a{
    color:black;
}
/* slider */
.slick{
    margin-top:100px ;
}

.slider{
    padding: 0;
}


.slider img {
    border-radius: 10px;
    border: solid black ;
    width:100%;/*スライダー内の画像を横幅100%に*/
    height: 200px;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}

/* access */
.access{
    margin-top: 90px;
    margin-bottom: 90px;
}

/* map */
.access-flex{
    display: flex;
    justify-content: center;
}

.map{
    margin-right: 40px;
    box-shadow:  0 1.9px 2.5px rgba(0, 0, 0, 0.057),
    0 5px 6.1px rgba(0, 0, 0, 0.076),
    0 10.1px 11.4px rgba(0, 0, 0, 0.086),
    0 19.2px 19.8px rgba(0, 0, 0, 0.092),
    0 38.4px 34.8px rgba(0, 0, 0, 0.1),
    0 101px 74px rgba(0, 0, 0, 0.13);
}

h1.map-title {
    font-size: 3rem;
    margin-top: 10px;
    margin-bottom: 37px;
}

h2.campany-name {
    margin-top: 45px;
}

p.company-access {
    margin-top: 25px;
}

.accesee-botan{
    width: 200px;
    height: 55px;
    border-radius: 10px;
    border: 2px solid black;
    margin-top: 29px;
}

/* comtact */
.contact{
    width: 80%;
    height: 426px;
    background-color: #5AA746;
    position: relative;
    float: right;
    top: 87px;
    border-radius: 20px 0 0 20px;
}

.comtact-flex{
    display: flex;
}

.comtact-title{
    width: 30%;
    margin-left: 114px
}

.contact-text {
    margin-top: 80px;
    padding-left: 34px;
}

.contact-content{
    width: 30px;
}

.comtact-botan{
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid black;
    background-color: rgb(255, 255, 255);
    margin-left: 595px;
    margin-top: 229px;
}

@media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
    header.header {
        position: static;
        width: 100%;

    }

.header-list{
    display: none;
}

h2.tell-number {
    display: none;
}

.main-img {
    border-bottom-right-radius: 0%;
    border-bottom-left-radius: 0%;
}

.about-img {
    display: none;
}

.top-text {
    position: absolute;
    line-height: 76px;
    top: 60vh;
    left: 0;
}

.botan {
    width: 43%;
    margin-left: 35px;
    margin-top: 30px;
}

.about {
    display: inline-table;
}

.about-title{
width: 63%;
}

.text{
    width: 60%;
}

.work-top-img {
    width: 100%;
    height: 206px;
    margin-top: 52px;
}

.work-contents {
    display: block;
  margin: auto;
}

.work1, .work2,.work3{
    margin-bottom: 20px;
}

.work-img {
    text-align: center;
    width: 42vh;
    height: auto;
}

p.work-text {
    width: 269%;
}

.works-botun {
    width: 43%;
    margin-top: 41px;
}


.adress {
    right: 12%;
    margin-top: 41px;
}

.access-title{
  display:none;
}   

.map{
    margin-top: 30px;
}

.access {
    margin-top: 34px;
    margin-bottom: 223px;
}

.map-title {
    display: inline;
    font-size: 50px;
    padding-left: 105px;
    padding-bottom: 46px;
}

}

.footer__navi flex{
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  a {
    text-decoration: none;
  }
  
  a:hover {
    color: #000;
  }
  
  .flex {
    display: flex;
  }
  
  hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7eb;
  }
  
  .footer {
    padding: 2rem;
    font-size: 15px;
    color: #ffffff;
    background: #8CC47D;
  }
  
  .footer__navi {
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .footer__navi li {
    display: inline-block;
  }

  .footer__navi li a{
    color:white;
  }
  
  .footer__navi li:not(:last-child) {
    margin-right: 16px;
  }
  
  .footer__logo {
    display: inline-block;
    margin-bottom: 1rem;
  }

  
  @media (min-width: 768px) {
    .md-flex {
      display: flex;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .copyright {
      text-align: left;
    }
  }

/* アニメーション */

.about {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s,visibility 1s, transform 1s;
}

.scroll{
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.service-content, .number{
    opacity: 0;
    visibility: hidden;
    transform: translateX(-90px);
    transition: opacity 2s,visibility 2s, transform 2s;
}

.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
    margin:40px;
}

.header-respon{
    display:none;
}

/* レスポンシブ */
@media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
    html{
        overflow-x:hidden;
    }
    .header-logo{
        position:absolute;
    }
    span.top-text-span {
        font-size: 1rem;
    }
    .top-text {
        top: 51vh;
        left: 0;
    }

    .header-respon{
        display:inline;
    }

    .nishidagumi {
        font-size: 100px;
        margin-top: -50px;
        left: -65px;
    }

    h1.about-title {
        margin-top: 22px;
        font-size: 2rem;
        width: 100%;
        margin-left: 71px;
    }

    .text {
        width: 209%;
        font-size: 1.2rem;
    }

    .botan {
        width: 86%;
        margin-left: 67px;
    }

    section.about.scroll {
        margin-bottom: -45px;
    }

    .service-contents {
        display: grid;
    }

    .works-botan {
        margin-top: 435px;
    }

    .access {
        margin-bottom: 66px;
    }

    .access-flex {
        display: block;
    }

    .map-title {
       padding:0;
    }

    .map-text {
        text-align: -webkit-center;
        margin-top: 63px;
    }

    /* レスポンシブハンバーガー */
ul{
    list-style: none;
}

        .hamburger {
            display: block;
            height: 60px;
            margin-left: auto;
            position: relative;
            z-index: 10;
            width: 60px;
            border: none;
            background-color: transparent;
        }
        .hamburger.-active .hamburger__line {
            background-color: transparent;
        }
        .hamburger.-active .hamburger__line::before {
            top: 0;
            transform: rotate(45deg);
        }
        .hamburger.-active .hamburger__line::after {
            top: 0;
            transform: rotate(-45deg);
        }
        .hamburger.-active .hamburger__text::before {
          content: '閉じる';
        }
        .hamburger__line {
            display: block;
            height: 2px;
            position: absolute;
            top: 23px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            background-color: #172e59;
            transition: 0.4s;
        }
        .hamburger__line:before,
        .hamburger__line:after {
            content: "";
            display: block;
            height: 100%;
            position: absolute;
            width: 100%;
            background-color: #172e59;
            transition: inherit;
        }
        .hamburger__line:before {
            top: -6px;
        }
        .hamburger__line:after {
            top: 6px;
        }
        .hamburger__text {
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
        }
        .hamburger__text::before {
            content: "メニュー";
            text-align: center;
            color: #172e59;
            font-size: 10px;
            font-weight: 900;
        }
        .header-respon {
          width: 380px;
        }
        .header__nav-area {
            position: fixed;
            top: 0;
            left: -100%;
            z-index: 9;
            height: 100vh;
            width: 300px;
            visibility: hidden;
            padding-top: 60px;
            background-color: #fff;
            transition: 0.4s;
        }
        .header__nav-area.-active {
            left: 0;
          visibility: visible;
        }
        .global-navigation {
            padding-top: 40px;
            padding-right: 25px;
            padding-bottom: 120px;
        }
        .global-navigation__list > li {
            padding-bottom: 20px;
            border-bottom: 2px solid #e7e9ee;
        }
        .global-navigation__list > li + li {
          margin-top: 20px;
        }
        .global-navigation__link {
          display: flex;
            align-items: center;
            justify-content: space-between;
            color: #172e59;
            font-weight: 900;
            transition: color 0.4s;
            font-size: 0.875rem;
        }
        .global-navigation__link.-accordion {
            position: relative;
            background: none;
            border: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            width: 100%;
            padding: 0;
        }
        .global-navigation__link.-accordion::after {
            content: '';
            display: block;
            height: 12px;
            position: absolute;
            top: 50%;
            right: 5px;
            width: 2px;
            background-color: #ed3242;
            transform: translateY(-50%);
            transition: transform 0.4s;
        }
        .global-navigation__link.-accordion::before {
            content: '';
            display: block;
            height: 2px;
            position: absolute;
            top: 50%;
            right: 0;
            width: 12px;
            background-color: #ed3242;
            transform: translateY(-50%);
            
        }
        .global-navigation__link.-active::after {
          transform: translateY(-50%) rotate(-90deg);
        }
        .accordion {
            height: 0;
            overflow: hidden;
            visibility: hidden;
            transition: 0.4s;
        }
        .accordion.-active {
            height: auto;
            padding-top: 30px;
            visibility: visible;
        }
        .accordion__list li {
            font-size: 0.75rem;
        }
        .accordion__list li + li {
             margin-top: 21px;
        }
        .accordion__link {
            color: #172e59;
        }

        
        }