@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  padding-top: 52px;
}

@media screen and (min-width:737px) {

  #main {
    padding-top: 58px;
  }

}

#footer {
  background-color: transparent;
}

/** ***************************************************************************
 * サービス
 * ************************************************************************* */

#service section.service {
  padding-top: 20px;
  counter-increment: number;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
}

#service section.service:last-child {
  border-bottom: none;
}

#service section.service ~ section.service {
  border-top: none;
}

@media screen and (min-width:981px) {

  #service section.service {
    padding-top: 40px;
    padding-left: 6em;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }

  #service section.service:last-child {
    border-bottom: 1px solid #d8d8d8;
  }

}

/**
 * 番号
 */

#service section.service::before {
  content: counter(number, decimal-leading-zero);
  letter-spacing: 1px;
  line-height: 1;
  font-family: 'DIN 1451';
  font-size: 6.179em;
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 0;
}

@media screen and (min-width:981px) {

  #service section.service::before {
    font-size: 6.179em;
    top: 20px;
    left: 20px;
  }

}

#service section.service:nth-of-type(1)::before {
  color: var(--accentcolor-service-1);
}

#service section.service:nth-of-type(2)::before {
  color: var(--accentcolor-service-2);
}

#service section.service:nth-of-type(3)::before {
  color: var(--accentcolor-service-3);
}

#service section.service:nth-of-type(4)::before {
  color: var(--accentcolor-service-4);
}

#service section.service:nth-of-type(5)::before {
  color: var(--accentcolor-service-5);
}

#service section.service:nth-of-type(6)::before {
  color: var(--accentcolor-service-6);
}

#service section.service:nth-of-type(7)::before {
  color: var(--accentcolor-service-7);
}

#service section.service:nth-of-type(8)::before {
  color: var(--accentcolor-service-8);
}

#service section.service:nth-of-type(9)::before {
  color: var(--accentcolor-service-9);
}

/**
 * 内容
 */

#service section.service:not(:last-child) div.content {
  padding-bottom: 70px;
  position: relative;
  z-index: 0;
}

#service section.service:not(:last-child) div.content::after {
  content: '';
  width: 3.5em;
  height: 2em;
  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: 20px;
}

@media screen and (min-width:981px) {

  #service section.service div.content {
    width: 64%;
  }

  #service section.service:not(:last-child) div.content::after {
    width: 3em;
    height: 1.5em;
    left: 40px;
  }

}

/* タイトル */

#service section.service .service-title {
  margin-bottom: 5px;
  color: rgba(var(--accentcolor-marutsu-1), 1.0);
  font-size: 1.714em;
  font-weight: 600;
}

/* タグ */

#service section.service div.tag {
  margin-top: 10px;
}

#service section.service div.tag ul.list {
  line-height: 1.2;
  font-size: 0.857em;
}

#service section.service div.tag ul.list li {
  margin: 5px 2px;
  padding: 0.375em 0.75em 0.5em;
  border-radius: 9999px;
  background-color: #e5ecf0;
  vertical-align: middle;
  display: inline-block;
}

/* 詳しくはこちら */

#service section.service div.button {
  margin-top: 20px;
  text-align: center;
}

@media screen and (min-width:981px) {

  #service section.service div.button {
    text-align: left;
  }

  #service section.service div.button a {
    font-size: 1em;
  }

}

/**
 * 画像
 */

#service section.service div.image {
  max-width: 300px;
  margin-left: 3.5em;
  position: relative;
  right: -20px;
  order: -1;
}

@media screen and (min-width:981px) {

  #service section.service div.image {
    width: 36%;
    margin-top: 15px;
    margin-left: 0;
    position: static;
  }

}
