* {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;
}

.title {
    margin-top: 30px;
    border-left: 10px solid #ff8800;
    height: 50px;
    /* margin-bottom: 50px; */
}

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

.p-title {
    font-size: 12px;
    margin-left: 20px;
    font-weight: bold;
    margin-bottom: 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 #ff8800;
}

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: #ff8800;
  opacity: 0.7;
  color: white;
  text-align: center;
  height: 60px;
  line-height: 60px;
  /* padding: 20px 0; */
}

.firstname {
    display: inline-block;
    font-size: 13px;
    margin-right: 15px;
}

.middlename {
    display: inline-block;
    font-size: 13px;
    margin-right: 15px;
}

.name {
    height: 30px;
    width: 150px;
    border: 1px solid rgb(201, 198, 198);
    border-radius: 5px;
}

.person {
    height: 30px;
    width: 300px;
    border: 1px solid rgb(201, 198, 198);
    border-radius: 5px;
}

.hyphen {
    display: inline-block;
    font-size: 12px;
    padding-left: 20px;
}

.tellphone {
    height: 30px;
    width: 300px;
    border: 1px solid rgb(201, 198, 198);
    border-radius: 5px;
}

.email {
    height: 30px;
    width: 300px;
    border: 1px solid rgb(201, 198, 198);
    border-radius: 5px;
}

textarea {
    width: 700px;
    resize: both;
    max-height: 300px;
    max-width: 700px;
}

.required {
    background-color: #fff;
    color: #ff8800;
    font-size: 15px;
    padding: 3px 8px;
    margin-left: 10px;
    border-radius: 3px;
    /* line-height: 60px; */
}

.company {
    font-size: 10px;
    margin-left: 5px;
    font-weight: lighter;
}

/* table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #6200FF;
  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%);
}

.contact-form {
    height: 150px;
    line-height: 150px;
}

.contact-form th {
    height: 150px;
    line-height: 150px;
}

.reset-right {
    text-align: right;
    margin: 20px 0 50px 0;
    /* width: 200px; */
}

.reset {
    width: 150px;
    height: 40px;
    background-color: #ff8800;
    color: white;
    border-radius: 5px;
}

.reset:hover {
    cursor: pointer;
    background-color: #ff8800;
}

.btn-square-pop {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 120px;
  position: relative;
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #FFF;
  background: #ff8800;/*背景色*/
  border-bottom: solid 2px #d37102;/*少し濃い目の色に*/
  border-radius: 4px;/*角の丸み*/
  /* box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19); */
  font-weight: bold;
  text-align: center;
  outline: none;
  /* text-decoration: none; */
  /* transform: translateX(-80%); */
}

.btn-square-pop:hover {
    cursor: pointer;
}

.btn-square-pop:active {
  border-bottom: solid 2px #ff8800;
  /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.30); */
  transform: translateY(3%);
} 

.person-promise {
    height: 250px;
    /* background-image: url(../img/test.jpg); */
    position: relative;
    margin-bottom: 50px;
    background-color: #ff8800;
    opacity: 0.8;
    margin-bottom: 50px;
    /* background-size: cover; */
}

/* .person-promise::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%;
}

.person-promise h2 {
    color: white;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
    margin-bottom: 15px;
}

.promise-block {
    color: white;
    text-align: center;
    font-size: 15px;
    margin-bottom: 35px;
}

.text-block {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-60%);
}

.promise-text {
    /* text-align: center; */
    color: #000;
    width: 900px;
    background: #fff;
    padding: 20px;
    font-size: 13px;
    height: 120px;
    overflow-y: scroll;
    letter-spacing: 2px;
    line-height: 20px;
}

.btn-container {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 50px;
}

/* .contact-btn {
  text-align: center;
  padding: 10px 50px;
  font-size: 15px;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  border: 1px solid white;
  background-color: rgb(246, 131, 131);
} */

.contact-btn {
  display: inline-block;
  /* width: 280px; */
  /* text-align: center; */
  text-align: left;
  border: 2px solid #ff8800;
  font-size: 16px;
  color: #ff8800;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 50px;
  border-radius: 5px;
  transition: .4s;
  /* box-shadow: none !important; */
  outline: none;
  background-color: #fff;
}

.contact-btn:hover {
  background-color: #ff8800;
  /* background-color: blue; */
  border-color: #ff8800;
  color: #FFF;
  cursor: pointer;
}

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

    textarea {
        width: 45vw;
    }


}

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

.name {
    width: 15vw;
}

table th {
    font-size: 13px;
    width: 35%;
}
table td {
    width: 65%;
    font-size: 15px;
}

.promise-text {
    width: 70vw;
}

}

@media (max-width: 768px) {
    table {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    table th {
        width: 100%;
        font-size: 15px;
        height: 50px;
        line-height: 50px;
    }
    table td {
        width: 100%;
        font-size: 15px;
        /* height: 80px; */
        line-height: 50px;
        padding: 15px 50px 15px 50px;
    }
    .contact-sp {
        height: 80px;
    }
    .lh-sp {
        padding: 15px 0 15px 10px;
    }
    th, td {
        width: 100%;
        display: block;
    }
    .company {
        font-size: 12px;
    }
    .contact-form th {
        height: 50px;
    }
    textarea {
        height:200px;
        /* margin: 0 50px; */
        width: 100%;
        /* margin: 0 auto; */
    }
    .container {
        margin: 0 50px;
    }
}

@media (max-width:599px) {
    .title h2 {
        font-size: 18px;
    }

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

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

    table {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    table th {
        width: 100%;
        font-size: 13px;
    }
    table td {
        width: 100%;
        font-size: 12px;
        padding: 15px 20px 15px 20px;
    }
    .lh-sp {
        padding: 15px 0 15px 10px;
    }
    th, td {
        width: 100%;
        display: block;
    }
    .person, .tellphone, .email {
        width: 50vw;
    }
    .name {
        width: 20vw;
    }
    .firstname, .middlename {
        font-size: 12px;
        margin-right: 5px;
    }
    .hyphen {
        font-size: 10px;
        padding-left: 5px;
    }
    .check {
        font-size: 12px;
    }

    .person-promise {
        border-radius: 5px;
        height: 240px;
    }

    .person-promise h2 {
        font-size: 18px;
        padding-top: 20px;
        margin-bottom: 5px;
    }
    .promise-block {
        font-size: 13px;
    }
    .promise-text {
        font-size: 11px;
        border-radius: 10px;
    }
        .footer-up {
        font-size: 10px;
    }
}

@media (min-width: 410px) {
    .contact-sp br {
        display: none;
    }
}

@media (max-width: 409px) {
    .lh-10-sp {
        height: 130px;
    }
}

@media (min-width: 1501px) {
    .container {
        width: 1500px;
        margin: 0 auto;
        /* background-color: rgb(238, 235, 235); */
    }
}