* {box-sizing:border-box}

a {
    text-decoration: none;
}

header {
    height: 100px;
    border-bottom: 5px solid #5ED079;
    padding: 0 50px;
    position: relative;
}

/* .header-logo {

} */

.header-img {
    height: 50px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    display: inline-block;
}

.header-list {
    width: 750px;
    position: relative;
    position: absolute;
    top: 50%;
    right: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* text-align: right; */
}

.header-list ul {
    position: absolute;
    right: 0;
}

.header-list a {
    color: #7E7E7E;
    padding-bottom: 5px;
}


.header-list li {
    /* margin-left: 20px; */
    font-size: 16px;
    color: #7E7E7E;
    padding-bottom: 5px;
}

.header-list li:hover {
    cursor: pointer;
    color: rgb(43, 41, 41);
}

.line-blueblack {
    border-bottom: 2px solid #171155;
    /* background: linear-gradient(transparent 80%, #0EFF57 100%); */
    padding: 0 10px;
}

.line-green {
    border-bottom: 2px solid #0EFF57;
    /* background: linear-gradient(transparent 80%, #0EFF57 100%); */
    padding: 0 10px;
}

.line-blue {
    border-bottom: 2px solid #00C4FF;
    padding: 0 10px;
}

.line-red {
    border-bottom: 2px solid #FF0000;
    padding: 0 10px;
}

.line-yellow {
    border-bottom: 2px solid #01740b;
    padding: 0 10px;
}

.line-purple {
    border-bottom: 2px solid #ff8800;
    padding: 0 10px;
}
.container {
    margin: 0 50px;
    /* display: flex;
    flex-direction: column;
    justify-content: start; */
}

.catch {
    margin-top: 20px;
    width: 1180px;
    height: 150px;
    background-image: url(../img/test.jpg);
    background-position: right 50% bottom 50%;
    background-size: cover;
    position: relative;
    border: 1px solid white;
}

.catch::after {
    content: "";
    background-color: white;
    opacity: 0.5;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.catch h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}

.title {
    margin-top: 30px;
    /* border-left: 10px solid #0EFF57; */
    /* height: 50px; */
    margin-bottom: 50px;
    display: block;
    /* padding-bottom: 200px; */
}

.about-title {
    padding-left: 10px;
    font-size: 25px;
    line-height: 50px;
    margin-bottom: 20px;
    height: 50px;
    border-left: 10px solid #5ED079;
}

.section-red {
    color: red;
    font-weight: bold;
}

.img-flex {
    display: flex;
    justify-content: space-evenly;
}

.img-graf {
    margin-top: 15px;
}

.img-item img{
    height: 220px;
}

.subtitle {
    position: relative;
    /* margin-bottom: 15px; */
}

.service-parent {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin-bottom: 30px;
    padding: 30px 0;
    position: relative;
}

.service-block {
    height: 150px;
    width: 800px;
    /* margin: 70px 0; */
    background-color: #fff;
    /* text-align: center; */
    /* display: inline-block; */
    /* margin: 0 auto; */
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    /* margin-top: 20px; */
}

.service-block2 {
    height: 150px;
    width: 300px;
    /* margin-right: 20px; */
    /* margin: 70px 0; */
    background-color: #fff;
}

.service-block3 {
    height: 150px;
    width: 500px;
    /* margin: 70px 0; */
    background-color: #fff;
}

.box26 {
    position: relative;
    margin: 10px 0;
    padding: 0.8em 1em;
    border: solid 3px #0084ff;
    border-radius: 8px;
}
.box27 {
    position: relative;
    margin: 10px 0;
    padding: 0.8em 1em;
    border: solid 3px rgb(228, 41, 35);
    border-radius: 8px;
}
.box28 {
    position: relative;
    margin: 10px 0;
    padding: 0.8em 1em;
    border: solid 3px #038a03;
    border-radius: 8px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -23px;
    left: 10px;
    padding: 10px 9px;
    line-height: 1;
    font-size: 19px;
    border-radius: 5px;
    color: white;
    background: #0084ff;
    /* color: #0084ff; */
    font-weight: bold;
}

.box27 .box-title2 {
    position: absolute;
    display: inline-block;
    top: -23px;
    left: 10px;
    padding: 10px 9px;
    line-height: 1;
    font-size: 19px;
    border-radius: 5px;
    background: rgb(228, 41, 35);
    color: white;
    font-weight: bold;
}

.box28 .box-title3 {
    position: absolute;
    display: inline-block;
    top: -23px;
    left: 10px;
    padding: 10px 9px;
    line-height: 1;
    font-size: 19px;
    border-radius: 5px;
    background: #038a03;
    color: white;
    font-weight: bold;
}
.box26 p {
    margin: 0; 
    padding: 10px;
}
.box27 p {
    margin: 0; 
    padding: 10px;
}
.box28 p {
    margin: 0; 
    padding: 10px;
}

table{
  border-collapse:separate;
  border-spacing: 5px;
  width: 100%;
  margin-bottom: 50px;
}

table th,table td{
  border-radius: 5px;
  text-align: center;
  /* padding: 10px 0; */
}

table th{
  background-color: #52c762;
  color: white;
  border:solid 1px #927141;
  line-height: 65px;
    /* padding: 10px 0; */
}

table td{
  /* background-color: #e4d4bc; */
  color: rgb(78, 77, 77);
  border:solid 1px #af9d85;
  width: 400px;
  height: 50px;
  /* line-height: 50px; */
}

.bg-white {
    background-color: #fff;
    border: 1px solid white;
}

.bg-green {
    background: rgb(86, 201, 51);
    line-height: 50px;
    font-weight: bold;
    color: white;
}

.bg-blue {
    background: rgb(90, 206, 221);
    line-height: 50px;
    font-weight: bold;
    color: white;
}

.bg-green2 {
    background: rgba(86, 201, 51, 0.507);
}

.bg-blue2 {
    background: rgba(90, 206, 221, 0.5);
}

.merit {
    margin-bottom: 100px;
    /* padding: 0 50px 0 100px; */
    margin-right: 30px;
}

.merit-flex {
    display: flex;
    position: relative;
}

.merit3 img {
    width: 17vw;
    position: absolute;
    /* position: relative; */
    /* margin-top: 50px; */
    bottom: 120px;
}

.merit2 {
    border: 2px solid green;
    margin-bottom: 20px;
    border-radius: 30px;
    padding: 10px 20px;
    width: 70vw;
}

.merit-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.merit-p {
    line-height: 20px;
}

.about-section {
    line-height: 25px;
    margin-bottom: 30px;
}

.about-section2 {
    line-height: 25px;
    margin-bottom: 30px;
}

.subtitle h3 {
    width: 300px;
    height: 50px;
    line-height: 50px;
    /* padding-left: 20px; */
    text-align: center;
    border-radius: 20px;
    background-color: #5ED079;
    color: white;
    /* text-shadow    : 
       1px  1px 1px #256600,
      -1px  1px 1px #256600,
       1px -1px 1px #256600,
      -1px -1px 1px #256600,
       1px  0px 1px #256600,
       0px  1px 1px #256600,
      -1px  0px 1px #256600,
       0px -1px 1px #256600; */
    /* opacity: 0.5; */
    margin-bottom: 50px;
}

.sub-graf {
    /* text-align: center; */
    margin: 0 auto;
    height: 300px;
}

.img-center {
    text-align: center;
    margin-bottom: 100px;
}

.footer-up {
    height: 80px;
    background-color: rgb(241, 239, 239);
    padding: 20px 50px;
    font-size: 12px;
    color: #7ACC8D;
}

.footer-up a {
    color: #7ACC8D;
}

.footer-top {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.footer-middle {
    display: flex;
    flex-direction: row;
}

.footer-bottom {
    height: 40px;
    background-color: #7ACC8D;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 2px;
    font-weight: lighter;
}

@media (max-width: 1279px) {
    .header-img {
        height: 40px;
        top: auto;
        bottom: 25%;
    }

    .header-list li {
        font-size: 80%;
        /* margin-right: 10px; */
    }

    .header-list a {
        margin-right: 10px;
    }

    .header-list {
        justify-content: flex-end;
    }
    table {
        font-size: 15px;
    }
    table th {
        line-height: 80px;
        font-size: 14px;
    }

    .merit3 img {
        width: 20vw;
        position: absolute;
        /* position: relative; */
        /* margin-top: 50px; */
        bottom: 120px;
    }

    .merit2 {
        border: 2px solid green;
        margin-bottom: 20px;
        border-radius: 30px;
        padding: 10px 20px;
        width: 68vw;
    }

}

@media (max-width:1024px) {

    header {
        width: 100%;
        /* height: 100px; */
        /* margin-bottom: 50px; */
        z-index: 100;
        background-color: #fff;
        position: fixed;
        left: 0;
        top: 0;
    }

    .container {
        margin-top: 150px;
    }

    .header-list {
    flex-direction: column;
}

    .hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 45px;
  top   : 30px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 70px;
  left : 70%;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 30%;
}

nav.globalMenuSp ul {
  background: rgb(255, 255, 255);
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  height: 70px;
  line-height: 50px;
  display: block;
  color: #000;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}

.img-item img {
    height: 160px;
}

.service-block {
    width: 700px;
    height: 150px;
    font-size: 15px;
}
.service-block2 {
    width: 240px;
    font-size: 14px;
}
.service-block3 {
    width: 420px;
    font-size: 14px;
}

table td {
    width: auto;
}
table {
    font-size: 15px;
}

}

@media (max-width:768px) {
    .img-item img {
        height: 120px;
    }

    .service-block {
        width: 500px;
        height: 160px;
        font-size: 14px;
        /* padding: 10px 0; */
    }
    .service-block2 {
        width: 500px;
        margin-bottom: 50px;
    }
    .service-block3 {
        width: 500px;
    }

    table {
        height: auto;
        font-size: 11px;
    }
    table th {
        width: 90px;
        font-size: 10px;
    }
    .merit {
        margin-top: 50px;
        padding: 0 25px;
        margin-bottom: 50px;
    }
    .merit-flex {
        flex-direction: column-reverse;
    }
    .merit2 {
        width: 450px;
    }
    .merit3 img {
        top: -80px;
        right: 50px;
        width: 25vw;
    }
}

@media (max-width:599px) {
    .about-title {
        font-size: 18px;
    }
    .about-section {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 20px;
    }
    .about-section2 {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 20px;
    }
    .img-flex {
        flex-direction: column-reverse;
        /* justify-content: cente; */
    }
    .img-prag {
        display: none;
    }
    .img-graf {
        /* text-align: center; */
        /* margin: 0 auto; */
        margin-top: 20px;
    }
    .img-item img {
        height: 23vw;
    }

    .subtitle h3 {
        font-size: 16px;
        width: 270px;
    }

    .service-block {
        width: 70vw;
        font-size: 13px;
        height: 210px;
    }
    .service-block2 {
        width: 70vw;
        font-size: 13px;
        height: 130px;
    }
    .service-block3 {
        width: 70vw;
        font-size: 13px;
        height: 170px;
    }
    td {
        padding-bottom: 20px;
        font-size: 10px;
    }
    table th {
        line-height: 60px;
    }

    .merit2 {
        width: 270px;
        
    }
    .merit-title {
        font-size: 16px;
    }
    .merit-p {
        font-size: 13px;
    }
    .merit {
        padding: 0;
        /* width: 270px; */
        margin-right: 0;
        margin-bottom: 0px;
    }
    .merit-flex {
        width: 90vw;
        flex-direction: column;
    }
    .merit2 {
        width: 80vw;
    }
    .merit3 img {
        position: static;
        width: 25vw;
        margin-left: 200px;
        /* margin-left: auto; */
        /* margin: 0 auto; */
    }
    .sub-sp h3{
        margin-bottom: 0;
    }
    .subtitle {
        /* width: 270px; */
        margin-right: 0;
    }
        .footer-up {
        font-size: 10px;
    }
}

@media (min-width:1400px) {
    table td {
        width: 500px;
    }
    .img-flex {
        justify-content: center;
    }
    .img-item {
        margin-right: 50px;
    }
}

@media (min-width: 1501px) {
    .container {
        width: 1500px;
        margin: 0 auto;
        /* background-color: rgb(238, 235, 235); */
    }
    .merit-flex {
        justify-content: center;
    }
    .merit2 {
        width: 900px;
    }
    .merit3 img {
        width: 200px;
    }
}