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

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

.cost-block {
    width: 1000px;
    height: 700px;
    /* text-align: center; */
    margin: 0 auto;
    background-color: #5ED079;
    padding: 30px 50px;
    position: relative;
}

h4 {
    text-align: center;
    font-size: 30px;
    color: white;
    font-weight: bold;
}

.cost-p {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.cost-p span {
    font-size: 16px;
}

.cost-question {
    text-align: center;
    margin-top: 50px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

:focus {
  outline: 1px solid rgb(255, 255, 255);
}
input[type="text"] {
  margin: 0 0 15px;
  padding: 8px 10px;
  border: 1px solid #d0d1d3;
}
button {
  padding: 8px 15px;
  background: #3528acbd;
  color: #fff;
  border: none;
  /* text-align: center; */
  /* margin: 0 auto; */
}

.b-block {
    text-align: center;
}

.cp-img {
    /* width: 5vw; */
    position: absolute;
    bottom: 20%;
}
.cp-img img {
    width: 20vw;
}

.cp_ipselect {
	overflow: hidden;
	width: 300px;
	margin: 2em auto;
	text-align: center;
    /* display: flex; */
}

/* .cp-iptxt img {
    width: 10vw;
} */

.ef {
    height: 40px;
    width: 150px;
    text-align: center;
    /* color: green; */
    font-weight: bold;
    font-size: 18px;
    border: 0px solid black;
}

label {
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: bold;
    /* text-shadow:
    1px 0 0 black,
    0 1px 0 black,
    -1px 0 0 black,
    0 -1px 0 black */
}

/* .cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
} */
/* .cp_ipselect select::-ms-expand {
    display: none;
} */
/* .cp_ipselect.cp_sl05 {
	position: relative;
	border-radius: 2px;
	background: #4c3cda;
} */
/* .cp_ipselect.cp_sl05::before {
	position: absolute;
	top: 0.8em;
	right: 0.8em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #ffffff;
	pointer-events: none;
} */
/* .cp_ipselect.cp_sl05 select {
	padding: 8px 38px 8px 8px;
	color: #ffffff;
} */

/* option::after {
    color: red;
    font-size: 20px;
    background-color: white;
} */

/* option {
    height: 200px;
    overflow-y: scroll;
} */

.formtext {
    /* width: 300px; */
    text-align: center;
    /* margin: 0 auto; */
    padding: 0 200px;
}

#form-text {
    /* width: 300px; */
    /* text-align: center; */
    padding-bottom: 5px;
    margin-top: 30px;
    font-size: 22px;
    border-bottom: 2px solid white;
    color: rgb(229, 255, 0);
    font-weight: bold;
}

.btn2 {
    text-align: center;
    margin-top: 30px;
}

.btn-square-shadow2 {
  display: inline-block;
  width: 300px;
  height: 70px;
  /* padding: 0.5em 1em; */
  text-decoration: none;
  background: #ffffff;/*ボタン色*/
  color: rgb(21, 156, 33);
  border-bottom: solid 4px #bebdbd;
  border-radius: 3px;
  text-align: center;
  line-height: 65px;
  font-weight: bold;
}

.btn-square-shadow2:hover {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;
}

.btn-square-shadow3 {
  display: inline-block;
  width: 300px;
  height: 70px;
  /* padding: 0.5em 1em; */
  text-decoration: none;
  background: #ffffff;/*ボタン色*/
  color: #1a662c;
  border-bottom: solid 4px #bebdbd;
  border-radius: 3px;
  text-align: center;
  line-height: 65px;
  font-weight: bold;
}

.btn-square-shadow3:hover {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;
}

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

/* .cp_ipselect option {
    text-align: center;
} */

.subtitle h3 {
    width: 250px;
    height: 50px;
    line-height: 50px;
    /* padding-left: 20px; */
    border-radius: 20px;
    background-color: #107e0d98;
    text-align: center;
    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;
}

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

    .cost-block {
        width: 80vw;
        height: 800px;
    }

    .formtext {
        padding: 0;
    }


}

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

h4 {
    font-size: 25px;
}
.cost-p {
    font-size: 18px;
    line-height: 27px;
}

.cp-img {
    /* width: 5vw; */
    position: absolute;
    bottom: 25%;
    left: 3%;
}
.cp-img img {
    width: 22vw;
}

.btn-square-shadow2 {
    width: 30vw;
    font-size: 13px;
}
.btn-square-shadow3 {
    width: 30vw;
    font-size: 13px;
}

}

@media (min-width: 1280px) {
    .cost-p br {
        display: none;
    }
}

@media (max-width: 768px) {
    .cost-block {
        padding: 30px 30px;
        height: 775px;
    }
    .cp-img {
        /* width: 5vw; */
        position: absolute;
        bottom: 35%;
        left: -5%;
    }
    .cp-img img {
        width: 25vw;
    }
    .cost-p {
        font-size: 15px;
        margin-top: 15px;
        line-height: 23px;
    }
    .cost-question {
        margin-top: 30px;
        font-size: 16px;
    }
    #form-text {
        font-size: 18px;
    }
    .btn-flex {
        /* flex-wrap: wrap; */
        flex-direction: column;
    }
    .btn-square-shadow2 {
        width: 50vw;
        font-size: 15px;
        margin-bottom: 15px;
    }
    .btn-square-shadow3 {
        width: 50vw;
        font-size: 15px;
        margin-bottom: 15px;
    }
}

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

@media (max-width: 599px) {
    .about-title {
        font-size: 18px;
        width: 280px;
    }
    .container {
        margin: 150px 15px 50px 15px;
    }
    .cost-block {
        width: 85vw;
        padding: 30px 10px;
    }
    .cost-block h4 {
        font-size: 20px;
    }
    .cost-p {
        font-size: 3vw;
        line-height: 4vw;
        font-weight: normal;
    }
    .cost-p span {
        font-size: 13px;
    }
    .cost-question {
        line-height: 20px;
        font-weight: normal;
    }
    .cp-img {
        /* width: 5vw; */
        position: absolute;
        bottom: 37%;
        left: -5%;
    }
    .cp-img img {
        width: 25vw;
    }

    #form-text {
        font-size: 15px;
    }
    .btn-square-shadow2 {
        width: 60vw;
        font-size: 13px;
        margin-bottom: 15px;
    }
    .btn-square-shadow3 {
        width: 60vw;
        font-size: 13px;
        margin-bottom: 15px;
    }

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

@media (max-width:500px) {
    .cost-p {
        font-size: 13px;
        line-height: 17px;
        font-weight: lighter;
    }
    .cp_ipselect {
        margin-left: 18%;
    }
    label {
        font-size: 15px;
    }
    /* .cp-iptxt {
        font-size: 14px;
    } */
    .cp-img {
        /* width: 5vw; */
        position: absolute;
        bottom: 45%;
        left: 2%;
    }
    .cp-img img {
        width: 26vw;
    }
}

@media (min-width: 1501px) {
    .container {
        width: 1500px;
        margin: 0 auto;
        /* background-color: rgb(238, 235, 235); */
        margin-bottom: 50px;
    }
    .cp-img {
        /* width: 5vw; */
        position: absolute;
        bottom: 25%;
        left: 3%;
    }
    .cp-img img {
        width: 270px;
    }
}