/* ===============================
service
=============================== */

/* ===============================
pg_intro
=============================== */
.pg_intro {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.pg_intro_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -2%);
  text-align: center;
}
.pg_intro_text_1 {
  margin-bottom: 50px;
  width: 712px;
}
.pg_intro_text_2 {
  font-size: calc(18 / 16 * 1rem);
  color: #fff;
  letter-spacing: 0.2em;
  line-height: 2.2;
}
.pg_intro_text_bg {
  background-color: rgba(7, 163, 62, 0.5);
  padding: 0.2em 0.3em 0.2em 0.5em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* SP調整 ------------------ */
@media screen and (max-width:768px) {
  .pg_intro {
    margin-top: 55px;
  }
  .pg_intro_text {
    top: 39%;
    transform: translate(-50%, 0);
  }
  .pg_intro_text_1 {
    margin-bottom: 2.5vw;
    width: 88.75vw;
  }
  .pg_intro_text_2 {
    width: fit-content;
    margin: 0 auto;
    padding: 6.25vw 0 0 0;
    font-size: 5vw;
    letter-spacing: 0.1em;
    line-height: 2.4;
    text-align: left;
  }
  .pg_intro_text_bg {
    padding: 0.2em 0.2em 0.2em 0.4em;
  }
}

/* ===============================
pg_service
=============================== */
.pg_service_inner {
  max-width: 978px;
  margin: 0 auto;
  padding: 60px 0 0;
}


/*トキワ追加*/
.pg_service_inner {
	padding: 0;
}

.pg_service_header {
  margin-bottom: 85px;
  text-align: center;
}
.pg_service_title {
  margin-bottom: 20px;
  padding-left: 0.1em;
  font-size: calc(40 / 16 * 1rem);
  letter-spacing: 0.1em;
  color: var(--color_green);
}
.pg_service_discription {
  padding-left: 0.05em;
}
.pg_service_lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, 224px);
  justify-content: center;
  align-items: stretch;
  width: min(978px, 100%);
  gap: 35px 26px;
  margin: 0 auto;
}
.pg_service_item_link {
  display: block;
}
.pg_service_item_img {
  position: relative;
  margin-bottom: 35px;
  border-radius: 28px;
  overflow: hidden;
}
.pg_service_item_img img {
  display: block;
}
.pg_service_item_icon {
  display: inline-block;
  position: absolute;
  left: 20px;
  bottom: 62px;
}
.pg_service_item_category {
  margin-bottom: 15px;
}
.pg_service_item_category .en {
  display: block;
  margin-bottom: 21px;
}
.pg_service_item_category .en img {
  display: block;
  margin: 0 auto;
}
.pg_service_item_category .ja {
  display: block;
  text-align: center;
}
.pg_service_item_text {
  line-height: 2.05;
}

/* SP調整 ------------------ */
@media screen and (max-width:768px) {
  .pg_service_inner {
    padding: 64px 25px 0;
  }

	/*トキワ追加*/
	.pg_service_inner {
		padding: 0 25px;
	}

  .pg_service_header {
    margin-bottom: 60px;
  }
  .pg_service_title {
    margin-bottom: 26px;
    font-size: calc(32 / 16 * 1rem);
  }
  .pg_service_discription {
    padding-left: 0;
    text-align: left;
  }
  .pg_service_lists {
    grid-template-columns: repeat(auto-fit, 224px);
    gap: 35px 26px;
  }
  .pg_service_item_img {
    margin-bottom: 35px;
    border-radius: 28px;
  }
  .pg_service_item_category {
    margin-bottom: 15px;
  }
  .pg_service_item_category .en {
    display: block;
    margin-bottom: 21px;
  }
  .pg_service_item_category .en img {
    width: auto;
    height: auto;
  }
  .pg_service_item_category .ja {
    display: block;
    text-align: center;
  }
  .pg_service_item_text {
    line-height: 2.05;
    letter-spacing: 0.1em;
  }
}

/* ===============================
pg_service_link
=============================== */
.pg_service_link {
  margin-top: 82px;
}
.pg_service_link a {
  display: block;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px calc(10px - 0.1em) 14px 10px;
  border-radius: 14px;
  background-color: var(--color_green);
  color: #fff;
  font-size: calc(20 / 16 * 1rem);
  letter-spacing: 0.1em;
  text-align: center;
}

/* hoverデバイス ----------- */
@media (any-hover: hover) {
  .pg_service_item_link {
    transition: transform .25s, opacity .25s;
  }
  .pg_service_item_link:hover {
    transform: translateY( -15px);
  }
  .pg_service_item_link .pg_service_item_img img {
    transition: transform .3s;
  }
  .pg_service_item_link:hover .pg_service_item_img img {
    transform: scale(1.1, 1.1);
  }
}

/* SP調整 ------------------ */
@media screen and (max-width:768px) {
  .pg_service_link {
    margin-top: 62px;
  }
  .pg_service_link a {
    display: block;
    max-width: 230px;
    margin: 0 auto;
    padding: 9px calc(10px - 0.1em) 9px 10px;
    font-size: calc(17 / 16 * 1rem);
  }
}
