

/* --------------------------------

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}



/* --------------------------------

Time Line

-------------------------------- */
.cd-icons-filling {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  /* hide ::after pseudo element - fix for Edge 15 and below */
  /* overflow: hidden; */
}

.cd-icons-filling::before, .cd-icons-filling::after {
  /* the 2 underneath colored sections */
  /* fix flickering on Edge 15 and below */
  content: '/';
  color: transparent;
  position: fixed;
  /* trick to remove flickering on resize */
  width: calc(90% - 2px);
  max-width: 1080px;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 50vh;
  z-index: -1;
}

.cd-icons-filling::before {
  /* fix bug - ::before element visible before starting scrolling */
  top: 0px;
  background-color: #f4895f;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.cd-icons-filling::after {
  top: 27%;
  background-color: #a2918b;
}

@media only screen and (min-width: 1080px) {
  .cd-icons-filling.cd-icons-filling--new-color-1::before {
    background-color: #f59798;
  }
  .cd-icons-filling.cd-icons-filling--new-color-2::before {
    background-color: #ffba2f;
  }
  .cd-icons-filling.cd-icons-filling--new-color-3::before {
    background-color: #f4895f;
  }
}

.cd-service {
  position: relative;
  z-index: 2;
  min-height: 50px;
  margin-left: 56px;
  background-color: white;
  padding: 1em 1em 4em;
}

.cd-service::before, .cd-service::after {
  content: '';
  position: absolute;
  width: 56px;
  right: 100%;
  z-index: 2;
}

.cd-service::before {
  top: 0;
  height: 50px;
  background-repeat: no-repeat;
}

.cd-service::after {
  top: 50px;
  bottom: 0;
  background-image: url("../img/cd-pattern-small.svg");
  background-repeat: repeat-y;
}

.cd-service.cd-service--divider::after {
  top: 0;
}

.cd-service.cd-service--divider:last-child {
  display: none;
}

.cd-service.cd-service--1::before {
  background-image: url("../img/cd-icon-small.svg");
}

.cd-service.cd-service--2::before {
  background-image: url("../img/cd-icon-small.svg");
}

.cd-service.cd-service--3::before {
  background-image: url("../img/cd-icon-small.svg");
}

.cd-service.cd-service--4::before {
  background-image: url("../img/cd-icon-small.svg");
}

.cd-service h2 {
  text-transform: uppercase;
  color: #736661;
  /* margin-bottom: 1em; */
  font-family: "Merriweather Sans", sans-serif;
}

.cd-service p {
  /* font-size: 1.4rem;
  line-height: 1.4;
  color: #736661; */
}

/* @media only screen and (min-width: 1080px) {
  .cd-service {
    min-height: 525px;
    margin-left: 420px;
    padding: 6em 2em;
  }
  .cd-service::before, .cd-service::after {
    width: 420px;
  }
  .cd-service::before {
    height: 325px;
  }
  .cd-service::after {
    top: 325px;
    background-image: url("../img/cd-pattern-large.svg");
  }
  .cd-service.cd-service--divider:first-child, .cd-service.cd-service--divider:last-child {
    min-height: 50px;
    padding: 0;
  }
  .cd-service.cd-service--divider:last-child {
    display: block;
  }
  .cd-service.cd-service--1::before {
    background-image: url("../img/cd-icon-1-large.svg");
  }
  .cd-service.cd-service--2::before {
    background-image: url("../img/cd-icon-2-large.svg");
  }
  .cd-service.cd-service--3::before {
    background-image: url("../img/cd-icon-3-large.svg");
  }
  .cd-service.cd-service--4::before {
    background-image: url("../img/cd-icon-4-large.svg");
  }
  .cd-service h2, .cd-service p {
    color: #71495b;
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
  }
  .cd-service h2 {
    font-size: 3rem;
  }
  .cd-service p {
    font-size: 1.8rem;
    line-height: 1.6;
  }
  .cd-service.cd-service--focus h2 {
    color: white;
  }
  .cd-service.cd-service--focus p {
    color: rgba(255, 255, 255, 0.5);
  }
} */

footer {
  position: relative;
  height: 50vh;
  background: White;
  z-index: 2;
}



/*Jam*/
.fukidashi {
  position: relative;
  padding: 1em 2em;
  border: 1px solid #736661;
  border-width: 2px;
  border-style: solid;
  border-radius: 10px;
  transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
  transform: translateX(20px);
}

.fukidashi::before, .fukidashi::after {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 0;
  height: 0;
  border: solid transparent;
  content: "";
  pointer-events: none;
}

.fukidashi::before {
  margin-top: -20px;
  border-width: 20px;
  border-right-color: inherit;
}

.fukidashi::after {
  margin-top: -17px;
  border-width: 17px;
  border-right-color: white;
}

em {
  padding-right: 0.5rem;
  font-weight: 600;
  font-size: 1.2em;
}
