/* ----------------------------------
outline
---------------------------------- */
#outline .bg {
  width: 100%;
  height: 27rem;
  background: url(../img/asbestos/outline_bg.jpg) center/cover no-repeat;
  /* background-attachment: fixed; */
}
@media screen and (max-width: 767px) {
  #outline .in {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 18.2rem;
  }
  #outline .flex-img {
    margin: 0 auto 4rem;
  }
  #outline .flex-txt .ttl-h2 {
    position: absolute;
    left: 1.5rem;
    top: 7rem;
  }
  #outline .bg {
    height: 18rem;
  }
}

/* ----------------------------------
service-details
---------------------------------- */
#service-details {
  background: var(--color-bg);
}
#service-details .block {
  position: relative;
  padding: 3rem 4rem 4rem;
  background: var(--color-white);
  width: 70rem;
}
#service-details .block:nth-of-type(even) {
  margin-left: auto;
}
#service-details .block + .block {
  margin-top: 6rem;
}
#service-details .block .img {
  position: absolute;
  top: 0;
  width: 38rem;
  height: 24rem;
  overflow: hidden;
}
#service-details .block .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#service-details .block:nth-of-type(even) .img {
  left: -42rem;
}
#service-details .block:nth-of-type(odd) .img {
  right: -42rem;
}
#service-details .block .ttl-h3 {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 2.4rem;
  font-weight: var(--bold);
  line-height: 1.2;
}
#service-details .block .ttl-h3 span {
  font-family: var(--font-en);
  font-size: 4.8rem;
  font-weight: var(--semibold);
  color: var(--color-blue);
}
#service-details .block .item {
  margin-top: 2rem;
}
#service-details .block .item + .item {
  margin-top: 3.3rem;
}
#service-details .block .item .ttl-h4 {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.1rem;
  font-size: 2rem;
  font-weight: var(--bold);
  color: var(--color-blue);
}
#service-details .block .item .ttl-h4 span {
  padding: 0.7rem 1.3rem;
  background: var(--color-blue);
  font-size: 1.6rem;
  font-weight: var(--medium);
  color: var(--color-white);
}
#service-details .block .item table {
  margin-top: 1.6rem;
}
#service-details .block .item table th,
#service-details .block .item table td {
  font-size: 1.6rem;
  line-height: 1.5;
  border: 1px solid #7FB3DA;
  padding: 1.3rem 4.4rem;
}
#service-details .block .item table th {
  background: #ECF0F4;
  padding: 0 2.2rem;
  text-align: center;
  font-weight: var(--medium);
  color: var(--color-blue);
}
@media screen and (max-width: 767px) {
  #service-details .block {
    width: 100%;
    padding: 2.4rem 2rem 3.4rem;
  }
  #service-details .block .img {
    position: relative;
    top: auto;
    right: auto !important;
    left: auto !important;
    width: 100%;
    height: 20.1rem;
  }
  #service-details .block .ttl-h3 {
    display: block;
    margin-bottom: 2.5rem;
  }
  #service-details .block .ttl-h3 span {
    display: block;
  }
  #service-details .block .item {
    margin-top: 3rem !important;
  }
  #service-details .block .item .ttl-h4 {
    display: block;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  #service-details .block .item .ttl-h4 span {
    display: block;
    width: max-content;
    margin-bottom: 0.8rem;
    line-height: 1;
  }
  #service-details .block .item table {
    margin-top: 2.4rem;
  }
  #service-details .block .item table th, 
  #service-details .block .item table td {
    font-size: 1.4rem;
    padding: 1.1rem 1.9rem;
  }
  #service-details .block .item table th {
    min-width: 13.8rem;
    padding: 1.1rem;
  }
}

/* ----------------------------------
flow
---------------------------------- */
#flow .item {
  padding-right: 4rem;
}
#flow .item .flex-txt {
  width: 100%;
}
#flow .item .flex-txt .box {
  margin-top: 1.9rem;
}
#flow .item .flex-txt .ttl-h3 {
  display: block;
  padding: 0;
  font-size: 1.6rem;
  font-weight: var(--medium);
  color: var(--color-blue);
  text-align: left;
  line-height: 1.2;
}
#flow .item .flex-txt .ttl-h3::before,
#flow .item .flex-txt .ttl-h3::after {
  content: none;
}
#flow .item .flex-txt .box .chart {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3.4rem 1rem;
  margin-top: 1rem;
}
#flow .item .flex-txt .box .chart dl {
  position: relative;
  margin: 0;
  background: var(--color-bg-2);
  padding: 2rem;
}

#flow .item .flex-txt .box .chart dl + dl::before {
  position: absolute;
  left: 50%;
  top: -2.6rem;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.8rem 2.5rem 0 2.5rem;
  border-color: var(--color-blue) transparent transparent transparent;
  transform: translateX(-50%);
}
#flow .item .flex-txt .box .chart dt,
#flow .item .flex-txt .box .chart dd {
  font-size: 1.6rem;
  line-height: 1.8;
}
#flow .item .flex-txt .box .chart dt {
  padding: 0;
  color: var(--color-txt);
  font-weight: var(--bold);
}
#flow .item .flex-txt .box .chart dt::after {
  content: none;
}
#flow .item .flex-txt .box .chart dd {
  margin: 0;
  padding: 0;
  background: none;
}
#flow .item .flex-txt .box .chart dl:nth-of-type(1) {
  width: 100%;
}
#flow .item .flex-txt .box .chart dl:nth-of-type(2) {
  width: 26rem;
}
#flow .item .flex-txt .box .chart dl:nth-of-type(4),
#flow .item .flex-txt .box .chart dl:nth-of-type(5) {
  width: calc(100% - 26rem - 1rem);
}
#flow .item .flex-txt .box .chart dl:nth-of-type(6),
#flow .item .flex-txt .box .chart dl:nth-of-type(7) {
  width: calc((100% - 26rem - 1rem) / 2 - 0.5rem);
}
#flow .item .flex-txt .box .chart dl + .txt {
  width: 100%;
  font-size: 1.3rem;
  margin-top: -2.5rem;
  text-align: right;
}
#flow .item .flex-txt .txt + dl + .txt {
  margin-top: 1.6rem;
}
#flow .item.item3 .flex-txt .box {
  margin-top: 2.6rem;
}
#flow .item.item3 .flex-txt .box dt {
  padding: 0;
  font-size: 1.8rem;
  font-weight: var(--bold);
  line-height: 1.2;
}
#flow .item.item3 .flex-txt .box dt::after {
  content: none;
}
#flow .item.item3 .flex-txt .box dd {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.8rem;
  margin-top: 0.6rem;
  background: none;
  padding: 0;
}
#flow .item.item3 .flex-txt .box dd p {
  position: relative;
  padding: 0.6rem 1.9rem;
  background: var(--color-bg-2);
  font-weight: var(--medium);
}
#flow .item.item3 .flex-txt .box dd p + p::before {
  position: absolute;
  top: 50%;
  left: -2rem;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.2rem 0 1.2rem 1.2rem;
  border-color: transparent transparent transparent #96c4a0;
  transform: translateY(-50%);
}
#flow .item.item3 .flex-txt .box dd p:nth-of-type(6) {
  margin-left: 2.7rem;
}
@media screen and (max-width: 767px) {
  #flow .item {
    padding-right: 2rem;
  }
  #flow .item .flex-txt .box {
    margin-top: 2.9rem;
  }
  #flow .item .flex-txt .box .chart dl {
    width: 100% !important;
  }
  #flow .item .flex-txt .box .chart dt,
  #flow .item .flex-txt .box .chart dd {
    font-size: 1.4rem;
  }
  #flow .item .flex-txt .chart .ttl-h3.sp {
    margin-top: -0.7rem;
    margin-bottom: -2.4rem;
  }
  #flow .item .flex-txt .box .chart dl:nth-of-type(6),
  #flow .item .flex-txt .box .chart dl:nth-of-type(7) {
    width: calc(50% - 0.5rem) !important;
  }
  #flow .item .flex-txt .box .chart dl + .txt {
    text-align: left;
  }
  #flow .item .flex-txt .txt + dl + .txt {
    margin-top: 0.9rem;
  }
  #flow .item.item3 .flex-txt .box {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
  #flow .item.item3 .flex-txt .box dd {
    gap: 2.2rem;
  }
  #flow .item.item3 .flex-txt .box dd p {
    width: 100%;
    margin: 0 !important;
    text-align: center;
    font-size: 1.6rem;
  }
  #flow .item.item3 .flex-txt .box dd p + p::before {
    left: 50%;
    top: -2.2rem;
    transform: translateX(-50%) rotate(90deg);
  }
}