* {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-yellow {
    border-bottom: 2px solid #01740b;
    padding: 0 10px;
}

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

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

.container {
    margin: 0 50px;
}

.title {
    margin-top: 30px;
    border-left: 10px solid #01740b;
    height: 50px;
    margin-bottom: 50px;
}

.title h2 {
    margin-left: 10px;
    font-size: 25px;
    line-height: 50px;
}

.subtitle {
    /* margin-top: 50px; */
    text-align: center;
    width: 450px;
    margin: 0 auto;
}

.subtitle p {
    font-size: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #01740b;
}

table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 100px;
  margin-bottom: 100px;
}

table tr{
  border-bottom: solid 2px white;
}

table tr:last-child{
  border-bottom: none;
}

table th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #01740b;
  color: white;
  text-align: center;
  padding: 20px 0;
}

table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #01740b;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table td{
  text-align: left;
  width: 70%;
  /* text-align: center; */
  background-color: rgb(243, 241, 241);
  padding: 15px 0 15px 50px;
  line-height: 1.5;
}

.lh-2 {
    position: relative;
}

.lh-2-p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.lh-10 {
    position: relative;
}

.lh-10-p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.lh-6 {
    position: relative;
}

.lh-6-p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.lh-11 {
    position: relative;
}

.lh-11-p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.greeting h3 {
    font-size: 25px;
    border-bottom: 3px #01740b solid;
    /* position: relative; */
    padding: 10px 30px;
    /* width: 30vw; */
    margin-bottom: 30px;
}
/* .greeting h3::after {
    position: absolute;
    display: block;
    content: " ";
    border-bottom: solid 3px #01740b;
    bottom: -3px;
    width: 30%;
} */

.greeting-flex {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}
/* .greeting-item {
    width: 45vw;
} */
.greeting-p {
    font-size: 16px;
    width: 40vw;
    line-height: 30px;
}
.greeting-pp {
    margin-top: 10px;
    font-size: 16px;
    line-height: 25px;
    /* text-align: left; */
    margin-bottom: 50px;
    border: 5px double green;
    padding: 15px 30px;
}
.greeting-pp span {
    font-weight: bold;
}
.greeting-item img {
    width: 40vw;
}

.contact-block {
    height: 250px;
    background-image: url(../img/form.jpg);
    position: relative;
    margin-bottom: 50px;
    /* background-size: cover; */
}

.contact-block::after {
    content: "";
    background-color: #000000;
    opacity: 0.8;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.contact-z {
    position: absolute;
    z-index: 3;
    width: 100%;
}

.contact-z h3 {
    color: white;
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.contact-z p {
    color: white;
    text-align: center;
    font-size: 20px;
    margin-bottom: 35px;
}

.fromblock {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.fromweb {
    width: 350px;
    height: 100px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    line-height: 100px;
    /* color: black; */
    text-decoration: none;
}

.fromweb:hover {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}

.fromweb p {
    color: gray;
}

.fromcall {
    width: 350px;
    height: 100px;
    background-color: gray;
    border-radius: 10px;
    text-align: center;
    line-height: 100px;
    /* color: white; */
    text-decoration: none;
}

.fromcall:hover {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}

.fromcall p {
    color: white;
}

.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;
    }


}

@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%);
}

    /* .greeting-p {
        font-size: 14px;
        line-height: 23px;
    } */

    .greeting-flex {
        flex-direction: column-reverse;
        /* margin: 0 auto; */
        text-align: center;
        /* justify-content: center; */
    }
    .greeting-p {
        width: 100%;
        text-align: left;
        font-size: 14.5px;
        line-height: 23px;
        margin-top: 30px;
    }
    .greeting-item img {
        width: 60%;
        /* text-align: center; */
        /* margin: 0 auto; */
    }
    .greeting-pp {
        font-size: 14.5px;
    }

}
@media (min-width: 1025px) {
    .greeting-sp {
        display: none;
    }
}

@media (max-width:768px) {

    .container {
        margin: 0 25px;
        margin-top: 150px;
    }

    table {
        font-size: 13px;
    }
    table th {
        width: 25%;
        font-size: 12px;
    }
    table td {
        width: 75%;
    }

    .greeting-pp {
        font-size: 14px;
    }

    .fromweb {
        width: 245px;
        height: 70px;
        line-height: 70px;
    }
    .fromweb p {
        font-size: 16px;
    }
    .fromcall {
        width: 245px;
        height: 70px;
        line-height: 70px;
    }
    .fromcall p {
        font-size: 16px;
    }
}

@media (min-width: 665px) {
    .greeting-spsp {
        display: none;
    }
}

@media (max-width:599px) {

    .title h2 {
        font-size: 18px;
    }

    .subtitle {
        /* font-size: 15px; */
        width: 280px;
    }
    .subtitle p {
        font-size: 16px;
    }

    table {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    table th {
        width: 100%;
        font-size: 10px;
    }
    table td {
        width: 100%;
        font-size: 12px;
    }
    .lh-sp {
        padding: 15px 0 15px 10px;
    }
    th, td {
        width: 100%;
        display: block;
    }

    .greeting h3 {
        font-size: 18px;
    }
    .greeting-p {
        font-size: 14px;
    }
    .greeting-pp {
        font-size: 12px;
        padding: 15px 10px;
    }

    .contact-block {
        height: 200px;
    }
    .contact-z p{
        font-size: 15px;
    }
    .fromweb {
        width: 140px;
        height: 40px;
        line-height: 40px;
    }
    .fromweb p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .fromcall {
        width: 140px;
        height: 40px;
        line-height: 40px;
    }
    .fromcall p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-up {
        font-size: 10px;
    }
}

@media (min-width: 1501px) {
    .container {
        width: 1500px;
        margin: 0 auto;
        /* background-color: rgb(238, 235, 235); */
    }
    .greeting-p {
        width: 600px;
    }
    .greeting-item img {
        width: 500px;
    }
    .contact-block {
        width: 1500px;
        margin: 0 auto;
        margin-bottom: 50px;
    }
}