@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

/**
 * 自動お見積り ボタン
 */

#main-contents div.contact {
  text-align: center;
}

#main-contents div.contact p {
  font-size: 1.2em;
}

/** ***************************************************************************
 * サービス内容
 * ************************************************************************* */

/**
 * ギャラリー
 */

#service div.gallery {
  max-width: none;
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: -10px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#service div.gallery img {
  width: calc(100% / 2 - 10px);
  border-radius: 8px;
  margin: 0 5px 10px;
}

@media screen and (min-width:737px) {

  #service div.gallery {
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -20px;
  }

  #service div.gallery img {
    width: calc(100% / 3 - 20px);
    margin: 0 10px 20px;
  }

}

/**
 * メッセージ
 */

#service div.message {
  padding: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

#service div.message::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: var(--accentcolor-service-8);
  opacity: 0.2;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#service div.message [class*="title"] {
  margin-bottom: 0.375em;
  font-size: 1.286em;
}

@media screen and (min-width:737px) {

  #service div.message [class*="title"] {
    font-size: 1.6em;
  }

}

/** ***************************************************************************
 * Point!マルツのハーネス製造はココが便利！
 * ************************************************************************* */

/**
 * お客様の声
 */

#point div.review div.item {
  padding: 1em;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

#point div.review div.item::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: var(--accentcolor-service-8);
  opacity: 0.2;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#point div.review div.item ~ div.item {
  margin-top: 20px;
}

#point div.review div.item div.title {
  margin-bottom: 0.375em;
  padding-left: 1.875em;
  font-size: 1.286em;
  position: relative;
  z-index: 0;
}

#point div.review div.item div.title::before {
  content: '';
  width: 1.375em;
  height: 1.375em;
  background: url("../../_image/_common/icon-review-1.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  top: 0.25em;
  left: 0;
}

@media screen and (min-width:737px) {

  #point div.review {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
  }

  #point div.review div.item {
    width: 49%;
    margin-bottom: 2%;
  }

  #point div.review div.item ~ div.item {
    margin-top: 0;
  }

  #point div.review div.item div.title {
    font-size: 1.6em;
  }

}

/** ***************************************************************************
 * 製造設備のご紹介
 * ************************************************************************* */

/**
 * ギャラリー
 */

#equipment div.gallery {
  max-width: none;
  margin-left: -10px;
  margin-right: -10px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
}

#equipment div.gallery div.item {
  width: calc(100% / 2);
  padding: 10px;
}

#equipment div.gallery div.item div.caption {
  width: fit-content;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:737px) {

  #equipment div.gallery {
    margin-bottom: -10px;
  }

  #equipment div.gallery div.item {
    width: calc(100% / 3);
    margin-bottom: 10px;
  }

}

/** ***************************************************************************
 * ハーネス加工の工程フロー
 * ************************************************************************* */

/**
 * 受注から納品までの流れ
 */

#process-flow div.flow section.item {
  counter-increment: number;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#process-flow div.flow section.item:not(:last-child) {
  padding-bottom: 60px;
  position: relative;
  z-index: 0;
}

#process-flow div.flow section.item:not(:last-child)::after {
  content: '';
  width: 3em;
  height: 1.75em;
  background: url("../../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
  position: absolute;
  z-index: 1;
  left: calc(50% - 1.5em);
  bottom: 15px;
}

@media screen and (min-width:737px) {

  #process-flow div.flow section.item {
    flex-direction: row;
    align-items: flex-start;
  }

  #process-flow div.flow section.item:not(:last-child)::after {
    left: calc(100% / 7 * 3 / 2 - 1.5em);
  }

}

/* 内容 */

#process-flow div.flow section.item div.content .flow-title {
  margin-bottom: 0.25em;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 1.143em;
  font-weight: 600;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

#process-flow div.flow section.item div.content .flow-title::before {
  content: counter(number, decimal-leading-zero);
  margin-right: 0.25em;
  color: var(--accentcolor-service-8);
  letter-spacing: 1px;
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 2.25em;
}

@media screen and (min-width:737px) {

  #process-flow div.flow section.item div.content {
    width: calc(100% / 7 * 4);
    padding-left: 1em;
  }

  #process-flow div.flow section.item div.content .flow-title {
    font-size: 1.333em;
    display: block;
  }

  #process-flow div.flow section.item div.content .flow-title::before {
    margin-bottom: 5px;
    margin-right: 0;
    font-size: 3em;
    display: block;
  }

}

/* 画像 */

#process-flow div.flow section.item div.image {
  margin-bottom: 10px;
  text-align: center;
  order: -1;
}

@media screen and (min-width:737px) {

  #process-flow div.flow section.item div.image {
    width: calc(100% / 7 * 3);
    margin-bottom: 0;
  }

}
