/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */


/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {

.servicelist {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}
.servicelist .servicebody {
  width:45%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin:0 2.5% 5%;
}
.servicelist .servicebody img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}
.servicelist .servicebody h3 {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 1em;
  color:var(--color-1st);
  margin-bottom: 0.6em;
  order:2;
}
.servicelist .servicebody h4 {
  font-size: clamp(14px, 2.5vw, 100px);
  font-weight: 500;
  line-height: 1em;
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  color:var(--color-1st);
  margin-bottom: 0.3em;
  order:1;
}
.servicelist .servicebody p {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  line-height: 2em;
  color:var(--color-black);
  margin-bottom: 1em;
  order:3;
}
.servicelist .servicebody h5 {
  width: 100%;
  height: auto;
  display: block;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1em;
  color:var(--color-1st);
  padding:0.3em;
  background-color: var(--color-f0);
  border-radius: 5px;
  margin-bottom: 0.8em;
  order:4;
}
.servicelist .servicebody .service-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  order:5;
}
.servicelist .servicebody .service-wrap a {
  width: fit-content;
  height: auto;
  display: block;
  font-size:12px;
  line-height: 1em;
  text-decoration: none;
  color:var(--color-666);
  padding:0.3em 0.8em;
  border: 1px solid var(--color-999);
  border-radius: 3px;
  margin:0 2.5px 5px;
}

}

/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

.servicelist {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}
.servicelist .servicebody {
  width:45%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin:0 2.5% 5%;
}
.servicelist .servicebody img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}
.servicelist .servicebody h3 {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 1em;
  color:var(--color-1st);
  margin-bottom: 0.6em;
  order:2;
}
.servicelist .servicebody h4 {
  font-size: clamp(14px, 2.5vw, 100px);
  font-weight: 500;
  line-height: 1em;
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  color:var(--color-1st);
  margin-bottom: 0.3em;
  order:1;
}
.servicelist .servicebody p {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  line-height: 2em;
  color:var(--color-black);
  margin-bottom: 1em;
  order:3;
}
.servicelist .servicebody h5 {
  width: 100%;
  height: auto;
  display: block;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1em;
  color:var(--color-1st);
  padding:0.3em;
  background-color: var(--color-f0);
  border-radius: 5px;
  margin-bottom: 0.8em;
  order:4;
}
.servicelist .servicebody .service-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  order:5;
}
.servicelist .servicebody .service-wrap a {
  width: fit-content;
  height: auto;
  display: block;
  font-size:12px;
  line-height: 1em;
  text-decoration: none;
  color:var(--color-666);
  padding:0.3em 0.8em;
  border: 1px solid var(--color-999);
  border-radius: 3px;
  margin:0 2.5px 5px;
}

}


/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {

.servicelist {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction:column;
}
.servicelist .servicebody {
  width:100%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin:0 0 50px;
}
.servicelist .servicebody img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}
.servicelist .servicebody h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1em;
  color:var(--color-1st);
  margin-bottom: 0.6em;
  order:2;
}
.servicelist .servicebody h4 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1em;
  font-family: var(--font-en);
  letter-spacing: -0.02em;
  color:var(--color-1st);
  margin-bottom: 0.3em;
  order:1;
}
.servicelist .servicebody p {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  line-height: 2em;
  color:var(--color-black);
  margin-bottom: 1em;
  order:3;
}
.servicelist .servicebody h5 {
  width: 100%;
  height: auto;
  display: block;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1em;
  color:var(--color-1st);
  padding:0.5em;
  background-color: var(--color-f0);
  border-radius: 5px;
  margin-bottom: 0.8em;
  order:4;
}
.servicelist .servicebody .service-wrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  order:5;
}
.servicelist .servicebody .service-wrap a {
  width: fit-content;
  height: auto;
  display: block;
  font-size:12px;
  line-height: 1em;
  text-decoration: none;
  color:var(--color-666);
  padding:0.3em 0.8em;
  border: 1px solid var(--color-999);
  border-radius: 3px;
  margin:0 2.5px 5px;
}

}
