@charset "UTF-8";

/* ================================================
  製品・サービス
================================================ */
/*--　一覧　--*/
#products .lead {
  max-width: 100%;
  margin: auto auto 40px;
}

#products .gradBox dl,
#recruit .gradBox dl,
#news .gradBox dl{
  height: 100%;
  display: flex;
  flex-direction: column;
}

#products .gradBox dd,
#recruit .gradBox dd,
#news .gradBox dd{
  display: flex;
}

#products .gradBox a dl dt {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
}

#products .gradBox a dl dt img {
  height: 189px;
  width: auto;
}

@media screen and (max-width:768px) {
  #products .gradBox a dl dt img {
    height: 200px;
    object-fit: cover;
  }

  .products h1 {
    padding: 20px;
  }
}

/*--　詳細　--*/
.single.products .editor > *:first-child {
  margin-top: 0;
}

.single.products .wp-block-columns {
  margin: 0;
}

/*
.single.products p {
  margin: 20px 0;
}
*/

.single.products p.tag_gp {
  margin: 0;
}

.single.products p.tag_gp + ul {
  margin: 10px 0 20px;
}

.single.products ul.list02 {
  margin-bottom: 0;
}

.single.products ul.list02 + ul.list02 {
  margin-top: 0;
}

.single.products ul.list02 li {
  padding-left: 0;
}

.single.products .flex.flexNW {
  width: 71%;
  margin-left: auto;
  text-align: left;
}

.single.products .flex.flexNW p {
  margin: 30px 0;
}

.single.products ul li > ul {
  margin: 0;
}

.single.products ul li > ul li::before {
  content: "";
  background: #FFF;
  border: solid 2px #005B94;
  width: 0.4em;
  height: 0.4em;
  display: block;
  position: absolute;
  border-radius: 100px;
  left: 0;
  top: 0.6em;
}

.single.products dl.type01 dt {
  flex-shrink: 0;
  width: 25%;
}

.single.products .flex.clm4 {
  flex-wrap: wrap;
}

.single.products .flex.clm4 figure {
  width: calc(100%/4 - 30px);
  border: 2px solid #346991;
  padding: 10px;
  margin: 5px auto;
}

.single.products .flex.clm4 figcaption {
  text-align: left;
  font-size: 0.8em;
  font-weight: bold;
  margin-top: 0.5em;
}

.single.products ul.flex.clm4 li::before {
  content: none;
}

.single.products ul.flex.clm4 {
  justify-content: space-around;
}

.single.products ul.flex.clm4 li {
  text-align: center;
  width: calc(100%/4 - 10px);
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.8em;
  border-radius: 50%;
  line-height:1.2;
}

.single.products ul.flex.clm4 li:first-child {
  background: #585656;
}

.single.products ul.flex.clm4 li:nth-child(2) {
  background: #DA322B;
}

.single.products ul.flex.clm4 li:nth-child(3) {
  background: #581F7D;
}

.single.products ul.flex.clm4 li:last-child {
  background: #EEB031;
  line-height: 1.2;
  padding: 20px 0;
  font-size: 1.5em;
}


@media screen and (max-width: 768px) {
  .single.products .flex.fw33 > * {
    width: 100%;
    max-width: 100%;
    margin: auto;
  }

  .single.products .flex.clm4 figure {
    width: 40%;
  }

  .single.products ul.flex.clm4 li {
    width: 96%;
    padding: 20px 0;
    border-radius: 50%;
    font-size: 1.5em;
  }
}
