@charset "utf-8";

/* --------------------------------------------

service

---------------------------------------------- */ 
.contents .contentsTitle {
  margin-bottom: 8em;
}

.serviceBox {
  display: flex;
  position: relative;
  width: 90%; max-width: 1356px;
  margin: 0 auto 12em;
}
@media screen and (max-width:1024px){
.serviceBox {
  display: block;
}
}

.serviceBox__image {
  width: 70%; max-width: 782px;
}
@media screen and (max-width:1024px){
.serviceBox__image {
  width: 100%;
}
}

.serviceBox__image img {
  display: block;
  width: 100%;
}


.serviceBox__box {
  position: relative;
  padding-top: 5em;
}
@media screen and (max-width:1024px){
.serviceBox__box {
  width: 100%;
  margin: 0 auto;
  padding-top: 2em;
}
}

.serviceBox__description {
  position: relative;
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  font-family: yu-mincho-pr6, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px; font-size: 2rem;
}
.serviceBox__description::after {
  display: block;
  content: "";
  width: 26px;
  height: 2px;
  background: #000;
}

.serviceBox__head {
  box-sizing: border-box;
  width: 85px;
  margin-bottom: 1.5em;
  padding: 0.15em;
  font-size: 14px; font-size: 1.4rem;
  text-align: center;
  color: #fff;
  background: #AEAB44;
}

.serviceBox__list {
  font-size: 14px; font-size: 1.4rem;
}

.serviceBox__item {
  margin-bottom: 0.5em;
}

.serviceBox__textBox p {
  text-align: right;
  font-size: 14px; font-size: 1.4rem;
  line-height: 2.2;
}

.serviceBox-1 .serviceBox__heading {
  position: absolute; top: -1em; left: -4em;
  width: 100%; max-width: 450px;
}
@media screen and (max-width:1024px){
.serviceBox-1 .serviceBox__heading {
  position: static;
  width: 80%; max-width: 300px;
  margin-bottom: 1em;
}
}

.serviceBox-1 .serviceBox__heading img {
  display: block;
  width: 100%;
}

.serviceBox-1 .serviceBox__description::after {
  position: absolute; bottom: 0; left: 0;
}

.serviceBox-1 .serviceBox__image {
  margin-right: 2em;
}
@media screen and (max-width:1024px){
.serviceBox-1 .serviceBox__image {
  margin: auto;
}
}

.serviceBox-2 {
  flex-flow: row-reverse;
}
@media screen and (max-width:1024px){
.serviceBox-2 {
  flex-flow: row;
}
}

.serviceBox-2 .serviceBox__heading {
  position: absolute; top: -1em; right: -4em;
  width: 100%; max-width: 378px;
}
@media screen and (max-width:1024px){
.serviceBox-2 .serviceBox__heading {
  position: static;
  width: 80%; max-width: 280px;
  margin: 0 0 1em auto;
}
}

.serviceBox-2 .serviceBox__heading img {
  display: block;
  width: 100%;
}


.serviceBox-2 .serviceBox__description {
  text-align: right;
}

.serviceBox-2 .serviceBox__description::after {
  position: absolute; bottom: 0; right: 0;
}

.serviceBox-2 .serviceBox__image {
  margin-left: 2em;
}
@media screen and (max-width:1024px){
.serviceBox-2 .serviceBox__image {
  margin: auto;
}
}

